1 2007-04-18 Tom Tromey <tromey@redhat.com>
3 * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
4 Changed arguments. Directly print method name.
5 * tools/gnu/classpath/tools/javah/ClassWrapper.java
6 (methodNameMap): New field.
7 (makeVtable): Initialize it.
8 (printMethods): Compute name for bridge targets.
10 2007-04-17 Andrew Haley <aph@redhat.com>
12 * gnu/java/rmi/server/UnicastConnectionManager.java
13 (UnicastConnectionManager(int port, RMIServerSocketFactory)):
14 Listen on "localhost", not localhost.
16 2007-04-17 Francis Kung <fkung@redhat.com>
19 * gnu/java/awt/peer/gtk/ComponentGraphics.java
20 (dispose): Removed method.
21 (disposeSurface): Removed method.
22 * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
23 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
24 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
25 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
26 after it is used to create a cairo context.
28 2007-04-16 Tom Tromey <tromey@redhat.com>
30 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
31 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
32 (createSocket): Change order of delegation.
34 2007-04-16 Andrew Haley <aph@redhat.com>
36 * java/io/ObjectInputStream.java: (parseContent): Call (String,
37 Object) version of dumpElementln.
38 (dumpElementln(String, Object)): New method.
39 * java/io/ObjectOutputStream.java (writeObject): Call (String,
40 Object) version of dumpElementln.
41 (dumpElementln(String, Object)): New method.
43 2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
45 * javax/management/ObjectName.java:
46 (parse(String)): Catch multiple wildcards,
47 initialise with an empty string (so null isn't
48 appended), and emit comma even when wildcard
50 (checkComponents()): Catch newlines.
51 (quote(String)): Handle newlines and quotes
54 2007-04-16 Andrew Haley <aph@redhat.com>
56 * org/omg/IOP/TaggedComponentHelper.java (read): Use
57 read_octet_array(), not read().
58 (write): Use write_octet_array(), not write().
60 * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
61 delegate has been set.
63 * javax/management/ObjectName.java serialVersionUID: Declare.
64 Make all fields transient.
65 (parse): Break out from constructor.
66 (writeObject, readObject): New methods.
68 2007-04-02 Keith Seitz <keiths@redhat.com>
70 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
71 Event type is "THREAD_START" not "THREAD_END".
73 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
74 Handle configure strings ":port" and "port".
76 2007-03-30 Andrew Haley <aph@redhat.com>
78 * javax/management/ObjectName.java: Handle 0-length names.
80 2007-03-27 Andrew Haley <aph@redhat.com>
82 * javax/management/MBeanServerFactory.java: Use the domain that
83 we've been passed, not the fixed string "DefaultDomain".
85 2007-03-29 Tom Tromey <tromey@redhat.com>
88 * gnu/java/util/jar/JarUtils.java (log): Commented out.
89 (readSFManifest): Don't log.
91 2007-03-28 Casey Marshall <csm@gnu.org>
93 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
94 check keyEncipherment bit of the certificate, and just pass the public
97 2007-03-27 Casey Marshall <csm@gnu.org>
100 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
101 Always make a new socket.
102 (bind, connect, getInetAddress, getLocalAddress, getPort,
103 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
104 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
105 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
106 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
107 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
108 getTrafficClass, setReuseAddress, getReuseAddress, close,
109 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
110 isInputShutdown, isOutputShutdown): Always use
113 2007-03-27 Tom Tromey <tromey@redhat.com>
116 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
117 (createXMLReader): Code in Classpath default.
119 2007-03-27 Keith Seitz <keiths@redhat.com>
121 Merged from upstream:
122 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
123 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
124 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
125 (executeGetValues): Use Value type.
126 (exectureSetValues): Ditto.
127 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
128 (executeGetValues): Use Value type.
129 (executeSetValues): Ditto.
130 (invokeMethod): Record method return type.
131 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
132 (executeGetValues): Use Value type.
133 (executeSetValues): Ditto.
134 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
135 (executeGetValues): Use Value type.
136 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
137 (executeGetValues): Use Value type.
138 (executeSetValues): Ditto.
139 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
141 (getResultType): New Method.
142 (setResultType): Ditto.
143 * gnu/classpath/jdwp/util/Value.java: Remove.
144 * gnu/classpath/jdwp/value: New Package.
145 * gnu/classpath/jdwp/value/Value.java: New file.
146 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
147 * gnu/classpath/jdwp/value/ByteValue.java: New file.
148 * gnu/classpath/jdwp/value/CharValue.java: New file.
149 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
150 * gnu/classpath/jdwp/value/FloatValue.java: New file.
151 * gnu/classpath/jdwp/value/IntValue.java: New file.
152 * gnu/classpath/jdwp/value/LongValue.java: New file.
153 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
154 * gnu/classpath/jdwp/value/ShortValue.java: New file.
155 * gnu/classpath/jdwp/value/StringValue.java: New file.
156 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
157 * gnu/classpath/jdwp/value/VoidValue.java: New file.
159 2007-02-28 Keith Seitz <keiths@redhat.com>
160 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
161 (executeSet): Check if VM has capability for field access
162 or modification events.
163 * gnu/classpath/jdwp/processor/MethodCommandSet.java
164 (executeByteCodes): Check if VM has capability and
166 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
167 (executeMonitorInfo): Likewise.
168 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
169 (executeSourceDebugExtension): Likewise.
170 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
171 (executePopFrames): Likewise.
172 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
173 (executeOwnedMonitors): Likewise.
174 (executeCurrentContendedMonitor): Likewise.
175 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
176 (executeCapabilities): Rewrite using new VMVirtualMachine
178 (executeRedefineClasses): Check if VM has capability and
180 (executeSetDefaultStratum): Likewise.
181 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
182 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
183 (canWatchFieldModification): New class constant.
184 (canWatchFieldAccess): Likewise.
185 (canGetBytecodes): Likewise.
186 (canGetSyntheticAttribute): Likewise.
187 (canGetOwnedMonitorInfo): Likewise.
188 (canGetCurrentContendedMonitor): Likewise.
189 (canGetMonitorInfo): Likewise.
190 (canRedefineClasses): Likewise.
191 (canAddMethod): Likewise.
192 (canUnrestrictedlyRedefineClasses): Likewise.
193 (canPopFrames): Likewise.
194 (canUseInstanceFilters): Likewise.
195 (canGetSourceDebugExtension): Likewise.
196 (canRequestVMDeathEvent): Likewise.
197 (canSetDefaultStratum): Likewise.
198 (redefineClasses): New method.
199 (setDefaultStratum): Likewise.
200 (getSourceDebugExtension): Likewise.
201 (getBytecodes): Likewise.
202 (getMonitorInfo): Likewise.
203 (getOwnedMonitors): Likewise.
204 (getCurrentContendedMonitor): Likewise.
205 (popFrames): Likewise.
207 2007-02-28 Keith Seitz <keiths@redhat.com>
208 * gnu/classpath/jdwp/processor/MethodCommandSet.java
209 (executeLineTable): Use ReferenceTypeId instead of
210 ClassReferenceTypeId.
211 (executeVariableTable): Likewise.
212 (executeVariableTableWithGeneric): Fix error message.
213 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
214 (executeSignatureWithGeneric): Fix error message.
215 (executeFieldWithGeneric): Likewise.
216 (executeMethodsWithGeneric): Likewise.
217 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
218 (executeGetValues): Use ThreadId instead of ObjectId.
219 (executeSetValues): Likewise.
220 (executeThisObject): Likewise.
222 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
223 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
224 * gnu/classpath/jdwp/util/NullObject.java: New class.
225 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
226 (getObjectId): Handle null object.
227 (get): Handle objectId of 0.
229 2007-02-22 Keith Seitz <keiths@redhat.ecom>
230 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
231 (getAllLoadedClassesCount): Remove.
232 (getAllLoadedClasses): Return a Collection.
233 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
234 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
235 now returns Collection.
236 (executeAllClasses): Likewise.
237 Get size of return from Colleciton instead of calling
238 getAllLoadedClassesCount.
240 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
241 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
242 (executeGetValues): Pass a signature byte to VMFrame.getValue.
243 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
246 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
247 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
248 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
249 (executeSetValues): Ditto.
250 (executeThisObject): Ditto.
251 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
252 and a constructor used to create VMFrames.
253 (getThread): New method.
254 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
255 Changed to take a long instead of a ByteBuffer to pass the frameID.
257 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
258 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
260 2007-03-26 Tom Tromey <tromey@redhat.com>
262 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
263 (rmid Tool): Likewise.
265 2007-03-25 Dalibor Topic <robilad@kaffe.org>
267 * doc/cp-tools.texinfo: Fix node ordering.
269 2007-03-19 Matthias Klose <doko@ubuntu.com>
271 * doc/Makefile.am: Build a gcjh(1) man page.
272 * doc/cp-tools.texinfo: Add documentation for gcjh.
274 2007-03-26 Stepan Kasal <skasal@redhat.com>
276 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
278 (getParser): Use new field.
280 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
282 * resource/com/sun/tools/javac/messages.properties
283 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
284 messages for when --with-ecj-jar is not specified.
285 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
286 * tools/Makefile.am: Build com.sun.tools.javac package
288 * configure, doc/api/Makefile.in, doc/Makefile.in,
289 examples/Makefile.in, external/jsr166/Makefile.in,
290 external/Makefile.in, external/relaxngDatatype/Makefile.in,
291 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
292 include/Makefile.in, lib/Makefile.in, Makefile.in,
293 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
294 native/jni/classpath/Makefile.in,
295 native/jni/gconf-peer/Makefile.in,
296 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
297 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
298 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
299 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
300 native/jni/midi-dssi/Makefile.in,
301 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
302 native/jni/xmlj/Makefile.in, native/Makefile.in,
303 native/plugin/Makefile.in, resource/Makefile.in,
304 scripts/Makefile.in, tools/Makefile.in: Regenerate.
305 * tools/classes/com/sun/tools/javac: New directory.
306 * tools/classes/com/sun/tools/javac/Main.class,
307 tools/classes/com/sun/tools/javac/Messages.class: New files.
309 2007-03-16 Tom Tromey <tromey@redhat.com>
311 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
314 2007-03-16 Tom Tromey <tromey@redhat.com>
316 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
317 (printClass): Added filename argument.
318 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
319 (printClass): Added filename argument.
320 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
321 (printClass): Use user's file name.
322 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
323 (printClass): Use user's file name.
324 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
326 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
328 (writeHeaders): Use a HashMap.
329 (run): Put class name into HashMap for writeHeaders.
331 2007-03-02 Mario Torre <neugens@limasoftware.net>
334 committed for Petteri Räty <betelgeuse@gentoo.org>
335 * configure.ac: fix broken build for gcj browser plugin
337 2007-02-20 Jakub Jelinek <jakub@redhat.com>
339 * java/util/Date.java (parse): Properly parse 09:01:02 as
340 hours/minutes/seconds, not as hours/minutes/year.
341 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
342 {start,end}TimeMode constructor by calling shorter constructor,
343 set {start,end}TimeMode fields after it returns.
344 (setStartRule): Don't adjust startTime into WALL_TIME. Set
345 startTimeMode to WALL_TIME.
346 (endStartRule): Similarly.
347 (getOffset): Handle properly millis + dstOffset overflowing into the
348 next day. Adjust startTime resp. endTime based on startTimeMode
350 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
352 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
353 If non-null, set up aliases0 and don't put anything into
355 (defaultZone): Call getTimeZone instead of timezones().get.
356 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
357 getTimeZoneInternal instead of timezones().get.
358 (parseTime): Parse correctly hour:minute.
359 (getTimeZoneInternal): New private method.
360 (getTimeZone): Do the custom ID checking first, canonicalize
361 ID for custom IDs as required by documentation. Call
362 getTimeZoneInternal to handle the rest.
363 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
364 (getAvailableIDs(File,String,ArrayList)): New private method.
365 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
366 * gnu/java/util/ZoneInfo.java: New file.
368 2007-02-20 Matthias Klose <doko@ubuntu.com>
370 * doc/Makefile.am: Add rules to build and install man pages
372 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
373 Rename, prefix files with "cp-".
374 * doc/cp-tools.texinfo: Add markup for man page generation,
375 add documentation for command line options for gjar, gjavah,
376 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
377 doc/texi2pod.pl: New, taken from the GCC sources.
379 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
382 * javax/management/MBeanInfo.java (MBeanInfo):
383 Use clone to duplicate the arrays in order to
384 preserve the array type.
386 2007-02-16 Andrew Haley <aph@redhat.com>
388 * gnu/java/lang/management/MemoryMXBeanImpl.java,
389 javax/management/MBeanServerDelegate.java: Use
390 gnu.javax.management.ListenerData rather than
391 gnu.classpath.ListenerData.
392 * gnu/javax/management/ListenerData.java: Move here from
393 gnu/classpath/ListenerData.java.
395 2007-02-14 Jakub Jelinek <jakub@redhat.com>
396 Andrew Haley <aph@redhat.com>
398 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
400 2007-02-09 Tom Tromey <tromey@redhat.com>
403 * configure: Rebuilt.
404 * configure.ac: Also check for jack/jack.h.
406 2007-02-09 Jakub Jelinek <jakub@redhat.com>
408 * java/util/TimeZone.java: Handle default (one hour) daylight
411 2007-02-09 Jakub Jelinek <jakub@redhat.com>
414 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
415 just Rule lines, in the other everything else. Pass 0 instead of
416 $savings as second argument to parseRule when parsing the start
418 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
420 2007-02-07 Chris Burdess <dog@gnu.org>
423 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
424 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
425 SAXSources without a backing URL or stream.
428 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
429 LSParser if implementation does not support asynchronous.
430 * gnu/xml/stream/XMLParser.java,
431 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
432 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
433 protocol handler problems.
435 2007-02-06 Tom Tromey <tromey@redhat.com>
438 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
439 (printClass): Always print a header.
441 2007-02-05 Andrew Haley <aph@redhat.com>
444 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
445 (printClass): Replace '/' in filenames with '_'.
446 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
447 (printClass): Likewise.
449 2007-02-05 Tom Tromey <tromey@redhat.com>
451 * java/net/Proxy.java (equals): Handle case where address==null.
452 (hashCode): Likewise.
453 (toString): Likewise.
455 2007-01-31 Tom Tromey <tromey@redhat.com>
457 * resource/gnu/classpath/tools/jar/messages.properties
458 (Main.Stdin): New message.
459 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
461 (readNames): New method.
464 2007-01-26 Andrew Haley <aph@redhat.com>
466 * java/lang/SecurityManager.java: Load and initialize
467 java.security.Security.
469 2007-01-26 Tom Tromey <tromey@redhat.com>
471 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
472 'volatile' after field type.
474 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
476 * java/util/Arrays.java (binarySearch): Change comparison order.
478 2007-01-17 Tom Tromey <tromey@redhat.com>
480 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
481 (PathOptionGroup): Set default boot class path.
483 2006-12-14 Andrew Haley <aph@redhat.com>
485 * tools/gnu/classpath/tools/jar/Creator.java: Close the
488 2006-10-12 Andrew Haley <aph@redhat.com>
490 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
491 * java/lang/ThreadLocal.java: Likewise.
493 2006-09-13 Andrew Haley <aph@redhat.com>
495 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
496 Revert previous gcj-specific disabling of checks.
497 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
499 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
502 2006-09-13 Andrew Haley <aph@redhat.com>
504 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
506 (Iterator.remove()): Decrement index after removing element.
508 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
510 * javax/net/ssl/SSLSocketFactory.java (getDefault):
511 Chain exception cause.
513 2006-12-11 Roman Kennke <kennke@aicas.com>
515 * .classpath: Include ASM in Eclipse classpath.
517 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
519 * gnu/java/lang/management/BeanImpl.java:
520 (translate(String)): Trim strings of whitespace.
521 * javax/management/MBeanAttributeInfo.java:
522 (MBeanAttributeInfo(String,String,Method,Method)):
523 Use Class.getName() for normal (non-parameterized) cases.
524 * javax/management/MBeanConstructorInfo.java:
525 (MBeanConstructorInfo(String, Constructor)):
527 * javax/management/MBeanOperationInfo.java:
528 (MBeanOperationInfo(String, Method)):
531 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
533 * java/lang/Class.java:
534 (getClasses()): Return Class<?>[].
535 (internalGetClasses()): Likewise.
536 (getConstructor(Class<?>...)): Add type parameter
538 (getDeclaredConstructor(Class<?>...)): Likewise.
539 (getDeclaredClasses()): Return Class<?>[].
540 (getDeclaredClasses(boolean)): Likewise.
541 (getDeclaredConstructors()): Return Constructor<?>[].
542 (getDeclaredConstructors(boolean)): Likewise.
543 (getDeclaredMethod(String,Class<?>...)): Add type
544 parameter to parameters.
545 (getInterfaces()): Return Class<?>[].
546 (getMethods(String,Class<?>...)): Add type
547 parameter to parameters.
548 * java/text/CollationKey.java:
550 * java/text/DecimalFormatSymbols.java:
553 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
555 * gnu/java/lang/management/BeanImpl.java:
556 (translate(String)): Handle Map and List as
557 Strings of the form "java.util.Map<K,V>" and
559 * javax/management/MBeanAttributeInfo.java:
560 (MBeanAttributeInfo(String,String,Method,Method)):
561 Use generic parameter and return types.
562 * javax/management/MBeanConstructorInfo.java:
563 (MBeanConstructorInfo(String, Constructor)):
564 Use generic parameter types.
565 * javax/management/MBeanOperationInfo.java:
566 (MBeanOperationInfo(String, Method)):
567 Use generic parameter and return types.
569 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
571 * gnu/java/lang/management/BeanImpl.java:
572 (translate(String)): Comment out code for using type
573 variables for Map and List.
574 * java/lang/Thread.java:
575 (Thread(ThreadGroup,Runnable,String,long)): Fix
576 incrementation of totalThreadsCreated to be prior to use.
578 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
580 * javax/management/MBeanServerFactory.java:
581 (createMBeanServer(String)): Added security check.
582 (findMBeanServer(String)): Likewise.
583 (newMBeanServer(String)): Likewise.
584 (releaseMBeanServer(String)): Likewise.
585 * javax/management/MBeanServerPermission.java:
588 2006-12-08 David Daney <ddaney@avtrex.com>
590 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
593 2006-12-08 David Daney <ddaney@avtrex.com>
595 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
597 2006-12-08 David Daney <ddaney@avtrex.com>
599 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
601 (HTTPConnection): Handle NumberFormatException in properties parsing.
602 (Pool.get): Set timeout on reused sockets.
603 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
605 (HTTPURLConnection): Cleanup properties handling.
606 (getConnection): Use both connection and read timeouts.
607 (setConnectTimeout): Removed.
608 (setReadTimeout): New method.
609 * java/net/URLConnection.java (timeout): Renamed to...
610 (connectTimeout): ... connectTimeout throughout.
611 (readTimeout): New field.
612 (getReadTimeout): New method.
613 (setReadTimeout): New method.
615 2006-12-08 Tania Bento <tbento@redhat.com>
617 * java/awt/ScrollPane.java
618 (doLayout): Change the location of the scrollpane's child
621 2006-12-08 David Daney <ddaney@avtrex.com>
623 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
625 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
626 SocketTimeoutException if a blocking socket timesout.
627 (Java_gnu_java_nio_VMChannel_readScattering): Same.
628 (Java_gnu_java_nio_VMChannel_read__I): Same.
629 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
630 (Java_gnu_java_nio_VMChannel_connect6): Same.
632 2006-12-08 Mark Wielaard <mark@klomp.org>
634 * configure.ac (VERSION): Set to 0.93-generics.
635 * NEWS: Add release date.
637 2006-12-08 Tania Bento <tbento@redhat.com>
639 * java/awt/ScrollPane.java
640 (getScrollPosition): Throw NullPointerException if scrollpane
642 (setScrollPosition(int, int)): Throw NullPointerException if
643 scrollpane does have a child. Check that both ints are within
644 the allowed bounds; If they are not, scroll to the closest allowed
647 2006-12-07 Roman Kennke <kennke@aicas.com>
649 * javax/swing/JEditorPane.java
650 (EditorKitMapping): New inner helper class.
651 (editorKits): New static field for caching editor kit instances.
652 (static_initiazer): Initialize static mappings here.
653 (createEditorKitForContentType): Try to use cached instance.
654 Use correct classloader for loading.
655 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
657 (getEditorKitForContentType): Store the fetched editor kit.
658 Fallback to createDefaultEditorKit().
659 (init): Don't clean the static registry here.
660 (registerEditorKitForContentType(String,String,ClassLoader)):
662 (registerEditorKitForContentType(String,String)): Delegate to
663 the other version of this method with the thread's context
666 2006-12-07 Mark Wielaard <mark@klomp.org>
668 * examples/gnu/classpath/examples/swing/HtmlDemo.java
669 (setPage): Don't convert URL to String for setPage().
671 2006-12-07 Mark Wielaard <mark@klomp.org>
673 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
675 2006-12-07 Mark Wielaard <mark@klomp.org>
677 * tools/Makefile.am: Explicitly define and use bootclasspath as
680 2006-12-07 Mark Wielaard <mark@klomp.org>
682 * javax/swing/JEditorPane.java (createEditorKitForContentType):
683 Always load from system class loader.
685 2006-12-07 Mark Wielaard <mark@klomp.org>
687 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
689 (URL(URL,String,URLStreamHandler)): Call new constructor.
690 (URL(URL,String)): Likewise.
691 (URL(String)): Likewise.
693 2006-12-07 Tom Tromey <tromey@redhat.com>
696 * INSTALL: Don't mention --with-asm.
697 * tools/external/README: New file.
698 * tools/toolwrapper.c (main): Don't use ASM_JAR.
699 * tools/gjavah.in: Don't use PATH_TO_ASM.
700 * tools/grmic.in: Likewise.
701 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
703 (javah, rmic): Removed variables.
704 (bin_PROGRAMS): Updated.
705 (gappletviewer_CFLAGS): Don't define ASM_JAR.
706 (gjarsigner_CFLAGS): Likewise.
707 (gkeytool_CFLAGS): Likewise.
708 (gjar_CFLAGS): Likewise.
709 (gnative2ascii_CFLAGS): Likewise.
710 (gserialver_CFLAGS): Likewise.
711 (grmiregistry_CFLAGS): Likewise.
712 (gtnameserv_CFLAGS): Likewise.
713 (gorbd_CFLAGS): Likewise.
714 (grmid_CFLAGS): Likewise.
715 (gjavah_CFLAGS): Likewise.
716 (grmic_CFLAGS): Likewise.
717 (bin_SCRIPTS): Updated.
718 (TOOLS_JAVA_FILES): Updated.
719 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
720 * configure.ac: Removed --with-asm. Always build gjavah.
722 2006-12-06 Roman Kennke <kennke@aicas.com>
724 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
726 * examples/gnu/classpath/examples/swing/HtmlDemo.java
727 (LoadActionListener): Call setPage() helper method.
728 (createContent): Register tweaked editor kit. For FormSubmitEvents
729 call submitForm(), otherwise setPage().
730 (postData): Helper method for posting form data.
731 (setPage): Helper method for navigating to a new URL.
732 (submitForm): Helper method for submitting a form.
733 * examples/gnu/classpath/examples/swing/forms.html:
734 Added text/password fields and select boxes.
735 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
737 2006-12-06 Roman Kennke <kennke@aicas.com>
739 * javax/swing/text/html/FormView.java
740 (SubmitThread.postData): Implemented.
741 (SubmitThread.run): Pass data to postData().
742 (actionPerformed): Reset form when reset button is activated.
743 (createComponent): Add support for select lists and comboboxes.
744 Don't set value of text and password fields here, this is done
745 now in HTMLDocument for consistency.
746 (getElementFormData): Add support for fetching form data from
747 select lists and comboboxes as well as textareas.
748 (getSelectData): New helper method. Fetches form data from
750 (getTextAreaData): New helper method. Fetches form data from
752 (resetForm): New helper method. Resets the entire form.
753 * javax/swing/text/html/HTMLDocument.java
754 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
755 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
756 (HTMLReader.FormAction.setModel): Initialize text and password
757 values here. Also, use the resetable special models.
758 Group radio buttons into ButtonGroup for exclusive selection.
759 (HTMLReader.FormTagAction): New class. Handles FORM tags.
760 (HTMLReader.buttonGroups): New field.
761 (HTMLReader.numOptions): New field.
762 (HTMLReader.option): New field.
763 (HTMLReader.selectModel): New field.
764 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
765 (HTMLReader.handleText): Handle OPTION text.
766 (HTMLReader.initTags): Map FORM tags to FormTagAction.
767 (HTMLReader.textAreaContent): Set initial content.
768 * javax/swing/text/html/Option.java
769 (Option): Make copy of attribute set. Initialize selected state.
770 (getValue): Fetch value from attribute set.
771 * javax/swing/text/html/ResetableModel.java: New interface.
772 * javax/swing/text/html/ResetablePlainDocument.java: New class.
773 Supports resetting the state.
774 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
775 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
776 * javax/swing/text/html/SelectListModel.java: Likewise.
778 2006-12-06 Roman Kennke <kennke@aicas.com>
780 * javax/swing/text/DefaultCaret.java
781 (appear): Adjust visibility here.
782 (setDotImpl): Don't adjust visibility here.
783 (moveDotImpl): Don't adjust visibility here.
785 2006-12-06 Roman Kennke <kennke@aicas.com>
787 * gnu/java/awt/peer/gtk/AsyncImage.java
788 (Loader.run): Synchronize on the AsyncImage to avoid threading
790 (addObservers): Check for obs==null outside and synchronize on
791 this inside to avoid locking issues.
792 (checkImage): New helper method.
793 (notifyObservers): Check that the correct lock is held and
794 remove actual locking.
795 * gnu/java/awt/peer/gtk/GtkToolkit.java
796 (checkImage): Added special handling for AsyncImages.
798 2006-12-06 Roman Kennke <kennke@aicas.com>
800 * examples/gnu/classpath/examples/swing/Demo.java
801 (getIcon): Made package private.
802 * examples/gnu/classpath/examples/swing/HtmlDemo.java
803 (hyperlinkUpdate): Convert URL to string.
805 2006-12-06 Mark Wielaard <mark@klomp.org>
807 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
810 2006-12-06 Roman Kennke <kennke@aicas.com>
812 * examples/gnu/classpath/examples/icons/back.png,
813 * examples/gnu/classpath/examples/icons/reload.png:
814 New icons for the HTML browser.
815 * examples/gnu/classpath/examples/swing/HtmlDemo.java
816 (history): New field. Manages the browsing history.
817 (HtmlDemo): Initialize history.
818 (createContent): Set location and add history. Add toolbar.
819 (createToolBar): New helper method.
820 (main): Make default size bigger.
821 * examples/gnu/classpath/examples/swing/frame1.html,
822 * examples/gnu/classpath/examples/swing/frame2.html,
823 * examples/gnu/classpath/examples/swing/frame3.html,
824 * examples/gnu/classpath/examples/swing/frame4.html,
825 * examples/gnu/classpath/examples/swing/frames.html,
826 * examples/gnu/classpath/examples/swing/tables.html:
828 * examples/gnu/classpath/examples/swing/welcome.html
829 Add a couple of links and new test pages.
831 2006-12-06 Roman Kennke <kennke@aicas.com>
833 * javax/swing/JEditorPane.java
834 (getStream): Buffer the stream for efficiency.
835 (setPage): Don't scroll the view at this point.
836 * javax/swing/plaf/basic/BasicTextUI.java
837 (RootView.paint): Call RootView's setSize to get synchronization.
838 (RootView.setSize): Synchronize to prevent race in layout code.
839 * javax/swing/text/AbstractDocument.java
840 (notifyListeners): New field.
841 (fireChangedUpdate): Track notifyListener field.
842 (fireRemoveUpdate): Track notifyListener field.
843 (fireIndertUpdate): Track notifyListener field.
844 (writeLock): Check notifyListener and throw IllegalStateException.
845 * javax/swing/text/View.java
846 (preferenceChanged): Create local var for better thread safety and
849 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
851 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
852 lightweight component, not just for non-Panel components.
853 (addImpl): Do not call doLayout.
854 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
855 (setNativeBounds): Ensure widget parent is a GtkFixed before
856 calling gtk_fixed_move.
857 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
858 (setNativeBounds): Likewise.
859 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
860 (setNativeBounds): Likewise.
862 2006-12-06 Roman Kennke <kennke@aicas.com>
864 * javax/swing/text/html/TableView.java
865 (RowView.layoutMajorAxis): Check column index for invalid value.
866 (updateGrid): Check column index for invalid value.
868 2006-12-06 Roman Kennke <kennke@aicas.com>
870 * javax/swing/text/html/BlockView.java
871 (getAlignment): Align blocks horizontally by the superclass.
872 * javax/swing/text/html/HTMLEditorKit.java
873 (HTMLFactory.create): Replace equals comparison by == for efficiency.
874 Add mapping for misplaced tr, td and th tags. Include object mapping.
875 * javax/swing/text/html/TableView.java
876 (RowView.replace): Invalidate grid early.
877 (gridValid): Initialize with false.
878 (create): Only create RowView and CellView for correctly placed
879 tags. Avoid unnecessary casts.
880 (getAlignment): Removed.
881 (replace): Invalidate grid early.
883 2006-12-06 Francis Kung <fkung@redhat.com>
885 * java/awt/geom/RectangularShape.java
886 (getBounds): Remove empty rectangle check.
888 2006-12-06 Ben Konrath <bkonrath@redhat.com>
891 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
892 newValue are the same.
893 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
895 2006-12-06 Tania Bento <tbento@redhat.com>
897 * javax/swing/border/CompoundBorder.java:
898 (isBorderOpaque): If inside border is null, return true if outside
899 border is opaque, false otherwise; if outside border is null, return
900 true if inside border is opaque, false otherwise; if inside or
901 outside border are both not null, then return true only if both the
902 inside and outside border are opaque, false otherwise.
904 2006-12-06 Tania Bento <tbento@redhat.com>
906 * javax/swing/border/CompoundBorder.java:
907 (isBorderOpaque): If inside and outside border both have a null
910 2006-12-06 Chris Burdess <dog@gnu.org>
913 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
914 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
916 2006-12-06 Chris Burdess <dog@gnu.org>
919 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
922 2006-12-06 Chris Burdess <dog@gnu.org>
925 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
926 discover schema factory implementation class.
928 2006-12-05 Francis Kung <fkung@redhat.com>
930 * java/awt/BasicStroke.java
931 (capEnd): Prevent division by zero.
932 * java/awt/geom/Arc2D.java
933 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
934 (ArcIterator.currentSegment): Handle a negative extent.
936 2006-12-05 Francis Kung <fkung@redhat.com>
938 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
939 (constructor): Handle translated subimages properly, ie, if the image's
940 0,0 position is not the data buffer's first element.
942 2006-12-05 Roman Kennke <kennke@aicas.com>
944 * gnu/java/awt/peer/gtk/AsyncImage.java
945 (Loader.run): Nullify observers after loading.
946 (observers): Made package private.
947 (addObserver): Check for null observers field. Create local
948 variable for thread safety.
949 (getHeight): Use addObserver() for checking state of field
950 and notifying observer when necessary.
951 (getWidth): Use addObserver() for checking state of field
952 and notifying observer when necessary.
953 (getProperty): Use addObserver() for checking state of field
954 and notifying observer when necessary.
955 (notifyObservers): Check for null observers field. Create local
956 variable for thread safety.
958 2006-12-05 Roman Kennke <kennke@aicas.com>
960 * javax/swing/text/html/HTMLEditorKit.java
961 (HTMLFactory.create): Removed debug output.
962 * javax/swing/text/html/InlineView.java
963 (getBreakWeight): Likewise.
964 * javax/swing/text/html/StyleSheet.java
966 (ListPainter.paint): Removed debug output.
968 2006-12-05 Roman Kennke <kennke@aicas.com>
970 * javax/swing/text/html/BlockView.java
971 (painter): Made package visible.
972 * javax/swing/text/html/StyleSheet.java
973 (translateBorder): New helper method.
974 (translateHTMLToCSS): Add mappings for border attributes.
975 * javax/swing/text/html/TableView.java
976 Made class subclass of BlockView to get CSS goodness.
977 (CellView.rowSpan): New field.
978 (CellView.setPropertiesFromAttributes): Fetch rowspan.
979 (RowView.overlap): New field.
980 (RowView.rowIndex): New field.
981 (RowView.layoutMajorAxis): Skip overlapping cells.
982 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
983 (numColumns): New field.
984 (tmpRect): New field.
985 (TableView): Initialize tmpRect.
986 (calculateColumnRequirements): Adjusted and fixed for multirows.
987 (getAlignment): Overridden to center tables.
988 (paint): Overridden to fix clipping.
989 (getStyleSheet): Made protected.
990 (layoutMajorAxis): Invalidate rows.
991 (setPropertiesFromAttributes): Made protected and call super.
992 (updateGrid): Update the overlapping information for multirows.
994 2006-12-05 Roman Kennke <kennke@aicas.com>
996 * gnu/java/awt/peer/gtk/AsyncImage.java
997 (addObserver): Check for null and ignore null observers.
998 (getWidth): Check for null and ignore null observers.
999 (getHeight): Check for null and ignore null observers.
1000 (getProperty): Check for null and ignore null observers.
1002 2006-12-05 Francis Kung <fkung@redhat.com>
1004 * java/awt/BasicStroke.java
1005 (capEnd): Prevent division by zero.
1006 * java/awt/geom/Arc2D.java
1007 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1008 (ArcIterator.currentSegment): Handle a negative extent.
1010 2006-12-05 Francis Kung <fkung@redhat.com>
1012 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1013 (constructor): Handle translated subimages properly, ie, if the image's
1014 0,0 position is not the data buffer's first element.
1016 2006-12-05 Roman Kennke <kennke@aicas.com>
1018 * javax/swing/text/html/ImageView.java
1019 (imageUpdate): Use spans field to determine if the CSS width/height
1020 are set. Call safePreferenceChanged to protect view structure
1021 from threading issues.
1022 (spans): Made package private.
1023 (ImageView): Initialize loadOnDemand with false.
1024 (loadImage): Call Toolkit.prepareImage() to make sure we have
1025 our Observer registered.
1026 (safePreferenceChanged): New helper method. Calls preferenceChanged
1027 in a thread safe environment.
1029 2006-12-05 Roman Kennke <kennke@aicas.com>
1031 * NEWS: Add entry about improved HTML support.
1033 2006-12-05 Roman Kennke <kennke@aicas.com>
1035 * javax/swing/text/html/ImageView.java
1036 (ImageView): Initialize spans array here.
1037 (setPropertiesFromAttributes): Moved init of spans array to
1040 2006-12-05 Roman Kennke <kennke@aicas.com>
1042 * javax/swing/text/html/BlockView.java
1043 (painter): Made package visible.
1044 * javax/swing/text/html/StyleSheet.java
1045 (translateBorder): New helper method.
1046 (translateHTMLToCSS): Add mappings for border attributes.
1047 * javax/swing/text/html/TableView.java
1048 Made class subclass of BlockView to get CSS goodness.
1049 (CellView.rowSpan): New field.
1050 (CellView.setPropertiesFromAttributes): Fetch rowspan.
1051 (RowView.overlap): New field.
1052 (RowView.rowIndex): New field.
1053 (RowView.layoutMajorAxis): Skip overlapping cells.
1054 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1055 (numColumns): New field.
1056 (tmpRect): New field.
1057 (TableView): Initialize tmpRect.
1058 (calculateColumnRequirements): Adjusted and fixed for multirows.
1059 (getAlignment): Overridden to center tables.
1060 (paint): Overridden to fix clipping.
1061 (getStyleSheet): Made protected.
1062 (layoutMajorAxis): Invalidate rows.
1063 (setPropertiesFromAttributes): Made protected and call super.
1064 (updateGrid): Update the overlapping information for multirows.
1066 2006-12-05 Roman Kennke <kennke@aicas.com>
1068 * javax/swing/text/html/HTMLEditorKit.java
1069 (HTMLFactory.create): Removed debug output.
1070 * javax/swing/text/html/InlineView.java
1071 (getBreakWeight): Likewise.
1072 * javax/swing/text/html/StyleSheet.java
1073 (addRule): Likewise.
1074 (ListPainter.paint): Removed debug output.
1076 2006-12-06 Roman Kennke <kennke@aicas.com>
1078 * javax/swing/text/html/BlockView.java
1079 (getAlignment): Align blocks horizontally by the superclass.
1080 * javax/swing/text/html/HTMLEditorKit.java
1081 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1082 Add mapping for misplaced tr, td and th tags. Include object mapping.
1083 * javax/swing/text/html/TableView.java
1084 (RowView.replace): Invalidate grid early.
1085 (gridValid): Initialize with false.
1086 (create): Only create RowView and CellView for correctly placed
1087 tags. Avoid unnecessary casts.
1088 (getAlignment): Removed.
1089 (replace): Invalidate grid early.
1092 2006-12-06 Roman Kennke <kennke@aicas.com>
1094 * javax/swing/text/html/TableView.java
1095 (RowView.layoutMajorAxis): Check column index for invalid value.
1096 (updateGrid): Check column index for invalid value.
1098 2006-12-06 Roman Kennke <kennke@aicas.com>
1100 * javax/swing/JEditorPane.java
1101 (getStream): Buffer the stream for efficiency.
1102 (setPage): Don't scroll the view at this point.
1103 * javax/swing/plaf/basic/BasicTextUI.java
1104 (RootView.paint): Call RootView's setSize to get synchronization.
1105 (RootView.setSize): Synchronize to prevent race in layout code.
1106 * javax/swing/text/AbstractDocument.java
1107 (notifyListeners): New field.
1108 (fireChangedUpdate): Track notifyListener field.
1109 (fireRemoveUpdate): Track notifyListener field.
1110 (fireIndertUpdate): Track notifyListener field.
1111 (writeLock): Check notifyListener and throw IllegalStateException.
1112 * javax/swing/text/View.java
1113 (preferenceChanged): Create local var for better thread safety and
1116 2006-12-06 Roman Kennke <kennke@aicas.com>
1118 * examples/gnu/classpath/examples/icons/back.png,
1119 * examples/gnu/classpath/examples/icons/reload.png:
1120 New icons for the HTML browser.
1121 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1122 (history): New field. Manages the browsing history.
1123 (HtmlDemo): Initialize history.
1124 (createContent): Set location and add history. Add toolbar.
1125 (createToolBar): New helper method.
1126 (main): Make default size bigger.
1127 * examples/gnu/classpath/examples/swing/frame1.html,
1128 * examples/gnu/classpath/examples/swing/frame2.html,
1129 * examples/gnu/classpath/examples/swing/frame3.html,
1130 * examples/gnu/classpath/examples/swing/frame4.html,
1131 * examples/gnu/classpath/examples/swing/frames.html,
1132 * examples/gnu/classpath/examples/swing/tables.html:
1134 * examples/gnu/classpath/examples/swing/welcome.html
1135 Add a couple of links and new test pages.
1137 2006-12-06 Roman Kennke <kennke@aicas.com>
1139 * examples/gnu/classpath/examples/swing/Demo.java
1140 (getIcon): Made package private.
1141 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1142 (hyperlinkUpdate): Convert URL to string.
1144 2006-12-06 Roman Kennke <kennke@aicas.com>
1146 * javax/swing/text/DefaultCaret.java
1147 (appear): Adjust visibility here.
1148 (setDotImpl): Don't adjust visibility here.
1149 (moveDotImpl): Don't adjust visibility here.
1151 2006-12-06 Roman Kennke <kennke@aicas.com>
1153 * javax/swing/text/html/FormView.java
1154 (SubmitThread.postData): Implemented.
1155 (SubmitThread.run): Pass data to postData().
1156 (actionPerformed): Reset form when reset button is activated.
1157 (createComponent): Add support for select lists and comboboxes.
1158 Don't set value of text and password fields here, this is done
1159 now in HTMLDocument for consistency.
1160 (getElementFormData): Add support for fetching form data from
1161 select lists and comboboxes as well as textareas.
1162 (getSelectData): New helper method. Fetches form data from
1164 (getTextAreaData): New helper method. Fetches form data from
1166 (resetForm): New helper method. Resets the entire form.
1167 * javax/swing/text/html/HTMLDocument.java
1168 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1169 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1170 (HTMLReader.FormAction.setModel): Initialize text and password
1171 values here. Also, use the resetable special models.
1172 Group radio buttons into ButtonGroup for exclusive selection.
1173 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1174 (HTMLReader.buttonGroups): New field.
1175 (HTMLReader.numOptions): New field.
1176 (HTMLReader.option): New field.
1177 (HTMLReader.selectModel): New field.
1178 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1179 (HTMLReader.handleText): Handle OPTION text.
1180 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1181 (HTMLReader.textAreaContent): Set initial content.
1182 * javax/swing/text/html/Option.java
1183 (Option): Make copy of attribute set. Initialize selected state.
1184 (getValue): Fetch value from attribute set.
1185 * javax/swing/text/html/ResetableModel.java: New interface.
1186 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1187 Supports resetting the state.
1188 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1189 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1190 * javax/swing/text/html/SelectListModel.java: Likewise.
1192 2006-12-06 Roman Kennke <kennke@aicas.com>
1194 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1196 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1197 (LoadActionListener): Call setPage() helper method.
1198 (createContent): Register tweaked editor kit. For FormSubmitEvents
1199 call submitForm(), otherwise setPage().
1200 (postData): Helper method for posting form data.
1201 (setPage): Helper method for navigating to a new URL.
1202 (submitForm): Helper method for submitting a form.
1203 * examples/gnu/classpath/examples/swing/forms.html:
1204 Added text/password fields and select boxes.
1205 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1207 2006-12-07 Mark Wielaard <mark@klomp.org>
1209 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1210 private constructor.
1211 (URL(URL,String,URLStreamHandler)): Call new constructor.
1212 (URL(URL,String)): Likewise.
1213 (URL(String)): Likewise.
1215 2006-12-07 Mark Wielaard <mark@klomp.org>
1217 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1218 Always load from system class loader.
1220 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1223 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1224 newValue are the same.
1225 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1227 2006-12-06 Chris Burdess <dog@gnu.org>
1230 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1231 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1233 2006-12-06 Chris Burdess <dog@gnu.org>
1236 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1239 2006-12-056 Chris Burdess <dog@gnu.org>
1242 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1243 discover schema factory implementation class.
1245 2006-12-05 Roman Kennke <kennke@aicas.com>
1247 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1248 asynchronous loading of images.
1249 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1250 (drawImage): Fetch real image from possibly AsyncImage.
1251 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1252 (drawImage): Fetch real image from possibly AsyncImage.
1253 * gnu/java/awt/peer/gtk/GtkToolkit.java
1254 (createImage(URL)): Create async image.
1255 (imageOrError): Made method static for easy access from AsyncImage.
1256 (prepareImage): For async images, register the observer to the
1259 2006-12-05 Roman Kennke <kennke@aicas.com>
1261 (paintComponent): Include paint area from event.
1262 (updateComponent): Include paint area from event.
1264 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1266 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1267 lightweight component, not just for non-Panel components.
1268 (addImpl): Do not call doLayout.
1269 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1270 (setNativeBounds): Ensure widget parent is a GtkFixed before
1271 calling gtk_fixed_move.
1272 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1273 (setNativeBounds): Likewise.
1274 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1275 (setNativeBounds): Likewise.
1277 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1279 * java/awt/Component.java (getFontImpl): Return a default font if
1280 topmost parent's font is null.
1282 2006-12-04 Mark Wielaard <mark@klomp.org>
1284 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1285 Remove debug output.
1287 2006-12-04 Roman Kennke <kennke@aicas.com>
1289 * java/awt/font/TextLayout.java
1290 (hitTestChar): Fixed conditions for inclusion of range.
1291 Use layout information in the run for more efficiency.
1293 2006-12-04 Roman Kennke <kennke@aicas.com>
1295 * javax/swing/text/GlyphView.java
1296 (J2DGlyphPainter): New inner class.
1297 (checkPainter): For Java2D capable environments create
1300 2006-12-04 Roman Kennke <kennke@aicas.com>
1302 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1303 (FreeTypeGlyphVector): Don't filter control chars here.
1304 (getGlyphs): Filter control chars and replace them by
1307 2006-12-04 Roman Kennke <kennke@aicas.com>
1309 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1310 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1312 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1314 * gnu/java/lang/management/BeanImpl.java:
1315 (translate(String)): Don't assume the list uses "E",
1316 just use the first and only type variable.
1317 * java/lang/management/ManagementFactory.java:
1318 (getPlatformMBeanServer()): Register logging bean.
1319 * javax/management/openmbean/OpenType.java:
1320 (OpenType(String,String,String)): Actually use
1321 the string created to handle arrays.
1323 2006-12-04 Mark Wielaard <mark@klomp.org>
1325 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1326 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1328 2006-12-04 Mark Wielaard <mark@klomp.org>
1330 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1332 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1333 (JCL_thread_interrupted): Only take JNIEnv.
1334 (vm_channel_class): New static variable.
1335 (initID): Set vm_channel_class.
1336 Wrap all reads() and writes() in do-while blocks that check
1339 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1341 * gnu/javax/management/Server.java:
1342 Make map final and initialise it.
1343 (unregisterMBean(ObjectName)): Match against
1344 delegate's object name and not the instance.
1345 * java/lang/management/ManagementFactory.java:
1346 Added constant fields.
1347 (getPlatformMBeanServer()): Implemented.
1348 * javax/management/MBeanServerFactory.java: New file.
1350 2006-12-04 Roman Kennke <kennke@aicas.com>
1352 * javax/swing/text/BoxView.java
1353 (paint): Replaced painting algorithm with more simple and more
1354 reliable painting of the box.
1355 * javax/swing/text/html/BlockView.java
1356 (PositionInfo): New inner class. Stores additional CSS
1357 positioning information.
1358 (positionInfo): New field.
1359 (BlockView): Initialize positionInfo field.
1360 (fetchLayoutInfo): New helper method. Fetches additional
1361 CSS positioning information.
1362 (layoutMajorAxis): Perform additional CSS layout.
1363 (layoutMinorAxis): Perform additional CSS layout.
1364 (positionView): New helper method.
1365 (replace): Overridden to fetch additional layout information.
1366 * javax/swing/text/html/CSS.java
1367 (Attribute.POSITION): New field.
1368 (Attribute.LEFT): New field.
1369 (Attribute.RIGHT): New field.
1370 (Attribute.TOP): New field.
1371 (Attribute.BOTTOM): New field.
1372 (getValue): Create Length for left, right, top and bottom
1375 2006-12-04 Roman Kennke <kennke@aicas.com>
1377 * gnu/javax/swing/text/html/parser/support/Parser.java
1378 (Sgml): Consume any whitespace that immediately follows
1380 (parseDocument): Consume any initial whitespace.
1382 2006-12-03 Mark Wielaard <mark@klomp.org>
1384 * gnu/javax/management/Server.java (beans): Initialize.
1385 (registerMBean): Don't initialize beans.
1387 2006-12-03 Mark Wielaard <mark@klomp.org>
1389 * java/util/logging/LogManager.java (getLevelProperty): Check
1390 whether value is null before passing to Level.parse().
1392 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1394 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1395 whether given a null lock and lockOwner.
1397 2006-12-03 Mark Wielaard <mark@klomp.org>
1399 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1400 (PageLoader.page): Made package local.
1401 (PageLoader.run): Don't reset loader.
1402 (PageLoader.cancel): New method.
1403 (loading): Renamed to loader.
1404 (getPage): Return loader.page.
1405 (setPage): Always set loader. Never reset to null.
1407 2006-12-03 Mark Wielaard <mark@klomp.org>
1409 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1411 (isLastChild): Return false when path is null.
1413 2006-12-03 Mark Wielaard <mark@klomp.org>
1415 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1416 to currentPaintArea.
1417 (paintComponent): Work with local reference to currentPaintArea.
1418 (updateComponent): Likewise.
1419 (coalescePaintEvent): Set currentPaintArea.
1421 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1423 * javax/management/MBeanServerBuilder.java: New file.
1425 2006-12-01 Mark Wielaard <mark@klomp.org>
1427 * java/text/DecimalFormat.java (parse): Always increment parsing
1428 index and adjust pos result.
1430 2006-12-01 Roman Kennke <kennke@aicas.com>
1432 * javax/swing/text/html/HTML.java
1433 (Attribute.DYNAMIC_CLASS): New field.
1434 (Attribute.PSEUDO_CLASS): New field.
1435 * javax/swing/text/html/HTMLDocument.java
1436 (HTMLReader.CharacterAction.start): Initialize anchor with link
1438 (updateSpecialClass): New helper method. Updates the dynamic
1439 or pseudo class for anchor tags.
1440 * javax/swing/text/html/HTMLEditorKit.java
1441 (LinkController.lastAnchorElement): New field. For tracking
1442 enter/exit of anchors.
1443 (LinkController.activateLink): Set pseudo class to 'visited'.
1444 (LinkController.mouseMoved): Added support for tracking
1445 the 'hover' dynamic class.
1446 * javax/swing/text/html/InlineView.java
1447 (changedUpdate): Fetch new properties.
1448 * javax/swing/text/html/StyleSheet.java
1449 (attributeSetToMap): New helper method.
1450 (getRule): Also append dynamic and pseudo class to key.
1451 (resolveStyle): Resolve style based generally on all attributes.
1452 * javax/swing/text/html/TableView.java
1453 (RowView.layoutMajorAxis): Make sure the grid is valid.
1454 (updateGrid): Made package private.
1455 * gnu/javax/swing/text/html/css/Selector.java
1456 (calculateSpecificity): Added support for dynamic and pseudo classes.
1457 (matches): Changed to operate on general attributes.
1458 Added support for dynamic and pseudo classes.
1460 2006-12-01 Mario Torre <neugens@limasoftware.net>
1462 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1463 fractional portion in a separate method.
1464 Also fixes the handling of decimal separator and its associated field.
1465 (handleFractionalPart): new method, needed to relax a bit
1468 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1470 * java/beans/beancontext/BeanContextServicesSupport.java:
1471 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1472 Class)): Implemented.
1473 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1474 Class, Object)): Implemented.
1475 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1476 Object, Object)): Implemented.
1477 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1479 (initialiseBeanContextResources()): Implemented.
1480 (releaseBeanContextResoures()): Implemented.
1482 2006-12-01 Mark Wielaard <mark@klomp.org>
1484 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1486 2006-12-01 Roman Kennke <kennke@aicas.com>
1488 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1489 handling border styles.
1490 * gnu/javax/swing/text/html/css/BorderWidth.java
1491 (isValid): New method.
1492 * gnu/javax/swing/text/html/css/Length.java
1493 (isValid): New method.
1494 * javax/swing/text/html/CSS.java
1495 (addInternal): Added shorthand parsing for border, padding and
1497 (parseBackgroundShorthand): Added API docs.
1498 (parsePaddingShorthand): New method. Handles padding shorthand
1500 (parseMarginShorthand): New method. Handles margin shorthand
1502 (parseBorderShorthand): New method. Handles border shorthand
1504 * javax/swing/text/html/StyleSheet.java
1505 (translateHTMLToCSS): Set specific padding attributes.
1506 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1507 These shorthands are now handled in CSS.
1508 (BoxPainter.paint): Exclude the outer margin.
1510 2006-12-01 Roman Kennke <kennke@aicas.com>
1512 * gnu/javax/swing/text/html/css/Length.java
1513 (emBase): New field.
1514 (exBase): New field.
1515 (isFontEMRelative): New field.
1516 (isFontEXRelative): New field.
1517 (Length): Recognize and setup EM and EX relative values.
1518 (getValue): Handle EM and EX relative values.
1519 (isEMRelative): New method.
1520 (isEXRelative): New method.
1521 (setEMBase): New method.
1522 (setEXBase): New method.
1523 (setFontBases): New method.
1524 * gnu/javax/swing/text/html/parser/support/Parser.java
1525 (_handleEmptyTag): Use new isBlock() helper method.
1526 (_handleEndTag_remaining): Use new isBlock() helper method.
1527 (_handleStartTag): Consume whitespace after block start tag.
1528 (Comment): Consume whitespace after a comment.
1529 (isBlock): New helper method.
1530 (readAttributes): Consider all characters in unquoted attribute
1532 * javax/swing/text/html/BlockView.java
1533 (layoutMinorAxis): Use cached span value.
1534 (paint): Added debug code (commented out).
1535 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1536 * javax/swing/text/html/CSSBorder.java
1537 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1539 (getBorderWidth): Set the EM and EX base on the length values.
1540 * javax/swing/text/html/HTMLDocument.java
1541 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1542 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1543 (HTMLReader.inImpliedParagraph): Removed.
1544 (HTMLReader.inParagraph): Removed.
1545 (HTMLReader.parseStack): New field.
1546 (HTMLReader.addContent): Use new paragraph handling.
1547 (HTMLReader.addSpecialElement): Use new paragraph handling.
1548 (HTMLReader.blockClose): Use new paragraph handling.
1549 (HTMLReader.blockOpen): Use new paragraph handling.
1550 (HTMLReader.inImpliedParagraph): New helper method.
1551 (HTMLReader.inParagraph): New helper method.
1552 * javax/swing/text/html/ImageView.java
1553 (attributes): New field. Caches view attributes.
1554 (spans): New field. Caches CSS spans.
1555 (getAttributes): Correctly setup CSS view attributes.
1556 (getPreferredSpan): Use caches spans.
1557 (getStyleSheet): Use the view's getDocument() method.
1558 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1559 (updateSize): Use cached spans.
1560 * javax/swing/text/html/ParagraphView.java
1561 (setPropertiesFromAttributes): Setup EM and EX.
1562 * javax/swing/text/html/StyleSheet.java
1563 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1564 (getEMBase): New helper method.
1565 (getEXBase): New helper method.
1566 * javax/swing/text/html/TableView.java
1567 (width): New field. Caches the table width.
1568 (calculateMinorAxisRequirements): Use caches span.
1569 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1570 (updateGrid): Correctly setup EM/EX.
1572 2006-11-30 Roman Kennke <kennke@aicas.com>
1574 * javax/swing/text/html/FormSubmitEvent.java: New class.
1575 * javax/swing/text/html/FormView.java
1576 (SubmitThread): New class for submitting data in a separate thread.
1577 (actionPerformed): Fetch the actual for data.
1578 (addData): New helper method.
1579 (getElementFormData): New helper method.
1580 (getFormData): New helper method.
1581 (getInputFormData): New helper method.
1582 (submitData): Implemented.
1583 * javax/swing/text/html/FrameView.java
1584 (createComponent): Add this as hyperlink listener.
1585 Set the target document as frame document.
1586 (getTopEditorPane): New helper method.
1587 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1588 (handleHyperlinkEvent): New helper method.
1589 (handleFormSubmitEvent): New helper method.
1590 * javax/swing/text/html/HTMLDocument.java
1591 (HTMLReader.BaseAction.start): Track the base target.
1592 (HTMLReader.BaseAction.end): Removed.
1593 (baseTarget): New field.
1594 (frameDocument): New field.
1595 (getBaseTarget): New property accessor.
1596 (isFrameDocument): New property accessor.
1597 (processHTMLFrameHyperlinkEvent): Implemented.
1598 (setFrameDocument): New property accessor.
1599 (updateFrame): New helper method.
1600 (updateFrameSet): New helper method.
1601 * javax/swing/text/html/HTMLEditorKit.java
1602 (LinkController.createHyperlinkEvent): Handle frame documents.
1603 (autoFormSubmission): New field.
1604 (HTMLEditorKit): Set autoFormSubmission to true.
1605 (isAutoFormSubmission): New property accessor.
1606 (setAutoFormSubmission): New property accessor.
1608 2006-11-30 Roman Kennke <kennke@aicas.com>
1610 * javax/swing/text/ElementIterator.java
1611 (ElementRef): New inner class.
1612 (currentDepth): Removed.
1613 (currentElement): Removed.
1614 (previousItem): Removed.
1615 (stack): New field. Holds the iteration stack.
1617 (ElementIterator(Document)): Removed init of removed fields.
1618 (ElementIterator(Element)): Removed init of removed fields.
1619 (current): Changed to stack based algorithm.
1620 (deepestLeaf): New helper method.
1621 (depth): Changed to stack based algorithm.
1622 (first): Changed to stack based algorithm.
1623 (next): Changed to stack based algorithm.
1624 (previous): Changed to stack based algorithm.
1626 2006-11-30 Francis Kung <fkung@redhat.com>
1628 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1629 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1631 2006-11-30 Francis Kung <fkung@redhat.com>
1633 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1634 (draw): Set transform in buffered composite.
1635 (drawComposite): Do not transform bounds; round bounds.
1636 (drawGlyphVector): Set transform in buffered composite.
1637 (drawRenderedImage): Set transform in buffered composite.
1638 (fill): Set transform in buffered composite.
1639 (updateBufferedImage): Fix scanline & height calculations.
1640 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1641 (createPath): Simplify width & height calculation.
1642 (drawImage): Also transform width & height.
1644 2006-11-30 Roman Kennke <kennke@aicas.com>
1646 * javax/swing/text/html/FrameSetView.java: New class. Implements
1648 * javax/swing/text/html/FrameView.java: New class. Implements
1650 * javax/swing/text/html/HTMLDocument.java:
1651 (HTMLReader.addSpecialElement): Only add one artificial space.
1652 * javax/swing/text/html/HTMLEditorKit.java
1653 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1654 * gnu/javax/swing/text/html/parser/support/Parser.java
1655 (_handleEmptyTag): Also consume whitespace after frame tags.
1657 2006-11-30 Gary Benson <gbenson@redhat.com>
1659 * java/lang/Thread.java: Javadoc fixes.
1661 2006-11-29 Tom Tromey <tromey@redhat.com>
1664 * java/lang/Class.java (getAnnotations): Rewrote.
1666 2006-11-29 Tania Bento <tbento@redhat.com>
1668 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1669 (parseParams): Unescape 'val' before putting it into the Map.
1670 (unescapeString): New private method.
1672 2006-11-29 Tom Tromey <tromey@redhat.com>
1674 * tools/gnu/classpath/tools/getopt/package.html: New file.
1676 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1678 * javax/swing/plaf/metal/MetalIconFactory.java
1679 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1680 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1682 2006-11-29 Mario Torre <neugens@limasoftware.net>
1684 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1685 with the default international currency sign \u00A4.
1686 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1687 table for string formatting.
1688 (formatInternal): likewise.
1689 (scanNegativePattern): likewise.
1690 (applyPattern): likewise.
1691 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1692 Locale is immutable and does not need clone.
1694 2006-11-29 Francis Kung <fkung@redhat.com>
1696 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1697 (drawLine): Remove hard-coded pixel shifting.
1699 2006-11-29 Roman Kennke <kennke@aicas.com>
1701 * java/awt/Component.java
1702 (isShowing): Simplified condition code and avoid unnecessary
1704 (coalesceEvents): Always coalesce paint events and let the peer
1705 figure out the expanding of the repaint area.
1706 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1707 (currentPaintEvents): Removed. Replaced by paintArea.
1708 (paintArea): New field. Tracks the dirty area.
1709 (SwingComponentPeer): Removed init of currentPaintEvents.
1710 (coalescePaintEvent): Simplified to only union the dirty regions.
1711 (handleEvent): Paint dirty region that was tracked in paintArea.
1712 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1713 (paintArea): New field. Tracks the dirty region.
1714 (coalescePaintEvent): Implemented to track the dirty region.
1715 (paintComponent): Use the dirty region in paintArea. Protect
1716 state by putting the paint and dispose code in a try-finally.
1717 (updateComponent): Use the dirty region in paintArea. Protect
1718 state by putting the paint and dispose code in a try-finally.
1720 2006-11-29 Roman Kennke <kennke@aicas.com>
1722 * java/awt/font/TextLayout.java
1723 (getVisualHighlightShape): Removed debug output.
1725 2006-11-28 Andrew Haley <aph@redhat.com>
1727 * vm/reference/sun/reflect/misc/ReflectUtil.java
1728 (checkPackageAccess): Implement.
1730 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1732 * native/jni/java-lang/java_lang_VMDouble.c:
1733 (parseDoubleFromChars) New function. Factored out from ...
1734 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1735 (dtoa_toString): New function. Factored out from ...
1736 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1737 Changed conversion mode to 2, as modes 0 and 1 don't round
1738 as the API spec demands. Invoke conversion function as often
1739 as necessary with growing precision until a reversible
1740 representation of the double in form of a string is reached.
1742 2006-11-28 Roman Kennke <kennke@aicas.com>
1744 * javax/swing/JComponent.java
1745 (putClientProperty): Do not fire event when both old and new
1748 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1750 * java/lang/Enum.java:
1751 Make name and ordinal final.
1753 2006-11-27 Casey Marshall <csm@gnu.org>
1755 * java/util/jar/JarEntry.java (certs): removed.
1756 (jarfile): new field.
1757 (getCertificates): read the certificates from the containing JarFile.
1758 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1759 fill in 'certs,' fill in 'jarfile' for the entry.
1760 (getEntry): likewise.
1762 2006-11-27 Francis Kung <fkung@redhat.com>
1764 * java/awt/image/WritableRaster.java
1765 (createChild): Implemented.
1767 2006-11-27 Roman Kennke <kennke@aicas.com>
1769 * java/awt/font/TextLayout.java
1770 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1771 (getVisualHighlightShape): Implemented.
1772 (layoutRuns): Fixed boundary so that the last run is also laid out.
1773 (left): New helper method.
1774 (right): New helper method.
1776 2006-11-27 Roman Kennke <kennke@aicas.com>
1778 * java/awt/font/TextLayout.java
1779 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1780 (getCaretShape(TextHitInfo)): Use natural bounds.
1781 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1782 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1783 above with DEFAULT_CARET_POLICY.
1784 (getCaretShapes(int)): Use natural bounds.
1786 2006-11-27 Roman Kennke <kennke@aicas.com>
1788 * java/awt/font/TextLayout.java
1789 (Run.font): New field.
1790 (Run.location): New field.
1791 (Run.Run): Initialize font.
1792 (font): Removed field. This is moved into Run as the actual font
1793 is something run-specific.
1794 (TextLayout(String,Font,FontRenderContext)): Set font on the
1795 single runs. Layout the runs here.
1796 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1797 (findRunAtIndex): New helper method.
1798 (getCaretInfo): Implemented.
1799 (layoutRuns): New helper method.
1800 (toString): Don't put font in output string.
1802 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1804 * AUTHORS: Added Jeroen Fritjers.
1806 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1808 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1809 for FieldPosition to be null.
1810 Check if the factional part is just 0 and can be omitted from the
1812 (scanNegativePattern): Fixed index out of bound exception when searching
1813 for international currency symbol in negative pattern.
1815 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1817 * java/beans/beancontext/BeanContextSupport.java:
1818 (readObject(ObjectInputStream)): Implemented.
1819 (writeObject(ObjectOutputStream)): Likewise.
1820 (BCSChild.getTargetChild()): Added.
1821 (bcsPreDeserializationHook()): Implemented.
1822 (bcsPreSerializationHook()): Likewise.
1823 (childDeserializedHook(Object,BCSChild)): Likewise.
1824 (isSerializing()): Likewise.
1825 (readChildren(ObjectInputStream)): Likewise.
1826 (writeChildren(ObjectOutputStream)): Likewise.
1828 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1829 Ian Lance Taylor <ian <at> airs.com>
1830 Paolo Bonzini <bonzini <at> gnu.org>
1834 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1835 increased portability. Likewise, use -f instead of -e.
1837 2006-11-26 Mark Wielaard <mark@klomp.org>
1839 * lib/Makefile.am (propertydirs): Removed.
1840 (resources): Explicitly create all dirs.
1842 2006-11-26 Mark Wielaard <mark@klomp.org>
1844 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1846 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1848 * native/target/.cvsignore,
1849 native/target/generic/.cvsignore,
1850 native/target/Linux/.cvsignore:
1851 Removed no longer used files.
1853 * native/target: Removed no longer used directory.
1855 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1859 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1860 (Java_gnu_java_nio_VMSelector_select):
1861 Use strerror if strerror_r is not available.
1863 Reported by: Michael Franz <mvfranz@gmail.com>,
1864 Riccardo Mottola <zuse@libero.it>
1866 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1870 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1871 STRICT_WARNING_CFLAGS since it caused the build to fail
1874 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1876 * doc/vmintegration.texinfo: Update VM Threading Model section.
1878 2006-11-26 Tom Tromey <tromey@redhat.com>
1880 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1882 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1884 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1885 Conditionally include ifaddrs.h.
1886 (getif_address): Updated conditional.
1887 (getif_index): Likewise.
1888 * configure.ac: Check for ifaddrs.h.
1890 2006-11-25 Mark Wielaard <mark@klomp.org>
1892 * java/io/File.java (list): Return empty list for unreadable dirs.
1894 2006-11-25 Mark Wielaard <mark@klomp.org>
1896 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1897 Synchronize on font peer.
1898 (setFont): Likewise.
1899 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1901 (getTextMetrics): Likewise.
1903 2006-11-25 Roman Kennke <kennke@aicas.com>
1905 * javax/swing/text/GapContent.java
1906 (getPositionsInRange): Rewritten to use the more efficient
1907 binary search searchFirst() and avoid an NPE that was caused
1910 2006-11-25 Mark Wielaard <mark@klomp.org>
1912 * javax/swing/text/CompositeView.java (modelToView): Never return
1915 2006-11-25 Mark Wielaard <mark@klomp.org>
1917 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1918 Check whether rowView instanceof RowView.
1919 (updateGrid): Likewise.
1921 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1924 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1925 * java/text/NumberFormat.java (format): all format methods, fixed
1926 FieldPosition argument should never be null.
1927 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1928 method is not final.
1929 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1931 * AUTHORS: added my name to the file.
1933 2006-11-25 Mark Wielaard <mark@klomp.org>
1935 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1936 getChildAllocation() returning null.
1938 2006-11-25 Mark Wielaard <mark@klomp.org>
1940 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1941 Use clazzIndex for id substring.
1943 2006-11-25 Mark Wielaard <mark@klomp.org>
1945 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1946 it is still running.
1948 2006-11-25 Mark Wielaard <mark@klomp.org>
1951 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1954 2006-11-24 Tania Bento <tbento@redhat.com>
1956 * java/awt/font/TextHitInfo.java
1957 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1958 (beforeOffset): Decreased first parameter by 1.
1960 2006-11-24 Francis Kung <fkung@redhat.com>
1962 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1963 (constructor): Check sample model when setting fastCM flag.
1964 (updateBufferedImage): Check scanline and sample model offsets before
1965 copying data directly into the image data buffer.
1967 2006-11-24 Francis Kung <fkung@redhat.com>
1969 * gnu/java/awt/java2d/QuadSegment.java
1970 (offsetSubdivided): Handle special straight-line cases.
1972 2006-11-24 Roman Kennke <kennke@aicas.com>
1974 * java/awt/dnd/DropTarget.java
1975 (DropTargetAutoScroller.HYSTERESIS): New constant.
1976 (DropTargetAutoScroller.DELAY): New constant.
1977 (DropTargetAutoScroller.inner): New field. A cached
1979 (DropTargetAutoScroller.outer): New field. A cached
1981 (DropTargetAutoScroller.timer): New field. The actual timer.
1982 (DropTargetAutoScroller.DropTargetAutoScroller):
1984 (DropTargetAutoScroller.actionPerformed): Implemented.
1985 (DropTargetAutoScroller.stop): Implemented.
1986 (DropTargetAutoScroller.updateLocation): Implemented.
1987 (clearAutoscroll): Stop the autoscroller before nullifying it.
1988 (createDropTargetAutoScroller): Don't set the field here,
1989 only return a new instance.
1990 (dragEnter): Only do something when active. Initialize
1992 (dragExit): Only do something when active. Stop auto scrolling.
1993 (dragOver): Only do something when active. Update auto scrolling.
1994 (drop): Only do something when active. Update auto scrolling.
1995 (dropActionChanged): Only do something when active. Update
1997 (initializeAutoScrolling): Check if component is an instance
1998 of Autoscroll, otherwise do nothing.
1999 (setActive): Disable autoscrolling when deactivating.
2000 (setComponent): When component is set to null, disable autoscrolling.
2002 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
2004 * java/beans/beancontext/BeanContextServicesSupport.java
2005 (getChildBeanContextServicesListener): Implemented.
2007 2006-11-23 Roman Kennke <kennke@aicas.com>
2009 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2010 (createGraphics): Use constructor to create new instance of
2011 BufferedImageGraphics.
2012 * java/awt/Toolkit.java
2013 (getDefaultToolkit): Really try to get a real toolkit. Only
2014 use HeadlessToolkit if no other is available.
2015 * gnu/java/awt/peer/gtk/GtkToolkit.java
2016 (checkHeadless): New helper method. Checks for headless environment
2017 and throws HeadlessException if appropriate.
2018 (createButton): Check for headless.
2019 (createCanvas): Check for headless.
2020 (createCheckbox): Check for headless.
2021 (createCheckboxMenuItem): Check for headless.
2022 (createChoice): Check for headless.
2023 (createDialog): Check for headless.
2024 (createDragGestureRecognizer): Check for headless.
2025 (createDragSourceContextPeer): Check for headless.
2026 (createEmbeddedWindow): Check for headless.
2027 (createFileDialog): Check for headless.
2028 (createFrame): Check for headless.
2029 (createCheckbox): Check for headless.
2030 (createLabel): Check for headless.
2031 (createList): Check for headless.
2032 (createMenu): Check for headless.
2033 (createMenuBar): Check for headless.
2034 (createMenuItem): Check for headless.
2035 (createPanel): Check for headless.
2036 (createPopupMenu): Check for headless.
2037 (createScrollbar): Check for headless.
2038 (createScrollPane): Check for headless.
2039 (createTextArea): Check for headless.
2040 (createTextField): Check for headless.
2041 (createWindow): Check for headless.
2043 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
2045 * java/beans/beancontext/BeanContextSupport.java
2046 (deserialize): Implemented,
2047 (serialize): Implemented.
2049 2006-11-23 Roman Kennke <kennke@aicas.com>
2051 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2052 (createGraphics): Try to use Cairo graphics if available.
2054 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2056 * java/beans/beancontext/BeanContextSupport.java
2057 (toArray): Added API docs,
2058 (toArray(Object[])): Added API docs, removed NotImplementedException.
2060 2006-11-22 Tania Bento <tbento@redhat.com>
2062 * javax/swing/JRootPane.java
2063 (setLayeredPane): Added documentation; throw
2064 IllegalComponentStateException if layered pane parameter is null.
2066 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2068 * java/beans/beancontext/BeanContextSupport.java
2069 (avoidingGui): Removed NotImplementedException.
2071 2006-11-22 Francis Kung <fkung@redhat.com>
2073 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2074 (drawGlyphVector): Clip updated area to glyph bounds.
2075 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2076 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2077 x-coordinate and y-coordinate pixel shifting.
2078 (shifted): Removed method.
2079 (shiftX): New method, recognising scaling transforms.
2080 (shiftY): New method, recognising scaling transforms.
2081 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2083 2006-11-22 Roman Kennke <kennke@aicas.com>
2085 * java/awt/font/TextLayout.java
2086 (hash): New field. Caches the hash code.
2087 (hashCode): Implemented.
2089 2006-11-22 Roman Kennke <kennke@aicas.com>
2091 * java/awt/image/ImageFilter.java
2092 Reformat whole class.
2093 (getFilterInstance): Don't touch the consumer field. Don't check
2095 (imageComplete): Don't check consumer.
2096 (setColorModel): Don't check consumer.
2097 (setDimensions): Don't check consumer.
2098 (setHints): Don't check consumer.
2099 (setPixels): Don't check consumer.
2100 (setProperties): Pass the original property too.
2101 * java/awt/image/IndexColorModel.java
2102 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2103 transparent pixel by calling the new helper method.
2104 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2105 transparent pixel by calling the new helper method.
2106 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2107 transparent pixel by calling the new helper method.
2108 (coerceData): Removed. This is not needed.
2109 (getAlpha): Simply return value from color map. The transparent
2110 pixel has to be there.
2111 (setTransparentPixel): New helper method. Inserts the transparent
2113 * java/awt/image/RGBImageFilter.java
2114 Reformat whole class.
2115 (convertColorModelToDefault): Removed. No longer needed.
2116 (filterIndexColorModel): Don't handle transparent pixels
2118 (filterRGBPixels): Set pixels on consumer already.
2119 (makeColor): Removed. No longer needed.
2120 * java/awt/image/ReplicateScaleFilter.java
2121 (replicatePixels): Removed.
2122 (setDimension): Correctly compute destination size, avoid double
2124 (setPixels): Avoid double calculations. Fixed some boundary cases.
2125 (setupSources): New helper method.
2126 * java/awt/image/SampleModel.java
2127 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2129 * java/awt/image/SinglePixelPackedSampleModel.java
2130 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2131 This is not needed as the superclass already copies line
2133 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2134 removed some checks that the RI also doesn't perform. Call
2135 DataBuffer.setElem().
2137 2006-11-22 Roman Kennke <kennke@aicas.com>
2139 * java/awt/text/TextLayout.java
2140 (getLogicalRangesForVisualSelection): Implemented.
2142 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2144 * sun/reflect/annotation/AnnotationParser.java,
2145 * sun/reflect/annotation/AnnotationType.java,
2146 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2147 * sun/reflect/annotation/ExceptionProxy.java:
2149 * sun/misc/ServiceConfigurationError.java,
2150 * sun/misc/Service.java:
2153 2006-11-21 Roman Kennke <kennke@aicas.com>
2155 * java/awt/text/TextLayout.java
2156 (Run.isLeftToRight): New helper method.
2157 (logicalToVisual): New field. Maps logical indices to visual
2159 (visualToLogical): New field. Maps visual indices to logical
2161 (TextLayout): Setup mappings.
2162 (setupMappings): New method for setting up the mappings.
2163 (getCharacterLevel): Reorganized code.
2164 (getNextLeftHit(int)): Implemented.
2165 (getNextLeftHit(int,CaretPolicy)): New method.
2166 (getNextLeftHit(TextHitInfo)): Implemented.
2167 (getNextRightHit(int)): Implemented.
2168 (getNextRightHit(int,CaretPolicy)): New method.
2169 (getNextRightHit(TextHitInfo)): New method.
2170 (getVisualOtherHit): Implemented.
2171 (checkHitInfo): New helper methods for checking parameters.
2172 (hitToCaret): New helper method. Maps hit infos to caret locations.
2173 (caretToHit): New helper method. Maps caret locations to hit infos.
2174 (isCharacterLTR): New helper method.
2175 (CaretPolicy.getStrongCaret): Implemented.
2177 2006-11-21 Francis Kung <fkung@redhat.com>
2179 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2180 (draw): Include stroke width when calculating bounds.
2181 (updateBufferedImage): Round bounds more generously, handle negative
2182 height/width values, and clip more intelligently.
2183 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2184 (createPath): Add shortcut optimization for lines.
2185 (draw): Include stroke width when calculating bounds.
2186 (drawLine): Delegate to main draw() method.
2187 (drawRect): Likewise.
2188 (fillRect): Delegate to main fill() method.
2189 (findStrokedBounds): New method.
2190 (setCustomPaint): Round bounds more generously.
2191 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2192 (drawLine): Removed.
2193 (drawRect): Removed.
2194 (fillRect): Removed.
2196 2006-11-21 Francis Kung <fkung@redhat.com>
2198 * gnu/java/awt/java2d/TexturePaintContext.java
2199 (getRaster): Handle negative coordinate values.
2200 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2201 (setPaint): Moved custom paint processing to a new method.
2202 (setPaintPixels): Added x, y parameters.
2203 (getRealBounds): Added documentation.
2204 (copy): Copy clipping information.
2205 (drawLine): Process custom paints.
2206 (setCustomPaint): New method.
2207 (fill): Process custom paints.
2208 (drawGlyphVector): Process custom paints.
2209 (drawRect): Process custom paints.
2210 (draw): Process custom paints.
2211 * gnu/java/awt/peer/gtk/CairoSurface.java
2212 (cairoCM_opaque): New constant.
2213 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2214 (argb32): Removed constant.
2215 (rgb32): Removed constant.
2216 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2217 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2218 (updateBufferedImage): Transform to device-space before updating.
2219 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2220 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2222 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2223 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2224 source at designated x, y origin.
2226 2006-11-21 Roman Kennke <kennke@aicas.com>
2228 * java/awt/text/TextLayout.java
2229 (Run): New inner helper class.
2230 (length): New field.
2231 (naturalBounds): New field.
2232 (offset): New field.
2233 (runIndices): Removed. This is now encapsulate in a Run object.
2234 (runs): Changed to Run[].
2235 (string): Changed to char[].
2236 (totalAdvance): New field. Caches advance value.
2237 (TextLayout(String,Font,FontRenderContext)): Change to store
2238 string as char[] and run layout as Run[]. Clean out empty
2240 (TextLayout(TextLayout,int,int)): Change to store
2241 string as char[] and run layout as Run[].
2242 (clone): Call private constructor for maximum efficiency.
2243 (determineWhitespace): Adapted to use char[] data.
2244 (draw): Adapted to use Run objects.
2245 (getAdvance): Cache computed total advance.
2246 (getBlackBoxBounds): Adapted to use Run objects.
2247 (getCaretInfo): Use natural layout bounds.
2248 (getCharacterCount): Return length field.
2249 (getLogicalHighlightShape): Adapted to use Run objects.
2250 (getNaturalBounds): New helper method. Calculates and returns the
2251 natural bounds of this text layout.
2252 (getOutline): Adapted to use Run objects.
2253 (getStringProperties): Adapted to use char[] data.
2254 (getVisibleAdvance): Adapted to use char[] and Run data.
2255 (handleJustify): Adapted to use char[] and Run data.
2256 (hitTestChar(float,float,Rectangle2D)): Implemented.
2257 (hitTestChar(float,float)): Use natural bounds.
2258 (setCharIndices): Adapted to use char[] and Run data.
2259 (toString): Adapted to use char[] and Run data.
2260 * java/text/Bidi.java
2261 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2263 2006-11-21 Roman Kennke <kennke@aicas.com>
2265 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2266 Removed. This is now an inner class in GdkFontPeer.
2267 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2268 (drawString(float,float)): Use text layout cache from
2270 (getFontMetrics): Delegate to GdkFontPeer.
2271 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2272 (getGlyphCodes): Also check array size.
2273 (getGlyphPositions): Also check array size.
2274 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2275 (GdkFontLineMetrics.fm): Removed.
2276 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2277 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2278 (GdkFontLineMetrics.underlineOffset): Removed.
2279 (GdkFontLineMetrics.underlineThickness): Removed.
2280 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2281 FontMetrics argument. Don't init removed fields.
2282 (GdkFontLineMetrics.getAscent): Return font peer's field.
2283 (GdkFontLineMetrics.getDescent): Return font peer's field.
2284 (GdkFontLineMetrics.getHeight): Return font peer's field.
2285 (GdkFontLineMetrics.getLeading): Return font peer's field.
2286 (GdkFontLineMetrics.getNumChars): Reformat.
2287 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2288 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2289 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2290 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2291 (GdkFontMetrics): Moved class in here as inner class.
2292 Make it use the font peer's fields and for the char(s) width
2293 and string width method, use TextLayout to measure the actual widths.
2294 (ascent): New field.
2296 (DEFAULT_CTX): New constant field.
2297 (descent): New field.
2298 (FONT_METRICS_ASCENT): New constant.
2299 (FONT_METRICS_DESCENT): New constant.
2300 (FONT_METRICS_HEIGHT): New constant.
2301 (FONT_METRICS_MAX_ADVANCE): New constant.
2302 (FONT_METRICS_MAX_ASCENT): New constant.
2303 (FONT_METRICS_MAX_DESCENT): New constant.
2304 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2305 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2306 (height): New field.
2307 (maxAdvance): New field.
2308 (maxAscent): New field.
2309 (maxDescent): New field.
2310 (metrics): New field. Stores a FontMetrics for this font.
2311 (textLayoutCache): New field. Caches TextLayout instances.
2312 (underlineOffset): New field.
2313 (underlineThickness): New field.
2314 (cinit): Don't initialize resource bundle.
2315 (GdkFontPeer): Setup the metrics.
2316 (getFontMetrics): Return stored metrics if possible.
2317 (getLineMetrics): Adapt to new constructor.
2318 (initFont): New helper method.
2319 (setupMetrics): New helper method.
2320 * gnu/java/awt/peer/gtk/GtkToolkit.java
2321 (LRUCache): Made class a static class.
2322 (getFontMetrics): Delegate to GdkFontPeer.
2323 * native/jni/gtk-peer/gdkfont.h
2324 Added new constant defines.
2325 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2326 (getFontMetrics): Rewritten to fetch the font metrics from
2329 2006-11-20 Tania Bento <tbento@redhat.com>
2331 * javax/swing/ButtonGroup.java:
2332 (setSelected): Select the ButtonModel if all conditions
2335 2006-11-20 Tania Bento <tbento@redhat.com>
2337 * javax/swing/JSlider.java:
2338 (updateLabelUIs): Removed casting.
2340 2006-11-20 Mark Wielaard <mark@klomp.org>
2342 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2343 (bundle): New static final String field.
2344 (getLocalizedMessage): Initialize messages when still null.
2345 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2346 (set): Use RE.getLocalizedMessage().
2348 (setLineSeparator): Likewise.
2350 2006-11-20 Roman Kennke <kennke@aicas.com>
2352 * javax/swing/text/html/StyleSheet.java
2353 (linked): New field.
2354 (styleSheet): Replaced by linked.
2355 (addStyleSheet): Use an arraylist for simplicity.
2356 (getRule): Removed useless instantiation.
2357 (getStyleSheets): Convert array list to array.
2358 (removeStyleSheet): Use an arraylist for simplicity.
2359 (resolveStyle): Include styles from linked lists.
2361 2006-11-20 Roman Kennke <kennke@aicas.com>
2363 * javax/swing/text/BoxView.java
2364 (BoxView): Initialize with invalid req's.
2365 (forwardUpdate): Trigger repaint when children changed the
2367 (getResizeWeight): Return resizable when the pref differs from
2368 the min or the pref differs from the max size.
2369 (layoutMajorAxis): Actually sum up the preferred sizes.
2370 (paint): Made binary search more robust.
2371 (replace): Let arrays shrink when needed.
2372 (replaceLayoutArray): Let arrays shrink when needed.
2373 (setAxis): Trigger preferenceChanged.
2374 * javax/swing/text/CompositeView.java
2375 (getInsideAllocation): Call insets method to take account
2376 of overriding subclasses.
2377 * javax/swing/text/DefaultStyledDocument.java
2378 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2379 (ElementBuffer.insertUpdate): Only remove the found element, not
2381 * javax/swing/text/GlyphView.java
2382 (insertUpdate): Pass null in preferenceChanged.
2383 (removeUpdate): Pass null in preferenceChanged.
2384 (changedUpdate): Pass null in preferenceChanged.
2385 * javax/swing/text/Utilities.java
2386 (drawTabbedText): Avoid single calls to charWidth() and instead
2387 call charsWidth() on whole chunks.
2388 * javax/swing/text/html/HTMLDocument.java
2389 (BlockElement.getName): Fall back to super when necessary.
2390 (RunElement.getName): Fall back to super when necessary.
2391 (HTMLReader.MAX_THRESHOLD): New constant field.
2392 (HTMLReader.GROW_THRESHOLD): New constant field.
2393 (HTMLReader.theshold): New field.
2394 (HTMLReader.HTMLReader): Fetch threshold from document.
2395 (HTMLReader.addContent): Sucessivly grow the threshold.
2396 (createLeafElement): Don't create two elemens and don't set
2398 * javax/swing/text/html/TableView.java
2399 (RowView.replace): Invalidate grid.
2400 (gridValid): Made package private.
2401 (layoutMinorAxis): Mark all rows as invalid.
2402 (replace): Invalidate grid.
2404 2006-11-20 Roman Kennke <kennke@aicas.com>
2406 * javax/swing/text/AbstractDocument.java
2407 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2408 (DefaultDocumentEvent.modified): Made private.
2409 (DefaultDocumentEvent.THRESHOLD): New constant field.
2410 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2412 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2413 exceeding threshold.
2414 (DefaultDocumentEvent.getChange): Use iterative approach
2415 when we have no hashmap yet.
2416 (documentCV): Removed.
2417 (numWriters): Renamed from numWritersWaiting.
2418 (createPosition): Reformat.
2419 (getCurrentWriter): Synchronized.
2420 (readLock): Implement more straightforward.
2421 (readUnlock): Implement more straightforward.
2422 (writeLock): Implement more straightforward.
2423 (writeUnlock): Implement more straightforward.
2424 (remove): Write-lock here.
2425 (removeImpl): Don't write-lock here.
2427 2006-11-20 Roman Kennke <kennke@aicas.com>
2429 * javax/swing/JEditorPane.java
2430 (setPage): Set priority on loading thread.
2432 2006-11-20 Roman Kennke <kennke@aicas.com>
2434 * javax/swing/plaf/basic/BasicTextUI.java
2435 (RootView.paint): Avoid allocation.
2436 (cachedInsets): New field. Caches an Insets instance.
2437 (getNextVisualPositionFrom): Read-lock the document to avoid
2438 thread nastiness. Push allocation.
2439 (getPreferredSize): Push fake allocation when not yet laid out.
2440 (getVisibleEditorRect): Use cached insets.
2441 (viewToModel): Read-lock the document to avoid
2442 thread nastiness. Push allocation.
2444 2006-11-20 Roman Kennke <kennke@aicas.com>
2446 * javax/swing/text/StyleContext.java
2447 (attributeSetPool): Synchronize this map.
2448 (addAttribute): Synchronize this method.
2449 (addAttributes: Synchronize this method.
2450 (readObject): Install synchronized map on target object.
2451 (removeAttribute): Synchronize this method.
2452 (removeAttributes): Synchronize this method.
2453 (removeAttributes): Synchronize this method.
2455 2006-11-20 Roman Kennke <kennke@aicas.com>
2457 * javax/swing/text/GapContent.java
2458 (GapContentPosition.GapContentPosition): Removed constructor.
2459 (Mark): Made subclass of WeakReference to refer directly to
2460 the associated position.
2461 (Mark.refCount): Removed.
2462 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2463 New constructor. Used to reference a position and register the
2465 (Mark.Mark(index)): Call super and don't adjust mark offset.
2466 (Mark.compareTo): Removed.
2467 (Mark.equals): Removed.
2468 (Mark.getOffset): Return at least null. Removed assert.
2469 (Mark.getPosition): New helper method.
2470 (garbageMarks): New field.
2471 (positions): Removed.
2472 (searchMark): New field.
2473 (GapContent): Removed init of positions map.
2474 (addImpl): New helper method.
2475 (adjustPositionsInRange): Removed.
2476 (compare): New helper method.
2477 (createPosition): Rewritten for new datastructures. This now
2478 performs a much more efficient binary search for finding
2479 a position at the requested offste.
2480 (garbageCollect): Rewritten to collect unused marks.
2481 (getPositionsInRange): Adjusted for new data structures.
2482 (removeImpl): New helper method.
2483 (replace): Use new addImpl() and removeImpl() helper method for
2484 correctly adjusting the positions and gap.
2485 (search): Rewritten. Implements a more suitable binary search.
2486 (searchFirst): New helper method.
2487 (setPositionsInRange): Removed.
2488 (shiftEnd): Update the marks here.
2489 (shiftGap): Update the marks here.
2490 (shiftGapEndUp): Update the marks here.
2491 (shiftGapStartDown): Update the marks here.
2493 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2495 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2496 digest algorithm implementations.
2497 (readSignatures): Parse the manifest once and reuse that data.
2498 Add support for line breaks.
2499 (verifyHashes): Use the parsed manifest entry.
2500 (readManifestEntry): Removed.
2502 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2504 * java/beans/beancontext/BeanContextServicesSupport.java:
2505 Added more documentation.
2506 (addService(Class,BeanContextServiceProvider,boolean)):
2507 Synchronized over global hierarchy lock.
2508 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2509 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2510 (childJustRemovedHook(Object,BCSChild)): Implemented.
2511 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2513 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2514 Added revocation-only listeners.
2515 (getBeanContextServicesPeer()): Implemented.
2516 (getCurrentServiceClasses(Class)): Synchronized over global
2518 (getCurrentServiceSelectors(Class)): Synchronized over global
2519 hierarchy lock, and fixed FIXME.
2520 (getService(BeanContextChild,Object,Class,Object,
2521 BeanContextServiceRevokedListener)): Implemented.
2522 (hasService(Class)): Synchronized over global hierarchy lock.
2523 (releaseService(BeanContextChild,Object,Object)): Implemented.
2524 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2525 * java/beans/beancontext/BeanContextSupport.java:
2526 (remove(Object, boolean)): Documentation correction.
2528 2006-11-19 Roman Kennke <kennke@aicas.com>
2530 * javax/swing/JEditorPane.java
2531 (PageStream): New inner class.
2532 (PageLoader): New inner class.
2533 (loading): New field.
2534 (setPage): Implemented asynchronous loading.
2535 * javax/swing/text/DefaultStyledDocument.java
2536 (ElementBuffer.create): New helper method.
2537 (create): Use new ElementBuffer method instead of hack.
2538 * javax/swing/text/html/HTMLDocument.java
2539 (HTMLReader.flushImpl): New helper method.
2540 (HTMLReader.addContent): Use flushImpl().
2541 (HTMLReader.blockClose): Added null check.
2542 (HTMLReader.flush): Use flushImpl().
2543 * javax/swing/text/html/HTMLEditorKit.java
2544 (createDefaultDocument): Set load priority to 4 and token threshold
2546 * javax/swing/text/html/TableView.java
2547 (insertUpdate): Overridden to provide correct view factory.
2548 (removeUpdate): Overridden to provide correct view factory.
2549 (changedUpdate): Overridden to provide correct view factory.
2551 2006-11-19 Roman Kennke <kennke@aicas.com>
2553 * javax/swing/text/BoxView.java
2554 (clipRect): New field.
2555 (tmpRect): New field.
2556 (layout): Reorganized code. Now uses layoutAxis() helper method.
2557 (layoutAxis): New helper method.
2558 (paint): Optimized by using cached Rectangle objects and
2559 a binary search for child views inside the clip.
2560 * javax/swing/text/CompositeView.java
2561 (insideAllocation): Made private and initialized in constructor.
2562 (getInsideAllocation): Removed initialization block for
2563 insideAllocation field. Avoid unnecessary allocations.
2564 * javax/swing/text/GlyphView.java
2565 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2566 The remaining stuff (background, underline and striking) is
2567 done in the GlpyhView itself. Avoid unnecessary allocations.
2568 (cached): A cached Segment instance.
2569 (getText): Return cached segment.
2570 (paint): Paint underline, strike and background here. Avoid
2573 2006-11-19 Roman Kennke <kennke@aicas.com>
2575 * javax/swing/text/html/StyleSheet.java
2576 (getFontSize): Removed debug output.
2577 (ListPainter.tmpRect): New field.
2578 (ListPainter.paint): Align bullet vertically centered to
2579 the first line of the paragraph.
2581 2006-11-17 Roman Kennke <kennke@aicas.com>
2583 * gnu/javax/swing/text/html/css/CSSParser.java
2584 (parseDeclaration): Trim string before reporting.
2585 * gnu/javax/swing/text/html/css/FontSize.java
2587 (isRelative): New field.
2588 (sizeIndex): New field.
2589 (FontSize): Initialize new fields.
2590 (getValue): Changed to call getValue(int).
2591 (getValue(int)): New method. Implements relative font sizes.
2592 (isRelative): New method.
2593 (mapAbsolute): Store index.
2594 (mapEM): New helper method.
2595 (mapLarger): New helper method.
2596 (mapPercent): New helper method.
2597 (mapRelative): New helper method.
2598 (mapSmaller): New helper method.
2599 (mapValue): New helper method.
2600 * javax/swing/text/html/CSS.java
2601 (parseBackgroundShorthand): Create CSSColor directly.
2602 * javax/swing/text/html/StyleSheet.java
2603 (addRule): Invalidate resolved styles.
2604 (getFont): Call new getFontSize() method to resolve relative
2606 (getFontSize): New helper method. Resolves relative font sizes.
2607 (translateHTMLToCSS): Create CSS objects directly.
2609 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2611 * gnu/java/util/regex/RETokenNamedProperty.java:
2612 (getHandler(String)): Add support for 'all'.
2614 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2616 * gnu/javax/management/Server.java:
2617 Initial implementation of a GNU management server.
2618 * javax/management/MBeanPermission.java,
2619 * javax/management/MBeanRegistration.java,
2620 * javax/management/MBeanTrustPermission.java:
2623 2006-11-17 Mark Wielaard <mark@klomp.org>
2625 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2627 2006-11-17 Gary Benson <gbenson@redhat.com>
2629 * java/net/DatagramSocket.java (getLocalAddress, connect,
2630 receive): Perform security check on address not hostname.
2632 2006-11-16 Roman Kennke <kennke@aicas.com>
2634 * gnu/javax/swing/text/html/parser/support/Parser.java
2635 (_handleText): Fixed condition for consuming whitespace.
2636 Removed validator check, this is superfluous now.
2638 2006-11-16 Roman Kennke <kennke@aicas.com>
2640 * gnu/javax/swing/text/html/css/CSSParser.java
2641 (parseRuleset): Support 'combined' selectors.
2642 (main): Adapt callback for combined selectors support.
2643 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2644 (startStatement): Take selector array as argument, to
2645 support combined selectors.
2646 * javax/swing/text/html/BlockView.java
2647 (calculateMinorAxisRequirements): Fetch and apply alignment.
2648 * javax/swing/text/html/StyleSheet.java
2649 (CSSStyle): Inverted the constants for correct precedence.
2650 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2652 (CSSStyleSheetParserCallback.style): Removed.
2653 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2654 (CSSStyleSheetParserCallback.end): Push multiple styles.
2655 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2657 2006-11-16 Roman Kennke <kennke@aicas.com>
2659 * javax/swing/text/FlowView.java
2660 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2661 * javax/swing/text/GlyphView.java
2662 (tabExpander): New field.
2664 (breakView): Set tabX on broken view.
2665 (getPartialSpan): Let the painter fetch the span.
2666 (getTabbedSpan): Update the tab expander field. Maybe trigger
2668 (getTabExpander): Simply return the stored expander.
2669 * javax/swing/text/Utilities.java
2670 (getTabbedTextOffset): Made algoritm a little smarter and more
2672 (getTabbedTextWidth): Don't add single char widths, instead add
2673 chunks of characters.
2674 * javax/swing/text/html/ParagraphView.java
2675 (calculateMinorAxisRequirements): Adjust margin only when the
2676 CSS span is not fixed.
2678 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2680 * java/beans/beancontext/BeanContextSupport.java
2681 (getChildBeanContextMembershipListener): Implemented,
2682 (getChildPropertyChangeListener): Implemented,
2683 (getChildSerializable): Implemented,
2684 (getChildVetoableChangeListener): Implemented,
2685 (getChildVisibility): Implemented,
2686 (setDesignTime): Use same property name as Sun's implementation.
2688 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2690 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2691 * java/beans/Statement.java
2692 (toString): Updated to match reference implementation.
2694 2006-11-15 Roman Kennke <kennke@aicas.com>
2696 * javax/swing/text/html/HTMLEditorKit.java
2697 (InsertHTMLTextAction.actionPerformed): Also try inserting
2698 the alternate tag. Adjust the selection accordingly.
2699 (InsertHTMLTextAction.adjustSelection): New helper method.
2700 Adjusts the selection after an insertion.
2701 (insertAtBoundary): Delegate to deprecated method.
2702 (insertAtBoundry): Implemented missing method.
2703 (tryInsert): New helper method.
2704 (defaultActions): Implemented to fill the array with
2705 a couple of InsertHTMLTextActions.
2707 2006-11-15 Roman Kennke <kennke@aicas.com>
2709 * javax/swing/text/html/ImageView.java
2710 (Observer): New class. Observes image loading.
2711 (haveHeight): New field.
2712 (haveWidth): New field.
2713 (height): New field.
2716 (imageIcon): New field.
2717 (loading): New field.
2718 (observer): New field.
2719 (reloadImage): New field.
2720 (reloadProperties): New field.
2721 (ImageView): Initialize observer and some flags.
2722 (getImage): Update the image state and return the image.
2723 (loadImage): New helper method. Actually starts loading.
2724 (paint): Rewritten to paint the image directly, not via Icon.
2725 (reloadImage): Rewritten. Loads the image and its properties.
2726 (renderIcon): Removed. No more necessary.
2727 (setPropertiesFromAttributes): Don't nullify image here.
2728 Added comment about missing impl.
2729 (setSize): Added comment about missing impl.
2730 (updateSize): New helper method. Updates the size attributes.
2731 (updateState): New helper method. Makes sure the image
2732 and its properties are valid.
2734 2006-11-15 Roman Kennke <kennke@aicas.com>
2736 * gnu/javax/swing/text/html/parser/support/Parser.java
2737 (_handleEndTag_remaining): Consume whitespace after a closing
2740 2006-11-15 Roman Kennke <kennke@aicas.com>
2742 * javax/swing/text/html/HTMLDocument.java
2743 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2745 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2747 (HTMLReader.parseStack): Removed.
2748 (HTMLReader.blockClose): Simply call addContent() with ' '
2749 instead of doing more complicated stuff. Removed parseStack
2751 (HTMLReader.blockOpen): Removed parseStack handling.
2752 (getInsertingReader): Removed parseStack init.
2753 * gnu/javax/swing/text/html/parser/htmlValidator.java
2754 (closeTag): Return true only when the tag actually should be
2756 * gnu/javax/swing/text/html/parser/support/Parser.java
2757 (_handleEndTag): Only actually close the tag when the validator
2760 2006-11-15 Roman Kennke <kennke@aicas.com>
2762 * javax/swing/text/html/CSS.java
2763 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2765 * javax/swing/text/html/StyleSheet.java
2766 (BoxPainter.bottomPadding): New field.
2767 (BoxPainter.leftPadding): New field.
2768 (BoxPainter.rightPadding): New field.
2769 (BoxPainter.topPadding): New field.
2770 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2772 (BoxPainter.getInset): Recognize and include the padding.
2773 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2774 javax/swing/text/html/TableView.java
2775 (RowView.calculateMajorAxisRequirements): Adjust req's for
2777 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2778 (cellSpacing): New field.
2779 (columnRequirements): Made package private to avoid accessor method.
2780 (calculateMinorAxisRequirements): Include cellSpacing.
2781 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2782 (layoutMajorAxis): Likewise.
2783 (layoutColumns): Respect cellSpacing.
2784 (setParent): Overridden to fetch the CSS attributes when view gets
2786 (setPropertiesFromAttributes): New method. Fetches the cell
2787 spacing from the CSS attributes.
2789 2006-11-15 Roman Kennke <kennke@aicas.com>
2791 * gnu/javax/swing/text/html/parser/support/Parser.java
2792 (_handleText): Consume whitespace directly before a closing tag.
2793 (restOfTag): Consume whitespace directly after opening.
2794 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2795 (preprocess): Don't perform array boundary checking by
2796 catch AIOOBE, instead check the boundary in loop condition.
2797 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2798 (TAG_CLOSE): New constants. Describes the token pattern for
2801 2006-11-14 Roman Kennke <kennke@aicas.com>
2803 * javax/swing/text/html/ImageView.java
2804 (getPreferredSpan): Use CSS length values.
2805 * javax/swing/text/html/TableView.java
2806 (CellView.calculateMajorAxisRequirements): Overridden to
2807 set the maximum reqs to maximum.
2808 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2810 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2811 the total column reqs.
2812 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2813 the total column reqs.
2814 * gnu/javax/swing/text/html/css/CSSColor.java
2815 (convertValue): Catch NumberFormatExceptions for more robustness.
2816 * gnu/javax/swing/text/html/css/FontSize.java
2817 (mapPixels): Actually map px values. Catch NFE for more robustness.
2819 2006-11-14 Roman Kennke <kennke@aicas.com>
2821 * gnu/java/awt/font/autofit/AxisHints.java,
2822 * gnu/java/awt/font/autofit/Constants.java,
2823 * gnu/java/awt/font/autofit/GlyphHints.java,
2824 * nu/java/awt/font/autofit/Latin.java,
2825 * nu/java/awt/font/autofit/LatinAxis.java,
2826 * gnu/java/awt/font/autofit/LatinMetrics.java,
2827 * gnu/java/awt/font/autofit/Scaler.java,
2828 * gnu/java/awt/font/autofit/Script.java,
2829 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2830 * gnu/java/awt/font/autofit/Segment.java,
2831 * gnu/java/awt/font/autofit/Width.java:
2832 New classes. This is some skeleton stuff for the FreeType-alike
2834 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2835 * gnu/java/awt/font/opentype/OpenTypeFont.java
2836 (unitsPerEm): Made field public.
2837 (getRawGlyphOutline): New method. Fetches the raw outline.
2838 * gnu/java/awt/font/opentype/Scaler.java
2839 (getRawGlyphOutline): New method. Fetches the raw outline.
2840 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2841 (loadGlyph): New method. This is used to load raw outlines.
2842 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2843 (getRawOutline): New method. Fetches the raw outline.
2844 * gnu/java/awt/font/opentype/truetype/Zone.java:
2847 2006-11-14 Roman Kennke <kennke@aicas.com>
2849 * javax/swing/RepaintManager.java
2850 (RepaintManager): Fetch the default state for the double buffering
2851 from a system property gnu.swing.doublebuffering.
2853 2006-11-14 Roman Kennke <kennke@aicas.com>
2855 * javax/swing/plaf/basic/BasicLabelUI.java
2856 (cachedInsets): New field.
2857 (getFontMetrics): New helper method. Fetches the font metrics
2858 from the component or the toolkit.
2859 (getPreferredSize): Use getFontMetrics() helper method for
2860 fetching the font metrics.
2861 (paint): Use getFontMetrics() helper method for
2862 fetching the font metrics. Only paint if icon or text
2863 are != null. Use cached insets.
2864 (paintDisabledText): Don't store/restore color object. The
2865 JComponent painting mechanism takes care of this by calling
2867 (paintEnabledText): Don't store/restore color object. The
2868 JComponent painting mechanism takes care of this by calling
2871 2006-11-14 Roman Kennke <kennke@aicas.com>
2873 * gnu/java/awt/peer/GLightweightPeer.java
2874 (handleEvent): Try to do something reasonable and trigger painting
2875 for the lightweight component.
2876 (getFontMetrics): Fetch and return a font metrics object from
2879 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2881 * gnu/java/util/regex/RETokenNamedProperty.java:
2882 (getHandler(String)): Add support for 'all'.
2884 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2886 * AUTHORS: Add myself.
2888 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2890 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2891 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2892 Roman Kennke's entry.
2894 2006-11-13 Roman Kennke <kennke@aicas.com>
2896 * java/awt/image/IndexColorModel.java
2897 (createCompatibleSampleModel): Implemented missing method.
2899 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2901 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2902 from big endian systems correctly.
2904 2006-11-11 Roman Kennke <kennke@aicas.com>
2906 * gnu/javax/swing/text/html/css/CSSColor.java
2907 (isValidColor): New helper method. Checks strings if they
2908 form a valid color value.
2909 * gnu/javax/swing/text/html/css/Length.java
2910 (Length): Catch number format exceptions.
2911 * javax/swing/text/html/CSS.java
2912 (addInternal): New method. Checks for shorthand CSS attributes
2914 (parseBackgroundShorthand): New method. Parses the background
2915 shorthand attribute.
2916 * javax/swing/text/html/HTMLDocument.java
2917 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2918 (HTMLReader.LinkAction.start): Implemented to load the linked
2920 (HTMLReader.LinkAction.end): Removed. This is not needed.
2921 * javax/swing/text/html/StyleSheet.java
2922 (CSSStyleSheetParserCallback.declaration): Push declaration
2923 through CSS.addInternal() to parse shorthand attributes.
2924 (addCSSAttribute): Push declaration through CSS.addInternal()
2925 to parse shorthand attributes.
2926 (importStyleSheet): Implemented. This adds a stylesheet from
2928 * javax/swing/text/html/TableView.java
2929 (calculateColumnRequirements): Increase column index for
2930 non CellView children to avoid endless loop.
2931 * javax/swing/text/CompositeView.java
2932 (setParent): Comparen with numChildren not with real arraylength.
2934 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2936 * java/beans/beancontext/BeanContextSupport.java
2937 (getChildBeanContextChild): Implemented.
2939 2006-11-10 Roman Kennke <kennke@aicas.com>
2941 * javax/swing/text/View.java
2942 (updateLayout): Only repaint when needed.
2944 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2946 * java/util/Collections.java
2947 (sort(List)): Minor API doc addition,
2948 (sort(List, Comparator)): Likewise.
2950 2006-11-10 David Fu <fchoong@netbeans.jp>
2952 * javax/swing/text/html/HTMLWriter.java
2953 (traverse): Removed Classpath specific handling of implied
2955 (traverseHtmlFragment): Removed Classpath specific handling of
2958 2006-11-10 Roman Kennke <kennke@aicas.com>
2960 * javax/swing/text/ParagraphView.java
2961 (Row.getMaximumSize): Removed. This method is not necessary.
2962 * javax/swing/text/html/TableView.java
2963 (CellView): Moved attribute init to setPropertiesFromAttributes().
2964 (setPropertiesFromAttributes): Fetch attributes here.
2965 (RowView.RowView): Documented.
2966 (RowView.getMaximumSpan): Overridden to restrict the max span
2968 (RowView.layoutMajorAxis): Correctly layout the spans.
2969 (columnWidths): New field. Stores the width attributes of
2971 (calculateColumnRequirements): Added support for relative
2972 (== percent) width attributes.
2973 (calculateMajorAxisRequirements): Removed.
2974 (calculateMinorAxisRequirements): Removed unnecessary code.
2975 (getMaximumSpan): Overridden to restrict the table's width.
2976 (layoutColumns): Documented. Implement more clever table layout,
2977 i.e. for relative columns etc.
2978 (layoutMinorAxis): Don't mark rows invalid.
2979 (updateGrid): Added docs. Initialize column widths.
2981 2006-11-09 Roman Kennke <kennke@aicas.com>
2983 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2984 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2985 Implement basic headless toolkit.
2986 * java/awt/Toolkit.java
2987 (getDefaultToolkit): Check headless property and create
2988 headless toolkit when true.
2990 2006-11-09 Ingo Proetel <proetel@aicas.com>
2991 2006-11-09 Roman Kennke <kennke@aicas.com>
2993 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2994 (SwingButton.button): New field.
2995 (SwingButton.SwingButton): Added constructor.
2996 (SwingButton.isShowing): Access button field instead of
2997 the surrounding class.
2998 (SwingButton.getParent): Access button field instead of
2999 the surrounding class.
3000 (SwingButtonPeer): Call new SwingButton constructor.
3001 * gnu/java/awt/peer/swing/SwingComponent.java:
3002 Several documentation updates.
3003 * gnu/java/awt/peer/swing/SwingComponentPeer.java
3004 (currentPaintEvents): New field.
3005 (peerFont): New field.
3006 (SwingComponentPeer): Initialize currentPaintEvents fields.
3007 (coalescePaintEvents): Implemented.
3008 (dispose): Unregister peer from heavyweight list of its container.
3009 (getGraphics): Fetch graphics from parent component.
3010 (handleEvent): Discard paint event if its coalesced.
3011 (init): Register component with its container for proper painting.
3012 (paint): Call peerPaint().
3013 (peerPaint): Added argument that indicates if we should update.
3014 Call paint or update on the actual AWT component.
3015 (peerPaintComponent): New method. Paints the peer (Swing) component.
3016 (setFont): Set peerFont field.
3017 * gnu/java/awt/peer/swing/SwingContainerPeer.java
3018 (backbuffer): New field.
3019 (focusOwner): New field.
3020 (heavyweightDescendents): New field.
3021 (SwingContainerPeer): Take Container as argument. Don't call init
3023 (addHeavyweightDescendent): New method.
3024 (getFocusOwner): New helper method.
3025 (getInsets): Delegate to insets().
3026 (handleKeyEvent): Dispatch event to focus owner.
3027 (handleMouseEvent): Dispatch to child component.
3028 (isDoubleBuffering): New helper method.
3029 (peerPaint): Overridden to implement container painting with
3031 (peerPaintChildren): New method. Paints the descendents of this
3033 (removeHeavyweightDescendent): New helper method.
3034 * gnu/java/awt/peer/swing/SwingFramePeer.java
3035 (peerPaint): Removed.
3036 (peerPaintComponent): Overridden to paint the menu bar.
3037 * gnu/java/awt/peer/swing/SwingLabelPeer.java
3038 (SwingLabel.label): New field.
3039 (SwingLabel.SwingLabel): Added constructor with Label argument.
3040 (SwingLabel.getGraphics): Implemented to fetch the graphics from
3041 the actual AWT component.
3042 (SwingLabel.getParent): Implemented to fetch the parent from
3044 (SwingLabel.isShowing): Access the label field.
3045 (SwingLabelPeer): Set alignment from label.
3046 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3047 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3049 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3050 Don't be a lighweight peer.
3051 (SwingPanelPeer): Call init.
3052 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3053 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3054 (SwingTextField.textField): New field.
3055 (SwingTextField.SwingTextField): New constructor.
3056 (SwingTextField.isShowing): Access field not enclosing class.
3057 (SwingTextField.getGraphics): New method.
3058 (SwingTextField.getParent): New method.
3059 (SwingTextFieldPeer): Call new constructor.
3060 (select): Renamed arguments.
3061 * gnu/java/awt/peer/swing/SwingWindowPeer.java
3062 (SwingWindowPeer): Call init.
3064 2006-11-09 Tania Bento <tbento@redhat.com>
3066 * javax/swing/JLabel.java
3067 (JLabel(Icon)): Changed documentation; Changed text to null.
3068 (JLabel(Icon,int)): Likewise.
3069 (JLabel(text)): Changed documenation.
3070 (JLabel(text,int)): Likewise.
3071 (JLabel(text,Icon,int)): Changed documentation; Throw
3072 IllegalArgumentException if int is not one of LEFT, RIGHT,
3073 CENTER, LEADING or TRAILING.
3075 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3077 * java/beans/beancontext/BeanContextSupport.java
3078 (BeanContextSupport): Use correct dtime default,
3079 (BeanContextSupport(BeanContext)): Likewise,
3080 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3082 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3083 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3085 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3087 * java/beans/beancontext/BeanContextSupport.java
3088 (getBeanContextPeer): Implemented.
3090 2006-11-09 Roman Kennke <kennke@aicas.com>
3092 * javax/swing/text/html/BlockView.java
3093 (cssHeight): Removed.
3094 (cssWidth): Removed.
3095 (cssSpans): New field. Replaces the two fields above.
3096 (BlockView): Allocate cssSpans array.
3097 (layoutMinorAxis): Fetch and use child span, not this view's span.
3098 (setCSSSpan): Adjusted to use cssSpans array.
3099 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3101 2006-11-09 Roman Kennke <kennke@aicas.com>
3103 * javax/swing/text/html/InlineView.java
3104 (nowrap): New field.
3105 (getBreakWeight): Add support for nowrap.
3106 (setPropertiesFromAttributes): Fetch the nowrap setting.
3108 2006-11-09 Roman Kennke <kennke@aicas.com>
3110 * gnu/javax/swing/text/html/css/CSSParser.java
3111 (parseRuleset): Use new Selector class.
3112 (parseValue): Parse multiple anys, not only one.
3113 (main): Allow stylesheet be specified on the command line.
3114 Use new Selector class.
3115 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3116 (startStatement): Use Selector class.
3117 * gnu/javax/swing/text/html/css/CSSScanner.java
3118 (readName): Actually read a character in the loop to avoid
3120 * gnu/javax/swing/text/html/css/Length.java
3121 (getValue): Only multiply when we have a percentage value.
3122 * gnu/javax/swing/text/html/css/Selector.java:
3123 New class. Provides handling of CSS selectors.
3124 * javax/swing/text/html/StyleSheet.java
3125 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3126 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3127 (CSSStyle.PREC_NORM): New constant field.
3128 (CSSStyle.PREC_UA): New constant field.
3129 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3130 (CSSStyle.precedence): New field.
3131 (CSSStyle.priority): Removed.
3132 (CSSStyle.selector): New field.
3133 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3135 (CSSStyle.compareTo): Adjusted to use the precedence and
3136 specificity of the selector.
3137 (CSSStyleSheetParserCallback.precedence): New field.
3138 (CSSStyleSheetParserCallback.selector): Removed.
3139 (CSSStyleSheetParserCallback.style): New field.
3140 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3141 Initialize with precedence.
3142 (CSSStyleSheetParserCallback.declaration): Don't look up
3143 existing rule, simply create new one.
3144 (CSSStyleSheetParserCallback.endStatement): Append style
3146 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3148 (css): Changed to be ArrayList.
3149 (addRule): Create parser with author-normal precendence.
3150 (getRule): Fixed implementation.
3151 (loadRules): Create parser with UA precendence.
3152 (resolveStyle): Use Selector class for resolving and matching
3154 (translateHTMLToCSS): Added mappings for a couple of HTML
3157 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3160 * java/beans/SimpleBeanInfo.java
3161 (loadImage): Check for nulls.
3163 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3165 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3166 (getpeername): Added 16 byte offset to memcpy operation.
3168 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3170 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3171 (getsockname): Added 16 byte offset to memcpy operation.
3173 2006-11-08 Mark Wielaard <mark@klomp.org>
3176 * java/io/OutputStreamWriter.java
3177 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3178 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3180 2006-11-08 Roman Kennke <kennke@aicas.com>
3182 * javax/swing/text/html/HTMLEditorKit.java
3183 (getParser): Use plain HTML_401F DTD.
3184 * javax/swing/text/html/HTMLDocument.java
3185 (HTMLReader.print): Removed method and all calls to it.
3186 (HTMLReader.printBuffer): Removed method and all calls to it.
3187 (HTMLReader.inImpliedParagraph): New field.
3188 (HTMLReader.inParagraph): New field.
3189 (HTMLReader.addContent): Create implied p-tag if necessary.
3190 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3191 (HTMLReader.blockClose): Close implied p-tag if necessary.
3192 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3193 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3195 2006-11-08 Roman Kennke <kennke@aicas.com>
3197 * javax/swing/text/html/HTMLEditorKit.java
3198 (HTMLFactory.create): Removed mapping for TD tag. This
3199 is done in TableView.
3200 * javax/swing/text/html/TableView.java:
3201 Implemented from scratch.
3203 2006-11-07 Roman Kennke <kennke@aicas.com>
3205 * gnu/javax/swing/text/html/parser/support/Parser.java
3206 (_handleText): Check if text content is actually allowed before
3207 passing empty text fragments on to the parser callbacks.
3209 2006-11-07 Mark Wielaard <mark@klomp.org>
3211 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3215 2006-11-07 Tania Bento <tbento@redhat.com>
3217 * java/awt/FlowLayout.java
3218 (getSize): If parent does not have a component, then a
3219 different formula is used to calcuate the width.
3221 2006-11-07 Roman Kennke <kennke@aicas.com>
3223 * javax/swing/text/html/HTMLEditorKit.java
3224 (HTMLFactory.create): Include ListView.
3225 * javax/swing/text/html/ListView.java
3226 (paint): Removed comment.
3227 * javax/swing/text/html/StyleSheet.java
3228 (CSSStyle.priority): New field.
3229 (CSSStyle.CSSStyle(int)): New constructor with priority.
3230 (CSSStyle.compareTo): New method. Used for sorting the styles.
3231 (CSSStyleSheetParserCallback.declaration): Store the style
3232 with the complete selector.
3233 (ListPainter.attributes): Renamed as field.
3234 (ListPainter.styleSheet): New field.
3235 (ListPainter.type): New field.
3236 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3237 (ListPainter.paint): Provide simplistic implementation.
3238 (getListPainter): Pass StyleSheet to constructor.
3239 (resolveStyle): Fixed CSS style resolving.
3241 2006-11-07 Roman Kennke <kennke@aicas.com>
3243 * gnu/javax/swing/text/html/css/BorderWidth.java:
3244 New class. Handles CSS border width values.
3245 * gnu/javax/swing/text/html/css/Length.java
3246 (floatValue): Made protected so that BorderWidth can access it.
3247 * javax/swing/text/html/CSS.java
3248 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3249 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3250 (Attribute.BORDER_LEFT_COLOR): New static field.
3251 (Attribute.BORDER_LEFT_STYLE): New static field.
3252 (Attribute.BORDER_RIGHT_COLOR): New static field.
3253 (Attribute.BORDER_RIGHT_STYLE): New static field.
3254 (Attribute.BORDER_TOP_COLOR): New static field.
3255 (Attribute.BORDER_TOP_STYLE): New static field.
3256 (getValue): Added some mappings for the border color and
3257 border width values.
3258 * javax/swing/text/html/CSSBorder.java: New class. Implements
3260 * javax/swing/text/html/StyleSheet.java
3261 (BoxPainter.background): New field.
3262 (BoxPainter.border): New field.
3263 (BoxPainter.bottomInset): Documented.
3264 (BoxPainter.leftInset): Documented.
3265 (BoxPainter.rightInset): Documented.
3266 (BoxPainter.topInset): Documented.
3267 (BoxPainter.BoxPainter): Added support for borders and background.
3268 (BoxPainter.getInset): Add border insets.
3269 (BoxPainter.paint): Implemented. Paints the background and the
3271 (addRule): Be less picky about parse and IO exceptions.
3272 (getBoxPainter): Adjust to new BoxPainter constructor.
3274 2006-11-07 Andreas <a.tobler@schweiz.org>
3276 * examples/Makefile.am: Add rule to install the *.html files we use
3279 2006-11-06 Francis Kung <fkung@redhat.com>
3281 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3282 (fillRect): Handle custom composites.
3283 (drawRenderedImage): Handle custom composites.
3284 (drawImage): Handle custom composites.
3285 (createBuffer): New method.
3286 (drawLine): Handle custom composites.
3287 (drawComposite): New method.
3288 (fill): Handle custom composites.
3289 (getNativeCM): New method.
3290 (drawGlyphVector): Handle custom composites.
3291 (drawRect): Handle custom composites.
3292 (draw): Handle custom composites.
3293 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3294 (drawComposite): Unset composite during draw call, to prevent parent
3295 from handling composite again.
3296 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3297 (getBufferCM): Added comments.
3298 (getNativeCM): Made abstract.
3299 (setComposite): Removed comments.
3301 2006-11-06 Roman Kennke <kennke@aicas.com>
3303 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3304 Fixed initial window size and start document.
3306 2006-11-06 Roman Kennke <kennke@aicas.com>
3308 * javax/swing/text/html/HTMLDocument.java
3309 (HTMLReader.addSpecialElement): Removed comment about
3311 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3312 of htmlAttributeSet.
3313 * javax/swing/text/html/parser/DocumentParser.java
3314 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3315 of htmlAttributeSet.
3316 * javax/swing/text/html/parser/ParserDelegator.java
3317 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3318 of htmlAttributeSet.
3319 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3320 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3321 of htmlAttributeSet.
3322 * gnu/javax/swing/text/html/parser/support/Parser.java
3323 (getAttributes): Return a SimpleAttributeSet.
3324 (restOfTag): Don't set resolving parent here.
3326 2006-11-06 Tania Bento <tbento@redhat.com>
3328 * java/awt/TextComponent.java
3329 (setSelectionStart): Added check.
3331 2006-11-06 Tania Bento <tbento@redhat.com>
3333 * java/awt/TextField.java
3334 (minimumSize(int)): Check if minimum size has been previously
3335 set and changed values of Dimension returned if peer == null.
3336 (preferredSize(int)): Check if preferred size has been previously
3337 set and changed values of Dimension returned if peer == null.
3339 2006-11-06 Roman Kennke <kennke@aicas.com>
3341 * javax/swing/JTree.java
3342 (TreeModelHandler.treeNodesRemoved): Implemented.
3343 (TreeModelHandler.treeStructureChanged): Implemented.
3344 (nodeStates): Made package private.
3346 2006-11-06 Francis Kung <fkung@redhat.com>
3349 * javax/swing/JTree.java
3350 (clearSelectionPathStates): New private method to clean up nodeStates.
3351 (removeSelectionPath): Call clearSelectionPathStates().
3352 (removeSelectionPaths): Call clearSelectionPathStates().
3353 (removeSelectionRow): Call clearSelectionPathStates().
3354 (setSelectionPath): Call clearSelectionPathStates().
3355 (setSelectionPaths): Call clearSelectionPathStates().
3356 (setSelectionRow): Call clearSelectionPathStates().
3358 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3361 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3363 2006-11-06 Roman Kennke <kennke@aicas.com>
3365 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3366 Changed to implement a minimalistic browser.
3367 * examples/gnu/classpath/examples/swing/forms.html,
3368 * examples/gnu/classpath/examples/swing/textstyles.html,
3369 * examples/gnu/classpath/examples/swing/welcome.html:
3370 Some example content.
3372 2006-11-06 Roman Kennke <kennke@aicas.com>
3374 * javax/swing/text/ComponentView.java
3375 (setParent): Lock the document and repaint the hosting
3377 * javax/swing/text/FlowView.java
3378 (FlowStrategy.createView): Removed comment.
3379 (FlowView): Initialize span with Short.MAX_VALUE.
3380 (getFlowStart): Return 0 unconditionally.
3381 (layout): Moved code around to make it more readable.
3382 (loadChildren): Always set the parent.
3383 * javax/swing/text/GlyphView.java
3384 (DefaultGlyphPainter.fontMetrics): New field.
3385 (DefaultGlyphPainter.getAscent): Use new helper method to
3386 synchronize the font metrics.
3387 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3388 to synchronize the font metrics.
3389 (DefaultGlyphPainter.getDescent): Use new helper method to
3390 synchronize the font metrics.
3391 (DefaultGlyphPainter.getHeight): Use new helper method to
3392 synchronize the font metrics.
3393 (DefaultGlyphPainter.getSpan): Use new helper method to
3394 synchronize the font metrics.
3395 (DefaultGlyphPainter.modelToView): Use new helper method to
3396 synchronize the font metrics.
3397 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3398 font metrics caching.
3399 (DefaultGlyphPainter.viewToModel): Use new helper method to
3400 synchronize the font metrics. Fixed view to model mapping.
3401 * javax/swing/text/View.java
3402 (removeAll): Pass null to replace().
3403 (setParent): Only reparent children that have this view as parent.
3405 2006-11-05 Mark Wielaard <mark@klomp.org>
3407 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3408 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3409 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3411 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3413 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3414 Remove gnu_java_nio_channels_FileChannelImpl.c.
3416 2006-11-03 Roman Kennke <kennke@aicas.com>
3418 * javax/swing/text/html/BlockView.java
3419 (attributes): New field.
3420 (cssHeight): New field.
3421 (cssWidth): New field.
3422 (painter): New field.
3423 (calculateMajorAxisRequirements): Overridden to account for
3425 (calculateMinorAxisRequirements): Overridden to account for
3427 (layoutMinorAxis): Overridden to account for CSS settings.
3428 (changedUpdate): Formatting fixlet.
3429 (constrainSize): New helper method.
3430 (getAlignment): Fix alignment.
3431 (getAttributes): Cache attributes for better performance.
3432 (getStyleSheet): Fetch stylesheet from document rather than creating
3434 (paint): Remove comment.
3435 (setCSSSpan): New helper method.
3436 (setPropertiesFromAttributes): Implemented to fetch the
3437 recognized properties.
3438 * javax/swing/text/html/CSS.java
3439 (getValue): Added mapping for width and height attributes.
3440 * javax/swing/text/html/InlineView.java
3441 (longestWord): New field.
3442 (getLongestWord): New helper method.
3443 (calculateLongestWord): New helper method.
3444 (getMinimumSpan): Overridden to constrain the minimum span by the
3446 * javax/swing/text/html/ParagraphView.java
3447 (cssHeight): New field.
3448 (cssWidth): New field.
3449 (calculateMinorAxisRequirements): Overridden to account for
3451 (setCSSSpan): New helper method.
3452 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3454 * gnu/javax/swing/text/html/css/Length.java
3455 (percentage): New field.
3456 (Length): Determine percentage values.
3457 (getValue(float)): New method for handling percentage values.
3458 (isPercentage): New method.
3460 2006-11-03 Tania Bento <tbento@redhat.com>
3462 * java/awt/TextArea.java
3463 (getMinimumSize): Changed documentation.
3464 (getPreferredSize): Changed documentation.
3465 (getMinimumSize(int,int)): Changed documenation.
3466 (getPreferredSize(int,int)): Changed documenation.
3467 (minimumSize): Changed documentation.
3468 (preferredSize): Changed documenation.
3469 (minimumSize(int,int)): Changed documentation. Checked if
3470 minimum size had been previously set and changed values of
3471 Dimension returned if peer == null.
3472 (preferredSize(int, int)): Checked if preferred size had been
3473 previously set and changed values of Dimension returned if
3476 2006-11-03 Tania Bento <tbento@redhat.com>
3478 * java/awt/event/ComponentEvent.java
3479 (paramString): Changed format of string representation returned.
3481 2006-11-03 Roman Kennke <kennke@aicas.com>
3483 * javax/swing/text/html/HTMLDocument.java
3484 (HTMLReader.FormAction.start): Added support for textarea.
3485 (HTMLReader.FormAction.end): Added support for textarea.
3486 (HTMLReader.HeadAction.end): Call super to actually close the
3488 (HTMLReader.inTextArea): New field.
3489 (HTMLReader.textAreaDocument): New field.
3490 (HTMLReader.handleText): Call textAreaContent when inside
3492 (HTMLReader.textAreaContent): Implemented to initialize
3493 the text area's model.
3494 * javax/swing/text/html/FormView.java
3495 (createComponent): Added support for textarea tag.
3497 2006-11-03 Roman Kennke <kennke@aicas.com>
3499 * javax/swing/text/html/HTMLDocument.java
3500 (HTMLReader.IsindexAction.start): Implemented.
3502 2006-11-03 Roman Kennke <kennke@aicas.com>
3504 * javax/swing/text/html/StyleSheet.java
3505 (addRule): Implemented.
3506 * javax/swing/text/html/HTMLDocument.java
3507 (HTMLReader.inStyleTag): New field.
3508 (HTMLReader.styles): New field.
3509 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3511 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3512 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3513 (HTMLReader.handleText): When inside a style tag, add
3514 content to the styles array.
3516 2006-11-02 Roman Kennke <kennke@aicas.com>
3518 * javax/swing/text/html/FormView.java
3519 (maxIsPreferred): New field.
3520 (createComponent): Initialize components correctly.
3521 (getMaximumSpan): Return the preferred span for components
3522 that need this. The maxIsPreferred flag is set accordingly
3524 * javax/swing/text/html/HTMLDocument.java
3525 (HTMLReader.FormAction.start): Implemented to set the
3526 correct model as attribute.
3527 (HTMLReader.FormAction.setModel): New helper method.
3528 (HTMLReader.FormAction.end): Call super to finish the element.
3529 Added TODO about things left to do.
3530 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3531 than htmlAttributeSet.
3532 * javax/swing/text/html/HTMLEditorKit.java
3533 (HTMLFactory.create): Create BlockView for FORM tags.
3534 Create FormView for INPUT, TEXTAREA and SELECT tags.
3536 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3538 * java/awt/geom/GeneralPath.java: API doc fixes.
3540 2006-11-02 Roman Kennke <kennke@aicas.com>
3542 * javax/swing/text/html/ImageView.java
3543 (getImageURL): Fetch attribute from element. Consider the
3544 base URL for relative image locations.
3546 2006-11-02 Roman Kennke <kennke@aicas.com>
3548 * javax/swing/JEditorPane.java
3549 (setContentType): Strip off attributes.
3550 * javax/swing/text/html/HTMLEditorKit.java
3551 (LinkController.activateLink(int,JEditorPane,int,int): New
3552 method. Implements activation of a hyperlink.
3553 (LinkController.activateLinke(int,JEditorPane)): Delegate
3554 to the other activateLink() method.
3555 (LinkController.createHyperlinkEvent): New helper method.
3556 (LinkController.mouseClicked): Implemented to activate the link.
3557 (LinkController.mouseDragged): Added comment that this
3558 method does nothing.
3559 (LinkController.mouseMoved): Update cursor for hyperlinks.
3560 (mouseHandler): Renamed field to linkController.
3561 (HTMLEditorKit): Create a link controller.
3562 (clone): Give the clone a new link controller.
3563 (deinstall): De-install link controller as mouseMotionListener too.
3564 (install): Install link controller as mouseMotionListener too.
3566 2006-11-02 Roman Kennke <kennke@aicas.com>
3569 * javax/swing/text/FlowView.java
3570 (FlowStrategy.changedUpdate): Reversed condition. This caused
3571 wrong layout and bad performance.
3572 (FlowStrategy.insertUpdate): Reversed condition. This caused
3573 wrong layout and bad performance.
3574 (FlowStrategy.removeUpdate): Reversed condition. This caused
3575 wrong layout and bad performance.
3576 (LogicalView): Changed to be a subclass of CompositeView.
3577 (LogicalView()): Only take one Element argument.
3578 (LogicalView.childAllocation): New method for implementing
3579 the abstract CompositeView method.
3580 (LogicalView.forwardUpdateToView): Overridden for correct
3582 (getMinimumSpan): Overridden to handle line breaking correctly.
3583 (getPreferredSpan): Implemented to handle line breaking correctly.
3584 (getViewAtPoint): New method for implementing
3585 the abstract CompositeView method.
3586 (getViewIndexAtPosition): Overridden to handle leaf elements
3588 (isAfter): New method for implementing
3589 the abstract CompositeView method.
3590 (isBefore): New method for implementing
3591 the abstract CompositeView method.
3592 (loadChildren): Overridden to handle leaf elements
3594 (paint): New method for implementing
3595 the abstract CompositeView method.
3596 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3597 (loadChildren): Initialize flow layout by sending a synthetic
3598 insertUpdate() to the layout strategy.
3599 * javax/swing/text/GlyphView.java
3600 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3601 font metrics if component is not available. Add initial offset
3603 (breakView): Be more clever when breaking the view.
3604 (getBreakLocation): New helper method to determine a good
3606 (getBreakWeight): Be more clever when breaking the view.
3607 (getTabbedSpan): Make sure we have a painter. Use view's
3608 start and end offset rather than the element's.
3609 * javax/swing/text/Utilities.java
3610 (drawTabbedText): Avoid useless add and sub with the y offset.
3612 2006-11-02 Roman Kennke <kennke@aicas.com>
3615 * gnu/java/awt/peer/ClasspathFontPeer.java
3616 (getStringBounds): Removed abstract method. This is replaced
3617 in java.awt.Font to use a TextLayout.
3618 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3619 (GtkWindowPeer): Set a font on the window object.
3620 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3621 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3622 Changed to take char,int,int instead of String. Filter
3624 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3625 Create char array out of string.
3626 (getLogicalBounds): Don't translate bounds. They already are
3628 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3629 (stringWidth): Filter out control characters.
3630 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3631 (getStringBounds): Removed unneeded method.
3632 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3634 * gnu/java/awt/peer/qt/QtFontPeer.java
3635 (getStringBounds): Removed unneeded method.
3636 * gnu/java/awt/peer/x/XFontPeer.java
3637 (getStringBounds): Removed unneeded method.
3638 * gnu/java/awt/peer/x/XFontPeer2.java
3639 (getStringBounds): Removed unneeded method.
3640 * java/awt/Font.java
3641 (getStringBounds(char[],int,int,FontRenderContext)):
3642 Use TextLayout to determine the bounds.
3643 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3644 Delegate to the char[] version of this method.
3645 (getStringBounds(String,FontRenderContext)):
3646 Delegate to the char[] version of this method.
3647 (getStringBounds(String,int,int,FontRenderContext)):
3648 Delegate to the String version of this method.
3650 2006-11-01 Tania Bento <tbento@redhat.com>
3652 * java/awt/ScrollPaneAdjustable.java
3653 (paramString): Changed format of string representation returned.
3654 (paramStringHelper): New private method.
3656 2006-11-01 Tania Bento <tbento@redhat.com>
3658 * java/awt/GridBagLayout.java
3659 (toString): Implemented method.
3661 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3663 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3664 initialization to NP_Initialize.
3665 (NP_Initialize): Initialize GLib threading.
3667 2006-10-31 Tania Bento <tbento@redhat.com>
3669 * javax/swing/JTextField.java
3670 (fireActionPerformed): When creating the new event, if
3671 actionCommand == null, then getText() is used.
3673 2006-10-31 Francis Kung <fkung@redhat.com>
3675 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3676 (fillArc): Corrected arc type to Arc2D.PIE.
3678 2006-10-31 Roman Kennke <kennke@aicas.com>
3680 * javax/swing/text/html/HTMLDocument.java
3681 (HTMLReader.PreAction.end): Implemented.
3682 (HTMLReader.PreAction.start): Implemented.
3683 (HTMLReader.inPreTag): New field.
3684 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3685 (HTMLReader.preContent): Implemented.
3687 2006-10-31 Tania Bento <tbento@redhat.com>
3689 * javax/swing/JTextField.java
3690 (fireActionPerformed): When creating the new event,
3691 actionCommand should be used as the command, not
3694 2006-10-31 Roman Kennke <kennke@aicas.com>
3696 * javax/swing/text/html/HTMLEditorKit.java
3697 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3698 HTML or Styled documents.
3700 2006-10-31 David Fu <fchoong@netbeans.jp>
3702 * javax/swing/text/html/HTMLWriter.java: New class.
3704 2006-10-30 Roman Kennke <kennke@aicas.com>
3706 * java/awt/dnd/DragSourceContext.java
3707 (dragExit): Use constant fields instead of 0.
3708 (updateCurrentCursor): Completed implementation.
3710 2006-10-30 Roman Kennke <kennke@aicas.com>
3712 * java/awt/dnd/DragGestureRecognizer.java
3713 (resetRecognizer): Added API docs. Do not replace the events object
3714 but rather clear() it. Removed not implemented tag.
3716 2006-10-30 Roman Kennke <kennke@aicas.com>
3718 * java/awt/datatransfer/DataFlavor.java
3719 (writeExternal): Remove not implemented tag.
3721 2006-10-30 Roman Kennke <kennke@aicas.com>
3723 * java/awt/datatransfer/DataFlavor.java
3724 (javaFileListFlavor): Don't explicitly specify class.
3725 (plainTextFlavor): Don't explicitly specify class.
3726 (mimeType): Changed to type MimeType. Remove final.
3727 (representationClass): Remove final.
3728 (DataFlavor): Don't do anything here.
3729 (DataFlavor(Class,String,String)): Removed.
3730 (DataFlavor(Class,String)): Initialize here.
3731 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3732 (DataFlavor(String,String)): Initialize in init().
3733 (DataFlavor(String)): Initialize in init().
3734 (init): New initialization method.
3735 (getMimeType): Delegate to MimeType.toString().
3736 (getParameter(String,String)): Removed. Is now done in MimeType.
3737 (getParameter(String)): Delegate to MimeType.
3738 (getPrimaryType): Delegate to MimeType.
3739 (getRepresentationClassFromMime): Removed.
3740 (getRepresentationClassFromMimeThrows): Removed.
3741 (getSubType): Delegate to MimeType.
3742 (hashCode): Take MimeType.toString() for the hashCode.
3743 (isFlavorRemoveObjectType): Return true only when representation
3744 class is remove and serializable and the mime type is remote.
3745 (isFlavorSerializedObjectType): Return true only when representation
3746 class is serializable and the mime type is serialized.
3747 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3748 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3749 (readExternal): Implemented stub method.
3750 (writeExternal): Implemented stub method.
3751 * java/awt/datatransfer/MimeType.java: New helper class.
3753 2006-10-28 Roman Kennke <kennke@aicas.com>
3755 * javax/swing/TransferHandler.java
3756 (importData): Implemented stub method. Added API docs.
3758 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3760 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3762 * native/jni/classpath/classpath_jawt.h: Likewise.
3763 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3764 initializer for surface_info_x11->depth.
3766 2006-10-26 Tania Bento <tbento@redhat.com>
3768 * java/awt/FileDialog.java:
3769 (setFile): Changed if-clause condition.
3771 2006-10-25 Francis Kung <fkung@redhat.com>
3773 * include/gnu_java_nio_VMChannel.h,
3774 * include/java_net_VMNetworkInterface.h,
3775 * include/gnu_java_nio_EpollSelectorImpl.h,
3776 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3777 * include/gnu_java_nio_FileChannelImpl.h,
3778 * include/gnu_java_nio_KqueueSelectorImpl.h,
3779 * include/gnu_java_nio_VMPipe.h,
3780 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3782 2006-10-25 Tania Bento <tbento@redhat.com>
3784 * java/awt/Dialog.java: Created new private variable
3786 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3787 Set cursor to default cursor.
3788 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3790 (generateName): New method.
3791 (getUniqueLong): New private method.
3792 * java/awt/FileDialog.java: Created new private variable
3793 next_file_dialog_number.
3794 (setFile): If file == "", set it to null.
3795 (generateName): New method.
3796 (getUniqueLong): New private method.
3798 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3800 * java/net/MulticastSocket.java:
3801 (setNetworkInterface): Rewritten.
3803 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3805 * native/jni/java-net/javanet.h: Added declaration for
3806 _javanet_create_inetaddress.
3807 * native/jni/java-net/javanet.c:
3808 (_javanet_create_inetaddress): Removed static keyword.
3810 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3812 * gnu/java/net/PlainDatagramSocketImpl.java:
3813 (connect): Use VMChannel instance for connect call.
3814 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3815 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3816 (setOption): Handle multicast options.
3817 (getOption): Handle multicast options.
3818 * gnu/java/net/PlainSocketImpl.java:
3819 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3820 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3821 (setOption): Filter unappropriate options.
3822 (getOption): Filter unappropriate options.
3823 (connect): Use given SocketAddress.
3824 (close): Reset address and port.
3826 * include/Makefile.am: Removed all occurences of
3827 gnu_java_net_VMPlainDatagramSocketImpl.h.
3828 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3829 * native/jni/java-net/Makefile.am: Removed
3830 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3831 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3833 as SocketException, declare to throw SocketException.
3834 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3835 for SocketException and ConnectException.
3836 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3838 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3840 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3841 (JCL_thread_interrupted): New function.
3842 (initIDs): Added initialisation for isThreadInterrupted method id.
3843 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3844 CPNET_IP_TTL to java_sockopt enum.
3845 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3846 case, handle SO_LINGER case properly.
3847 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3848 case, handle SO_LINGER case properly.
3849 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3851 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3853 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3855 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3857 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3858 * vm/reference/gnu/java/nio/VMChannel.java:
3859 (connect(int, byte[], int, int)): Declare to throw SocketException.
3860 (connect6): Declare to throw SocketException.
3861 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3862 (isThreadInterrupted): New method.
3863 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3865 (setTimeToLive): New method.
3866 (getTimeToLive): New method.
3867 (setMulticastInterface(int, InetAddress)): New method.
3868 (setMulticastInterface(int, int, Inet4Address): New method.
3869 (setMulticastInterface6(int, int, Inet6Address): New method.
3870 (setOptions): Handle SO_LINGER case.
3871 (getOptions): Add missing SO_REUSEADDR case.
3872 * java/net/Socket.java:
3873 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3874 when exception was thrown out of connect().
3875 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3876 Boolean.FALSE with Integer.valueOf(-1).
3877 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3878 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3879 * NEWS: Documented VM interface changes.
3881 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3883 * java/net/Inet6Address.java:
3884 (isMulticastAddress): Fixed check.
3886 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3889 * java/net/MulticastSocket.java:
3890 (getNetworkInterface): Return a special NetworkInterface instance
3891 if the socket's multicast interface is set to any.
3893 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3896 * java/net/NetworkInterface.java:
3897 (createAnyInterface): New method.
3898 (equals): Added if-statement to handle case where netif.name is null.
3899 * vm/reference/java/net/VMNetworkInterface.java:
3900 (hashCode): Rewritten.
3901 (VMNetworkInterface): New constructor.
3903 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3905 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3906 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3907 Add ASM_JAR to bootclasspath.
3909 2006-10-24 Tania Bento <tbento@redhat.com>
3911 * java/awt/Scrollbar.java:
3912 (setLineIncrement): Removed unnecessary if-clause and if
3913 lineIncrement == 0, then it should be set to 1, not 0.
3914 (setPageIncrement): Removed unnecessary if-clause and if
3915 pageIncrement == 0, then it should be set to 1, not 0.
3916 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3917 If maximum <= minimum, maximum should be set to mininum + 1. The
3918 actual value of maximum is maximum - visibleAmount, so I made
3919 this change to the appropriate if-check. Remove the two unneccessary
3922 2006-10-23 Francis Kung <fkung@redhat.com>
3924 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3925 (cairoSetFont): New method.
3926 (copy): Set font using setFont method.
3927 (setFont): Call cairoSetFont.
3928 (setup): Set font using setFont method.
3929 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3930 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3931 (install_font_peer): Removed.
3932 (cairoDrawGlyphVector): Removed call to install_font_peer.
3933 (cairoSetFont): New method.
3935 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3937 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3938 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3939 NativeEventLoopRunningEvent after GTK main loop start and stop.
3940 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3941 (getNextEvent): Set dispatchThread to null.
3942 (postEventImpl): Set nativeLoopRunning.
3943 (pop): Interrupt event dispatch thread.
3944 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3946 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3948 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3950 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3953 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3955 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3956 * javax/crypto/CipherOutputStream.java: Re-implemented.
3957 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3958 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3959 decryption mode and check if it is a complete block.
3960 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3961 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3962 partially processed data into account.
3964 2006-10-21 Tom Tromey <tromey@redhat.com>
3967 * java/util/AbstractCollection.java (toArray): Removed cast.
3969 2006-10-20 Tom Tromey <tromey@redhat.com>
3971 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3972 Don't use mangled class name for .h file.
3973 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3974 Don't use mangled class name for .c file.
3975 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3976 Handle classes from the default package.
3978 2006-10-20 Francis Kung <fkung@redhat.com>
3980 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3982 2006-10-19 Francis Kung <fkung@redhat.com>
3985 * java/awt/image/BufferedImage.java
3986 (constructor): Updated some properties of default image types.
3987 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3988 (argb32): Updated field to match default in BufferedImage.
3990 2006-10-18 Roman Kennke <kennke@aicas.com>
3993 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3994 (copyArea): Changed size comparison to return when size == 0
3996 * javax/swing/JViewport.java
3997 (paintBackingStore): Check width and height of blitted area
3998 and only do blit if its > 0.
3999 (paintBlit): Check width and height of blitted area
4000 and only do blit if its > 0.
4002 2006-10-18 Roman Kennke <kennke@aicas.com>
4005 * gnu/java/awt/peer/gtk/GtkFramePeer.java
4006 (maximize): New native method.
4007 (unmaximize): New native method.
4008 (iconify): New native method.
4009 (deiconify): New native method.
4010 (getState): Implemented.
4011 (setState): Implemented.
4012 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4013 (oldState): Rename to windowState and made protected, so that
4014 the FramePeer can access it.
4015 (postWindowEvent): Handle state change events more gently and
4017 * java/awt/Frame.java
4018 (getState): Fetch state from getExtendedState().
4019 (setExtendedState): Update the peer. Check if the state change
4020 is actually supported.
4021 (getExtendedState): Update the state from the peer.
4022 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
4023 (maximize): New method.
4024 (unmaximize): New method.
4025 (iconify): New method.
4026 (deiconify): New method.
4027 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4028 (AWT_FRAME_NORMAL): New macro.
4029 (AWT_FRAME_ICONIFIED): New macro.
4030 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4031 (window_window_state_cb): Rewritten to handle window state changes
4032 more gently (mostly on the java side of the world).
4033 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4035 2006-10-18 Tania Bento <tbento@redhat.com>
4037 * java/awt/CardLayout.java:
4038 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4039 its height and width if Container passed as argument is null.
4040 (gotoComponent): Consider the case where the component is not visible.
4042 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4044 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4046 * resource/gnu/classpath/tools/appletviewer/messages.properties:
4048 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4050 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4052 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4054 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4055 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4056 Retrieve user-visible strings through Messages.getString.
4057 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4058 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4060 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4062 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4064 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4066 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4068 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4071 2006-10-18 Roman Kennke <kennke@aicas.com>
4073 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4074 (AWT_WINDOW_OPENED): Remove unnecessary macro.
4075 (window_show_cb): Removed unnecessary function.
4076 (connect_signals): Don't connect signal for show. *
4077 gnu/java/awt/peer/gtk/GtkWindowPeer.java
4078 (hasBeenShown): Removed. This is handled in java.awt.Window.
4079 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4080 in java.awt.Window. * java/awt/Window.java
4081 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4083 2006-10-18 Francis Kung <fkung@redhat.com>
4085 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4086 (drawRenderedImage): New method.
4087 (drawImage): New method.
4088 (CairoSurfaceGraphics): Set clip.
4089 (createBuffer): New method.
4090 (getBufferCM): New method.
4091 (drawComposite): New method.
4093 (getNativeCM): New method.
4094 (drawGlyphVector): New method.
4096 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4097 (getNativeCM): Reflect renamed field.
4098 * gnu/java/awt/peer/gtk/CairoSurface.java
4099 (cairoCM_pre): Renamed from cairoColorModel.
4100 (cairoColorModel): Set premultiplication to false.
4102 2006-10-18 Roman Kennke <kennke@aicas.com>
4105 * javax/swing/JScrollPane.java
4106 (viewportBorder): Made field private.
4107 (wheelScrollingEnabled): Made field private.
4108 (JScrollPane): Enabled wheel scrolling by default.
4109 * javax/swing/JTree.java
4110 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4112 (getScrollableUnitIncrement): Fixed thinko.
4113 * javax/swing/plaf/basic/BasicScrollBarUI.java
4114 (static scrollByBlock): New static method to avoid code duplication
4115 for the BasicScrollPane wheel scrolling.
4116 (static scrollByUnits): New static method to avoid code duplication
4117 for the BasicScrollPane wheel scrolling.
4118 (scrollByBlock): Delegate to static helper method.
4119 (scrollByUnit): Delegate to static helper method.
4120 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4121 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4122 static helper methods to avoid code duplication.
4123 (MouseWheelHandler.bounds): Removed.
4124 (MouseWheelHandler.getValue): Removed.
4125 (MouseWheelHandler.scroll): Removed.
4127 2006-10-18 Roman Kennke <kennke@aicas.com>
4130 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4131 (updateComponent): Don't override this here.
4132 * java/awt/Window.java
4133 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4134 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4136 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4139 2006-10-18 Roman Kennke <kennke@aicas.com>
4141 * javax/swing/JEditorPane.java
4142 (getStream): Try to detect and set the content type of the
4145 2006-10-18 Roman Kennke <kennke@aicas.com>
4147 * javax/swing/RepaintManager.java
4148 (RepaintWorkerEvent): Pass full set of params to super.
4149 (RepaintWorker.dispatch): Overridden to allow apps to call this
4151 (addDirtyRegion): Synchronize a little more to protect the
4152 dirtyComponents field and avoid NPEs.
4153 (invokeLater): Pass full set of params to RepaintWorkerEvent
4156 2006-10-18 Roman Kennke <kennke@aicas.com>
4158 * javax/swing/JEditorPane.java
4159 (page): Removed field. The page is now stored in the correct
4161 (getPage): Fetch page URL from document property.
4162 (read): Set the document for this JEditorPane. Use a Reader
4163 for reading in the document.
4164 (setPage): Call getStream() to get the stream from which we read.
4165 Fire property change. Store page in document property.
4167 2006-10-18 Roman Kennke <kennke@aicas.com>
4169 * java/awt/datatransfer/DataFlavor.java
4170 (DataFlavor(String)): Removed check for space in mime string.
4172 2006-10-18 Roman Kennke <kennke@aicas.com>
4174 * java/awt/Container.java
4175 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4176 begin|endValidate().
4177 (validate): Call ContainerPeer.begin|endValidate() here.
4178 Added some local vars to avoid NPEs.
4180 2006-10-18 Roman Kennke <kennke@aicas.com>
4182 * native/target/.cvsignore
4183 * native/target/Linux/.cvsignore
4184 * native/target/generic/.cvsignore:
4185 Added to let CVS ignore the generated Makefile and Makefile.in
4188 2006-10-18 Roman Kennke <kennke@aicas.com>
4191 * java/awt/Window.java
4192 (eventTypeEnabled): Overridden to handle WindowEvents.
4193 (processEvent): Switch between processWindowEvent(),
4194 processWindowFocusEvent() and processWindowStateEvent() here,
4195 rather than simply calling processWindowEvent().
4196 (processWindowEvent): Only dispatch event to listener, do not
4197 switch to processWindowFocusEvent() or processWindowStateEvent()
4199 * javax/swing/JFrame.java
4200 (frameInit): Explicitly enable window and key events here.
4201 (processWindowEvent): Throw out some unnecessary code.
4202 * javax/swing/JWindow.java
4203 (windowInit): Explicitly enable key events here.
4204 * javax/swing/JDialog.java
4205 (close_action): Renamed to closeAction.
4206 (dialogInit): Explicitly enable window events here.
4207 (getDefaultCloseOperation): Renamed close_action to closeAction.
4208 (processWindowEvent): Throw out some unnecessary code.
4209 Renamed close_action to closeAction.
4210 (setDefaultCloseOperation): Renamed close_action to closeAction.
4212 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4214 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4215 to track native GTK event loop status.
4216 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4217 clear running flag when native GTK event loop starts and stops.
4219 2006-10-17 Roman Kennke <kennke@aicas.com>
4221 * javax/swing/TransferHandler.java
4222 (exportToClipboard): Implemented.
4224 2006-10-17 Francis Kung <fkung@redhat.com>
4226 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4227 region to account for pixel-shifting.
4228 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4231 2006-10-17 Francis Kung <fkung@redhat.com>
4234 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4235 (getLogicalBounds): Translate individual glyphs before appending bounds.
4236 (getOutline): Translate individual glyphs before appending outline.
4238 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4241 * java/awt/font/TextLayout.java
4243 (constructor): Store bidi in field.
4244 (getCharacterLevel): Implemented.
4246 2006-10-17 Roman Kennke <kennke@aicas.com>
4248 * javax/swing/TransferHandler.java
4249 (PropertyTransferable): New inner class. Handles transfers
4250 from component properties.
4251 (createTransferable): Implemented.
4253 2006-10-17 Francis Kung <fkung@redhat.com>
4255 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4256 (drawComposite): Ensure composite does not extend beyond buffer
4258 * java/awt/image/Raster.java
4259 (createChild): Ensure child does not extend beyond parent's
4261 * java/awt/image/WritableRaster.java
4262 (createWritableChild): Ensure child does not extend beyond
4265 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4267 * native/jni/classpath/jcl.c
4268 (JNI_OnLoad): Corrected calling convention.
4270 2006-10-16 Roman Kennke <kennke@aicas.com>
4272 * javax/swing/TransferHandler.java
4273 (propertyName): New field.
4274 (TransferHandler(String)): Store property name in field.
4275 (canImport): Implemented stub method.
4276 (exportDone): This is a no-op. Removed not-implemented mark.
4277 (getPropertyDataFlavor): New helper method.
4278 (getPropertyDescriptor): New helper method.
4280 2006-10-16 Roman Kennke <kennke@aicas.com>
4282 * javax/swing/AbstractButton.java
4283 (AccessibleJButton.getAfterIndex): Implemented.
4284 (AccessibleJButton.getAtIndex): Implemented.
4285 (AccessibleJButton.getBeforeIndex): Implemented.
4286 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4287 method implementation.
4289 2006-10-16 Roman Kennke <kennke@aicas.com>
4291 * javax/swing/JLabel.java
4292 (AccessibleJLabel.getIndexAtPoint): Implemented.
4293 (AccessibleJLabel.getCharacterBounds): Implemented.
4294 (AccessibleJLabel.getTextRectangle): New helper method.
4296 2006-10-16 Roman Kennke <kennke@aicas.com>
4298 * javax/swing/filechooser/FileSystemView.java
4299 (getFileSystemView): Mark as implemented.
4301 2006-10-14 Roman Kennke <kennke@aicas.com>
4304 * javax/swing/JComponent.java
4305 (toolTipText): Removed field.
4306 (createToolTip): Don't set tooltip text here. This is done
4307 in the ToolTipManager.
4308 (setToolTipText): Set tooltip text as client property.
4309 (getToolTipText): Get tooltip text from client property.
4310 * javax/swing/ToolTipManager.java
4311 (currentComponent): Made field non-static and of type JComponent.
4312 (currentPoint): Made field non-static.
4313 (currentTip): Made field non-static.
4314 (popup): Made field non-static.
4315 (toolTipText): New field. Stores the current tooltip text.
4316 (checkTipUpdate): New helper method. Checks for updates of
4317 the tooltip text and triggers the appropriate actions.
4318 (getContentPaneDeepestComponent): Removed unneeded casts.
4319 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4320 text from component.
4321 (mouseMoved): Check for tooltip text updates.
4322 (showTip): Set tooltip text from current setting.
4324 2006-10-14 Roman Kennke <kennke@aicas.com>
4327 * javax/swing/JSlider.java
4328 (setPaintLabels): Call setLabelTable() instead of setting
4329 the field directly. This also updates the label's size.
4331 2006-10-13 Tom Tromey <tromey@redhat.com>
4333 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4336 2006-10-13 Tania Bento <tbento@redhat.com>
4338 * java/awt/ScrollPane.java
4339 (setLayout): Should throw AWTError whenever called.
4341 2006-10-13 Roman Kennke <kennke@aicas.com>
4344 * java/awt/Component.java
4345 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4346 update the AWT's knowledge about a component's size.
4347 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4348 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4349 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4350 to update the AWT's knowledge about the component bounds.
4352 2006-10-13 Tania Bento <tbento@redhat.com>
4354 * java/awt/ScrollPaneAdjustable.java
4355 (setMaximum): Should throw AWTError whenever called.
4357 (setVisibleAmount): Same.
4359 2006-10-13 Tania Bento <tbento@redhat.com>
4361 * java/awt/ScrollPane.java
4362 (addImpl): When calling super, index should be value passed,
4364 (getIsValidString): New helper method for paramString().
4365 (getScrollbarDisplayString): New helper method for paramString().
4366 (paramString): Changed format of outputted string.
4368 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4370 * javax/swing/tree/DefaultTreeSelectionModel.java
4371 (clone): Added cast to TreePath[].
4373 2006-10-13 Roman Kennke <kennke@aicas.com>
4376 * javax/swing/JMenuItem.java
4377 (isDragging): New field. Indicates if we are inside a mouse
4379 (createMenuDragMouseEvent): Removed unneeded method.
4380 (processMenuDragMouseEvent): Track if we are dragging.
4381 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4382 * javax/swing/plaf/basic/BasicMenuItemUI.java
4383 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4384 MenuSelectionManager from event.
4385 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4386 MenuSelectionManager from event.
4387 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4388 MenuSelectionManager from event.
4389 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4390 release inside menu item, otherwise clear selection.
4391 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4392 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4393 (doClick): Perform an immediate click.
4395 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4397 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4398 return if object is not in the list.
4400 2006-10-12 Andrew Haley <aph@redhat.com>
4402 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4403 * java/lang/ThreadLocal.java: Likewise.
4405 2006-10-12 Roman Kennke <kennke@aicas.com>
4408 * javax/swing/JSlider.java
4409 (LabelUIResource): New inner class. A JLabel as UIResource.
4410 (createStandardLabels): Don't set label bounds here.
4411 Create LabelUIResource instances.
4412 (setInverted): Repaint.
4413 (setLabelTable): Update the label UIs. Revalidate and repaint.
4414 (setMajorTickSpacing): Update the label table. Repaint if
4416 (setMinorTickSpacing): Repaint if necessary.
4417 (setOrientation): Revalidate.
4418 (setPaintLabels): Revalidate and repaint.
4419 (setPaintTicks): Revalidate and repaint.
4420 (setPaintTrack): Repaint.
4421 (updateLabelUIs): Set the label sizes here.
4422 (updateUI): Also update the label UIs.
4423 * javax/swing/plaf/basic/BasicSliderUI.java
4424 (ComponentHandler.componentResized): Don't revalidate.
4425 (FocusHandler.focusGained): Don't set field.
4426 (FocusHandler.focusLost): Don't set field.
4427 (PropertyChangeHandler.propertyChange): Calculate geometry
4428 and repaint for a couple more properties.
4429 (TrackListener.mouseReleased): Repaint.
4430 (hasFocus): Removed unneeded field.
4431 (calculateContentRect): No need to check for content size < 0.
4432 (calculateFocusRect): Use insets from insetCache.
4433 (calculateLabelRect): Fixed calculation of label rectangle.
4434 It is relative to the tick rectangle, rather than the content
4436 (calculateTickRect): Small restructuring to avoid unnecessary
4438 (calculateTrackRect): Fixed calculation of track rectangle.
4439 (getMaximumSize): Fixed. Fetch preferred size and set
4440 the height of width to Short.MAX_VALUE.
4441 (getMinimumHorizontalSize): Fixed to return UIManager value.
4442 (getMinimumVerticalSize): Fixed to return UIManager value.
4443 (getPreferredHorizontalSize): Fixed to return UIManager value.
4444 (getPreferredVerticalSize): Fixed to return UIManager value.
4445 (getMinimumSize): Fixed to return the UIManager value plus
4447 (getPreferredSize): Fixed to return the UIManager value plus
4449 (getWidthOfWidestLabel): Restructured for more cleanness and
4451 (hitClip): New helper method.
4452 (paintHorizontalLabel): Replaced by more efficient and clean
4454 (paintVerticalLabel): Replaced by more efficient and clean
4456 (paintLabels): Replaced by more efficient and clean
4458 (paint): Check if rectangles intersect with clip for maximum
4460 (recalculateIfInsetsChanged): Fixed. This method should
4461 recalculate only when the insets changed.
4462 (setThumbLocation): Repaint with a reasonable clip.
4463 (xPositionForValue): Made more clean and efficient.
4464 (yPositionForValue): Made more clean and efficient.
4465 * javax/swing/plaf/basic/BasicLookAndFeel.java
4466 (initComponenDefaults): Added Slider.horizontalSize,
4467 Slider.verticalSize, Slider.minimumHorizontalSize and
4468 Slider.minimumVerticalSize properties.
4469 * javax/swing/plaf/metal/MetalSliderUI.java
4470 (getTickLength): Add 1 for horizontal sliders and 3 for
4472 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4473 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4474 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4475 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4477 2006-10-12 Roman Kennke <kennke@aicas.com>
4480 * javax/swing/text/FlowView.java
4481 (FlowStrategy.layout): Preserve logical views from getting lost.
4482 (FlowStrategy.layoutRow): Fix line breaking.
4483 (FlowStrategy.adjustRow): Fix line breaking.
4484 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4485 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4486 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4487 (createView): Don't check index.
4488 (contains): New helper method.
4489 (reparent): New helper method.
4490 (layoutDirty): Removed unneeded field.
4491 (FlowView): Removed layoutDirty field init.
4492 (changedUpdate): Removed layoutDirty handling.
4493 (insertUpdate): Removed layoutDirty handling.
4494 (removeUpdate): Removed layoutDirty handling.
4495 (layout): Use isLayoutValid() rather than the layoutDirty field.
4496 * javax/swing/text/GlyphView.java
4497 (startOffset): Removed.
4498 (endOffset): Removed.
4499 (offset): New field.
4500 (length): New field.
4501 (GlyphView): Initialize new fields. Removed old fields.
4502 (createFragment): Create fragment with new relative offsets.
4503 (getEndOffset): Work with new relative offsets.
4504 (getStartOffset): Work with new relative offsets.
4505 * javax/swing/text/ParagraphView.java
4506 (Row.getStartOffset): Overidden to determine the minimum start
4507 offset from the children.
4508 (Row.getEndOffset): Overidden to determine the maximum end
4509 offset from the children.
4510 * javax/swing/text/html/BRView.java
4511 Make subclass of InlineView.
4512 (getBreakWeight): Fall back to super for Y_AXIS.
4514 2006-10-12 Roman Kennke <kennke@aicas.com>
4517 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4518 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4519 one that avoids faulty state that could cause division by zero
4522 2006-10-12 Roman Kennke <kennke@aicas.com>
4525 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4526 (paint): Determine correct icon. Added support for HTML label.
4527 Added small optimizations.
4528 (getPreferredSize): Only consider the buttons iconTextGap, and
4529 only when the text is not null.
4530 * javax/swing/plaf/basic/BasicLookAndFeel.java
4531 (initComponentDefaults): Fetch border for RadioButton from
4532 BasicButtons.getRadioButtonBorder().
4533 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4534 (paintFocus): Paint focus rectangle one pixel smaller.
4536 2006-10-12 Roman Kennke <kennke@aicas.com>
4539 * javax/swing/tree/AbstractLayoutCache.java
4540 (getNodeDimensions): Don't throw InternalError, but instead
4542 (getRowsForPaths): Check for null here.
4543 (isFixedRowHeight): Returns true when rowHeight > 0.
4544 (setSelectionModel): Set this as the row mapper for the selection
4546 * javax/swing/tree/VariableHeightLayoutCache.java
4547 (NodeRecord.NodeRecord): Initialize bounds field.
4548 (getBounds): Simply return the bounds field.
4549 (row2Node): Changed to be an ArrayList.
4550 (RECT_CACHE): New field. Caches a Rectangle instance.
4551 (countRows): Added y parameter and return value. The method
4552 now takes the current y position as parameter, and returns
4553 the updated y position.
4554 (getBounds): Fixed to return the correct bounds.
4555 (getPathForRow): Replaced by fixed implementation.
4556 (getPreferredHeight): Replaced by more efficient implementation.
4557 This simply fetches the last node record and returns its lower
4559 (getPreferredWidth): Added null check.
4560 (getVisibleChildCount): Added null check.
4561 (getVisiblePathsFrom): Added null check.
4562 (setExpandedState): Also expand the ancestors of the node
4564 (setModel): Set dirty flag rather than updating for real.
4565 (setNodeDimensions): Overridden to set the dirty flag.
4566 (setRowHeight): Overridden to set the dirty flag.
4567 (update): Don't special case the root here, this is done now
4570 2006-10-12 Roman Kennke <kennke@aicas.com>
4572 * javax/swing/JComponent.java
4573 (paintImmediately2): Added support for components which need
4574 to force themselves as paint root.
4575 (isPaintRoot): New method. This should be overridden by components
4576 which need to force themselves as paint root.
4577 * javax/swing/JViewport.java
4578 (isPaintRoot): Overridden to force the viewport as paint root
4579 when running in backingstore mode.
4581 2006-10-12 Roman Kennke <kennke@aicas.com>
4583 * javax/swing/tree/DefaultTreeSelectionModel.java
4584 (PathPlaceHolder): New inner class. Wraps a path and its status
4586 (selectedPaths): New field. A supporting datastructure.
4587 (tmpPaths): New field. A supporting datastructure.
4588 (DefaultTreeSelectionModel): Initialize the list selection model,
4589 the leadIndex and the supporting datastructures.
4590 (addPropertyChangeListener): Create changeSupport object lazily.
4591 (addSelectionPaths): Mostly rewritten to handle the different
4592 selection modes correctly.
4593 (addSelectionPath): Delegate to addSelectionPaths().
4594 (arePathsContiguous): Replaced with more efficient implementation
4596 (canPathBeAdded): Removed unneeded method.
4597 (canPathsBeAdded): Replaced with more efficient implementation.
4598 (clearSelection): Create correct event. Clear the fields correctly,
4599 including the supporting datastructures.
4600 (clone): Also clone the supporting datastructures and nullify
4601 changeSupport field.
4602 (getMaxSelectionRow): Delegate to list selection model.
4603 (getMinSelectionRow): Delegate to list selection model.
4604 (getPath): Removed unneeded method.
4605 (getPropertyChangeListeners): Handle null changeSupport field
4607 (getRow): Handle null rowMapper field correctly.
4608 (getSelectionRows): Handle invisible rows correctly.
4609 (insureRowContinuity): Replaced by more efficient and correct
4611 (isRowSelected): Delegate to list selection model.
4612 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4614 (removePropertyChangeListener): Handle null changeSupport field.
4615 (removeSelectionPaths): Mostly rewritten to handle the different
4616 selection modes correctly.
4617 (removeSelectionPath): Delegate to removeSelectionPaths().
4618 (resetRowSelection): Handle list selection model.
4619 (selectOne): Removed unneeded field.
4620 (setRowMapper): Reset the row selection.
4621 (setSelectionMode): Check for invalid mode and set to
4622 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4623 (setSelectionPaths): Mostly rewritten to handle the different
4624 selection modes correctly.
4625 (setSelectionPath): Delegate to setSelectionPaths().
4626 (updateLeadIndex): Made more efficient.
4628 2006-10-11 Francis Kung <fkung@redhat.com>
4630 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4631 (buffer, locked): New fields.
4632 (constructors): Initialize new variables.
4633 (createBuffer): New method.
4634 (draw): Implement custom composites.
4635 (drawComposite): New method.
4636 (drawGlyphVector): Implement custom composites.
4637 (drawImage): Implement custom composites.
4638 (drawRenderedImage): Implement custom composites.
4639 (fill): Implement custom composites.
4640 (getBufferCM): New method.
4641 (getNativeCM): New method.
4642 (updateBufferedImage): Fix premultiplication.
4643 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4644 (copy): Copy composite.
4645 (drawImage): Set background properly.
4646 (getBufferCM): New method.
4647 (setComposite): Reset alpha composite when using custom composite.
4648 * gnu/java/awt/peer/gtk/CairoSurface.java
4649 (cairoColorModel): New field.
4650 (nativeColorModel): Renamed.
4651 (constructor): Use renamed createCairoSampleModel method.
4652 (createCairoSampleModel): New method.
4653 (createNativeSampleModel): Renamed.
4654 (getBufferedImage): Use renamed cairoColorModel field.
4655 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4656 (gdkColorModel): New field.
4657 (createGdkSampleModel): New method.
4658 (getPixels): Added comments.
4659 (getSnapshot): Use GDK colour and sample models.
4660 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4661 (createBuffer): Use GDK colour and sample models.
4662 (getNativeCM): Added comments.
4663 * java/awt/image/BufferedImage.java
4664 (constructor): Set premultiplied flag properly.
4666 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4668 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4669 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4671 2006-10-10 Francis Kung <fkung@redhat.com>
4674 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4675 (createPath): Added isDraw parameter.
4676 (draw): Updated createPath call.
4677 (fill): Updated createPath call.
4679 2006-10-10 Tom Tromey <tromey@redhat.com>
4682 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4683 there is a stylesheet.
4685 2006-10-10 Roman Kennke <kennke@aicas.com>
4687 * java/awt/Toolkit.java
4688 (getDefaultTookit): Make method synchronized to avoid
4689 accidentally creating more than one toolkits from different
4692 2006-10-10 Roman Kennke <kennke@aicas.com>
4694 * java/awt/LightweightDispatcher.java
4695 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4696 (redispatch): Transfer the button to the redispatched event.
4698 2006-10-10 Francis Kung <fkung@redhat.com>
4700 * java/awt/image/ColorModel.java (coerceData): Implemented.
4702 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4704 * vm/reference/java/lang/VMClassLoader.java:
4705 (defineClassWithTransformers): Use proper class name format.
4707 2006-10-09 Gary Benson <gbenson@redhat.com>
4709 * java/net/ServerSocket.java
4710 (implAccept): Add security check.
4711 (accept): Close socket if security check fails.
4712 (setSocketFactory): Add security check and already-set check.
4714 2006-10-09 Roman Kennke <kennke@aicas.com>
4717 * javax/swing/JSplitPane.java
4718 (dividerLocation): New field. Stores the divider location.
4719 (JSplitPane): Initialize dividerLocation with -1.
4720 (addImpl): Removed unneeded local variables.
4721 (getDividerLocation): Manage dividerLocation in the JSplitPane
4722 class, not in the UI.
4723 (setDividerLocation): Manage dividerLocation in the JSplitPane
4724 class, not in the UI. Only call the UI method for notification.
4725 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4726 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4727 location from the JSplitPane. Honour the minimumSize, but only
4728 if the divider location hasn't been set explicitly.
4729 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4731 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4733 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4734 the divider location.
4735 (dividerLocationSet): New field.
4736 (dividerLocation): Removed field.
4737 (createActionMap): Fetch and set divider location on the JSplitPane.
4738 (getDividerLocation): Return the actual real divider location.
4739 (getMaximumSize): Removed unneeded cast.
4740 (getPreferredSize): Removed unneeded cast.
4741 (getMinimumSize): Removed unneeded cast.
4742 (installUI): Initialize dividerLocationSet with false.
4743 (uninstallUI): Initialize dividerLocationSet with false.
4744 (setDividerLocation): Set dividerLocationSet to true.
4746 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4748 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4749 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4750 convert jstring into char *.
4751 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4752 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4753 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4754 (getif_address): Added const modifier to second argument.
4755 (getif_index): Dito.
4757 2006-10-09 Roman Kennke <kennke@aicas.com>
4759 * javax/swing/JTree.java
4760 (isSelected): Added API docs.
4762 2006-10-09 Roman Kennke <kennke@aicas.com>
4764 * javax/swing/JTree.java
4765 (isSelected): Delegate to the selection model directly.
4767 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4769 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4770 sizeof_struct_kevent to _sizeof_struct_kevent.
4772 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4774 * tools/gnu/classpath/tools/rmic/RMICException.java:
4775 javadoc corrections, reformatted.
4777 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4779 * gnu/java/lang/InstrumentationImpl.java:
4780 Made constructor package visible.
4782 2006-10-05 Gary Benson <gbenson@redhat.com>
4784 * java/net/Socket.java
4785 (Socket): Perform security check on address not hostname.
4787 2006-10-04 Roman Kennke <kennke@aicas.com>
4789 * javax/swing/tree/VariableHeightLayoutCache.java
4790 (getBounds): When rect is null, create a new Rectangle.
4792 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4794 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4795 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4796 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4797 (cpnio_select): Use CPNIO_EXPORT.
4798 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4799 inline instead of extern inline, as newer GCCs changed their
4802 2006-10-04 Gary Benson <gbenson@redhat.com>
4804 * java/net/InetAddress.java: Updated javadoc.
4805 (<clinit>, getByLiteral): Throw InternalError on failures.
4807 2006-10-03 Francis Kung <fkung@redhat.com>
4809 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4810 (compCtx): New field for composite context.
4811 (copy): Copy composite.
4812 (dispose): Dispose of composite context.
4813 (getNativeCM): New method.
4814 (setComposite): Discard old composite context and set up new context.
4815 (setRenderingHints): Update composite context.
4816 * gnu/java/awt/peer/gtk/CairoSurface.java
4817 (nativeColorModel): New field, renamed from nativeModel.
4818 (nativeModel): Renamed field to nativeColorModel.
4819 (CairoSurface(int, int)): Call new method to create sample model.
4820 (createNativeSampleModel): New method.
4821 (getBufferedImage): Updated variable name.
4822 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4823 (buffer): New field.
4824 (createBuffer): New method.
4826 (drawComposite): New method.
4827 (drawGlyphVector): New method.
4828 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4829 (drawImage(Image, int, int, ImageObserver)): Check composite.
4830 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4832 (getNativeCM): New method.
4833 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4834 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4835 intermediary pixbuf to grab on-screen pixels.
4837 2006-10-03 Tom Tromey <tromey@redhat.com>
4840 * java/util/IdentityHashMap.java (tombstone): Removed.
4841 (emptyslot): Removed.
4842 (nullslot): New field.
4843 (IdentityHashMap): Don't fill array.
4844 (clear): Fill with null.
4845 (hash): Now final. Use linear probing.
4846 (xform): New method.
4847 (unxform): Likewise.
4848 (removeAtIndex): Likewise.
4849 (clone, containsKey, containsValue, entrySet, get, hashCode,
4850 keySet, put, remove, values): Updated.
4851 (IdentityIterator, IdentityEntry): Likewise.
4852 (writeObject): Likewise.
4854 2006-10-03 Tom Tromey <tromey@redhat.com>
4856 * java/util/Locale.java (hashcode): Updated javadoc.
4857 (hashcodeCache): Removed.
4859 (hashCode): Updated.
4860 (writeObject): New method.
4861 (readObject): Updated.
4863 2006-10-02 Francis Kung <fkung@redhat.com>
4865 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4866 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4867 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4868 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4869 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4870 pre-multiply data before drawing.
4871 (fillRect): Draw using regular fill() method.
4872 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4873 * gnu/java/awt/peer/gtk/CairoSurface.java
4874 (nativeModel): Use correct value for alpha premultiplication (true).
4875 * java/awt/image/BufferedImage.java
4876 (coerceData): Update isPremultiplied field.
4878 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4880 * gnu/classpath/ListenerData.java:
4881 New class for holding listener data.
4882 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4883 ListenerData class moved to its own file.
4884 * javax/management/MBeanServerDelegate.java,
4885 * javax/management/MBeanServerDelegateMBean.java,
4886 * javax/management/MBeanServerNotification.java:
4889 2006-10-02 Tania Bento <tbento@redhat.com>
4891 * java/ast/Rectangle.java:
4892 (Rectangle(Rectangle)): Do not throw NPE.
4893 (Rectangle(Point, Dimension)): Same.
4894 (Rectangle(Point)): Same.
4895 (Rectangle(Dimension)): Same.
4897 2006-09-29 Casey Marshall <csm@gnu.org>
4900 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4901 `AbstractSelectionKey.'
4902 (cancel, isValid): removed.
4903 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4904 (events): new field.
4905 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4907 (<clinit>): initialize those constants.
4908 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4909 (doSelect): deregister cancelled keys; remove keys attached to
4910 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4911 `events' buffer; reallocate `events' buffer if needed.
4912 (register): reallocate `events' buffer if needed.
4913 (reallocateBuffer): new method.
4916 2006-09-29 Roman Kennke <kennke@aicas.com>
4919 * javax/swing/JViewport.java
4920 (cinit): Renamed system property to gnu.swing.scrollmode
4921 to avoid bloat. Default to BACKINGSTORE, this is much
4923 (repaint): Forward repaint() to parent as is specified.
4925 2006-09-29 Tania Bento <tbento@redhat.com>
4927 * javax/swing/plaf/basic/BasicTableUI.java
4928 (getPreferredSize): The number of iterations for the for-loop should be
4929 the number of columns in the table's column model, not the number of
4930 columns of the table.
4931 * javax/swing/JTable.java
4932 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4933 lines that are not needed.
4934 (initializeLocalVars): dragEnabled should be set to false, not true.
4935 (getCellRenderer): Added a check to prevent an
4936 ArrayIndexOutOfBoundsException.
4937 (doLayout): The number of iterations for the for-loops should be the
4938 number of columns in the table's column model, not the number of columns
4941 2006-09-29 Roman Kennke <kennke@aicas.com>
4943 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4945 (isOptimized): Initialize with true.
4946 (paintRaster): Removed unneeded field.
4947 (shapeCache): New static field. Caches certain shapes for reuse.
4948 (computeIntersection): Removed unneeded casts.
4949 (drawArc): Use shape cache.
4950 (drawImage): Removed unneeded statement.
4951 (drawLine): Use shape cache. Pass untranslated coordinates
4953 (drawOval): Use shape cache.
4954 (drawPolygon): Use shape cache.
4955 (drawRect): Overridden to provide accelerated rectangle drawing
4956 if possible and to use the shape cache.
4957 (drawRoundRect): Use shape cache.
4958 (fillArc): Use shape cache.
4959 (fillOval): Use shape cache.
4960 (fillPolygon): Use shape cache.
4961 (fillRect): Pass untranslated coordinates to rawFillRect().
4963 (fillRoundRect): Use shape cache.
4964 (fillScanlineAA): Removed unneeded statement.
4965 (fillScanline): Updated API docs.
4966 (fillShapeAntialias): Removed unnecessary cast.
4967 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4968 (fillShape): Updated API docs.
4969 (getShapeCache): New helper method.
4970 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4971 certain shapes for reuse in AbstractGraphics2D.
4973 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4975 * javax/management/BadBinaryOpValueExpException.java:
4976 (getExp()): Implemented.
4977 * javax/management/MBeanConnection.java:
4978 Renamed to MBeanServerConnection.
4979 * javax/management/MBeanServer.java:
4980 (setAttribute(Attribute)): Fixed...
4981 (setAttribute(ObjectName,Attribute)): to this.
4982 * javax/management/MBeanServerConnection.java:
4983 Renamed from MBeanConnection.
4984 * javax/management/QueryExp.java:
4985 Extend Serializable.
4986 * javax/management/ValueExp.java:
4988 * javax/management/loading/ClassLoaderRepository.java:
4989 (loadClass(String)): Throw ClassNotFoundException.
4990 (loadClassBefore(ClassLoader,String)): Likewise.
4991 (loadClassWithout(String, ClassLoader): Fixed...
4992 (loadClassWithout(ClassLoader,String)): to this.
4994 2006-09-28 Roman Kennke <kennke@aicas.com>
4996 * javax/swing/tree/DefaultTreeCellRenderer.java
4997 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4998 property from UIManager.
4999 (paint): Rewritten to use super's implementation and only paint
5000 background and focus indicator before.
5001 (paintFocus): New helper method.
5002 (getXOffset): New helper method.
5004 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
5006 * javax/management/BadBinaryOpValueExpException.java,
5007 * javax/management/MBeanConnection.java,
5008 * javax/management/MBeanServer.java,
5009 * javax/management/ObjectInstance.java:
5011 * javax/management/ObjectName.java:
5012 (setMBeanServer(MBeanServer)): Implemented.
5013 * javax/management/QueryExp.java,
5014 * javax/management/ValueExp.java,
5015 * javax/management/loading/ClassLoaderRepository.java:
5018 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5020 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
5022 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5024 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
5025 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
5026 * gnu/java/nio/EpollSelectorImpl.java:
5027 (doSelect): Use Integer.valueOf() instead of constructor call.
5028 (register): Use Integer.valueOf() instead of constructor call.
5030 2006-09-27 Roman Kennke <kennke@aicas.com>
5032 * java/awt/Container.java
5033 (addContainerListener): Activate newEventsOnly for the component.
5034 Ignore null listeners.
5036 2006-09-27 Roman Kennke <kennke@aicas.com>
5038 * java/awt/EventQueue.java
5039 (Queue): New inner class. Implements the actual queue.
5040 (LOW_PRIORITY): New constant field.
5041 (NORM_PRIORITY): New constant field.
5042 (queueHead): Removed. Moved into Queue.
5043 (queueTail): Removed. Moved into Queue.
5044 (queues): New field.
5045 (EventQueue): Initialize two internal queues, one for
5046 normal events, one for low priority events.
5047 (getNextEventImpl): New helper method, fetches the next event.
5048 (getNextEvent): Use getNextEventImpl() for fetching the event.
5049 (peekEvent): Use getNextEventImpl() for fetching the event.
5050 (peekEvent(int)): Search for event in all queues.
5051 (postEventImpl(AWTEvent)): Moved actual posting into
5052 postEventImpl(AWTEvent,int). Prioritize events here.
5053 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5054 event into correct queue. Re-enable event coalescing.
5055 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5056 * javax/swing/RepaintManager.java
5057 (RepaintWorkerEvent): New internal class. This is a low priority
5058 event for the repaint worker.
5059 (addDirtyRegion): Use new internal invokeLater() for sending
5060 a low priority event.
5061 (addInvalidComponent): Use new internal invokeLater() for sending
5062 a low priority event.
5063 (commitBuffer): Added some null checks.
5064 (invokeLater): New helper method. Sends a low priority
5065 repaint worker event on the event queue.
5067 2006-09-27 Roman Kennke <kennke@aicas.com>
5071 * javax/swing/plaf/basic/BasicButtonUI.java
5072 (cachedInsets): New field.
5073 (installListeners): Fire synthetic property change to initialize
5074 TEXT_LAYOUT_CACHE for the button because the font has been
5076 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5077 (paint): Use cached insets.
5078 (paintText): Let new method forward to old one, not vice versa.
5079 * javax/swing/plaf/basic/BasicMenuItemUI.java
5080 (defaultAcceleratorLabelGap): Removed unused field.
5081 (MenuGap): Removed unused field.
5082 (propertyChangeListener): Made private.
5083 (getAcceleratorRect): Removed unused method.
5084 (getAcceleratorText): Removed unused method.
5085 (getPath): Removed unnecessary cast.
5086 (installListeners): Fire synthetic property change to initialize
5087 TEXT_LAYOUT_CACHE for the button because the font has been
5089 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5090 (layoutMenuItem): Removed unused statements.
5092 2006-09-27 Roman Kennke <kennke@aicas.com>
5095 * javax/swing/tree/DefaultTreeModel.java
5096 (isLeaf): Check if the node allows children when
5097 asksAllowsChildren is true, otherwise fall back
5098 to return the node's leaf property.
5100 2006-09-27 Mario Torre <neugens@limasoftware.net>
5102 * scripts/check_jni_methods.sh: removed methods from the
5104 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5105 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5106 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5107 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5108 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5109 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5110 to better follow the GNU style.
5111 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5112 regenerated header file for GConfNativePeer.
5114 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5116 * INSTALL: Added information about grmic being built when ASM
5117 is available, added information about gconf dependency, indented
5118 Qt4 dependency section.
5119 * configure.ac: Added information about grmic being built when ASM
5122 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5124 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5125 DeleteGlobalRef on a local ref.
5127 2006-09-24 Mario Torre <neugens@limasoftware.net>
5129 * scripts/check_jni_methods.sh: added two new methods in the
5131 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5133 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5134 * native/jni/gconf-peer/GConfNativePeer.c:
5135 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5136 refacored method name, renamed from
5137 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5138 Added code to unescape escaped GConf key names.
5139 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5140 refacored method name, renamed from
5141 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5142 Added code to unescape escaped GConf key names.
5143 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5145 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5147 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5148 version javadoc tag.
5149 (escapeString): new method.
5150 (unescapeString): likewise.
5151 (gconf_escape_key): new native method.
5152 (gconf_unescape_key): likewise.
5153 (gconf_client_suggest_sync): update native method signature, now
5154 explicity throws BackingStoreException.
5155 (gconf_client_all_nodes): update native method signature, now
5156 explicity throws BackingStoreException. Refactored method name,
5157 renamed from gconf_client_gconf_client_all_nodes.
5158 (gconf_client_all_keys): update native method signature, now
5159 explicity throws BackingStoreException. Refactored method name,
5160 renamed from gconf_client_gconf_client_all_keys.
5161 (getKeys): refactored to use the new method name
5162 gconf_client_all_keys.
5163 (getChildrenNodes): refactored to use the new method name
5164 gconf_client_all_nodes.
5165 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5166 version javadoc tag.
5167 (GConfBasedPreferences): Added code to escape node names from
5168 invalid characters so that GConf now accept invalid node names.
5169 (GConfBasedPreferences): Moved code to register the current
5170 node to the list of nodes watched by GConf outside the constructor.
5171 (childSpi): Added code to register the current node to the
5172 list of nodes watched by GConf.
5173 (getGConfKey): Added code to escape key names from
5174 invalid characters so that GConf now accept invalid key names.
5176 2006-09-26 Tom Tromey <tromey@redhat.com>
5178 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5179 call mkdirs in output-directory case.
5180 (getPrintStream): Create output directory.
5181 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5184 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5186 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5187 Accept three additional arguments.
5188 (writePreambleImpl): New method.
5189 (getPrintStreamImpl): Likewise.
5190 (printClass): Adapted to use new methods in Printer superclass.
5191 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5192 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5193 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5194 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5196 (getParser): Add support for -o option.
5197 Check that only one of -d or -o is defined.
5198 Add support for -jni option.
5199 Add support for -force option.
5200 (makeOutputFile): New method.
5201 (writeHeaders): Removed File argument from signature.
5202 (run): Take into account newly added fields.
5203 Invoke concrete PrintStream implementations with augmented constructors.
5204 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5205 (isDirectory): Likewise.
5207 (wrotePreamble): Likewise.
5208 (Printer): Changed ctor to accept three additional arguments.
5209 (printClass): Changed signature to accept one ClassWrapper argument.
5210 (writePreambleImpl): New abstract method.
5211 (getPrintStreamImpl): Likewise.
5212 (getPrintStream): New method.
5213 (writePreamble): Likewise.
5215 2006-09-26 Tania Bento <tbento@redhat.com>
5217 * java/awt/GridLayout.java
5218 (toString): There is no common before hgap.
5219 * java/awt/Rectangle.java
5220 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5221 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5223 (Rectangle(Point)): Throw NPE if Point is null.
5224 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5226 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5228 * javax/swing/plaf/metal/MetalIconFactory.java
5229 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5230 returned by getShift(),
5231 (FileIcon16.getShift): Updated API docs,
5232 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5233 returned by getShift(),
5234 (FolderIcon16.getShift): Updated API docs,
5235 (TreeFolderIcon.getShift): Likewise,
5236 (TreeLeafIcon.getShift): Likewise.
5238 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5240 * javax/swing/plaf/metal/MetalIconFactory.java
5241 (FileIcon16.paintIcon): Fetch colors from look and feel,
5242 (FolderIcon16.paintIcon): Likewise.
5244 2006-09-25 Casey Marshall <csm@gnu.org>
5246 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5248 (write): revert back to using `writeGathering.'
5249 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5250 the first buffer that has data remaining, and start at that one.
5252 2006-09-25 Tom Tromey <tromey@redhat.com>
5254 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5257 2006-09-25 Tom Tromey <tromey@redhat.com>
5259 * tools/.cvsignore: Updated.
5261 2006-09-25 Tom Tromey <tromey@redhat.com>
5264 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5265 (Encoder.canEncode): Likewise.
5266 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5267 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5269 (Encoder.canEncode): Likewise.
5270 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5272 (Encoder.canEncode): Likewise.
5274 2006-09-25 Tom Tromey <tromey@redhat.com>
5276 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5279 2006-09-25 Francis Kung <fkung@redhat.com>
5281 * java/awt/image/ColorModel.java
5282 (coerceData): Made abstract.
5283 (coerceDataWorker): New protected method.
5284 * java/awt/image/ComponentColorModel.java
5285 (coerceData): Return new instance of proper ColorModel.
5286 * java/awt/image/DirectColorModel.java
5287 (coerceData): Return new instance of proper ColorModel.
5288 * java/awt/image/IndexColorModel.java
5289 (coerceData): New method.
5291 2006-09-24 Casey Marshall <csm@gnu.org>
5293 * gnu/java/nio/FileChannelImpl.java
5294 (read): call `read' in a loop, don't use `readScattering.'
5295 (write): call `write' in a loop, don't use `writeGathering.'
5297 2006-09-24 Mark Wielaard <mark@klomp.org>
5299 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5301 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5303 * java/nio/channels/spi/AbstractSelectableChannel.java
5304 (register): Set interestOps and attachment when the key already
5307 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5309 * java/net/ServerSocket.java
5310 (bind(SocketAddress,int)): Added support for null address.
5311 Throw proper exception if already bound.
5312 Handle unresolved addresses correctly. Ignore exceptions that
5313 happen during close in error path (to prevent losing the original
5316 2006-09-24 Mark Wielaard <mark@klomp.org>
5318 Suggested by Aaron M. Ucko <ucko@debian.org>
5320 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5322 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5324 * java/nio/channels/spi/AbstractSelectableChannel.java
5325 (implCloseChannel): Cancel all keys after closing the channel.
5327 2006-09-22 Casey Marshall <csm@gnu.org>
5329 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5330 after we delete them.
5331 (selectedKeys): return an empty set if nothing's been selected.
5332 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5333 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5334 throw an exception on EBADF.
5335 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5336 throw exception on EINTR, just return 0.
5338 2006-09-22 Casey Marshall <csm@gnu.org>
5340 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5341 remove `const' from `filename.'
5342 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5344 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5346 2006-09-22 Casey Marshall <csm@gnu.org>
5348 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5349 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5350 allocate `filename,' and handle changes to `cpio_readDir.'
5351 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5352 available; copy the filename into the destination buffer; return
5353 an error code if readdir returns NULL, but errno is 0.
5354 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5355 parameter to `const char *.'
5357 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5359 * javax/management/ObjectName.java:
5362 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5364 * resource/gnu/classpath/tools/orbd: New directory.
5365 * resource/gnu/classpath/tools/rmic: Likewise.
5366 * resource/gnu/classpath/tools/rmid: Likewise.
5367 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5368 * resource/gnu/classpath/tools/tnameserv: Likewise.
5369 * tools/gnu/classpath/tools/giop: Move contents to...
5370 * tools/gnu/classpath/tools/orbd,
5371 tools/gnu/classpath/tools/tnameserv: New directories.
5372 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5373 * tools/gnu/classpath/tools/rmic: New directory.
5374 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5375 * tools/gnu/classpath/tools/rmid: New directory.
5376 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5377 * tools/gnu/classpath/tools/rmiregistry: New directory.
5378 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5379 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5380 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5381 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5383 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5385 * tools/gnu/classpath/tools/orbd/Main.java,
5386 tools/gnu/classpath/tools/orbd/Messages.java,
5387 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5388 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5389 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5390 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5391 tools/gnu/classpath/tools/rmic/CompilationError.java,
5392 tools/gnu/classpath/tools/rmic/Generator.java,
5393 tools/gnu/classpath/tools/rmic/GiopIo.java,
5394 tools/gnu/classpath/tools/rmic/HashFinder.java,
5395 tools/gnu/classpath/tools/rmic/Main.java,
5396 tools/gnu/classpath/tools/rmic/Messages.java,
5397 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5398 tools/gnu/classpath/tools/rmic/RMICException.java,
5399 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5400 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5401 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5402 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5403 tools/gnu/classpath/tools/rmic/Variables.java,
5404 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5405 tools/gnu/classpath/tools/rmic/templates,
5406 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5407 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5408 tools/gnu/classpath/tools/rmid/Main.java,
5409 tools/gnu/classpath/tools/rmid/Messages.java,
5410 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5411 tools/gnu/classpath/tools/rmiregistry/Main.java,
5412 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5413 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5414 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5415 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5416 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5417 tools/gnu/classpath/tools/tnameserv/Main.java,
5418 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5419 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5420 RMIC.java from cp-tools.
5421 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5422 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5423 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5425 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5426 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5428 (start): New method.
5429 * tools/Makefile.am: Add build support for new tool wrappers.
5430 * tools/gorbd.in: New file.
5431 * tools/grmic.in: Likewise.
5432 * tools/grmid.in: Likewise.
5433 * tools/grmiregistry.in: Likewise.
5434 * tools/gtnameserv.in: Likewise.
5435 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5436 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5438 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5439 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5440 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5442 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5445 * gnu/java/util/regex/RETokenRepeated.java
5446 (findMatch): Rewriten without using recursive calls,
5447 (FindMatchControlStack): New class,
5448 (FindMatchControl): New class,
5449 (TryAnotherResult): New class,
5450 (tryAnother): New method.
5452 2006-09-22 Gary Benson <gbenson@redhat.com>
5454 * java/net/SocketPermission.java
5455 (processHostport): Cope with IPv6 addresses with a
5456 one-digit first component.
5458 2006-09-22 Roman Kennke <kennke@aicas.com>
5460 * java/awt/Component.java
5461 (enableEvents): Set newEventsOnly flag.
5462 * java/awt/Container.java
5463 (dispatchEventImpl): Consume event if lightweight dispatcher
5464 dispatched the event. Don't call processEvent() here, this
5465 is already done in Component.dispatchEventImpl(). For
5466 heavyweights or when the lightweight dispatcher could
5467 not dispatch, fall back to calling super.
5468 (dispatchNoLightweight): New helper method to avoid
5469 recursivly calling the lightweight dispatcher.
5470 * java/awt/LightweightDispatcher.java
5471 (dragButton): Removed field.
5472 (dragTarget): Removed field.
5473 (mouseEventTarget): New field.
5474 (convertPointToChild): Removed method.
5475 (dispatchEvent): Don't depend on component beeing
5477 (findTarget): Improved algorithm for finding a target.
5478 Before we went down to the deepest component and went
5479 up again to find a suitable target. Now we go
5480 down only once, without going up.
5481 (handleMouseEvent): Broke method down into some smaller
5483 (isDragging): New helper method.
5484 (isMouseListening): New helper method.
5485 (redispatch): New helper method.
5486 (trackEnterExit): New helper method.
5488 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5490 * javax/swing/SizeSequence.java
5491 (getSize): Return 0 if index is out of bounds.
5493 2006-09-21 Tom Tromey <tromey@redhat.com>
5495 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5496 (PathOptionGroup): Make -I a joined option.
5497 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5498 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5499 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5500 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5501 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5502 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5503 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5504 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5505 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5506 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5507 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5508 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5509 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5510 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5511 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5512 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5513 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5514 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5515 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5516 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5517 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5519 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5520 * tools/gnu/classpath/tools/common/Messages.java: New file.
5521 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5522 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5524 (ClasspathToolParser): Add -J option here.
5525 (ClasspathToolParser): Call other constructor in this class.
5526 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5527 Handle joined options.
5528 (handleShortOptions): Likewise.
5529 (handleShortOption): Removed.
5530 (finalGroup): New field.
5531 (Parser): Initialize new field. Don't add -J option.
5532 (addFinal): New method.
5533 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5535 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5536 (Option): Check short option for validity.
5537 (Option): New constructors.
5538 (joined): New field.
5540 2006-09-21 csm <csm@pollux.local>
5542 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5543 `InterruptedIOException;' try again if it gets thrown.
5544 (receive): likewise, but re-throw `SocketTimeoutException.'
5545 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5546 if we have nothing to select.
5548 2006-09-21 Francis Kung <fkung@redhat.com>
5550 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5551 (getLogicalBounds): Respect glyph transformations.
5552 (getGlyphOutline): Added null pointer check.
5553 (getGlyphTransform): Do not generate identity transform (API permits null).
5554 (setGlyphPosition): Do not invalidate transform.
5555 (setGlyphTransform): Do not modify glyph position.
5557 2006-09-21 Francis Kung <fkung@redhat.com>
5559 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5561 2006-09-21 Francis Kung <fkung@redhat.com>
5563 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5564 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5565 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5567 2006-09-21 Tania Bento <tbento@redhat.com>
5569 * javax/swing/JTabbedPane.java:
5570 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5571 (setModel): A ChangeListener should be created only if there does not
5572 currently exist one.
5574 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5576 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5577 (MaximizeAction.actionPerformed): Change icon on maxButton.
5579 2006-09-21 Roman Kennke <kennke@aicas.com>
5581 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5582 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5583 Use more efficient getViewPosition() and getViewSize() methods
5584 to avoid creating a rectangle.
5585 (HSBChangeListener.stateChanged): Update the view position
5586 unconditionally. Let the Viewport figure out if something
5588 (VSBChangeListener.stateChanged): Update the view position
5589 unconditionally. Let the Viewport figure out if something
5591 * javax/swing/JViewport.java
5592 (ViewListener.componentResized): Fire state change, because
5593 the extentSize changes.
5594 (extentSize): Removed unneeded field.
5595 (viewSize): Removed unneeded field.
5596 (getExtentSize): Return the viewport's size here.
5597 (getViewRect): Reformatted.
5598 (getViewSize): Reordered for only one return statement.
5599 (paintImmediately2): Fixed up javadoc.
5600 (paint): Removed unneeded statement.
5601 (setExtentSize): Set viewport size and check for actual change
5603 (setViewPosition): Simplified condition. Set scrollUnderway
5604 true and don't set isViewSizeSet. Avoid creating one Point
5606 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5608 * javax/swing/JScrollBar.java
5609 (ScrollBarListener): New class. Forwards change events from
5610 the model as adjustment events.
5611 (sbChangeListener): New field.
5612 (JScrollBar): Install listener on new model.
5613 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5615 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5616 method to allow custom isAdjusting value.
5617 (setMaximum): Only forward to model.
5618 (setMinimum): Only forward to model.
5619 (setValue): Only forward to model.
5620 (setVisibleAmount): Only forward to model.
5621 (setValues): Only forward to model.
5622 (setModel): Update the change listener.
5624 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5626 * java/util/Formatter.java (basicIntegralConversion): Removed
5627 check for ZERO && !LEFT_JUSTIFY.
5629 2006-09-20 Roman Kennke <kennke@aicas.com>
5632 * javax/swing/plaf/metal/DefaultMetalTheme.java
5633 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5634 (BOLD_CONTROL_TEXT_FONT): New constant field.
5635 (PLAIN_MENU_TEXT_FONT): New constant field.
5636 (BOLD_MENU_TEXT_FONT): New constant field.
5637 (controlTextFont): Removed.
5638 (menuTextFont): Removed.
5639 (CONTROL_TEXT_FONT): New constant field.
5640 (MENU_TEXT_FONT): New constant field.
5641 (getControlTextFont): Use getFont() helper method for fetching
5643 (getMenuTextFont): Use getFont() helper method for fetching
5645 (getFont): New helper method.
5646 (isBoldMetal): New helper method.
5648 2006-09-20 Casey Marshall <csm@gnu.org>
5650 * NEWS: mention epoll selector along with the kqueue one.
5652 2006-09-20 Casey Marshall <csm@gnu.org>
5654 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5655 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5657 2006-09-20 Francis Kung <fkung@redhat.com>
5660 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5661 (getGlyphTransform): Use translation instead of scale.
5662 (performDefaultLayout): Increment position values instead of resetting, and
5663 pre-increment instead of post-increment.
5664 (setGlyphTransform): Handle null case with identity transform.
5666 2006-09-20 Casey Marshall <csm@gnu.org>
5668 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5669 (AC_CHECK_FUNCS): check for `epoll_create.'
5670 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5671 * gnu/java/nio/EpollSelectorImpl.java: new file.
5672 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5674 (openSelector): return epoll selector if requested and available.
5675 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5676 (gnu_java_nio_EpollSelectorImpl.h): new target.
5677 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5678 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5679 gnu_java_nio_EpollSelectorImpl.c.
5680 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5682 2006-09-20 Casey Marshall <csm@gnu.org>
5684 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5686 (isConnected): return false if `connectionPending' is true.
5688 2006-09-20 Francis Kung <fkung@redhat.com>
5691 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5692 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5693 (getGlyphOutline): Call getGylphTransform to generate transform.
5694 (getGylphPosition): Read position directly out of array.
5695 (getGlyphPositions): Read positions directly out of array.
5696 (getGlyphTransform): Generate transform based on gylphPositions array.
5697 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5698 (setGlyphPosition): Set position directly into array.
5699 (setGlyphTransform): Update positions array as well.
5701 2006-09-20 David Daney <ddaney@avtrex.com>
5704 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5705 default content-type for POST method.
5707 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5709 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5710 (BasicRadioButtonUI): Don't fetch icon here,
5711 (installDefaults): Initialise icon here,
5712 (getDefaultIcon): Just return icon.
5714 2006-09-20 Mark Wielaard <mark@klomp.org>
5716 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5717 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5718 (EXTRA_DIST): Include javanio.c.
5720 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5722 * java/awt/geom/RoundRectangle2D.java:
5723 (getPathIterator): Reimplemented,
5724 and updated various API doc comments.
5726 2006-09-20 Roman Kennke <kennke@aicas.com>
5728 * java/awt/Container.java
5729 (addImpl): Set the new component's parent after it has been
5730 added to the array. Call addNotify() and invalidate()
5731 after the component has been added, so that the peer
5732 gets to know about the component structure when it is created.
5733 * java/awt/Window.java
5734 (dispatchEventImpl): Only revalidate when window is resized,
5735 let the other stuff be processed by the superclass.
5736 (dispose): Post WINDOW_CLOSED event only when some listener
5737 is registered or event is explicitly enabled.
5738 (show): Post WINDOW_OPENED event when appropriate.
5740 2006-09-20 Roman Kennke <kennke@aicas.com>
5742 * java/awt/Component.java
5743 (addNotify): Invalidate here. Fetch peer font.
5744 (getFont): Delegate to helper method, to protect from
5745 overriding client code. Lock the tree while fetching the font.
5746 (getFontImpl): New helper method. Moved code from getFont() in
5748 (removeNotify): Nullify peerFont too.
5749 (setFont): Synchronize on tree and component to avoid threading
5750 issues. Update the peerFont correctly.
5751 (validate): Update the peer font if necessary, before validating.
5752 (getGraphics): Revert to recursive graphics fetching.
5753 Set component font on the Graphics object.
5754 (translateEvent): Removed unnecessary cast.
5755 * java/awt/Container.java
5756 (invalidateTree): Made final and private. Made implementation
5757 slightly more efficient.
5758 (setFont): Get old and new font via getFont() to account for
5759 the real font, and only invalidate the tree when they are not
5760 the same and not equal.
5761 (visitChild): Set the font of the child on the component graphics.
5762 * java/awt/Frame.java
5763 (setMenuBar): Create local reference of peer for thread safety.
5764 Only call simple invalidate, not invalidateTree().
5766 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5769 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5770 (constructor): Copy image field.
5772 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5774 * javax/swing/JMenuBar.java
5775 (getHelpMenu): Implemented to throw an Error, and added API docs,
5776 (getMargin): Added API docs,
5777 (setMargin): Likewise.
5779 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5781 * javax/swing/AbstractButton.java
5782 (AbstractButton): Don't call updateUI(),
5783 * javax/swing/JButton.java
5784 (JButton(String, Icon)): Call setModel() before init(),
5785 * javax/swing/JMenuItem.java
5786 (JMenuItem()): Delegate to another constructor,
5787 (JMenuItem(Icon)): Likewise,
5788 (JMenuItem(Action)): Set model,
5789 (JMenuItem(String, Icon)): Likewise,
5790 * javax/swing/JToggleButton.java
5791 (init): Call setModel() before init().
5793 2006-09-19 Mark Wielaard <mark@klomp.org>
5796 * java/util/logging/LogManager.java (addLogger): Always check for
5797 existing children of a new Logger.
5799 2006-09-19 Roman Kennke <kennke@aicas.com>
5801 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5802 (HSBChangeListener.stateChanged): Moved handling of header to
5803 syncScrollPaneWithViewport().
5804 (VSBChangeListener.stateChanged): Moved handling of header to
5805 syncScrollPaneWithViewport().
5806 (ViewportChangedHandler.stateChanged): Removed unused statements.
5807 (syncScrollPaneWithViewport): Added null checks. Use setValues
5808 rather then the single setter methods to avoid multiple
5809 adjustments and side effects. Also snyc the headers here.
5810 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5811 (uninstallUI): Removed unnecessary cast and this qualifier as well
5812 as the call to super.
5814 2006-09-19 Gary Benson <gbenson@redhat.com>
5816 * java/net/ResolverCache.java: New class (a DNS cache).
5817 * java/net/InetAddress.java
5818 (internalGetCanonicalHostName, getAllByName): Use the above.
5820 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5822 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5823 * java/net/ServerSocket.java
5825 (bind): Set port field.
5826 (close): Set impl to null.
5827 (isClosed): Check impl and channel instead of using VMChannel.
5828 (toString): Use port field and getLocalPort() method.
5829 * java/net/Socket.java
5830 (isClosed): Check impl and channel instead of using VMChannel.
5832 2006-09-18 Tom Tromey <tromey@redhat.com>
5834 * java/util/concurrent/CopyOnWriteArrayList.java
5835 (CopyOnWriteArrayList): New constructor.
5837 2006-09-18 Casey Marshall <csm@gnu.org>
5839 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5840 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5842 2006-09-18 Tom Tromey <tromey@redhat.com>
5844 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5845 isConnected): Removed old comment.
5846 (getRemoteSocketAddress): Uncommented.
5847 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5848 setTrafficClass, getTrafficClass, setReuseAddress,
5849 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5850 isOutputShutdown): Uncommented.
5852 2006-09-18 David Pirkle <dpirkle@symyx.com>
5855 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5856 input stream during resolution.
5858 2006-09-18 Roman Kennke <kennke@aicas.com>
5860 * java/awt/LightweightDispatcher.java
5861 (findTarget): Correctly translate child coordinates.
5862 Use Component.eventTypeEnabled() for checking if a component
5863 has a certain event enabled.
5864 (handleMouseEvent): Find the correct mouse event target.
5865 Use Component.eventTypeEnabled() for checking if a component
5866 has a certain event enabled.
5868 2006-09-18 Roman Kennke <kennke@aicas.com>
5870 * java/awt/Component.java
5871 (show): Test for the peer beeing lightweight directly.
5872 (paintAll): Validate before painting. Don't paint when not
5873 showing. Call peer.paint() when the component is heavyweight.
5874 (repaint): Delegate to the parent when lightweight, rather
5875 than skipping to the nearest heavyweight.
5876 (createImage): Added null check to prevent NPE.
5877 (dispatchEvent): Moved old event dispatching and toolkit
5878 event dispatching to dispatchEventImpl.
5879 (addComponentListener): Don't enable event. Only add listener
5880 when not null. Switch to new event dispatching only.
5881 (addFocusListener): Likewise.
5882 (addHierarchyListener): Likewise.
5883 (addHierarchyBoundsListener): Likewise.
5884 (addKeyListener): Likewise.
5885 (addMouseListener): Likewise.
5886 (addMouseMotionListener): Likewise.
5887 (addMouseWheelListener): Likewise.
5888 (addInputMethodListener): Likewise.
5889 (coalesceEvents): For mouse events coalesce them only when
5890 their modifiers are equal. For paint events coalesce the events
5891 when one contains the other, without going through complicated
5893 (dispatchEventImpl): Moved old event dispatching and toolkit
5894 event dispatching to dispatchEventImpl.
5895 (coalescePaintEvents): Removed.
5896 (HeavyweightInLightweightListener.componentHidden):
5898 * java/awt/Container.java
5899 (addImpl): Don't enable events on lightweights.
5900 (remove): Reordered operations. Don't remove any listeners.
5901 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5902 Only removeNotify() when peer is != null. Only invalidate if
5903 not already invalid. Only fire ContainerEvent if there is
5904 an interested listener or the event is enabled. Dispatch this
5905 event directly without the event queue.
5906 (removeAll): Likewise.
5907 (paintComponents): Only paint when showing. Also paint heavyweights.
5908 Don't paint the container itself.
5909 (removeNotify): Create local variables for improved thread safety.
5910 (addNotifyContainerChildren): Don't enable events for lightweights.
5912 2006-09-18 Roman Kennke <kennke@aicas.com>
5914 * java/awt/EventQueue.java
5915 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5916 (next_in): Removed obsolete field.
5917 (next_out): Removed obsolete field.
5918 (queueHead): New field. Markes the head of the queue.
5919 (queueTail): New field. Markes the tail of the queue.
5920 (queue): Removed obsolete field.
5921 (EventQueue): Documented empty block.
5922 (getNextEvent): Changed array based implementation to single-linked
5923 list based implementation.
5924 (invokeAndWait): Use an Object as synchronization object rather
5925 than the current thread.
5926 (peekEvent(int)): Changed array based implementation to single-linked
5927 list based implementation.
5928 (peekEvent()): Changed array based implementation to single-linked
5929 list based implementation.
5930 (pop()): Changed array based implementation to single-linked
5931 list based implementation.
5932 (postEvent): Foward to postEventImpl.
5933 (postEventImpl): Changed array based implementation to single-linked
5934 list based implementation.
5935 (push): Changed array based implementation to single-linked
5936 list based implementation.
5937 * java/awt/AWTEvent.java
5938 (queueNext): New field. Implements a single-linked list for
5941 2006-09-17 Mark Wielaard <mark@klomp.org>
5943 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5944 resource from HTMLEditorKit.class.
5946 2006-09-17 Mark Wielaard <mark@klomp.org>
5948 * javax/swing/plaf/basic/BasicToolBarUI.java
5949 (setBorderToNonRollover): Check whether border is null.
5950 (setBorderToRollover): Likewise.
5952 2006-09-17 Mark Wielaard <mark@klomp.org>
5954 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5956 2006-09-17 Mark Wielaard <mark@klomp.org>
5958 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5959 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5960 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5961 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5962 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5964 2006-09-17 Casey Marshall <csm@gnu.org>
5966 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5969 2006-09-17 Chris Burdess <dog@gnu.org>
5971 Fixes PR 27610 27687.
5972 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5973 * gnu/xml/transform/SAXTemplatesHandler.java,
5974 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5975 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5976 SAXTransformerFactory.
5978 2006-09-16 Casey Marshall <csm@gnu.org>
5981 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5982 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5984 (HAVE_INET6): define if IPv6 is supported.
5985 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5986 (native_fd): removed.
5988 (<init>): throw IOException; initialize fields.
5989 (finalize): removed.
5990 (getNativeFD): removed.
5991 (bind): use `PlainSocketImpl.bind.'
5992 (create): use `PlainSocketImpl.initSocket.'
5993 (disconnect): use `PlainSocketImpl.disconnect.'
5994 (getLocalPort): new method.
5995 (send): use `VMChannel.send.'
5996 (receive): use `VMChannel.receive.'
5997 (setOption): use `PlainSocketImpl.setOption.'
5998 (getOption): use `PlainSocketImpl.getOption.'
5999 (close): use `VMChannel.State.close.'
6000 (join): use `PlainSocketImpl.join.'
6001 (leave): use `PlainSocketImpl.leave.'
6002 (joinGroup, leaveGroup): implemented.
6003 * gnu/java/net/PlainSocketImpl.java: make non-final.
6004 (native_fd): removed.
6006 (channel): new field.
6007 (<init>): initialize `impl.'
6008 (finalize, getNativeFD): removed.
6009 (setOption): use `PlainSocketImpl.setOption.'
6010 (getOption): use `PlainSocketImpl.getOption.'
6011 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
6012 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
6013 (create): create `channel,' initialize `impl's native state.
6014 (connect): use `connect(SocketAddress, int).'
6015 (connect): use `SocketChannelImpl.connect;' initialize `address'
6017 (bind): use `VMPlainSocketImpl.bind.'
6018 (listen): use `VMPlainSocketImpl.listen.'
6019 (accept): use `SocketChannelImpl.accept.'
6020 (available): use `VMChannel.available.'
6021 (close): use `PlainSocketImpl.close.'
6022 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
6023 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
6024 getPort): new methods.
6025 (SocketInputStream.read): use `VMChannel.read.'
6026 (SocketInputStream.read): use `SocketChannel.read.'
6027 (SocketOutputStream.write): use `VMChannel.write.'
6028 (SocketOutputStream.write): use `SocketChannel.write.'
6029 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6030 (channel): new field.
6031 (<init>): initialize `channel.'
6032 (implCloseSelectableChannel): use `VMChannel.close.'
6033 (implConfigureBlocking): use `VMChannel.setBlocking.'
6034 (connect): use `VMChannel.connect.'
6035 (disconnect): use `VMChannel.disconnect.'
6036 (isConnected): use `VMChannel.getPeerAddress.'
6037 (write): use `VMChannel.write.'
6038 (write): use `VMChannel.writeGathering.'
6039 (read): use `VMChannel.read.'
6040 (read): use `VMChannel.readScattering.'
6041 (receive): use `VMChannel.receive.'
6042 (send): use `VMChannel.send.'
6043 (getVMChannel): new method.
6044 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6045 access native FD through VMChannel.State.
6046 * gnu/java/nio/FileChannelImpl.java: moved from
6047 gnu/java/nio/channels/FileChannelImpl.java.
6048 * gnu/java/nio/FileLockImpl.java: fix imports.
6049 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6050 * gnu/java/nio/KqueueSelectorImpl.java: new file.
6051 * gnu/java/nio/NIOSocket.java (impl): removed.
6052 (channel): new field.
6053 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6054 (getPlainSocketImpl, setChannel): removed.
6055 (isConnected): new method.
6056 * gnu/java/nio/NIOSocketImpl.java: new file.
6057 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6059 (SourceChannelImpl.native_fd): removed.
6060 (SourceChannelImpl.<init>): init with a `VMChannel.'
6061 (SourceChannelImpl.getNativeFD): removed.
6062 (SourceChannelImpl.getVMChannel): new method.
6063 (SourceChannelImpl.implCloseSelectableChannel): implement.
6064 (SinkChannelImpl): implement `VMChannelOwner.'
6065 (SinkChannelImpl.native_fd): removed.
6066 (SinkChannelImpl.<init>): init with a `VMChannel.'
6067 (SinkChannelImpl.implCloseSelectableChannel): implement.
6068 (SinkChannelImpl.getNativeFD): removed.
6069 (SinkChannelImpl.getVMChannel): new method.
6070 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6072 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6073 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6074 (openSelector): return kqueue selector if available.
6075 * gnu/java/nio/ServerSocketChannelImpl.java: implement
6077 (channel): new field.
6078 (<init>): init `channel.'
6079 (finalizer): check if the `VMChannel.State' is valid.
6080 (implCloseSelectableChannel): use `VMChannel.close.'
6081 (implConfigureBlocking): use `VMChannel.setBlocking.'
6082 (accept): use `VMChannel.accept.'
6083 (getVMChannel): new method.
6084 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6085 access native FD through `VMChannel.State.'
6086 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6088 (channel, connected, connectAddress): new field.
6089 (<init>): new constructors.
6090 (getPlainSocketImpl): removed.
6091 (implCloseSelectableChannel): use `VMChannel.close.'
6092 (implConfigureBlocking): use `VMChannel.setBlocking.'
6093 (connect): use `connect(SocketAddress,int).'
6094 (connect): use `VMChannel.connect.'
6095 (finishConnect): don't use a selector.
6096 (isConnected): use `VMChannel.getPeerAddress.'
6097 (read): use `VMChannel.read.'
6098 (read): use `VMChannel.readScattering.'
6099 (write): use `VMChannel.write.'
6100 (write): use `VMChannel.writeGathering.'
6101 (getVMChannel): new method.
6102 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6103 native FD from `VMChannel.State.'
6104 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6105 get native FD from `VMChannel.State.'
6106 * gnu/java/nio/VMChannelOwner.java: new file.
6107 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6108 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6109 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6110 `gnu_java_nio_channels_FileChannelImpl.h.'
6111 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6112 * include/gnu_java_nio_FileChannelImpl.h: new file.
6113 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6114 * include/gnu_java_nio_VMChannel.h: regenerated.
6115 * include/gnu_java_nio_VMPipe.h: regenerated.
6116 * include/java_net_VMNetworkInterface.h: regenerated.
6117 * java/io/FileDescriptor.java: fix imports.
6118 * java/io/FileInputStream.java (<init>): handle exceptions.
6119 (read): wrap the destination arary.
6120 * java/io/FileOutputStream.java (<init>): handle exceptions.
6121 (write): wrap the source array.
6122 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6123 * java/net/DatagramSocket.java (<init>): handle exceptions.
6124 (receive): handle length/port setting.
6125 (connect): bind to any address/port if the argument is null.
6126 * java/net/NetworkInterface.java (name, inetAddress): removed.
6128 (<init>): make private.
6129 (getName): return `netif.name.'
6130 (getInetAddresses): access `netif.addresses.'
6131 (getDisplayName): return `netif.name.'
6132 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6133 (condense): removed.
6134 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6135 (equals): compare `netif' fields.
6136 (hashCode): get hash codes from `netif.'
6137 (toString): use a StringBuffer.
6138 * java/net/ServerSocket.java (close): don't set `impl' to null.
6139 (isClosed): use `VMChannel.State.isClosed.'
6140 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6141 the `SocketImpl' is a `PlainSocketImpl.'
6142 (close): just close the `impl.'
6143 (toString): use `super.toString' in the value we return.
6144 (isConnected): just access `impl,' not `getImpl.'
6145 (isBound): use `PlainSocketImpl' methods if we can.
6146 (isClosed): look at `VMChannel.State.'
6147 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6148 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6149 an exception if they were not.
6150 (JCL_GetRawData): throw an exception if cached fields weren't
6152 * native/jni/java-lang/java_lang_VMProcess.c: handle
6153 FileChannelImpl move.
6154 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6155 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6156 THROW_NO_NETWORK): new macros.
6157 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6158 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6159 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6160 (java_sockopt): new enum.
6161 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6162 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6163 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6165 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6167 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6169 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6170 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6171 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6172 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6173 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6174 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6175 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6176 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6177 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6178 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6179 (getif_address): new function.
6180 (getif_index): new function.
6181 * native/jni/java-net/java_net_VMNetworkInterface.c
6182 (java_net_VMNetworkInterface_init,
6183 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6184 (Java_java_net_VMNetworkInterface_initIds): new function.
6185 (struct netif_entry): new struct.
6186 (free_netif_list): new function.
6187 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6188 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6189 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6190 gnu_java_nio_channels_FileChannelImpl.c, add
6191 gnu_java_nio_KqueueSelectorImpl.c.
6192 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6193 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6194 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6195 ALIGN_DOWN): new macros.
6196 (JCL_init_buffer): get the address through GetDirectBufferAddress
6198 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6199 Java_gnu_java_nio_VMChannel_stdout_1fd,
6200 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6201 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6203 (Java_gnu_java_nio_VMChannel_read): renamed...
6204 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6205 this; handle interrupted IO; add HAVE_READ check.
6206 (Java_gnu_java_nio_VMChannel_write): renamed...
6207 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6208 this; handle zero-length write; add HAVE_WRITE check.
6209 (Java_gnu_java_nio_VMChannel_receive): new function.
6210 (Java_gnu_java_nio_VMChannel_send): new function.
6211 (Java_gnu_java_nio_VMChannel_send6): new function.
6212 (Java_gnu_java_nio_VMChannel_read__I): new function.
6213 (Java_gnu_java_nio_VMChannel_write__II): new function.
6214 (Java_gnu_java_nio_VMChannel_socket): new function.
6215 (Java_gnu_java_nio_VMChannel_connect): new function.
6216 (Java_gnu_java_nio_VMChannel_connect6): new function.
6217 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6218 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6219 (Java_gnu_java_nio_VMChannel_accept): new function.
6220 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6221 (Java_gnu_java_nio_VMChannel_close): new function.
6222 (Java_gnu_java_nio_VMChannel_available): new function.
6223 (FileChannel_mode): new enum.
6224 (Java_gnu_java_nio_VMChannel_open): new function.
6225 (Java_gnu_java_nio_VMChannel_position): new function.
6226 (Java_gnu_java_nio_VMChannel_seek): new function.
6227 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6228 (Java_gnu_java_nio_VMChannel_lock): new function.
6229 (Java_gnu_java_nio_VMChannel_unlock): new function.
6230 (Java_gnu_java_nio_VMChannel_size): new function.
6231 (Java_gnu_java_nio_VMChannel_map): new function.
6232 (Java_gnu_java_nio_VMChannel_flush): new function.
6233 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6234 (Java_gnu_java_nio_VMPipe_init): removed.
6235 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6236 * native/jni/java-nio/javanio.c: new file.
6237 * native/jni/java-nio/javanio.h: new file.
6238 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6239 systems without `gethostbyname_r.'
6240 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6242 (<init>, <init>): new constructors.
6243 (setOption, getOption): make instance methods; defer to native
6246 (bind): make an instance method; defer to native methods.
6248 (available): removed.
6249 (listen): make an instance method; defer to native method.
6251 (join, leave): new methods.
6253 (joinGroup, leaveGroup): new methods.
6254 (shutdownInput, shutdownOutput): make instance methods.
6255 (sendUrgentData): removed.
6257 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6260 (<init>): new, public constructors.
6261 (getVMChannel): methods removed.
6262 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6263 stderr_fd): new methods.
6264 (setBlocking): make an instance method.
6265 (available): new method.
6266 (read): get native fd from `nfd.'
6267 (read): new single-byte read method.
6268 (readScattering): get native fd from `nfd.'
6269 (receive): new method.
6270 (write, writeGathering): get native fd from `nfd.'
6272 (write): new single-byte write method.
6273 (initSocket): new method.
6274 (connect): new method.
6275 (disconnect): new method.
6276 (getLocalAddress): new method.
6277 (getPeerAddress): new method.
6278 (accept): new method.
6279 (openFile): new method.
6280 (position): new method.
6282 (truncate): new method.
6284 (unlock): new method.
6287 (flush): new method.
6288 (close): new method.
6291 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6292 (pipe, pipe0): new method.
6293 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6295 (<clinit>): call `initIds.'
6296 (initIds): new method.
6297 (getInterfaces): removed.
6298 (getVMInterfaces): new method.
6299 (addAddress): new method.
6300 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6302 2006-09-16 Chris Burdess <dog@gnu.org>
6305 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6306 when in text output mode.
6308 2006-09-16 Chris Burdess <dog@gnu.org>
6311 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6313 2006-09-14 Michael Koch <konqueror@gmx.de>
6315 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6317 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6319 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6320 Added !cl.isArray() to serialVersionUID mismatch check.
6322 2006-09-14 Francis Kung <fkung@redhat.com>
6324 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6325 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6326 be compatibe with Cairo 1.2.x.
6328 2006-09-14 Francis Kung <fkung@redhat.com>
6330 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6331 (cairoSurfaceSetFilter): Removed method.
6332 (drawImage): Pass interpolation type as argument to drawing methods.
6333 (drawPixels): Added interpolation parameter.
6334 (drawRaster): Pass interpolation type as argument to drawing method.
6335 (getInterpolation): New method.
6336 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6337 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6338 * gnu/java/awt/peer/gtk/CairoSurface.java
6339 (drawSurface): Added interpolation parameter.
6340 (nativeDrawSurface): Added interpolation parameter.
6341 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6342 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6344 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6345 * native/jni/gtk-peer/cairographics2d.h
6346 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6347 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6348 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6350 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6351 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6352 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6353 interpolation parameter.
6355 2006-09-14 Gary Benson <gbenson@redhat.com>
6357 * java/net/InetAddress.java
6358 (internalGetCanonicalHostName): New method.
6359 (getCanonicalHostName): Use internalGetCanonicalHostName.
6360 (getByLiteral): New method.
6361 (getAllByName): Use getByLiteral.
6362 * java/net/SocketPermission.java
6363 (host): Replaced with...
6364 (hostname, address): New fields.
6365 (equals, hashcode): Reflect the above.
6366 (setHostPort): Parse host into hostname or address.
6367 (implies): Rewrite host checks.
6369 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6372 * java/awt/Menu.java
6373 (insert(MenuItem, int)): Fixed loop range,
6374 (insert(String, int)): Updated API docs.
6376 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6379 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6380 architectures (like Arm).
6381 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6382 Reverted SWAP_DOUBLE patch.
6383 (doubleToRawLongBits): Likewise.
6384 (longBitsToDouble): Likewise.
6386 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6388 * java/awt/Menu.java: Reformatted source file.
6390 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6392 * gnu/java/rmi/server/ActivatableRef.java
6393 (readExternal, writeExternal): Partial fix for serialization format.
6395 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6398 * java/io/InputStreamReader.java
6399 (read(char[],int,int)): Fixed bug.
6401 2006-09-13 Francis Kung <fkung@redhat.com>
6403 * java/awt/image/BandCombineOp.java: Updated documentation.
6404 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6406 2006-09-13 Tom Tromey <tromey@redhat.com>
6409 * java/io/PipedReader.java (read): Return early if len==0.
6410 * java/io/PipedInputStream.java (read): Return early if len==0.
6412 2006-09-13 Francis Kung <fkung@redhat.com>
6414 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6415 Removed hard-coded max sample value.
6416 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6417 Fixed finding of max sample value.
6419 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6421 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6422 (setPaint): Check null argument ('p').
6424 2006-09-12 Francis Kung <fkung@redhat.com>
6427 * gnu/java/awt/java2d/TexturePaintContext.java
6428 (constructor): Fixed typo, getMinY instead of getMaxX.
6429 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6430 (setPaint): Implemented support for custom Paint classes.
6431 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6432 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6433 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6434 to setPaintPixels, and added repeat parameter.
6435 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6436 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6438 2006-09-12 Gary Benson <gbenson@redhat.com>
6440 * java/net/NetworkInterface.java (getInetAddresses):
6441 Fix port used in security check.
6443 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6445 * javax/swing/plaf/metal/DefaultMetalTheme.java
6446 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6447 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6448 (getControlTextFont): Check 'swing.boldMetal' setting before
6450 (getMenuTextFont): Likewise.
6452 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6454 * javax/swing/plaf/metal/OceanTheme.java
6455 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6457 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6459 * javax/swing/plaf/metal/MetalIconFactory.java
6460 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6462 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6464 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6466 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6468 * javax/swing/AbstractButton.java
6469 (AbstractButton): Initialise textIconGap field.
6471 2006-09-11 Tom Tromey <tromey@redhat.com>
6473 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6474 "volatile" when needed.
6476 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6478 * java/text/AttributedCharacterIterator.java
6479 (LANGUAGE): Initialise with lower case string,
6480 (INPUT_METHOD_SEGMENT): Likewise,
6481 (READING): Likewise,
6482 * java/text/AttributedStringIterator.java
6483 (getRunLimit): Check all attributes for changes.
6485 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6487 * java/text/AttributedCharacterIterator.java: Added @since tag,
6488 renamed some variables (no underscores) and removed some spaces to
6489 match the common style,
6490 * java/text/AttributedString.java: Likewise,
6491 * java/text/AttributedStringIterator.java: Likewise.
6493 2006-09-11 Gary Benson <gbenson@redhat.com>
6495 * java/net/Inet4Address.java
6496 (FAMILY): Renamed back to AF_INET.
6497 (<init>, writeReplace): Reflect the above.
6498 * java/net/Inet6Address.java
6499 (FAMILY): Renamed back to AF_INET6.
6500 (<init>): Reflect the above.
6502 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6505 * java/text/AttributedString.java
6506 (AttributedString(AttributedCharacterIterator, int, int,
6507 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6510 2006-09-11 Gary Benson <gbenson@redhat.com>
6512 * java/net/Inet4Address.java
6513 (AF_INET): Renamed to FAMILY.
6514 (<init>, writeReplace): Reflect the above.
6515 * java/net/Inet6Address.java
6516 (AF_INET6): Renamed to FAMILY.
6517 (<init>): Reflect the above.
6519 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6522 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6523 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6524 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6525 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6526 (bind): Call getImpl().create(true).
6528 2006-09-09 Chris Burdess <dog@gnu.org>
6530 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6531 an instance of org.w3c.dom.NodeList.
6533 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6535 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6536 missing security manager when run in standalone mode.
6538 2006-09-08 Francis Kung <fkung@redhat.com>
6540 * java/awt/image/AffineTransformOp.java: Updated documentation.
6541 (createCompatibleDestRaster): Updated formatting.
6542 (filter(BufferedImage, BufferedImage)): Updated formatting.
6543 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6544 if colour model is compatible.
6545 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6546 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6548 2006-09-08 Gary Benson <gbenson@redhat.com>
6550 * java/net/InetAddress.java
6551 (family): Updated javadoc and made private.
6552 (<init>): Add an address family argument.
6553 (readObject): Don't overwrite family.
6554 * java/net/Inet4Address.java
6555 (AF_INET): New constant.
6556 (<init>): Use AF_INET as the family.
6557 (writeReplace): Likewise.
6558 * java/net/Inet6Address.java
6559 (AF_INET6): New constant.
6560 (<init>): Use AF_INET6 as the family.
6562 2006-09-08 Gary Benson <gbenson@redhat.com>
6564 * java/net/InetAddress.java
6565 (getHostName): Move lookup into getCanonicalHostName.
6566 (getCanonicalHostName): Move lookup from getHostName,
6567 Perform security check on canonical name (ie after lookup).
6569 2006-09-08 Gary Benson <gbenson@redhat.com>
6571 * java/net/Inet4Address.java (isMulticastAddress,
6572 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6573 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6574 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6575 implementations from InetAddress.
6576 * java/net/InetAddress.java (isMulticastAddress,
6577 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6578 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6579 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6580 implementations with UnsupportedOperationExceptions.
6582 2006-09-08 Gary Benson <gbenson@redhat.com>
6584 * java/net/InetAddress.java
6585 (inaddr_any): Removed.
6586 (ANY_IF, LOCALHOST): Create using getByAddress.
6587 (<init>): Updated javadoc.
6588 (getHostName): Cache hostname even if the lookup failed.
6589 (getByAddress): Create Inet4Address objects when passed
6590 IPv4-mapped IPv6 addresses.
6592 (getAllByName): Create address objects using getByAddress.
6593 Do not perform security checks unless actually required.
6594 Do not strip whitespace from the hostname.
6595 (getInaddrAny): Removed.
6596 (getLocalHost): Return the loopback address if getByName
6597 throws a SecurityException.
6598 (readResolve): Updated javadoc.
6599 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6600 * include/java_net_VMInetAddress.h
6601 (Java_java_net_VMInetAddress_aton): Likewise.
6602 * native/jni/java-net/java_net_VMInetAddress.c
6603 (Java_java_net_VMInetAddress_aton): New method.
6604 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6605 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6606 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6607 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6608 * NEWS: Added note about updated VM interface.
6610 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6612 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6613 (setNorthPane): Assign component to titlePane.
6615 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6617 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6618 Remove unused variable alt_addr.
6619 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6620 Remove unused variables.
6622 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6624 * javax/swing/plaf/metal/MetalScrollBarUI.java
6625 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6626 (createDecreaseButton): Don't fetch scrollBarWidth here,
6627 (createIncreaseButton): Likewise.
6629 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6631 * java/awt/image/MemoryImageSource.java: Added API docs.
6633 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6635 * javax/swing/plaf/basic/BasicScrollBarUI.java
6636 (installDefaults): Call configureScrollBarColors().
6638 2006-09-06 Francis Kung <fkung@redhat.com>
6640 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6641 (constructor): Make copy of arrays.
6642 (createCompatibleDestImage): Changed treatment of null ColorModel.
6643 (filter(BufferedImage, BufferedImage)): Re-implemented.
6644 (filter(Raster, WritableRaster, boolean[])): New method.
6645 (filter(Raster, WritableRaster)): Re-implemented.
6646 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6647 (getPoint2D): Cleaned up formatting.
6648 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6650 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6652 * javax/swing/UIManager.java
6653 (getBoolean(Object)): Reimplemented,
6654 (getBoolean(Object, Locale)): Likewise,
6655 (getBorder(Object)): Likewise,
6656 (getBorder(Object, Locale)): Likewise,
6657 (getColor(Object)): Likewise,
6658 (getColor(Object, Locale)): Likewise,
6659 (getDimension(Object)): Likewise,
6660 (getDimension(Object, Locale)): Likewise,
6661 (getFont(Object)): Likewise,
6662 (getFont(Object, Locale)): Likewise,
6663 (getIcon(Object)): Likewise,
6664 (getIcon(Object, Locale)): Likewise,
6665 (getInsets(Object)): Updated API docs,
6666 (getInsets(Object, Locale)): Likewise,
6667 (getInt(Object)): Reimplemented,
6668 (getInt(Object, Locale)): Likewise,
6669 (getString(Object)): Likewise,
6670 (getString(Object, Locale)): Likewise.
6672 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6674 * javax/swing/UIManager.java
6675 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6676 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6678 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6680 * javax/swing/plaf/metal/MetalLookAndFeel.java
6681 (initComponentDefaults): Corrected various font defaults.
6683 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6685 * java/awt/List.java: Added @since to various methods.
6687 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6689 * native/jni/native-lib/cpprocess.c:
6690 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6691 Add redirection of stdout to stderr.
6692 * native/jni/native-lib/cpprocess.h:
6693 Added redirect argument.
6694 * native/jni/java-lang/java_lang_VMProcess.c
6695 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6696 * vm/reference/java/lang/VMProcess.java: Likewise.
6697 * include/java_lang_VMProcess.h: Regenerated.
6699 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6701 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6702 __attribute to __attribute__.
6704 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6707 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6709 * java/awt/List.java: Source code reformatted.
6711 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6713 * gnu/CORBA/CollocatedOrbs.java,
6714 gnu/CORBA/SafeForDirectCalls.java: New files.
6715 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6716 Implement gnu.CORBA.SafeForDirectCalls.
6717 * gnu/CORBA/NamingService/Ext.java: Likewise.
6718 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6719 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6720 of the local host. (ior_to_object): Return the local object
6721 where possible. (run): Register/unregister this ORB.
6722 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6723 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6724 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6725 (constructors): Initialize noRetain. (_invoke): Drop servant
6726 if noRetain is true. (getHandler): Always seach for the new servant
6727 if noRetain is true.
6728 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6729 * NEWS: Added note about the new feature.
6731 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6733 * java/awt/Choice.java
6734 (addItem): Fixed API doc glitch.
6736 2006-09-05 Francis Kung <fkung@redhat.com>
6738 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6739 (createCompatibleDestImage): Re-implemented.
6740 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6741 compatibility, and use ColorConvertOp for color conversion if needed.
6742 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6744 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6746 gnu/CORBA/CDR/Vio.java,
6747 org/omg/CORBA_2_3/ORB.java,
6748 org/omg/CORBA_2_3/portable/InputStream.java,
6749 org/omg/CORBA_2_3/portable/OutputStream.java,
6750 org/omg/CosNaming/BindingIteratorHelper.java,
6751 org/omg/CosNaming/BindingTypeHelper.java,
6752 org/omg/CosNaming/NameComponentHelper.java,
6753 org/omg/CosNaming/NameHelper.java,
6754 org/omg/CosNaming/NamingContextExtHelper.java,
6755 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6756 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6757 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6758 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6759 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6760 org/omg/CosNaming/NamingContextHelper.java,
6761 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6762 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6763 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6764 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6765 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6766 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6767 org/omg/DynamicAny/AnySeqHelper.java,
6768 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6769 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6770 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6771 org/omg/DynamicAny/DynAnyHelper.java,
6772 org/omg/DynamicAny/DynAnyOperations.java,
6773 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6774 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6775 org/omg/DynamicAny/DynAnySeqHelper.java,
6776 org/omg/DynamicAny/DynArrayHelper.java,
6777 org/omg/DynamicAny/DynEnumHelper.java,
6778 org/omg/DynamicAny/DynFixedHelper.java,
6779 org/omg/DynamicAny/DynSequenceHelper.java,
6780 org/omg/DynamicAny/DynStructHelper.java,
6781 org/omg/DynamicAny/DynStructOperations.java,
6782 org/omg/DynamicAny/DynUnionHelper.java,
6783 org/omg/DynamicAny/DynValueHelper.java,
6784 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6785 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6786 org/omg/IOP/CodecFactoryHelper.java,
6787 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6788 org/omg/IOP/CodecOperations.java,
6789 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6790 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6791 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6792 org/omg/IOP/ComponentIdHelper.java,
6793 org/omg/IOP/ExceptionDetailMessage.java,
6794 org/omg/IOP/MultipleComponentProfileHelper.java,
6795 org/omg/IOP/ProfileIdHelper.java,
6796 org/omg/IOP/ServiceContextListHelper.java,
6797 org/omg/IOP/ServiceIdHelper.java,
6798 org/omg/IOP/TAG_CODE_SETS.java,
6799 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6800 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6801 org/omg/PortableInterceptor/CurrentHelper.java,
6802 org/omg/PortableInterceptor/IORInfo.java,
6803 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6804 org/omg/PortableInterceptor/ORBIdHelper.java,
6805 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6806 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6807 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6808 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6809 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6810 org/omg/PortableInterceptor/RequestInfoOperations.java,
6811 org/omg/PortableInterceptor/ServerIdHelper.java,
6812 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6813 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6814 org/omg/PortableServer/AdapterActivatorOperations.java,
6815 org/omg/PortableServer/CurrentHelper.java,
6816 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6817 org/omg/PortableServer/ForwardRequestHelper.java,
6818 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6819 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6820 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6821 org/omg/PortableServer/LifespanPolicyValue.java,
6822 org/omg/PortableServer/POA.java,
6823 org/omg/PortableServer/POAHelper.java,
6824 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6825 org/omg/PortableServer/POAManagerPackage/State.java,
6826 org/omg/PortableServer/POAOperations.java,
6827 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6828 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6829 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6830 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6831 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6832 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6833 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6834 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6835 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6836 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6837 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6838 org/omg/PortableServer/ServantActivatorHelper.java,
6839 org/omg/PortableServer/ServantLocatorHelper.java,
6840 org/omg/PortableServer/ServantLocatorOperations.java,
6841 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6842 org/omg/PortableServer/ThreadPolicyValue.java,
6843 org/omg/PortableServer/_ServantActivatorStub.java,
6844 org/omg/PortableServer/_ServantLocatorStub.java,
6845 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6847 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6849 * javax/rmi/CORBA/Tie.java,
6850 org/omg/CORBA/AnyHolder.java,
6851 org/omg/CORBA/AnySeqHelper.java,
6852 org/omg/CORBA/AnySeqHolder.java,
6853 org/omg/CORBA/BooleanHolder.java,
6854 org/omg/CORBA/BooleanSeqHelper.java,
6855 org/omg/CORBA/BooleanSeqHolder.java,
6856 org/omg/CORBA/ByteHolder.java,
6857 org/omg/CORBA/CharHolder.java,
6858 org/omg/CORBA/CharSeqHelper.java,
6859 org/omg/CORBA/CharSeqHolder.java,
6860 org/omg/CORBA/Context.java,
6861 org/omg/CORBA/CurrentHelper.java,
6862 org/omg/CORBA/CustomValue.java,
6863 org/omg/CORBA/DataOutputStream.java,
6864 org/omg/CORBA/DefinitionKindHelper.java,
6865 org/omg/CORBA/DomainManagerOperations.java,
6866 org/omg/CORBA/DoubleHolder.java,
6867 org/omg/CORBA/DoubleSeqHelper.java,
6868 org/omg/CORBA/DoubleSeqHolder.java,
6869 org/omg/CORBA/DynAny.java,
6870 org/omg/CORBA/DynSequence.java,
6871 org/omg/CORBA/DynValue.java,
6872 org/omg/CORBA/DynamicImplementation.java,
6873 org/omg/CORBA/FieldNameHelper.java,
6874 org/omg/CORBA/FixedHolder.java,
6875 org/omg/CORBA/FloatHolder.java,
6876 org/omg/CORBA/FloatSeqHelper.java,
6877 org/omg/CORBA/FloatSeqHolder.java,
6878 org/omg/CORBA/IdentifierHelper.java,
6879 org/omg/CORBA/IntHolder.java,
6880 org/omg/CORBA/LocalObject.java,
6881 org/omg/CORBA/LongHolder.java,
6882 org/omg/CORBA/LongLongSeqHelper.java,
6883 org/omg/CORBA/LongLongSeqHolder.java,
6884 org/omg/CORBA/LongSeqHelper.java,
6885 org/omg/CORBA/LongSeqHolder.java,
6886 org/omg/CORBA/ORB.java,
6887 org/omg/CORBA/ObjectHelper.java,
6888 org/omg/CORBA/ObjectHolder.java,
6889 org/omg/CORBA/OctetSeqHelper.java,
6890 org/omg/CORBA/OctetSeqHolder.java,
6891 org/omg/CORBA/PolicyErrorCodeHelper.java,
6892 org/omg/CORBA/PolicyErrorHelper.java,
6893 org/omg/CORBA/PolicyHelper.java,
6894 org/omg/CORBA/PolicyListHelper.java,
6895 org/omg/CORBA/PolicyTypeHelper.java,
6896 org/omg/CORBA/PrincipalHolder.java,
6897 org/omg/CORBA/RepositoryIdHelper.java,
6898 org/omg/CORBA/Request.java,
6899 org/omg/CORBA/ShortHolder.java,
6900 org/omg/CORBA/ShortSeqHelper.java,
6901 org/omg/CORBA/ShortSeqHolder.java,
6902 org/omg/CORBA/StringSeqHelper.java,
6903 org/omg/CORBA/StringSeqHolder.java,
6904 org/omg/CORBA/ULongLongSeqHelper.java,
6905 org/omg/CORBA/ULongLongSeqHolder.java,
6906 org/omg/CORBA/ULongSeqHelper.java,
6907 org/omg/CORBA/ULongSeqHolder.java,
6908 org/omg/CORBA/UShortSeqHelper.java,
6909 org/omg/CORBA/UShortSeqHolder.java,
6910 org/omg/CORBA/ValueBaseHelper.java,
6911 org/omg/CORBA/ValueBaseHolder.java,
6912 org/omg/CORBA/VersionSpecHelper.java,
6913 org/omg/CORBA/WCharSeqHelper.java,
6914 org/omg/CORBA/WCharSeqHolder.java,
6915 org/omg/CORBA/WStringSeqHelper.java,
6916 org/omg/CORBA/WStringSeqHolder.java,
6917 org/omg/CORBA/WrongTransactionHelper.java,
6918 org/omg/CORBA/_IDLTypeStub.java,
6919 org/omg/CORBA/_PolicyStub.java,
6920 org/omg/CORBA/portable/BoxedValueHelper.java,
6921 org/omg/CORBA/portable/Delegate.java,
6922 org/omg/CORBA/portable/ObjectImpl.java,
6923 org/omg/CORBA/portable/ServantObject.java,
6924 org/omg/CORBA/portable/StreamableValue.java,
6925 org/omg/CosNaming/BindingType.java,
6926 org/omg/CosNaming/IstringHelper.java,
6927 org/omg/DynamicAny/FieldNameHelper.java,
6928 org/omg/PortableServer/Servant.java: Documentation fixes.
6930 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6932 * java/awt/Rectangle.java
6933 (setRect(double, double, double, double)): Modified rounding of input
6936 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6938 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6939 Disallow H1 - H6 in the paragraphs.
6940 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6941 (preprocess): Leave at most one leading and/or trailing space.
6942 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6943 Do not add any text after closing the HTML tag.
6945 2006-09-02 Roman Kennke <kennke@aicas.com>
6948 * javax/swing/plaf/basic/BasicTextUI.java
6949 (RootView.getPreferredSpan): Default to 10 when there is no
6951 (RootView.getMinimumSpan): Forward to view and default to 10
6952 when there is no real view.
6953 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6954 (getMaximumSize): Check for overflow.
6955 * javax/swing/text/FieldView.java
6956 (getResizeWeight): Removed unneeded assignment.
6958 2006-09-01 Francis Kung <fkung@redhat.com>
6959 * java/awt/image/ColorConvertOp.java
6960 (copyImage): Updated javadoc and comments.
6961 (copyRaster): Add javadoc.
6962 (createCompatibleColorModel): Add javadocs and comments.
6963 (createCompatibleDestImage): Use correct transfer type.
6964 (createCompatibleDestRaster): Add new parameter for transfer type.
6965 (filter): Use correct transfer type.
6966 * java/awt/image/ConvolveOp.java: Updated javadocs.
6967 (createCompatibleDestImage): Set new image properties correctly.
6968 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6969 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6971 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6973 * javax/swing/table/DefaultTableModel.java:
6974 (checkSize): Added null check for dataVector.
6976 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6978 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6979 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6980 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6982 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6984 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6985 (paintIcon): Removed unused import statements, lowered cast requirement
6986 from JCheckBox to AbstractButton.
6988 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6990 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6991 (initComponentDefaults): Added, changed and removed some
6992 tabbed pane properties.
6994 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6996 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6997 (createContent): Changed menu item name and tab naming.
6999 2006-09-01 Roman Kennke <kennke@aicas.com>
7002 * javax/swing/plaf/basic/BasicHTML.java
7003 (HTMLRootView.getAttributes): Overridden to return null.
7004 (HTMLRootView.getElement): Overridden to return the view's
7007 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7009 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7010 (calculateTabAreaHeight): Use getTabRunOverlay method instead
7011 of accessing variable directly.
7012 (calculateTabAreaWidth): Dito.
7014 2006-08-31 Keith Seitz <keiths@redhat.com>
7016 * include/jvmti.h: Include jvmti_md.h.
7018 2006-08-31 Keith Seitz <keiths@redhat.com>
7020 From Martin Platter <motse@complang.tuwien.ac.at>:
7021 * Makefile.am (include_HEADERS): Include jvmti.h.
7022 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
7023 (jvmtiError): Remove superfluous comma after last entry.
7024 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
7025 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
7026 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7027 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7029 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7030 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7031 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7034 2006-08-31 Roman Kennke <kennke@aicas.com>
7036 * javax/swing/text/BoxView.java
7037 (getWidth): Return the width with insets added, not with one
7038 added and one removed.
7039 (getHeight): Return the height with insets added, not with one
7040 added and one removed.
7041 * javax/swing/text/GlyphView.java
7042 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7043 * javax/swing/text/ParagraphView.java
7044 (Row.getAlignment): Adjust alignment with respect to
7045 the justification attribute.
7046 (Row.getLeftInset): Overridden to adjust for firstLineIndent
7048 * javax/swing/text/html/CSS.java
7049 (getValue): Convert length values.
7050 * javax/swing/text/html/Paragraph.java
7051 (painter): New field.
7052 (paint): Implemented to delegate painting to the BoxPainter too.
7053 (setPropertiesFromAttributes): Implemented to load attributes
7055 * javax/swing/text/html/StyleSheet.java
7056 (BoxPainter.as): Removed field.
7057 (BoxPainter.leftInset): New field.
7058 (BoxPainter.bottomInset): New field.
7059 (BoxPainter.rightInset): New field.
7060 (BoxPainter.topInset): New field.
7061 (BoxPainter.BoxPainter): Implemented to load the insets from
7063 (BoxPainter.getInset): Implemented.
7064 * gnu/javax/swing/text/html/Length.java: New class.
7065 Converts CSS length units to usable values.
7067 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
7069 * configure.ac: Add check for gethostbyname_r.
7070 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7071 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7072 SOCKET_NOSIGNAL according to the configure check.
7073 (cpnet_send): Use SOCKET_NOSIGNAL.
7074 (cpnet_sendTo): Likewise.
7075 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7077 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7080 * lib/Makefile.am (cssfiles): Add new rule to install css files.
7082 2006-08-31 Roman Kennke <kennke@aicas.com>
7084 * javax/swing/JEditorPane.java
7085 (getPreferredSize): Replace preferred size with minimum
7086 UI size only if the scrollable does _not_ track the viewport
7087 size and only if the viewport's size is smaller than the
7089 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7091 * javax/swing/plaf/basic/BasicTextUI.java
7092 (getPreferredSize): Read-lock the document to avoid
7093 concurrency problems.
7094 (getMaximumSize): Return maximum size of the view.
7095 Read-lock the document to avoid concurrency problems.
7096 (getMinimumSize): Return minimum size of the view.
7097 Read-lock the document to avoid concurrency problems.
7099 2006-08-31 Gary Benson <gbenson@redhat.com>
7101 * java/net/SocketPermission.java
7102 (maybeBracketIPv6Address): Renamed to processHostport.
7103 (processHostport): Also translate "" to "localhost".
7104 (setHostPort): Remove special cases for empty hostport and for
7105 extra colons in hostport (processHostport handles these now).
7107 2006-08-31 Mark Wielaard <mark@klomp.org>
7109 * javax/swing/text/ZoneView.java (Zone): Make static class.
7110 Constructor takes axis parameter.
7111 (createZone): Create Zone with getAxis() as major axis.
7113 2006-08-30 Roman Kennke <kennke@aicas.com>
7115 * javax/swing/text/ZoneView.java
7116 (loadChildren): Implemented.
7117 (getViewIndexAtPosition): Implemented.
7118 (checkZoneAt): New helper method.
7119 (splitZone): New helper method.
7120 (getPreferredZoneEnd): New helper method.
7122 2006-08-30 Roman Kennke <kennke@aicas.com>
7124 * javax/swing/text/ZoneView.java: New class.
7126 2006-08-30 Roman Kennke <kennke@aicas.com>
7128 * javax/swing/JMenu.java
7129 (getMenu): Removed unneeded cast.
7130 (getPopupMenuOrigin): Made positioning algorithm better respect
7132 (setMenuLocation): Also set the location on the popup if it's
7134 (setModel): Use menuChangeListener so that we don't override
7135 the changeListener field from AbstractButton.
7136 (setPopupMenuVisible): Use custom location if set, otherwise
7137 fallback to getPopupMenuOrigin().
7139 2006-08-29 Roman Kennke <kennke@aicas.com>
7141 * javax/swing/text/InternationalFormatter.java
7142 (stringToValue): Fixed bounds check.
7143 * javax/swing/text/MaskFormatter.java
7144 (MaskFormatter): Don't explicitly set allosInvalid property.
7145 (convertStringToValue): New helper method.
7146 (convertValueToString): New helper method.
7147 (convertValue): Removed. Replaced by the 2 convert* methods
7149 (getPadCharAt): Removed.
7150 (isCharValid): Removed.
7152 (stringToValue): Fixed stringToValue conversion.
7153 (stripLiterals): Removed.
7154 (valueToString): Fixed valueToString conversion.
7155 * javax/swing/text/DefaultFormatter.java
7156 (DefaultFormatter): Default to commitsOnValidEdit = false.
7158 2006-08-29 Roman Kennke <kennke@aicas.com>
7160 * javax/swing/text/TextAction.java
7161 (getTextComponent): Check event for null and return null in
7163 (augmentList): Augment Actions based on their names.
7164 * javax/swing/text/DefaultEditorKit.java
7165 (BeginAction.actionPerformed): Check target for null.
7166 (BeginLineAction.actionPerformed): Check target for null.
7167 (CopyAction.actionPerformed): Check target for null.
7168 (CutAction.actionPerformed): Check target for null.
7169 (EndAction.actionPerformed): Check target for null.
7170 (EndLineAction.actionPerformed): Check target for null.
7171 (InsertBreakAction.actionPerformed): Check target for null.
7172 (InsertTabAction.actionPerformed): Check target for null.
7173 (PasteAction.actionPerformed): Check target for null.
7174 (SelectAllAction.actionPerformed): Check target for null.
7175 (SelectionBeginAction.actionPerformed): Check target for null.
7176 (SelectionBeginLineAction.actionPerformed): Check target for null.
7177 (SelectionEndAction.actionPerformed): Check target for null.
7178 (SelectionEndLineAction.actionPerformed): Check target for null.
7179 (SelectLineAction.actionPerformed): Check target for null.
7180 (SelectWordAction.actionPerformed): Check target for null.
7182 2006-08-29 Roman Kennke <kennke@aicas.com>
7184 * javax/swing/plaf/basic/BasicTextUI.java
7185 (FocusHandler): New class. This is moved from the anonymous
7186 inner focus listener class to a static member class, and
7187 is now shared between components.
7188 (DocumentHandler): This class is combined with the PropertyHandler
7189 into the Handler class.
7190 (PropertyChangeHandler): This class is combined with the
7191 DocumentHandler into the Handler class.
7192 (Handler): New class. This combines the Property and Document
7193 handler into one class.
7194 (RootView.changedUpdate): Only forward if real view != null.
7195 (RootView.insertUpdate): Only forward if real view != null.
7196 (RootView.removeUpdate): Only forward if real view != null.
7197 (documentHandler): Removed field and replaced by handler.
7198 (focuslistener): Made field static and renamed to focusListener.
7199 (handler): New field.
7200 (kit): Lazily initialize field.
7201 (rootView): Lazily initialize field.
7202 (updateHandler): Removed and replaced by handler.
7203 (getEditorKit): Lazily instantiate field.
7204 (installDefaults): Don't set margin twice. Install correct
7205 property for disabledTextColor. Moved caret and highlighter
7206 initialization to installFixedDefaults.
7207 (installFixedDefaults): New method. Installs defaults that
7208 can't be overridden by subclasses.
7209 (installListeners): Only install focus handler when new
7210 system property gnu.swing.text.no-xlike-clipboard is not set.
7211 Lazily initialize focus handler.
7212 (installUI): Lazily initialize rootView. Install handler
7213 both for property and document changes.
7214 (uninstallDefaults): Uninstall the UI defaults.
7215 (uninstallFixedDefaults): New method. Uninstalls the fixed
7217 (installListeners): Only uninstall focus handler when not null.
7218 (uninstallUI): Uninstall property and document listener here.
7220 2006-08-29 Gary Benson <gbenson@redhat.com>
7222 * java/net/SocketPermission.java
7223 (maybeBracketIPv6Address): New method.
7224 (<init>): Pass the hostport argument through the above.
7226 * java/net/NetworkInterface.java (getInetAddresses):
7227 Don't bracket IPv6 addresses.
7229 2006-08-28 Roman Kennke <kennke@aicas.com>
7231 * javax/swing/text/BoxView.java
7232 (calculateMinorAxisRequirements): Initialize max size
7233 with Integer.MAX_VALUE.
7234 * javax/swing/text/Utilities.java
7235 (getBreakLocation): For simple chars, scan the text directly.
7236 * javax/swing/text/WrappedPlainView.java
7237 (tabBase): New field.
7238 (tabSize): New field.
7239 (calculateBreakPosition): Use Utilities. Fixed for correct
7241 (changedUpdate): Update children directly.
7242 (insertUpdate): Update children directly. Notify children.
7243 (removeUpdate): Update children directly. Notify children.
7244 (updateChildren): New helper method.
7245 (nextTabStop): Fixed to return correct results.
7246 (paint): Update tabBase.
7247 (updateMetrics): Update tab size.
7249 2006-08-28 Roman Kennke <kennke@aicas.com>
7251 * javax/swing/text/Position.java
7252 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7253 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7255 2006-08-28 Roman Kennke <kennke@aicas.com>
7257 * javax/swing/text/View.java
7258 (height): Removed unneeded field.
7259 (width): Removed unneeded field.
7260 (getBreakWeight): Return GoodBreakWeight when pos is after
7262 (getToolTipText): Check view index more carefully. Avoid
7264 (insertUpdate): Only execute method body if view count > 0.
7265 When updateChildren returns false, clear the ec variable.
7266 (updateChildren): Added null checks.
7267 (viewToModel): Initialize bias array correctly.
7268 * javax/swing/text/CompositeView.java
7269 (children): Made private.
7270 (numChildren): New field.
7271 (loadChildren): Check factory for null. Don't load children
7272 when factory is null.
7273 (replace): Removed null check. Nullify removed children. Made
7274 growing the array more efficient.
7275 (getViewCount): Return numChildren rather then the real array
7277 * javax/swing/text/BoxView.java
7278 (getViewAtPoint): Fixed algorithm for finding the view.
7279 (replace): Made array growing more efficient.
7280 (replaceLayoutArray): New helper method for growing/patching
7282 (viewToModel): Make sure we have a valid layout.
7284 2006-08-28 Tania Bento <tbento@redhat.com>
7286 * java/awt/MenuShortcut.java
7287 (MenuShortcut (int, boolean)): Set keyName.
7288 (toString): Modified string output.
7289 (setKeyName): New private method.
7291 2006-08-28 Roman Kennke <kennke@aicas.com>
7293 * javax/swing/text/GapContent.java
7294 (Mark.getOffset): Made assert less strict, include boundary.
7295 (search): Made package private to avoid accessor method.
7297 2006-08-28 Roman Kennke <kennke@aicas.com>
7299 * javax/swing/text/StringContent.java
7300 (InsertUndo.positions): New field.
7301 (InsertUndo.redo): Update the undo positions.
7302 (InsertUndo.undo): Fetch the undo positions.
7303 (Mark): New class. Layer of indirection to allow Positions
7304 to be GC'ed while we still hold references to the Mark.
7305 (RemoveUndo.len): New field.
7306 (RemoveUndo.positions): New field.
7307 (RemoveUndo.RemoveUndo): Fetch undo positions.
7308 (RemoveUndo.redo): Re-fetch positions and string.
7309 (RemoveUndo.undo): Update undo positions.
7310 (StickyPosition.mark): New field.
7311 (StickyPosition.offset): Removed field.
7312 (StickyPosition.StickyPosition): Create new Mark. Register
7313 Position in queueOfDeath. Update reference count on mark.
7314 (StickyPosition.getOffset): Return offset stored in mark.
7315 (StickyPosition.setOffset): Removed unneeded method.
7316 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7318 (marks): New field. Stores the marks.
7319 (positions): Removed field.
7320 (queueOfDeath): New field. Used for GCing the positions.
7321 (StringContent): Initialize queueOfDeath.
7322 (createPosition): Lazily create marks vector.
7323 (garbageCollect): New helper method. Collects positions
7324 to be GCed and updates their marks.
7325 (getChars): Fixed bounds check.
7326 (getPositionsInRange): When v == null, create new Vector,
7327 otherwise use v. Store UndoPosRefs in vector.
7328 (getString): Added comment about bug in RI.
7329 (insertString): Use new helper method for replacing the array.
7330 Correctly update positions.
7331 (length): Removed this qualifier.
7332 (remove): Use new helper method for replacing the array.
7333 Correctly update positions.
7334 (replace): New helper method for growing or patching the array.
7335 (updateUndoPositions): Implemented. Updates the positions
7336 for undo/redo operations.
7338 2006-08-27 Roman Kennke <kennke@aicas.com>
7340 * javax/swing/text/StyleContext.java
7341 (NamedStyle.attributes): Made field transient.
7342 (NamedStyle.changeEvent): Made field transient.
7343 (NamedStyle.name): Removed field. The name is stored as
7345 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7346 storing the name and check for null name and resolveParent.
7347 Don't initialize changeEvent.
7348 (NamedStyle.copyAttributes): Return a new NamedStyle,
7349 rather than a plain copy of the attributes field.
7350 (NamedStyle.fireStateChange): Lazily create changeEvent
7352 (NamedStyle.getName): Fetch name from attributes.
7353 (NamedStyle.setName): Store name from attributes.
7354 (NamedStyle.readObject): Implemented for correct
7356 (NamedStyle.writeObject): Implemented for correct
7358 (NamedStyle.setResolveParent): When new parent is null,
7359 remove resolveParent attribute. Use addAttribute() method
7360 rather than StyleContext addAttribute().
7361 (NamedStyle.toString): Fixed to produce output equal to the
7363 (SmallAttributeSet.resolveParent): New field.
7364 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7365 the resolveParent field correctly.
7366 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7367 array but store it directly. Update
7368 the resolveParent field correctly.
7369 (SmallAttributeSet.clone): Return this as the object is
7371 (SmallAttributeSet.containsAttributes): Make sure that keys
7372 and values are the same.
7373 (SmallAttributeSet.containsAttribute): Make sure that keys
7374 and values are the same.
7375 (SmallAttributeSet.copyAttributes): Return this as the object is
7377 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7378 are equal if they have the same number of attributes and
7379 one contains the other.
7380 (SmallAttributeSet.getAttribute): Improved lookup of
7382 (SmallAttributeSet.getResolveParent): Improved lookup of
7384 (SmallAttributeSet.isEqual): When comparing object is a
7385 SmallAttributeSet, consider them equal only if they are the
7387 (SmallAttributeSet.toString): Fixed to produce output equal to the
7389 (attributeSetPool): New field.
7390 (defaultStyleContext): Initialize lazily.
7391 (defaultStyle): Removed field. This is stored in the style context
7393 (listenerList): Removed field. The NamedStyle stores the
7395 (readAttributeKeys): New static field. Used for looking up
7396 the serialization mappings when reading.
7397 (search): New field. Used as search key.
7398 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7399 (styles): New field. Stores the styles and listeners.
7400 (styleTable): Removed field. Replaced by styles field.
7401 (writeAttributeKeys): New static field. Used for looking up
7402 the serialization mappings when writing.
7403 (static_initializer): Register mappings for all keys in
7405 (StyleContext): Initialize styles correctly.
7406 (addAttributes): Fixed caching of immutable attributes.
7407 (addAttribute): Fixed caching of immutable attributes.
7408 (removeAttributes): Fixed caching of immutable attributes.
7409 (removeAttribute): Fixed caching of immutable attributes.
7410 (addChangeListener): Add listener to styles field.
7411 (removeChangeListener): Remove listener from styles field.
7412 (getChangeListeners): Fetch listeners from styles field.
7413 (addStyle): Add style to styles field.
7414 (cleanupPool): New method.
7415 (getDefaultStyleContext): Lazily create context.
7416 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7417 (getMutableAttributeSet): New helper method. Used for
7419 (getStaticAttribute): Fetch key from readAttributeKeys.
7420 (getStyleNames): Return names from styles field.
7421 (getStyle): Lookup style in styles field.
7422 (removeStyle): Remove style from styles field.
7423 (readAttributeSet): Fixed deserialization.
7424 (writeAttributeSet): Fixed serialization.
7425 (readObject): Fixed deserialization.
7426 (writeObject): Fixed serialization.
7427 (reclaim): Simply cleanup the pool.
7428 (registerStaticAttributeKey): Store mapping in both ways.
7429 (searchImmutableSet): New helper method for caching.
7430 (toString): Fixed for output like the RI.
7431 * javax/swing/text/StyleConstants.java
7432 (keys): New field. Stores all known keys.
7433 (StyleConstants): Store created key in keys list.
7434 * javax/swing/event/EventListenerList.java
7435 (readObject): Fixed deserialization.
7436 (writeObject): Fixed serialization.
7438 2006-08-25 Roman Kennke <kennke@aicas.com>
7440 * javax/swing/text/CompositeView.java
7441 (insets): Removed. Replaced by single short fields.
7442 (top): New field. Replaces insets.
7443 (bottom): New field. Replaces insets.
7444 (left): New field. Replaces insets.
7445 (right): New field. Replaces insets.
7446 (CompositeView): Initialize insets fields.
7447 (createDefaultLocation): Removed unneeded method.
7448 (getBottomInset): Return field directly.
7449 (getTopInset): Return field directly.
7450 (getLeftInset): Return field directly.
7451 (getRightInset): Return field directly.
7452 (getInsideAllocation): Adjusted to work on new insets fields.
7453 (getViewIndex): Fixed check.
7454 (loadChildren): Don't replace the old children.
7455 (replace): Make sure that there is an array to operate on.
7456 Only set parent to null, when it is this View.
7457 (setInsets): Adjusted to work with new insets fields.
7458 (setParagraphInsets): Fixed to pull insets directly from
7461 2006-08-25 Roman Kennke <kennke@aicas.com>
7463 * javax/swing/text/ComponentView.java
7464 (Interceptor): New inner helper class. Used to propagate
7465 invalidate requests and cache component layout sizes.
7466 (interceptor): New field.
7467 (getAlignment): Fetch alignment from interceptor container.
7468 (getComponent): Don't create component here. This is done
7470 (getMaximumSpan): Fetch layout info from interceptor. Check
7472 (getMinimumSpan): Fetch layout info from interceptor. Check
7474 (getPreferredSpan): Fetch layout info from interceptor. Check
7476 (modelToView): Fixed model to view mapping.
7477 (viewToModel): Fixed view to model mapping.
7478 (paint): Check for null. Set bounds on interceptor rather
7480 (setParentImpl): Install interceptor between component
7481 and hosting container.
7482 (setParent): Call super.setParent() immediately.
7484 2006-08-25 Roman Kennke <kennke@aicas.com>
7486 * javax/swing/text/LabelView.java
7487 (setPropertiesFromAttributes): Only set background when
7488 the corresponding attribute is actually defined, otherwise
7489 set to null, as the StyleConstants would return black.
7490 * javax/swing/text/DefaultStyledDocument.java
7491 (ElementBuffer.documentEvent): Removed obsolete field.
7492 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7493 to correctly update the element structure.
7494 (ElementBuffer.insertContentTag): Removed unused statement.
7495 (ElementBuffer.recreateAfterFracture): Removed
7496 unused obsolete method.
7497 (setCharacterAttributes): Removed unused statement.
7499 2006-08-25 Roman Kennke <kennke@aicas.com>
7501 * examples/gnu/classpath/examples/swing/Demo.java
7502 (LaterMain.run): Removed unused local variable.
7503 (Demo): Don't put desktop in scrollpane.
7504 (addChildren): Removed unused method.
7505 (mkButtonBar): Added HTML demo.
7506 (mkMenuBar): Added HTML demo.
7507 (mkPanel): Removed unused method.
7508 (mkScrollPane): Removed unused method.
7509 (mkTree): Removed unused method.
7510 (valign2str): Removed unused method.
7511 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7512 Initialize text field with some HTML that already works.
7513 (DEBUG): New field. Set to true for debugging output.
7514 (createContent): Dump element tree after parsing.
7516 2006-08-25 Roman Kennke <kennke@aicas.com>
7518 * javax/swing/text/html/CSS.java
7519 (getValue): Added color value conversion.
7520 * javax/swing/text/html/HTMLDocument.java
7521 (HTMLReader.ConvertAction): New class, converts HTML style tags
7523 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7524 * javax/swing/text/html/InlineView.java
7525 (setPropertiesFromAttributes): Implemented to fetch
7526 CSS character attributes.
7527 * javax/swing/text/html/StyleSheet.java
7528 (addCSSAttribute): Convert value.
7529 (getBackground): Implemented to fetch CSS background color
7531 (getForeground): Implemented to fetch CSS color
7533 (getFont): Adjust font size for superscript and subscript.
7534 (translateHTMLToCSS): Rudimentary implementation that
7535 copies the original attributes, so that any CSS attributes in
7536 there are preserved.
7537 (stringToColor): Use CSSColor for conversion.
7538 * gnu/javax/swing/text/html/css/CSSColor.java:
7539 New class. Converts CSS color values to RGB color values.
7540 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7541 Removed. This is more or less replaced by CSSColor and the
7542 ConvertAction in HTMLReader.
7544 2006-08-25 Roman Kennke <kennke@aicas.com>
7546 * javax/swing/text/BoxView.java
7547 (childReqs): Removed obsolete field.
7548 (baselineLayout): Reimplemented for correct baseline layout.
7549 (baselineRequirements): Reimplemented for correct baseline
7551 (updateChildRequirements): Removed obsolete method.
7552 * javax/swing/text/GlyphView.java
7553 (DefaultGlyphPainter.getSpan): Removed unused statement.
7554 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7555 specially. The subscript/superscript layout is performed
7556 via the alignment, the font is supplied by the StyleContext.
7557 (breakView): Removed unused statements.
7558 (getAlignment): Adjust alignment according to the
7559 superscript/subscript setting.
7560 (getFont): Reimplemented to fetch the font from the style
7561 context, or from the document if the stylecontext is not
7563 (getPreferredSpan): Adjust span for superscript. Use switch
7565 * javax/swing/text/LabelView.java
7566 (setPropertiesFromAttributes): Fetch background and foreground
7567 from document / style context.
7568 (isSubscript): Resync properties if needed.
7569 * javax/swing/text/ParagraphView.java
7570 (Row.calculateMinorAxisRequirements): Overridden to perform
7572 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7574 2006-08-24 Roman Kennke <kennke@aicas.com>
7576 * javax/swing/text/Utilities.java
7577 (BUF_LENGTH): Removed unused field.
7578 (drawTabbedText): Removed unneeded cast.
7579 (getBreakLocation): Removed unneeded cast.
7580 Fixed offset to account for Segments not starting at 0.
7582 2006-08-24 Roman Kennke <kennke@aicas.com>
7584 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7585 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7586 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7587 (ScrollingPane.updateUI): Likewise.
7588 (calculateTabWidth): Rewritten to correctly and efficiently
7589 layout the tab width.
7590 (layoutLabel): Call SwingUtilities method with the tabPane
7592 (paintContentBorderLeftEdge): Removed unused statement.
7593 (paintContentBorderRightEdge): Removed unused statement.
7594 (paintContentBorder): Removed unused statement.
7596 2006-08-24 Roman Kennke <kennke@aicas.com>
7598 * javax/swing/plaf/basic/BasicTextUI.java
7599 (RootView.getAttributes): Overridden to return null,
7600 as the RootView has no parent.
7602 2006-08-24 Roman Kennke <kennke@aicas.com>
7604 * javax/swing/text/html/CSSParser.java: Removed.
7605 * javax/swing/text/html/CSS.java
7606 (getValue): New helper method. Returns special converter
7607 instances for certain kinds of property values.
7608 * javax/swing/text/html/HTMLDocument.java
7609 (HTMLReader.CharacterAction.start): Don't translate tags
7610 here. Instead, store the attributes directly with the tag
7612 (content): Removed field. The Content object is handled
7613 by AbstractDocument.
7614 (styleSheet): Removed field. The styleSheet is the styleContext
7615 of this document and handled by the DefaultStyledDocument already.
7616 (HTMLDocument(Content,StyleSheet): Simply call super here.
7617 The super classes already handle the content and styleContext.
7618 (HTMLDocument()): Call this() with a default GapContent and
7620 (getStyleSheet): Return the styleContext here.
7621 (insertUpdate): New method. Overridden to add the
7622 CONTENT dummy tag to the element's attributes.
7623 (setBase): Set the base on the styleContext.
7624 * javax/swing/text/html/HTMLEditorKit.java
7625 (styleContext): Removed unneeded field.
7626 (styleSheet): Made field private.
7627 (HTMLEditorKit): Do nothing here. The StyleSheet is
7628 created lazily in getStyleSheet(). A styleContext is not
7630 (getStyleSheet): Create StyleSheet correctly.
7631 (insertHTML): Removed unneeded cast.
7632 * javax/swing/text/html/InlineView.java
7633 (attributes): New field.
7634 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7635 (getAttributes): Implemented to fetch the attributes from
7637 * javax/swing/text/html/MultiAttributeSet.java: New class.
7638 Multiplexes between several AttributeSets.
7639 * javax/swing/text/html/MultiStyle.java: New class.
7640 Multiplexes between several Styles.
7641 * javax/swing/text/html/ParagraphView.java
7642 (attributes): New field.
7643 (getAttributes): Implemented to fetch the attributes from
7645 * javax/swing/text/html/StyleSheet.java
7646 (CssParser): Removed inner class.
7647 (CSSStyle): New inner class. Represents a style defined
7649 (CSSStyleSheetParserCallback): New class, for parsing
7651 (css): New field. Stores the CSS rules.
7652 (resolvedStyles): New field. Stores resolved styles.
7653 (StyleSheet): Initialize resolvedStyles map.
7654 (addRule): Removed bogus impl.
7655 (getFont): Implemented to fetch font, based on CSS rules.
7656 (getResolvedStyle): New helper method. Looks up resolved
7657 styles, and resolves a style if necessary.
7658 (resolveStyle): New pair of helper methods. Resolves
7660 (getRule(String)): Provide rudimentary implementation.
7661 (getRule(Tag,Element)): Implemented.
7662 (getViewAttributes): Implemented.
7663 (loadRules): Implemented.
7664 (translateHTMLToCSS): Tagged as not implemented.
7665 * javax/swing/text/html/ViewAttributeSet.java: New class.
7667 2006-08-24 Roman Kennke <kennke@aicas.com>
7669 * javax/swing/text/FlowView.java:
7670 (LogicalView.getAttributes): New method. Overrides super
7671 impl to return the attributes of the FlowView instance.
7672 * javax/swing/text/LabelView.java:
7673 (setPropertiesFromAttributes): Fetch attributes from
7674 View, rather then from the Element. (In the HTML
7675 package the getAttributes() method is overridden to
7676 return different attributes). Fetch font from the StyledDocument.
7678 2006-08-24 Roman Kennke <kennke@aicas.com>
7680 * javax/swing/text/DefaultEditorKit.java:
7681 (DefaultKeyTypedAction.actionPerform): Also filter
7682 ALT and CTRL modifiers.
7684 2006-08-24 Roman Kennke <kennke@aicas.com>
7686 * gnu/javax/swing/text/html/css/FontSize.java,
7687 * gnu/javax/swing/text/html/css/FontStyle.java,
7688 * gnu/javax/swing/text/html/css/FontWeight.java:
7689 New classes. Used to convert CSS font attributes to AWT/Swing
7692 2006-08-24 Francis Kung <fkung@redhat.com>
7693 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7694 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7695 (srccs, dstcs, rasterValid): Variables removed.
7696 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7697 (copyRaster): Check for null rendering hints
7698 (createCompatibleColorModel): New private method.
7699 (createCompatibleDestImage): Re-implemented.
7700 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7701 (createCompatibleDestRaster(Raster)): Re-implemented.
7702 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7703 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7704 (getPoint2D): Clean up formatting.
7705 * java/awt/image/ComponentColorModel.java
7706 (constructor): use findBits method instead of passing null.
7707 (findBits): New method.
7709 2006-08-24 Gary Benson <gbenson@redhat.com>
7711 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7714 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7716 * java/lang/ref/Reference.java
7717 (queue, nextOnQueue): Made volatile.
7718 (enqueue): Made thread safe.
7719 * java/lang/ref/ReferenceQueue.java
7721 (poll): Removed synchronized.
7722 (enqueue): Changed to synchronize on lock object, to update Reference
7723 state and return success status.
7724 (dequeue, remove): Synchronize on lock object.
7726 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7728 * java/security/SecureClassLoader.java
7729 (protectionDomainCache): Changed to HashMap.
7730 (SecureClassLoader): Removed redundant security check.
7731 (defineClass(String,byte[],int,int,CodeSource): Moved
7732 protection domain lookup/construction to new method.
7733 (defineClass(String,ByteBuffer,CodeSource): New method.
7734 (getProtectionDomain): New method.
7736 2006-08-23 Roman Kennke <kennke@aicas.com>
7738 * javax/swing/JComponent.java
7739 (isRepainting): Made package private.
7740 (paintChild): New field.
7741 (findOpaqueParent): Removed method. This is now in
7743 (findOverlapFreeParent): Removed method. This is now
7744 in paintImmediately2().
7745 (findPaintRoot): Removed method. This is now
7746 in paintImmediately2().
7747 (isCompletelyObscured): Changed to take rectangle as single
7749 (isPaintingDoubleBuffered): Removed method. This is now
7750 in paintImmediately2().
7751 (isPartiallyObscured): New helper method.
7752 (onTop): New helper method for optimization.
7753 (paintChildren): Paint only to specific child when
7754 requested like this from paintImmediately2().
7755 (paintDoubleBuffered): Changed to take rectangle as single int
7757 (paintImmediately2): Changed to take rectangle as single int
7758 arguments. Optimized determination of paint root.
7759 (paintImmediately(Rectangle)): Change to delegate to
7760 paintImmediately(int,int,int,int).
7761 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7762 and start painting there.
7763 (paint): Call paintDoubleBuffered() with int arguments. Only
7764 paint component, when not completely occupied by opaque child.
7765 (processKeyBinding): Removed unnecessary cast.
7766 (isOccupiedByChild): New helper method.
7767 * javax/swing/RepaintManager.java
7768 (repaintUnderway): Removed obsolete field.
7769 (commitRequests): Removed obsolete field.
7770 (RepaintManager): Removed initialization of obsolete fields.
7771 (addDirtyRegion): Removed unused statement.
7772 (commitBuffer): Changed to take plain ints as argument.
7773 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7774 Compute offsets in place, rather than using SwingUtilities.
7775 (paintDirtyRegions): Removed unused field.
7776 * javax/swing/JMenuItem.java
7777 (onTop): Return true when not descendant of JInternalFrame.
7778 * javax/swing/JPopupMenu.java
7779 (onTop): Return true.
7780 * javax/swing/JToolTip.java
7781 (onTop): Return true.
7782 * javax/swing/JViewport.java
7783 (paintImmediately2): Change signature to match the
7784 corresponding JComponent method.
7786 2006-08-23 Tania Bento <tbento@redhat.com>
7788 * java/awt/Color.java
7789 (brighter): Modified algorithm to correctly determine the
7790 new brighter colour.
7792 2006-08-23 Roman Kennke <kennke@aicas.com>
7794 * java/awt/Container.java
7795 (maxSize): Removed field. This is already declared in Component.
7796 (validateTree): Check for ContainerPeer. Don't addNotify here.
7797 Only validate Component instances if they are invalid.
7799 2006-08-22 Roman Kennke <kennke@aicas.com>
7801 * javax/swing/JComponent.java
7802 (preferredSize): Removed field.
7803 (maximumSize): Removed field.
7804 (minimumSize): Removed field.
7805 (getMaximumSize): Adjusted to delegate to Component, rather
7806 then managing the size in JComponent.
7807 (getMinimumSize): Adjusted to delegate to Component, rather
7808 then managing the size in JComponent.
7809 (getPreferredSize): Adjusted to delegate to Component, rather
7810 then managing the size in JComponent.
7811 (isMaximumSizeSet): Removed.
7812 (isMinimumSizeSet): Removed.
7813 (isPreferredSizeSet): Removed.
7814 (setMaximumSize): Removed.
7815 (setMinimumSize): Removed
7816 (setPreferredSize): Removed.
7818 2006-08-22 Roman Kennke <kennke@aicas.com>
7820 * javax/swing/AbstractButton.java
7821 (ButtonChangeListener.stateChanged): Delegate to combined
7823 (EventHandler): New inner class. Handles all three types
7824 of events on the model.
7825 (eventHandler): New field. Stores the combined event
7827 (AbstractButton): Moved listener initialization to
7829 (createActionListener): Return combined handler.
7830 (createChangeListener): Return combined handler.
7831 (createItemListener): Return combined handler.
7832 (getEventHandler): New helper method for creating the combined
7834 (setModel): Initialize listeners here.
7835 * javax/swing/plaf/basic/BasicButtonListener.java
7836 (ButtonAction): New class. Implements the keyboard action
7838 (checkOpacity): Implemented.
7839 (createDefaultActionMap): New helper method.
7840 (installKeyboardActions): Rewritten to install InputMap
7841 and ActionMap according to 'new' keyboard input method.
7842 (mouseClicked): Commented as no-op.
7843 (mouseDragged): Commented as no-op.
7844 (mouseMoved): Commented as no-op.
7845 (propertyChange): Check for contentAreaFilled change and
7846 update opacity. Pull handling of HTLM in font and text handler.
7847 (stateChanged): Repaint button.
7848 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7849 * javax/swing/plaf/basic/BasicButtonUI.java
7850 (listener): Removed.
7851 (sharedListener): New static field. Stores the shared listener.
7852 (sharedUI): New static field. Stores the shared UI.
7853 (createButtonListener): Return shared instance here.
7854 (createUI): Return shared instance here.
7855 (getButtonListener): New helper method. Looks for the
7856 BasicButtonListener installed on a button and returns it.
7857 (installDefaults): Correctly install rollover property here.
7858 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7859 (installKeyboardActions): Fetch listener with new helper method.
7860 (installListeners): Don't use removed field. Check for null.
7861 (installUI): Added comment about order of method invocations.
7862 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7863 (uninstallKeyboardActions): Fetch listener with new helper method.
7864 (uninstallListeners): Fetch listener with new helper method.
7865 (paintIcon): Paint icon offset when pressed and armed.
7866 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7867 * javax/swing/plaf/metal/MetalButtonUI.java
7868 (sharedUI): New field. Stores the shared UI.
7869 (MetalButtonUI): Don't initialize fields here.
7870 (createButtonListener): Removed method. Use super impl.
7871 (createUI): Return shared instance.
7872 (getDisabledTextColor): Update field here.
7873 (getFocusColor): Update field here.
7874 (getSelectColor): Update field here.
7875 (installDefaults): Don't handle rollover property here.
7876 (uninstallDefaults): Don't handle rollover property here.
7877 (paintButtonPressed): Use accessor method to update the
7880 2006-08-21 Mark Wielaard <mark@klomp.org>
7882 Merge NATIVE_LAYER branch.
7884 2006-08-20 Mark Wielaard <mark@klomp.org>
7886 * doc/tools.texinfo: Add file from trunk.
7887 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7888 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7890 * native/jni/java-lang/java_lang_VMProcess.c
7891 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7892 * native/jni/java-net/java_net_VMInetAddress.c
7893 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7894 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7896 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7898 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7900 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7902 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7904 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7906 * include/java_lang_VMProcess.h: Regenerated.
7908 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7910 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7911 (nativeReceive): Fixed the type of the arrays (use java types).
7912 (nativeSendTo): Force throwing an exception if port is 0.
7914 * native/jni/java-net/javanet.c:
7915 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7917 (_javanet_recvfrom): Likewise.
7918 (_javanet_sendto): Throw a NullPointerException if the socket is
7919 not connected and no address is given.
7921 * native/jni/java-net/javanet.h
7922 (NULL_EXCEPTION): Defined.
7924 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7926 * native/jni/java-net/java_net_VMInetAddress.c
7927 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7930 * native/jni/java-net/javanet.c
7931 (_javanet_accept): Fixed bogus call to TARGET.
7932 (_javanet_create_inetaddress): Fixed address generation. Fixed
7934 (_javanet_bind): set "Reuse address" flag.
7936 * native/jni/native-lib/cpio.c
7937 (cpio_getModificationTime): Fixed type.
7938 (cpio_removeFile): Use rmdir too.
7940 * native/jni/native-lib/cpnet.c
7941 (cpnet_getHostByName): Fixed error detection.
7943 * native/jni/native-lib/cpnet.h
7944 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7946 (cpnet_IPV4AddressToBytes): Fixed types.
7948 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7950 * native/jni/native-lib/cpio.c
7951 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7953 * native/jni/native-lib/cpnet.h:
7954 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7955 messed by signs in jbyte.
7957 * native/jni/native-lib/cpproc.h
7958 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7960 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7962 * native/jni/native-lib/cpnet.c
7963 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7964 (waitForWritable, waitForReadable): New functions.
7965 (socketTimeouts): New static global table to hold timeouts for all
7967 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7968 Added waitForXXXX safeguards to handle socket timeouts.
7970 * native/jni/java-net/javanet.c
7971 (_javanet_accept): Check for the right error value when a timeout
7974 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7976 * native/jni/java-io/Makefile.am,
7977 native/jni/java-lang/Makefile.am,
7978 native/jni/java-net/Makefile.am,
7979 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7981 * native/jni/native-lib/Makefile.am: Added cpproc.c
7983 * native/jni/native-lib/cpio.c: Implemented missing functions for
7986 * native/jni/native-lib/cpnet.c
7987 (cpnet_getHostByName): Fixed address array initialization.
7989 * native/jni/native-lib/cpproc.c: Implemented.
7991 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7993 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7995 * m4/gcc_attribute.m4: New file from ac_archive.
7997 * native/jni/java-net/javanet.c: Adapted to cpnet API
8000 * native/jni/native-lib/cpnet.c: Implemented.
8002 * native/jni/native-lib/cpnet.h
8003 (cpnet_openSocketDatagram,
8004 cpnet_openSocketStream): These calls need an address family now.
8005 (cpnet_IPV4AddressToBytes,
8006 cpnet_bytesToIPV4Address): Convert the address to network order.
8008 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
8010 * native/jni/java-io/java_io_VMFile.c,
8011 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
8012 native/jni/midi-dssi/dssi_data.h,
8013 native/jni/native-lib/cpio.c,
8014 native/jni/native-lib/cpmath.h: Removed cpmath
8015 dependency. Fixed coding style.
8017 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
8019 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
8020 dependency. Simplified the JNI code by moving some part into the
8023 * native/jni/native-lib/cpproc.h: New interface to handle processes.
8025 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
8027 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8028 errors. Removed any remaining TARGET invocations.
8030 * native/jni/java-net/javanet.c
8031 (_javanet_create_inetaddress): Removed spurious arr and
8032 octets. Fixed compilation errors.
8034 * native/jni/native-lib/cpnet.h
8035 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8036 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8037 cpnet_isIPV4Address): New functions.
8038 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8041 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8043 * native/jni/java-io/java_io_VMFile.c,
8044 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8045 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8046 native/jni/java-net/javanet.c,
8047 native/jni/java-net/javanet.h: Adapted the VM layer code
8048 to the new native layer.
8050 * native/jni/native-lib/cpnet.h
8051 (cpnet_addMembership,
8052 cpnet_dropMembership,
8053 cpnet_getAvailableBytes): Added the declarations of
8055 (cpnet_newIPV6Address,
8056 cpnet_IPV6AddressToBytes,
8057 cpnet_bytesToIPV6Address): Implemented.
8058 (cpnet_newIPV4Address): Initialize the sin_family field.
8060 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8062 * native/target: Removed.
8064 * configure.ac: Removed target from CLASSPATH_INCLUDES and
8065 Makefile generation.
8067 * native/jni/native-lib/Makefile.am,
8068 native/jni/native-lib/cpnet.h,
8069 native/jni/native-lib/cpnet.c
8070 native/jni/native-lib/cpio.h,
8071 native/jni/native-lib/cpio.c,
8072 native/jni/native-lib/cpmath.h: Imported new native compatibility
8075 2006-08-21 Roman Kennke <kennke@aicas.com>
8077 * gnu/javax/swing/text/html/css/CSSParser.java:
8079 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8081 * gnu/javax/swing/text/html/css/CSSParserException.java:
8083 * gnu/javax/swing/text/html/css/CSSScanner.java:
8084 Adjusted API comments. Made all constants package private.
8085 (EOF): New constant field.
8086 (parseBuffer): Made package private.
8087 (tokenEnd): Made package private.
8088 (CSSScanner): Initialize lookahead buffer with -1.
8089 (main): Print out to System.out rather then System.err.
8090 (nextToken): Push back character after IDENT.
8092 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8094 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8096 2006-08-21 Roman Kennke <kennke@aicas.com>
8098 * gnu/javax/swing/text/html/css/CSSScanner.java
8099 (main): Use buffered input stream.
8100 (nextToken): Removed 65536 workaround. Use int value directly
8101 without cast to char.
8102 (readComment): Use int value directly without cast to char.
8103 Cast to char only when putting the character into the buffer.
8104 (readEscape): Likewise.
8105 (readIdent): Likewise.
8106 (readName): Likewise.
8107 (readNum): Likewise.
8108 (readString): Likewise.
8109 (readWhitespace): Likewise.
8111 2006-08-21 Ingo Proetel <proetel@aicas.com>
8113 * java/io/InputStreamReader.java
8114 (bytesCache): New field.
8115 (cacheLock): New field.
8116 (read(byte[],int,int): Avoid allocations of new byte
8117 array on every call and reuse cached byte array if possible.
8119 2006-08-21 Roman Kennke <kennke@aicas.com>
8121 * gnu/java/net/local/LocalSocketImpl.java
8122 Only load native lib if this is supported by runtime.
8123 * native/jni/java-net/local.c
8124 Include config.h unconditionally.
8125 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8126 Include config.h unconditionally.
8128 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8130 * java/io/ObjectInputStream.java
8131 (objectLookupTable): Changed to be a Vector.
8132 (ObjectInputStream): Initialize objectLookupTable as Vector.
8133 (assignNewHandle): Store Object using handle index rather than
8134 Hashtable, using the new rememberHandle() method.
8135 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8136 with a caching in ObjectStreamClass.
8137 (inputGetObjectStreamClass): Replaced by hierarchy().
8138 (lookupHandle): New method. Looks up an object by it's handle
8140 (parseContent): Avoid creating of Integer objects. Use
8141 hierarchy() method for looking up the class hierarchy.
8142 (processResolution): Use rememberHandle() to store
8143 handle per index, rather than Hashtabling the object.
8145 (rememberHandle): New method.
8146 * java/io/ObjectOutputStream.java
8147 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8148 Hashtable for improved lookup performance.
8149 (ObjectOutputStream): Initialize OIDLookupTable as
8150 ObjectIdentityMap2Int.
8151 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8152 (findHandle): Change to use ObjectIdentityMap2Int.
8153 (getBooleanField): Removed.
8154 (getByteField): Removed.
8155 (getCharField): Removed.
8156 (getDoubleField): Removed.
8157 (getField): Removed.
8158 (getFloatField): Removed.
8159 (getIntField): Removed.
8160 (getLongField): Removed.
8161 (getObjectField): Removed.
8162 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8163 (writeFields(Object,ObjectStreamField)): New helper method.
8164 Use switch rather then if-else cascade.
8165 (writeObject): Use int handle, rather then Integer.
8166 * java/io/ObjectStreamClass.java
8167 (hierarchy): New field. Caches the class hierarchy.
8168 (methodCache): New field. Caches methods.
8169 (readObjectSignature): New field. Stores the read signature.
8170 (uidCache): New field. Caches UIDs.
8171 (writeObjectSignature): New field. Stores the write signature.
8172 (cacheMethods): Cache methods in methodCache.
8173 (calculateClassID): Outsourced from getClassUID()
8174 for computing the UIDs.
8175 (getClassUIDFromField): Outsourced from getClassUID() for
8176 fetching the UID from the class field.
8177 (getClassUID): Use cached uid if possible. Use new helper
8178 methods for fetching the UID from the field or computing
8180 (getObjectStreamClasses): Removed. Replaced by more
8181 efficient hierarchy() method, that also caches the result.
8182 (hierarchy): Replaces getObjectStreamClasses() for caching
8184 (loadedByBootOrApplicationClassLoader): New helper method.
8185 (setClass): Invalidate hierarchy cache.
8186 (setSuperclass): Invalidate hierarchy cache.
8187 * java/io/ObjectStreamField.java
8188 (field): Made field package private for access from other
8190 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8191 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8192 hashtable for mapping objects to ints.
8194 2006-08-21 Roman Kennke <kennke@aicas.com>
8197 (getAbsolutePath): Fetch absolute path from
8198 VMFile.getAbsolutePath(). Moved actual impl to there.
8199 (isAbsolute): Let VMFile determine the absoluteness.
8200 (toURL): Let VMFile convert the filename.
8201 * vm/reference/java/io/VMFile.java
8202 (getAbsolutePath): New method.
8203 (isAbsolute): New method.
8204 (toURL): New method.
8206 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8208 * NEWS: Added note about updated VM interface.
8210 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8212 * java/lang/management/ManagementFactory.java:
8213 Updated documentation.
8215 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8218 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8220 * gnu/java/util/regex/CharIndexedCharSequence.java,
8221 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8223 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8224 (match): call the new method setHitEnd of the input,
8225 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8226 Some optimization commented out, Use CharIndexed#move1 instead of move.
8227 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8228 * gnu/java/util/regex/REToken.java(match): The method body has been
8229 moved to an internal private method, (matchFake): New method,
8230 (setHitEnd): New method.
8231 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8232 if the match is not complete, (matchOneString): Count the number of
8233 characters which matched the pattern.
8234 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8235 (setFake): New method, (match): Call super.match or super.matchFake.
8236 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8237 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8238 setHitEnd of the input,
8239 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8240 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8241 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8243 2006-08-18 Tom Tromey <tromey@redhat.com>
8245 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8246 the 'int', not the cast char.
8248 2006-08-18 Roger Sayle <roger@eyesopen.com>
8250 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8251 which isn't available in all shells.
8253 2006-08-18 Roger Sayle <roger@eyesopen.com>
8255 * lib/Makefile.am (resources): Fix some shell portability issues.
8257 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8259 * configure.ac (tool-wrappers): Check for ltdl support when tool
8260 wrapper binaries are enabled.
8261 * tools/Makefile.am (LIBJVM): Remove variable.
8262 (AM_CPPFLAGS): Add LIBJVM define.
8263 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8264 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8265 gjavah_LDFLAGS): Remove variables.
8266 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8268 2006-08-18 Tom Tromey <tromey@redhat.com>
8270 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8272 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8274 (readEntries): Likewise.
8276 2006-08-17 Roman Kennke <kennke@aicas.com>
8278 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8279 (layoutLabel): Reset the text and icon rectangles.
8281 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8284 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8285 Transform gappletviewer name using program_transform_name.
8287 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8289 * javax/swing/filechooser/FileSystemView.java
8290 (getFileSystemView): Always return UnixFileSystemView, since
8291 that's the only one we got. Marked with NotImplementedException.
8292 * javax/swing/plaf/basic/BasicFileChooserUI.java
8293 (mouseClicked, installUI): Don't parse path by hand.
8295 2006-08-17 Roman Kennke <kennke@aicas.com>
8297 * javax/swing/JComponent.java
8298 (scrollRectToVisible): Handle intermediate non-JComponents
8301 2006-08-17 Roman Kennke <kennke@aicas.com>
8303 * javax/swing/RepaintManager.java
8304 (blitBuffer): Removed. This is now done in commitBuffer().
8305 (commitBuffer): Always paint on the root window or applet.
8306 No need to look for intermediate heavyweights. Optimized
8307 rectangle translation.
8308 (commitRemainingBuffers): Removed. Not needed anymore.
8309 (getHeavyweightParent): Removed. Not needed anymore.
8310 (getOffscreenBuffer): Fetch offscreen image from the
8311 actual root component.
8312 (paintDirtyRegions): Don't call commitRemainingBuffers().
8314 2006-08-17 Roman Kennke <kennke@aicas.com>
8316 * javax/swing/SwingUtilities.java
8317 (clipString): New helper method for trimming strings.
8318 (layoutCompoundLabelImpl): Fixed algorithm to conform
8319 testsuites. Trim text if it's too long. Avoid creating
8320 new Rectangles. Optimized for performance.
8321 (layoutCompoundLabel): Use switch rather then if-else-chain.
8322 * javax/swing/plaf/basic/BasicButtonUI.java
8326 (paint): Reset and use cached rectangles. Only call paintIcon()
8327 if icon is not null. Don't call paintButtonPressed() when
8328 button is selected, only when it is both armed and pressed.
8329 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8330 (getPreferredButtonSize): Reused cached rectangles rather
8331 then creating new ones. Don't create new Rectangle via
8333 * javax/swing/plaf/basic/BasicLabelUI.java
8334 (getPreferredSize): Correctly reset cached rectangles. Especially
8335 the view rect must have a big size to give it room for layouting.
8336 Short cut layout when text == null.
8337 (paint): Correctly reset cached rectangles.
8338 * javax/swing/plaf/basic/BasicMenuItemUI.java
8339 (resetRectangles): New helper method.
8340 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8341 (paintMenuItem): Correctly reset the cached rectangles.
8342 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8343 (getPreferredSize): Use cached Rectangle objects and initialize
8345 (paint): Use cached Rectangle objects and initialize
8348 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8350 * java/util/Calendar.java: API doc additions.
8352 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8354 * javax/swing/DefaultButtonModel.java:
8355 (setRollover): Simplified statement.
8357 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8359 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8360 (loadClass): Rewritten to use getClassLoader.
8361 (loadProxyClass): Implemented.
8362 (getClassLoader): Fixed support for null or empty codebase.
8363 * gnu/java/rmi/server/RMIObjectInputStream.java
8364 (resolveClass): Use user class loader as default class loader.
8365 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8366 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8367 (loadClass): Simplified and use user class loader instead of
8368 context class loader as default.
8369 * java/io/ObjectInputStream.java
8370 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8371 * vm/reference/gnu/classpath/VMStackWalker.java
8372 (firstNonNullClassLoader): New method.
8373 * vm/reference/java/io/VMObjectInputStream.java
8374 (loaderAction, currentClassLoader): Removed.
8376 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8378 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8379 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8380 by current scroll offset, added method documention.
8381 (getTabBounds(int, Rectangle)): Added method documentation.
8382 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8383 (paintContentBorderLeftEdge): Changed y to 1.
8385 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8387 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8388 (MouseHandler.mouseReleased): Implemented.
8389 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8390 (MouseHandler.mouseEntered): Dito.
8391 (MouseHandler.mouseExited): Dito.
8392 (MouseHandler.mouseMoved): Dito.
8393 (MouseHandler.redispatchEvent): New method.
8394 (PropertyChangeHandler.propertyChange): Added extra block level,
8395 added code to handle tab placement changes, added comment.
8396 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8398 2006-08-16 Roman Kennke <kennke@aicas.com>
8400 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8401 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8404 2006-08-16 Mark Wielaard <mark@klomp.org>
8406 * java/awt/Component.java (orientation): Renamed to
8407 componentOrientation.
8408 (setComponentOrientation): Use new field name.
8409 (getComponentOrientation): Likewise.
8411 2006-08-16 Roman Kennke <kennke@aicas.com>
8414 * javax/swing/plaf/basic/BasicTreeUI.java
8415 (CellEditorHandler.editingCancelled): Call completeEditing
8417 (CellEditorHandler.editingStopped): Call completeEditing
8419 (NodeDimensionHandler.getNodeDimensions): Rewritten
8420 to use the preferred sizes of the renderer and editor.
8421 (TreeExpansionHandler.treeCollapsed): Complete editing
8423 (TreeSelectionHandler.valueChanged): Complete editing
8425 (cancelEditing): Call completeEditing with false, false and
8426 false. Don't call finish (removed method).
8427 (completeEditing(boolean,boolean,boolean): Only do something when
8428 stopEditingInCompleteEditing is true. Nullify editingComponent
8429 and editingPath. Remove editingComponent from tree. Update
8430 the layout when necessary and repaint.
8431 (completeEditing): Stop editing when necessary.
8432 (editorRequestFocus): New helper method. Request focus
8433 on the actual editor.
8434 (finish) Removed. This is now done in completeEditing().
8435 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8436 (setLargeModel): Complete editing here.
8437 (setRootVisible): Complete editing here.
8438 (setRowHeight): Complete editing here.
8439 (setSelectionModel): Complete editing here.
8440 (startEditing): Correctly initialize and start editing.
8441 (updateExpandedDescendants): Complete editing here.
8442 * javax/swing/tree/DefaultTreeCellEditor.java
8443 (DefaultTextField): Fetch size from super and use renderer's height
8445 (EditorContainer.EditorContainer): Set layout to null, just
8447 (EditorContainer.doLayout): Layout so that the editor
8448 is offset to the right of the icon.
8449 (EditorContainer.getPreferredSize): Implemented to
8450 provide a reasonable preferred size.
8451 (EditorContainer.paint): Position icon in the middle.
8452 Also paint border if appropriate.
8453 (EditorContainer.setBounds): Removed.
8454 (RealEditorListener): Removed.
8455 (DefaultTreeCellEditor): Set correct border.
8456 (cancelCellEditing): Message real editor. Call finish().
8457 (createCellEditor): Don't add listener.
8458 (determineOffset): Correctly determine offset, and update
8460 (finish): New helper method.
8461 (getTreeCellEditorComponent): Set correct font. Call
8462 prepareForEditing() and determineOffset() to correctly initialize
8464 (stopCellEditing): Messsage realEditor to stop editing. Call
8466 (stopEditingTimer): Removed.
8467 (valueChanged): Correctly reset lastPath.
8468 * javax/swing/tree/DefaultTreeCellRenderer.java
8469 (getPreferredSize): Return super plus some extra space for
8472 2006-08-16 Roman Kennke <kennke@aicas.com>
8474 * javax/swing/plaf/metal/MetalTreeUI.java
8475 (LineStyleListener): New property listener, that updates
8476 the line style setting if the corresponding property
8478 (lineStyleListener): New field.
8479 (lineStyle): New field.
8480 (LINE_STYLE_ANGLED): New constant field.
8481 (LINE_STYLE_HORIZONTAL): New constant field.
8482 (LINE_STYLE_NONE): New constant field.
8483 (LINE_STYLE_VALUE_ANGLED): New constant field.
8484 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8485 (LINE_STYLE_VALUE_NONE): New constant field.
8486 (LINE_STYLE_PROPERTY): New constant field.
8487 (decodeLineStyle): Implemented.
8488 (installUI): Install line style listener. Set initial
8490 (uninstallUI): Uninstall line style listener.
8491 (paintHorizontalPartOfLeg): Only call super for angled
8493 (paintVerticalPartOfLeg): Only call super for angled
8495 (paintHorizontalSeparators): Implemented.
8496 (paint): If lineStyle==HORIZONTAL, call
8497 paintHorizontalSeparators().
8498 * examples/gnu/classpath/examples/swing/TreeDemo.java
8499 (createContent): Add panel for selecting line styles.
8501 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8503 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8504 (createContent): Rewritten.
8505 (createPlacementChangingMenuItem): New method.
8506 (createLayoutPolicyChangingMenuItem): New method.
8507 (createTabbedPane): New method.
8508 (createTabContent): New method.
8510 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8512 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8513 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8514 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8516 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8518 * javax/swing/text/WrappedPlainView.java:
8519 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8520 (calculateBreakPosition): Add p0 to return value.
8522 2006-08-15 Roman Kennke <kennke@aicas.com>
8524 * javax/swing/plaf/basic/BasicTreeUI.java
8525 (MouseHandler.selectedOnPress): New field.
8526 (MouseHandler.handleEvent): New helper method for handling
8527 selection and start/stop editing for mouse events.
8528 (MouseHandler.mouseDragged): Commented as no-op method.
8529 (MouseHandler.mouseMoved): Commented as no-op method.
8530 (MouseHandler.mousePressed): Use handleEvent() to handle
8531 selection and editing handling.
8532 (MouseHandler.mouseReleased): Use handleEvent() to handle
8533 selection and editing handling.
8534 (MouseInputHandler.MouseInputHandler): Register itself
8535 as mouse listener on source. Redispatch event to
8537 (MouseInputHandler.dispatch): New helper method.
8538 (MouseInputHandler.mouseClicked): Dispatch event.
8539 (MouseInputHandler.mouseDragged): Dispatch event.
8540 (MouseInputHandler.mouseEntered): Stop dispatching
8541 if dragging stopped.
8542 (MouseInputHandler.mouseExited): Stop dispatching
8543 if dragging stopped.
8544 (MouseInputHandler.mouseMoved): Stop dispatching.
8545 (MouseInputHandler.mousePressed): Marked as no-op.
8546 (MouseInputHandler.mouseReleased): Dispatch and stop
8547 dispatching afterwards.
8548 (MouseInputHandler.removeFromSource): Implemented.
8549 (PropertyChangeHandler.propertyChange): Also handle
8550 editable property changes by calling setEditable().
8551 (SelectionModelPropertyChangeHandler.propertyChange):
8552 Reset row selection.
8553 (startEditTimer): Removed.
8554 (setCellEditor): Call updateEditor().
8555 (setEditable): Call updateEditor().
8556 (startEditingAtPath): Make path fully visible before starting
8558 (startEditing): Maybe cancel previous edit session. Add
8559 editing component itself, not its parent container.
8560 Register MouseInputHandler for correctly redispatching
8562 (stopEditing): Message cellEditor and only completeEditing()
8563 when approved by cell editor.
8564 (updateCellEditor): Complete editing before updating
8565 the cell editor. Get cell editor from JTree if possible,
8566 otherwise create default editor. Update the listeners
8568 * javax/swing/tree/DefaultTreeCellEditor.java
8569 (CLICK_COUNT_TO_START): Removed.
8570 (DefaultTreeCellEditor): Install correct border. Let setTree()
8571 update the listeners. Don't initialize lastPath and font yet.
8572 (actionPerformed): Implemented to start editing.
8573 (createTreeCellEditor): Set click count to start to 1, rather than
8575 (isCellEditable): Prepare editor here. Determine if we can
8576 start immediately, or if we trigger a timer to do so.
8577 (prepareForEditing): Don't removeAll() (not necessary),
8578 check editingComponent to be non-null.
8579 (setTree): Update listeners.
8580 (shouldStartEditingTimer): Check for left mouse button.
8581 (startEditingTimer): Lazily create timer.
8583 2006-08-15 Lillian Angel <langel@redhat.com>
8585 * java/awt/dnd/DropTargetDragEvent.java
8586 (getTransferable): Implemented.
8588 2006-08-15 Roman Kennke <kennke@aicas.com>
8590 * java/util/Vector.java
8591 (removeAll): Added comment about NPE.
8592 (retainAll): Added comment about NPE.
8594 2006-08-15 Roman Kennke <kennke@aicas.com>
8596 * java/util/zip/ZipFile.java
8597 (UTF8DECODER): Removed.
8598 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8599 (utf8Decoder): New instance field.
8600 (decodeChars): Lazily create UTF8 decoder. Use instance
8601 field rather than a static field to avoid corruption.
8603 2006-08-15 Roman Kennke <kennke@aicas.com>
8605 * java/io/PrintStream.java
8606 (line_separator): Provide default for system property.
8607 * java/io/FileDescriptor.java
8608 (valid): Create local copy of channel field for better
8611 2006-08-15 Ingo Proetel <proetel@aicas.com>
8613 * java/util/zip/ZipFile.java
8614 (PartialInputStream.UTF8DECODER): New constant field, used
8615 for decoding UTF8 strings.
8616 (readLeShort): Access buffer directly if it has enough bytes
8618 (readLeInt): Access buffer directly if it has enough bytes
8620 (decodeChars): New helper method for decoding UTF8 strings.
8621 (readString): Avoid NIO charset decoder if possible.
8623 2006-08-15 Roman Kennke <kennke@aicas.com>
8625 * java/util/Vector.java
8626 (removeAll): Don't explicitly null-check here. The RI allows
8627 null arguments when Vector is empty. In other cases we
8628 implicitly throw an NPE.
8629 (retainAll): Don't explicitly null-check here. The RI allows
8630 null arguments when Vector is empty. In other cases we
8631 implicitly throw an NPE.
8633 2006-08-14 Casey Marshall <csm@gnu.org>
8635 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8636 of changes made on this branch.
8638 * gnu/classpath/debug/Component.java
8639 * gnu/classpath/debug/SystemLogger.java
8640 * gnu/java/security/action/GetPropertyAction.java
8641 * gnu/java/security/action/GetSecurityPropertyAction.java
8642 * gnu/javax/crypto/RSACipherImpl.java
8643 * gnu/javax/net/ssl/PrivateCredentials.java
8644 * gnu/javax/net/ssl/provider/Alert.java
8645 * gnu/javax/net/ssl/provider/AlertException.java
8646 * gnu/javax/net/ssl/provider/Certificate.java
8647 * gnu/javax/net/ssl/provider/CertificateRequest.java
8648 * gnu/javax/net/ssl/provider/CertificateType.java
8649 * gnu/javax/net/ssl/provider/CertificateVerify.java
8650 * gnu/javax/net/ssl/provider/CipherSuite.java
8651 * gnu/javax/net/ssl/provider/ClientHello.java
8652 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8653 * gnu/javax/net/ssl/provider/CompressionMethod.java
8654 * gnu/javax/net/ssl/provider/Constructed.java
8655 * gnu/javax/net/ssl/provider/ContentType.java
8656 * gnu/javax/net/ssl/provider/DiffieHellman.java
8657 * gnu/javax/net/ssl/provider/Extension.java
8658 * gnu/javax/net/ssl/provider/Finished.java
8659 * gnu/javax/net/ssl/provider/Handshake.java
8660 * gnu/javax/net/ssl/provider/Jessie.java
8661 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8662 * gnu/javax/net/ssl/provider/Random.java
8663 * gnu/javax/net/ssl/provider/ServerHello.java
8664 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8665 * gnu/javax/net/ssl/provider/Signature.java
8666 * gnu/javax/net/ssl/provider/Util.java
8667 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8668 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8669 * java/security/MessageDigest.java
8670 * java/security/MessageDigestSpi.java
8671 * java/security/Signature.java
8672 * java/security/SignatureSpi.java
8673 * javax/crypto/Mac.java
8674 * javax/crypto/MacSpi.java
8675 * javax/net/ssl/HandshakeCompletedEvent.java
8676 * javax/net/ssl/HttpsURLConnection.java
8677 * javax/net/ssl/SSLContext.java
8678 * javax/net/ssl/SSLContextSpi.java
8679 * javax/net/ssl/SSLSession.java
8681 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8682 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8683 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8684 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8685 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8686 * gnu/javax/net/ssl/provider/ServerDHParams.java
8687 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8688 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8689 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8690 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8691 * gnu/javax/net/ssl/provider/ServerNameList.java
8692 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8693 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8694 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8695 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8696 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8697 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8698 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8699 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8700 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8701 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8702 * gnu/javax/net/ssl/provider/Record.java
8703 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8704 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8705 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8706 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8707 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8708 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8709 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8710 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8711 * gnu/javax/net/ssl/provider/ExtensionList.java
8712 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8713 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8714 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8715 * gnu/javax/net/ssl/provider/ServerHandshake.java
8716 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8717 * gnu/javax/net/ssl/provider/SessionImpl.java
8718 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8719 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8720 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8721 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8722 * gnu/javax/net/ssl/provider/HelloRequest.java
8723 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8724 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8725 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8726 * gnu/javax/net/ssl/provider/ClientHandshake.java
8727 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8728 * gnu/javax/net/ssl/provider/CertificateURL.java
8729 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8730 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8731 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8732 * gnu/javax/net/ssl/provider/Builder.java
8733 * gnu/javax/net/ssl/provider/Debug.java
8734 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8735 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8736 * gnu/javax/net/ssl/provider/DelegatedTask.java
8737 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8738 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8739 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8740 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8741 * javax/net/ssl/SSLEngine.java
8742 * javax/net/ssl/CertPathTrustManagerParameters.java
8743 * javax/net/ssl/KeyStoreBuilderParameters.java
8744 * javax/net/ssl/X509ExtendedKeyManager.java
8745 * javax/net/ssl/SSLEngineResult.java
8746 * gnu/javax/net/ssl/PreSharedKeyManager.java
8747 * gnu/javax/net/ssl/Session.java
8748 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8749 * gnu/javax/net/ssl/SSLCipherSuite.java
8750 * gnu/javax/net/ssl/AbstractSessionContext.java
8751 * gnu/javax/net/ssl/SessionStoreException.java
8752 * gnu/javax/net/ssl/SSLRecordHandler.java
8753 * gnu/javax/net/ssl/SSLProtocolVersion.java
8754 * gnu/javax/crypto/key/GnuPBEKey.java
8755 * gnu/java/security/util/ByteBufferOutputStream.java
8756 * gnu/java/security/Requires.java
8757 * gnu/javax/security/auth/callback/CertificateCallback.java
8759 * gnu/javax/net/ssl/provider/Context.java
8760 * gnu/javax/net/ssl/provider/DigestInputStream.java
8761 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8762 * gnu/javax/net/ssl/provider/Enumerated.java
8763 * gnu/javax/net/ssl/provider/Extensions.java
8764 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8765 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8766 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8767 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8768 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8769 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8770 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8771 * gnu/javax/net/ssl/provider/KeyPool.java
8772 * gnu/javax/net/ssl/provider/OverflowException.java
8773 * gnu/javax/net/ssl/provider/RecordInput.java
8774 * gnu/javax/net/ssl/provider/RecordInputStream.java
8775 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8776 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8777 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8778 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8779 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8780 * gnu/javax/net/ssl/provider/SSLSocket.java
8781 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8782 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8783 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8784 * gnu/javax/net/ssl/provider/SecurityParameters.java
8785 * gnu/javax/net/ssl/provider/Session.java
8786 * gnu/javax/net/ssl/provider/SessionContext.java
8787 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8788 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8790 2006-08-14 Roman Kennke <kennke@aicas.com>
8792 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8793 (DividerLayout.layoutContainer): Removed debug output.
8794 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8795 (BasicHorizontalLayoutManager.axis): New field.
8796 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8798 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8799 Call new axis constructor.
8800 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8802 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8804 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8805 Refactored to handle direction.
8806 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8807 to handle direction.
8808 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8810 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8811 to handle direction.
8812 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8813 to handle direction.
8814 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8815 to handle direction.
8816 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8818 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8819 New explicit constructor. Calls super with vertical axis.
8820 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8821 to BasicHorizontalLayoutManager.
8822 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8823 moved to BasicHorizontalLayoutManager.
8824 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8825 Functionality moved to BasicHorizontalLayoutManager.
8826 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8827 moved to BasicHorizontalLayoutManager.
8828 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8829 moved to BasicHorizontalLayoutManager.
8830 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8831 Functionality moved to BasicHorizontalLayoutManager.
8832 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8833 moved to BasicHorizontalLayoutManager.
8834 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8835 moved to BasicHorizontalLayoutManager.
8836 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8837 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8838 (BUTTON_SPRITE_R): New constant field.
8839 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8840 L sprite for left buttons.
8842 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8844 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8845 (query_formats): g_free 'name' after usage.
8846 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8847 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8849 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8852 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8855 2006-08-14 Francis Kung <fkung@redhat.com>
8858 * java/awt/image/ColorModel.java
8859 (coerceData): Added check for non-transparent images.
8861 2006-08-14 Francis Kung <fkung@redhat.com>
8863 * java/awt/image/BandCombineOp.java
8864 (BandCombineOp): Perform checks on validity of matrix.
8865 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8866 (filter): Updated to work with new matrix storage.
8867 (getMatrix): Updated javadoc.
8868 (getPoint2D): Formatting change.
8870 2006-08-14 Francis Kung <fkung@redhat.com>
8872 * java/awt/image/AffineTransformOp.java
8873 (AffineTransformOp): Updated javadoc.
8874 (createCompatibleDestImage): Match behaviour of reference implementation.
8875 (createCompatibleDestRaster): Formatting changes.
8876 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8877 (filter(Raster, WritableRaster)): Re-implemented.
8878 (filterBicubic): New private method.
8879 (filterBilinear): New private method.
8880 (filterNearest): New private method.
8881 (getBounds2D): No longer fixed around one point for rotations.
8882 (getInterpolationType): Add support for bicubic interpolation.
8884 2006-08-14 Roman Kennke <kennke@aicas.com>
8886 * javax/swing/plaf/metal/MetalLookAndFeel.java
8887 (MetalLookAndFeel): Moved theme initialization to
8889 (createDefaultTheme): Forward to getCurrentTheme().
8890 (getDefaults): Initialize theme before doing anything else.
8891 (getCurrentTheme): Recognize swing.metalTheme property.
8893 2006-08-14 Roman Kennke <kennke@aicas.com>
8895 * javax/swing/JTable
8896 (getScrollableUnitIncrement): Expose partially exposed
8897 row in scrolling direction.
8899 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8901 * javax/swing/JTable (getScrollableUnitIncrement):
8902 Removing my name as the whole method body have been
8903 recently completely replaced.
8905 2006-08-14 Roman Kennke <kennke@aicas.com>
8908 * javax/swing/text/Utilities.java
8909 (getTabbedTextOffset): Don't add p0 here.
8911 2006-08-14 Roman Kennke <kennke@aicas.com>
8914 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8915 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8916 when wheel is going up.
8918 2006-08-14 Roman Kennke <kennke@aicas.com>
8921 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8922 (BasicOneTouchButton): New inner class.
8923 (DividerLayout.changeButtonOrientation): Removed.
8924 (DividerLayout.positionButtons): Moved into layoutContainer.
8925 (DividerLayout.layoutContainer): Reworked for correct layout.
8926 (OneTouchAction): New inner class.
8927 (centerOneTouchButtons): New field.
8928 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8930 (createLeftOneTouchButton): Reimplemented to return
8931 BasicOneTouchButton.
8932 (createRightOneTouchButton): Reimplemented to return
8933 BasicOneTouchButton.
8934 (getPreferredSize): Reimplemented to return fixed preferredSize.
8935 (oneTouchExpandableChanged): Add OneTouchAction action to
8936 buttons. Don't install mouse listeners.
8937 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8938 (paint): Don't trigger extra paint for buttons.
8939 (propertyChange): Revalidate splitPane when orientation is changed.
8940 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8941 oneTouchExpandable is true.
8942 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8943 (installDefaults): Install dividerSize on the divider too.
8944 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8945 (MetalDividerLayout): Removed. Functionality is already
8946 in BasicSplitPaneDivider.DividerLayout.
8947 (MetalOneTouchButton): New inner class.
8948 (BUTTON_SPRITE): New constant field.
8949 (MetalSplitPaneDivider): Don't change layout.
8950 (createLeftOneTouchButton): Overridden to return custom button
8952 (createRightOneTouchButton): Overridden to return custom button
8954 (paint): Don't trigger button painting. Call super instead.
8956 2006-08-13 Roman Kennke <kennke@aicas.com>
8958 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8959 (installKeyboardAction): Unmarked as stub. Added comment
8960 explaining that the RI seems to do nothing here.
8961 (uninstallKeyboardAction): Unmarked as stub. Added comment
8962 explaining that the RI seems to do nothing here.
8964 2006-08-13 Roman Kennke <kennke@aicas.com>
8967 * javax/swing/ScrollPaneLayout.java
8968 (layoutContainer): Consider the viewportBorder of the
8970 (minimumLayoutSize): Consider the viewportBorder of the
8972 (preferredLayoutSize): Consider the viewportBorder of the
8974 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8975 (installDefaults): Also install viewportBorder if specified.
8976 (paint): Paint viewportBorder if present.
8977 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8978 Don't nullify foreground, background and font. Uninstall
8979 border via LookAndFeel helper method to avoid uninstall
8982 2006-08-13 Roman Kennke <kennke@aicas.com>
8985 * javax/swing/plaf/basic/BasicHTML.java
8986 (HTMLRootView.HTMLRootView): Trigger initial layout.
8987 (HTMLRootView.setSize): Overridden to forward to real view.
8988 * javax/swing/plaf/basic/BasicToolTipUI.java
8989 (PropertyChangeHandler): New inner class. Updates the HTML
8991 (propertyChangeHandler): New field.
8992 (getMaximumSize): Add HTML width delta.
8993 (getMinimumSize): Add HTML width delta.
8994 (getPreferredSize): Reimplemented to use HTML view for size
8995 calculation if appropriate, otherwise use simple stringWidth()
8997 (installListeners): Install propertyChangeHandler.
8998 (uninstallListeners): Uninstall propertyChangeHandler.
8999 (installUI): Update HTML renderer.
9000 (uninstallUI): Update HTML renderer.
9001 (paint): Reimplemented to use HTML view for rendering if
9002 appropriate, simple drawString otherwise.
9003 * javax/swing/plaf/metal/MetalToolTipUI.java
9004 (getPreferredSize): Call super and add accelerator delta.
9005 (paint): Simply call super.
9007 2006-08-13 Roman Kennke <kennke@aicas.com>
9009 * javax/swing/JMenu.java
9010 (changeListener): Renamed to menuChangeListener to avoid
9011 shadowing changeListener field from AbstractButton.
9013 2006-08-13 Roman Kennke <kennke@aicas.com>
9015 * javax/swing/JTree.java
9016 (getScrollableUnitIncrement): Fixed direction.
9017 (getScrollableBlockIncrement): Implemented to scroll one
9019 * javax/swing/tree/VariableHeightLayoutCache.java
9020 (distance): Consider y + height already outside the node.
9022 2006-08-13 Roman Kennke <kennke@aicas.com>
9024 * javax/swing/JTable.java
9025 (getScrollableUnitIncrement): Fixed direction. Make it behave
9027 (getScrollableBlockIncrement): Fixed direction. Make it behave
9030 2006-08-13 Roman Kennke <kennke@aicas.com>
9032 * javax/swing/JList.java
9033 (getScrollableUnitIncrement): Fixed direction. Implemented
9034 horizontal scrolling. Improved usability.
9035 (getScrollableBlockIncrement): Fixed direction. Improved usability.
9037 2006-08-13 Roman Kennke <kennke@aicas.com>
9039 * javax/swing/plaf/basic/BasicScrollBarUI.java
9040 (scrollByUnit): Scroll by -unit when direction is not positive
9041 and +unit otherwise.
9042 (scrollByBlock): Scroll by -unit when direction is not positive
9043 and +unit otherwise.
9045 2006-08-13 Roman Kennke <kennke@aicas.com>
9048 * javax/swing/text/PlainView.java
9049 (paint): Limit painted area to the lines inside the clip
9052 2006-08-13 Roman Kennke <kennke@aicas.com>
9054 * javax/swing/plaf/basic/BasicTextUI.java
9055 (uninstallListeners): Unregister document listener.
9057 2006-08-13 Sven de Marothy <sven@physto.se>
9059 * java/util/Locale.java
9060 (hashcodeCache): New field.
9061 (hashCode): use the above field instead of the serialized one
9062 (writeObject): Removed method.
9063 (readObject): Intern strings.
9064 (equals): Revert to previous method.
9066 2006-08-13 Roman Kennke <kennke@aicas.com>
9068 * javax/swing/JTabbedPane.java
9069 (JTabbedPane): Call setModel() here and let this install the
9070 change listener correctly.
9071 (setModel): Correctly uninstall and reinstall ChangeListener when
9074 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9077 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9078 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9079 (lastDefaultLocale): Removed.
9080 (emptyLocale): Likewise.
9081 (BundleKey.defaultLocale): New field.
9082 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9083 (BundleKey.set): Likewise.
9084 (BundleKey.equals): Take defaultLocal field into consideration.
9085 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9087 2006-08-13 Roman Kennke <kennke@aicas.com>
9089 * javax/swing/JMenu.java
9090 (MenuChangeListener): New inner class, helps firing menu events.
9091 (changeListener): New field.
9092 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9093 (add(Action)): Create Action using createActionComponent()
9094 and add via add(Component).
9095 (setModel): Install and uninstall MenuChangeListener here.
9097 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9100 * java/math/BigInteger.java: Updated copyright year.
9101 (init): Consume as little bytes as possible.
9102 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9103 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9104 as per RI's documentation.
9106 2006-08-13 Sven de Marothy <sven@physto.se>
9108 * java/util/Locale.java
9109 (hashcode): Is a serialized field, not transient.
9110 (equals): Should NOT compare strings by reference.
9111 (readObject/writeObject): Use the default methods and handle the hash
9114 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9117 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9118 Updated documentation.
9120 (getInstance(String, String, Provider, Object[])): Likewise.
9121 Separate checks for null and empty string arguments.
9122 Include as much information as possible in the exception's message.
9123 Do not swallow original exception; instead use it as the cause of the
9124 resulting exception.
9125 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9126 (getInstance(String)): Updated documentation.
9128 Store last exception caught when iterating through all providers.
9129 If no implementation found, raise last exception if one was caught.
9130 (getInstance(String, String)): Updated documentation.
9132 Check for null or empty provider as per RI-5's documentation.
9133 (getInstance(String, Provider)): Updated documentation.
9135 Use as much information as possible in the exception message.
9136 Do not swallow original exception; instead use it as the cause for the
9137 ultimate raised exception(s).
9138 * java/security/cert/CertificateFactory.java: Likewise.
9139 * java/security/cert/CertPathBuilder.java: Likewise.
9140 * java/security/cert/CertPathValidator.java: Likewise.
9141 * java/security/cert/CertStore.java: Likewise.
9142 * java/security/AlgorithmParameterGenerator.java: Likewise.
9143 * java/security/AlgorithmParameters.java: Likewise.
9144 * java/security/KeyFactory.java: Likewise.
9145 * java/security/KeyPairGenerator.java: Likewise.
9146 * java/security/KeyStore.java: Likewise.
9147 * java/security/MessageDigest.java: Likewise.
9148 * java/security/SecureRandom.java: Likewise.
9149 * java/security/Signature.java: Likewise.
9150 * javax/crypto/Cipher.java: Likewise.
9151 * javax/crypto/ExemptionMechanism.java: Likewise.
9152 * javax/crypto/KeyAgreement.java: Likewise.
9153 * javax/crypto/KeyGenerator.java: Likewise.
9154 * javax/crypto/Mac.java: Likewise.
9155 * javax/crypto/SecretKeyFactory.java: Likewise.
9156 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9157 * javax/net/ssl/SSLContext.java: Likewise.
9158 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9160 2006-08-13 Roman Kennke <kennke@aicas.com>
9162 * javax/swing/JEditorPane.java
9163 (getScrollableTracksViewportHeight): Also check maximum size.
9164 * javax/swing/JTextPane.java
9165 (insertIcon): Use input attributes for adding the icon
9167 * javax/swing/plaf/basic/BasicTextUI.java
9168 (RootView.setSize): Overridden to forward to real view.
9169 (getPreferredSize): Trigger setSize() on the view.
9170 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9171 to viewToModel() call, rather then null.
9172 * javax/swing/text/ParagraphView.java
9173 (changedUpdate): Invalide layout. Call super.
9174 * javax/swing/text/SimpleAttributeSet.java
9175 (clone): Use super's clone method to create clone.
9176 * javax/swing/text/StyleConstants.java
9177 (setIcon): Also set element name attribute.
9178 * javax/swing/text/StyledEditorKit.java
9179 (BoldAction.actionPerformed): Actually set the bold attribute,
9181 (setCharacterAttributes): Replaced with more straightforward
9183 * javax/swing/text/TextAction.java
9184 (getFocusedComponent): Implemented.
9185 * javax/swing/text/Utilities.java
9186 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9188 * javax/swing/text/View.java
9189 (changedUpdate): Nullify element change when updateChildren
9192 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9194 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9195 Fix documentation typos.
9197 2006-08-11 David Daney <ddaney@avtrex.com>
9200 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9201 createResponseBodyStream in more cases and with new parameter.
9202 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9203 HEAD and !mayHaveBody responses specially.
9205 2006-08-11 Roman Kennke <kennke@aicas.com>
9207 * javax/swing/text/GlyphView.java
9208 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9209 * javax/swing/text/LabelView.java
9210 (valid): New flag indicating if the text attributes are valid.
9211 (LabelView): Initialize valid field with false.
9212 (setPropertiesFromAttributes): Call setter methods instead
9213 of setting properties directly. Set valid to true.
9214 (changedUpdate): Invalidate attributes. Call super.
9215 (getBackground): Sync attributes if necessary.
9216 (getForeground): Sync attributes if necessary.
9217 (getFont): Sync attributes if necessary.
9218 (isUnderline): Sync attributes if necessary.
9219 (isSuperscript): Sync attributes if necessary.
9220 (isStrikeThrough): Sync attributes if necessary.
9221 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9222 from toolkit if Container is not available yet.
9224 2006-08-11 Roman Kennke <kennke@aicas.com>
9226 * javax/swing/text/PlainView.java
9227 (tabBase): New field.
9228 (tabSize): New field.
9229 (updateMetrics): Update tabSize.
9230 (lineToRect): Only allocate when really necessary.
9231 (modelToView): Use tabBase for offset calculations.
9232 (paint): Only allocate when really necessary. Update tabBase.
9233 (nextTabStop): Fixed tab calculation.
9234 (viewToModel): Correctly handle multiline text and locations
9235 outside the view's bounds. Set bias.
9236 (getLineLength): Use tabBase.
9237 * javax/swing/text/Utilities.java
9238 (drawTabbedText): Don't special case newlines. The views
9239 must take care of this.
9241 2006-08-11 Roman Kennke <kennke@aicas.com>
9243 * javax/swing/text/GapContent.java
9244 (UndoPosRef): New inner class. Used for resetting positions
9245 after undo/redo operations.
9246 (InsertUndo.positions): New field.
9247 (InsertUndo.undo): Store positions in removed range.
9248 (InsertUndo.redo): Restore positions in re-inserted range.
9249 (UndoRemove.positions): New field.
9250 (UndoRemove.UndoRemove): Store positions in removed range.
9251 (UndoRemove.undo): Restore positions in re-inserted range.
9252 (UndoRemove.redo): Store positions in removed range.
9253 (insertString): Create InsertUndo instance before actually
9254 inserting the string.
9255 (remove): Create UndoRemove instance before actually
9257 (getPositionsInRange): Don't clear the Vector. Return Vector
9259 (updateUndoPositions): Implemented to reset all UndoPosRefs
9262 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9264 * java/io/ObjectInputStream.java (readClassDescriptor):
9265 Use class's class loader to resolve field types.
9266 * java/io/ObjectStreamField.java
9267 (ObjectStreamField(String,String,ClassLoader)): Removed.
9268 (ObjectStreamField(String,String)): Don't try to resolve typename.
9269 (resolveType): New method.
9271 2006-08-10 Roman Kennke <kennke@aicas.com>
9273 * javax/swing/text/BoxView.java
9274 (calculateMajorAxisRequirements): Sum up the preferred and
9276 (isAfter): Also add in the rectangle's with/height.
9277 (childAllocation): Don't trigger layout here.
9278 (layoutMinorAxis): Removed debug output.
9279 (getWidth): Consider the insets.
9280 (getHeight): Consider the insets.
9281 (setSize): Consider the insets.
9282 (updateRequirements): Check axis and throw
9283 IllegalArgumentException.
9285 2006-08-10 Roman Kennke <kennke@aicas.com>
9287 * javax/swing/text/AbstractDocument.java
9288 (BidiRootName): New constant field, denotes the element name
9289 for bidi root elements.
9290 (AsyncLoadPriority): New constant field, denotes the property
9291 to store the asynchronousLoadPriority.
9292 (I18N): New constant field, denotes the property for
9294 (bidiRoot): Made field type BidiRootElement.
9295 (AbstractDocument): Build initial element structure for
9297 (getAsynchronousLoadPriority): Implemented. Returns the
9298 value stored in the document properties.
9299 (setAsynchronousLoadPriority): Implemented. Sets the
9300 value stored in the document properties.
9301 (getEndPosition): Implemented to use a Position from the
9303 (getStartPosition): Implemented to use a Position from the
9305 (insertStringImpl): Update the I18N setting if necessary.
9306 (insertUpdate): Update the bidi structure if necessary.
9307 (postRemoveUpdate): Update the bidi structure if necessary.
9308 (putProperty): Update the I18N setting and bidi structure
9310 (updateBidi): New helper method for updating the bidi
9312 (getBidis): New helper method. Fetches the Bidi analysers
9313 for the paragraphs of the range to check.
9314 (dump): Also dump the bidi structure.
9315 (AbstractElement.dump): Indent the '>' correctly.
9316 (AbstractElement.children): Check numChildren rather then
9318 (BidiRootElement): New inner class.
9319 (BidiElement): New inner class.
9321 2006-08-10 Roman Kennke <kennke@aicas.com>
9323 * javax/swing/text/GapContent.java
9324 (getChars): Optimized to only copy array when really necessary.
9325 Respect the partialReturn property.
9327 2006-08-10 Lillian Angel <langel@redhat.com>
9329 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9330 (getComponentPeer): Added check to prevent NPE.
9332 2006-08-10 Gary Benson <gbenson@redhat.com>
9334 * java/security/AccessControlContext.java (<init>):
9335 Avoid a duplicated AccessController.getContext() call.
9337 2006-08-09 Mark Wielaard <mark@klomp.org>
9339 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9340 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9341 * doc/www.gnu.org/announce/20060809.wml: New file.
9343 2006-08-09 Mark Wielaard <mark@klomp.org>
9345 * configure.ac (VERSION): Set to 0.92-generics.
9346 * NEWS: Add updates for 0.92 release.
9348 2006-08-09 Tom Tromey <tromey@redhat.com>
9351 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9352 the pattern match any number of spaces in the text.
9354 2006-08-09 Sven de Marothy <sven@physto.se>
9356 * java/awt/image/BufferedImage.java
9357 (BufferedImage): Reimplement predefined-type constructor.
9358 (observers/tileObservers): Field renamed to tileObservers.
9359 (createDefaultIndexedColorModel): New method.
9361 2006-08-09 Tom Tromey <tromey@redhat.com>
9364 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9365 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9366 Create a 'short' array.
9368 2006-08-09 Tom Tromey <tromey@redhat.com>
9370 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9372 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9373 (writeFields): Print "L" after int constant. Don't mangle the field
9374 name. Only print int/long fields.
9376 2006-08-09 Tom Tromey <tromey@redhat.com>
9378 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9381 2006-08-09 Sven de Marothy <sven@physto.se>
9383 * javax/swing/JTree.java
9384 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9385 (setSelectionModel): Null parameter should create an EmptySelectionM.
9387 2006-08-09 Roman Kennke <kennke@aicas.com>
9389 * javax/swing/text/AbstractDocument.java
9390 (insertString): Perform modifications inside a write lock.
9391 (insertStringImpl): Don't lock here. This is already done
9393 (replace): Perform modifications inside a write lock.
9394 (AbstractElement.AbstractElement): Call addAttributes() to
9396 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9397 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9398 (BranchElement.BranchElement): Set lastIndex to -1.
9399 (BranchElement.getElementIndex): Implemented more efficient
9402 2006-08-09 Roman Kennke <kennke@aicas.com>
9404 * javax/swing/text/DefaultStyledDocument.java
9405 (Edit): Moved this inner class into ElementBuffer where it
9407 (edits): Moved this field into ElementBuffer.
9408 (getEditForParagraphAndIndex): Removed obsolete method.
9409 (insertUpdate): Added some optimizations and fixes. Split
9410 out handling insertion after newlines.
9411 (insertAfterNewline): New helper method. Handles insertions
9413 (ElementBuffer.Edit): New inner class. Moved here from
9414 DefaultStyledDocument.
9415 (ElementBuffer.createdFracture): New field.
9416 (ElementBuffer.documentEvent): Made private.
9417 (ElementBuffer.edits): New field. Moved here from
9418 DefaultStyledDocument.
9419 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9420 (ElementBuffer.fracturedChild): New field.
9421 (ElementBuffer.fracturedParent): New field.
9422 (ElementBuffer.insertPath): New field.
9423 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9425 (ElementBuffer.offsetLastIndex): New field.
9426 (ElementBuffer.offsetLastIndexReplace): New field.
9427 (ElementBuffer.recreateLeafs): New field.
9428 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9429 (ElementBuffer.canJoin): New helper method.
9430 (ElementBuffer.changeUpdate): Changed to use elementStack with
9431 Edits rather than Elements. Let the split method do the work.
9432 (ElementBuffer.cloneAsNecessary): New helper method.
9433 (ElementBuffer.createFracture): Changed to fracture the bottommost
9435 (ElementBuffer.finishEdit): New helper method. Moved out
9436 from insertUpdate to perform the actual changes and update
9438 (fracture): New helper method.
9439 (insertContentTag): Fixed some bugs and changed to use Edit
9440 instances in the stack, rather then Elements.
9441 (insertElement): New helper method. Moved out from insertUpdate()
9442 to process the ElementSpecs.
9443 (insertFirstContentTag): Fixed some problems and changed to use Edit
9444 instances in the stack, rather then Elements.
9445 (insertFracture): Removed. Basically moved into createFracture()
9447 (insertParagraph): Removed.
9448 (insertUpdate): Split out the ElementSpec processing into
9449 insertElement(). Use Edit instances in the stack. Fixed some
9451 (insert): Split out the preparation and finishing code into
9452 prepareEdit() and finishEdit().
9453 (join): New helper method.
9454 (pop): New helper method.
9455 (prepareEdit): New helper method.
9456 (recreateFracturedElement): New helper method.
9457 (recreateLeaves): Removed.
9458 (recreate): New helper method.
9459 (removeElements): New helper method. Split out from removeUpdate().
9460 (removeUpdate): Split out the actual removal. Use the
9461 Edit stack to perform removal and perform the remove actions
9462 and event updates afterwards, just like in insertImpl().
9463 (remove): Use prepareEdit() and finishEdit().
9464 (split): Replaced with more flexible impl.
9466 2006-08-09 Sven de Marothy <sven@physto.se>
9468 * gnu/java/awt/peer/gtk/CairoSurface.java
9469 Change class to extend WritableRaster and not DataBuffer.
9470 (CairoDataBuffer): New inner class.
9471 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9472 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9473 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9474 Accomodate the above change.
9476 2006-08-09 Sven de Marothy <sven@physto.se>
9478 * gnu/java/awt/peer/gtk/GtkMainThread.java
9480 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9481 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9482 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9483 * gnu/java/awt/peer/gtk/GtkToolkit.java
9484 Minor style fixes; removed unused fields,
9485 set fields to private where possible.
9486 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9487 Call GtkMainThread.createWindow().
9488 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9489 (dispose): New method.
9490 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9491 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9492 (gtkQuit): New native method.
9494 2006-08-08 Lillian Angel <langel@redhat.com>
9496 * java/awt/Component.java
9497 (setDropTarget): Added check.
9499 2006-08-08 Lillian Angel <langel@redhat.com>
9501 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9502 (GtkDragSourceContextPeer): Added FIXME. Changed call
9504 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9505 (GtkDropTargetContextPeer): Removed target initialization.
9506 * java/awt/Component.java
9507 (setTarget): Removed commented out code.
9509 2006-08-08 Mark Wielaard <mark@klomp.org>
9511 * javax/swing/text/DefaultHighlighter.java: Qualify
9512 Highlighter.HighlightPainter class name for gcj.
9514 2006-08-05 Roman Kennke <kennke@aicas.com>
9516 * javax/swing/plaf/basic/BasicTableUI.java
9517 (MouseInputHandler.mousePressed): Request focus on list
9520 2006-08-05 Roman Kennke <kennke@aicas.com>
9522 * javax/swing/plaf/basic/BasicListUI.java
9523 (MouseInputHandler.mousePressed): Request focus on list
9526 2006-08-05 Roman Kennke <kennke@aicas.com>
9529 * javax/swing/plaf/basic/BasicMenuBarUI.java
9530 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9531 than Tree.actionMap.
9532 * javax/swing/plaf/basic/BasicTreeUI.java
9533 (action): Removed obsolete field.
9534 (uninstallKeyboardActions): Removed action field handling.
9535 (installKeyboardActions): Removed action field handling.
9536 (createDefaultActions): Don't install removed TreeAction.
9537 (TreeAction): Removed obsolete inner class.
9538 (ActionListenerProxy): Removed obsolete inner class.
9539 (MouseHandler.mousePressed): Request focus on JTree component
9542 2006-08-08 Roman Kennke <kennke@aicas.com>
9544 * javax/swing/plaf/basic/BasicListUI.java
9545 (MouseInputHandler.mousePressed): Request focus on list
9548 2006-08-08 Roman Kennke <kennke@aicas.com>
9550 * javax/swing/plaf/basic/BasicTableUI.java
9551 (MouseInputHandler.mousePressed): Request focus on list
9554 2006-08-08 Roman Kennke <kennke@aicas.com>
9556 * javax/swing/plaf/basic/BasicTextUI.java
9557 (damageRange(JTextComponent,int,int)): Call damageRange() with
9558 correct biases, rather than null.
9559 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9560 to use simpler modelToView() approach without much special
9561 casing. This seems not worth the effort and actually
9562 caused problems. Added locking of the document.
9563 * javax/swing/text/BoxView.java
9564 (requirementsValid): New field.
9565 (calculateMajorAxisRequirements): Rewritten without using
9566 SizeRequirements. The SizeRequirements algorithms are slightly
9567 different and too inefficient.
9568 (calculateMinorAxisRequirements): Rewritten without using
9569 SizeRequirements. The SizeRequirements algorithms are slightly
9570 different and too inefficient.
9571 (getAlignment): Simply return the alignment of the cached
9573 (getMaximumSpan): Add insets.
9574 (getMinimumSpan): Add insets.
9575 (getPreferredSpan): Add insets.
9576 (layoutMajorAxis): Rewritten without using
9577 SizeRequirements. The SizeRequirements algorithms are slightly
9578 different and too inefficient.
9579 (layoutMinorAxis): Rewritten without using
9580 SizeRequirements. The SizeRequirements algorithms are slightly
9581 different and too inefficient.
9582 (modelToView): Call setSize() rather than layout().
9583 (paint): Check clip for more efficient painting.
9584 (preferenceChanged): Invalidate requirements here.
9585 (replace): Invalidate requirements here.
9586 (updateRequirements): Update requirements only when requirements
9588 * javax/swing/text/CompositeView.java
9589 (modelToView): Added some more checks and handling of corner cases.
9590 * javax/swing/text/FlowView.java
9591 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9592 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9593 * javax/swing/text/IconView.java
9594 (getAlignment): Implemented to return 1.0 for vertical alignment.
9595 * javax/swing/text/ParagraphView.java
9596 (Row.getMaximumSpan): Implemented to let Rows span the whole
9598 (getAlignment): Fixed horizontal alignment and vertical alignment
9599 for empty paragraphs to be 0.5.
9601 2006-08-08 Roman Kennke <kennke@aicas.com>
9603 * javax/swing/text/View.java
9604 (modelToView): Added special handling for corner case at the end
9605 of the view and for multiline views.
9607 2006-08-08 Roman Kennke <kennke@aicas.com>
9609 * javax/swing/plaf/basic/BasicTextUI.java
9610 (modelToView): Read-lock the document. Set size of the
9611 root view before fetching the model-to-view mapping.
9612 (getViewIndex): Check of the position is inside the range and
9613 return -1 if this is not the case.
9614 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9616 (getViewIndexAtPosition(int)): Delegate the index search to
9617 the element since we have a 1:1 mapping between elements and
9619 * javax/swing/text/DefaultCaret.java
9620 (appear): Ignore BadLocationException.
9621 (paint): Ignore BadLocationException.
9622 * javax/swing/text/FlowView.java
9623 (changedUpdate): Also notify the layoutPool view.
9624 (removeUpdate): Also notify the layoutPool view.
9625 * javax/swing/text/ParagraphView.java
9626 (Row.getViewIndexAtPosition): Overridden to search linearily
9627 through the view instead of relying on a 1:1 model to view
9629 * javax/swing/text/View.java
9630 (removeUpdate): Clear ElementChange object if updateChildren
9632 (forwardUpdate): Special handle some boundary cases.
9634 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9636 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9637 (hasInheritedParameters): New method.
9638 (equals): Updated documentation.
9639 Take into consideration the outcome of hasInheritedParameters invocation.
9640 (toString): Call hasInheritedParameters and adjust the result accordingly.
9641 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9642 Updated documentation.
9643 Handle case of public keys with null p, q, and g MPIs.
9644 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9646 2006-08-07 Tom Tromey <tromey@redhat.com>
9649 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9650 (attachment): Likewise.
9651 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9653 (isValid): Likewise.
9654 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9656 (interestOps): Synchronize.
9657 (readyOps): Likewise.
9658 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9661 2006-08-07 C. Scott Marshall <csm@gnu.org>
9664 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9665 the mark has been set.
9666 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9667 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9670 2006-08-07 Sven de Marothy <sven@physto.se>
9672 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9673 (drawGlyphVector): Synchronize against font object when drawing.
9674 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9675 (nativeDrawGlyphVector): Use pango locking when drawing.
9676 (install_font_peer): Use pango locking when creating the cairo face.
9678 2006-08-06 Roman Kennke <kennke@aicas.com>
9681 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9682 (getPreferredSize): Renamed method to preferredSize(). That's
9683 the one that gets called from java.awt.*.
9684 * java/awt/peer/ComponentPeer.java
9685 (getPreferredSize): Added specnote about this method never
9686 beeing called in the RI.
9687 (getMinimumSize): Added specnote about this method never
9688 beeing called in the RI.
9690 2006-08-03 Sven de Marothy <sven@physto.se>
9692 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9693 (grab, nativeGrab): New methods.
9694 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9695 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9696 (nativeGrab): New method.
9697 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9699 * java/awt/Component.java
9700 (printAll): Should call peer print method.
9702 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9704 * java/net/URL.java (getContent(Class[])): Implement.
9706 2006-08-06 Mark Wielaard <mark@klomp.org>
9709 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9710 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9712 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9715 2006-08-06 Roman Kennke <kennke@aicas.com>
9717 * NEWS: Added note about the X peers.
9718 * INSTALL: Added install notes about the X peers.
9720 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9721 Paul Jenner <psj@harker.dyndns.org>
9723 * README: Update bug, patches and cvs instructions plus new URLs of
9724 various external projects.
9726 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9728 * configure.ac (MOZILLA_FOUND): Fall back to
9729 mozilla-firefox-plugin.
9731 2006-08-06 Mario Torre <neugens@limasoftware.net>
9733 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9734 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9735 g_type_init earlier in function to correctly initialize the
9736 type system used by the backend.
9738 2006-08-05 Roman Kennke <kennke@aicas.com>
9740 * javax/swing/text/DefaultHighlight.java
9741 (DefaultHighlightPainter.paintHighlight): Removed method.
9742 (DefaultHighlightPainter.paintLayer): Implemented.
9743 (DefaultHighlightPainter.paint): Implemented more efficient
9744 painting for multiline-highlights.
9745 (HighlightEntry.p0): Changed to be a Position.
9746 (HighlightEntry.p1): Changed to be a Position.
9747 (HighlightEntry.HighlightEntry): Changed to take Position
9749 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9750 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9751 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9752 and tracks the painted rectangle for efficient repainting.
9753 (addHighlight): Handle layered highlight.
9754 (changeHighlight): Handle layered highlight.
9755 (paintLayeredHighlights): Implemented.
9756 (paint): Paint only non-layered highlights here.
9757 (removeAllHighlights): Trigger correct repaint.
9758 (removeHighlight): Handle layered highlight here for
9759 more efficient repainting.
9760 * javax/swing/text/GlyphView.java
9761 (paint): Handle layered highlights.
9762 * javax/swing/text/PlainView.java
9763 (paint): Handle layered highlights.
9764 * javax/swing/text/WrappedPlainView.java
9765 (WrappedLine.paint): Handle layered highlights.
9767 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9770 * NEWS: As suggested by Paul Jennier, added note about the fix of
9773 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9775 * NEWS: Added entry about the context factories for JNDI.
9777 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9780 * gnu/CORBA/Connected_objects.java (size): New method.
9781 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9783 * javax/naming/spi/NamingManager.java (getURLContext):
9784 Also search for the URL context factories in
9785 gnu/javax/naming/jndi/url.
9786 * gnu/javax/naming/giop/ContextContinuation.java,
9787 gnu/javax/naming/giop/CorbalocParser.java,
9788 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9789 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9790 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9791 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9792 gnu/javax/naming/giop/ListEnumeration.java,
9793 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9794 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9795 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9796 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9797 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9798 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9799 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9800 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9802 2006-08-06 Sven de Marothy <sven@physto.se>
9804 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9805 (drawGlyphVector): Synchronize against font object when drawing.
9806 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9807 (nativeDrawGlyphVector): Use pango locking when drawing.
9808 (install_font_peer): Use pango locking when creating the cairo face.
9810 2006-08-06 C. Scott Marshall <csm@gnu.org>
9813 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9814 the mark has been set.
9815 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9816 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9819 2006-08-06 Mark Wielaard <mark@klomp.org>
9822 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9823 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9825 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9828 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9829 Paul Jenner <psj@harker.dyndns.org>
9831 * README: Update bug, patches and cvs instructions plus new URLs of
9832 various external projects.
9834 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9836 * gnu/java/lang/management/BeanImpl.java:
9837 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9839 (getCachedMBeanInfo()): Return open variant.
9840 (getMBeanInfo()): Likewise.
9841 (getTypeFromClass(Class)): Implemented.
9842 (translateSignature(MBeanParameterInfo)): Likewise.
9843 (translate(String)): Likewise.
9844 * javax/management/StandardMBean.java:
9845 (getMBeanInfo()): Return attribute names with capital letters,
9846 as in docs for java.lang.management.ManagementFactory, and
9847 ensure descriptions are not "".
9848 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9849 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9850 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9851 (toString()): Use Arrays.toString().
9852 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9853 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9854 Set open type here rather than in other constructors.
9856 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9858 * javax/management/MBeanFeatureInfo.java:
9859 Make string variable package-private.
9860 * javax/management/StandardMBean.java:
9861 (getMBeanInterface()): Made final.
9862 * javax/management/openmbean/SimpleType.java:
9865 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9867 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9870 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9872 * examples/gnu/classpath/examples/swing/FillRect.java,
9873 * gnu/CORBA/Focused_ORB.java,
9874 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9875 * gnu/classpath/ByteArray.java,
9876 * gnu/classpath/ObjectPool.java,
9877 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9878 * gnu/java/awt/peer/x/fonts.properties,
9879 * gnu/java/security/util/Prime2.java,
9880 * gnu/javax/imageio/gif/GIFStream.java,
9881 * javax/swing/text/html/HTMLTableView.java,
9882 * native/cni/Makefile.am,
9883 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9884 * org/omg/CORBA/SendingContext/Runtime.java,
9885 * resource/gnu/regexp/MessagesBundle.properties,
9886 * resource/gnu/regexp/MessagesBundle_fr.properties,
9887 * resource/gnu/regexp/MessagesBundle_it.properties,
9888 * tools/appletviewer.in,
9889 * tools/jarsigner.in,
9891 * vm/reference/java/lang/management/VMThreadInfo.java:
9893 * examples/gnu/classpath/examples/awt/aicas.png,
9894 * examples/gnu/classpath/examples/awt/palme.gif,
9895 * examples/gnu/classpath/examples/java2d/aicas.png,
9896 * examples/gnu/classpath/examples/java2d/palme.gif,
9897 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9898 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9899 * java/awt/doc-files/capjoin.png,
9900 * java/awt/geom/doc-files/Area-1.png,
9901 * java/awt/geom/doc-files/Ellipse-1.png,
9902 * java/awt/geom/doc-files/GeneralPath-1.png:
9905 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9910 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9912 * gnu/java/lang/management/BeanImpl.java:
9913 (getAttribute(String)): Implemented.
9915 2006-08-05 Roman Kennke <kennke@aicas.com>
9917 * javax/swing/text/JTextComponent.java
9918 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9919 (AccessibleJTextComponent.textComp): Removed field
9920 and replace with JTextComponent.this construct.
9921 (AccessibleJTextComponent.AccessibleJTextComponent):
9922 Fetch caret position.
9923 (caretUpdate): Implemented. Fires property change events and
9924 updates the caretDot field.
9925 (changedUpdate): Implemented. Fires property change events.
9926 (insertUpdate): Implemented. Fires property change events.
9927 (removeUpdate): Implemented. Fires property change events.
9928 (cut): Replaced textComp with JTextComponent.this construct.
9929 (paste): Replaced textComp with JTextComponent.this construct.
9930 (replaceText): Replaced textComp with JTextComponent.this construct.
9931 (selectText): Replaced textComp with JTextComponent.this construct.
9932 (getCaretPosition): Replaced textComp with JTextComponent.this
9934 (getCharCount): Replaced textComp with JTextComponent.this construct.
9935 (getSelectedText): Replaced textComp with JTextComponent.this
9937 (getSelectionEnd): Replaced textComp with JTextComponent.this
9939 (getSelectionStart): Replaced textComp with JTextComponent.this
9941 (getTextRange): Replaced textComp with JTextComponent.this
9943 (doAccessibleAction): Implemented.
9944 (getAccessibleActionCount): Implemented.
9945 (getAccessibleActionDescription): Implemented.
9946 (getAccessibleStateSet): Implemented.
9947 (getAfterIndex): Implemented.
9948 (getBeforeIndex): Implemented.
9949 (getAtIndex): Implemented.
9950 (getAtIndexImpl): New helper method.
9951 (getCharacterAttribute): Implemented.
9952 (getCharacterBounds): Implemented.
9953 (getIndexAtPoint): Implemented.
9954 (insertTextAtIndex): Implemented.
9955 (setAttributes): Implemented.
9956 (setTextContents): Implemented.
9958 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9960 * configure.ac: Better handling of default-preferences-peer option.
9962 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9964 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9967 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9969 * javax/management/openmbean/TabularData.java:
9970 Documentation corrections.
9971 * javax/management/openmbean/TabularDataSupport.java:
9974 2006-08-04 Francis Kung <fkung@redhat.com>
9976 * java/awt/BasicStroke.java
9977 (dashedStroke): Implemented.
9979 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9981 * javax/management/BadAttributeValueExpException.java,
9982 * javax/management/BadStringOperationException.java,
9983 * javax/management/InstanceAlreadyExistsException.java,
9984 * javax/management/InstanceNotFoundException.java,
9985 * javax/management/InvalidApplicationException.java,
9986 * javax/management/MBeanRegistrationException.java,
9987 * javax/management/MalformedObjectNameException.java,
9988 * javax/management/RuntimeErrorException.java,
9989 * javax/management/RuntimeMBeanException.java,
9990 * javax/management/ServiceNotFoundException.java:
9993 2006-08-04 Roman Kennke <kennke@aicas.com>
9995 * javax/swing/SwingUtilities.java
9996 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9997 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9998 layoutCompoundLabelImpl().
9999 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
10000 Rectangle,Rectangle,Rectangle,int)): Delegate to new
10001 layoutCompoundLabelImpl().
10002 (layoutCompoundLabelImpl): New helper method. Moved impl from
10003 layoutCompoundLabel() to here and added handling of HTML.
10004 * javax/swing/plaf/basic/BasicButtonUI.java
10005 (installUI): Update HTML view if appropriate.
10006 (uninstallUI): New method. Do the usual uninstallUI things
10007 and uninstall HTML view.
10008 (getMinimumSize): New method. Adjusts the minimum size
10009 by the HTML view minimum size.
10010 (getMaximumSize): New method. Adjusts the maximum size
10011 by the HTML view maximum size.
10012 (getPreferredSize): Pass the button's iconTextGap to the
10013 BasicGraphicsUtils method.
10014 (paint): Let HTML view paint the text, if present.
10015 * javax/swing/plaf/basic/BasicButtonListener.java
10016 (propertyChange): Update the HTML view when the button's
10019 2006-08-04 Mario Torre <neugens@limasoftware.net>
10021 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10022 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10023 g_type_init earlier in function to correctly initialize the
10024 type system used by the backend.
10026 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10029 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10031 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10033 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10035 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10037 * gnu/xml/dom/DomIterator.java:
10038 (successor): Added if-statement.
10040 2006-08-04 Mark Wielaard <mark@klomp.org>
10042 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10044 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10046 * javax/swing/plaf/metal/MetalMenuBarUI.java:
10047 (update): Check size and paint smaller gradient.
10048 * javax/swing/plaf/metal/MetalBorders.java:
10049 (MenuBarBorder): Removed borderColor field.
10050 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10053 2006-08-03 Roman Kennke <kennke@aicas.com>
10056 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10057 (ComponentHandler.componentResized): Reimplemented to handle
10059 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10060 component listener on changed ancestor.
10061 (installListeners): Install componentListener.
10062 (uninstallListeners): Uninstall componentListener.
10064 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10066 * StrictMath.java (cbrt): Return argument if it is a NaN.
10071 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10073 * java/lang/StrictMath.java (tanh): New method.
10075 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
10077 * scripts/import-cacerts.sh: Batch CA certificates import script.
10079 2006-08-03 Roman Kennke <kennke@aicas.com>
10082 * javax/swing/plaf/basic/BasicListUI.java
10083 (paintCell): Pass row index to cell renderer.
10084 * javax/swing/plaf/basic/MetalFileChooserUI.java
10085 (DirectoryComboBoxRenderer.indentIcon): New field.
10086 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10087 Initialize indentIcon.
10088 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10089 Fall back to super and removed standard functionality.
10090 Handle indentation.
10091 (IndentIcon): New class. Wraps and indents another icon.
10093 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10095 * javax/management/MBeanConstructorInfo.java:
10096 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10097 Copy array rather than directly assigning.
10098 * javax/management/MBeanInfo.java:
10099 (MBeanInfo(String,String,MBeanAttributeInfo[],
10100 MBeanConstructorInfo[], MBeanOperationInfo[],
10101 MBeanNotificationInfo[])): Likewise.
10102 * javax/management/MBeanOperationInfo.java:
10103 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10105 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10106 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10108 * javax/management/openmbean/OpenMBeanInfo.java:
10109 Corrected documentation.
10110 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10112 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10113 Corrected documentation.
10114 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10116 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10117 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10118 Call other constructor rather than reimplementing.
10120 2006-08-02 Lillian Angel <langel@redhat.com>
10122 * java/awt/dnd/DragSource.java
10123 (isDragImageSupported): Implemented.
10124 (getDragThreshold): Changed default value.
10125 * java/awt/dnd/DropTarget.java
10126 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10127 (DropTarget): Likewise.
10128 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10129 (addDropTargetListener): Added check to determine if new DropTargetListener
10130 is this class. If so, an IllegalArgumentException is thrown. If the
10131 new listener is null, nothing happens.
10133 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10135 * configure.ac (MOZILLA_FOUND): Fall back to
10136 mozilla-firefox-plugin.
10138 2006-08-02 Sven de Marothy <sven@physto.se>
10140 * java/awt/geom/AffineTransform.java
10141 (hashCode): Tweak impl.
10142 * java/awt/font/FontRenderContext.java
10143 (hashCode): Implement.
10145 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10147 * java/lang/StrictMath.java (sinh): New method.
10149 2006-08-02 Roman Kennke <kennke@aicas.com>
10152 * javax/swing/JComboBox.java
10153 (setSelectedItem): Fire ActionEvent here.
10154 * javax/swing/plaf/basic/BasicDirectoryModel.java
10155 (directories): Changed to type Vector.
10156 (files): New field.
10157 (loadThread): New field.
10158 (DirectoryLoadThread): New inner class. This loads the contents
10159 of directories asynchronously.
10160 (getDirectories): Return cached Vector.
10161 (getFiles): Return cached Vector.
10162 (getSize): Return plain size of contents Vector.
10163 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10164 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10165 (sort): Don't store sorted list in contents. This must be done
10166 asynchronously from the EventThread.
10167 (validateFileCache): Rewritten for asynchronous reading
10168 of directory contents.
10169 * javax/swing/plaf/basic/BasicFileChooserUI.java
10170 (installListeners): Install model as PropertyChangeListener.
10171 (uninstallListeners): Uninstall model as PropertyChangeListener.
10172 (createPropertyChangeListener): Return null just like the
10175 2006-08-02 Sven de Marothy <sven@physto.se>
10177 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10178 (remove): Force event on removing item 0 when it's selected.
10179 (handleEvent): Always call Choice.selected().
10180 * java/awt/Choice.java:
10181 (remove): Simplify and correct.
10183 2006-08-02 Mark Wielaard <mark@klomp.org>
10186 * configure.ac (gconf-peer): Check for gdk-2.0.
10187 * native/jni/gconf-peer/Makefile.am
10188 (AM_LDFLAGS): Use GDK_LIBS.
10189 (AM_CFLAGS): Use GDK_CFLAGS.
10191 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10193 * java/net/URL.java (getContent(Class[])): Implement.
10195 2006-08-02 Roman Kennke <kennke@aicas.com>
10198 * javax/swing/JMenu.java
10199 (JMenu()): Removed setting of delay.
10200 (JMenu(String)): Removed setting of delay.
10201 (JMenu(Action)): Removed setting of delay.
10202 (JMenu(String,boolean)): Removed setting of delay.
10203 (setSelectedHelper): Removed unneeded method.
10204 (setSelected): Simply set the model state.
10205 (setPopupMenuVisible): Recognize the popup location
10206 determined by getPopupMenuOrigin().
10207 (getPopupMenuOrigin): Recognize the UI properties for
10209 (menuSelectionChanged): Call setSelected() directly.
10210 * javax/swing/JPopupMenu.java
10211 (menuSelectionChanged): If invoker is a JMenu, then delegate
10212 to that to get the position right.
10213 * javax/swing/Popup.java
10214 (LightweightPopup.show): Insert the popup as first component
10215 in the layer, so that it overlaps it's caller.
10216 * javax/swing/plaf/basic/BasicMenuItemUI.java
10217 (getPath): Don't include the popup.
10218 * javax/swing/plaf/basic/BasicMenuUI.java
10219 (SelectMenuAction): New class. This invokes the popup when
10220 a menu is selected.
10221 (installDefaults): Install delay of 200 ms.
10222 (setupPostTimer): Implemented.
10223 (MouseInputHandler.mouseClicked): Do nothing here.
10224 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10225 magic to handle the selection. Open the menu via a timer.
10226 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10227 magic to handle the selection. Open the menu via a timer.
10228 (MenuDragMouseHandler.menuMouseDragged): Probably use
10230 (menuDragMouseEntered): Do nothing here.
10232 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10234 * javax/management/openmbean/InvalidOpenTypeException.java,
10235 * javax/management/openmbean/KeyAlreadyExistsException.java:
10238 2006-08-02 Roman Kennke <kennke@aicas.com>
10241 * javax/swing/plaf/basic/BasicChooserUI.java
10242 (BasicFileView.getName): Fetch the real name from the
10243 file chooser's FileSystemView.
10244 * javax/swing/plaf/metal/MetalChooserUI.java
10245 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10246 Set the text fetched from the JFileChooser.getName().
10247 * javax/swing/FileSystemView.java
10248 (createFileObject): When file is a filesystem root,
10249 create a filesystem root object first.
10250 (getSystemDisplayName): Return the filename. Added specnote
10251 about ShellFolder class that is mentioned in the spec.
10252 * javax/swing/UnixFileSystemView.java
10253 (getSystemDisplayName): Implemented to return the real name
10254 of a file, special handling files like '.' or '..'.
10256 2006-08-03 Mark Wielaard <mark@klomp.org>
10258 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10260 2006-08-03 Roman Kennke <kennke@aicas.com>
10263 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10264 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10265 components when visual property chanegs.
10267 2006-08-03 Roman Kennke <kennke@aicas.com>
10270 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10271 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10272 component when visual properties change.
10274 2006-08-03 Roman Kennke <kennke@aicas.com>
10277 * javax/swing/JTree.java
10278 (JTree(TreeModel)): Set cell renderer to null.
10279 * javax/swing/plaf/basic/BasicTreeUI.java
10280 (setCellRenderer): Finish editing before setting the
10281 cell renderer. Refresh the layout. Don't set the
10282 currentCellRenderer field here (that's done in updateRenderer).
10283 (updateRenderer): Handle createdRenderer field here too.
10284 Set renderer to a default handler when the current renderer
10285 in the JTree is null.
10287 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10290 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10292 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10295 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10296 Updated documentation to clarify that RFC-2459 states that the parameters
10297 field of the AlgorithmIdentifier element MUST be NULL if present.
10298 Amended the code to reflect the specs.
10299 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10301 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10303 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10304 Call parameter 'defaultValue' not 'defValue'.
10306 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10308 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10311 2006-08-01 Roman Kennke <kennke@aicas.com>
10314 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10315 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10316 components when visual property chanegs.
10318 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10320 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10321 (toString()): Corrected documentation.
10322 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10323 * javax/management/openmbean/OpenMBeanInfo.java,
10324 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10326 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10327 (toString()): Corrected documentation.
10329 2006-08-01 Tania Bento <tbento@redhat.com>
10331 * java/awt/Choice.java
10332 (remove(int)): Added documentation.
10334 2006-08-01 Tania Bento <tbento@redhat.com>
10336 * java/awt/Choice.java
10337 (remove(int)): An IllegalArgumentException should not be thrown
10338 if int is invalid. Update selectedIndex and peer selection.
10340 2006-08-01 Tania Bento <tbento@redhat.com>
10342 * java/awt/CardLayout.java
10343 (toString): Changed format of string outputted.
10344 (goToComponent): Changed the order of the if-clause.
10346 2006-07-31 Tom Tromey <tromey@redhat.com>
10348 * INSTALL: Updated for ASM.
10350 2006-07-31 Tom Tromey <tromey@redhat.com>
10353 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10354 (attachment): Likewise.
10355 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10357 (isValid): Likewise.
10358 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10360 (interestOps): Synchronize.
10361 (readyOps): Likewise.
10362 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10365 2006-07-31 Roman Kennke <kennke@aicas.com>
10367 * NEWS: Added note about the X peers.
10368 * INSTALL: Added install notes about the X peers.
10370 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10372 * StrictMath.java (getLowDWord): Return long instead of int.
10373 (getHighDWord): Likewise.
10374 (buildDouble): Take two long arguments.
10375 (cbrt): Adapted to int -> long change.
10379 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10381 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10384 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10386 * java/security/Provider.java: Updated copyright year.
10387 Updated documentation.
10389 (put): Updated documentation.
10390 Added security manager check.
10391 Canonicalize the key before adding its mapping.
10392 (get): Override superclass implementation to use canonicalized keys.
10393 (remove): Updated documentation.
10394 Added security manager check.
10395 Canonicalize the key before removing its mapping.
10396 (clear): Updated documentation.
10397 Added security manager check.
10398 (toCanonicalKey): New method.
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 Mark Wielaard <mark@klomp.org>
10407 * javax/swing/JComponent.java (getListeners): Revert
10410 2006-07-30 Mark Wielaard <mark@klomp.org>
10412 * resource/java/security/classpath.security: Add /dev/urandom as
10413 default securerandom.source.
10415 2006-07-30 Mark Wielaard <mark@klomp.org>
10417 * java/util/GregorianCalendar.java (maximums): Months can have up to
10419 (nonLeniencyCheck): weeks is either 5 or 6.
10421 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10423 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10424 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10427 2006-07-30 Matt Wringe <mwringe@redhat.com>
10429 * gnu/java/security/Engine.java
10430 (getInstance): Ignore self referencing aliases.
10432 2006-07-30 Sven de Marothy <sven@physto.se>
10434 * java/awt/Choice.java:
10435 (accessibleAction): Call select() directly.
10436 (add, insert, remove): Reimplement.
10437 (dispatchEventImpl): Always call super.
10438 (processItemEvent): Does not set the index.
10439 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10440 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10442 (nativeAdd): Name changed to add.
10443 (selection_changed_cb): Simplify callback.
10444 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10445 (selected): New field.
10446 (add): Replaced with native impl.
10447 (handleEvent): New method.
10449 2006-07-30 Sven de Marothy <sven@physto.se>
10451 * java/awt/Choice.java:
10452 Reformat, fix copyright year.
10454 2006-07-29 Mark Wielaard <mark@klomp.org>
10456 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10457 static field isPaintingDoubleBuffered to not have the same name
10460 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10462 * examples/gnu/classpath/examples/management/TestBeans.java:
10464 * javax/management/MBeanAttributeInfo.java:
10465 (toString()): Implemented.
10466 * javax/management/MBeanConstructorInfo.java:
10467 (toString()): Implemented.
10468 * javax/management/MBeanFeatureInfo.java:
10469 (toString()): Implemented.
10470 * javax/management/MBeanInfo.java:
10471 (toString()): Implemented.
10472 * javax/management/MBeanNotificationInfo.java:
10473 (toString()): Implemented.
10474 * javax/management/MBeanOperationInfo.java:
10475 (toString()): Implemented.
10476 * javax/management/MBeanParameterInfo.java:
10477 (toString()): Implemented.
10478 * javax/management/StandardMBean.java:
10479 (getMBeanInfo()): Fix attribute naming.
10481 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10483 * gnu/java/lang/management/BeanImpl.java:
10484 Extended javax.management.StandardMBean.
10485 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10486 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10487 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10488 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10489 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10490 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10491 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10492 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10493 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10494 Call the superclass with the appropriate class.
10495 * java/lang/management/ManagementFactory.java:
10496 (getOperatingSystemMXBean()): Catch exception from
10498 (getRuntimeMXBean()): Likewise.
10499 (getClassLoadingMXBean()): Likewise.
10500 (getThreadMXBean()): Likewise.
10501 (getMemoryMXBean()): Likewise.
10502 (getCompilationMXBean()): Likewise.
10503 (getMemoryPoolMXBeans()): Likewise.
10504 (getMemoryManagerMXBeans()): Likewise.
10505 (getGarbageCollectorMXBeans()): Likewise.
10506 * javax/management/MBeanFeatureInfo.java:
10507 hashCode()): Fixed to check for null values.
10509 2006-07-29 Matt Wringe <mwringe@redhat.com>
10511 * gnu/java/security/Engine.java
10512 (getInstance): Add case insentivity to algorithm names
10513 * java/security/Provider.java
10514 (put): Stop using canonical key naming
10516 (toCanonicalKey): Method removed
10517 (get): Method removed, no longer needs to overwrite
10518 parent implementation
10520 2006-07-29 Mark Wielaard <mark@klomp.org>
10522 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10523 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10524 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10525 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10526 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10527 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10530 2006-07-29 Sven de Marothy <sven@physto.se>
10532 * java/math/BigDecimal.java
10533 Adjust copyright date.
10534 (divide(BigDecimal): Implement.
10535 (precision): Reimplement.
10536 (numDigitsInBigInteger, numDigitsInLong): Removed.
10537 (toString): Get exponent from string length,
10538 fix negative values with exponential form.
10539 (toEngineeringString): Same as for toString.
10540 (setScale): Throw ArithmeticException if scale < 0.
10542 2006-07-27 Francis Kung <fkung@redhat.com>
10544 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10545 (cp1): Renamed from first().
10546 (c2): Renamed from last().
10547 (first): Renamed to cp1().
10548 (getDisplacedSegments): Implemented.
10549 (last): Renamed to cp2().
10550 * gnu/java/awt/java2d/LineSegment.java
10551 (cp1): Renamed from first().
10552 (c2): Renamed from last().
10553 (first): Renamed to cp1().
10554 (last): Renamed to cp2().
10555 * gnu/java/awt/java2d/QuadSegment.java
10556 (cp1): Renamed from first().
10557 (c2): Renamed from last().
10558 (first): Renamed to cp1().
10559 (last): Renamed to cp2().
10560 * gnu/java/awt/java2d/Segment.java: Added comments.
10561 (first): New field.
10562 (Segment): Keep track of first element in list.
10563 (add): Update first & last element variables.
10564 (cp1): Renamed from first().
10565 (c2): Renamed from last().
10566 (first()): Renamed to cp1() to reduce ambiguity.
10567 (last()): Renamed to cp2() to reduce ambiguity.
10568 (reverseAll): Update first element variable..
10569 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10570 (draw): Remove flattening path iterator.
10571 * java/awt/BasicStroke.java: Clarified comments.
10572 (addSegments): Refactored some code into joinSegments and
10574 (capEnd): Rename of Segment.first() and Segment.end().
10575 (joinInnerSegments): New method.
10576 (joinOuterSegments): New method.
10577 (joinSegments): Refactored some code into joinOuterSegments.
10578 (solidStroke): Connect segments together properly.
10580 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10582 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10584 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10586 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10588 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10591 2006-07-28 Tom Tromey <tromey@redhat.com>
10593 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10595 2006-07-28 Lillian Angel <langel@redhat.com>
10597 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10598 Removed function declarations.
10599 (connect_signals_for_widget): Removed implementation because
10600 stub functions have been removed.
10601 (drag_begin_cb): Removed function.
10602 (drag_motion_cb): Likewise.
10603 (drag_data_get_cb): Likewise.
10604 (drag_data_delete_cb): Likewise.
10605 (drag_drop_cb): Likewise.
10606 (drag_end_cb): Likewise.
10607 (drag_data_received_cb): Likewise.
10609 2006-07-28 Mark Wielaard <mark@klomp.org>
10611 * configure.ac: Set version to 0.93-pre.
10613 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10615 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10617 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10619 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10620 (getCallbackHandler): Fully qualify linked class in javadoc.
10621 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10622 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10623 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10625 2006-07-27 Tom Tromey <tromey@redhat.com>
10627 PR classpath/28486:
10628 * java/net/URLStreamHandler.java (equals): Properly handle default
10629 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10631 2006-07-27 Roman Kennke <kennke@aicas.com>
10633 * javax/swing/text/AbstractDocument.java
10634 (documentCV): Made field private.
10635 (bypass): Made field private.
10636 (bidiRoot): New field.
10637 (AbstractDocument): Initialize bidiRoot.
10638 (getBidiRootElement): Return bidiRoot.
10639 (getRootElements): Adjusted to also return the bidiRoot element.
10640 (BranchElement.startOffset): Removed unneeded field.
10641 (BranchElement.endOffset): Removed unneeded field.
10642 (BranchElement.BranchElement): Removed unneeded fields.
10643 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10644 done automatically when there's no element left in the array.
10645 (BranchElement.getStartOffset): Likewise.
10646 (BranchElement.replace): Reordered calculations to avoid double
10648 (removeImpl): Silently ignore requests with length <= 0.
10649 * javax/swing/text/GapContent.java
10650 (createPosition): Removed explicit check for correct offset.
10651 This class can deal with offsets outside the document.
10652 (shiftEnd): Update all positions, even those outside the
10654 (adjustPositionsInRange): Fixed to also adjust positions outside
10655 the document boundary.
10657 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10659 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10661 (getParameter): Returns _klass field instead of determining
10662 class from _instance.
10663 (setCatchLoc): New method.
10664 (writeData): Now assumes Location deals with empty locations instead of
10666 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10667 locations and write out accordingly.
10668 (getEmptyLocation): New method.
10670 2006-07-27 Roman Kennke <kennke@aicas.com>
10672 * javax/swing/text/SimpleAttributeSet.java
10673 (EMPTY): Use EmptyAttributeSet for this field rather than
10674 SimpleAttributeSet.
10675 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10676 an empty and immutable AttributeSet.
10678 2006-07-27 Roman Kennke <kennke@aicas.com>
10680 * java/awt/Component.java
10681 (reshape): Invalidate the component itself only when the
10682 size has changed. Invalidate the parent always. Fixed
10683 repainting. Pulled out the notification into
10685 (notifyReshape): New helper method. Notify interested listeners
10687 (update): Simply call paint() without clearing the background.
10688 This is done in Container.update() if appropriate.
10689 (repaint): Delagate the repaint to the nearest heavyweight
10690 parent (for lightweights) and send an UPDATE event, rather than
10691 calling ComponentPeer.repaint().
10692 * java/awt/Container.java
10693 (backCleared): Removed field.
10694 (paint): Removed handling of backCleared flag.
10695 (update): Only paint if the container is actually
10696 showing. Removed handling of backCleared flag.
10698 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10700 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10702 (NavigateAction): New inner class.
10703 (NavigatePageDownAction): New inner class.
10704 (NavigatePageUpAction): New inner class.
10705 (RequestFocusAction): New inner class.
10706 (RequestFocusForVisibleComponentAction): New inner class.
10707 (FocusHandler.focusGained): Implemented.
10708 (FocusHandler.focusLost): Implemented.
10709 (MouseHandler.mouseReleased): Implemented.
10710 (MouseHandler.mousePressed): Rewritten.
10711 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10712 currentScrollLocation to 0.
10713 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10714 removed local variables, fixed indentation to stay under 80 column
10716 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10717 one, set selectedIndex to 0 if its negative, corrected start values
10718 for normalization, suppressed padding when only one tab run,
10719 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10720 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10721 80 column limit, corrected the starting value for the bounds fixing
10723 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10724 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10725 selectedRun, set start index for loop to 0.
10726 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10727 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10728 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10729 alignment and visibility handling.
10730 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10732 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10733 (currentScrollOffset): New field.
10734 (tabRuns): Rewritten documentation.
10735 (selectedColor): New field.
10736 (tempTextRect): New field.
10737 (tempIconRect): New field.
10738 (scrollTab): New method.
10739 (updateButtons): New method.
10740 (updateViewPosition): New method.
10741 (createLayoutManager): Reordered method calls, predefine new fields,
10742 register proper listeners.
10743 (uninstallComponents): Implemented.
10744 (installDefaults): Corrected property names, fixed indentation,.
10745 (uninstallDefaults): Set new fields to null.
10746 (uninstallListeners): Remove listeners from components neccessary for
10747 scrolling tab layout.
10748 (installKeyboardActions): Implemented.
10749 (uninstallKeyboardActions): Implemented.
10750 (paint): Paint tab area background.
10751 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10753 (getTabLabelShiftX): Rewritten.
10754 (getTabLabelShiftY): Rewritten.
10755 (paintFocusIndicator): Reindented.
10756 (paintTabBorder): Rewritten.
10757 (paintTabBackground): Corrected color usage, rewritten background
10758 rectangle painting.
10759 (paintContentBorderTopEdge): Rewritten.
10760 (paintContentBorderBottomEdge): Rewritten.
10761 (paintContentBorderLeftEdge): Rewritten.
10762 (paintContentBorderRightEdge): Rewritten.
10763 (tabForCoordinate): Return selected index when no tab could be
10764 found, removed FIXME note.
10765 (getRunForTab): Changed return value for first if-statement.
10766 (navigateSelectedTab): Fixed last argument for both
10767 getTabRunOffset() calls.
10768 (selectedNextTabInRun): Added scrolling code.
10769 (selectedPreviousTabInRun): Added scrolling code.
10770 (selectedNextTab): Added scrolling code.
10771 (selectedPreviousTab): Added scrolling code.
10772 (selectAdjacentRunTab): Added scrolling code.
10773 (getTextViewForTab): Added FIXME note.
10774 (calculateTabHeight): Changed FIXME note.
10775 (getTabRunOffset): Fixed indentation.
10776 (getNextTabIndexInRun): Corrected return value.
10777 (rotateInsets): Make TOP case the default in switch-statement.
10778 (getActionMap): New method.
10779 (createActionMap): New method.
10780 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10781 (createLayoutManager): Rewritten.
10782 (paintLeftTabBorder): Do not paint left line when previous tab
10783 is selected but current tab is the first in its run, do not paint
10784 left line when current tab is selected and is first in its run.
10785 (paintRightTabBorder): Added missing setColor() call, fixed color
10786 usage, do not paint right line if previous tab is selected but
10787 current tab is the first in its run.
10788 (paintBottomTabBorder): Do not paint left line if tab is selected
10789 and is the first tab in the last run.
10790 (paintFocusIndicator): New method.
10791 (getLabelShiftX): New method.
10792 (getLabelShiftY): New method.
10794 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10796 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10797 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10798 g_assert from unused obj.
10799 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10800 obj as unused and remove g_assert on it.
10802 2006-07-26 Roman Kennke <kennke@aicas.com>
10804 * javax/swing/RepaintManager.java
10805 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10807 (isCompletelyDirty): Consider a component completely dirty
10808 when it has a dirty region with Integer.MAX_VALUE.
10810 2006-07-26 Roman Kennke <kennke@aicas.com>
10812 * java/awt/KeyboardFocusManager.java
10813 (getGlobalFocusOwner): Explicitly check for thread security.
10814 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10815 (getGlobalFocusedWindow): Explicitly check for thread security.
10816 (getGlobalActiveWindow): Explicitly check for thread security.
10817 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10818 (getGlobalObject): Added new argument for specifying if
10819 a security check should be performed or not.
10820 (setGlobalObject): Don't check for thread security when
10821 calling getGlobalObject.
10823 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10825 * javax/management/MBeanConstructorInfo.java:
10827 * javax/management/MBeanInfo.java:
10828 (MBeanInfo(String,String,MBeanAttributeInfo[],
10829 MBeanConstructorInfo[], MBeanOperationInfo[],
10830 MBeanNotificationInfo[])): Implemented.
10831 (equals(Object)): Likewise.
10832 (getAttributes()): Likewise.
10833 (getConstructors()): Likewise.
10834 (getOperations()): Likewise.
10835 (hashCode()): Likewise.
10836 * javax/management/MBeanOperationInfo.java,
10837 * javax/management/NotCompliantMBeanException.java,
10838 * javax/management/StandardMBean.java:
10841 2006-07-26 Sven de Marothy <sven@physto.se>
10843 * java/awt/geom/GeneralPath.java: Fix severe typo.
10845 2006-07-26 Sven de Marothy <sven@physto.se>
10847 * include/java_lang_VMSystem.h
10848 * vm/reference/java/lang/VMSystem.java
10849 * native/jni/java-lang/java_lang_VMSystem.c
10850 (nanoTime, currentTimeMillis): Switch the former to native code and
10851 the latter to java.
10853 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10855 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10856 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10857 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10858 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10859 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10860 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10861 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10862 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10863 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10864 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10865 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10866 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10867 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10868 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10869 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10870 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10871 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10872 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10873 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10874 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10875 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10877 2006-07-26 Roman Kennke <kennke@aicas.com>
10879 * java/awt/KeyboardFocusManager.java
10880 (getFocusOwner): Don't check permanent owner.
10881 (getGlobalFocusOwner): Don't check permanent owner.
10883 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10885 * StrictMath.java (cosh): New method.
10886 (expm1): New method.
10887 (EXPM1_Q1): New field.
10888 (EXPM1_Q2): Likewise.
10889 (EXPM1_Q3): Likewise.
10890 (EXPM1_Q4): Likewise.
10891 (EXPM1_Q6): Likewise.
10893 2006-07-26 Roman Kennke <kennke@aicas.com>
10895 * javax/swing/plaf/basic/BasicButtonListener.java
10896 (mousePressed): Request focus if appropriate.
10897 * javax/swing/text/DefaultCaret.java
10898 (mousePressed): Also handle the focus of the text component
10899 as specified. Don't consume events.
10901 2006-07-26 Roman Kennke <kennke@aicas.com>
10903 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10904 (focusRequest): Removed field.
10905 (postFocusEvent(int,boolean,Component)): Removed.
10906 (postFocusEvent(int,boolean)): Reverted to post event using
10907 the heavyweight component.
10908 (requestFocus): Post focus event using the heavyweight
10910 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10911 (requestFocus): Post focus event using the heavyweight
10913 * java/awt/AWTEvent.java
10914 (isFocusManagerEvent): New field, indicating if this is
10915 an event that is redispatched by the KeyboardFocusManager.
10916 * java/awt/Component.java
10917 (requestFocusImpl): Register component for
10918 heavyweight->lightweight mapping.
10919 (dispatchEventImpl): Retarget focus events before dispatching
10920 to the KeyboardFocusManager. Use new AWTEvent flag instead
10921 of locking hack. Dispatch all events through the
10922 KeyboardFocusManager. Don't request focus on lightweight
10924 * java/awt/DefaultKeyboardFocusManager.java
10925 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10927 (handleFocusGained): Fixed handling of temporary vs permanent
10928 focus changes. Added some checks.
10929 (handleFocusLost): Fixed handling of temporary vs permanent
10930 focus changes. Added some checks.
10931 * java/awt/EventDispatchThread.java
10932 (run): Don't dispatch to KeyboardFocusManager here. This
10933 is done in Component.dispatchEventImpl().
10934 * java/awt/KeyboardFocusManager.java
10935 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10936 (focusRequests): New field.
10937 (retargetFocusEvent): New method. Retargets focus events
10938 that come from heavyweights to the correct lightweight component.
10939 (addLightweightFocusRequest): New method. Stores a mapping
10940 for later retargetting of heavyweight focus events.
10941 * java/awt/Window.java
10942 (addFocusListener): Removed bogus method. If at all, this
10943 should be performed in the KeyboardFocusManager.
10944 (Window): Don't install a focus listener on the Window.
10946 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10948 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10949 (drawLine): Apply shift to line coordinates.
10951 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10953 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10954 (copyimage): Do not call setRenderingHints() when the respective map
10956 (filter): Removed code to clone the ColorModel instance.
10957 * java/awt/image/ColorModel.java:
10958 (cloneColorModel): Removed.
10960 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10962 * javax/swing/JTabbedPane.java:
10963 (setSelectedIndex): Removed updating of component visibility status,
10965 (remove(Component)): Use indexOfComponent() to find whether we have
10966 to use super.remove(int) or removeTabAt().
10968 2006-07-26 Roman Kennke <kennke@aicas.com>
10970 * javax/swing/JOptionPane.java
10971 (createDialog): Add property change handler for closing
10972 the dialog when the value property changes.
10973 (ValuePropertyHandler): New inner helper class.
10974 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10975 (OptionPaneCloseAction): New class.
10976 (messageForeground): Removed field.
10977 (messageBorder): Removed field.
10978 (buttonBorder): Removed field.
10979 (addIcon): Configure the new label.
10980 (addMessageComponents): Configure newly created labels.
10981 (burstStringInto): Likewise.
10982 (createButtonArea): Install border here.
10983 (createMessageArea): Install border and foreground here.
10984 (createSeparator): Added comment and removed
10985 NotImplementedException.
10986 (installComponents): Don't install the UI defaults for the
10987 message and button area here. This is moved to the
10988 corresponding create* methods. Adjusted comment about
10990 (installDefaults): Removed initialization of removed fields.
10991 (installKeyboardActions): Implemented.
10992 (getActionMap): New helper method.
10993 (createDefaultActions): New helper method.
10994 (uninstallDefaults): Removed de-initialization of removed fields.
10995 (uninstallKeyboardActions): Implemented.
10996 (configureLabel): New helper method.
10997 * javax/swing/plaf/basic/BasicTableUI.java
10998 (getActionMap): Fixed the UI property names.
10999 * javax/swing/plaf/basic/BasicToolBarUI.java
11000 (getActionMap): Fixed the UI property names.
11002 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11004 * java/awt/image/BandedSampleModel.java
11005 (getDataElements): Check for negative x or y,
11006 (getPixels): Likewise,
11007 (getSamples): Likewise,
11008 (setSamples): Likewise.
11010 2006-07-26 Roman Kennke <kennke@aicas.com>
11012 * javax/swing/plaf/basic/BasicToolBarUI.java
11013 (ToolBarAction): New inner class for handling keyboard
11015 (installKeyboardActions): Implemented.
11016 (getActionMap): New helper method.
11017 (createDefaultActions): New helper method.
11018 (installListeners): Install focus listener on toolbar's
11019 children, rather than the toolbar itself.
11020 (navigateFocusedComp): Implemented.
11021 (uninstallKeyboardActions): Implemented.
11022 (uninstallListeners): Uninstall focus listener from
11023 toolbar's children, rather than the toolbar itself.
11024 (ToolBarContListener.componentAdded): Install focus
11025 listener on added child.
11026 (ToolBarContListener.componentRemoved): Uninstall focus
11027 listener from removed child.
11028 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11029 (ToolBarFocusListener.focusGained): Implemented.
11030 (ToolBarFocusListener.focusLost): Implemented.
11032 2006-07-26 Roman Kennke <kennke@aicas.com>
11034 * java/awt/DefaultKeyboardFocusManager.java
11035 (dispatchEvent): Notify old focus owner when it has lost
11038 2006-07-26 Roman Kennke <kennke@aicas.com>
11040 * javax/swing/plaf/basic/BasicTableUI.java
11041 (FocusHandler.focusGained): Implemented to refresh the
11043 (FocusHandler.focusLost): Implemented to refresh the
11045 (FocusHandler.repaintLeadCell): New helper method.
11046 (MouseInputHandler.mouseEntered): Do nothing here.
11047 (MouseInputHandler.mouseExited): Do nothing here.
11048 (MouseInputHandler.mouseMoved): Do nothing here.
11049 (installKeyboardActions): Rewritten to use a shared InputMap
11050 and ActionMap and correctly install the maps via SwingUtilities
11052 (getActionMap): New helper method.
11053 (createDefaultActions): New helper method.
11054 (ActionListenerProxy): Removed unneeded class.
11055 (TableAction): Made class static.
11056 (TableAction.actionPerformed): Determine table by fetching
11057 the event source. Pass the table to helper methods.
11058 Use __command__ hack to determine the action command.
11059 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11060 (TableAction.getLastVisibleColumnIndex): Get table as argument.
11061 (TableAction.getFirstVisibleRowIndex): Get table as argument.
11062 (TableAction.getLastVisibleRowIndex): Get table as argument.
11063 (TableAction.advanceMultipleSelection): Get table as argument.
11064 (uninstallDefaults): Do nothing here.
11065 (uninstallKeyboardActions): Uninstall the keyboard actions.
11067 2006-07-26 Roman Kennke <kennke@aicas.com>
11069 * javax/swing/JComponent.java
11070 (processKeyBinding): Store the action command as property
11071 in the Action instance that we call. This allows for
11072 improvement on the side of the Action.
11074 2006-07-26 Roman Kennke <kennke@aicas.com>
11076 * javax/swing/plaf/metal/MetalUtils.java
11077 (fillMetalPattern): Use fillRect() instead of drawLine() to
11078 fill single pixels.
11080 2006-07-26 Roman Kennke <kennke@aicas.com>
11082 * javax/swing/text/GapContent.java
11083 (getChars): Check for negative length and throw
11084 BadLocationException.
11086 2006-07-26 Roman Kennke <kennke@aicas.com>
11088 * javax/swing/plaf/basic/BasicMenuBarUI.java
11089 (FocusAction): Made class static.
11091 2006-07-26 Roman Kennke <kennke@aicas.com>
11093 * javax/swing/plaf/basic/BasicLookAndFeel.java
11094 (initComponentDefaults): Add keyboard bindings for
11097 2006-07-26 Roman Kennke <kennke@aicas.com>
11099 * javax/swing/UIManager.java
11100 (getLookAndFeelDefaults): Return the look and feel defaults.
11101 (setLookAndFeel): Improved exception messsage.
11103 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11105 * javax/swing/text/StringContent.java
11106 (StringContent): Changed initialLength to 10.
11108 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11110 * java/util/Vector.java: Fixed API doc typo.
11112 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11114 * java/awt/image/BandedSampleModel.java
11115 (createCompatibleSampleModel): Fixed typo in loop increment, set
11116 correct scanlineStride, and updated API docs.
11118 2006-07-25 Roman Kennke <kennke@aicas.com>
11120 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11121 (NavigateAction): New inner class. This is responsible for
11122 keyboard navigation through menus.
11123 (KeyboardHelper): New inner class. This manages the
11124 keyboard mappings and focus when a popup opens or closes.
11125 (keyboardHelper): New static field.
11126 (numPopups): New static field.
11127 (installUI): Create KeyboardHelper for first popup.
11128 Call installKeyboardActions().
11129 (installKeyboardActions): Removed NotImplementedException.
11130 This method is a no-op.
11131 (installKeyboardActionsImpl): New method. Installs keyboard
11132 mapping when a popup is opened.
11133 (getActionMap): New helper method.
11134 (createDefaultActions): New helper method.
11135 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11136 uninstalled. Call uninstallKeyboardActions().
11137 (uninstallKeyboardActions): Removed NotImplementedException.
11138 This method is a no-op.
11139 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11140 mapping when a popup is closed.
11142 2006-07-25 Roman Kennke <kennke@aicas.com>
11144 * java/awt/Component.java
11145 (requestFocus()): Reimplemented to use requestFocusImpl().
11146 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11147 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11148 (requestFocusInWindow(boolean)): Reimplemented to use
11149 requestFocusImpl().
11150 (requestFocusImpl): Reimplemented focus request to use
11151 new peer method. Also added some obvious additional checks
11152 for rejecting focus requests early.
11153 * java/awt/ComponentPeer.java
11154 (requestFocus(Component,boolean,boolean,long)): Documented
11156 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11157 (requestFocus): New field.
11158 (gtkWidgetHasFocus): New native method.
11159 (gtkWidgetCanFocus): New native method.
11160 (requestFocus): Replaced with assert false to prevent
11161 usage of obsolete method.
11162 (postFocusEvent(int,boolean,Component)): New overloaded method
11163 for posting the focus event to a specific target.
11164 (postFocusEvent(int,boolean)): Post event to requestFocus
11166 (requestFocus(Component,boolean,boolean,long)): Implemented.
11167 (getWindowFor): New helper method.
11168 (isLightweightDescendant): New helper method.
11169 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11170 (gtkWindowHasFocus): New native method.
11171 (requestFocus(Component,boolean,boolean,long)): New method.
11172 Overrides GtkComponentPeer method to specially handly the
11173 case when a Window receives a focus request for a lightweight
11175 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11176 (gtkWidgetHasFocus): New native method.
11177 (gtkWidgetCanFocus): New native method.
11178 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11179 (gtkWindowHasFocus): New native method.
11180 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11181 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11184 2006-07-25 Francis Kung <fkung@redhat.com>
11186 * java/awt/DefaultKeyboardFocusManager.java
11187 (dispatchEvent): Add check for valid component.
11189 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11191 * javax/management/MBeanConstructorInfo.java:
11193 * javax/management/MBeanNotificationInfo.java:
11195 * javax/management/MBeanParameterInfo.java:
11198 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11200 * java/awt/peer/gtk/CairoGraphics.java:
11201 (drawLine): Added special case for 1 pixel lines.
11203 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11206 * java/awt/peer/gtk/CairoGraphics.java:
11207 (drawLine): Removed calls to shifted().
11209 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11211 * javax/swing/JTabbedPane.java:
11212 (remove(Component)): Rewritten.
11213 (setSelectedIndex): Implemented updating of component visibility state.
11215 2006-07-25 Sven de Marothy <sven@physto.se>
11217 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11218 (init): Default to the actual depth in the worst case.
11220 * java/awt/Font.java
11221 (createFont(int, File)): New method.
11223 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11226 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11228 (RETokenEnd): New constructer to set check_java_line_terminators.
11229 (matchThis): Checck line terminators if check_java_line_terminators.
11230 * gnu/java/util/regex/RETokenStart.java: Likewise.
11231 * gnu/regexp/RE.java(initialize): Use the new constructors for
11232 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11233 * java/util/regex/Pattern.java(Patteren): Changed so that
11234 gnu/regexp/RE.java may use the new the new constructors.
11236 2006-07-25 Roman Kennke <kennke@aicas.com>
11238 * java/awt/Container.java
11239 (focusTraversalPolicyProvider): New field.
11240 (isFocusTraversalPolicyProvider): New method.
11241 (setFocusTraversalPolicyProvider): New method.
11242 * java/awt/ContainerOrderFocusTraversalPolicy.java
11243 (getFirstComponent): Use accept() instead of lengthy checks.
11244 Don't fetch getComponents() to avoid copying of array.
11245 Traverse down the hierarchy to find the first focused component.
11246 * java/awt/DefaultKeyboardFocusManager.java
11247 (dispatchEvent): Let the initial component request focus.
11249 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11251 * javax/swing/text/Segment.java
11252 (last): Update current index before returning DONE for zero count.
11254 2006-07-24 Mark Wielaard <mark@klomp.org>
11256 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11258 2006-07-25 Roman Kennke <kennke@aicas.com>
11260 * javax/swing/plaf/basic/BasicMenuBarUI.java
11261 (FocusAction): New inner class. Used to grab focus.
11262 (installKeyboardActions): Implemented.
11263 (uninstallKeyboardActions): Implemented.
11264 (getActionMap): New helper method.
11265 (createDefaultActions): New helper method.
11267 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11269 * examples/gnu/classpath/examples/swing/Demo.java:
11270 (mkMenuBar): Install instantiable basic look and feel.
11271 (InstantiableBasicLookAndFeel): New inner class.
11273 2006-07-25 Roman Kennke <kennke@aicas.com>
11275 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11276 (GlassPaneDispatcher.dragTarget): New field.
11277 (GlassPaneDispatcher.isDragging): New field.
11278 (GlassPaneDispatcher.pressedComponent): Removed field.
11279 (GlassPaneDispatcher.tempComponent): Removed field.
11280 (GlassPaneDispatcher.pressCount): Removed field.
11281 (GlassPaneDispatcher.mousePressed): Call
11282 borderListener.mousePressed() to activate the frame.
11283 (acquireComponentForMouseEvent): Removed method.
11284 (handleEvent): Rewritten.
11285 (redispatch): New method.
11286 (InternalFramePropertyChangeListener.propertyChange):
11287 Make glasspane invisible when frame is selected, and visible
11288 if it gets deselected.
11290 2006-07-25 Roman Kennke <kennke@aicas.com>
11292 * java/awt/LightweightDispatcher.java
11293 (handleMouseEvent): Dispatch event to real target if
11294 the dragTarget has become invisible in the meantime.
11296 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11298 * javax/swing/text/TabSet.java
11299 (equals): New method override for 1.5,
11300 (hashCode): Likewise,
11301 (toString): Added spaces to match reference implementation.
11303 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11305 * javax/management/IntrospectionException.java,
11306 * javax/management/MBeanAttributeInfo.java:
11308 * javax/management/MBeanNotificationInfo.java:
11309 Documentation cleanups.
11311 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11313 * javax/swing/text/TabSet.java
11314 (TabSet): Check for null argument,
11315 (getTab): Throw IllegalArgumentException for index out of bounds,
11316 (getTabIndexAfter): Changed test to '<=',
11317 and updated API docs all over,
11318 * javax/swing/text/TabStop.java: Updated API docs.
11320 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11322 * javax/swing/text/TabStop.java
11323 (toString): Don't use 'left ' prefix, and added space between tab
11324 location and '(w/leader)' suffix.
11326 2006-07-24 Francis Kung <fkung@redhat.com>
11328 * javax/swing/JComboBox.java
11329 (DefaultKeySelectionManager): Implemented.
11330 (createDefaultKeySelectionManager): Implemented.
11331 (getKeySelectionManager): Implemented.
11332 (processKeyEvent): Removed duplicate code.
11333 * javax/swing/JPopupMenu.java
11334 (selectionModel): Changed visibility.
11335 * javax/swing/plaf/basic/BasicComboBoxUI.java
11336 (KeyHandler.keyPressed): Added navigation keys.
11337 (configureEditor): Add key listener.
11338 (installListeners): Install focus listener to combo box.
11339 (isNavigationKey): Added enter, escape, and tab.
11340 (selectPreviousPossibleValue): Added out of bounds check.
11341 (unconfigureEditor): Remove key listener.
11342 * javax/swing/plaf/metal/MetalComboBoxButton.java
11343 (paintComponent): Highlight combo box when in focus.
11345 2006-07-24 Roman Kennke <kennke@aicas.com>
11347 * javax/swing/SwingUtilities.java
11348 (isLeftMouseButton): Fixed condition.
11349 * java/awt/LightweightDispatcher.java
11350 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11353 2006-07-24 Roman Kennke <kennke@aicas.com>
11355 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11356 (setPaint): Fixed scaleX and scaleY.
11358 2006-07-24 Roman Kennke <kennke@aicas.com>
11360 * javax/swing/JTable.java
11361 (handleInsert): Repaint the whole table for variable row
11362 height tables and an optimized region otherwise.
11363 (handleDelete): Likewise.
11364 (handleUpdate): Likewise.
11366 2006-07-24 Mario Torre <neugens@limasoftware.net>
11368 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11369 now explicity registerListeners on GtkMouseDragGestureRecognizer
11371 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11372 (unregisterListeners): new method, overrided from base class
11373 to rise visibility (from protected to public).
11374 (registerListeners): Likewise.
11375 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11376 removed call to registerListeners from the constructor.
11378 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11380 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11381 * java/lang/management/MemoryPoolMXBean.java:
11382 (getType()): Changed return type to MemoryType.
11383 * java/lang/management/MemoryType.java:
11386 2006-07-23 Mark Wielaard <mark@klomp.org>
11388 * configure.ac: Check for moc and moc-qt4.
11390 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11392 * java/awt/image/Kernel.java: API doc updates.
11394 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11396 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11399 2006-07-22 Mark Wielaard <mark@klomp.org>
11401 * java/lang/Iterable.java: Import all of java.util.
11402 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11403 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11405 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11407 * doc/vmintegration.texinfo:
11408 Document getType(String).
11409 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11410 * java/lang/management/MemoryPoolMXBean.java:
11411 (getType()): Implemented.
11412 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11413 (getType(String)): Implemented.
11415 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11417 * doc/vmintegration.texinfo:
11418 Move end of itemization block.
11420 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11422 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11423 (initComponentDefaults): Added new properties, added comments.
11425 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11427 * doc/vmintegration.texinfo:
11428 Mention callback methods.
11429 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11430 (fireNotification(String,String,long,long,long,long,long)):
11431 Made package-private.
11432 (fireThresholdExceededNotification(String,long,long,long,
11433 long,long)): Likewise.
11434 (fireCollectionThresholdExceededNotification(String,long,
11435 long,long,long,long)): Likewise.
11436 * java/lang/management/MemoryMXBean.java:
11437 Document notifications.
11439 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11441 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11442 (fireNotification(String,String,long,long,long,long,long)):
11444 (fireThresholdExceededNotification(String,long,long,long,
11445 long,long)): Likewise.
11446 (fireCollectionThresholdExceededNotification(String,long,
11447 long,long,long,long)): Likewise.
11448 * java/lang/management/MemoryNotificationInfo.java:
11449 Use composite type from MemoryMXBeanImpl.
11450 * javax/management/openmbean/CompositeData.java:
11451 Correct documentation.
11452 * javax/management/openmbean/CompositeDataSupport.java,
11453 * javax/management/openmbean/InvalidKeyException.java:
11456 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11458 * gnu/java/security/util/IntegerUtil.java: New file.
11460 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11463 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11464 (KEY_SIZE): Likewise.
11465 (adjustParity(int,byte[],int): New method.
11466 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11467 (isParityAdjusted(int,byte[],int)): New method.
11468 (isParityAdjusted): Call above method with 3 as 1st argument.
11469 (keySizes): Add 8 and 16 as other valid key sizes.
11470 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11472 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11474 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11475 code for the pixel swap routine to be more efficient.
11477 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11479 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11480 (lastIndexOf(E, int)): Likewise.
11481 (add(E)): Increase the size of newData array by one.
11482 (add(int, E)): Likewise.
11484 2006-07-20 Lillian Angel <langel@redhat.com>
11486 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11487 Removed unused fields.
11488 (GtkMouseDragGestureRecognizer): Removed initializations.
11490 2006-07-20 Lillian Angel <langel@redhat.com>
11492 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11493 (GtkMouseDragGestureRecognizer): New constructor.
11494 (GtkMouseDragGestureRecognizer): New constructor.
11495 (GtkMouseDragGestureRecognizer): New constructor.
11496 (mouseClicked): Removed FIXME.
11497 (mousePressed): Implemented.
11498 (mouseReleased): Implemented.
11499 (mouseEntered): Implemented.
11500 (mouseDragged): Implemented to check mouse point and trigger origin.
11501 (mouseMoved): Removed FIXME.
11502 (getDropActionFromEvent): New helper function used to convert mouse event
11503 modifiers to a drop action.
11504 * java/awt/dnd/DragSource.java
11505 (getDragThreshold): Changed to return some arbitrary value for testing
11508 2006-07-20 Roman Kennke <kennke@aicas.com>
11510 * java/awt/LightweightDispatcher.java
11511 (findTarget): Also consider components that have their eventMask
11512 set, for compatibility with stonage AWT. Optimized check
11514 (handleMouseEvent): Likewise.
11516 2006-07-20 Roman Kennke <kennke@aicas.com>
11518 * javax/swing/JTable.java
11519 (tableChanged): Split out handling of the event into multiple
11521 (handleCompleteChange): New method. Clear the selection and
11522 check the lead/anchor indices.
11523 (handleInsert): New method. Check the lead/anchor indices.
11524 Optimized repainting.
11525 (handleDelete): New method. Check the lead/anchor indices.
11526 Optimized repainting.
11527 (handleUpdate): New method. Optimized repainting.
11528 (checkSelection): New helper method.
11529 (setSelectionModel): Update lead/anchor indices.
11531 2006-07-20 Lillian Angel <langel@redhat.com>
11534 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11535 (dispose): Reset all fields.
11537 2006-07-20 Roman Kennke <kennke@aicas.com>
11539 * gnu/java/awt/peer/x/XToolkit.java
11540 (createImage(InputStream)): Only copy image to Pixmap if
11541 it's actually opaque. Transparent images are left as
11542 BufferedImage and composited later onto the screen.
11543 * gnu/java/awt/peer/x/XGraphics.java
11544 (XGraphics): Fetch some parameters for image rendering.
11545 (drawImage): Added special handling of transparent images.
11546 (getRGB): New helper method.
11547 (setRGB): New helper method.
11549 2006-07-20 Roman Kennke <kennke@aicas.com>
11551 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11552 ImageInputStreams as normal InputStreams.
11553 * gnu/javax/imageio/gif/GIFStream.java:
11554 Moved to gnu/javax/imageio/IIOInputStream.java.
11555 * gnu/javax/imageio/gif/GIFImageReader.java
11556 (readImage): Use IIOInputStream.
11557 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11558 (canDecodeInput): Use IIOInputStream.
11559 * gnu/javax/imageio/png/PNGException.java: Make subclass
11561 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11562 Implements the ImageIO ImageReader for PNG.
11563 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11564 Implements the ImageIO ImageReaderSpi for PNG.
11565 * javax/imageio/spi/IIORegistry.java:
11566 (IIORegistry): Add PNGImageReaderSpi.
11568 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11570 * java/awt/image/ComponentSampleModel.java
11571 (getPixel): Added argument check,
11572 (getSample): Modified exception message.
11574 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11577 * java/awt/image/ConvolveOp.java
11578 (filter(Raster, WritableRaster)): Reimplemented,
11579 (fillEdge): New private method.
11581 2006-07-19 Keith Seitz <keiths@redhat.com>
11583 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11584 (JVMTI_VERSION): Define.
11586 2006-07-19 Roman Kennke <kennke@aicas.com>
11588 * resource/gnu/regexp/MessagesBundle.properties,
11589 * resource/gnu/regexp/MessagesBundle_fr.properties,
11590 * resource/gnu/regexp/MessagesBundle_it.properties:
11591 Moved to resource/gnu/java/util/regex.
11592 * resource/gnu/java/util/regex/MessagesBundle.properties,
11593 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11594 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11596 * gnu/java/util/regex/RE.java
11597 Use new resource bundle location.
11599 2006-07-19 Roman Kennke <kennke@aicas.com>
11601 * javax/swing/JComponent.java
11602 (paintChildren): Refactored. The paintChildrenOptimized method
11603 has been moved back in here. Added locking of the tree and
11604 only check for completely obscured child components
11605 when not optimized drawing enabled. Use Graphics.create() to
11606 protect from irreversible changes.
11607 (isCompletelyObscured): New helper method.
11608 (paintComponent): Also use Graphics.create() for Graphics2D,
11609 to protect from irreverible changes.
11610 (clipAndTranslateGraphics): Refactored to use more efficient
11611 iterative (vs recursive) approach.
11612 * javax/swing/RepaintManager.java
11613 (getOffscreenBuffer): Create image from root component.
11615 2006-07-19 Roman Kennke <kennke@aicas.com>
11617 * gnu/java/awt/peer/x/XGraphics.java
11618 (translate): Don't set the clip on the X server.
11619 (clipRect): Use setXClip() to set the clip on the X server.
11620 (hitClip): More efficient and correct implementation.
11621 (setClip): Use setXClip() to set the clip on the X server.
11622 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11623 (copyArea): Translate and clip the source rectangle correctly.
11624 (dispose): Only flush when object is not yet disposed.
11625 (clone): Use setXClip() to set the clip on the X server.
11627 2006-07-19 Sven de Marothy <sven@physto.se>
11629 * gnu/javax/imageio/png/PNGChunk.java,
11630 * gnu/javax/imageio/png/PNGData.java,
11631 * gnu/javax/imageio/png/PNGDecoder.java,
11632 * gnu/javax/imageio/png/PNGEncoder.java,
11633 * gnu/javax/imageio/png/PNGException.java,
11634 * gnu/javax/imageio/png/PNGFile.java,
11635 * gnu/javax/imageio/png/PNGFilter.java,
11636 * gnu/javax/imageio/png/PNGGamma.java,
11637 * gnu/javax/imageio/png/PNGHeader.java,
11638 * gnu/javax/imageio/png/PNGICCProfile.java,
11639 * gnu/javax/imageio/png/PNGPalette.java,
11640 * gnu/javax/imageio/png/PNGPhys.java,
11641 * gnu/javax/imageio/png/PNGTime.java:
11644 2006-07-19 Sven de Marothy <sven@physto.se>
11646 * java/net/Inet6Address.java:
11647 (getScopedId, getScopedInterface): New methods.
11649 2006-07-19 Lillian Angel <langel@redhat.com>
11651 * examples/gnu/classpath/examples/awt/Demo.java
11652 (DragDropWindow): Fixed typo in Label text.
11653 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11654 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11655 (startDrag): Initialized context field.
11656 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11658 (dragEnter): New function.
11659 (dragExit): Likewise.
11660 (dragDropEnd): Likewise.
11661 (dragMouseMoved): Likewise.
11662 (dragOver): Likewise.
11663 (dragActionChanged): Likewise.
11665 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11668 * resource/java/security/classpath.security: Updated copyright year.
11669 (auth.login.defaultCallbackHandler): New property; set to our default
11670 callback handler. This is needed by the LoginContext when no callback
11671 handler was specified.
11672 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11673 (LoginContext(4)): Assign passed parameters to local fields before invoking
11676 2006-07-19 Roman Kennke <kennke@aicas.com>
11678 * gnu/java/awt/peer/x/XGraphics.java
11679 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11680 Fixed ordering of parameters.
11682 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11684 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11685 (MemoryMXBeanImpl()): Implemented.
11686 (ListenerData): New private class.
11687 (addNotificationListener(NotificationListener,
11688 NotificationFilter, Object)): Implemented.
11689 (getNotificationInfo()): Likewise.
11690 (removeNotificationListener(NotificationListener)):
11692 (removeNotificationListener(NotificationListener,
11693 NotificationFilter, Object)): Likewise.
11695 2006-07-18 Roman Kennke <kennke@aicas.com>
11697 * gnu/java/awt/peer/x/XFontPeer.java
11698 (encodeFont): Be more flexible with font sizes.
11699 (validSize): New helper method.
11700 * gnu/java/awt/peer/x/XGraphics.java
11701 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11703 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11705 * gnu/java/awt/peer/x/XImage.java
11706 (properties): New field.
11707 (getProperty): Implemented.
11708 * resource/gnu/java/awt/peer/x/fonts.properties:
11709 Added copyright header. Fixed font size field.
11711 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11713 * java/awt/image/BandedSampleModel.java
11714 (createDataBuffer): New method override,
11715 * java/awt/image/ByteLookupTable.java
11716 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11717 (ByteLookuptable(int, byte[])): Check for null array,
11718 * java/awt/image/ComponentSampleModel.java
11719 (createDataBuffer): Removed unnecessary braces,
11720 (getSample): Check (x, y) is within bounds,
11721 * java/awt/image/ShortLookupTable.java
11722 (ShortLookupTable(int, short[][])): Create new array to hold references,
11723 (ShortLookupTable(int, short[])): Check for null array,
11724 (getTable): Added API docs,
11725 (lookupPixel): Source reformatting.
11727 2006-07-18 Tania Bento <tbento@redhat.com>
11729 * java/awt/GridLayout.java
11730 (setHgap): Illegal Argument Exception should not be thrown if
11732 (setVgap): Illegal Argument Exception should not be thrown if
11734 (toString): Opening square braket ([) should appear before hgap
11735 value, not the name of the class.
11737 2006-07-18 Roman Kennke <kennke@aicas.com>
11739 * lib/copy-vmresources.sh.in: Reverted.
11740 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11741 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11743 2006-07-18 Roman Kennke <kennke@aicas.com>
11745 * lib/copy-vmresources.sh.in: Include properties from X peers.
11747 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11750 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11751 certificate validity.
11752 (getIssuerName): New method.
11753 (getSubjectName): Likewise.
11754 (getNotAfterDate): Likewise.
11755 (getNotBeforeDate): Likewise.
11756 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11757 messages for newly added messages in SFHelper.
11759 2006-07-18 Roman Kennke <kennke@aicas.com>
11761 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11762 * gnu/java/awt/peer/x/XEventPump.java
11763 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11764 * gnu/java/awt/peer/x/XFramePeer.java
11765 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11766 * gnu/java/awt/peer/x/XGraphics.java
11767 Made subclass of Graphics rather than Graphics2D. Removed
11768 all Graphics2D specific method stubs.
11769 (setColor): Map colors using the X color map that is
11770 stored in XToolkit.
11771 * gnu/java/awt/peer/x/XToolkit.java
11772 (colorMap): New field.
11773 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11775 (createDialog): Implemented.
11776 (createImage(ImageProducer)): Implemented.
11777 (createImage(InputStream)): Use createImage(ImageProducer)
11778 to convert the BufferedImage to an XImage.
11779 * gnu/java/awt/peer/x/XWindowPeer.java
11780 (XWindowPeer): Removed debug output.
11782 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11784 * java/awt/image/BufferedImageOp.java: API docs added,
11785 * java/awt/image/RasterOp.java: Likewise.
11787 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11789 * java/awt/Graphics2D.java: API docs updated.
11791 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11793 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11796 2006-07-18 Sven de Marothy <sven@physto.se>
11798 * java/net/Inet6Address.java:
11799 Add 1.5 serialized fields.
11800 (getByAddress): New methods.
11801 (readObject, writeObject): New methods.
11802 (equals): Reimplement.
11804 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11806 * java/awt/image/Raster.java: Added API docs and reformatted source
11809 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11811 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11813 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11814 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11815 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11816 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11817 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11818 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11819 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11820 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11821 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11822 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11823 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11824 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11825 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11826 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11827 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11828 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11829 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11830 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11831 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11832 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11833 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11835 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11837 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11838 to make it compile again under jikes. Note added.
11840 2006-07-17 Lillian Angel <langel@redhat.com>
11842 * examples/gnu/classpath/examples/awt/Demo.java
11843 (Demo): Added new window for DnD demo.
11844 (DragDropWindow): New class.
11845 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11846 Added new fields and declarations for native functions.
11847 (GtkDragSourceContextPeer): Implemented.
11848 (getComponentPeer): New function.
11849 (startDrag): Partially implemented.
11850 (getCursor): Implemented.
11851 (setCursor): Implemented.
11852 * include/GtkDragSourceContextPeer.h: New file.
11853 * include/Makefile.am: Added new header file.
11854 * java/awt/Component.java
11855 (addNotify): Added call to the dropTarget's addNotify.
11856 * java/awt/dnd/DragSource.java
11857 (startDrag): Fixed code to use shared instances of peer and
11859 (getDragThreshold): Added stub.
11860 * java/awt/dnd/DropTarget.java
11861 (DropTarget): Implemented fully.
11862 (addNotify): Added code to get the peer of the parent that is
11864 * java/awt/dnd/DropTargetDragEvent.java
11865 (getTransferable): Added stub.
11866 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11867 * native/jni/gtk-peer/Makefile.am: Added new c file.
11868 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11869 Changed to extend GtkGenericPeer.
11870 (GtkDropTargetContextPeer): New constructor.
11871 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11872 Changed to extend GtkGenericPeer.
11873 (GtkDropTargetContextPeer): New constructor.
11875 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11877 * java/awt/image/SinglePixelPackedSampleModel.java
11878 (createSubsetSampleModel): Added argument check and API docs.
11880 2006-07-17 Roman Kennke <kennke@aicas.com>
11882 * gnu/java/awt/peer/x/XGraphics.java
11883 (copyArea): Implemented.
11885 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11887 * java/awt/image/SinglePixelPackedSampleModel.java
11888 (getSampleSize): Return copy of array,
11889 (getOffset): Added API docs,
11890 (getScanlineStride): Likewise,
11891 (hashCode): Implemented.
11893 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11895 * java/awt/image/MultiPixelPackedSampleModel.java
11896 (getOffset): Updated API docs and source reformatting,
11897 (getBitOffset): Source reformatting only,
11898 (getDataElements): Likewise,
11899 (getPixel): Likewise,
11900 (getPixels): Removed method override,
11901 (setDataElements): Reimplemented.
11903 2006-07-17 Gary Benson <gbenson@redhat.com>
11905 * resource/META-INF/services/.cvsignore: New file.
11906 * lib/.cvsignore: Updated.
11908 2006-07-17 Roman Kennke <kennke@aicas.com>
11910 * javax/swing/plaf/basic/BasicButtonListener.java
11911 (propertyChange): Only do the text layout caching as long
11912 as the noGraphics2D property isn't set.
11913 * javax/swing/plaf/basic/BasicMenuItemUI.java
11914 (PropertyChangeHandler.propertyChange): Only do the text layout
11915 caching as long as the noGraphics2D property isn't set.
11917 2006-07-17 Roman Kennke <kennke@aicas.com>
11919 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11920 (XGraphicsEnvironment): Make constructor public so that it
11921 can be called via Class.forName().newInstance().
11922 * gnu/java/awt/peer/x/XImage.java
11923 (XImage): Fetch GraphicsEnvironment via
11924 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11925 than the XToolkit method, to avoid double instantiation
11926 of the XGraphicsEnvironment.
11927 * gnu/java/awt/peer/x/XToolkit.java
11928 (env): Removed field.
11929 (getLocalGraphicsEnvironment): Removed impl. This method
11930 should not be called since we set the graphicsenv property
11931 in the constructor.
11933 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11935 * java/util/UUID.java:
11936 (compareTo(Object)): Call compareTo(UUID).
11937 (compareTo(UUID)): Implemented.
11939 2006-07-16 Tom Tromey <tromey@redhat.com>
11941 * java/lang/StrictMath.java (cbrt): Added '@since'.
11943 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11945 * java/lang/StrictMath.java (cbrt): New method.
11946 (getLowDWord): New helper method.
11947 (getHighDWord): Likewise.
11948 (buildDouble): Likewise.
11949 (CBRT_B1): New field.
11950 (CBRT_B2): Likewise.
11951 (CBRT_C): Likewise.
11952 (CBRT_D): Likewise.
11953 (CBRT_E): Likewise.
11954 (CBRT_F): Likewise.
11955 (CBRT_G): Likewise.
11957 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11959 * javax/management/MBeanInfo.java:
11960 (getNotifications()): Implemented.
11961 * javax/management/NotificationBroadcaster.java:
11962 (removeNotificationListener(NotificationListener)):
11963 Renamed from removeListener.
11964 * javax/management/NotificationEmitter.java:
11965 (removeNotificationListener(NotificationListener,
11966 NotificationFilter, Object)): Likewise.
11967 * javax/management/NotificationFilter.java:
11968 Implement Serializable.
11969 * javax/management/NotificationListener.java:
11970 Implement java.util.EventListener.
11971 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11972 Implement Serializable.
11974 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11976 * java/lang/management/MemoryNotificationInfo.java:
11979 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11982 * gnu/javax/swing/text/html/parser/htmlValidator.java
11983 (tagIsValidForContext): If it is not possible to insert any tag, but
11984 is possible to insert a P, insert a P.
11985 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11986 (newInstance): Removed print statement. (getBodyElements):
11987 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11988 valid body level tags (will be enclosed into P's).
11990 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11992 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11993 Condition the creation of .keystore (a default keystore) based on the
11994 createIfNotFound argument as well.
11996 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11999 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12000 Removed heading p tag from the parsing example.
12001 * gnu/javax/swing/text/html/parser/HTML_401F.java:
12002 (createHtmlContentModel): Explained.
12003 (defineElements): Call getBodyElements to get the body
12004 elements. (getBodyElements): New method. (model):
12005 Made protected from private.
12006 * gnu/javax/swing/text/html/parser/htmlValidator.java
12007 (openTag): Mind that current content model may be null.
12008 (tagIsValidForContext): If the tag is PCDATA, and it is not
12009 valid for context, but the paragraph (P) is valid for context,
12010 suggest to insert the P tag here.
12011 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
12012 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
12013 implied P tags here.
12014 * javax/swing/text/html/HTMLEditorKit.java (getParser):
12015 Get the custom parser, using HTML_401Swing.java DTD.
12016 * javax/swing/text/html/parser/ParserDelegator.java:
12017 Removed the obsolete note that HTMLEditorKit does not exist.
12018 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
12019 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
12021 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12023 * javax/management/ListenerNotFoundException.java:
12025 * javax/management/MBeanFeatureInfo.java:
12026 (hashCode()): Use summation instead of multiplication
12027 for consistency with other classes.
12028 * javax/management/MBeanNotificationInfo.java,
12029 * javax/management/Notification.java,
12030 * javax/management/NotificationBroadcaster.java,
12031 * javax/management/NotificationEmitter.java,
12032 * javax/management/NotificationFilter.java,
12033 * javax/management/NotificationListener.java:
12035 * javax/management/OperationsException.java:
12036 (serialVersionUID): Added.
12038 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
12039 Mark Wielaard <mark@klomp.org>
12041 * java/io/PrintStream.java: Added four constructors, for File and
12042 String describing a filename with or without explicit encoding.
12044 2006-07-16 Sven de Marothy <sven@physto.se>
12046 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12047 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12050 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12053 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
12055 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12056 (setProviderClassNameParam): Made private.
12057 (setKeystoreTypeParam): Likewise.
12058 (setKeyPasswordParam): Likewise
12059 (setKeystorePasswordParam): Likewise.
12060 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12061 create or not the keystore if it's not there, and the second is the store's
12062 password to process before loading the keystore. Amended the code
12064 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12065 setKeyStoreParams(5) with true as its first argument.
12066 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12067 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12069 2006-07-16 Sven de Marothy <sven@physto.se>
12071 * java/util/UUID.java: New file.
12073 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12075 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12076 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12077 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12078 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12079 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12080 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12081 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12082 added Key Wrapping Algorithm SPIs.
12084 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12086 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12087 wrapping/unwrapping to invoke their engineGetOutputSize.
12089 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12091 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12092 (engineInit): If a SecureRandom was specified then use it.
12093 (nextRandomBytes): New method.
12094 (engineWrap): Use above method.
12095 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12096 (getDefaultPRNG): New method.
12097 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12098 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12101 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12103 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12104 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12106 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12108 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12109 offset into consideration.
12111 2006-07-16 Mario Torre <neugens@limasoftware.net>
12113 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12114 Fixed comment. This functions now requires to be called
12115 with gdk lock held, the comment states that.
12116 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12117 Introduces gdk locks around critical regions of code.
12118 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12120 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12122 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12124 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12126 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12128 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12130 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12132 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12134 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12136 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12137 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12139 2006-07-15 Sven de Marothy <sven@physto.se>
12141 * javax/swing/JFileChooser.java
12142 Change default selection mode to FILES_ONLY.
12143 * javax/swing/plaf/basic/BasicDirectoryModel.java
12144 Document, fix selection mode filtering.
12145 (renameFile): Implement
12146 * javax/swing/plaf/basic/BasicFileChooserUI.java
12147 (selectedDir): New field to handle selected directories,
12148 disallow selecting of directories in FILES_ONLY mode.
12149 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12150 (EditingActionListener.actionPerformed):
12151 Stop editing on all actions (e.g. return-key press)
12153 2006-07-15 Mark Wielaard <mark@klomp.org>
12155 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12157 (JNI Implementation): Mark JVMTI Implementation as next.
12158 (JVMTI Implementation): Mark JNI Implementation as prev.
12160 2006-07-15 Mark Wielaard <mark@klomp.org>
12162 * include/Makefile.am: Remove
12163 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12164 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12165 * native/jni/gtk-peer/Makefile.am: Remove
12166 gnu_java_awt_peer_gtk_GdkTextLayout.c
12167 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12170 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12172 2006-07-15 Mark Wielaard <mark@klomp.org>
12174 * autogen.sh: Recognize autoconf 2.60.
12176 2006-07-15 Keith Seitz <keiths@redhat.com>
12178 * NEWS: Update for JVMTI and jvmti.h.
12179 * doc/vmintegration.texinfo: Likewise.
12180 * include/jvmti.h: New file.
12182 2006-07-15 Mark Wielaard <mark@klomp.org>
12184 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12185 Removed C++ style comment.
12187 2006-07-15 Sven de Marothy <sven@physto.se>
12189 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12190 * java/awt/MouseInfo.java,
12191 * java/awt/PointerInfo.java,
12192 * java/awt/peer/MouseInfoPeer.java:
12195 * java/awt/Image.java
12196 (accelerationPriority): New field.
12197 (setAccelerationPriority, getAccelerationPriority): New methods..
12199 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12200 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12201 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12202 (getMouseCoordinates): New method.
12204 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12205 (updateAlwaysOnTop): Remove stub overload.
12207 * gnu/java/awt/ClasspathToolkit.java,
12208 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12209 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12210 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12211 (getMouseInfoPeer): New method.
12212 (getMouseNumberOfButtons): New method.
12214 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12215 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12216 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12217 (gtkWindowSetAlwaysOnTop): New method.
12218 (updateAlwaysOnTop): Implement.
12220 * java/awt/Toolkit.java,
12221 (getMouseInfoPeer): New method.
12223 * java/awt/Window.java
12224 (alwaysOnTop): New field.
12225 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12227 * java/awt/peer/WindowPeer.java: Doc fix.
12229 2006-07-14 Sven de Marothy <sven@physto.se>
12231 * java/awt/font/TextLayout.java:
12232 (hitTestChar): Stub method.
12233 * java/awt/font/TextMeasurer.java:
12234 (getLayout): Throw exception on invalid argument.
12236 2006-07-14 Sven de Marothy <sven@physto.se>
12238 * java/awt/image/DataBuffer.java
12239 (DataBuffer): Call constructors in the correct order,
12241 2006-07-14 Mark Wielaard <mark@klomp.org>
12243 Revert to previous implementation.
12244 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12245 constraints insets.
12247 2006-07-14 Roman Kennke <kennke@aicas.com>
12249 * gnu/java/awt/peer/x/XToolkit.java
12250 (XToolkit): Install properties to SystemProperties
12251 rather than System, to avoid SecurityManager.
12252 (getImage(String)): Return error image when string is invalid.
12253 (createImage(URL)): Moved image loading to helper method.
12254 (createImage(ImageProducer)): Implemented.
12255 (createImage(byte[],int,int)): Implemented.
12256 (createImage(InputStream)): New helper method.
12258 2006-07-14 Tania Bento <tbento@redhat.com>
12260 * java/awt/FlowLayout.java
12261 (setHgap): No Excpetion should be thrown if hgap has
12263 (setVgap): No Exception should be thrown if vgap has
12266 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12268 * java/awt/image/MultiPixelPackedSampleModel.java:
12269 Added API docs all over.
12271 2006-07-14 Matt Wringe <mwringe@redhat.com>
12273 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12274 (engineInit): Throw InvalidAlgorithmParameterException
12275 for invalid IVParameterSpec IV length.
12277 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12279 * java/awt/image/MultiPixelPackedSampleModel.java
12280 (createDataBuffer): Include dataBitOffset in calculating the size for
12283 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12285 * java/awt/image/MultiPixelPackedSampleModel.java
12286 (getSampleSize()): Return a copy of the array,
12287 (getTransferType()): New method override.
12289 2006-07-14 Roman Kennke <kennke@aicas.com>
12291 * java/awt/CardLayout.java
12292 (show): Validate parent to make sure that the layout is
12295 2006-07-14 Roman Kennke <kennke@aicas.com>
12297 * java/awt/Component.java
12298 (enable): Added tree locking.
12299 (disable): Added tree locking.
12300 (show): Added tree locking.
12301 (hide): Added tree locking.
12302 (getLocationOnScreen): Added tree locking.
12303 (reshape): Added tree locking.
12304 (addHierarchyListener): Added tree locking.
12305 (removeHierarchyListener): Added tree locking.
12306 (addHierarchyBoundsListener): Added tree locking.
12307 (removeHierarchyBoundsListener): Added tree locking.
12308 (addNotify): Added tree locking.
12309 (removeNotify): Added tree locking.
12310 * java/awt/Container.java
12311 (invalidateTree): Added tree locking.
12312 (getAlignmentX): Added tree locking.
12313 (getAlignmentY): Added tree locking.
12314 (addNotify): Added tree locking.
12315 (setComponentZOrder): Added tree locking.
12316 (getComponentZOrder): Added tree locking.
12318 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12320 * java/awt/image/MultiPixelPackedSampleModel.java
12321 (createSubsetSampleModel): Restored argument check, but let null
12324 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12326 * java/awt/image/MultiPixelPackedSampleModel.java
12327 (createSubsetSampleModel): Removed argument check.
12329 2006-07-14 Roman Kennke <kennke@aicas.com>
12331 * java/awt/Component.java
12332 (numHierarchyListeners): New field.
12333 (numHierarchyBoundsListeners): New field.
12334 (show): Fire hierarchy events here. Only fire component event
12335 if there is actually a listener for it.
12336 (hide): Fire hierarchy events here. Only fire component event
12337 if there is actually a listener for it.
12338 (reshape): Fire hierarchy events here. Only fire component event
12339 if there is actually a listener for it.
12340 (addHierarchyListeners): Update listener counters.
12341 (removeHierarchyListeners): Update listener counters.
12342 (addHierarchyBoundsListeners): Update listener counters.
12343 (removeHierarchyBoundsListeners): Update listener counters.
12344 (fireHierarchyEvent): New helper method for firing hierarchy
12346 * java/awt/Container.java
12347 (addImpl): Update listener counters. Fire hierarchy event.
12348 (remove): Update listener counters. Fire hierarchy event.
12349 (fireHierarchyEvent): New helper method for firing hierarchy
12351 (updateHierarchyListenerCount): New helper method for
12352 updating the listener counters.
12354 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12356 * java/awt/image/MultiPixelPackedSampleModel.java
12357 (equals): New method override,
12358 (hashCode): Likewise.
12360 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12362 * java/awt/image/MultiPixelPackedSampleModel.java
12363 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12364 Corrected scanlineStride calculation.
12366 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12368 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12369 (AES_KWA): Likewise.
12370 (AES128_KWA): Likewise.
12371 (AES192_KWA): Likewise.
12372 (AES256_KWA): Likewise.
12373 (RIJNDAEL_KWA): Likewise.
12374 (TRIPLEDES_KWA): Likewise.
12375 (DESEDE_KWA): Likewise.
12376 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12377 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12378 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12379 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12380 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12381 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12383 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12385 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12386 (PADDING_BLOCK_SIZE): New constant.
12387 (init(Map attributes)): New method.
12388 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12390 2006-07-14 Mario Torre <neugens@limasoftware.net>
12392 * gnu/java/security/OID.java (OID): Private Constructor removed as
12393 it is not needed anymore.
12394 (clone): Fixed. Now uses super.clone instead of the private
12395 constructor as per specification of clone method.
12396 (serialVersionUID): added new field to allow serialization.
12398 2006-07-13 Sven de Marothy <sven@physto.se>
12400 * gnu/javax/imageio/gif/GIFImageReader.java
12401 (read): Remove old debugging trace.
12403 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12406 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12409 2006-07-13 Roman Kennke <kennke@aicas.com>
12411 * java/awt/Component.java
12412 (DEFAULT_MAX_SIZE): New static constant.
12413 (preferredSize): Return copy of the actual value computed
12414 by new helper method.
12415 (preferredSizeImpl): New helper method. Adds locking and
12416 correct handling of cached value.
12417 (minimumSize): Return copy of the actual value computed
12418 by new helper method.
12419 (minimumSizeImpl): New helper method. Adds locking and
12420 correct handling of cached value.
12421 (getMaximumSize): Return copy of the actual value computed
12422 by new helper method.
12423 (maximumSizeImpl): New helper method. Adds locking and
12424 correct handling of cached value.
12425 (invalidate): Correct handling of cached layout information.
12427 * java/awt/Container.java
12428 (preferredSize): Minimized locking. Corrected handling of cached
12429 values. Return copy of real value.
12430 (minimumSize): Minimized locking. Corrected handling of cached
12431 values. Return copy of real value.
12432 (getMaximumSize): Minimized locking. Corrected handling of cached
12433 values. Return copy of real value.
12435 2006-07-13 Tania Bento <tbento@redhat.com>
12437 * gnu/java/awt/peer/ClasspathFontPeer.java
12438 (isLogicalFontName): Return true if name == default.
12439 (logicalFontNameToFaceName): Check if name == default,
12440 and if so, return "Dialog.plain".
12441 (setStandardAttributes(String, Map)): If name == null,
12442 it should be set to "Default", not "SansSerif".
12443 * java/awt/Canvas.java
12444 (generateName): Fixed documentation.
12445 * java/awt/CheckboxMenuItem.java
12446 Added static variable "next_chkmenuitem_number".
12447 (generateName): Added and implemented method.
12448 (getUniqueLong): Likewise.
12449 * java/awt/Choice.java
12450 Added static variable "next_choice_number".
12451 (generateName): Added and implemented method.
12452 (getUniqueLong): Likewise.
12453 * java/awt/Cursor.java
12454 (Cursor(int)): Set name depending on the type passed.
12455 * java/awt/List.java
12456 Added static variable "next_list_number".
12457 (generateName): Added and implemented method.
12458 (getUniqueLong): Likewise.
12459 * java/awt/Menu.java
12460 Added static variable "next_menu_number".
12461 (generateName): Added and implemented method.
12462 (getUniqueLong): Likewise.
12463 * java/awt/MenuBar.java
12464 Added static variable "next_menubar_number".
12465 (generateName): Added and implemented method.
12466 (getUniqueLong): Likewise.
12467 * java/awt/MenuComponent.java
12468 (getName): Before returning name, check if name == null
12469 and name is not explicity set. If this is the case,
12470 name will be generated.
12471 (generateName): Added and implemented method.
12472 * java/awt/MenuItem.java
12473 Added static variable "next_menuitem_number".
12474 (generateName): Added and implemented method.
12475 (getUniqueLong): Likewise.
12476 * java/awt/PopupMenu.java
12477 Added static variable "next_popup_number".
12478 (generateName): Added and implemented method.
12479 (getUniqueLong): Likewise.
12480 * java/awt/ScrollPane.java
12481 Added static variable "next_scrollpane_number".
12482 (generateName): Added and implemented method.
12483 (getUniqueLong): Likewise.
12484 * java/awt/TextField.java
12485 Added static variable "next_textfield_number".
12486 (generateName): Added and implemented method.
12487 (getUniqueLong): Likewise.
12490 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12492 * java/awt/image/SinglePixelPackedSampleModel.java
12493 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12494 mask correctly as an unsigned integer,
12495 (equals): New method override.
12497 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12499 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12500 insertAfterStart, insertBeforeEnd): Removed stub markings.
12502 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12504 * java/awt/image/BandedSampleModel.java: API doc updates and source
12506 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12508 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12510 * java/awt/image/BandedSampleModel.java: API doc updates.
12512 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12514 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12515 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12516 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12517 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12518 (HRMLReader.blockClose): Mind that parser stack may be empty.
12519 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12520 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12521 (HTMLReader.shouldInsert): New method. (getElement(String)):
12522 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12523 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12524 Implemented. (getInsertingReader): New method.
12525 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12526 Added buttons to demonstrate the work of the insert actions.
12528 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12530 * java/awt/image/SampleModel.java: API doc updates and additions,
12531 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12533 2006-07-12 Sven de Marothy <sven@physto.se>
12535 * javax/swing/JFileChooser.java:
12536 (createDialog): Close operation should cause a cancel.
12538 2006-07-12 Francis Kung <fkung@redhat.com>
12540 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12541 (cairoArc): New native method.
12542 (cairoRestore): New native method.
12543 (cairoSave): New native method.
12544 (cairoScale): New native method.
12545 (createPath): New method to centralize code from draw and fill.
12546 (draw): Modified to use createPath method.
12547 (fill): Modified to use createPath method.
12548 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12549 function declarations.
12550 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12551 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12553 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12555 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12558 2006-07-12 Tom Tromey <tromey@redhat.com>
12561 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12562 on PartialInputStream.
12563 (PartialInputStream.dummyByteCount): New field.
12564 (PartialInputStream.fillBuffer): Handle dummy byte.
12565 (PartialInputStream.read): Likewise.
12566 (PartialInputStream.addDummyByte): New method.
12568 2006-07-12 Mario Torre <neugens@limasoftware.net>
12570 * native/jni/gconf-peer/GConfNativePeer.c
12571 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12572 Fixed C++ style comment.
12574 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12576 * java/util/Arrays.java
12577 (asList): Updated API docs.
12579 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12582 * native/jni/gconf-peer/GConfNativePeer.c:
12583 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12584 Changed if-expression.
12585 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12586 Added check for _value not being NULL.
12588 2006-07-11 Roman Kennke <kennke@aicas.com>
12590 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12591 (read): Use fd when local sockets are disabled to make the
12595 2006-07-11 Roman Kennke <kennke@aicas.com>
12597 * java/awt/image/MultiPixelPackedSampleModel.java
12598 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12599 division gets rounded up.
12601 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12603 * java/lang/management/ManageFactory.java:
12604 (getMemoryManagerMXBeans()): Use addAll, not add.
12606 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12609 * gnu/classpath/ByteArray.java: Removed (moved).
12610 * gnu/java/security/util/ByteArray.java: New File.
12611 * gnu/javax/crypto/RSACipherImpl.java: Reference
12612 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12614 2006-07-11 Roman Kennke <kennke@aicas.com>
12616 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12617 (available): Pass fd as argument and avoid JNI class/field
12621 * include/gnu_java_net_local_LocalSocketImpl.h:
12623 * gnu/java/net/local/LocalSocketImpl.h
12624 (available): Pass fd as argument and avoid JNI class/field
12629 2006-07-11 Sven de Marothy <sven@physto.se>
12631 * gnu/javax/sound/sampled/AU/AUReader.java:
12632 Correct file extension from .as to .au.
12634 2006-07-11 Sven de Marothy <sven@physto.se>
12636 * gnu/javax/sound/sampled/AU/AUReader.java:
12638 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12639 Added new provider.
12641 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12643 * javax/swing/JTable.java
12644 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12645 (setColumnSelectionAllowed): Likewise.
12647 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12650 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12651 AccessController.doPrivileged instead of SystemProperties.getProperty.
12652 * gnu/classpath/debug/SystemLogger.java: Likewise.
12653 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12654 repeated getProperty calls for "file.seperator".
12655 (refresh): Since already in privileged block, call System.getProperty
12656 instead of SystemProperties.getProperty.
12657 * gnu/java/security/key/dss/DSSKey.java
12658 (toString): Use AccessController.doPrivileged instead of
12659 SystemProperties.getProperty.
12660 * gnu/java/security/key/dss/DSSPrivateKey.java
12661 (toString): Likewise.
12662 * gnu/java/security/key/dss/DSSPublicKey.java
12663 (toString): Likewise.
12664 * gnu/java/security/key/rsa/GnuRSAKey.java
12665 (toString): Likewise.
12666 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12667 (toString): Likewise.
12668 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12669 (toString): Likewise.
12670 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12671 * gnu/javax/crypto/key/dh/GnuDHKey.java
12672 (toString): Likewise.
12673 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12674 (toString): Likewise.
12675 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12676 (toString): Likewise.
12678 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12680 * javax/swing/AbstractButton.java
12681 (disabledIcon): Fixed name (was 'disabeldIcon'),
12682 (getDisabledIcon): Updated for corrected field name,
12683 (setDisabledIcon): Fire a PropertyChangeEvent.
12685 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12687 * javax/swing/DefaultBoundedRangeModel.java
12688 (readObject): New private method,
12689 (writeObject): Likewise.
12691 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12693 * javax/swing/ButtonGroup.java
12694 (add): Ignore null argument,
12695 (remove): Ignore null argument. If removing selected button, clear the
12697 (findButton): Changed case for method name, and documented,
12698 (setSelected): Updated for modification to findButton() method name,
12699 (isSelected): Updated API docs.
12701 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12703 * java/awt/image/BufferedImage.java
12704 (BufferedImage(int, int, int)): Use correct color space for
12705 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12706 IllegalArgumentException for an unrecognised type.
12708 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12710 * java/lang/management/ManagementFactory.java:
12711 (getMemoryPoolMXBeans): Genericized fully.
12712 (getMemoryManagerMXBeans): Likewise.
12713 (getGarbageCollectorMXBeans): Likewise.
12715 2006-07-10 Tom Tromey <tromey@redhat.com>
12717 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12719 (getMemoryManagerMXBeans): Likewise.
12720 (getGarbageCollectorMXBeans): Likewise.
12722 2006-07-10 Mario Torre <neugens@limasoftware.net>
12724 * java/awt/BasicStroke.java: Removed unused import.
12725 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12726 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12727 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12729 2006-07-10 Matt Wringe <mwringe@redhat.com>
12731 PR classpath/28212:
12732 * javax/crypto/spec/SecretKeySpec.java
12733 (equals): Check object type.
12735 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12737 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12738 communication/StructureToPassHelper.java,
12739 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12740 communication/StructureToReturnHelper.java,
12741 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12742 communication/TreeNodeHelper.java,
12743 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12744 communication/WeThrowThisExceptionHelper.java,
12745 gnu/CORBA/ForwardRequestHelper.java,
12746 org/omg/CORBA/CompletionStatusHelper.java,
12747 org/omg/CORBA/CurrentHelper.java,
12748 org/omg/CORBA/DefinitionKindHelper.java,
12749 org/omg/CORBA/IDLTypeHelper.java,
12750 org/omg/CORBA/NameValuePairHelper.java,
12751 org/omg/CORBA/ObjectHelper.java,
12752 org/omg/CORBA/ParameterModeHelper.java,
12753 org/omg/CORBA/PolicyErrorCodeHelper.java,
12754 org/omg/CORBA/PolicyErrorHelper.java,
12755 org/omg/CORBA/PolicyHelper.java,
12756 org/omg/CORBA/PolicyListHelper.java,
12757 org/omg/CORBA/PolicyTypeHelper.java,
12758 org/omg/CORBA/ServiceDetailHelper.java,
12759 org/omg/CORBA/ServiceInformationHelper.java,
12760 org/omg/CORBA/SetOverrideTypeHelper.java,
12761 org/omg/CORBA/StringValueHelper.java,
12762 org/omg/CORBA/UnionMemberHelper.java,
12763 org/omg/CORBA/UnknownUserExceptionHelper.java,
12764 org/omg/CORBA/VisibilityHelper.java,
12765 org/omg/CORBA/WStringValueHelper.java,
12766 org/omg/CORBA/WrongTransactionHelper.java,
12767 org/omg/CosNaming/BindingHelper.java,
12768 org/omg/CosNaming/BindingIteratorHelper.java,
12769 org/omg/CosNaming/BindingListHelper.java,
12770 org/omg/CosNaming/BindingTypeHelper.java,
12771 org/omg/CosNaming/NameComponentHelper.java,
12772 org/omg/CosNaming/NameHelper.java,
12773 org/omg/CosNaming/NamingContextExtHelper.java,
12774 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12775 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12776 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12777 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12778 org/omg/CosNaming/NamingContextHelper.java,
12779 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12780 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12781 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12782 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12783 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12784 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12785 org/omg/DynamicAny/AnySeqHelper.java,
12786 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12787 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12788 org/omg/DynamicAny/DynAnyHelper.java,
12789 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12790 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12791 org/omg/DynamicAny/DynAnySeqHelper.java,
12792 org/omg/DynamicAny/DynArrayHelper.java,
12793 org/omg/DynamicAny/DynEnumHelper.java,
12794 org/omg/DynamicAny/DynFixedHelper.java,
12795 org/omg/DynamicAny/DynSequenceHelper.java,
12796 org/omg/DynamicAny/DynStructHelper.java,
12797 org/omg/DynamicAny/DynUnionHelper.java,
12798 org/omg/DynamicAny/DynValueHelper.java,
12799 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12800 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12801 org/omg/DynamicAny/NameValuePairHelper.java,
12802 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12803 org/omg/IOP/CodecFactoryHelper.java,
12804 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12805 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12806 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12807 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12808 org/omg/IOP/ComponentIdHelper.java,
12809 org/omg/IOP/IORHelper.java,
12810 org/omg/IOP/MultipleComponentProfileHelper.java,
12811 org/omg/IOP/ProfileIdHelper.java,
12812 org/omg/IOP/ServiceContextHelper.java,
12813 org/omg/IOP/ServiceContextListHelper.java,
12814 org/omg/IOP/ServiceIdHelper.java,
12815 org/omg/IOP/TaggedComponentHelper.java,
12816 org/omg/IOP/TaggedProfileHelper.java,
12817 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12818 org/omg/PortableInterceptor/AdapterNameHelper.java,
12819 org/omg/PortableInterceptor/AdapterStateHelper.java,
12820 org/omg/PortableInterceptor/CurrentHelper.java,
12821 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12822 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12823 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12824 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12825 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12826 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12827 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12828 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12829 org/omg/PortableServer/CurrentHelper.java,
12830 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12831 org/omg/PortableServer/ForwardRequestHelper.java,
12832 org/omg/PortableServer/POAHelper.java,
12833 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12834 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12835 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12836 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12837 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12838 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12839 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12840 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12841 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12842 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12843 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12844 org/omg/PortableServer/ServantActivatorHelper.java,
12845 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12846 typecode caching and always use OrbRestricted.Singleton.
12848 2006-07-09 Tom Tromey <tromey@redhat.com>
12850 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12852 2006-07-09 Mark Wielaard <mark@klomp.org>
12854 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12855 New static final boolean field.
12856 (getComponentGraphics): Use hasXRenderExtension.
12857 (setClip): Override method for locking.
12859 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12861 * javax/swing/AbstractButton.java
12862 (setHorizontalTextPosition): Added check for illegal argument,
12863 (setVerticalTextPosition): Likewise.
12865 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12867 * javax/swing/Timer.java
12868 (setDelay): Throw IllegalArgumentException for negative delay,
12869 (setInitialDelay): Likewise,
12870 * javax/swing/ToolTipManager.java
12871 (setInitialDelay): Document IllegalArgumentException,
12872 (setDismissDelay): Likewise,
12873 (setReshowDelay): Likewise.
12875 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12877 * java/lang/management/MemoryUsage.java:
12878 (from(javax.management.openmbean.CompositeData)):
12880 * java/lang/management/ThreadInfo.java:
12881 Changed to use open types throughout for the state.
12882 (ThreadInfo(long,String,String,long,long,String,
12883 long,String,long,long,boolean,StackTraceElement[])):
12885 (checkAttribute(javax.management.openmbean.CompositeType,
12886 String, javax.management.openmbean.OpenType)): New method.
12887 (from(javax.management.openmbean.CompositeData)):
12889 (getLockName()): Fixed to use new variable.
12890 (getLockOwnerId()): Likewise.
12891 (getLockOwnerName()): Likewise.
12892 (getThreadId()): Likewise.
12893 (getThreadName()): Likewise.
12894 (getThreadState()): Likewise.
12895 (toString()): Refactored to use new variables.
12896 * javax/management/openmbean/ArrayType.java:
12898 * javax/management/openmbean/CompositeType.java:
12899 Variables should be transient, not volatile.
12900 * javax/management/openmbean/OpenDataException.java:
12901 (serialVersionUID): Added.
12902 * javax/management/openmbean/SimpleType.java:
12904 * javax/management/openmbean/TabularType.java
12905 Variables should be transient, not volatile.
12907 2006-07-09 Tom Tromey <tromey@redhat.com>
12909 * tools/.cvsignore: Updated for new tools.
12911 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12913 * javax/management/openmbean/CompositeData.java,
12914 * javax/management/openmbean/CompositeType.java,
12915 * javax/management/openmbean/OpenDataException.java,
12916 * javax/management/openmbean/OpenType.java,
12917 * javax/management/openmbean/TabularData.java,
12918 * javax/management/openmbean/TabularType.java,
12919 * javax/management/openmbean/package.html:
12922 2006-07-09 Mark Wielaard <mark@klomp.org>
12924 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12925 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12926 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12928 2006-07-08 Anthony Green <green@redhat.com>
12930 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12931 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12934 2006-07-09 Mario Torre <neugens@limasoftware.net>
12936 * native/jni/gconf-peer/GConfNativePeer.c:
12937 Fixed indentation to be more compliant to the GNU coding
12939 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12940 Added explicit test for errors in the GConf backend.
12941 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12942 Added explicit test for errors in the GConf backend.
12943 Fixed Segmentation Fault when non valid key names are given as input.
12944 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12946 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12947 Added explicit test for errors in the GConf backend.
12948 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12949 Added javadoc comments for all native methods.
12950 (nodeExist): removed test to check for valid absolute path name
12952 (startWatchingNode): likewise.
12953 (stopWatchingNode): likewise.
12954 (setString): likewise, plus fixed javadoc comments.
12955 (unset): likekwise.
12956 (getKey): likewise.
12957 (getKeys): likewise, also fixed javadoc comments.
12958 (getChildrenNodes): likewise.
12959 * gnu/java/util/prefs/GConfBasedPreferences.java:
12960 changed DEFAULT_USER_ROOT to /apps/classpath.
12961 (constructor): Test to check for a valid absolute path for nodes
12962 is now in the contructor for that node, instead of being on
12963 each method of the backend.
12964 (getGConfKey): removed empty new line.
12966 2006-07-08 Mark Wielaard <mark@klomp.org>
12968 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12970 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12972 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12973 Handle the forced break in the same way as exceeding the
12974 available row space.
12975 * javax/swing/text/html/HRuleView.java: Rewritten.
12976 * javax/swing/text/html/HTMLDocument.java
12977 (HTMLReader.addSpecialElement):Reserve two characters for
12978 the special elements.
12979 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12980 (text): Extended the HTML example to parse.
12982 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12984 * javax/swing/AbstractButton.java
12985 (setHorizontalAlignment): Check for illegal argument,
12986 (setVerticalAlignment): Likewise.
12988 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12990 * javax/swing/text/html/TableView.java
12991 (getStyleSheet): New method. (RowView.getStyleSheet):
12994 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12996 * javax/swing/AbstractButton.java
12997 (setRolloverIcon): Call setRolloverEnabled(true),
12998 (setRolloverSelectedIcon): Likewise.
13000 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13002 * javax/swing/border/TitledBorder.java
13003 (setTitlePosition): Added message to exception,
13004 (setTitleJustification): Likewise.
13006 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13008 * javax/swing/plaf/metal/MetalLookAndFeel.java
13009 (createDefaultTheme): Corrected API docs,
13010 (initComponentDefaults): Added entry for 'TitledBorder.border',
13011 (getCurrentTheme): Initialise theme if it is null.
13013 2006-07-07 Roman Kennke <kennke@aicas.com>
13015 * java/awt/Component.java
13016 (isValid): Return false when component has no peer,
13017 don't query the showing state.
13019 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13021 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13022 Advance the offset also in the case of the enforced break.
13024 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13026 * javax/swing/plaf/basic/BasicArrowButton.java
13027 (MAXIMUM_SIZE): Removed field,
13028 (MINIMUM_SIZE): Likewise,
13029 (PREFERRED_SIZE): Likewise,
13030 (getMaximumSize): Return new instance every time,
13031 (getMinimumSize): Likewise,
13032 (getPreferredSize): Likewise.
13034 2006-07-07 Roman Kennke <kennke@aicas.com>
13036 * java/awt/LightweightDispatcher.java
13037 (findTarget): Avoid array copying in
13038 Container.getComponents().
13040 2006-07-07 Roman Kennke <kennke@aicas.com>
13042 * javax/swing/JComponent.java
13043 (paintChildrenWithOverlap): Avoid array copying in
13044 Container.getComponents().
13045 (paintChildrenOptimized): Avoid array copying in
13046 Container.getComponents().
13047 (fireAncestorEvent): Avoid array copying in
13048 Container.getComponents().
13049 (findOverlapFreeParent): Avoid array copying in
13050 Container.getComponents().
13052 2006-07-07 Matt Wringe <mwringe@redhat.com>
13054 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13055 (passwordValid): New field.
13056 (setPassword): New method.
13057 (setSalt): Likewise.
13058 (setIterationCount): Likewise.
13059 (setKeyLength): Likewise.
13060 (PBEKeySpec(char[])): Use new setter methods.
13061 (PBEKeySpec(char[], byte[], int)): Likewise.
13062 (PBEKeySpec(char[], byte[], int, int)): Likewise.
13063 (clearPassword): Set passwordValid to false.
13064 (getPassword): Check that clearPassword() was not called earlier.
13065 Return a clone of the password.
13066 (getSalt): Return a clone of the salt if it was not null.
13068 2006-07-07 Roman Kennke <kennke@aicas.com>
13070 * java/awt/Component.java
13071 (isValid): Always return false when component is
13073 (setFont): Always set font, even when setting
13074 the same or equal font again.
13076 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13078 * javax/swing/plaf/metal/MetalIconFactory.java
13079 (CheckBoxMenuItemIcon): Implement UIResource,
13080 (FileChooserDetailViewIcon): Likewise,
13081 (FileChooserHomeFolderIcon): Likewise,
13082 (FileChooserListViewIcon): Likewise,
13083 (FileChooserNewFolderIcon): Likewise,
13084 (FileChooserUpFolderIcon): Removed redundant 'implements',
13085 (RadioButtonMenuItemIcon): Implement UIResource,
13086 (HorizontalSliderThumbIcon): Likewise,
13087 (InternalFrameCloseIcon): Likewise,
13088 (InternalFrameDefaultMenuIcon): Likewise,
13089 (InternalFrameAltMaximizeIcon): Likewise,
13090 (InternalFrameMaximizeIcon): Likewise,
13091 (InternalFrameMinimizeIcon): Likewise,
13092 (VerticalSliderThumbIcon): Likewise,
13093 (TreeHardDriveIcon): Likewise,
13094 (TreeFloppyDriveIcon): Likewise,
13095 (TreeComputerIcon): Likewise,
13096 (horizontalSliderThumbIcon): New field,
13097 (verticalSliderThumbIcon): New field,
13098 (getHorizontalSliderThumbIcon): Cache icon,
13099 (getVerticalSliderThumbIcon): Likewise.
13101 2006-07-06 Mark Wielaard <mark@klomp.org>
13103 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13104 (DISTCLEANFILES): Add standard.omit.
13105 (clean-local): Remove Makefile.deps, only remove dirs.
13107 2006-07-06 Roman Kennke <kennke@aicas.com>
13109 * java/awt/Component.java
13110 (setFont): Only invalidate when component is valid.
13111 * java/awt/Container.java
13112 (setLayout): Only invalidate when component is valid.
13114 2006-07-06 Lillian Angel <langel@redhat.com>
13116 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13117 New class not fully implemented.
13118 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13119 New class not fully implemented.
13120 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13121 New class not fully implemented.
13122 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13123 New class not fully implemented.
13124 * nu/java/awt/peer/gtk/GtkToolkit.java:
13126 (createDragSourceContextPeer): Implemented.
13127 (createDragGestureRecognizer): New function to override
13128 java.awt.Toolkit.createDragGestureRecognizer.
13129 * java/awt/dnd/DragSource.java
13130 (NoDragGestureRecognizer): Removed inner class.
13131 (createDragGestureRecognizer): Re-Implemented to
13132 call Toolkit's createDragGestureRecognizer.
13133 (createDefaultDragGestureRecognizer): Re-Implemented to
13134 call Toolkit's createDragGestureRecognizer.
13135 * java/awt/dnd/DropTarget.java
13136 (addNotify): Added check to determine type of peer and call
13138 (removeNotify): Added call to removeDropTarget.
13140 2006-07-06 Tom Tromey <tromey@redhat.com>
13142 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13144 (run): Wait on queue, not 'this'.
13146 2006-07-06 Lillian Angel <langel@redhat.com>
13148 * java/awt/dnd/DragSource.java
13149 (startDrag): Implemented. Added comments describing
13150 what the function should do. Removed FIXME.
13152 2006-07-06 Tania Bento <tbento@redhat.com>
13154 * gnu/java/awt/Canvas.java
13155 Added new private variable 'next_canvas_number'.
13156 (generateName): Added.
13157 (getUniqueLong): Added.
13159 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13161 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13162 (getColor): Made public.
13163 * javax/swing/text/html/StyleSheet.java (stringToColor):
13164 Use CharacterAttributeTranslator.getColor(String)
13166 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13168 * javax/swing/text/html/HTMLEditorKit.java:
13169 (HTMLFactory.createElement): Update reference to the html table view.
13170 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13171 * javax/swing/text/html/TableView.java: New file.
13173 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13175 * javax/swing/text/html/HTMLEditorKit.java:
13176 (HTMLFactory.createElement): Uncomment
13177 code for BRView and HRuleView.
13178 * javax/swing/text/html/BRView.java,
13179 javax/swing/text/html/HRuleView.java: New files.
13181 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13183 * java/lang/Thread.java:
13184 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13185 Added generic type signature.
13187 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13190 * doc/vmintegration.texinfo: Likewise.
13191 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13192 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13193 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13194 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13195 * java/lang/management/GarbageCollectorMXBean.java:
13197 * java/lang/management/ManagementFactory.java:
13198 (getGarbageCollectorMXBeans()): Implemented.
13199 (getMemoryManagerMXBeans()): Likewise.
13200 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13201 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13203 * vm/reference/java/lang/management/VMManagementFactory.java:
13204 (getMemoryManagerNames()): Added.
13205 (getGarbageCollectorNames()): Added.
13207 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13209 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13210 from lib_LTLIBRARIES.
13211 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13213 2006-07-05 Lillian Angel <langel@redhat.com>
13215 * java/awt/dnd/DragGestureEvent.java:
13217 (DragGestureEvent): Initialized new fields, added to check and
13218 added documentation.
13219 (getSourceAsDragGestureRecognizer): Added documentation and
13220 changed to use getSource.
13221 (getComponent): Added documentation and fixed to return the proper
13223 (getDragSource): Likewise.
13224 (getDragOrigin): Added documentation.
13225 (iterator): Implemented and added documentation.
13226 (toArray): Likewise.
13227 (toArray): Likewise.
13228 (getDragAction): Likewise.
13229 (getTriggerEvent): Likewise.
13230 (startDrag): Likewise.
13231 * java/awt/dnd/DragGestureRecognizer.java
13232 (resetRecognizer): Added FIXME.
13233 * java/awt/dnd/DragSource.java:
13235 (DragSource): Set ds to be null if headless.
13236 (getDefaultDragSource): Added documentation and implemented.
13237 (isDragImageSupported): Marked as unimplemented.
13238 (startDrag): Likewise.
13239 (createDragSourceContext): Implemented.
13240 (NoDragGestureRecognizer): Formatted inner class.
13241 * java/awt/dnd/DropTarget.java
13242 (stop): Marked as unimplemented.
13243 (actionPerformed): Likewise.
13244 (addDropTargetListener): Added code to throw exception.
13245 (removeDropTargetListener): Added check, removed FIXME.
13246 (dragEnter): Implemented.
13247 (dragOver): Implemented.
13248 (dropActionChanged): Implemented.
13249 (dragExit): Implemented.
13250 (drop): Implemented.
13251 (addNotify): Implemented.
13252 (removeNotify): Implemented.
13253 (createDropTargetContext): Implemented.
13254 (createDropTargetAutoScroller): Implemented.
13255 (initializeAutoscrolling): Implemented.
13256 (updateAutoscroll): Implemented.
13257 (clearAutoscroll): Implemented.
13258 * java/awt/dnd/DropTargetContext.java
13259 (dropComplete): Implemented.
13260 (acceptDrag): Implemented.
13261 (rejectDrag): Implemented.
13262 (acceptDrop): Implemented.
13263 (rejectDrop): Implemented.
13264 (getCurrentDataFlavors): Implemented.
13265 (getTransferable): Partially implemented.
13266 * java/awt/dnd/DropTargetDragEvent.java
13267 (getDropAction): Uncommented correct code.
13268 * java/awt/dnd/DropTargetDropEvent.java
13269 (dropComplete) :Implemented.
13270 * java/awt/dnd/InvalidDnDOperationException.java
13271 (InvalidDnDOperationException): Added call to super.
13273 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13275 * javax/swing/plaf/basic/BasicArrowButton.java:
13276 (paint): Removed getBounds() call, changed center point
13279 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13281 * javax/swing/InputMap.java
13282 (inputMap): Don't initialize yet,
13283 (InputMap): Removed TODO,
13284 (get): Check for null inputMap,
13285 (put): Return immediately for null keyStroke, check for null inputMap
13286 and initialize if necessary,
13287 (remove): Check for null inputMap,
13291 (allKeys): Likewise,
13292 (writeObject): Removed,
13293 (readObject): Removed.
13295 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13297 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13298 (createContent): Use different labels for buttons.
13300 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13303 * doc/vmintegration.texinfo: Likewise.
13304 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13305 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13307 * java/lang/management/ManagementFactory.java:
13308 (getMemoryPoolMXBeans()): Implemented.
13309 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13310 * vm/reference/java/lang/management/VMManagementFactory.java:
13313 2006-07-04 Lillian Angel <langel@redhat.com>
13315 * java/awt/dnd/DragSourceContext.java:
13316 Removed FIXMEs from fields.
13317 (DragSourceContext): Added code to initialize cursor and sourceActions.
13318 (getDragSource): Added documentation.
13319 (getComponent): Likewise.
13320 (getTrigger): Likewise.
13321 (getSourceActions): Added documentation and implemented.
13322 (setCursor): Implemented. Added documentation.
13323 (getCursor): Implemented. Added documentation.
13324 (dragEnter): Added code to notify DragSource's listeners.
13325 (dragOver): Likewise.
13326 (dragExit): Likewise.
13327 (dropActionChanged): Likewise.
13328 (dragDropEnd): Likewise.
13329 (dragMouseMoved): Implemented.
13330 (getTransferable): Added API documentation.
13331 (updateCurrentCursor): Added API documentation and partially implemented.
13333 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13335 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13337 2006-07-04 Lillian Angel <langel@redhat.com>
13339 * java/awt/dnd/DragSourceContext.java
13340 (DragSourceContext): Implemented fully. Fixed API docs.
13341 (transferablesFlavorsChanged): Implemented.
13342 (dragEnter): Implemented.
13343 (dragOver): Implemented.
13344 (dragExit): Implemented.
13345 (dropActionChanged): Implemented.
13346 (dragDropEnd): Implemented.
13348 2006-07-04 Lillian Angel <langel@redhat.com>
13350 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13351 Fixed name of constant.
13352 (getIconWidth): Changed name of constant returned.
13353 (getIconHeight): Likewise.
13355 (createSeparator): Marked as unimplemented.
13356 * javax/swing/plaf/basic/BasicTableUI.java
13357 (focusGained): Marked as unimplemented.
13358 (focusLost): Marked as unimplemented.
13359 (mouseEntered): Likewise.
13360 (mouseMoved): Likewise.
13361 (uninstallDefaults): Likewise.
13362 * javax/swing/plaf/basic/BasicToolBarUI.java
13363 (mouseClicked): Changed comment.
13364 (mouseEntered): Likewise.
13365 (mouseExited): Likewise.
13366 (mouseMoved): Likewise.
13367 (setOrientation): Implemented.
13368 (ToolBarFocusListener): Marked as unimplemented.
13369 (focusGained): Marked as unimplemented.
13370 (focusLost): Marked as unimplemented.
13372 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13375 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13376 Mind the effect of the root visibility on the position of the control.
13377 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13378 vertical line over first level nodes.
13380 2006-07-04 Lillian Angel <langel@redhat.com>
13382 * javax/swing/plaf/basic/BasicMenuUI.java
13383 (installKeyboardActions): Implemented to call super. Nothing else
13384 needs to be done here.
13385 (setupPostTimer): Marked as unimplemented.
13386 (uninstallKeyboardActions): Implemented to call super. Nothing else
13387 needs to be done here.
13388 (mouseMoved): Removed TODO. Nothing to be done here.
13389 (ChangeHandler): Implemented.
13390 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13391 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13392 (menuKeyReleased): Removed TODO. Nothing to be done here.
13393 (menuKeyTyped): Marked as unimplemented.
13395 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13398 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13399 (getDefaults): Set hash color to black.
13400 * javax/swing/plaf/basic/BasicLookAndFeel.java
13401 (initComponentDefaults): Set hash color to grey blue.
13402 * javax/swing/plaf/basic/BasicTreeUI.java
13403 (instellDefaults): Set hash color.
13404 * javax/swing/plaf/metal/MetalIconFactory.java
13405 (TreeControlIcon.paint): Rewritten.
13407 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13410 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13411 Always cancel the current editing session before doing anything else,
13412 return immediately if this fails.
13413 (TreeHomeAction): Ensure that the lead selection path is visible after
13414 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13415 Likewise. TreeTraverseAction: Likewise.
13417 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13420 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13421 Returned back the code to handle the start of the click-pause-click
13422 editing initiation, explained about this code.
13423 (TreeStartEditingAction): New inner class.
13424 (stopEditingInCompleteEditing): Explained about this field.
13425 (completeEditing(boolean, boolean, boolean): Only return early
13426 if there is no current editing session.
13427 (createDefaultActions): Install TreeStartEditingAction and
13428 TreeCancelEditingAction.
13430 2006-07-04 Mario Torre <neugens@limasoftware.net>
13432 * configure.ac: Added new option --enable-default-preferences-peer
13433 to pass user specified default preference backend.
13434 If the GConf peer is built, GConf become the default backend.
13435 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13437 * lib/Makefile.am: excludes files terminating in 'in' from
13438 the metafiles list.
13439 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13440 from copy into META-INF.
13441 * java/util/prefs/Preferences.java: added two new import
13442 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13443 (getFactory): Now try to check for
13444 a system defined default preference backend before to fall back on
13445 FileBasedPreference.
13447 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13450 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13451 (EXPANDED): Initialise to Boolean.TRUE.
13452 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13453 First configure layout cache and then set the assigned value
13454 as row mapper. Set the root visibility property.
13455 (toggleExpandState): Obtains expansion state from the layout cache.
13457 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13459 * java/lang/management/MemoryPoolMXBean.java:
13462 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13464 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13466 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13468 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13469 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13470 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13471 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13472 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13473 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13474 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13475 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13476 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13477 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13478 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13479 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13480 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13481 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13482 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13483 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13484 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13485 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13486 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13487 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13488 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13489 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13490 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13491 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13492 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13493 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13494 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13495 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13496 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13497 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13498 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13499 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13500 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13501 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13502 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13503 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13504 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13505 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13506 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13507 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13508 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13509 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13510 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13511 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13512 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13513 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13514 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13516 2006-07-02 Anthony Green <green@redhat.com>
13518 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13519 sure that every track written ends with an End Of Track meta
13522 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13524 * java/lang/management/MemoryUsage.java:
13525 (toString()): Fix missing MB for maximum memory usage.
13527 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13530 Updated to include VMCompilationMXBeanImpl.
13531 * doc/vmintegration.texinfo:
13532 Likewise, along with update to VMMemoryMXBeanImpl
13534 * examples/gnu/classpath/examples/management/TestCompilation.java,
13535 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13536 * java/lang/management/CompilationMXBeanImpl.java:
13538 * java/lang/management/ManagementFactory.java:
13539 (getCompilationMXBean()): Implemented.
13540 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13542 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13543 (getHeapMemoryUsage()): Added default implementation.
13545 2006-07-02 Anthony Green <green@redhat.com>
13547 * NEWS: Mention MIDI file reader/writer providers.
13549 2006-07-02 Anthony Green <green@redhat.com>
13551 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13552 gnu/javax/sound/midi/file/MidiFileWriter.java,
13553 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13555 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13558 Updated to include VMMemoryMXBeanImpl.
13559 * doc/vmintegration.texinfo: Likewise.
13560 * examples/gnu/classpath/examples/management/TestMemory.java:
13562 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13563 Remove redundant import.
13564 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13566 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13567 Remove redundant import.
13568 * java/lang/management/ManagementFactory.java:
13569 (getMemoryMXBean()): Implemented.
13570 * java/lang/management/MemoryMXBean.java,
13571 * java/lang/management/MemoryUsage.java:
13573 * java/lang/management/ThreadInfo.java:
13574 (toString()): Updated documentation.
13575 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13578 2006-07-01 Anthony Green <green@redhat.com>
13580 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13581 gnu/javax/sound/midi/file/MidiFileReader.java,
13582 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13583 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13585 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13587 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13588 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13589 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13590 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13591 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13592 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13593 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13595 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13597 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13598 * gnu/javax/crypto/pad/IPad.java: Likewise.
13599 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13600 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13601 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13602 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13603 * gnu/javax/crypto/pad/TBC.java: Likewise.
13604 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13605 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13607 2006-07-01 Anthony Green <green@redhat.com>
13609 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13611 (setMessage): Fix it again, in a different setMessage method.
13613 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13615 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13616 * gnu/javax/crypto/mode/CBC.java: Likewise.
13617 * gnu/javax/crypto/mode/CFB.java: Likewise.
13618 * gnu/javax/crypto/mode/CTR.java: Likewise.
13619 * gnu/javax/crypto/mode/EAX.java: Likewise.
13620 * gnu/javax/crypto/mode/ECB.java: Likewise.
13621 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13622 * gnu/javax/crypto/mode/ICM.java: Likewise.
13623 * gnu/javax/crypto/mode/IMode.java: Likewise.
13624 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13625 * gnu/javax/crypto/mode/OFB.java: Likewise.
13627 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13629 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13630 * gnu/javax/crypto/mac/HMac.java: Likewise.
13631 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13632 * gnu/javax/crypto/mac/IMac.java: Likewise.
13633 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13634 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13635 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13636 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13637 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13638 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13639 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13641 2006-07-01 Anthony Green <green@redhat.com>
13643 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13645 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13647 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13648 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13649 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13650 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13651 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13652 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13653 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13654 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13655 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13656 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13657 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13658 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13659 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13660 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13661 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13662 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13663 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13664 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13665 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13666 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13667 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13668 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13669 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13670 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13672 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13674 * javax/swing/AbstractCellEditor.java: Source code formatting,
13675 * javax/swing/AbstractSpinnerModel.java: Likewise,
13676 * javax/swing/Box.java: Likewise,
13677 * javax/swing/BoxLayout.java: Likewise,
13678 * javax/swing/DefaultListModel.java: Likewise,
13679 * javax/swing/GrayFilter.java: Likewise,
13680 * javax/swing/LookAndFeel.java: Likewise,
13681 * javax/swing/ProgressMonitor.java: Likewise,
13682 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13683 * javax/swing/ScrollPaneLayout.java: Likewise,
13684 * javax/swing/SpringLayout.java: Likewise,
13685 * javax/swing/event/EventListenerList.java: Likewise,
13686 * javax/swing/event/MenuEvent.java: Likewise,
13687 * javax/swing/event/TreeExpansionListener.java: Likewise.
13689 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13692 Mention threading bean and getState().
13693 * doc/vmintegration.texinfo:
13694 Update documentation for threading bean and new
13695 method of VMThread.
13697 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13699 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13700 * examples/gnu/classpath/examples/management/TestOS.java,
13701 * examples/gnu/classpath/examples/management/TestRuntime.java,
13702 * examples/gnu/classpath/examples/management/TestThread.java:
13705 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13707 * java/lang/ThreadGroup.java
13708 (getThreadFromId, getThreadFromIdImpl): New methods.
13710 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13712 * java/lang/Thread.java:
13713 Make thread IDs start from 1 in a more efficient way.
13715 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13717 * java/lang/Thread.java:
13718 Make thread IDs start from 1.
13720 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13722 * gnu/java/lang/management/BeanImpl.java:
13723 New superclass for all bean implementations.
13724 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13725 Extend BeanImpl and call permission code there.
13726 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13728 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13729 Extend BeanImpl and call permission code there.
13730 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13732 * java/lang/management/ManagementFactory.java:
13733 (getThreadMXBean()): Implemented.
13734 * java/lang/management/ThreadInfo.java:
13735 (ThreadInfo(Thread,int)): Replaced...
13736 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13737 boolean, boolean, StackTraceElement[])): with this.
13738 (getBlockedCount()): Refactored to use local variables.
13739 (getBlockedTime()): Likewise.
13740 (getLockName()): Likewise.
13741 (getLockOwnerId()): Likewise.
13742 (getLockOwnerName()): Likewise.
13743 (getStackTrace()): Likewise.
13744 (getWaitedCount()): Likewise.
13745 (getWaitedTime()): Likewise.
13746 (isInNative()): Likewise.
13747 (isSuspended()): Likewise.
13748 (toString()): Changed to use new local variables.
13749 * java/lang/management/ThreadMXBean.java:
13750 (getThreadInfo(long, int)): Corrected documentation.
13751 (getThreadInfo(long[], int)): Likewise.
13752 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13754 * vm/reference/java/lang/management/VMThreadInfo.java:
13757 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13759 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13760 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13761 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13762 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13763 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13764 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13765 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13766 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13767 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13768 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13769 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13770 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13771 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13772 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13773 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13774 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13775 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13776 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13777 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13778 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13779 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13780 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13781 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13782 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13783 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13784 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13785 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13786 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13787 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13788 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13789 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13790 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13792 2006-07-01 Roman Kennke <kennke@aicas.com>
13794 * gnu/java/awt/java2d/AbstractGraphics2D.java
13795 (transform): Make field protected.
13796 (getDestinationRaster): Provide default implementation for
13797 previously abstract method.
13799 2006-06-30 Tania Bento <tbento@redhat.com>
13801 * java/awt/TextArea.java
13802 (TextArea(String, int, int, int)): No longer throws
13803 IllegalArgumentException if rows, columns, or scrollbarVisibility
13804 values are invalid.
13805 (TextArea(String, int, int, int)): If rows or columns are < 0,
13806 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13807 gets set to the default value of 0 (SCROLLBARS_BOTH).
13808 (appendText): Added case when peer = null.
13809 (insertText): Added case when peer == null.
13810 (replaceText): Added case when peer == null.
13811 * java/awt/TextComponent.java
13812 (TextComponent(String)): If text == null, set it to "".
13814 2006-06-30 Lillian Angel <langel@redhat.com>
13816 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13817 (create): Added synchronized block around groupMap.get calls.
13818 (setCheckboxGroup): Likewise.
13820 2006-06-30 Lillian Angel <langel@redhat.com>
13822 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13823 (create): Changed to be non-synchronized.
13824 (setLabel): Likewise.
13825 (setCheckboxGroup): Likewise.
13826 (addToGroupMap): Likewise. Added synchronized block around
13828 (dispose): Changed to be non-synchronized.
13830 2006-06-30 Lillian Angel <langel@redhat.com>
13832 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13833 Changed all return values of native functions to void.
13834 (create): Changed function to be synchronized. Removed
13835 call to put value in groupMap, this is now done from
13837 (setState): Changed function to be synchronized.
13838 (setLabel): Changed function to be synchronized.
13839 (setCheckboxGroup): Changed function to be synchronized. Removed
13840 call to put value in groupMap, this is now done from
13842 (postItemEvent): Changed function to be synchronized.
13843 (addToGroupMap): New function. Called by native code to add
13844 new value to the group.
13845 (dispose): Changed function to be synchronized.
13846 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13848 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13849 (cp_gtk_checkbox_init_jni): Added code to link to
13851 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13852 Changed return value to void. Added call
13853 to java function to set pointer in groupMap.
13854 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13855 changed check to an assert. Also, removed call to set/del pointer.
13856 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13857 Likewise. Also, added check to determine if native_group should be
13859 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13861 2006-06-30 Sven de Marothy <sven@physto.se>
13863 * gnu/java/awt/ClasspathToolkit.java,
13864 * gnu/java/awt/peer/x/XToolkit.java,
13865 * gnu/java/awt/peer/qt/QtToolkit.java,
13866 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13867 Remove ClasspathTextLayoutPeer.
13868 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13869 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13872 2006-06-30 Sven de Marothy <sven@physto.se>
13874 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13875 (drawGlyphVector): Don't draw empty vectors.
13877 2006-06-30 Lillian Angel <langel@redhat.com>
13878 Tom Fitzsimmons <fitzsim@redhat.com>
13880 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13881 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13882 Added current_group, groupMap fields. Added definitions for
13883 new native functions.
13884 (create): Removed FIXME. Added code to create the check button or
13885 radio button when appropriate. Updated groupMap to contain
13886 pointer to the newly created group.
13887 (setCheckboxGroup): Added code to handle all cases. Removing
13888 a button from a group, adding a button to a group, or changing the
13890 (dispose): Changed to call super.
13891 * include/Makefile.am: Removed reference to
13892 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13893 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13894 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13896 * native/jni/gtk-peer/Makefile.am: Removed reference to
13897 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13898 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13900 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13901 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13902 Renamed to checkbox_get_widget.
13903 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13904 Changed to use checkbox_get_widget.
13905 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13907 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13908 Changed to use checkbox_get_widget.
13909 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13911 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13912 New function. Creates checkbutton without a group.
13913 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13914 Creates a radio button in a group, using groupPointer. If groupPointer
13915 is 0, then a new group is created.
13916 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13917 check button to a group, using groupPointer. A radio button is created
13918 in its place. If groupPointer is 0, then a new group is created.
13919 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13920 radio button is removed from the group. A check button is created in
13922 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13923 radio button is moved to a new group.
13925 2006-06-30 Mark Wielaard <mark@klomp.org>
13927 * configure.ac: Move standard.omit creation after dirs are created.
13928 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13929 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13930 (clean-local): Remove standard.omit.
13931 * lib/gen-classlist.sh.in: Use omit file in build dir.
13932 * lib/standard.omit.in: Make exclude regex more explicit.
13934 2006-06-30 Roman Kennke <kennke@aicas.com>
13936 * lib/Makefile.am: Added Escher dir/jar to classpath when
13938 * configure.ac: Moved handling of standard.omit to a place
13939 where it actually gets executed.
13941 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13943 * java/awt/TextComponent.java: Reformatted source code,
13944 * java/awt/TextField.java: Likewise.
13946 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13948 * java/lang/Thread.java:
13949 (getState()): Handle case of no VMThread
13952 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13954 * java/lang/Thread.java,
13955 * java/lang/VMThread.java:
13956 Reverted patch from 2006-06-28.
13958 2006-06-29 Roman Kennke <kennke@aicas.com>
13960 * gnu/java/awt/peer/x/GLGraphics.java,
13961 * gnu/java/awt/peer/x/ImageConverter.java,
13962 * gnu/java/awt/peer/x/KeyboardMapping.java,
13963 * gnu/java/awt/peer/x/XEventPump.java,
13964 * gnu/java/awt/peer/x/XFontPeer.java,
13965 * gnu/java/awt/peer/x/XFontPeer2.java,
13966 * gnu/java/awt/peer/x/XFramePeer.java,
13967 * gnu/java/awt/peer/x/XGraphics.java,
13968 * gnu/java/awt/peer/x/XGraphics2D.java,
13969 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13970 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13971 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13972 * gnu/java/awt/peer/x/XImage.java,
13973 * gnu/java/awt/peer/x/XLightweightPeer.java,
13974 * gnu/java/awt/peer/x/XToolkit.java,
13975 * gnu/java/awt/peer/x/XWindowPeer.java,
13976 * gnu/java/awt/peer/x/fonts.properties: New files.
13977 * lib/standard.omit: Removed.
13978 * lib/standard.omit.in: Added.
13979 * configure.ac: Added configure option --with-escher. Added some
13980 configury for omitting gnu.java.awt.peer.x package when
13981 this option is not specified.
13983 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13985 * javax/swing/JComponent.java
13986 (JComponent()): Initialize the locale here, not the default locale,
13987 (getDefaultLocale): If null, return Locale.getDefault(),
13988 (setDefaultLocale): Added API docs.
13990 2006-06-29 Tania Bento <tbento@redhat.com>
13992 * java/awt/Container.java
13993 (applyComponentOrientation): Implemented method.
13995 2006-06-29 Gary Benson <gbenson@redhat.com>
13997 * java/io/File.java (listRoots): Merge security checks from libgcj.
13999 2006-06-29 Gary Benson <gbenson@redhat.com>
14001 * java/io/FilePermission.java (implies): Work when path is "/".
14003 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
14005 * java/lang/Thread.java:
14006 (Thread(ThreadGroup,Runnable,String,long)): Update
14008 (Thread(VMThread,String,int,boolean)): Likewise.
14009 (join(long,int)): Likewise.
14010 (resume()): Likewise.
14011 (sleep(long,int)): Likewise.
14012 (start()): Likewise.
14013 (stop()): Likewise.
14014 (suspend()): Likewise.
14016 (getState()): Return either state or use VMThread.
14017 * java/lang/VMThread.java:
14018 (getState()): Added default implementation to return
14021 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
14023 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
14024 GdkPixbuf correctly on big endian systems. Fix a typo in the little
14025 endian swapping code.
14027 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14028 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14029 without alpha information correctly on big endian systems.
14031 2006-06-28 Roman Kennke <kennke@aicas.com>
14033 * gnu/java/net/local/LocalSocket.java
14034 (setSoTimeout): Don't throw exception and ignore request.
14035 (getSoTimeout): Don't throw exception and always return 0.
14037 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14039 * javax/swing/JComponent.java
14040 (getRegisteredKeyStrokes): Implemented.
14042 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14044 * javax/swing/JComponent.java
14045 (verifyInputWhenFocusTarget): Initialise to true.
14047 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14049 * java/beans/VetoableChangeSupport.java
14050 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14052 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14053 for null property name and/or listener,
14054 * javax/swing/JComponent.java
14055 (getListeners): Handle VetoableChangeListener.class as a special case,
14056 (getVetoableChangeListeners): Fetch these from the
14057 vetoableChangeSupport object.
14059 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14061 * javax/swing/JComponent.java
14062 (componentPopupMenu): New field,
14063 (inheritsPopupMenu): New field,
14064 (getInheritsPopupMenu): Implemented,
14065 (setInheritsPopupMenu): Likewise,
14066 (getComponentPopupMenu): Likewise,
14067 (setComponentPopupMenu): Likewise,
14068 * javax/swing/JLabel.java
14069 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14071 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
14073 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14074 (toString): New method.
14075 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14076 (toString): New method.
14077 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14078 (toString): New method.
14079 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14080 Handle case when Q is null.
14081 (decodePrivateKey): Likewise.
14082 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14084 (decodePublicKey): Likewise.
14085 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14086 aliases for all block ciphers.
14087 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14088 (engineDoPhase): Compute fully the shared secret.
14089 (checkState): New method.
14091 (engineGenerateSecret()): Reset key-agreement before returning.
14092 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14093 Reset key-agreement before returning.
14094 (engineGenerateSecret(String)): Reset key-agreement before returning.
14095 (engineInit(Key,SecureRandom)): Call reset() before returning.
14096 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14097 (engineInit): Replace printing to System.out with conditional logging.
14098 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14099 When the key-size is not specified, attempt best effort to find a suitable
14100 value among those advertised by the cipher before setting it to the length
14101 of provided key material.
14103 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14105 * javax/swing/table/DefaultTableColumnModel.java
14106 (changeEvent): Don't initialize yet, removed FIXME,
14107 (fireColumnModelChanged): Initialize changeEvent if necessary.
14109 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14111 * java/lang/Thread.java:
14112 (getAllStackTraces()): Implemented.
14113 (getStackTrace()): Likewise.
14115 2006-06-27 Tania Bento <tbento@redhat.com>
14117 * java/awt/Component.java
14118 (setComponentOrientation): NPE should not be thrown.
14120 2006-06-27 Tom Tromey <tromey@redhat.com>
14122 * configure.ac: Create gjar, gnative2ascii, gserialver.
14123 * tools/gappletviewer.in: Quote $@.
14124 * tools/gkeytool.in: Likewise.
14125 * tools/gjarsigner.in: Likewise.
14126 * tools/gjar.in: New file.
14127 * tools/gnative2ascii.in: Likewise.
14128 * tools/gserialver.in: Likewise.
14129 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14131 (bin_SCRIPTS): Likewise.
14133 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14135 * java/lang/management/ThreadMXBean.java:
14136 (getThreadInfo(long[])): Corrected return type.
14137 (getThreadInfo(long[], int)): Likewise.
14139 2006-06-27 Mark Wielaard <mark@klomp.org>
14141 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14142 nothing when listener is null.
14143 (removeFlavorListener): Likewise.
14145 * java/awt/datatransfer/DataFlavor.java
14146 (getRepresentationClassFromMime): Renamed to
14147 getRepresentationClassFromMimeThrows.
14148 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14149 (isRepresentationClassSerializable): Likewise.
14150 (isFlavorJavaFileListType): Likewise and check primary and
14152 (getParameter): Parameters are separated by semi-colons.
14153 (DataFlavor(Class,String,String)): Do some sanity checks.
14154 (DataFlavor(String,String,ClassLoader)): Call
14155 getRepresentationClassFromMimeThrows.
14156 (DataFlavor(String)): Likewise.
14157 (equals(DataFlavor)): Special case primary type text and charset
14160 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14162 * java/awt/Component.java
14163 (setName): Fire required PropertyChangeEvent,
14164 * java/awt/Label.java
14165 (getText): Removed redundant brackets,
14166 (generateName): New method (override),
14167 (nextLabelNumber): New field,
14168 (getUniqueLong): New method.
14170 2006-06-27 Roman Kennke <kennke@aicas.com>
14172 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14173 (createImage): Delegate this to the parent.
14174 (handleEvent): Only handle PAINT/UPDATE events when the
14175 component is actually showing.
14176 (hide): Repaint the parent after hiding a component.
14177 (prepareImage): Have only one return point.
14178 (setVisible): Delegate to show() and hide().
14179 (createVolatileImage): Added null check to avoid NPE.
14181 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14183 * java/awt/Label.java: Reformatted source code.
14185 2006-06-27 Roman Kennke <kennke@aicas.com>
14187 * java/awt/image/BufferedImage.java
14188 (getSource): Use a fixed DirectColorModel to deliver the
14189 RGB pixels to the ImageConsumer.
14191 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14193 * java/awt/Point.java
14194 (setLocation(double, double)): Round to nearest integer coordinates.
14196 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14198 * java/awt/Component.java
14199 (minSizeSet): New field,
14200 (maxSize): Likewise,
14201 (maxSizeSet): Likewise,
14202 (isMaximumSizeSet): Implemented,
14203 (isMinimumSizeSet): Likewise,
14204 (isPreferredSizeSet): Likewise,
14205 (setMaximumSize): Likewise,
14206 (setMinimumSize): Likewise,
14207 (setPreferredSize): Likewise.
14209 2006-06-27 Roman Kennke <kennke@aicas.com>
14211 * javax/imageio/spi/IIORegistry.java
14212 (IIORegistry): Added BMP codec.
14214 2006-06-27 Mark Wielaard <mark@klomp.org>
14216 * javax/swing/JComponent.java
14217 (firePropertyChange(String,char,char)): New override method.
14219 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14221 * java/lang/Thread.java:
14222 (getState()): New method.
14223 * java/lang/management/ClassLoadingMXBean.java:
14224 Corrected class documentation.
14225 * java/lang/management/ManagementFactory.java:
14226 Added new temporary marked stub to get thread bean.
14227 * java/lang/management/OperatingSystemMXBean.java:
14228 Corrected class documentation.
14229 * java/lang/management/RuntimeMXBean.java:
14230 Corrected class documentation.
14231 * java/lang/management/ThreadInfo.java,
14232 * java/lang/management/ThreadMXBean.java:
14234 * vm/reference/java/lang/VMThread.java:
14235 (getState()): New method.
14236 * vm/reference/java/lang/management/VMThreadInfo.java:
14239 2006-06-26 Sven de Marothy <sven@physto.se>
14241 * gnu/javax/imageio/gif/GIFFile.java
14242 * gnu/javax/imageio/gif/GIFImageReader.java
14243 * gnu/javax/imageio/gif/GIFImageSpi.java
14244 * gnu/javax/imageio/gif/GIFStream.java
14246 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14248 2006-06-26 Tania Bento <tbento@redhat.com>
14250 * java/awt/List.java
14251 (List): A list should have at least 4 visible rows.
14252 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14253 not an IllegalArgumentException.
14254 (makeVisible): Should not throw an IllegalArgumentException if
14255 the specified index is out of range.
14257 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14259 * javax/swing/JList.java
14260 (getNextMatch): Reimplemented to perform a circular search for the
14263 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14265 * javax/swing/JList.java
14266 (init): Set default value for visibleRowCount to 8,
14267 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14269 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14271 * javax/swing/JList.java
14272 (valueIsAdjusting): Removed,
14273 (init): Removed initialization of valueIsAdjusting field,
14274 (getValueIsAdjusting): Fetch value from selection model,
14275 (setValueIsAdjusting): Store value in selection model.
14277 2006-06-26 Roman Kennke <kennke@aicas.com>
14279 * javax/swing/plaf/basic/BasicListUI.java
14280 (installKeyboardActions): Rewritten to fit with the
14281 ActionMap/InputMap architecture.
14282 (uninstallKeyboardActions): Implemented.
14283 (ListAction): Made private. Added TODO for splitting
14284 up this bulk Action.
14285 (ListAction.ListAction): New constructor. This one
14286 takes a cmd parameter to be installed as actionCommand.
14288 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14290 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14291 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14293 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14295 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14296 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14297 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14298 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14299 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14300 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14301 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14302 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14303 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14304 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14305 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14306 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14307 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14308 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14309 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14310 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14311 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14312 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14313 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14314 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14315 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14316 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14317 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14318 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14319 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14320 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14321 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14322 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14323 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14324 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14325 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14326 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14327 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14328 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14329 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14330 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14331 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14332 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14333 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14334 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14335 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14336 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14337 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14338 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14339 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14340 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14341 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14342 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14343 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14344 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14345 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14346 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14347 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14348 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14349 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14350 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14351 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14352 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14353 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14354 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14355 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14356 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14357 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14358 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14359 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14360 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14361 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14362 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14363 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14364 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14365 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14366 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14367 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14368 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14369 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14370 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14371 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14372 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14373 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14374 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14375 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14376 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14378 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14380 * javax/swing/JList.java
14381 (setLayoutOrientation): Check for valid argument.
14383 2006-06-26 Roman Kennke <kennke@aicas.com>
14385 * javax/swing/JComponent.java
14386 (firePropertyChange(String,int,int)): New method. Overrides
14387 Component method and makes it public.
14388 (firePropertyChange(String,boolean,boolean)): Likewise.
14390 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14392 * gnu/java/security/.cvsignore: New File.
14393 * gnu/java/security/Configuration.java.in: New File.
14394 * gnu/java/security/Properties.java: Change import from
14395 gnu.classpath.Configuration to gnu.java.security.Configuration.
14396 * gnu/java/security/hash/Whirlpool.java: Likewise.
14397 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14398 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14399 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14400 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14401 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14402 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14403 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14404 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14405 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14406 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14407 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14408 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14409 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14410 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14411 * gnu/java/security/util/Base64.java: Likewise.
14412 * gnu/java/security/x509/X509CRL.java: Likewise.
14413 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14414 * gnu/java/security/x509/ext/Extension.java: Likewise.
14415 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14416 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14417 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14418 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14419 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14420 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14421 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14422 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14423 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14424 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14425 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14426 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14427 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14428 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14429 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14430 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14431 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14432 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14433 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14434 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14435 * gnu/javax/crypto/pad/TBC.java: Likewise.
14436 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14437 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14438 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14439 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14440 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14441 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14442 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14443 * gnu/javax/security/auth/login/GnuConfiguration.java
14444 (getAppConfigurationEntry): Change reference to
14445 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14446 (getConfigFromUserHome): Likewise.
14447 (getInputStreamFromURL): Likewise.
14448 (getUserHome): Likewise.
14450 (processSecurityProperties): Likewise.
14451 (processSystemProperty): Likewise.
14452 (processUserHome): Likewise.
14453 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14454 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14457 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14459 * javax/swing/text/DefaultCaret.java (isActive): New method.
14461 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14463 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14464 * java/lang/management/ClassLoadingMXBean.java:
14465 (getTotalLoadedClassCount()): Corrected return type.
14466 (getUnloadedClassCount()): Likewise.
14467 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14468 (getUnloadedClassCount()): Likewise.
14470 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14472 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14473 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14474 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14475 * gnu/javax/crypto/cipher/Square.java: Likewise.
14476 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14477 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14478 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14479 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14480 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14481 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14482 * gnu/javax/crypto/cipher/DES.java: Likewise.
14483 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14484 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14485 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14486 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14487 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14489 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14491 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14492 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14493 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14494 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14495 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14496 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14497 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14498 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14499 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14500 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14501 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14502 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14503 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14505 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14508 * doc/vmintegration.texinfo:
14509 Updated with information on new VM interface.
14510 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14511 * java/lang/management/ClassLoadingMXBean.java:
14512 New files implementing the class loading bean.
14513 * java/lang/management/ManagementFactory.java:
14514 (getClassLoadingMXBean()): Implemented.
14515 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14516 New VM interface file.
14518 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14520 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14521 (isBootClassPathSupported()): Use SystemProperties
14522 rather than System.getProperty.
14524 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14526 * gnu/java/security/Properties.java: Source formatting.
14527 * gnu/java/security/Registry.java: Likewise.
14529 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14531 * gnu/java/security/util/Util.java: Source formatting.
14532 * gnu/java/security/util/SimpleList.java: Likewise.
14533 * gnu/java/security/util/Sequence.java: Likewise.
14534 * gnu/java/security/util/PRNG.java: Likewise.
14535 * gnu/java/security/util/ExpirableObject.java: Likewise.
14536 * gnu/java/security/util/Base64.java: Likewise.
14537 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14538 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14539 * gnu/java/security/sig/ISignature.java: Likewise.
14540 * gnu/java/security/sig/BaseSignature.java: Likewise.
14541 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14542 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14543 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14544 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14545 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14546 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14547 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14548 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14549 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14550 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14551 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14552 * gnu/java/security/provider/Gnu.java: Likewise.
14553 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14554 * gnu/java/security/prng/RandomEvent.java: Likewise.
14555 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14556 * gnu/java/security/prng/MDGenerator.java: Likewise.
14557 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14558 * gnu/java/security/prng/IRandom.java: Likewise.
14559 * gnu/java/security/prng/EntropySource.java: Likewise.
14560 * gnu/java/security/prng/BasePRNG.java: Likewise.
14562 2006-06-23 Francis Kung <fkung@redhat.com>
14564 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14565 (Harness.actionPerformed): Process additional options.
14566 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14567 (J2dBenchmarkWrapper.setAlias): New method.
14568 (J2dBenchmarkWrapper.setComposite): New method.
14569 (J2dBenchmarkWrapper.setFill): New method.
14570 (J2dBenchmarkWrapper.setRotation): New method.
14571 (J2dBenchmarkWrapper.setShear): New method.
14572 (J2dBenchmarkWrapper.setStroke): New method.
14573 (J2dBenchmarkWrapper.setTranslation): New method.
14574 (run): Add additional options to GUI.
14575 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14576 Added protected fields for various options.
14577 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14578 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14579 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14580 (getNextColor): Renamed to setRandom.
14581 (init): Load additional image for texturing if needed.
14582 (loadBufferedImage): New method.
14583 (main): Accept additional command-line switches.
14584 (prepareGraphics): New method.
14585 (resetGraphics): New method.
14586 (runTestSuite): Accept additional image-processing options.
14587 (setRandom): Renamed from getNextColor; generate various random options
14588 (test_drawArc): Rename getNextColor to setRandom.
14589 (test_drawCubic): Likewise.
14590 (test_drawEllipse): Likewise.
14591 (test_drawGeneralPath): Likewise.
14592 (test_drawImage): Likewise.
14593 (test_drawLine): Likewise.
14594 (test_drawQuadCurve): Likewise.
14595 (test_drawRectangle): Likewise.
14596 (test_drawRoundRectangle): Likewise.
14597 (test_drawTransparentImage): Likewise.
14598 (test_fillArc): Rename getNextColor to setRandom.
14599 (test_fillEllipse): Likewise.
14600 (test_fillGeneralPath): Likewise.
14601 (test_fillRectangle): Likewise.
14602 (test_fillRoundRectangle): Likewise.
14603 (TestRecorder.getAverage): Round the average time.
14605 2006-06-23 Tom Tromey <tromey@redhat.com>
14607 * java/util/logging/LoggingMXBean.java: New file.
14608 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14609 (loggingBean): New field.
14610 (getLoggingMXBean): New method.
14612 2006-06-23 Tania Bento <tbento@redhat.com>
14614 * java/awt/TextField.java
14615 (TextField): Default number of columns should be 0, not 1.
14616 (TextField): Check if number of columns given as argument
14617 is valid (>= 0) and set the number of columns accordingly.
14618 (TextField): Check if the string passed is null. If it is,
14619 set columns to 0, else columns is set to the length of
14622 2006-06-23 Roman Kennke <kennke@aicas.com>
14624 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14625 (InternalFramePropertyChangeListener.propertyChange):
14626 Don't call getPropertyName() repeatedly. Added null checks
14627 to avoid NPEs. Call closeFrame() if the closed property
14630 2006-06-23 Roman Kennke <kennke@aicas.com>
14632 * javax/swing/JInternalFrame.java
14633 (maxTransition): Removed.
14634 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14635 Don't initialize storedBounds here.
14636 (dipose): Rewritten to correctly dispose the JInternalFrame.
14637 (getDesktopIcon): Don't initialize desktopIcon here.
14638 (getLayer): Delegate to JLayeredPane.getLayer().
14639 (getNormalBounds): Return bounds when storedBounds == null,
14640 otherwise storedBounds.
14641 (hide): Don't change selection. Also hide the desktopIcon.
14642 (moveToBack): Call getParent() only once.
14643 (moveToFront): Call getParent() only once.
14644 (pack): Call validate() to make sure that the layout is
14645 propagated to the children.
14646 (setClosed): Fire InternalFrameEvent first, before the
14648 (setJMenuBar): Fire PropertyChangeEvent for this property.
14649 (setLayer): Delegate to JLayeredPane.
14650 (setLayeredPane): Check for null and throw IllegalArgumenException.
14651 (setMaximum): Remove handling of maxTransition and normalBounds.
14652 Should probably be done in the UI.
14653 (setNormalBounds): Store Rectangle object directly, not a copy.
14654 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14655 adding the RootPane doesn't add it to the contentPane.
14656 Fire PropertyChangeEvent.
14657 (setSelected): Added condition for when this property must not
14659 (show): Don't ask the DesktopPane to select the frame. Moved
14660 code around to fire InternalFrameEvent before actually calling
14661 super.show(). Also make the desktopIcon visible.
14662 (setTitle): Fire PropertyChangeEvent unconditionally.
14664 2006-06-23 Roman Kennke <kennke@aicas.com>
14666 * javax/swing/JLayeredPane.java
14667 (getPosition): Moved code around to avoid unnecessary method calls.
14668 (setPosition): Delegate to setLayer().
14669 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14670 (insertIndexForLayer(Component,int,int)): New helper method
14671 to support the use of setComponentZOrder() which doesn't remove
14672 the component and thus the insertIndexForLayer must ignore
14673 the component to be moved to get the index right.
14674 (setLayer): Added check to prevent unnecessary execution of
14675 method body. Changed to update the component order here.
14676 Added repaint() to make sure that the update becomes visible.
14677 (addImpl): Call setLayer() only when a constraint has been specified.
14678 Validate and repaint the JLayeredPane.
14680 2006-06-23 Roman Kennke <kennke@aicas.com>
14682 * java/awt/Container.java
14683 (getComponentZOrder): Use ncomponents instead of
14684 component.length so that we don't consider the empty space
14685 after the last component.
14687 2006-06-22 Roman Kennke <kennke@aicas.com>
14689 * javax/swing/JComponent.java
14690 (vetoableChangeSupport): New field.
14691 (removeVetoableChangeListener): Rewritten to use
14692 vetoableChangeSupport.
14693 (addVetoableChangeListener): Rewritten to use
14694 vetoableChangeSupport.
14695 (fireVetoableChange): Rewritten to use
14696 vetoableChangeSupport.
14697 (addPropertyChangeListener): Removed. This is handled in
14699 (firePropertyChange(String,boolean,boolean)): Likewise.
14700 (firePropertyChange(String,char,char)): Likewise.
14701 (firePropertyChange(String,int,int)): Likewise.
14702 (revalidate): Don't do anything when the commponent has no
14705 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14707 * javax/swing/JLabel.java: Updated API docs.
14709 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14711 * java/awt/Insets.java: Updated copyright year.
14712 (toString): Changed string, removed a line from the
14715 2006-06-22 Roman Kennke <kennke@aicas.com>
14717 * javax/swing/text/AbstractDocument.java
14718 (AbstractDocument): Set the i18n document property.
14719 (removeImpl): Added checks for correct boundaries.
14721 2006-06-22 Roman Kennke <kennke@aicas.com>
14723 * javax/swing/text/PlainDocument.java
14724 (rootElement): Changed type to Element.
14725 (tabSize): Removed field. This is stored in the document properties
14727 (PlainDocument): Set tabSize property. Init rootElement without
14729 (insertUpdate): Rewritten. The previous implementation did not
14730 handle some corner cases properly and was a mess.
14731 (removeUpdate): Cast rootElement to BranchElement.
14733 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14735 * javax/swing/plaf/basic/BasicLabelUI.java
14736 (installKeyboardActions): Implemented,
14737 (uninstallKeyboardActions): Implemented,
14738 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14741 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14743 * javax/swing/JMenu.java:
14744 (removeAll): Added check for popupMenu not being null.
14746 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14748 * javax/swing/JLabel.java
14749 (getText): Updated API docs,
14750 (setText): Corrected the check for an unchanged value, and the update
14751 of the displayedMnemonicIndex.
14753 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14755 * javax/swing/JLabel.java
14756 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14758 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14759 where label text is null.
14761 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14763 * javax/swing/JLabel.java
14764 (setDisplayedMnemonic): Updated API docs,
14765 (getDisplayedMnemonic): Removed unnecessary type-cast,
14766 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14767 (getDisplayedMnemonicIndex): Updated API docs.
14769 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14771 * java/util/Collections (entrySet): Fixed compile error.
14773 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14775 * javax/swing/DefaultListSelectionModel.java
14776 (getSelectionMode): Updated API docs,
14777 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14778 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14779 setSelectionInterval(),
14780 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14781 SINGLE_INTERVAL_SELECTION cases.
14783 2006-06-21 Roman Kennke <kennke@aicas.com>
14785 * javax/swing/text/AbstractDocument.java
14786 (BranchElement.numChildren): New field.
14787 (BranchElement.BranchElement): Initialize children array with
14788 one element (that's the least number of elements that makes sense).
14789 Initialize numChildren.
14790 (BranchElement.children): Use numChildren as boundary.
14791 (BranchElement.getElement): Use numChildren as boundary.
14792 (BranchElement.getElementCount): Use numChildren as boundary.
14793 (BranchElement.getElementIndex): Use numChildren as boundary.
14794 (BranchElement.getEndOffset): Use numChildren as boundary.
14795 (BranchElement.getStartOffset): Use numChildren as boundary.
14796 (BranchElement.positionToElement): Use numChildren as boundary.
14797 (BranchElement.replace): Handle the children array more efficiently
14798 by growing in blocks > 1, and reusing space from removed elements.
14799 (LeafElement.startDelta): Removed.
14800 (LeafElement.endDelta): Removed.
14801 (LeafElement.LeafElement): Removed handling of deltas.
14802 (LeafElement.getEndOffset): Likewise.
14803 (LeafElement.getStartOffset): Likewise.
14804 * javax/swing/text/JTextComponent.java
14805 (setDocument): Added locking of the old document to avoid dangling
14806 notification beeing delivered while the document is beeing
14808 (getScrollableTracksViewportWidth): Fixed condition.
14809 * javax/swing/text/PlainDocument.java
14810 (createDefaultRoot): Create elements without AttributeSet.
14811 * javax/swing/text/rtf/RTFParser.java
14812 (parseFile): Handle slightly incorrect RTF gracefully.
14813 * javax/swing/text/rtf/RTFScanner.java
14814 (lastToken): New field.
14815 (readTokenImpl): New method.
14816 (peekToken): New method.
14817 (readToken): Changed to call readTokenImpl or return the lastToken
14818 if there's one present.
14820 2006-06-21 Tania Bento <tbento@redhat.com>
14822 * javax/swing/JMenu.java
14823 (remove): An IllegalArgumentException should be thrown if
14824 either index < 0 or if index > 0 and there are no menu
14825 components. Also, a check was added that ensures there are
14826 menu components before removing the desired the component.
14828 2006-06-21 Lillian Angel <langel@redhat.com>
14830 * javax/swing/text/DefaultCaret.java
14831 (install): Added check to prevent NPE.
14832 (propertyChange): Added checks to prevent NPEs.
14834 2006-06-21 Tania Bento <tbento@redhat.com>
14836 * javax/swing/JMenu.java
14837 Changed instantiation of popupMenu to null.
14838 (JMenu): Instantiated popupMenu to new JPopupMenu.
14839 (JMenu): Instantiated popupMenu to new JPopupMenu.
14840 (add): Changed popupMenu to getPopupMenu().
14841 (add): Changed popupMenu to getPopupMenu().
14842 (add): Changed popupMenu to getPopupMenu().
14843 (add): Changed popupMenu to getPopupMenu().
14844 (remove): Changed popupMenu to getPopupMenu().
14845 (remove): Changed popupMenu to getPopupMenu().
14846 (insert): Changed popupMenu to getPopupMenu().
14847 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14848 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14849 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14850 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14851 (getMenuComponents): Changed popupMenu to getPopupMenu().
14852 (getPopupMenu): Check first if popupMenu is null and if so,
14853 instantiate it to a new JPopupMenu and set the invoker.
14854 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14855 (popupMenuWillBecomeVisible): Component Listener should only
14856 be added to the root container if the root container is not
14857 null. This avoids a null pointer exception.
14859 2006-06-21 Tania Bento <tbento@redhat.com>
14861 * javax/swing/JMenu.java
14862 (JMenu): Delay should be set to 200, not default of 0.
14863 (JMenu): Delay should be set to 200, not default of 0.
14864 (JMenu): Delay should be set to 200, not default of 0.
14865 (JMenu): Delay should be set to 200, not default of 0.
14866 (remove): Added check that index >= 0 before removing
14868 (getItem): Return null if item count equals 0.
14869 (isTearOff): Should throw new error and not return false.
14870 (getMenuComponent): Return null if popupMenu is null or
14871 if there are no menu components.
14873 2006-06-21 Roman Kennke <kennke@aicas.com>
14875 * java/awt/font/FontRenderContext.java:
14876 (equals): Added special conditions for affineTransform beeing
14879 2006-06-21 Roman Kennke <kennke@aicas.com>
14881 * javax/swing/UIManager.java
14882 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14883 must not be cleared.
14885 2006-06-21 Roman Kennke <kennke@aicas.com>
14887 * javax/swing/plaf/metal/MetalUtils.java
14888 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14889 Graphics2D is available. Use fillRect instead of drawLine, this
14891 (paintVerticalGradient): Use paintHorizontalGradient2D when
14892 Graphics2D is available. Use fillRect instead of drawLine, this
14894 (paintHorizontalGradient2D): New method. Paints gradient
14895 using Graphics2D functions.
14896 (paintVerticalGradient2D): New method. Paints gradient
14897 using Graphics2D functions.
14899 2006-06-21 Roman Kennke <kennke@aicas.com>
14901 * javax/swing/plaf/basic/BasicButtonListener.java
14902 (propertyChange): Create a TextLayout and store it in the button
14903 when the 'text' property changes.
14904 * javax/swing/plaf/basic/BasicButtonUI.java
14905 (paintText): Call BasicGraphicsUtils utility method for
14906 drawing strings, instead of Graphics.drawString().
14907 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14908 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14909 cached text layouts as client properties in JComponents.
14910 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14911 (drawStringUnderlineCharAt): New helper method.
14912 * javax/swing/plaf/basic/BasicMenuItemUI.java
14913 (PropertyChangeHandler.propertyChange): Update cached text layout
14914 when 'text' property changes. Use equals() instead of == for
14916 (paintText): Use new BasicGraphicsUtils methods for painting
14917 the cached text layout.
14918 (installListeners): Call super.installListeners() and remove
14919 the unneeded listener installs.
14920 (uninstallListeners): Call super.uninstallListeners() and remove
14921 the unneeded listener uninstalls.
14923 2006-06-21 Roman Kennke <kennke@aicas.com>
14925 * javax/swing/plaf/basic/BasicTextUI.java
14926 (PropertyChangeHandler.propertyChange): Handle document listener
14928 (background): Removed unneeded fields.
14929 (inactiveBackground): Remove unneeded fields.
14930 (installUI): Install the document listener. Slightly changed
14931 order of operations. Don't trigger modelChanged().
14932 (installDefaults): Only install properties when the
14933 current properties are null or instances of UIResource.
14934 (installListeners): Removed unnecessary listener installs.
14935 (installDocumentListeners): Removed unneeded method.
14936 (uninstallListeners): Removed unnecessary listener uninstalls.
14937 (modelChanged): Removed call to installDocumentListeners().
14938 * javax/swing/plaf/basic/BasicTextFieldUI.java
14939 (propertyChange): Update the colors by fetching them from
14940 SharedUIDefaults. Fixed conditions.
14941 * javax/swing/plaf/basic/SharedUIDefaults.java
14942 (getColor): New method.
14944 2006-06-21 Roman Kennke <kennke@aicas.com>
14946 * javax/swing/SizeSequence.java
14947 (SizeSequence): Initialize array with correct number of entries.
14949 2006-06-21 Roman Kennke <kennke@aicas.com>
14951 * javax/swing/JSplitPane.java
14952 (setDividerLocation): Substract divider size when computing
14955 2006-06-21 Roman Kennke <kennke@aicas.com>
14957 * javax/swing/JComponent.java
14958 (paintChildrenWithOverlap): Determine opaque property by
14959 calling the corresponding Component method, without requiring
14961 (paintChildrenOptimized): Removed old unneeded code.
14962 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14963 method instead of SwingUtilities.convertRectangle(). This is
14966 2006-06-21 Roman Kennke <kennke@aicas.com>
14968 * javax/swing/AbstractButton.java
14969 (init): Call setText() instead of setting the property directly,
14970 so that listeners (especially in the UI) get notified.
14972 2006-06-21 Roman Kennke <kennke@aicas.com>
14974 * javax/swing/UIManager.java
14975 (MultiplexUIDefaults): New inner class.
14976 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14977 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14978 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14979 directly. Print stacktrace if something goes wrong.
14980 (get): Delegate call to currentUIDefaults.
14981 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14983 (getUI): Delegate call to currentUIDefaults.
14984 (put): Delegate call to currentUIDefaults.
14985 (setLookAndFeel): Initialize currentUIDefaults with
14986 MultiplexUIDefaults. Set lookAndFeelDefaults.
14987 (setLookAndFeel): Use current thread's context classloader for
14990 2006-06-21 Roman Kennke <kennke@aicas.com>
14992 * javax/swing/text/GapContent.java
14993 (GapContentPosition.GapContentPosition): Replace
14994 Collections.binarySearch with call to local search() to make
14995 sure we find the first object that equals the searched object.
14996 (setPositionsInRange): Likewise.
14997 (adjustPositionsInRange): Likewise.
14998 (search): New helper method.
15000 2006-06-21 Gary Benson <gbenson@redhat.com>
15002 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
15003 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
15004 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
15006 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
15008 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
15009 APPLETVIEWER_EXECUTABLE to gappletviewer.
15011 2006-06-20 Tom Tromey <tromey@redhat.com>
15013 PR classpath/28095:
15014 * java/net/URL.java (URL): Throw MalformedURLException if a
15015 RuntimeException is caught. Chain exceptions.
15017 2006-06-20 Lillian Angel <langel@redhat.com>
15019 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
15020 (create): Added check to prevent Seg Fault. Should not
15021 set the label if it is null.
15022 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
15023 (setText): Changed to be a non-native function. Calls
15024 setNativeText if the String parameter is non-null.
15025 (setNativeText): Replaces old native setText function.
15026 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15027 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15028 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15029 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15030 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15031 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15033 2006-06-20 Lillian Angel <langel@redhat.com>
15035 * javax/swing/text/JTextComponent.java
15036 (AccessibleJTextComponent): Rewrote all javadocs
15037 for this inner class.
15039 2006-06-20 Francis Kung <fkung@redhat.com>
15041 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15042 Changed many members to be protected.
15043 (J2dBenchmark): moved to init() instead.
15044 (init): New method.
15045 (main): Call init() after creating object
15046 (testComplete): New method.
15047 (test_drawArc): Use maxTests varialbe instead of constant.
15048 (test_drawCubicCurve): Likewise.
15049 (test_drawEllipse): Likewise.
15050 (test_drawGeneralPath): Likewise.
15051 (test_drawImage): Likewise.
15052 (test_drawLine): Likewise.
15053 (test_drawQuadCurve): Likewise.
15054 (test_drawRectangle): Likewise.
15055 (test_drawRoundRectangle): Likewise.
15056 (test_drawTransparentImage): Likewise.
15057 (test_fillArc): Likewise.
15058 (test_fillEllipse): Likewise.
15059 (test_fillGeneralPath): Likewise.
15060 (test_fillRectangle): Likewise.
15061 (test_fillRoundRectangle): Likewise.
15062 (GraphicsTest.runSetNoClipping): Added runCount parameter.
15063 (GraphicsTest.runSetWithClipping): Likewise.
15064 (GraphicsTest.runSetZeroClipping): Likewise.
15065 (GraphicsTest.run): Added checks for more option flags.
15066 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15069 2006-06-20 Roman Kennke <kennke@aicas.com>
15071 * javax/swing/text/GapContent.java
15072 (GapContentPosition.mark): New field.
15073 (GapContentPosition.index): Removed.
15074 (GapContentPosition.GapContentPosition): Changed to take the
15075 real offset as parameter. Added handling of reference counter.
15076 Try to cleanup before creating new instances.
15077 (getOffset): Delegate to the Mark method with same name.
15078 (Mark): New class, encapsulating a mark.
15079 (positionMarks): Removed field.
15080 (numMarks): Removed field.
15081 (marks): New field.
15082 (queueOfDeath): New field.
15083 (GapContent): Removed init of old fields, added init of new fields.
15084 (createPosition): Added check for validity of arguments.
15085 Create GapContentPosition directly with offset.
15086 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15087 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15088 (shiftGapStartDown): Call resetMarksAtZero().
15089 (shiftGapEndUp): Call resetMarksAtZero().
15090 (replace): Don't call resetMarksAtZero().
15091 (setPositionInRange): Replaced by simpler algorithm, similar to
15092 adjustPositionsInRange.
15093 (adjustPositionsInRange): Adapted to use of Mark objects.
15094 (resetMarksAtZero): Reset all marks that point to zero instead
15095 of only the first one.
15096 (dumpMarks): Adjusted to dump Mark objects.
15097 (insertMark): Removed.
15098 (garbageCollect): New method. Cleans up the marks list.
15099 (binarySearch): Removed.
15101 2006-06-20 Lillian Angel <langel@redhat.com>
15103 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15104 (drawImage): Added call to updateColor because
15105 Cairo seems to lose the current color.
15107 2006-06-20 Gary Benson <gbenson@redhat.com>
15109 * java/awt/Toolkit.java: Add security check.
15110 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15111 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15113 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15115 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15116 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15117 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15118 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15119 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15120 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15121 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15122 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15123 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15124 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15125 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15126 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15127 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15128 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15129 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15130 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15131 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15132 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15133 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15135 2006-06-19 Lillian Angel <langel@redhat.com>
15137 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15138 (drawImage): Should always use getRGB to get the pixels.
15139 getData returns an incorrect array of pixels.
15141 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15143 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15144 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15145 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15146 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15147 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15148 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15149 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15150 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15151 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15152 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15153 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15154 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15155 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15156 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15157 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15158 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15159 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15160 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15161 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15162 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15163 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15164 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15165 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15166 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15167 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15168 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15169 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15170 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15171 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15172 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15173 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15174 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15175 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15176 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15177 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15178 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15180 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15182 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15184 2006-06-19 Roman Kennke <kennke@aicas.com>
15186 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15187 (drawImage): Clip volatile image correctly.
15188 (drawVolatileImage): Added arguments for clipping.
15189 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15190 (drawVolatileImage): Added arguments for clipping. Clip image
15192 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15194 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15197 * java/rmi/server/UID.java (constructor): Synchronized
15198 the whole constructor on the UID class.
15200 2006-06-19 Roman Kennke <kennke@aicas.com>
15202 * javax/swing/RepaintManager.java
15203 (addInvalidComponent): Only add component that are displayable,
15204 that have displayable parents and that have a validateRoot.
15205 Also, don't validate components that have a CellRendererPane
15208 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15210 * javax/swing/plaf/IconUIResource.java
15211 (IconUIResource): Throw IllegalArgumentException for null icon.
15213 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15216 * java/rmi/server/UID.java (constructor): First increment
15217 uidCounter, and then use the value.
15219 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15221 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15222 * java/awt/GridBagConstraints.java: Indent.
15224 2006-06-18 Tom Tromey <tromey@redhat.com>
15226 * native/jni/gconf-peer/.cvsignore: New file.
15228 2006-06-18 Tom Tromey <tromey@redhat.com>
15230 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15231 Also handle short options.
15233 2006-06-18 Jim Huang <jserv@kaffe.org>
15235 PR classpath/28076:
15236 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15239 2006-06-19 Mark Wielaard <mark@klomp.org>
15241 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15242 on gnu/java/util/prefs/gconf/%.class.
15243 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15244 chache typo, should be cache.
15245 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15247 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15249 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15250 Don't return a value for void function.
15251 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15253 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15254 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15256 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15257 Mark clazz ad unused.
15259 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15261 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15262 * gnu/java/security/hash/Tiger.java: Likewise.
15263 * gnu/java/security/hash/Sha512.java: Likewise.
15264 * gnu/java/security/hash/Sha384.java: Likewise.
15265 * gnu/java/security/hash/Sha256.java: Likewise.
15266 * gnu/java/security/hash/Sha160.java: Likewise.
15267 * gnu/java/security/hash/RipeMD160.java: Likewise.
15268 * gnu/java/security/hash/RipeMD128.java: Likewise.
15269 * gnu/java/security/hash/MD5.java: Likewise.
15270 * gnu/java/security/hash/MD4.java: Likewise.
15271 * gnu/java/security/hash/MD2.java: Likewise.
15272 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15273 * gnu/java/security/hash/Haval.java: Likewise.
15274 * gnu/java/security/hash/HashFactory.java: Likewise.
15275 * gnu/java/security/hash/BaseHash.java: Likewise.
15277 2006-06-18 Sven de Marothy <sven@physto.se>
15279 * java/awt/event/KeyEvent.java:
15280 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15281 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15282 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15284 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15286 * gnu/java/security/util/Prime2.java: Removed.
15287 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15288 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15289 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15290 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15291 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15292 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15293 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15294 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15295 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15296 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15297 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15298 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15300 2006-06-18 Sven de Marothy <sven@physto.se>
15302 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15303 * java/awt/font/TextMeasurer.java: Fix copyright date,
15304 remove commented-out code.
15306 2006-06-18 Sven de Marothy <sven@physto.se>
15308 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15309 (FreetypeGlyphVector, clone): Implement cloning.
15310 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15311 * java/awt/font/TextMeasurer.java: Implement.
15312 * java/awt/font/LineBreakMeasurer.java:
15313 Reimplement to use TextMeasurer.
15314 * java/awt/font/TextLayout.java
15316 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15317 (getText, getFont): New private static methods.
15318 (setCharIndices): New method.
15319 * java/text/AttributedString.java
15320 (AttributedString): Fix constructor to stop at end point.
15322 2006-06-17 Tom Tromey <tromey@redhat.com>
15324 * lib/gen-classlist.sh.in: Search all top-level directories, not
15325 just 'org', in external.
15327 2006-06-12 Mario torre <neugens at limasoftware.net>
15329 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15330 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15331 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15332 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15334 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15335 * configure.ac: update to introduce new files. Added options
15336 to build gconf native peer used by the GConf preference backend.
15337 * include/Makefile.am: update to introduce new files.
15338 * native/jni/Makefile.am update to introduce new files.
15339 * scripts/check_jni_methods.sh: added three new ignored file
15341 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15342 build gconf-peer shared library.
15344 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15346 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15347 Use Integer.valueOf() instead of new Integer().
15348 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15349 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15350 * gnu/java/security/util/Sequence.java: Likewise.
15351 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15352 * gnu/java/security/x509/X509Certificate.java: Likewise.
15353 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15354 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15355 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15356 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15357 * gnu/javax/crypto/cipher/DES.java: Likewise.
15358 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15359 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15360 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15361 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15362 * gnu/javax/crypto/cipher/Square.java: Likewise.
15363 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15364 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15365 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15366 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15367 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15368 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15369 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15370 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15371 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15372 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15373 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15374 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15375 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15376 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15377 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15378 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15379 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15380 * gnu/javax/crypto/mode/EAX.java: Likewise.
15381 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15382 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15383 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15384 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15385 * java/security/cert/X509CertSelector.java: Likewise.
15387 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15389 * javax/management/DynamicMBean.java:
15390 (setAttribute): Fixed to return void.
15391 * javax/management/MBeanFeatureInfo.java:
15394 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15396 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15397 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15398 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15399 into engineInitHandler and reuse the code in
15400 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15401 (engineInitHandler): New method.
15402 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15403 null, use random or default information when possible.
15405 2006-06-16 Francis Kung <fkung@redhat.com>
15407 * examples/gnu/classpath/examples/swing/Demo.java:
15408 (mkButtonBar): Rename FillRect to JNIOverhead.
15409 (mkMenuBar): Rename FillRect to JNIOverhead.
15410 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15411 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15412 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15413 Moved from old FillRect.
15415 2006-06-16 Tom Tromey <tromey@redhat.com>
15417 * tools/.cvsignore: Added new tool names.
15419 2006-06-16 Keith Seitz <keiths@redhat.com>
15421 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15422 instantiation so that EventManager is created when getDefault
15424 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15427 2006-06-16 Keith Seitz <keiths@redhat.com>
15429 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15430 (_initCount): New field.
15431 (Jdwp): Don't set isDebugging until fully initialized.
15432 (subcomponentInitialized): New method.
15433 (run): Wait for PacketProcessor and JdwpConnection to
15434 startup, then set isDebugging, and then let this thread
15436 * gnu/classpath/jdwp/transport/JdwpConnection.java
15437 (run): Add synchronization notification.
15438 * gnu/classpath/jdwp/processor/PacketProcessor.java
15441 2006-06-16 Tom Tromey <tromey@redhat.com>
15443 * NEWS: Updated for JSR 166.
15445 2006-06-16 Tom Tromey <tromey@redhat.com>
15447 * lib/Makefile.am (compile_classpath): Added jsr166.
15448 * configure.ac: Added external/jsr166/Makefile.
15449 * external/Makefile.am (SUBDIRS): Added jsr166.
15450 * external/jsr166/Makefile.am: New file.
15451 * lib/gen-classlist.sh.in: Look in external/jsr166.
15453 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15455 * gnu/classpath/jdwp/event/ExceptionEvent:
15456 Added Object instance to javadoc in constructor
15457 * gnu/classpath/jdwp/event/MethodEntryEvent:
15459 * gnu/classpath/jdwp/event/MethodExitEvent:
15461 * gnu/classpath/jdwp/event/SingleStepEvent:
15464 2006-06-16 Tom Tromey <tromey@redhat.com>
15466 Imported JSR 166 reference implementation:
15467 * .classpath: Added external/jsr166.
15468 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15469 * java/util/AbstractQueue.java: Removed.
15470 * java/util/Queue.java: Removed.
15471 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15472 (runPeriodic): Added explicit cast.
15473 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15476 2006-06-16 Tom Tromey <tromey@redhat.com>
15478 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15480 (getCallerClass): Now static.
15481 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15483 2006-06-16 Lillian Angel <langel@redhat.com>
15485 * java/awt/FileDialog.java
15486 (FileDialog): Added @since tag to API docs.
15487 (FileDialog): Likewise.
15488 (FileDialog): Likewise.
15489 * java/awt/Font.java:
15490 Added @since tag to TYPE1_FONT field docs.
15491 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15492 (isThumbRollover): Likewise.
15493 (setThumbRollover): Likewise.
15494 (getSupportsAbsolutePositioning): Likewise.
15495 * javax/swing/plaf/basic/BasicSliderUI.java:
15496 (isDragging): Likewise.
15498 2006-06-16 Lillian Angel <langel@redhat.com>
15500 * java/awt/FileDialog.java
15501 (FileDialog): Implemented.
15502 (FileDialog): Implemented.
15503 (FileDialog): Implemented.
15504 * java/awt/Font.java:
15505 Added TYPE1_FONT constant field.
15507 2006-06-16 Lillian Angel <langel@redhat.com>
15509 * java/awt/font/TextLayout.java:
15510 Removed unneeded imports.
15511 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15512 Added new thumbRollover field.
15513 (mouseMoved): Added code to set thumbRollover field.
15514 (isThumbRollover): New function.
15515 (setThumbRollover): New function.
15516 (getSupportsAbsolutePositioning): Implemented. This
15517 needs to be changed once the feature has been
15519 * javax/swing/plaf/basic/BasicSliderUI.java:
15520 Added new dragging field.
15521 (mouseDragged): Initialized dragging field.
15522 (isDragging): New function.
15523 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15524 (focusGained): Marked as not implemented.
15525 (focusLost): Likewise.
15527 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15529 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15530 Added check for null ThreadId to avoid null pointer
15533 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15535 * javax/swing/DefaultComboBoxModel.java
15536 (removeElementAt): Set new selected item by calling setSelectedItem().
15538 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15540 * javax/swing/DefaultButtonModel.java
15541 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15543 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15545 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15546 (ListDataEvent): Handle case where index0 > index1,
15547 (toString): Implemented.
15549 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15551 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15552 (update): Added subexpression to if-statement.
15554 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15556 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15557 (installDefaults): Removed unneccessary code.
15558 (paint): Removed complex if-cascade, revert to default icon if
15559 icon property is not set.
15560 (getPreferredSize): New method.
15562 2006-06-16 Roman Kennke <kennke@aicas.com>
15565 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15566 (drawImage): Don't use setClip() but instead clipRect() to
15567 intersect the current clip with a new one.
15569 2006-06-15 Tom Tromey <tromey@redhat.com>
15571 * scripts/sanitize-jsr166: New file.
15572 * external/jsr166/IMPORTING: New file.
15573 * vm/reference/sun/reflect/Reflection.java: New file.
15574 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15575 * vm/reference/sun/misc/Unsafe.java: ...here.
15577 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15579 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15580 gjarsigner and keytool to gkeytool.
15581 * doc/tools.texinfo: Add note about tool exectable names.
15582 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15583 jarsigner to gjarsigner and keytool to gkeytool.
15584 * tools/appletviewer.in: Rename ...
15585 * tools/gappletviewer.in: New file.
15586 * tools/jarsigner.in: Rename ...
15587 * tools/gjarsigner.in: New file.
15588 * tools/keytool.in: Rename ...
15589 * tools/gkeytool.in: New file.
15590 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15592 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15594 * javax/management/AttributeList.java:
15595 Add serialization UID.
15596 * javax/management/DynamicMBean.java:
15598 * javax/management/JMRuntimeException.java:
15599 Add serialization UID and correct name
15600 of serialized field.
15601 * javax/management/MBeanInfo.java: New file.
15603 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15605 * javax/management/AttributeList.java,
15606 * javax/management/JMRuntimeException.java,
15607 * javax/management/RuntimeOperationsException.java:
15610 2006-06-15 Lillian Angel <langel@redhat.com>
15612 * java/awt/font/TextLayout.java:
15613 DEFAULT_CARET_POLICY changed to be public static final.
15615 2006-06-15 Tania Bento <tbento@redhat.com>
15617 * javax/swing/plaf/metal/MetalScrollButton.java
15618 (MetalScrollButton): Should set 'focusable' to false.
15620 2006-06-15 Tania Bento <tbento@redhat.com>
15622 * javax/swing/plaf/basic/BasicArrowButton.java
15623 (BasicArrowButton): Should set 'focusable' to false.
15624 (BasicArrowButton): Should set 'focusable' to false.
15626 2006-06-15 Mark Wielaard <mark@klomp.org>
15628 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15629 (getGraphicsConfiguration): Return default screen device.
15630 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15632 (GtkVolatileImage): Record initiating component.
15633 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15634 (getDeviceConfiguration): Return configuration of image component.
15636 2006-06-15 Mark Wielaard <mark@klomp.org>
15638 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15641 2006-06-15 Mark Wielaard <mark@klomp.org>
15643 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15644 with null argument.
15646 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15648 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15649 (matches): Added explicit brackets to return statement.
15651 2006-06-15 Tania Bento <tbento@redhat.com>
15653 * javax/swing/JRadioButtonMenuItem.java
15654 (JRadioButtonMenuItem): Should set 'focusable' to false.
15656 2006-06-15 Tania Bento <tbento@redhat.com>
15658 * javax/swing/JCheckBoxMenuItem.java
15659 (JCheckBoxMenuItem): Should set 'focusable' to false.
15661 2006-06-15 Tania Bento <tbento@redhat.com>
15663 * javax/swing/AbstractButton.java:
15664 (AbstractButton): 'Focusable' should be set to true and not false.
15666 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15668 * java/lang/management/ManagementFactory.java:
15669 Add private constructor to prevent instance creation.
15670 * java/lang/management/ManagementPermission.java:
15673 2006-06-15 Francis Kung <fkung@redhat.com>
15675 * javax/swing/plaf/basic/BasicArrowButton.java:
15676 (BasicArrowButton): move client property for not triggering out
15678 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15679 (configureArrowButton): set client property for not triggering
15680 (installUI): set client property for not triggering
15681 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15682 (PopupHelper.mousePressed): check client property for triggering
15684 2006-06-15 Roman Kennke <kennke@aicas.com>
15687 * javax/swing/RepaintManager.java
15688 (blitBuffer): Substract coordinates the other way around.
15690 2006-06-15 Roman Kennke <kennke@aicas.com>
15693 * javax/swing/JComponent.java
15694 (paintImmediately2): Only paint component without double buffering
15695 when all of it's parents have also double buffering disabled.
15696 (isPaintingDoubleBuffered): New helper method.
15698 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15700 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15701 (draw(Shape)): Pass null transform to getPathIterator(),
15702 (getClip): Likewise,
15703 * gnu/java/print/PostscriptGraphics2D.java
15704 (drawStringShape): Pass null transform to getPathIterator(),
15705 (writeShape): Likewise,
15706 * java/awt/Shape.java: Small updates to API docs.
15708 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15710 * javax/naming/InitialContext.java:
15711 (list(javax.naming.Name)): Fixed generic type.
15712 (list(String)): Likewise.
15713 (listBindings(javax.naming.Name)): Likewise.
15714 (listBindings(String)): Likewise.
15716 2006-06-14 Roman Kennke <kennke@aicas.com>
15718 * javax/swing/plaf/basic/BasicComboBoxUI.java
15719 (getAccessibleChildrenCount): Implemented.
15720 (getAccessibleChild): Implemented.
15721 (isNavigationKey): Implemented.
15722 (KeyHandler.keyPressed): Implemented.
15724 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15726 * java/lang/management/ManagementPermission.java:
15727 Added serialization UID.
15728 * javax/management/Attribute.java: Likewise.
15729 * javax/management/MBeanException.java,
15730 * javax/management/ReflectionException.java:
15731 Added serialization UID and changed to extend
15732 javax.management.JMException.
15734 2006-06-14 Lillian Angel <langel@redhat.com>
15736 * java/awt/Component.java
15737 (ignoreOldMouseEvents): Made static.
15738 (translateEvent): Made static.
15739 * java/awt/TextComponent.java
15740 (ignoreOldMouseEvents): Made static.
15742 2006-06-14 Mark Wielaard <mark@klomp.org>
15744 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15746 (drawRect): Likewise.
15747 (fillRect): Likewise.
15749 2006-06-14 Lillian Angel <langel@redhat.com>
15751 * java/awt/Component.java
15752 (ignoreOldMouseEvents): New helper function.
15753 (translateEvent): Changed to be non-static and use new helper.
15754 * java/awt/TextComponent.java
15755 (ignoreOldMouseEvents): New helper function.
15757 2006-06-14 Roman Kennke <kennke@aicas.com>
15759 * javax/swing/RepaintManager.java
15760 (MERGE_REGIONS): New constant flag.
15761 (commitBuffer): Exclude the merging of regions by default. This
15762 was causing painting artifacts in some applications, especially
15763 when different areas of the GUI are updated synchronously.
15765 2006-06-14 Roman Kennke <kennke@aicas.com>
15767 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15768 New file. This is a benchmark for AWT 1.1 style graphics operations.
15769 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15770 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15772 2006-06-14 Tom Tromey <tromey@redhat.com>
15774 * java/io/File.java (getParent): Javadoc fix.
15776 2006-06-14 Tom Tromey <tromey@redhat.com>
15778 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15780 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15781 when index entry does not exist.
15783 2006-06-14 Tania Bento <tbento@redhat.com>
15785 * javax/swing/AbstractButton.java
15786 (AbstractButton): Set focusable to false, not true.
15788 2006-06-14 Tania Bento <tbento@redhat.com>
15790 * javax/swing/JMenuItem.java
15791 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15793 2006-06-14 Tania Bento <tbento@redhat.com>
15795 * javax/swing/JCheckBoxMenuItem.java
15796 (JCheckBoxMenuItem): Added check to set the selected state.
15798 2006-06-14 Roman Kennke <kennke@aicas.com>
15800 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15801 (cairoDrawLine): New native method.
15802 (cairoDrawRect): New native method.
15803 (cairoFillRect): New native method.
15804 (drawLine): Use special native method.
15805 (drawRect): Use special native method.
15806 (fillRect): Use special native method.
15807 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15808 (cairoDrawLine): New native method.
15809 (cairoDrawRect): New native method.
15810 (cairoFillRect): New native method.
15811 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15813 2006-06-14 Mark Wielaard <mark@klomp.org>
15815 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15816 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15817 cannot be allocated.
15819 2006-06-14 Tom Tromey <tromey@redhat.com>
15822 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15823 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15825 2006-06-14 Roman Kennke <kennke@aicas.com>
15827 * javax/swing/JComponent.java
15828 (isRepainting): New flag.
15829 (paintImmediately2): Set isRepainting flag.
15830 (getRoot): Removed obsolete method.
15831 (paintDoubleBuffered): Differenciate between paint calls from
15832 RepaintManager and from AWT refresh. Call
15833 RepaintManager.commitBuffer with this and local coordinates.
15834 (findOpaqueParent): Stop searching at heavyweight component. These
15836 (paintChildrenOptimized): Don't paint heavyweight children. These
15837 should care for themselves.
15838 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15839 should care for themselves.
15840 * javax/swing/RepaintManager.java
15841 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15843 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15844 toplevel windows only.
15845 (getRoot): Removed obsolete method.
15846 (commitBuffer): Blit buffer on nearest heavyweight.
15847 (blitBuffer): New helper method.
15848 (getHeavyweightParent): New helper method.
15849 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15850 * javax/swing/SwingUtilities.java
15851 (convertRectangleToAncestor): New helper method.
15853 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15855 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15856 Condition all trace/debug code based on Configuration.DEBUG.
15857 Use logger instead of STDOUT and ot STDERR.
15859 2006-06-13 Lillian Angel <langel@redhat.com>
15861 * native/plugin/gcjwebplugin.cc
15862 (NP_Initialize): Removed code to create whitelist file.
15863 (GCJ_New): Added code to create whitelist file.
15864 (plugin_user_trusts_documentbase): Fixed error message.
15866 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15868 * javax/swing/plaf/metal/MetalIconFactory.java
15869 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15870 prevent overwriting border,
15871 (VerticalSliderThumbIcon.gradientMask): Likewise.
15873 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15875 * javax/management/AttributeNotFoundException.java,
15876 * javax/management/InvalidAttributeValueException.java,
15877 * javax/management/JMException.java,
15878 * javax/management/MBeanException.java,
15879 * javax/management/OperationsException.java,
15880 * javax/management/ReflectionException.java:
15883 2006-06-13 Roman Kennke <kennke@aicas.com>
15885 * java/awt/Component.java
15886 (dispatchEvent): Handle events even when consumed (this might be
15887 picked up later in the dispatching chain).
15888 * javax/swing/plaf/basic/BasicLookAndFeel.java
15889 (PopupHelper.mousePressed): Don't consume event. Only close popup
15890 when target component isn't flagged as DONT_CANCEL_POPUP.
15891 (DONT_CANCEL_POPUP): New package private constant for flagging
15892 special components that don't trigger popup closing.
15893 * javax/swing/plaf/basic/BasicArrowButton.java
15894 (BasicArrowButton): Set client property for not triggering closing
15897 2006-06-13 Lillian Angel <langel@redhat.com>
15899 * java/awt/image/PixelGrabber.java
15900 (PixelGrabber): Added to API documentation.
15902 2006-06-13 Keith Seitz <keiths@redhat.com>
15904 From Kyle Galloway <kgallowa@redhat.com>:
15905 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15906 (ExceptionOnlyFilter): Allow null refId.
15908 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15909 compatibility with filters.
15910 (getParameter): Modified to allow access to above.
15912 2006-06-13 Sven de Marothy <sven@physto.se>
15914 * gnu/java/awt/peer/gtk/CairoSurface.java
15915 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15916 (create): Use stride in ints.
15918 2006-06-13 Keith Seitz <keiths@redhat.com>
15920 From Kyle Galloway <kgallowa@redhat.com>:
15921 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15923 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15925 * javax/swing/plaf/basic/BasicSliderUI.java
15926 (calculateThumbSize): Removed unnecessary code,
15927 (calculateThumbLocation): Shift position by one,
15928 (calculateTickRect): Shift position by one when ticks are displayed,
15929 (calculateLabelRect): Calculate rect differently according to whether
15930 or not the labels are visible,
15931 (paintTrack): Shift track down one pixel.
15933 2006-06-13 Lillian Angel <langel@redhat.com>
15935 * java/awt/image/PixelGrabber.java
15936 (PixelGrabber): Removed check to throw exception. JDK does
15938 (startGrabbing): Removed line to print stacktrace.
15940 2006-06-13 Mark Wielaard <mark@klomp.org>
15942 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15943 allocate unused AffineTransform. Add comment about conversion to
15945 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15946 Recognize identity transform as "easy". Always convert to
15947 BufferedImage before calling super.
15949 2006-06-13 Roman Kennke <kennke@aicas.com>
15951 * java/awt/Component.java
15952 (getGraphics): Translate child graphics correctly.
15953 (dispatchEvent): Only dispatch event if it hasn't been consumed
15954 yet by the global dispatcher.
15955 * javax/swing/plaf/basic/BasicLookAndFeel.java
15956 Added some API docs.
15957 (PopupHelper.mousePressed): Consume the event after closing
15960 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15962 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15964 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15965 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15966 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15967 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15968 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15969 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15970 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15971 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15972 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15973 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15974 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15975 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15976 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15977 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15978 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15979 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15981 2006-06-12 Sven de Marothy <sven@physto.se>
15983 * java/awt/font/LineBreakMeasurer.java): Implement.
15985 2006-06-12 Keith Seitz <keiths@redhat.com>
15987 From Kyle Galloway <kgallowa@redhat.com>:
15988 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15990 2006-06-12 Keith Seitz <keiths@redhat.com>
15992 From Kyle Galloway <kgallowa@redhat.com>:
15993 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15995 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15997 2006-06-12 Roman Kennke <kennke@aicas.com>
15999 * javax/swing/JComponent.java
16000 (paintDoubleBuffered): Correctly translate and clip the Graphics
16002 (clipAndTranslateGraphics): New helper method.
16004 2006-06-12 Roman Kennke <kennke@aicas.com>
16006 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16007 (copy): Use getClip() to copy the clip. Make copied transform
16008 null when original transform is null. Set clip here.
16009 (setTransform): Correctly update the clip.
16010 (setTransformImpl): New method. Updates the actual transform for
16012 (transform): Correctly update the clip.
16013 (translate): Correctly update the clip.
16014 (clip): Handle null clip and argument correctly.
16015 (clipRect): Avoid creating new Rectangle objects.
16016 (getClip): Get the correct copy of the clip.
16017 (setClip): Correctly handle null argument.
16018 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16019 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
16020 be null or whatever has been set in copy().
16021 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16022 (drawImage): Add translation to the image coordinates.
16023 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16024 (VolatileImageGraphics): Don't set clip here. The clip can either
16025 be null or whatever has been set in copy().
16027 2006-06-12 Keith Seitz <keiths@redhat.com>
16029 From Kyle Galloway <kgallowa@redhat.com>:
16030 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16031 (forCaught): Removed unused/unnecessary method.
16032 (forUncaught): Likewise.
16033 (matches): Implement.
16035 2006-06-12 Keith Seitz <keiths@redhat.com>
16037 From Kyle Galloway <kgallowa@redhat.com>:
16038 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16040 2006-06-12 Keith Seitz <keiths@redhat.com>
16042 From Kyle Galloway <kgallowa@redhat.com>:
16043 * gnu/classpath/jdwp/event/Event.java: Added constants for
16045 (getParameter): Changed parameter type from Class to int.
16046 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16047 Changed from Class type to constants.
16048 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16050 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16052 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16054 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16056 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16058 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16060 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16062 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16064 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16067 2006-06-12 Lillian Angel <langel@redhat.com>
16069 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16070 (StandaloneAppletWindow): Changed title of standalone window.
16072 2006-06-12 Lillian Angel <langel@redhat.com>
16074 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16075 (layoutContainer): Added missing selectedComponent assignment.
16077 2006-06-12 Lillian Angel <langel@redhat.com>
16079 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16080 (layoutContainer): Added check to prevent exception.
16082 2006-06-12 Tom Tromey <tromey@redhat.com>
16084 * java/lang/Thread.java (uncaughtException): Javadoc fix.
16086 2006-06-12 Mark Wielaard <mark@klomp.org>
16088 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16091 (lock): New method.
16092 (unlock): Likewise.
16093 (draw): Use lock() and unlock().
16095 (drawRenderedImage): Likewise.
16096 (drawImage): Likewise.
16097 (drawGlyphVector): Likewise.
16099 2006-06-12 Roman Kennke <kennke@aicas.com>
16101 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16102 (drawPixels): Include alpha in parameter list.
16103 (cairoFill): Include alpha in parameter list.
16104 (setComposite): Don't modify the color.
16105 (draw(Shape))): Use fill when the current composite has an alpha
16106 of != 1.0, so that the stroked shaped will be composited.
16107 (fill(Shape)): Call cairoFill() with alpha.
16108 (drawImage): Call drawPixels or drawSurface with alpha.
16109 (drawGlyphVector): When composite alpha is != 1.0, render the
16110 outline using fill() to enable compositing for text.
16111 (drawRaster): Call drawPixels with alpha.
16112 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16113 (nativeDrawSurface): Include alpha in parameter list.
16114 (drawSurface): Include alpha in parameter list. Pass it to
16115 nativeDrawSurface().
16116 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16117 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16119 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16120 (drawPixels): Handle possible alpha for compositing.
16121 (cairoFill): Likewise.
16122 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16123 (nativeDrawSurface): Handle possible alpha for compositing.
16125 2006-06-12 Mark Wielaard <mark@klomp.org>
16127 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16128 Notify data when completely done. Wait for worker thread to finish.
16129 Rethrow any pending exceptions.
16130 (exception): New field.
16131 (run): Store pending exception.
16133 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16135 * java/lang/management/ManagementPermission.java:
16138 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16140 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16142 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16144 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16145 Use String.charAt().
16147 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16149 * doc/tools.texinfo
16150 (Applet Tools): New chapter.
16151 (appletviewer Tool): New section.
16152 (gcjwebplugin): New section.
16154 2006-06-11 Mark Wielaard <mark@klomp.org>
16156 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16157 Takes GdkPixbufWriter.
16158 (GdkPixbufWriter): Implements Runnable.
16159 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16161 (DATADONE): New static final field.
16163 (write(byte[])): New method.
16165 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16166 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16167 Get dataOutputWriteID from writeClass.
16168 (stream_save_request): Change stream field to writer.
16169 (save_to_stream): Remove FIXME, call writer.
16170 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16173 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16176 Mention new VM interface and use of properties.
16177 * doc/vmintegration.texinfo:
16178 Update with new gnu.java.lang.management section.
16179 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16181 * java/lang/management/ManagementFactory.java:
16182 (getRuntimeMXBean()): Implemented.
16183 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16184 New VM interface file.
16186 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16189 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16190 debug code based on Configuration.DEBUG.
16191 Use logger instead of STDOUT and ot STDERR.
16192 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16193 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16194 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16195 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16196 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16197 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16198 * gnu/javax/crypto/pad/TBC.java: Likewise.
16199 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16200 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16201 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16202 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16203 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16204 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16205 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16206 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16207 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16208 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16209 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16210 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16211 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16212 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16213 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16214 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16215 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16216 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16217 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16218 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16219 * gnu/java/security/Properties.java: Likewise.
16220 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16221 * gnu/java/security/x509/X509CRL.java: Likewise.
16222 * gnu/java/security/x509/ext/Extension.java: Likewise.
16223 * gnu/java/security/util/Prime2.java: Likewise.
16224 * gnu/java/security/util/Base64.java: Likewise.
16225 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16226 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16227 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16228 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16229 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16230 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16231 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16232 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16233 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16234 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16235 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16236 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16237 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16238 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16239 * gnu/java/security/hash/Whirlpool.java: Likewise.
16241 2006-06-11 Mark Wielaard <mark@klomp.org>
16243 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16244 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16245 Remove unused variable glyph_index.
16247 2006-06-11 Mark Wielaard <mark@klomp.org>
16249 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16250 Don't recurse, return false if not an BufferedImage and no image
16252 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16253 end_gdk_drawing() to finally block.
16255 (drawRenderedImage): Likewise.
16256 (drawImage): Likewise.
16257 (drawGlyphVector): Likewise.
16259 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16261 * doc/tools.texinfo: Added text for new -cacert command.
16262 Re-structured sections.
16263 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16264 for -cacert command.
16265 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16266 (_CACERT): Likewise.
16267 (shutdownThread): New field.
16268 (Main): Install shutdown thread.
16269 (main): Uninstall shutdown thread.
16270 (start): Handle new -cacert command.
16271 (getParser): Likewise.
16272 (teardown): Increased visibility.
16273 (ShutdownHook): New inner class.
16274 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16276 2006-06-11 Sven de Marothy <sven@physto.se>
16278 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16279 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16280 (getOutline): Operate on the shape directly.
16281 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16282 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16283 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16284 (getGlyph renamed getGlyphs)
16285 * java/awt/geom/AffineTransform.java
16286 (getTranslateInstance): Set fields directly.
16287 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16288 (getGlyphs): Get all glyph codes at once.
16290 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16293 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16295 2006-06-11 Sven de Marothy <sven@physto.se>
16297 * java/awt/font/TextLayout.java
16298 (getLogicalHighlightShape): Add check.
16299 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16300 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16302 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16304 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16305 Check that every component of 'cn' starts with a valid Java identifier char.
16307 2006-06-10 Tom Tromey <tromey@redhat.com>
16309 * java/io/File.java (pathSeparator): Typo fix.
16311 2006-06-10 Mark Wielaard <mark@klomp.org>
16313 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16315 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16316 Mark all unused parameters.
16317 (cp_gtk_get_cairo_t): Removed.
16318 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16319 Don't mix declerations and statements.
16320 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16321 Mark all unused parameters.
16322 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16323 Get cairographics2d pointer directly.
16324 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16325 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16326 Use jlong to pass pointer.
16327 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16328 Mark all unused parameters.
16329 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16330 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16331 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16332 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16333 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16334 * include/java_io_VMFile.h: Regenerated.
16336 2006-06-10 Roman Kennke <kennke@aicas.com>
16338 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16339 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16340 instead of setClip(), so that an already present clip is intersected
16343 2006-06-10 Mark Wielaard <mark@klomp.org>
16345 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16346 Call getSize() to avoid accessor method.
16348 2006-06-10 Mark Wielaard <mark@klomp.org>
16350 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16351 Qualify ElementSpec.
16353 2006-06-10 Mark Wielaard <mark@klomp.org>
16355 * lib/.cvsignore: Add sun.
16356 * lib/Makefile.am (dist-hook): Likewise.
16358 2006-06-10 Roman Kennke <kennke@aicas.com>
16360 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16361 * gnu/java/awt/peer/gtk/CairoSurface.java
16362 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16363 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16364 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16365 * native/jni/gtk-peer/cairographics2d.h
16366 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16367 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16368 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16369 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16370 Changed method signatures and calls to pass native pointers directly
16371 into the JNI code, in order to avoid costly lookups on each
16373 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16374 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16375 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16376 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16379 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16382 * javax/swing/text/DefaultStyledDocument.java
16383 (ElementBuffer.insertContentTag):
16384 Do not recreate leaves and do not remove elements here.
16386 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16388 * javax/swing/text/html/HTMLDocument.java
16389 (HTMLReader.HiddenAction): Implemented.
16391 2006-06-10 Roman Kennke <kennke@aicas.com>
16393 * javax/swing/RepaintManager.java
16394 (getVolatileOffscreenBuffer): Store the created buffer.
16395 * javax/swing/JComponent.java
16396 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16397 for better performance.
16399 2006-06-10 Roman Kennke <kennke@aicas.com>
16401 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16402 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16404 (getRealBounds): Overridden to return the correct bounds.
16406 2006-06-10 Roman Kennke <kennke@aicas.com>
16408 * javax/swing/plaf/metal/MetalButtonUI.java
16409 (update): Fixed to paint the gradient under the correct conditions.
16410 (updateWidthGradient): Removed.
16411 (isToolbarButton): New helper method.
16412 (isDrawingGradient): New helper method.
16414 2006-06-09 Roman Kennke <kennke@aicas.com>
16416 * javax/swing/JTabbedPane.java
16417 (setSelectedIndex): Don't change the visibility of the components,
16418 this is done by the UI class.
16419 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16420 (TabbedPaneLayout.layoutContainer): Change visibility of component
16421 here, depending on the selected index. Only do this if the new
16422 selected component is not null. Some programs seem to expect
16424 (visibleComponent): New field.
16425 (getVisibleComponent): Changed to return visibleComponent field.
16426 (setVisibleComponent): Changed to set the visibility of
16427 the old and new visible component.
16429 2006-06-09 Roman Kennke <kennke@aicas.com>
16431 * javax/swing/JComponent.java
16432 (paintChildrenOptimized): Paint component with a new Graphics
16433 object to protect the other painting code from modifications
16434 done in that object, and avoid cleanup ops on possibly dispose()ed
16437 2006-06-09 Sven de Marothy <sven@physto.se>
16439 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16440 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16441 Use GTK locks while disposing (Xlib) surface.
16443 2006-06-09 Tom Tromey <tromey@redhat.com>
16445 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16446 (uninstall-local): Delete 'sun' directory.
16447 (glibj.zip): Include 'sun' classes.
16448 (clean-local): Delete 'sun' directory.
16449 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16451 2006-06-09 Roman Kennke <kennke@aicas.com>
16453 * gnu/java/awt/java2d/AbstractGraphics2D.java
16454 (drawImage): Fixed scaling.
16455 (fillShape): Removed offset handling.
16456 (fillShapeImpl): Limit scanlining to device bounds.
16457 (getSegments): Removed offset handling.
16458 * gnu/java/awt/java2d/PolyEdge.java
16459 (toString): Include isClip flag in output.
16461 2006-06-08 Sven de Marothy <sven@physto.se>
16463 * java/awt/font/TextLayout.java
16464 (getOutline): Allow null transform.
16466 2006-06-08 Sven de Marothy <sven@physto.se>
16468 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16469 (drawString): Use TextLayout instead of GlyphVector.
16471 2006-06-08 Sven de Marothy <sven@physto.se>
16473 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16474 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16475 New constructor for bidirectionality.
16476 (getGlyphMetrics): Return whitespace glyphs.
16477 (getLogicalBounds): Offset rectangles to correct positions.
16478 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16479 (getBaselineFor): Default to ROMAN_BASELINE.
16480 (GdkFontLineMetrics): Guess some values for underline and
16482 (layoutGlyphVector): Use bidirectionality.
16483 * java/awt/font/TextLayout.java: Implement, mostly.
16485 2006-06-09 Anthony Green <green@redhat.com>
16487 PR classpath/27888:
16488 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16489 * java/util/Collections.java (binarySearch): Use unsigned shift.
16490 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16492 2006-06-09 Tom Tromey <tromey@redhat.com>
16494 * tools/.cvsignore: Added .deps.
16496 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16498 PR classpath/27966:
16499 * gnu/javax/security/auth/login/ConfigFileParser.java
16500 (validateClassName): Quote '.' in regexp.
16502 2006-06-09 Tom Tromey <tromey@redhat.com>
16504 PR classpath/23863:
16505 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16507 * native/fdlibm/mprec.c: New version from newlib. Commented out
16508 some includes. Added <assert.h>.
16509 (_reent, _Bigint): New defines.
16510 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16511 (__ULong, __Long): New types.
16512 (_calloc_r): New function.
16513 (Balloc): Dynamically add new _freelist entries as needed.
16514 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16515 MAX_BIGNUMS to size _x[].
16516 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16517 _allocation_map, num. Added _max_k.
16519 2006-06-09 Roman Kennke <kennke@aicas.com>
16521 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16522 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16525 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16527 * java/awt/image/BufferedImage.java
16528 (BufferedImage(int, int, int)): Added API docs,
16529 (getProperty(String)): Return correct value for undefined properties,
16530 (getPropertyNames()): Added comments and removed FIXME.
16532 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16534 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16535 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16537 2006-06-09 Francis Kung <fkung@redhat.com>
16539 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16540 (getPreferredSize): Return correct height for null or empty
16543 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16545 * java/awt/datatransfer/DataFlavor.java
16546 (readExternal): Mark as stub,
16547 (writeExternal): Likewise,
16548 * java/awt/dnd/DropTargetContext.java
16549 (dropComplete): Mark as stub,
16550 (acceptDrag): Likewise,
16551 (rejectDrag): Likewise,
16552 (acceptDrop): Likewise,
16553 (rejectDrop): Likewise,
16554 (getCurrentDataFlavors): Likewise,
16555 (getTransferable): Likewise,
16556 * java/awt/dnd/DropTargetDropEvent.java
16557 (dropComplete): Mark as stub.
16559 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16561 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16562 (constructor): Do not lowercase the values.
16563 * javax/swing/text/html/HTMLDocument.java
16564 (HTMLReader.addSpecialElement): Implemented.
16565 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16567 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16569 On behalf of Matthew Wringe <mwringe@redhat.com>
16570 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16571 * gnu/javax/crypto/pad/ISO10126.java: New class.
16572 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16573 (getInstance): Added support for ISO-10126 scheme.
16574 (getNames): Likewise.
16575 Cache result for speed.
16577 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16579 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16580 flexible self-test by sub-classes.
16581 (test1BlockSize): New method.
16583 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16585 * javax/swing/plaf/basic/BasicLookAndFeel.java
16586 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16587 * javax/swing/plaf/basic/BasicScrollBarUI.java
16588 (installKeyboardActions): Implemented,
16589 (uninstallKeyboardActions): Implemented,
16590 (getInputMap): New method,
16591 (getActionMap): New method,
16592 (createActionMap): New method,
16593 (installUI): Call installKeyboardActions(),
16594 (uninstallUI): Call uninstallKeyboardActions().
16596 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16598 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16599 (getActionMap): Use correct key to store action map.
16601 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16603 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16604 (executeInstruction): Added NOT support.
16606 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16608 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16611 2006-06-08 Tom Tromey <tromey@redhat.com>
16613 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16616 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16618 * java/lang/management/RuntimeMXBean.java:
16621 2006-06-08 Lillian Angel <langel@redhat.com>
16623 * native/plugin/gcjwebplugin.cc:
16624 (NP_Shutdown): Freed whitelist_filename.
16626 2006-06-08 Lillian Angel <langel@redhat.com>
16628 * native/plugin/Makefile.am:
16629 Removed DATA_DIRECTORY.
16630 * native/plugin/gcjwebplugin.cc:
16631 Added new global fields for whitelist_file
16632 and data_directory. Removed WHITELIST_FILE.
16633 (NP_Initialize): Initialized new fields. Also,
16634 Changed to use new fields.
16635 (NP_Shutdown): Freed data_directory.
16636 (GCJ_New): Changed to use new fields.
16637 (plugin_ask_user_about_documentbase): Likewise.
16639 2006-06-08 Lillian Angel <langel@redhat.com>
16641 * native/plugin/Makefile.am:
16642 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16643 * native/plugin/gcjwebplugin.cc:
16644 Changed all instances of PLUGIN_DATA_DIRECTORY
16647 2006-06-08 Roman Kennke <kennke@aicas.com>
16649 * java/awt/LightweightDispatcher.java
16650 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16651 with convertPointToChild(). This is more efficient and avoids
16652 problems with getLocationOnScreen().
16653 (findTarget): Check for component beeing showing() early.
16654 Simplified AWTUtilities.convertPoint() to a simple substraction
16656 (convertPointToChild): New helper method.
16658 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16660 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16663 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16664 Lillian Angel <langel@redhat.com>
16666 * native/plugin/gcjwebplugin.cc
16667 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16668 Also, reset initialized field.
16670 2006-06-08 Lillian Angel <langel@redhat.com>
16672 * javax/swing/plaf/basic/BasicProgressBarUI.java
16673 (paintString): Fixed to paint string at the correct location.
16675 2006-06-08 Roman Kennke <kennke@aicas.com>
16677 * javax/swing/plaf/basic/BasicTreeUI.java
16678 (createDefaultActions): Added new actions.
16679 (TreePageAction.TreePageAction): Set action name.
16680 (TreePageAction.actionPerformed): Implemented.
16681 (TreePageAction.isEnabled): Implemented.
16682 (TreeToggleAction.TreePageAction): Set action name.
16683 (TreeToggleAction.actionPerformed): Implemented.
16684 (TreeToggleAction.isEnabled): Implemented.
16685 (TreeTraverseAction.TreeTraverseAction): Set action name.
16686 (TreeTraverseAction.actionPerformed): Use action name as command.
16687 (TreeTraverseAction.isEnabled): Implemented.
16689 2006-06-08 Roman Kennke <kennke@aicas.com>
16691 * javax/swing/plaf/basic/BasicTreeUI.java
16692 (installKeyboardActions): Rewritten to correctly install the UI
16693 input and action maps.
16694 (getActionMap): New helper method.
16695 (createDefaultActionMap): New helper method.
16696 (TreeHomeAction.TreeHomeAction()): Implemented.
16697 (TreeHomeAction.actionPerformed): Implemented.
16698 (TreeHomeAction.isEnabled): Implemented.
16699 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16700 (TreeIncrementAction.actionPerformed): Use action name as command.
16701 (TreeIncrementAction.isEnabled): Implemented.
16703 2006-06-08 Mark Wielaard <mark@klomp.org>
16706 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16707 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16710 2006-06-08 Mark Wielaard <mark@klomp.org>
16712 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16713 (attrs): Removed unused static.
16715 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16717 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16718 (getInputMap): New method,
16719 (getActionMap): New method,
16720 (createActionMap): New method,
16721 (installKeyboardActions): Implemented,
16722 (uninstallKeyboardActions): Implemented.
16724 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16726 * javax/swing/border/MatteBorder.java:
16727 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16729 (paintBorder): Added if-statement to abort painting early.
16731 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16734 * gnu/xml/dom/DomIterator.java:
16735 (successor): Changed expression.
16737 2006-06-08 Sven de Marothy <sven@physto.se>
16739 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16740 (defaultLayout): Do kerning.
16741 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16742 (getKerning): Correct class name, removed unused variable.
16744 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16746 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16747 libqtpeer.so unconditionally.
16749 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16751 * java/util/InputMismatchException.java:
16754 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16756 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16758 2006-06-07 Roman Kennke <kennke@aicas.com>
16760 * javax/swing/plaf/basic/BasicTreeUI.java
16761 (completeUIUninstall): Implemented.
16762 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16763 editing before uninstalling anything.
16764 (isToggleEvent): Implemented.
16765 (selectPathForEvent): Make use of isToggleEvent().
16766 (ComponentHandler.componentMoved): Implemented.
16767 (ComponentHandler.startTimer): Implemented.
16768 (ComponentHandler.getScrollPane): Implemented.
16769 (ComponentHandler.actionPerformed): Implemented.
16771 2006-06-07 Francis Kung <fkung@redhat.com>
16773 * javax/swing/JMenuBar.java:
16774 (getSubElements): Do not return null values.
16776 2006-06-07 Roman Kennke <kennke@aicas.com>
16779 * gnu/regexp/BacktrackStack.java
16780 * gnu/regexp/CharIndexed.java
16781 * gnu/regexp/CharIndexedCharArray.java
16782 * gnu/regexp/CharIndexedCharSequence.java
16783 * gnu/regexp/CharIndexedInputStream.java
16784 * gnu/regexp/CharIndexedString.java
16785 * gnu/regexp/CharIndexedStringBuffer.java
16786 * gnu/regexp/RE.java
16787 * gnu/regexp/REException.java
16788 * gnu/regexp/REFilterInputStream.java
16789 * gnu/regexp/REMatch.java
16790 * gnu/regexp/REMatchEnumeration.java
16791 * gnu/regexp/RESyntax.java
16792 * gnu/regexp/REToken.java
16793 * gnu/regexp/RETokenAny.java
16794 * gnu/regexp/RETokenBackRef.java
16795 * gnu/regexp/RETokenChar.java
16796 * gnu/regexp/RETokenEnd.java
16797 * gnu/regexp/RETokenEndOfPreviousMatch.java
16798 * gnu/regexp/RETokenEndSub.java
16799 * gnu/regexp/RETokenIndependent.java
16800 * gnu/regexp/RETokenLookAhead.java
16801 * gnu/regexp/RETokenLookBehind.java
16802 * gnu/regexp/RETokenNamedProperty.java
16803 * gnu/regexp/RETokenOneOf.java
16804 * gnu/regexp/RETokenPOSIX.java
16805 * gnu/regexp/RETokenRange.java
16806 * gnu/regexp/RETokenRepeated.java
16807 * gnu/regexp/RETokenStart.java
16808 * gnu/regexp/RETokenWordBoundary.java
16809 * gnu/regexp/UncheckedRE.java
16810 * gnu/java/util/regex/BacktrackStack.java
16811 * gnu/java/util/regex/CharIndexed.java
16812 * gnu/java/util/regex/CharIndexedCharArray.java
16813 * gnu/java/util/regex/CharIndexedCharSequence.java
16814 * gnu/java/util/regex/CharIndexedInputStream.java
16815 * gnu/java/util/regex/CharIndexedString.java
16816 * gnu/java/util/regex/CharIndexedStringBuffer.java
16817 * gnu/java/util/regex/RE.java
16818 * gnu/java/util/regex/REException.java
16819 * gnu/java/util/regex/REFilterInputStream.java
16820 * gnu/java/util/regex/REMatch.java
16821 * gnu/java/util/regex/REMatchEnumeration.java
16822 * gnu/java/util/regex/RESyntax.java
16823 * gnu/java/util/regex/REToken.java
16824 * gnu/java/util/regex/RETokenAny.java
16825 * gnu/java/util/regex/RETokenBackRef.java
16826 * gnu/java/util/regex/RETokenChar.java
16827 * gnu/java/util/regex/RETokenEnd.java
16828 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16829 * gnu/java/util/regex/RETokenEndSub.java
16830 * gnu/java/util/regex/RETokenIndependent.java
16831 * gnu/java/util/regex/RETokenLookAhead.java
16832 * gnu/java/util/regex/RETokenLookBehind.java
16833 * gnu/java/util/regex/RETokenNamedProperty.java
16834 * gnu/java/util/regex/RETokenOneOf.java
16835 * gnu/java/util/regex/RETokenPOSIX.java
16836 * gnu/java/util/regex/RETokenRange.java
16837 * gnu/java/util/regex/RETokenRepeated.java
16838 * gnu/java/util/regex/RETokenStart.java
16839 * gnu/java/util/regex/RETokenWordBoundary.java
16840 * gnu/java/util/regex/UncheckedRE.java
16841 Moved gnu.regexp classes to gnu.java.util.regex package.
16842 * java/util/regex/Matcher.java
16843 * java/util/regex/Pattern.java
16844 Adjusted import statements for new package name for gnu regexp.
16846 2006-06-07 Tom Tromey <tromey@redhat.com>
16848 PR classpath/27905:
16849 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16850 Added missing charsets.
16851 (charsetForName): Don't check 'extendedLoaded'.
16853 2006-06-07 Roman Kennke <kennke@aicas.com>
16856 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16857 (clip(Shape)): Implemented correctly, so that the current shape
16858 gets intersected by the parameter shape.
16860 2006-06-07 Lillian Angel <langel@redhat.com>
16862 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16863 (getTabBounds): If this method is called with a tab index
16864 that is not in the rects array, we need to re-layout the container
16867 2006-06-07 Lillian Angel <langel@redhat.com>
16869 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16870 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16871 * java/lang/String.java
16872 (codePointCount): Fixed check to match API. Shouldn't throw exception
16873 if end == count. end is 1 more than the endIndex, so end == count is
16876 2006-06-07 Gary Benson <gbenson@redhat.com>
16879 * native/jni/java-io/java_io_VMFile.c
16880 (Java_java_io_VMFile_toCanonicalForm): New method.
16881 * configure.ac: Added checks for lstat and readlink.
16882 * include/java_io_VMFile.h: Added new method.
16883 * vm/reference/java/io/VMFile.java: Use new method.
16884 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16885 * NEWS: Documented the above.
16886 * java/io/File.java: Javadoc fix.
16888 2006-06-07 Roman Kennke <kennke@aicas.com>
16891 * javax/swing/JTree.java
16892 (JTree()): Initialize with default model.
16893 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16894 on the updateUI() / setModel() order.
16895 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16897 * javax/swing/plaf/basic/BasicTreeUI.java
16898 (BasicTreeUI()): Initialize listeners in installListeners().
16899 (setModel): Complete editing on model change. Correctly resetup
16900 the listeners. Update the layout cache accordingly.
16901 (setShowRootHandles): Complete editing and update layout. Do not
16902 call back into the JTree, this could cause cycles.
16903 (prepareForUIInstall): Implemented. Moved some init code from
16904 installUI() to this method.
16905 (completeUIInstall): Implemented. Moved some init code from
16906 installUI() to this method.
16907 (createDefaultCellEditor): Check for type of renderer, and install
16908 with null renderer when not DefaultTreeCellRenderer.
16909 (updateLayoutCacheExpandedNodes): Added null check for tree root
16911 (updateRenderer): Call updateEditor().
16912 (installListeners): Initialize the listeners here. Added some null
16913 checks to avoid NPEs.
16914 (installUI): Moved some init code to prepareForUIInstall() and
16915 completeUIInstall().
16916 (completeEditing): Return immediately if editing component is null
16917 or if the setting is to not stop editing on complete editing.
16918 (checkForClickInExpandControl): Call handleExpandControlClick()
16919 instead of toggleExpandState() directly.
16920 (isLocationInExpandControl): Rewritten to correctly determine the
16921 expand click location.
16922 (MouseHandler.mousePressed): Rewritten to make better use of the
16923 instance methods of BasicTreeUI to handle the click.
16924 (PropertyHandler.propertyChange): Handle model and cell renderer
16926 * javax/swing/tree/DefaultTreeCellEditor.java
16927 (DefaultTreeCellEditor): Removed initialization of the icon. This
16928 is done so that the constructor can deal with null renderer as the
16929 RI does. Maybe this needs more fixing.
16930 * javax/swing/tree/TreePath.java
16931 (isDescendant): Fixed this method. The previous version did too
16932 much and compared the wrong things, which lead to a ClassCastException
16934 * javax/swing/tree/VariableHeightLayoutCache.java
16935 (update): Do nothing when model is null.
16936 (setModel): Clear the tables and update the layout. Added null
16937 check to prevent NPE.
16939 2006-06-07 Sven de Marothy <sven@physto.se>
16941 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16943 2006-06-07 Sven de Marothy <sven@physto.se>
16945 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16946 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16947 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16950 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16951 (getGlyphVector): Removed native method.
16952 (createGlyphVector, getStringBounds): Use new GV class.
16954 * include/Makefile.am
16955 * native/jni/gtk-peer/Makefile.am
16958 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16959 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16960 (getGlyphVector): Removed native method.
16962 2006-06-07 Chris Burdess <dog@gnu.org>
16964 * gnu/classpath/debug/TeeInputStream.java,
16965 gnu/classpath/debug/TeeOutputStream.java,
16966 gnu/classpath/debug/TeeReader.java,
16967 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16968 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16969 read more characters than absolutely necessary in tryRead method.
16971 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16973 * examples/gnu/classpath/examples/swing/Demo.java:
16974 (mkMenuBar): Put look and feel radio buttons into
16975 appropriate button group.
16977 2006-06-07 Chris Burdess <dog@gnu.org>
16979 * gnu/xml/stream/SAXParser.java,
16980 gnu/xml/stream/XMLParser.java: Add command line options for setting
16981 parsing parameters (for simpler debugging).
16982 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16983 closing output stream is propagated to application.
16985 2006-06-06 Mark Wielaard <mark@klomp.org>
16988 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16989 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16990 call disposeSurface.
16991 (disposeSurface): New native method.
16992 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16993 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16996 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16997 cairo_pattern_destroy.
16998 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16999 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17000 New function to destroy the surface.
17001 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17002 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
17003 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
17005 2006-06-06 Mark Wielaard <mark@klomp.org>
17007 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
17010 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17012 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
17013 (paint): If has focus, paint special background color,
17014 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17015 (FocusHandler.focusGained): Implemented,
17016 (FocusHandler.focusLost): Implemented.
17018 2006-06-06 Tom Tromey <tromey@redhat.com>
17020 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
17022 (writeAttributeSet): Implemented.
17024 2006-06-06 Tom Tromey <tromey@redhat.com>
17026 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17028 (SpecialAction.end): Removed.
17029 (IsindexAction.end): Likewise.
17031 2006-06-06 Tom Tromey <tromey@redhat.com>
17033 * include/jni.h (JDK1_1InitArgs): New struct.
17034 (JDK1_1AttachArgs): Likewise.
17036 2006-06-06 Tom Tromey <tromey@redhat.com>
17038 * java/security/UnresolvedPermission.java (getUnresolvedType): New
17040 (getUnresolvedName): New method.
17041 (getUnresolvedActions): New method.
17042 (getUnresolvedCerts): New method.
17044 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17046 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17047 (getColor): Removed debugging code.
17049 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17051 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17052 (getColor): Added support for "rgb(red, green, blue)" notation.
17053 (translateTag): Use Boolean.TRUE, not new Boolean().
17055 2006-06-06 Roman Kennke <kennke@aicas.com>
17058 * javax/swing/JTree.java
17059 (JTree(TreeModel)): Call updateUI() before setModel().
17060 (setModel): Don't call updateUI here.
17062 2006-06-06 Lillian Angel <langel@redhat.com>
17064 * native/plugin/gcjwebplugin.cc:
17065 Fixed failure message and commenting.
17066 (NP_Initialize): Added more comments.
17068 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17070 * javax/swing/JSplitPane.java
17071 (AccessibleJSplitPane): API doc fixes,
17072 (setDividerLocation): Likewise,
17073 * javax/swing/plaf/basic/BasicLookAndFeel.java
17074 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17075 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17076 (getInputMap): New method,
17077 (getActionMap): New method,
17078 (createActionMap): New method,
17079 (installKeyboardActions): Implemented,
17080 (uninstallKeyboardActions): Implemented.
17082 2006-06-06 Roman Kennke <kennke@aicas.com>
17085 * javax/swing/MenuSelectionManager.java
17086 (processKeyEvent): Added check to avoid
17087 ArrayIndexOutOfBoundsException.
17089 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17091 * gnu/javax/swing/text/html/htmlAttributeSet.java
17092 (getAttributeNames): Rewritten
17094 2006-06-06 Chris Burdess <dog@gnu.org>
17096 * gnu/xml/transform/TransformerImpl.java: Check type of created
17097 document (more cases).
17099 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17101 * gnu/javax/swing/text/html/htmlAttributeSet.java
17102 (clone): New method. (copyAttributes): New method.
17103 (getResolveParent): Comment fix. (getAttribute):
17104 Rewritten. (addAttribute): Rewritten.
17105 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17108 2006-06-06 Roman Kennke <kennke@aicas.com>
17111 * javax/swing/JMenuBar.java
17112 (processKeyBindingHelper): Added null check to prevent NPE.
17114 2006-06-06 Roman Kennke <kennke@aicas.com>
17116 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17117 (ShowSystemMenuAction): New class.
17118 (installKeyboardActions): Implemented.
17119 (uninstallKeyboardActions): Implemented.
17120 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17121 (installKeyboardActions): Overridden to remove showSystemMenu action.
17123 2006-06-06 Chris Burdess <dog@gnu.org>
17125 * gnu/xml/transform/TransformerImpl.java: Check type of created
17128 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17130 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17131 (getScreenDevices): Added explicit cast.
17133 2006-06-06 Roman Kennke <kennke@aicas.com>
17135 * javax/swing/plaf/basic/BasicTextUI.java
17136 (installKeyboardActions): Use shared input map. Correctly
17137 install the input/action maps in the component's input/action
17139 (getActionMap): New helper method for fetching an ActionMap from
17140 the UIManager or creating a default one if there is none supplied
17142 (createActionMap): Add the TransferHandler's actions here. Made
17144 (getInputMap): Leave out unnecessary method parameter. Load
17146 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17148 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17150 * configure.ac: Added missing [ to expression.
17152 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17154 * configure.ac: Added missing { to expression.
17156 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17158 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17159 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17160 * include/Makefile.am: Added
17161 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17162 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17163 (GdkGraphicsConfiguration): Rewritten.
17164 (getColorModel): Rewritten.
17165 (getColorModel(int)): Rewritten.
17166 (getBounds): Rewritten.
17167 (createCompatibleVolatileImage): Implemented.
17168 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17170 (getDefaultScreenDevice): Rewritten.
17171 (nativeGetDefaultScreenDevice): New method.
17172 (getScreenDevices): Rewritten.
17173 (nativeGetScreenDevices): New method.
17174 (nativeInitState): New method.
17175 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17177 (X11DisplayMode): New inner class.
17178 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17179 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17180 * native/jni/gtk-peer/gdkdisplay.h: New file.
17181 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17182 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17184 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17186 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17187 _nativeGetScreenDevices):
17189 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17190 _nativeGetDefaultScreenDevice):
17192 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17194 * configure.ac: Added check for Xrandr library.
17196 2006-06-06 Roman Kennke <kennke@aicas.com>
17198 * javax/swing/plaf/basic/BasicTableUI.java
17199 (getMaximumSize): Don't return null. Fixed calculation of
17201 (getMinimumSize): Don't return null. Fixed calculation of
17203 (getPreferredSize): Fixed calculation of with and height. Added
17205 (getHeight): New helper method.
17207 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17209 * javax/swing/JComponent.java
17210 (getInputMap(int)): Throw IllegalArgumentException for unknown
17211 condition argument, and added API docs,
17212 (getInputMap()): Added API docs.
17214 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17216 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17218 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17220 * javax/swing/JTable.java
17221 (AccessibleJTableHeaderCell.header): New field,
17222 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17223 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17224 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17225 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17226 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17227 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17228 (AccessibleJTable.getAccessibleAt): Reimplemented.
17230 2006-06-05 Sven de Marothy <sven@physto.se>
17232 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17233 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17234 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17235 (initFromVolatile): New method.
17236 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17237 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17239 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17240 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17241 (copyArea, drawVolatileImage): New methods.
17243 2006-06-05 Tania Bento <tbento@redhat.com>
17245 * javax/swing/JFrame.java
17246 (frameInit): Set background color and fixed layout parameters.
17248 2006-06-05 Tom Tromey <tromey@redhat.com>
17250 * NEWS: Mention VMURLConnection.
17252 2006-06-05 Lillian Angel <langel@redhat.com>
17254 * native/plugin/gcjwebplugin.cc:
17255 Added new field to keep track of initialization.
17256 (plugin_start_appletviewer): Fixed to return an error value, if
17257 an error was encountered when loading the appletviewer.
17258 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17260 (plugin_failed): New helper function. Shows a warning if the appletviewer
17261 has not been installed.
17262 (NP_Initialize): Added code to make sure this function is only called
17265 2006-06-05 Lillian Angel <langel@redhat.com>
17267 * native/plugin/Makefile.am:
17268 Fixed to use a set plugin directory in the .mozilla directory.
17269 All applet logs are now stored here, instead of /tmp.
17270 * native/plugin/gcjwebplugin.cc:
17271 Added new fields for security warning.
17272 (GCJ_NEW): Added code to generate a security warning for all pages
17273 that spawn an appletviewer. This warning asks the user if they trust
17274 the applet and if they would like to add it to a 'whitelist'. This
17275 whitelist keeps track of all the addresses the user would like
17276 to trust indefinitely.
17277 (plugin_user_trusts_documentbase): New helper function.
17278 (plugin_add_documentbase_to_whitelist): New helper function.
17279 (plugin_ask_user_about_documentbase): New helper function.
17280 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17282 (plugin_start_appletviewer): Likewise.
17283 (plugin_create_applet_tag): Reset all fields to null after they have been
17285 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17286 if channel_error has been set.
17287 (plugin_stop_appletviewer): Likewise.
17288 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17291 2006-06-05 Francis Kung <fkung@redhat.com>
17294 * gnu/java/awt/peer/gtk/GtkImage.java
17295 (getSource): Added check to determine if in
17296 errorLoading state.
17297 * gnu/java/awt/peer/gtk/GtkToolkit.java
17298 (createImage): Added check to prevent NPE.
17300 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17302 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17303 Create the ImageView, when applicable.
17304 * gnu/javax/swing/text/html/CombinedAttributes.java,
17305 javax/swing/text/html/ImageView.java: New files.
17307 2006-06-05 Roman Kennke <kennke@aicas.com>
17310 * javax/swing/text/GapContent.java
17311 (setPositionsInRange): Compare with startIndex and endIndex
17312 rather than start and end.
17313 (dumpMarks): Only dump real marks.
17315 2006-06-05 Sven de Marothy <sven@physto.se>
17317 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17318 (ComponentGraphics): Use 0,0 as clip origin.
17320 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17322 * java/util/Formattable.java,
17323 * java/util/FormattableFlags.java,
17324 * java/util/Formatter.java:
17327 2006-06-04 Tom Tromey <tromey@redhat.com>
17329 * javax/naming/Context.java (list): Genericized.
17330 (listBindings): Likewise.
17331 * javax/naming/Reference.java (addrs): Genericized.
17332 * javax/naming/InitialContext.java (myProps): Fixed type.
17333 (init): Genericized.
17335 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17337 * java/util/DuplicateFormatFlagsException.java,
17338 * java/util/FormatFlagsConversionMismatchException.java,
17339 * java/util/FormatterClosedException.java,
17340 * java/util/IllegalFormatCodePointException.java,
17341 * java/util/IllegalFormatConversionException.java,
17342 * java/util/IllegalFormatException.java,
17343 * java/util/IllegalFormatFlagsException.java,
17344 * java/util/IllegalFormatPrecisionException.java,
17345 * java/util/IllegalFormatWidthException.java,
17346 * java/util/MissingFormatArgumentException.java,
17347 * java/util/MissingFormatWidthException.java,
17348 * java/util/UnknownFormatConversionException.java,
17349 * java/util/UnknownFormatFlagsException.java:
17352 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17354 * java/lang/System.java:
17355 (getenv()): Handle cases where split only
17356 returns an array of size 1.
17358 2006-06-04 Sven de Marothy <sven@physto.se>
17360 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17361 (createVolatileImage): Pass peer to VolatileImage constructor.
17362 * java/awt/Component.java
17363 (createVolatileImage): Call peer method directly.
17365 2006-06-04 Sven de Marothy <sven@physto.se>
17367 * gnu/java/awt/peer/gtk/CairoSurface.java
17368 (getFlippedBuffer): New method.
17369 (getGtkImage): Renamed method.
17370 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17371 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17372 Renamed getSharedImage to getGtkImage.
17373 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17374 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17375 (getFlippedBuffer): New method
17376 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17377 Avoid window casts.
17378 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17380 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17381 (drawVolatile): Add casts.
17382 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17383 (getOutline): Add casts.
17384 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17385 Comment out unused prototype.
17386 (getPixels): Add appropriate cast and comment out unused variable.
17388 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17390 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17391 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17392 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17393 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17394 (getSystemInstance): Fix javadoc @link.
17395 (counter): Increased visibility.
17396 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17397 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17398 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17399 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17400 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17401 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17402 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17403 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17404 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17405 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17406 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17407 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17408 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17409 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17410 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17411 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17412 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17413 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17414 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17415 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17416 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17417 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17418 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17419 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17420 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17421 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17422 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17423 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17424 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17425 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17426 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17428 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17430 * gnu/java/security/PolicyFile.java: Updated copyright year.
17431 (logger): Increased visibility.
17432 * gnu/java/security/x509/Util.java: Updated copyright year.
17433 (hexDump): Fix javadoc @link.
17434 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17435 Removed unused import.
17436 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17437 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17438 * gnu/java/security/util/ExpirableObject.java: Likewise.
17439 (destroy): Likewise.
17440 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17441 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17442 Updated copyright year.
17443 (checkCRL): Fix javadoc @param.
17445 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17447 * java/lang/annotation/IncompleteAnnotationException.java:
17450 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17452 * java/lang/ProcessBuilder.java:
17454 (environment): Create as a copy.
17455 * java/lang/System.java:
17456 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17458 (EnvironmentMap.put(String,String)): Override superclass
17459 method with checks for nulls and non-Strings.
17461 2006-06-02 Sven de Marothy <sven@physto.se>
17463 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17464 (cairoPreserveClip, cairoResetClip): New methods.
17465 (setClip, clip): Reimplement.
17466 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17467 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17468 (cairoPreserveClip, cairoResetClip): New methods.
17470 2006-06-02 Sven de Marothy <sven@physto.se>
17472 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17473 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17474 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17476 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17477 (drawImage): Overloads for VolatileImage drawing.
17478 (drawVolatile): New method.
17479 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17480 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17481 (drawVolatile): New method.
17482 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17483 Unstub implementation.
17484 * include/Makefile.am
17485 * native/jni/gtk-peer/Makefile.am
17487 * native/jni/gtk-peer/gtkpeer.h
17490 2006-06-03 Roman Kennke <kennke@aicas.com>
17493 * javax/swing/plaf/basic/BasicTextUI.java
17494 (damageRange): Added null check to avoid NPE.
17496 2006-06-03 Roman Kennke <kennke@aicas.com>
17498 * javax/swing/text/PlainView.java
17499 (updateDamage): Check for valid longestLine and initialize if
17502 2006-06-03 Mark Wielaard <mark@klomp.org>
17504 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17507 2006-06-02 Sven de Marothy <sven@physto.se>
17510 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17511 (copyArea): Implement.
17512 (copyAreaImpl, getRealBounds): New methods.
17513 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17514 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17515 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17516 (copyAreaImpl, getRealBounds): Implement.
17517 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17518 (nativeCopyArea): Reimplement.
17520 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17522 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17523 (XTEST_LIBS): New, substitute.
17524 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17526 2006-06-02 Roman Kennke <kennke@aicas.com>
17529 * javax/swing/text/PlainView.java
17530 (updateDamage): Rewritten for correct repainting and revalidating.
17531 (findLongestLine): New helper method.
17532 (getLineLength): New helper method.
17534 2006-06-02 Sven de Marothy <sven@physto.se>
17536 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17537 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17538 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17539 (nativeCopyArea): Change stride parameter to use # of ints.
17540 (setPixels): Add checks.
17541 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17542 (ComponentGraphics): Set background, clip.
17543 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17544 (Cairographics2D): Don't set clip.
17545 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17548 2006-06-02 Lillian Angel <langel@redhat.com>
17551 * java/awt/DefaultKeyboardFocusManager.java
17552 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17553 to get the focused window.
17555 2006-06-01 Miriam Schuster <schmir11@web.de>
17557 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17558 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17560 2006-06-02 Roman Kennke <kennke@aicas.com>
17562 * javax/swing/JTable.java
17563 (columnSelectionChanged): Don't return when there's only one
17564 column (might still need repainting). Correctly calculate
17566 (valueChanged): Use return value of SwingUtilities.computeUnion
17569 2006-06-01 Keith Seitz <keiths@redhat.com>
17571 From Martin Platter <motse@complang.tuwien.ac.at>:
17572 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17573 (executeSet): Fix buffer underflow reading reference ID.
17574 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17575 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17576 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17577 (executeSuperclass): Handle case of Object with ID zero.
17579 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17581 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17582 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17583 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17584 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17585 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17586 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17587 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17588 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17589 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17590 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17591 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17593 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17595 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17596 (Command): Add the shutdown hook.
17597 (doCommand): Remove the shutdown hook.
17598 (ShutdownHook): New class.
17600 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17602 * tools/jarsigner.in: Use @VM_BINARY@.
17603 * tools/keytool.in: Likewise.
17605 2006-06-01 Sven de Marothy <sven@physto.se>
17607 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17608 (setColor): Update the cairo paint.
17610 2006-06-01 Mark Wielaard <mark@klomp.org>
17612 * java/util/logging/LogManager.java (createInstance): Always add
17613 original exception on warning.
17615 2006-06-01 Lillian Angel <langel@redhat.com>
17617 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17618 (prependCodebase): Fixed check. No dirname was ever considered to
17619 be a file, so every applet fell into the if-statement causing a lot
17620 of classloading problems with the applets.
17622 2006-06-01 Sven de Marothy <sven@physto.se>
17624 Patch submitted by Boris Dusek.
17625 * native/jni/qt-peer/qtmenupeer.cpp
17628 2006-06-01 Roman Kennke <kennke@aicas.com>
17630 * javax/swing/JTable.java
17631 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17632 why the behaviour is like it is.
17633 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17634 (AccessibleJTableHeader): New inner class.
17635 (AccessibleJTableHeaderCell): New inner class.
17636 (AccessibleJTable.lastSelectedRow): New field.
17637 (AccessibleJTable.lastSelectedColumn): New field.
17638 (AccessibleJTable.caption): New field.
17639 (AccessibleJTable.summary): New field.
17640 (AccessibleJTable.rowDescriptions): New field.
17641 (AccessibleJTable.columnDescriptions): New field.
17642 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17643 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17644 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17645 (AccessibleJTable.addAccessibleSelection): Implemented.
17646 (AccessibleJTable.removeAccessibleSelection): Implemented.
17647 (AccessibleJTable.clearAccessibleSelection): Implemented.
17648 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17649 (AccessibleJTable.valueChange): Implemented.
17650 (AccessibleJTable.tableRowsInserted): Implemented.
17651 (AccessibleJTable.tableRowsDeleted): Implemented.
17652 (AccessibleJTable.handleRowChange): New helper method.
17653 (AccessibleJTable.columnAdded): Implemented.
17654 (AccessibleJTable.columnMarginChanged): Implemented.
17655 (AccessibleJTable.columnMoved): Implemented.
17656 (AccessibleJTable.columnRemoved): Implemented.
17657 (AccessibleJTable.columnSelectionChanged): Implemented.
17658 (AccessibleJTable.handleColumnChange): New helper method.
17659 (AccessibleJTable.editingCanceled): Implemented.
17660 (AccessibleJTable.editingStopped): Implemented.
17661 (AccessibleJTable.getAccessibleRow): Implemented.
17662 (AccessibleJTable.getAccessibleColumn): Implemented.
17663 (AccessibleJTable.getAccessibleIndex): Implemented.
17664 (AccessibleJTable.getAccessibleCaption): Implemented.
17665 (AccessibleJTable.setAccessibleCaption): Implemented.
17666 (AccessibleJTable.getAccessibleSummary): Implemented.
17667 (AccessibleJTable.setAccessibleSummary): Implemented.
17668 (AccessibleJTable.getAccessibleRowCount): Implemented.
17669 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17670 (AccessibleJTable.getAccessibleAt): Implemented.
17671 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17672 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17673 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17674 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17675 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17676 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17677 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17678 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17679 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17680 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17681 (AccessibleJTable.isAccessibleSelected): Implemented.
17682 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17683 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17684 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17685 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17686 (getAccessibleContext): Register listeners for the accessibility
17687 class on the JTable.
17689 2006-06-01 Sven de Marothy <sven@physto.se>
17691 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17692 (setPaint): Scale +1 pixel larger.
17694 2006-06-01 Sven de Marothy <sven@physto.se>
17697 * gnu/java/awt/Buffers.java (getData): Reimplement.
17698 * gnu/java/awt/peer/gtk/CairoSurface.java
17699 (getElem, setElem): Call native methods.
17701 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17703 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17705 2006-06-01 Sven de Marothy <sven@physto.se>
17707 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17708 (drawImage): Check for zero size.
17709 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17710 (setFont): Declare new native method.
17711 (GdkTextLayout): Read some attributes.
17712 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17713 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17714 (setFont): New native method.
17716 2006-06-01 Sven de Marothy <sven@physto.se>
17718 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17719 (updateBufferedImage): Fix some errors.
17721 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17723 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17725 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17726 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17727 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17728 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17729 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17730 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17731 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17732 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17733 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17734 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17736 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17738 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17739 * javax/swing/JEditorPane.java: Likewise,
17740 * javax/swing/JFormattedTextField.java: Likewise,
17741 * javax/swing/JLayeredPane.java: Likewise,
17742 * javax/swing/JScrollPane.java: Likewise,
17743 * javax/swing/JSlider.java: Likewise,
17744 * javax/swing/JSpinner.java: Likewise,
17745 * javax/swing/JTree.java: Likewise,
17746 * javax/swing/JViewport.java: Likewise,
17747 * javax/swing/UIDefaults.java: Likewise,
17748 * javax/swing/UIManager.java: Likewise.
17750 2006-06-01 Sven de Marothy <sven@physto.se>
17752 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17753 (BufferedImageGraphics): Cache surfaces.
17754 (updateBufferedImage): Copy directly for certain color models.
17755 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17756 (drawImage): Reimplement.
17758 2006-06-01 Sven de Marothy <sven@physto.se>
17760 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17761 (setPixels): Don't swap, correct size.
17763 2006-05-31 Anthony Green <green@redhat.com>
17766 * java/net/InetSocketAddress.java: Defer getting the host
17767 name until somebody calls InetSocketAddress.getHostName().
17768 Fix "represenation" typo.
17770 2006-06-01 Sven de Marothy <sven@physto.se>
17772 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17773 (updateBufferedImage): Simplify.
17774 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17775 (getPixels): Don't swap.
17777 2006-06-01 Sven de Marothy <sven@physto.se>
17779 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17780 (setGradient): Reimplement.
17782 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17784 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17785 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17786 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17787 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17788 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17789 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17790 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17793 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17795 * javax/swing/table/JTableHeader.java
17796 (getColumnHeaderRenderer): New method,
17797 (getAccessibleColumnHeaderRenderer): Delegate part to new
17798 getColumnHeaderRenderer() method,
17799 (getLocale): Implemented.
17801 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17803 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17804 (cp_gtk_grab_current_drawable): Rename
17805 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17806 cp_gtk_grab_current_drawable, remove static declaration.
17807 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17809 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17810 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17811 Remove prototype of
17812 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17813 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17815 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17816 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17817 cp_gtk_grab_current_drawable here.
17819 2006-05-31 Sven de Marothy <sven@physto.se>
17821 Should fix PR 27835
17822 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17823 (updateBufferedImage): Keep within image bounds.
17825 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17826 Andreas Tobler <a.tobler@schweiz.ch>
17828 * configure.ac: Check for libXrender when the GTK peers are
17829 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17831 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17832 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17833 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17835 2006-05-31 Lillian Angel <langel@redhat.com>
17837 * javax/swing/plaf/basic/BasicProgressBarUI.java
17838 (paintString): Implemented to paint the string vertically.
17840 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17842 * javax/swing/JTable.java
17843 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17844 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17846 (AccessibleJTable.getAccessibleTable()): Likewise,
17847 (getAccessibleContext): Create new context if required.
17849 2006-05-31 Roman Kennke <kennke@aicas.com>
17851 * javax/swing/JTabbedPane.java
17852 (AccessibleJTabbedPane.stateChanged): Implemented.
17853 (Page.getAccessibleStateSet): Implemented.
17854 (Page.getAccessibleIndexInParent): Implemented.
17855 (getAccessibleContext): Add AccessibleJTabbedPane object
17856 as ChangeListener to the JTabbedPane.
17858 2006-05-31 Roman Kennke <kennke@aicas.com>
17860 * javax/swing/JMenuItem.java
17861 (getAccessibleContext): Register accessible object as ChangeListener
17863 (AccessibleJMenuItem.armed): New field.
17864 (AccessibleJMenuItem.focusOwner): New field.
17865 (AccessibleJMenuItem.pressed): New field.
17866 (AccessibleJMenuItem.selected): New field.
17867 (stateChanged): Implemented.
17869 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17871 * javax/swing/ListSelectionModel.java: Added API docs all over.
17873 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17875 * examples/gnu/classpath/examples/swing/FillRect.java
17876 (paintComponent): Optionally paint lines rather than rectangles.
17877 (createContent): Added option to test line painting.
17879 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17881 * javax/swing/event/EventListenerList.java
17882 (getListenerList): Updated API docs.
17884 2006-05-30 Sven de Marothy <sven@physto.se>
17886 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17887 (drawImage): Clip scaled image to dest rectangle.
17889 2006-05-30 Sven de Marothy <sven@physto.se>
17891 * gnu/java/awt/peer/gtk/CairoSurface.java:
17892 (CairoSurface): Convert pixels properly.
17893 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17894 Remove commented-out lines.
17896 2006-05-30 Sven de Marothy <sven@physto.se>
17898 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17899 (drawImage): Use Toolkit to convert to BufferedImage.
17900 * gnu/java/awt/peer/gtk/CairoSurface.java
17901 (CairoSurface(GtkImage)): New Constructor.
17902 (getBufferedImage): New method.
17903 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17904 Don't fill background - FIXME.
17905 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17906 Remove unused methods.
17907 * gnu/java/awt/peer/gtk/GtkImage.java:
17908 (pixbuflock): New field. Methods change to use this lock.
17909 * gnu/java/awt/peer/gtk/GtkToolkit.java
17910 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17912 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17913 (setPixels): Correct length in bytes.
17915 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17917 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17918 System.loadLibrary unconditionally.
17919 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17920 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17921 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17922 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17924 2006-05-30 Mark Wielaard <mark@klomp.org>
17926 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17927 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17928 Mark unused parameters, remove unused variables.
17930 2006-05-30 Sven de Marothy <sven@physto.se>
17932 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17933 (copyArea): Implemented.
17934 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17935 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17936 (copyAreaNative): New method.
17938 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17940 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17941 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17942 for non big endian systems.
17943 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17945 2006-05-30 Roman Kennke <kennke@aicas.com>
17947 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17948 * java/awt/TexturePaint.java
17949 (createContext): Implemented.
17951 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17953 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17956 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17958 * java/awt/Container.java:
17959 (removeAll): Reimplemented, added note.
17961 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17963 * java/awt/Container.java:
17964 (removeAll): Implemented different removal mechanism, added note.
17966 2006-05-30 Lillian Angel <langel@redhat.com>
17969 * java/awt/Component.java:
17970 (translateEvent): Added handling to translate WindowEvents
17971 * java/awt/Window.java:
17972 Removed unneeded imports.
17974 2006-05-30 Mark Wielaard <mark@klomp.org>
17976 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17979 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17981 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17983 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17985 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17986 (clearRect): Do not reuse the fg field, call updateColor.
17987 (drawRaster): Likewise.
17988 (setColor): Call updateColor.
17989 (updateColor): New method.
17991 2006-05-30 Mark Wielaard <mark@klomp.org>
17993 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17994 (PTR_TO_JLONG): Likewise.
17995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17996 (getPointer): Use new conversion macros.
17997 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17998 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17999 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
18001 (setNativeObject): Likewise.
18002 (getNativeObject): Likewise.
18003 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18004 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
18006 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
18007 Correctly cast XID and pointer values.
18008 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18009 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
18010 Mark unused variables.
18011 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
18013 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18014 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18015 Remove unused cairographics2d struct.
18016 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
18017 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
18018 Use new conversion macros.
18019 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
18021 2006-05-30 Mark Wielaard <mark@klomp.org>
18023 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
18025 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18027 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18028 (copy): Do not reuse the fd field.
18029 (setColor): Do not set the color if the parameter
18031 (translate(double, double): Rewritten to use
18032 AffineTransform.translate.
18034 2006-05-30 Sven de Marothy <sven@physto.se>
18036 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18037 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18040 * include/Makefile.am
18041 * native/jni/gtk-peer/Makefile.am
18043 * gnu/java/awt/peer/gtk/CairoSurface.java
18044 (getSharedGtkImage): New method.
18045 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18048 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18049 Support a non-xrender context.
18050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18052 * gnu/java/awt/peer/gtk/GtkImage.java
18053 * include/gnu_java_awt_peer_gtk_GtkImage.h
18054 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18055 (initFromBuffer): New method.
18056 * native/jni/gtk-peer/gtkpeer.h:
18057 Remove declarations of previouslyremoved methods.
18059 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
18061 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18063 2006-05-29 Mark Wielaard <mark@klomp.org>
18065 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18066 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18068 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18069 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18070 early. Remove unused return statement in void function.
18071 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18073 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18074 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18076 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18077 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18079 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18082 2006-05-29 Sven de Marothy <sven@physto.se>
18084 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18085 (setPixels): Remove superfluous return statement.
18087 2006-05-29 Sven de Marothy <sven@physto.se>
18089 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18090 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18091 * gnu/java/awt/peer/gtk/CairoSurface.java
18092 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18093 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18094 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18095 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18096 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18097 * native/jni/gtk-peer/cairographics2d.h
18098 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18099 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18102 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18104 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18107 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18108 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18109 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18110 (releasePeerGraphicsResource): Moved to Font peer class.
18112 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18113 (createGraphics): Use new context classes.
18115 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18116 Use native BufferedImages where possible.
18118 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18119 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18120 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18121 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18122 renamed to cairoDrawGdkTextLayout.
18124 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18125 (getGraphics): Use ComponentGraphics context.
18126 (createImage): Use native BufferedImage.
18128 * gnu/java/awt/peer/gtk/GtkImage.java:
18129 * include/gnu_java_awt_peer_gtk_GtkImage.h
18130 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18131 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18132 Remove drawing methods.
18134 * gnu/java/awt/print/JavaPrinterGraphics.java:
18135 Use CairoSurface instead of GtkImage.
18137 * include/Makefile.am
18138 * native/jni/gtk-peer/Makefile.am
18139 Update for new files.
18141 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18142 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18143 Remove superfluous GtkImage code for GdkPixmaps.
18145 * native/jni/gtk-peer/gtkpeer.h
18146 Remove graphics2d structure.
18148 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18150 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18151 Do not reuse fg in the constructor.
18153 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18155 * java/io/ObjectStreamConstants.java: Added API docs.
18157 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18159 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18160 Take no action if this color is already set.
18162 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18164 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18166 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18167 Optionally paint with translation. (createContent): Added option
18168 to test painting with translation
18170 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18172 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18173 pattern to the default value when null.
18174 Pass field pattern, and not parameter with same name to createFileStream.
18176 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18178 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18179 New class implementing the OS bean.
18180 * gnu/java/lang/management/package.html:
18181 New file to document the gnu.java.lang.management package.
18182 * java/lang/management/ManagementFactory.java:
18183 New class to provide access to the OS bean.
18184 * java/lang/management/OperatingSystemMXBean.java:
18186 * java/lang/management/package.html:
18187 New file to document the java.lang.management package.
18189 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18191 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18194 (SECURITY): Likewise.
18195 (CACERTS): Likewise.
18196 (CACERTS_GKR): Likewise.
18197 (gkrCaCertsPathName): New field.
18198 (jksCaCertsPathName): Likewise.
18199 (selfSignedCertificate): Likewise.
18200 (start): Initialize trusted certificate key stores if -trustcacerts is
18202 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18203 (orderChain): Implemented.
18204 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18205 certificate key stores if -trustcacerts option is specified.
18206 (findTrustInCACerts): Removed.
18207 (getCertPathParameters): New method.
18208 (validate): New method.
18209 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18211 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18213 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18214 (PATTERN_KEY): Likewise.
18215 (DEFAULT_PATTERN): Likewise.
18216 (LIMIT_KEY): Likewise.
18217 (DEFAULT_LIMIT): Likewise.
18218 (COUNT_KEY): Likewise.
18219 (DEFAULT_COUNT): Likewise.
18220 (APPEND_KEY): Likewise.
18221 (DEFAULT_APPEND): Likewise.
18222 (FileHandler()): Use pattern value as set in logging.properties.
18223 Use constants defined above.
18224 (FileHandler(1)): Use constants defined above.
18225 (FileHandler(2)): Likewise.
18226 (FileHandler(3)): Likewise.
18227 (FileHandler(4)): Likewise.
18228 (createFileStream): Likewise.
18230 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18232 * java/util/logging/FileHandler.java: Reverted previous patch.
18233 * java/util/logging/LogManager.java: Likewise.
18235 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18237 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18238 (DEFAULT_PATTERN): Likewise.
18239 (FileHandler()): Use configured pattern property if any; otherwise use a
18240 default value as per RI documentation.
18241 * java/util/logging/LogManager.java (getStringProperty): New method.
18243 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18245 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18247 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18249 * configure.ac (FOUND_CACAO): New automake conditional.
18250 Add --enable-tool-wrappers.
18251 * NEWS: Introduce the --enable-tool-wrappers option.
18252 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18253 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18255 * tools/toolwrapper.c: New file.
18257 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18259 * java/awt/Graphics2D.java: Use full class name for
18260 PrinterJob in javadoc.
18262 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18264 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18265 (callMouseMethod): Likewise.
18267 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18269 * native/jni/java-net/java_net_VMURLConnection.c:
18270 Fix function declarations to specify unused parameters.
18271 * scripts/check_jni_methods.sh:
18272 Remove copies of the same function using uniq.
18274 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18276 * vm/reference/java/net/VMURLConnection.java:
18277 Make package-private and final.
18279 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18281 * examples/gnu/classpath/examples/swing/TableDemo.java
18282 (TModed): Added editor for the icons column.
18283 (createContent): Increase the row height by 2 px.
18285 2006-05-26 Tom Tromey <tromey@redhat.com>
18287 PR classpath/27685:
18288 * java/math/BigInteger.java (modPow): Correctly handle negative
18291 2006-05-26 Tom Tromey <tromey@redhat.com>
18293 * configure.ac: Check for magic.h and -lmagic.
18294 * vm/reference/java/net/VMURLConnection.java: New file.
18295 * include/java_net_VMURLConnection.h: New file.
18296 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18297 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18298 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18300 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18301 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18303 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18305 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18307 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18309 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18310 libjawtgnu.la libjawt.la.
18312 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18314 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18317 2006-05-25 Lillian Angel <langel@redhat.com>
18320 * java/awt/Window.java
18321 (Window): Moved code to helper.
18322 (addWindowFocusListener): New function. Handles focus
18323 listener code. Added code to handle focus lost/gained
18326 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18329 Make pkg-config check for GTK+ >= 2.8.
18331 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18333 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18334 (flush): Remove debugging printfs.
18336 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18338 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18339 (schedule_flush): New function.
18340 (end_drawing_operation): Call schedule_flush.
18342 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18344 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18345 paint performance demo.
18346 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18348 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18350 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18351 Cairo version requirement. Do not mention --enable-gtk-cairo
18353 * NEWS: Add entry for GdkGraphics2D.
18354 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18355 Cairo library and headers.
18356 * .externalToolBuilders/Configure.launch: Remove
18357 --enable-gtk-cairo from configure line.
18358 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18360 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18361 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18362 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18363 useGraphics2D references. Always assume Graphics2D is enabled.
18364 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18365 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18366 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18367 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18368 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18369 useGraphics2D references. Always assume Graphics2D is enabled.
18370 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18371 Graphics2D check. Always assume Graphics2D is enabled.
18372 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18373 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18374 (realize): Remove method.
18375 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18376 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18377 (isRealized): Remove method.
18378 (realize): Implement as a native method. Remove useGraphics2D
18379 references. Always assume Graphics2D is enabled.
18380 * gnu/java/awt/peer/gtk/GtkImage.java,
18381 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18382 GdkGraphics references with GdkGraphics2D references.
18383 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18384 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18385 useGraphics2D references. Always assume Graphics2D is enabled.
18386 * include/Makefile.am (GTKPEER_H_FILES): Remove
18387 gnu_java_awt_peer_gtk_GdkGraphics.h.
18388 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18389 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18390 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18391 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18392 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18393 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18394 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18395 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18396 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18397 (AM_LDFLAGS): Remove CAIRO_LIBS.
18398 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18399 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18401 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18403 2006-05-25 Lillian Angel <langel@redhat.com>
18405 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18406 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18407 Added check to prevent assertion error. If widget->window is null, then
18408 use the parent widget's window to set the cursor on.
18410 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18412 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18415 2006-05-24 Lillian Angel <langel@redhat.com>
18417 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18418 (prependCodeBase): Added check to determine if the documentbase
18419 points to a directory or a file.
18421 2006-05-24 Sven de Marothy <sven@physto.se>
18423 * java/awt/dnd/DragGestureRecognizer.java
18424 (resetRecognizer): Implement.
18425 (fireDragGestureRecognized): Implement.
18427 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18429 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18430 fixed source code formatting.
18432 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18434 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18436 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18438 Reported by Antony Balkisson.
18439 * javax/swing/JTable.java (selectAll): Return without action
18440 if the table is empty.
18442 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18444 * examples/gnu/classpath/examples/swing/TableDemo.java:
18445 (SliderCell): New inner class. (setCustomEditors,
18446 setInformativeHeaders): New fields. (createContent):
18448 * javax/swing/DefaultCellEditor.java
18449 (JComboBoxDelegate.shouldSelectCell): New method.
18450 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18451 * javax/swing/plaf/basic/BasicTableUI.java
18452 (MouseInputHandler.mouseClicked): Start editing on a single
18453 click if the cell editor is not a default cell editor.
18455 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18457 * javax/swing/naming/CompositeName.java,
18458 javax/swing/naming/CompoundName.java:
18461 2006-05-23 Archie Cobbs <archie@dellroad.org>
18463 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18466 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18468 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18469 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18470 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18471 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18472 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18473 * javax/swing/tree/ExpandVetoException.java: Likewise,
18474 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18475 * javax/swing/tree/RowMapper.java: Likewise,
18476 * javax/swing/tree/TreeNode.java: Likewise,
18477 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18478 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18480 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18482 * javax/swing/tree/DefaultTreeCellRenderer.java
18483 (DefaultTreeCellRenderer): Changed key for
18484 setBackgroundNonSelectionColor(),
18485 plus API docs all over.
18487 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18490 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18491 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18492 Initialise in constructor. (columnMoved): Cancel editing.
18493 (createDefaultEditors): Rewritten. (editCellAt):
18494 Just invert the value if this is a boolean cell.
18495 (initialiseLocalVars): Do not initialise renderer and editor tables.
18496 (setUI): Create editors and renderers here.
18498 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18500 * examples/gnu/classpath/examples/awt/Demo.java:
18501 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18502 instance as subframe.
18503 (ResolutionWindow): New inner class.
18504 (FullscreenWindow): New inner class.
18506 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18509 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18510 Set horizontal alignment to centered.
18512 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18514 * javax/accessibility/AccessibleContext.java
18515 (getAccessibleComponent): Fixed typo in docs,
18516 * javax/swing/JLabel.java:
18517 (AccessibleJLabel.getAccessibleName): Check for explicit
18519 * javax/swing/JTableHeader.java
18520 (AccessibleJTableHeaderEntry.columnIndex): New field,
18521 (AccessibleJTableHeaderEntry.parent): New field,
18522 (AccessibleJTableHeaderEntry.table): New field,
18523 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18525 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18527 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18528 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18529 (AccessibleJTableHeaderEntry.contains): Implemented,
18530 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18531 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18532 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18533 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18534 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18535 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18536 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18537 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18538 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18539 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18540 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18541 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18542 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18543 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18544 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18545 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18546 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18547 (AccessibleJTableHeaderEntry.getFont): Implemented,
18548 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18549 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18550 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18551 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18552 (AccessibleJTableHeaderEntry.getSize): Implemented,
18553 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18554 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18555 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18556 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18557 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18558 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18560 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18561 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18562 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18563 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18564 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18565 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18566 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18567 (AccessibleJTableHeaderEntry.setFont): Implemented,
18568 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18569 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18570 (AccessibleJTableHeaderEntry.setSize): Implemented,
18571 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18572 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18573 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18574 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18575 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18577 2006-05-22 Tom Tromey <tromey@redhat.com>
18581 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18583 * javax/swing/JLabel.java
18584 (AccessibleJLabel.getAccessibleName): New method (override),
18585 (setLabelFor): Fire 'labelFor' property change event before other
18588 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18590 * javax/swing/JLabel.java
18591 (AccessibleJLabel.getAccessibleRole): New method (override).
18593 2006-05-22 Tom Tromey <tromey@redhat.com>
18595 * resource/gnu/classpath/tools/serialver/messages.properties: New
18597 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18598 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18600 (classpath): Likewise.
18603 (addFileURL): New method.
18604 (getClassLoader): Likewise.
18605 (printMessage): Likewise.
18607 2006-05-22 Tom Tromey <tromey@redhat.com>
18609 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18611 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18613 * javax/swing/JTable.java (doLayout): In the column
18614 resize mode, only repaing the changed part of the table.
18615 (getLeftResizingBoundary): New method.
18617 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18619 * javax/naming/spi/InitialContextFactory.java,
18620 javax/naming/spi/InitialContextFactoryBuilder.java,
18621 javax/naming/spi/NamingManager.java,
18622 javax/naming/spi/ObjectFactory.java,
18623 javax/naming/spi/ResolveResult.java,
18624 javax/naming/spi/Resolver.java,
18625 javax/naming/spi/StateFactory.java: Documented.
18627 2006-05-21 Tom Tromey <tromey@redhat.com>
18629 PR classpath/27688:
18630 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18632 (initSet): Removed.
18633 (shouldExtract): Removed.
18635 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18636 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18639 (allItems): New field.
18640 (run): Initialize it.
18643 2006-05-22 Sven de Marothy <sven@physto.se>
18645 * java/nio/CharBuffer.java
18646 (wrap): Fix bounds checking.
18648 2004-08-26 Tom Tromey <tromey@redhat.com>
18650 * java/io/OutputStream.java
18651 (OutputStream): Implements Closeable, Flushable.
18653 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18655 * java/io/ObjectOutputStream.java:
18656 (writeObject(Object)): Added enum support.
18657 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18658 * java/io/ObjectStreamClass.java:
18659 (isEnum()): New package-private method.
18660 (setFlags(Class)): Added enum support.
18661 * java/io/ObjectStreamConstants.java:
18664 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18666 * java/io/ObjectInputStream.java:
18667 (parseContent(byte)): Added enum support.
18668 * java/io/ObjectStreamConstants.java:
18670 (TC_MAX): Changed to new maximum, TC_ENUM.
18672 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18674 * java/beans/beancontext/BeanContextSupport.java:
18675 (instantiateChild(String)): Implemented.
18677 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18679 * java/beans/beancontext/BeanContextSupport.java:
18680 (add(Object)): Add further documentation.
18681 (isEmpty()): Documented.
18682 (propertyChange(PropertyChangeEvent)): Implemented.
18683 (remove(Object)): Documented.
18684 (remove(Object,boolean)): Documented and implemented.
18685 (vetoableChange(PropertyChangeEvent)): Marked as
18686 implemented (only subclasses appear to need this).
18688 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18690 * java/beans/beancontext/BeanContextSupport.java:
18691 (add(Object)): Implement support for the child being
18692 a BeanContextChild.
18693 (avoidingGui()): Implemented.
18694 (dontUseGui()): Likewise.
18695 (needsGui()): Likewise.
18696 (okToUseGui()): Likewise.
18698 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18700 * javax/naming/Context.java,
18701 javax/naming/ContextNotEmptyException.java,
18702 javax/naming/Reference.java: Documented.
18704 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18706 * javax/swing/text/html/MinimalHTMLWriter.java
18707 (writeComponent, writeImage): Declare that the method
18708 may throw the IOException.
18710 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18713 * javax/naming/InitialContext.java (colon_list): Changed type to
18714 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18715 (merge): Rewritten.
18717 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18719 * javax/naming/InitialContext.java: Documented.
18721 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18723 * javax/naming/NameParser.java,
18724 javax/naming/NamingEnumeration.java,
18725 javax/naming/PartialResultException.java,
18726 javax/naming/SizeLimitExceededException.java,
18727 javax/naming/spi/ObjectFactory.java,
18728 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18730 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18732 * gnu/java/net/loader/JarURLLoader.java:
18733 Use Map.Entry instead of LinkedHashMap.Entry
18735 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18737 * javax/naming/Context.java: Documented.
18739 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18741 * javax/naming/Referenceable.java: Documented.
18742 * javax/naming/spi/NamingManager.java: Documented.
18744 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18746 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18747 to messages.properties.
18748 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18749 Renamed to messages.properties.
18750 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18752 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18753 Renamed from MessageBundle.properties.
18754 Added copyright notice.
18755 * resource/gnu/classpath/tools/keytool/messages.properties:
18757 * tools/gnu/classpath/tools/jarsigner/Messages.java
18758 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18759 (getFormattedString): Fixed a spelling mistake.
18760 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18762 2006-05-20 Sven de Marothy <sven@physto.se>
18764 * gnu/java/awt/font/opentype/NameDecoder.java
18766 (getName): Use getShort instead of getChar(), fix PS name.
18767 (decodeName): New method.
18768 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18769 (getSubFamilyName): Implement.
18770 (getPostScriptName): Use the NameDecoder class instead.
18771 (parsePSName): Removed.
18774 2006-05-20 Sven de Marothy <sven@physto.se>
18776 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18777 (getTrueTypeTable): New native method.
18778 (getPostScriptName): Reimplement.
18779 (parsePSName): New method.
18780 (getNumGlyphs): Implement.
18781 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18782 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18783 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18784 New function. File is now explicitly dependent on FT2.
18786 2006-05-20 Tom Tromey <tromey@redhat.com>
18788 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18789 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18791 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18792 (HandleFile): New class.
18793 (input, output, encoding, reversed): New fields.
18794 (createParser): New method.
18797 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18798 (notifyFile): Throws OptionException.
18800 2006-05-20 Tom Tromey <tromey@redhat.com>
18802 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18805 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18807 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18808 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18811 2006-05-20 Sven de Marothy <sven@physto.se>
18813 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18815 2006-05-20 Sven de Marothy <sven@physto.se>
18817 * gnu/java/awt/print/JavaPrinterJob.java
18818 (print): Use PostScriptGraphics2D.
18819 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18821 2006-05-20 Sven de Marothy <sven@physto.se>
18823 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18825 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18827 * gnu/java/security/OID.java: Updated copyright year.
18828 (OID): Removed unused Javadoc param tag.
18829 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18830 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18832 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18834 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18836 Added trace/debug statements.
18837 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18838 Entry. Also ensure that any previous entry for this alias is removed
18839 before a new one is added.
18840 (engineGetKey): Do not trace/log passwords.
18841 Trace key's class name only.
18842 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18843 Certificate Entry. Also ensure that previous entry for this alias is
18844 removed before a new one is added.
18845 (engineLoad): Do not trace/log passwords.
18846 (engineStore): Likewise.
18847 (engineSize): Use size of enumeration instead of collection size.
18849 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18851 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18852 (toString): New method.
18853 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18854 Do not trace/log passwords.
18855 Set masked to false before decoding envelope.
18856 Do not set payload to null.
18857 (encrypt): Set masked to true.
18858 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18859 Do not trace/log passwords.
18860 Set masked to false before decoding envelope.
18861 Do not set payload to null.
18862 Added trace/debug statements.
18863 (authenticate): Do not trace/log passwords.
18864 Set masked to true.
18865 Added trace/debug statements.
18866 (getMac): Added trace/debug statements.
18867 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18868 (remove(String)): Changed the signature to return a boolean.
18869 (toString): New method.
18870 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18872 (getCertificate): Likewise.
18873 (putCertificate): Likewise.
18875 Do not trace/log passwords.
18877 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18878 Do not trace/log passwords.
18879 Added more trace/logging statements.
18880 (putPrivateKey): Do not trace/log passwords.
18881 Trace only key's class name.
18883 (containsPublicKey): Formatting.
18884 (getPublicKey): Likewise.
18885 Trace only key's class name.
18886 (putPublicKey): Trace only key's class name.
18887 (containsCertPath): Formatting.
18888 (getCertPath): Likewise.
18889 (putCertPath): Likewise.
18890 (load): Do not trace/log passwords.
18893 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18894 (add): Do not set payload to null.
18895 Added trace/debug statements.
18896 (containsAlias): Added trace/debug statements.
18898 (remove(Entry)): Likewise.
18899 (remove(String)): Likewise.
18900 Changed the signature to return a boolean.
18901 Do not set payload to null unless really removed.
18902 (toString): New method.
18903 (decodeEnvelope): Clear entries before proceeding.
18904 (makeAliasList): Added trace/debug statements.
18905 Ensure only non-null aliases and alias-lists are added.
18906 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18907 (TYPES): New constant.
18908 (toString): New method.
18909 (defaultDecode): Add trace/debug statement.
18911 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18913 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18914 Increased visibility.
18915 (setup): Do not trace/log passwords.
18916 (parsed): Was not setting correct (rfc) field; fixed.
18917 (print1Chain): Formatting.
18918 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18919 Do not trace/log passwords.
18920 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18921 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18922 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18923 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18924 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18925 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18926 (orderChain): Added FIXME.
18927 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18928 Do not trace/log passwords.
18929 Removed commented out code.
18930 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18931 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18932 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18933 (setKeystoreURLParam): Likewise.
18934 (setKeystorePasswordParam): Do not trace/log passwords.
18935 (saveKeyStore): Likewise.
18937 2006-05-19 Roman Kennke <kennke@aicas.com>
18939 * gnu/java/awt/java2d/AbstractGraphics2D.java
18941 (pixel): Removed obsolete field.
18942 (draw(Shape)): Removed commented out code.
18943 (drawImage): Formatting.
18944 (drawString): Added optimization hook.
18945 (setPaint): Removed rawSetForeground().
18946 (getFontRenderContext): Return context with correct transform.
18947 (drawGlyphVector): Draw complete outline in one go.
18948 (copyArea): Added optimization hook.
18949 (clearRect): Added optimization hook.
18950 (drawImage): Added optimization hook.
18951 (fillShape): (Temporarily) Set antialiasing off by default for
18952 font rendering. Adjust the shape by some bits to improve rendering.
18953 Pass clip bounds to the render methods.
18954 (drawPixel): Removed.
18955 (rawSetPixel): Removed.
18956 (rawSetForeground): Removed.
18957 (rawDrawLine): Default impl calls standard pipeline.
18958 (rawDrawString): New method, calls standard pipeline for rendering.
18959 (rawClearRect): New method, calls standard pipeline for rendering.
18960 (rawFillRect): New method, calls standard pipeline for rendering.
18961 (rawDrawImage): New method, calls standard pipeline for rendering.
18962 (rawCopyArea): New method.
18963 (copyAreaImpl): New method.
18964 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18966 (fillShapeAntialias): Fixed AA rendering.
18967 (fillScanlineAA): Fixed AA rendering.
18968 (getSegments): Take offset into account.
18970 2006-05-19 Sven de Marothy <sven@physto.se>
18972 * javax/swing/text/AbstractWriter.java
18973 (getText): Fix parameters (start, length) not (start, end).
18975 2006-05-19 Tom Tromey <tromey@redhat.com>
18977 PR classpath/27444:
18978 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18979 Changed return type.
18980 * java/net/URLClassLoader.java (urlloaders): Removed.
18981 (addURLImpl): Updated.
18982 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18983 (indexSet): Likewise.
18984 (classPath): Changed type.
18985 (JarURLLoader): New constructor.
18986 (initialize): New method.
18987 (getResource): Use index set if it exists.
18988 (getClassPath): Updated.
18989 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18990 (prefixes): New field.
18991 (headers): Removed.
18992 (IndexListParser): Fill in prefixes.
18993 (clearAll): Clear prefixes.
18994 (getHeaders): Changed return type.
18996 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18998 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18999 (MouseInputHandler.mouseExitted): No nothing there.
19000 (MouseInputHandler.endDragging): Move column to the
19001 first/last position if released outside the horizontal
19004 2006-05-19 Lillian Angel <langel@redhat.com>
19006 * java/awt/font/GlyphVector.java
19007 (getGlyphCharIndex): Implemented.
19008 (getGlyphCharIndices): Implemented.
19009 (getGlyphOutline): Implemented.
19010 (getGlyphVisualBounds): Implemented.
19011 (getGlyphVisualBounds): Implemented.
19012 (getPixelBounds): Implemented.
19013 (getLayoutFlags): Implemented.
19015 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19017 * java/awt/LightweightDispatcher.java: Added field dragButton and
19018 documentation for it.
19019 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
19020 added subexpression to if-clause in MOUSE_RELEASED case.
19022 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19024 * javax/swing/metal/MetalButtonUI.java:
19025 (update): Removed some subexpression from if-clause and call
19026 updateWithGradient.
19027 (updateWithGradient): New method.
19029 2006-05-19 Roman Kennke <kennke@aicas.com>
19031 * javax/swing/JComponent.java
19032 (findOverlapFreeParent): Implemented algorithm for finding
19033 overlapping in component hierarchy.
19035 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
19037 * java/lang/Thread.java
19038 (contextClassLoaderIsSystemClassLoader): New field.
19039 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19040 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19041 and set contextClassLoaderIsSystemClassLoader.
19042 (Thread(ThreadGroup,Runnable,String,long)):
19043 Set contextClassLoaderIsSystemClassLoader.
19044 (createAnonymousThreadName): New method.
19045 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19046 and fixed security check.
19047 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19049 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19051 * javax/swing/plaf/basic/BasicToolBarUI.java:
19052 (createNonRolloverBorder): Rewritten.
19053 (createRolloverBorder): Rewritten.
19054 (setToNonRolloverBorder): Store old border instance in hashtable.
19055 (setToRolloverBorder): Store old border instance in hashtable, use
19056 AbstractButton instead of JButton in statements.
19057 (setBorderToNormal): Rewritten.
19058 * javax/swing/plaf/metal/MetalLookAndFeel.java:
19059 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19060 ToolBar.nonrolloverBorder.
19062 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19064 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19065 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19067 2006-05-18 Lillian Angel <langel@redhat.com>
19069 * java/awt/font/GlyphMetrics.java
19070 (getLSB): Implemented.
19071 (getRSB): Implemented.
19073 2006-05-18 Lillian Angel <langel@redhat.com>
19075 * java/awt/font/GraphicAttribute.java:
19076 Documented entire class.
19077 (GraphicAttribute): Added check for alignment.
19078 (getBounds): Implemented.
19079 (getJustificationInfo): Implemented.
19081 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19083 * java/awt/LightweightDispatcher.java:
19084 (handleMouseEvent): Added note, added subexpression to if-statement.
19086 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19088 * javax/swing/plaf/basic/BasicToolBarUI.java:
19089 (navigateFocusedComp): Marked as stub.
19090 (createRolloverBorder): Create a different Border instance, added note.
19091 * javax/swing/plaf/metal/MetalBorders.java:
19092 (ButtonBorder): Added documentation.
19093 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19094 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19095 subexpression into if-else cascade, added note.
19097 2006-05-18 Lillian Angel <langel@redhat.com>
19099 * java/awt/font/ShapeGraphicAttribute.java:
19100 Documented entire class.
19101 (ShapeGraphicAttribute): Initialized bounds field.
19102 (draw): Implemented.
19103 (equals): Implemented.
19104 (getAdvance): Implemented.
19105 (getAscent): Implemented.
19106 (getBounds): Implemented.
19107 (getDescent): Implemented.
19108 (hashCode): Implemented.
19110 2006-05-18 Roman Kennke <kennke@aicas.com>
19112 * javax/swing/CellRendererPane.java
19113 (CellRendererPane): Set CellRendererPane to invisible.
19115 2006-05-18 Roman Kennke <kennke@aicas.com>
19117 * gnu/java/awt/peer/gtk/GdkGraphics.java
19118 (clipRect): Removed old intersection statement.
19120 2006-05-18 Roman Kennke <kennke@aicas.com>
19122 * gnu/java/awt/peer/gtk/GdkGraphics.java
19123 (clipRect): Don't use Rectangle.intersection() to avoid creating
19124 2 unnecessary Rectangle instances and fix a clipping problem.
19125 (computeIntersection): New helper method, adapted from SwingUtilities.
19127 2006-05-18 Roman Kennke <kennke@aicas.com>
19129 * javax/swing/JComponent.java
19130 (isCompletelyDirty): Removed.
19131 (paint): Don't mark children as clean, this is no longer necessary.
19132 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19133 painting when something overlaps the viewport (like a popup/menu).
19134 * javax/swing/RepaintManager.java
19135 (currentRepaintManagers): Made package private to avoid accessor
19137 (dirtyComponents): Made private.
19138 (dirtyComponentsWork): Made private.
19139 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19140 component-local not parent-local. Do not set flag in JComponent.
19141 (markCompletelyClean): Don't set JComponent flag.
19142 (isCompletelyDirty): Rewritten to return true when the complete
19143 component is marked dirty.
19144 (paintDirtyRegions): Improved parent-merging so that the merged-in
19145 components don't get painted too. 'Outsourced' the compilation
19146 of the repaint root components.
19147 (compileRepaintRoots): New helper method.
19149 2006-05-18 Roman Kennke <kennke@aicas.com>
19152 * javax/swing/text/GapContent.java
19153 (GapContentPosition(int)): Use adapted binarySearch method to
19154 allow for having a greater array than number of entries.
19155 (numMarks): New field, holds the end of the marks list.
19156 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19157 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19158 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19159 (setPositionsInRange): Changed signature to narrow the purpose and
19160 special cases inside. Reimplemented to crunch together equal marks.
19161 (adjustPositionsInRange): Added assertion to make sure we do
19162 not accidentally change the order of the mark. Added some debug
19163 output for a special case of which I don't know if it even exists.
19164 (resetMarksAtZero): Made impl simpler.
19165 (dumpMarks): New debug helper method.
19166 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19167 (binarySearch): New method. An adaption of Arrays.binarySearch()
19168 that allows for an maxIndex parameter.
19170 2006-05-18 Roman Kennke <kennke@aicas.com>
19172 * javax/swing/KeyboardManager.java
19173 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19175 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19177 * gnu/java/net/loader/JarURLLoader.java
19178 (JarURLLoader): Use a slightly more efficient URL constructor.
19180 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19182 * gnu/java/awt/print/JavaPrinterGraphics.java
19183 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19184 (drawImage(Image, int, int, ImageObserver)): Likewise,
19185 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19186 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19187 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19188 ImageObserver)): Likewise,
19189 (drawImage(Image, int, int, int, int, int, int, int, int,
19190 ImageObserver)): Likewise.
19192 2006-05-17 Tom Tromey <tromey@redhat.com>
19194 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19197 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19199 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19200 * javax/swing/border/BevelBorder.java: Likewise,
19201 * javax/swing/border/CompoundBorder.java: Likewise,
19202 * javax/swing/border/TitledBorder.java: Likewise.
19204 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19206 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19207 * javax/swing/table/DefaultTableModel.java: Likewise,
19208 * javax/swing/table/TableCellEditor.java: Likewise,
19209 * javax/swing/table/TableCellRenderer.java: Likewise.
19211 2006-05-17 Lillian Angel <langel@redhat.com>
19213 * java/awt/font/ImageGraphicAttribute.java:
19214 Documented entire class.
19215 (ImageGraphicAttribute): Changed to call this.
19216 (ImageGraphicAttribute): Implemented.
19217 (draw): Implemented.
19218 (equals): Implemented.
19219 (getAdvance): Implemented.
19220 (getAscent): Implemented.
19221 (getBounds): Implemented.
19222 (getDescent): Implemented.
19223 (hashCode): Implemented.
19224 * javax/swing/text/html/HTMLDocument.java
19225 (create): Removed. Sufficent enough for
19226 super to be called.
19227 (insert): Likewise.
19228 (insertUpdate): Likewise.
19229 (processHTMLFrameHyperlinkEvent): Marked as stub.
19230 (start): Removed FIXME.
19232 (start): Called super.
19233 (end): Called super.
19234 (getElement): removed unneeded code.
19235 (setParagraphAttribute): Removed. Sufficent enough
19236 for super to be called.
19237 (fireChangedUpdate): Likewise.
19238 (fireUndoableEditUpdate): Likewise.
19240 2006-05-17 Lillian Angel <langel@redhat.com>
19242 * java/awt/TexturePaint.java:
19243 Added documentation for class and all functions.
19244 (getTransparency): Implemented.
19246 2006-05-17 Roman Kennke <kennke@aicas.com>
19248 * java/awt/LightweightDispatcher.java
19249 (findTarget): Translate point to child components.
19251 2006-05-17 Roman Kennke <kennke@aicas.com>
19254 * javax/swing/text/GapContent.java
19255 (GapContentPosition): Do no more implement Comparable.
19256 (GapContentPosition.mark): Removed field.
19257 (GapContentPosition.index): New field to hold the index into
19258 the positions array.
19259 (GapContentPosition(int)): Rewritten to use the new indirection
19260 to the positions array.
19261 (GapContentPosition.compareTo): Removed.
19262 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19263 positionMarks array.
19264 (WeakPositionComparator): Removed obsolete class.
19265 (positions): Changed type to WeakHashMap.
19266 (positionMarks): New field, holds the marks of the positions.
19267 (GapContent): Initialize new fields.
19268 (createPosition): Rewritten to use the new indirection
19269 to the positions array.
19270 (getPositionsInRange): Rewritten to use the new indirection
19271 to the positions array.
19272 (setPositionsInRange): Rewritten to use the new indirection
19273 to the positions array.
19274 (adjustPositionsInRange): Rewritten to use the new indirection
19275 to the positions array.
19276 (insertMark): New helper method.
19277 (clearPositionReferences): Removed obsolete methods.
19279 2006-05-17 Lillian Angel <langel@redhat.com>
19281 * java/awt/GraphicsConfiguration.java
19282 (getImageCapabilities): Implemented.
19283 (getBufferCapabilities): Implemented.
19285 2006-05-17 Lillian Angel <langel@redhat.com>
19287 * javax/swing/plaf/basic/BasicSliderUI.java
19288 (focusGained): Implemented.
19289 (focusLost): Implemented.
19290 (paint): Added code to paint the focus.
19291 * javax/swing/plaf/metal/MetalSliderUI.java
19292 (paintThumb): Added code to set the thumbColor.
19293 (paintFocus): Implemented properly.
19295 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19298 * javax/naming/spi/NamingManager.java (getURLContext):
19299 Always search for the factory class in all possible places
19300 and use VMStackWalker.
19301 (forName): New method.
19303 2006-05-17 Roman Kennke <kennke@aicas.com>
19305 * java/awt/LightweightDispatcher.java
19306 (handleMouseEvent): Fixed search algorithm for finding the
19307 mouse event target.
19308 (findTarget): Fixed search algorithm for finding the
19309 mouse event target.
19311 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19313 * javax/naming/spi/NamingManager.java: Documented.
19315 2006-05-17 Mark Wielaard <mark@klomp.org>
19317 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19318 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19319 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19320 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19322 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19325 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19327 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19329 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19331 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19334 * java/awt/LightweightDispatcher.java:
19335 (handleMouseEvent): Moved assignment into switch-block, added notes.
19337 2006-05-16 Lillian Angel <langel@redhat.com>
19339 * javax/swing/text/StyleContext.java:
19340 Changed staticAttributeKeys to be a Hashtable.
19341 (getStaticAttribute): Implemented.
19342 (getStaticAttributeKey): Implemented.
19343 (readAttributeSet): Implemented.
19344 (writeAttributeSet): Added FIXME. Not sure how
19346 (readAttributes): Implemented.
19347 (writeAttributes): Implemented.
19348 (registerStaticAttibuteKey): Fixed to add key to
19351 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19353 * javax/swing/DefaultButtonModel.java
19354 (setGroup): Removed event notification.
19356 2006-05-16 Lillian Angel <langel@redhat.com>
19358 * javax/swing/plaf/basic/BasicComboBoxUI.java
19359 (installKeyboardActions): Implemented.
19360 (uninstallKeyboardActions): Implemented.
19361 * javax/swing/plaf/basic/BasicComboPopup.java
19362 (uninstallKeyboardActions): Removed FIXME. Nothing
19364 (installKeyboardActions): Likewise.
19365 * javax/swing/plaf/basic/BasicTextUI.java
19366 (uninstallKeyboardActions): Implemented.
19367 * javax/swing/plaf/basic/BasicTreeUI.java:
19368 Added field for hashColor.
19369 Marked stub methods.
19370 (getHashColor): Implemented to use field.
19371 (setHashColor): Likewise.
19372 (getRowX): Implemented.
19373 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19375 2006-05-16 Roman Kennke <kennke@aicas.com>
19378 * javax/swing/JTable.java
19379 (rowHeights): New field.
19380 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19381 in order to initialize rowHeights correctly.
19382 (tableChanged): Nullify rowHeights when model changes. Only
19383 create default columns from model when corresponding property
19384 is set. Sync table model with rowHeights as appropriate.
19385 (valueChanged): Call repaint with the correct rectangle.
19386 (rowAtPoint): Handle rowHeights.
19387 (getCellRect): Mostly rewritten. Check for boundaries
19388 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19389 Handle component orientation. Round correctly.
19390 (getRowHeight(int)): Implemented for variable row height.
19391 (setRowHeight(int,int)): Implemented for variable row height.
19392 (setRowHeight(int)): Nullify rowHeights.
19393 (setModel): Notify tableChanged().
19394 * javax/swing/plaf/basic/BasicTableUI.java
19395 (installDefaults): Create rendererPane in installUI.
19396 (installUI): Create and install rendererPane.
19397 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19399 (paint): Correctly handle rowMargin.
19401 2006-05-16 Tom Tromey <tromey@redhat.com>
19403 PR classpath/27563:
19404 * java/text/NumberFormat.java (getIntegerInstance): Use
19405 "integerFormat", not "numberFormat".
19407 2006-05-16 Lillian Angel <langel@redhat.com>
19409 * javax/swing/JPopupMenu.java
19410 (addMenuKeyListener): Implemented.
19411 (removeMenuKeyListener): Implemented.
19412 (getMenuKeyListeners): Implemented.
19413 * javax/swing/ProgressMonitor.java:
19414 Added new protected field.
19415 (getAccessibleContext): Implemented.
19417 2006-05-16 Lillian Angel <langel@redhat.com>
19419 * javax/swing/JFileChooser.java:
19420 Added new private field.
19421 (setDragEnabled): Implemented.
19422 (getDragEnabled): Implemented.
19424 2006-05-16 Lillian Angel <langel@redhat.com>
19426 * java/awt/Window.java
19427 (applyResourceBundle): Implemented.
19429 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19431 * javax/swing/DefaultButtonModel.java
19432 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19435 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19437 * javax/swing/JList.java (getSelectedValues):
19438 Ask the value for the indexed array element.
19440 2006-05-16 Roman Kennke <kennke@aicas.com>
19442 * javax/swing/JTable.java
19443 (valueChanged): Also repaint when table has only 1 row. Fixed
19444 repaint rectangle to span the entire changed rows.
19446 2006-05-16 Roman Kennke <kennke@aicas.com>
19449 * javax/swing/JOptionPane.java
19450 (startModal): Rewritten. The events are now dispatched, even
19451 when the event dispatch thread gets blocked by the call
19452 to this method. Also, mouse events get intercepted outside the
19455 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19457 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19458 (BorderListener.mouseDragged):Do not set cursor
19459 if the frame is being dragged.
19461 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19463 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19464 (BorderListener): Rewritten. (InternalFrameBorder):
19465 Made package private.
19466 (InternalFrameBorder.offset):
19467 Renamed to cornerSize, made package private.
19468 (bSize): Made package private.
19470 2006-05-16 Roman Kennke <kennke@aicas.com>
19472 * javax/swing/JMenu.java
19473 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19474 (AccessibleJMenu.getAccessibleChild): Implemented.
19475 (AccessibleJMenu.getAccessibleSelection): Implemented.
19476 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19477 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19478 (AccessibleJMenu.getAccessibleRole): Documented.
19479 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19480 (AccessibleJMenu.addAccessibleSelection): Implemented.
19481 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19482 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19483 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19484 (createPath): New helper method.
19486 2006-05-15 Tom Tromey <tromey@redhat.com>
19488 * java/text/MessageFormat.java (format): Now varargs.
19490 2006-05-15 Tom Tromey <tromey@redhat.com>
19492 * java/lang/Thread.java (State): Fixed typo.
19494 2006-05-15 Tom Tromey <tromey@redhat.com>
19496 * java/net/URLClassLoader.java: Moved inner classes to
19497 gnu.java.net.loader.
19498 (factoryCache): Changed type.
19499 (URL_LOADER_PREFIX): New constant.
19500 (URLClassLoader): Updated for new factoryCache.
19501 (addURLImpl): Use reflection to search for a loader.
19502 (findClass): Use getClass method on URLLoader.
19503 (getURLStreamHandler): Removed.
19504 * gnu/java/net/loader/URLLoader.java: New file, extracted
19505 from URLClassLoader.
19506 * gnu/java/net/loader/Resource.java: Likewise.
19507 * gnu/java/net/loader/FileResource.java: Likewise.
19508 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19509 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19510 * gnu/java/net/loader/JarURLResource.java: Likewise.
19511 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19512 * gnu/java/net/loader/RemoteResource.java: Likewise.
19513 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19515 2006-05-15 Sven de Marothy <sven@physto.se>
19517 * native/target/generic/target_generic_network.h:
19518 Add a pair of parenthesis.
19520 2006-05-15 Mark Wielaard <mark@klomp.org>
19522 * java/awt/Graphics2D.java: Remove PrinterJob import.
19524 2006-05-15 Mark Wielaard <mark@klomp.org>
19526 * doc/www.gnu.org/announce/20060515.wml: New file.
19527 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19528 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19530 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19532 * NEWS: Announce inclusion of gcjwebplugin.
19533 Announce inclusion of appletviewer.
19534 * INSTALL: Note gcjwebplugin dependencies.
19536 2006-05-15 Mark Wielaard <mark@klomp.org>
19538 * configure.ac (VERSION): Set to 0.91-generics.
19540 2006-05-15 Mark Wielaard <mark@klomp.org>
19542 * NEWS: Add release date and VMClassLoader.getBootPackages()
19545 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19547 * README: Added CACAO to list of VMs.
19549 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19551 * javax/swing/RepaintManager.java (paintDirtyRegions):
19552 Break loop as soon as the component repaint is merged
19553 with some parent. (ComponentComparator): Removed.
19554 (comparator): Removed.
19556 2006-05-15 Roman Kennke <kennke@aicas.com>
19558 * javax/swing/border/TitledBorder.java
19559 (paintBorderWithTitle): Fixed indentation.
19561 2006-05-15 Roman Kennke <kennke@aicas.com>
19563 * javax/swing/border/TitledBorder.java
19564 (layoutBorderWithTitle): Fetch border using getBorder() instead
19565 of using the border field directly. Allows for the use of
19566 an UI supplied border in the case when a null border was set.
19567 Fixed component orientation.
19568 (paintBorderWithTitle): Fetch border using getBorder() instead
19569 of using the border field directly. Allows for the use of
19570 an UI supplied border in the case when a null border was set.
19572 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19574 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19575 (contains): New method.
19577 2006-05-15 Tom Tromey <tromey@redhat.com>
19579 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19581 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19584 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19586 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19588 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19589 region. (paintDirtyRegions): Rewritten.
19591 2006-05-15 Tom Tromey <tromey@redhat.com>
19593 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19595 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19597 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19598 (run): Use MessageFormat.
19599 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19600 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19601 (writeFile): Use MessageFormat.
19603 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19605 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19606 instead of directly calling the class loader.
19608 2006-05-15 Tom Tromey <tromey@redhat.com>
19610 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19611 Removed old comment.
19612 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19613 Externalized strings.
19614 (getVersionString): Use MessageFormat.
19615 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19616 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19617 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19618 (getArgument): Use a MessageFormat.
19619 (handleLongOption): Likewise.
19622 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19625 * javax/swing/text/FieldView.java:
19626 (paint): Calculate intersection between clip and allocation area and
19627 set that as new clip.
19629 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19631 * javax/swing/text/JTextComponent.java: Marked stub methods.
19633 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19635 * javax/swing/JTable.java: Marked stub methods.
19637 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19639 * tools/gnu/classpath/tools/jarsigner/Main.java:
19640 Increased visibility of fields used by parser anonymous classes.
19641 (KEYTOOL_TOOL): New constant.
19642 (cmdLineParser): Changed type to ToolParser.
19643 (fileAndAlias): new field.
19644 (main): Don't catch OptionException.
19645 (processArgs): Removed validation checks; now handled by ToolParser.
19646 (getParser): Removed.
19647 (ToolParserCallback): New inner class.
19648 (ToolParser): Likewise.
19650 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19652 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19655 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19657 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19658 endResizingFrame): Do not repaint, unless in the outline mode.
19660 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19662 * javax/swing/JTabbedPane.java
19663 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19664 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19665 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19666 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19667 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19668 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19669 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19670 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19671 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19672 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19673 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19674 (Page.getAccessibleName): Implemented.
19676 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19678 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19679 Do not repaint nor revalidate here.
19681 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19683 * javax/swing/RepaintManager.java (addDirtyRegion):
19684 If there is a lightweight parent, recursively add the corresponding
19685 region of the parent instead.
19687 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19689 * java/awt/Graphics2D.java: Added some API doc comments.
19691 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19693 * javax/swing/JTabbedPane.java
19694 (paramString): Reimplemented,
19695 (getAccessibleContext): Added API docs.
19697 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19699 * javax/swing/JFileChooser.java
19700 (paramString): Reimplemented,
19701 (getAccessibleContext): Updated API docs,
19702 (AccessibleJFileChooser): Added API docs.
19704 2006-05-14 Tom Tromey <tromey@redhat.com>
19706 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19708 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19710 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19712 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19713 validation to JarParser.
19714 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19715 (run): Moved validation to JarParser. Don't throw OptionException.
19716 (initializeParser): Create a JarParser.
19717 (main): Don't catch OptionException.
19718 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19720 (validate): New method.
19721 (parse): Call it. Print '-help' in error message when long-only.
19723 2006-05-14 Tom Tromey <tromey@redhat.com>
19725 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19728 2006-05-15 Sven de Marothy <sven@physto.se>
19730 * gnu/java/awt/print/JavaPrinterGraphics.java:
19731 Sweeping changes I can't be bothered to document in detail.
19732 * gnu/java/awt/print/JavaPrinterJob.java
19733 (getPageAttributes): New method.
19734 (setPageable,cancel,isCancelled): Implement.
19736 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19738 * javax/swing/JCheckBoxMenuItem.java
19739 (requestFocus): Fixed typo in API docs,
19740 (paramString): Just call super.paramString(),
19741 (getAccessibleContext): Added API docs,
19742 (AccessibleJCheckBoxMenuItem): Likewise.
19744 2006-05-14 Tom Tromey <tromey@redhat.com>
19746 * tools/gnu/classpath/tools/jar/Indexer.java
19747 (writeCommandLineEntries): Simplify insertion.
19748 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19751 2006-05-14 Tom Tromey <tromey@redhat.com>
19753 PR classpath/27514:
19754 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19756 (JAR_INDEX_VERSION_KEY): Likewise.
19757 (IndexListParser): Updated.
19758 (getVersionInfo): Likewise.
19759 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19760 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19762 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19764 (ModeOption): New constructor.
19765 (parsed): Updated. Use setArchiveFile.
19766 (setArchiveFile): New method.
19767 (run): Handle no-argument case.
19768 (main): Emit --help message on option error.
19769 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19770 (createManifest): New method.
19771 (run): Updated. Throws OptionException. Correctly copy zip entry.
19772 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19774 (writeManifest): Removed.
19775 (outputStream): Now a JarOutputStream.
19776 (writeCommandLineEntries): Changed parameters. Updated callers.
19777 (run): Throws OptionException.
19778 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19779 * java/util/jar/Manifest.java (read): Typo fix.
19781 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19783 * javax/swing/JMenuItem.java
19784 (paramString): Fixed class name in API doc comment.
19786 2006-05-14 Tom Tromey <tromey@redhat.com>
19788 * native/plugin/.cvsignore: Updated.
19790 2006-05-14 Mark Wielaard <mark@klomp.org>
19792 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19795 2006-05-14 Chris Burdess <dog@gnu.org>
19797 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19798 nodes to be preserved during cloneNode.
19800 2006-05-14 Mark Wielaard <mark@klomp.org>
19803 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19804 inherited timeout on socket.
19806 2006-05-14 Lillian Angel <langel@redhat.com>
19808 * java/util/SimpleTimeZone.java: Reverted patch.
19809 (SimpleTimeZone): Throw exception if startMonth ==
19811 (SimpleTimeZone): Likewise.
19812 (checkRule): Rewritten to properly check all values (more
19814 This code is now more stable, at least less buggy than before.
19815 Fixed API documentation.
19816 (setStartRule): Moved checkRule call to end.
19817 (setStartRule): Likewise.
19818 (setEndRule): Likewise.
19819 (setEndRule): Likewise.
19821 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19823 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19826 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19829 * javax/swing/text/AbstractDocument.java:
19830 (insertString): Flipped if-expression and its blocks.
19832 (replace): Flipped if-expression and its blocks, added note, invoke
19833 insertString and remove instead of insertStringImpl and removeImpl.
19835 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19837 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19839 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19841 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19843 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19844 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19845 Increased visibility of fields used by parser anonymous classes.
19846 (processArgs): Removed.
19847 (getParser): New method.
19848 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19849 (setup): Mark (Eclipse) strings that need not be externalised.
19851 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19852 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19853 command line option parsing.
19854 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19855 Increased visibility of fields used by parser anonymous classes.
19856 (processArgs): Removed.
19857 (setup): set 'all' local field.
19858 (getParser): New method.
19859 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19860 Increased visibility of fields used by parser anonymous classes.
19861 (processArgs): Removed.
19862 (getParser): New method.
19863 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19864 (setNewKeyPassword): Fixed comments.
19865 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19866 Increased visibility of fields used by parser anonymous classes.
19867 (processArgs): Removed.
19868 (getParser): New method.
19869 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19871 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19872 Increased visibility of fields used by parser anonymous classes.
19873 (processArgs): Removed.
19874 (setup): Mark (Eclipse) strings that need not be externalised.
19875 (getParser): New method.
19876 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19877 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19878 Increased visibility of fields used by parser anonymous classes.
19879 (processArgs): Removed.
19880 (getParser): New method.
19881 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19882 (ATTRIBUTES_OPT): New constant.
19883 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19884 Increased visibility of fields used by parser anonymous classes.
19885 (processArgs): Removed.
19886 (setup): Mark (Eclipse) strings that need not be externalised.
19888 Reduced logging level.
19889 (getParser): New method.
19890 * tools/gnu/classpath/tools/keytool/Command.java
19891 (processArgs): Made it concrete.
19892 (getParser): New abstract method.
19893 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19895 2006-05-13 Casey Marshall <csm@gnu.org>
19897 Patch by Michael Barker <mike@middlesoft.co.uk>.
19898 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19899 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19900 gnu.java.nio.SocketChannelSelectionKeyImpl.
19901 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19902 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19904 * include/gnu_java_nio_VMChannel.h: new file.
19905 * java/nio/FileChannel.java (read,write): changed to call abstract
19907 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19908 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19909 `gnu_java_nio_VMChannel.c.'
19910 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19912 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19914 * javax/swing/text/AbstractDocument.java:
19915 (insertString): Flipped if-expression and its blocks.
19917 (replace): Flipped if-expression and its blocks, added note, invoke
19918 insertString and remove instead of insertStringImpl and removeImpl.
19920 2006-05-13 Tom Tromey <tromey@redhat.com>
19922 * java/nio/ByteBufferImpl.java (compact): Always set position.
19924 2006-05-13 Sven de Marothy <sven@physto.se>
19926 * gnu/java/awt/print/JavaPrinterGraphics.java
19927 (spoolPostScript): Use a faster writer.
19929 2006-05-13 Sven de Marothy <sven@physto.se>
19931 * gnu/java/awt/print/JavaPrinterGraphics.java
19932 (colorTripleHex): Reimplement better.
19934 2006-05-13 Sven de Marothy <sven@physto.se>
19936 * javax/swing/text/html/HTMLDocument.java
19937 (CharacterAction.start): Translate tag to StyleAttribute.
19938 (pushCharacterStyle): Push copy of attributes onto stack.
19939 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19942 2006-05-13 Sven de Marothy <sven@physto.se>
19944 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19945 * java/awt/print/PrinterJob.java
19946 (getPrinterJob): Return a JavaPrinterJob
19947 (setPrintService,getPrintService): Implement.
19948 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19949 (getPixels): Gtk_threads_enter required.
19950 * gnu/java/awt/print/JavaPrinterGraphics.java
19951 * gnu/java/awt/print/JavaPrinterJob.java
19952 * gnu/java/awt/print/SpooledDocumet.java:
19955 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19957 * javax/swing/text/TextAction.java:
19958 (HorizontalMovementAction): New inner class.
19959 (VerticalMovementAction): New inner class.
19960 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19961 new inner classes to array 'defaultActions'.
19962 (SelectionBeginWordAction): New inner class.
19963 (SelectionEndWordAction): New inner class.
19964 (BeginWordAction): New inner class.
19965 (EndWordAction): New inner class.
19966 (PreviousWordAction.actionPerformed): Rewritten.
19967 (SelectLineAction): New inner class.
19968 (SelectWordAction): New inner class.
19969 (SelectionDownAction): Rewritten.
19970 (SelectionUpAction): Rewritten.
19971 (DownAction): Rewritten.
19972 (UpAction): Rewritten.
19973 (SelectionForwardAction): Rewritten.
19974 (SelectionBackwardAction): Rewritten.
19975 (ForwardAction): Rewritten.
19976 (BackwardAction): Rewritten.
19977 (BeginAction): New inner class.
19978 (EndAction): New inner class.
19979 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19980 Character.isISOControl.
19982 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19984 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19985 (WordFilter.getNextVisualPositionFrom): Added statement to check
19986 for variable pt not being null.
19988 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19990 * javax/swing/text/Utilities.java:
19991 (getNextWord): Fixed grammar in exception message.
19992 (getPreviousWord): Changed expression in first if-clause, added sub-
19993 expression to if-clause in while-loop.
19994 (getWordStart): Changed expression in if-clause.
19995 getNextVisualPositionFrom): Added package-private helper method.
19997 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19999 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20002 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
20004 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20006 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
20007 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
20008 * tools/gnu/classpath/tools/jarsigner/Main.java:
20009 Increased visibility of fields used by parser anonymous classes.
20010 (HELP_PATH): Removed.
20011 (cmdLineParser): New field.
20012 (main): Handle JVM exit status.
20013 Handle command line parsing exceptions.
20014 (processArgs): Use getopt command line parser.
20015 (getParser): New method.
20016 (setupCommonParams): Removed checks now handled by processArgs().
20017 (setupSigningParams): Likewise.
20018 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20019 Reuse an existing message-bundle constant.
20021 2006-05-12 Tom Tromey <tromey@redhat.com>
20023 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
20024 Explicitly specify class for synchronization.
20026 2006-05-12 Tom Tromey <tromey@redhat.com>
20028 * java/util/logging/Logger.java (resetLogger): Fixed typo.
20030 2006-05-12 Sven de Marothy <sven@physto.se>
20032 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20033 * gnu/java/net/protocol/http/HTTPURLConnection.java
20034 (setConnectTimeout): New method.
20035 (getConnection): Add timeout parameter.
20036 * java/net/URLConnection.java
20037 (getConnectTimeout, setConnectTimeout): Implement.
20038 * native/target/generic/target_generic_network.h:
20039 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20041 2006-05-12 Sven de Marothy <sven@physto.se>
20043 * gnu/javax/print/CupsServer.java
20044 (CupsServer): Make the Cups host configurable.
20045 * java/lang/System.java: Document the system property.
20047 2006-05-12 Roman Kennke <kennke@aicas.com>
20049 * javax/swing/border/TitledBorder.java
20050 (paintBorder): Rewritten for simplicity and correctness.
20051 (layoutBorderWithTitle): New helper method.
20052 (paintBorderWithTitle): New helper method.
20053 (getBorderInsets): Rewritten.
20054 (getMinimumSize): Rewritten.
20055 (getRealJustification): Removed.
20056 (getMeasurements): Removed.
20057 (Measurements): Removed.
20059 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20061 * javax/swing/plaf/basic/BasicPanelUI.java
20062 (sharedUI): New field,
20063 (createUI): Return a shared instance rather than a new instance,
20064 (installUI): Reformatted and added API docs,
20065 (installDefaults): Install border if one is defined,
20066 (uninstallDefaults): Uninstall border.
20068 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20070 * javax/swing/JProgressBar.java: Updated API docs all over.
20072 2006-05-11 Lillian Angel <langel@redhat.com>
20074 * java/awt/ContainerOrderFocusTraversalPolicy.java
20075 (getComponentAfter): Should not throw exception if
20076 the ancestor is null. Added a check for this.
20077 Also, changed to use new helper function, we should
20078 iterate through all the components at least once.
20079 (getNextAvailableComponent): New helper function.
20080 (getPrevAvailableComponent): New helper function.
20081 (getComponentBefore): Should not throw exception if
20082 the ancestor is null. Added a check for this.
20083 Also, changed to use new helper function, we should
20084 iterate through all the components at least once.
20085 (getFirstComponent): Changed check to manually check
20086 fields. Calling accept() casts the object to a Component,
20087 so different values may be returned.
20088 (getLastComponent): Likewise.
20090 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20092 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20093 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20094 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20095 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20096 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20097 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20098 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20099 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20100 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20101 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20102 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20103 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20104 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20105 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20106 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20107 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20108 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20109 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20111 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20113 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20114 package-private, added field 'active'.
20115 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20116 cases to update field 'active'.
20117 (mouseDragged): Added documentation, added if-clause to update
20118 selection or caret position.
20119 (mouseClicked): Added early return when text component is disabled.
20120 (focusGained): Moved statements into an if-clause.
20121 (focusLost): Added subexpression to if-clause.
20122 (install): Preset value of 'active'.
20123 (paint): Added subexpression to if-clause.
20124 (isVisible): Extended return expression.
20125 * javax/swing/text/JTextComponent.java:
20126 (copy): Copy only if component is enabled.
20127 (cut): Cut only if component is enabled and editable.
20130 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20132 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20133 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20134 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20135 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20136 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20137 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20138 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20140 2006-05-11 Roman Kennke <kennke@aicas.com>
20142 * gnu/java/awt/font/GNUGlyphVector.java
20143 (GNUGlyphVector): Don't apply the font renderer context's
20146 2006-05-11 Mark Wielaard <mark@klomp.org>
20148 * java/util/logging/Logger.java (global): Initialize inside static
20151 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20153 * javax/swing/JFrame.java
20154 (EXIT_ON_CLOSE): Added note to API docs,
20155 (close_action): Renamed closeAction,
20156 (JFrame()): Change title to "",
20157 (JFrame(String)): Added API docs,
20158 (getAccessibleContext): Likewise,
20159 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20160 (processWindowEvent): Updated for renamed field,
20161 (setDefaultCloseOperation): Likewise, and updated API docs.
20163 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20165 * javax/swing/JFrame.java
20166 (paramString): Reimplemented,
20167 * javax/swing/SwingUtilities.java
20168 (convertWindowConstantToString): New method.
20170 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20172 * javax/swing/WindowConstants.java: Updated API docs.
20174 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20176 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20177 (createUI): Removed 'final' qualifier for parameter,
20178 (paint): Reformatted.
20180 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20182 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20183 (createUI): Removed 'final' qualifier on method argument.
20185 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20187 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20188 (getDefaultIcon): Removed this redundant method.
20190 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20192 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20193 (paint): Pass component size to paintFocus().
20195 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20197 * java/awt/Component.java:
20198 (dispatchEventImpl): Added comment.
20200 2006-05-11 Mark Wielaard <mark@klomp.org>
20202 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20203 Option constructor null argument to String.
20205 2006-05-11 Mark Wielaard <mark@klomp.org>
20207 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20208 Fully qualify PathIterator constants
20210 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20212 * java/awt/Component.java:
20213 (dispatchEventImpl): Added subexpression to if-clause.
20215 2006-05-11 Mark Wielaard <mark@klomp.org>
20217 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20220 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20222 * javax/swing/TransferHandler.java: Marked stub methods.
20224 2006-05-10 Roman Kennke <kennke@aicas.com>
20227 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20228 (installDefaults): Set background of content pane to null, if
20229 no custom color has been installed by the application yet.
20231 2006-05-10 Roman Kennke <kennke@aicas.com>
20234 * javax/swing/JRootPane.java
20235 (createContentPane): Don't set background to null.
20237 2006-05-10 Sven de Marothy <sven@physto.se>
20239 * java/awt/print/PrinterJob.java:
20240 (lookupPrintServices): Un-comment-out.
20242 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20244 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20245 (FILLER): New constant.
20246 (formatText(PrintStream,String,int)): New method.
20247 (formatText(PrintStream,String,int,Locale)): Likewise.
20248 (printHelp): Use formatText method.
20249 * tools/gnu/classpath/tools/getopt/Parser.java
20250 (MAX_LINE_LENGTH): New constant.
20251 (formatText(PrintStream,String)): New method.
20252 (formatText(PrintStream,String,Locale)): Likewise.
20253 (printHelp): New method.
20254 (printHelp(PrintStream)): Increased visibility to protected.
20255 Use formatText method.
20257 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20259 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20260 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20261 modify the lookup key.
20263 2006-05-10 Lillian Angel <langel@redhat.com>
20265 * java/util/SimpleTimeZone.java: Reverted patch.
20266 (SimpleTimeZone): Throw exception if startMonth ==
20268 (SimpleTimeZone): Likewise.
20269 (checkRule): Rewritten to properly check all values (more
20271 This code is now more stable, at least less buggy than before.
20272 Fixed API documentation.
20273 (setStartRule): Moved checkRule call to end.
20274 (setStartRule): Likewise.
20275 (setEndRule): Likewise.
20276 (setEndRule): Likewise.
20278 2006-05-10 Roman Kennke <kennke@aicas.com>
20280 * gnu/java/awt/peer/swing/SwingComponent.java:
20281 Some API comment fixlets.
20282 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20283 (createImage): Create a BufferedImage, not a Toolkit image.
20284 (paint): Removed bogus API comment.
20285 (prepareImage): Added checks to avoid NPE.
20286 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20287 (getInsets): Added check to avoid NPE.
20288 (handleMouseEvent): Added check to avoid NPE.
20289 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20290 Some API comment fixlets.
20291 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20292 Some API comment fixlets.
20293 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20294 Changed start_pos name to startPos.
20295 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20296 Some API comment fixlets.
20298 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20300 * java/awt/BasicStroke.java
20301 (equals): Fixed typo in HTML tag for API doc comment.
20303 2006-05-10 Gary Benson <gbenson@redhat.com>
20305 * java/lang/ThreadGroup.java (parent): Make package-private.
20306 * java/lang/SecurityManager.java (checkAccess(Thread)):
20307 Reference ThreadGroup.parent directly to avoid extra checks.
20308 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20311 2006-05-10 Roman Kennke <kennke@aicas.com>
20313 Reported by Ingo Proetel (proetel@aicas.com)
20314 * java/awt/EventDispatchThread.java
20315 (DEFAULT_PRIORITY): New constant field.
20316 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20317 system property for adjusting the priority of the event
20320 2006-05-10 Roman Kennke <kennke@aicas.com>
20322 Reported by Ingo Proetel (proetel@aicas.com)
20323 * java/awt/image/ColorModel.java
20324 (S_RGB_MODEL): New constant field.
20325 (getRGBDefault): Return constant SRGBColorModel.
20326 (SRGBColorModel): Specialized color model for sRGB.
20328 2006-05-10 Roman Kennke <kennke@aicas.com>
20330 * java/awt/ColorPaintContext.java
20331 (getRaster): Create Raster with (0,0) as source location.
20333 2006-05-10 Roman Kennke <kennke@aicas.com>
20335 * gnu/java/awt/java2d/AlphaCompositeContext.java
20336 (compose): Don't premultiply alpha to alpha itself.
20338 2006-05-10 Roman Kennke <kennke@aicas.com>
20340 * gnu/java/awt/java2d/AbstractGraphics2D.java
20341 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20342 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20344 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20345 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20346 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20348 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20349 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20351 (scale): Inverse transform by doing 1/scale instead of -scale.
20352 (drawImage(Image,int,int,ImageObserver)): Implemented.
20353 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20354 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20355 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20356 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20358 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20360 (fillScanline): Work on translated destination raster for
20361 correct compositin.
20362 (init): Fetch the clip after the destination raster is initialized.
20363 * gnu/java/awt/java2d/ImagePaint.java: New file.
20364 * gnu/java/awt/java2d/RasterGraphics
20365 (drawImage): Removed.
20367 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20369 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20370 Clarify option descriptions.
20371 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20372 uppercase for metasyntactic variables.
20374 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20377 * javax/swing/text/AbstractDocument.java:
20378 (insertString): Added more documentation, added argument check.
20379 (remove): Added more documentation.
20380 (removeImpl): Added argument check.
20381 (replace): Added more documentation, added argument check.
20383 2006-05-09 Tom Tromey <tromey@redhat.com>
20385 * tools/.cvsignore: Added appletviewer.
20387 2006-05-09 Tom Tromey <tromey@redhat.com>
20389 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20392 2006-05-09 Tom Tromey <tromey@redhat.com>
20394 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20395 Special case for '-J'. Use space instead of '='.
20396 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20399 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20401 * configure.ac: Add --disable-plugin and --with-vm options. Check
20402 for plugin support headers and libraries.
20403 * native/Makefile.am: Recurse into plugin directory.
20404 * native/plugin/.cvsignore: New file.
20405 * native/plugin/Makefile.am: New file.
20406 * native/plugin/gcjwebplugin.cc: New file.
20407 * tools/Makefile.am: Install appletviewer wrapper script.
20408 * tools/appletviewer.in: Replace VM location heuristic with
20409 VM_BINARY configure substitution.
20411 2006-05-09 Tom Tromey <tromey@redhat.com>
20413 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20414 an initial pass to look for short options. Added 'longOnly' option.
20415 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20417 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20418 options into final group. Added -J.
20419 (add): Insert new groups before final group.
20420 (printHelp): Updated.
20422 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20425 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20426 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20427 Expect -classpath option.
20428 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20429 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20431 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20432 (classLoader): New field. (loadClass, setClassPath):
20435 2006-05-09 Roman Kennke <kennke@aicas.com>
20437 * gnu/java/awt/java2d/RasterGraphics.java
20438 (RasterGraphics): Call init() and super().
20439 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20442 2006-05-09 Gary Benson <gbenson@redhat.com>
20444 * java/lang/Thread.java (Thread): Always perform threadgroup
20445 access checks on thread creation.
20447 2006-05-09 Chris Burdess <dog@gnu.org>
20449 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20450 be preserved during cloneNode.
20452 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20455 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20456 Do not demand all thrown exceptions to be an instance of RemoteException.
20458 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20460 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20461 Use hash-style comments.
20462 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20465 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20467 * javax/swing/JLabel.java
20468 (paramString): Added more attribute details,
20469 * javax/swing/SwingUtilities.java
20470 (convertHorizontalAlignmentCodeToString): New method,
20471 (convertVerticalAlignmentCodeToString): New method.
20473 2006-05-08 Tom Tromey <tromey@redhat.com>
20475 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20476 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20477 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20480 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20482 (run): Use ZipInputStream.
20483 (initSet): New method.
20484 (shouldExtract): Likewise.
20485 (run): Use new methods.
20486 * tools/gnu/classpath/tools/jar/Creator.java
20487 (writeCommandLineEntries): New overload.
20488 (writeFile): Use System.err for verbose.
20489 (writeManifest): New method.
20490 (writtenItems): New field.
20491 (writeFile): Update it.
20492 (writeCommandLineEntries): Return void. Call writeManifest.
20493 (addEntries): Don't add extra '/'.
20494 * NEWS: Mention jar.
20496 2006-05-08 Lillian Angel <langel@redhat.com>
20498 * gnu/java/net/IndexListParser.java: New class.
20499 * java/net/URLClassLoader.java
20500 (JarURLLoader): Fixed code to use new class.
20502 2006-05-08 Roman Kennke <kennke@aicas.com>
20504 * javax/swing/JComboBox.java
20505 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20506 (AccessibleJComboBox.getAccessibleChild): Implemented.
20507 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20508 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20509 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20510 (AccessibleJComboBox.getAccessibleAction): Implemented.
20511 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20512 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20513 (AccessibleJComboBox.doAccessibleAction): Implemented.
20514 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20515 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20516 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20517 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20518 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20520 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20522 * configure.ac: Add support for building appletviewer.
20523 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20525 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20527 * tools/appletviewer.c: New file.
20528 * tools/appletviewer.in: New file.
20529 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20531 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20533 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20534 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20536 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20538 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20540 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20542 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20544 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20545 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20547 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20549 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20551 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20553 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20555 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20557 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20560 2006-05-08 Tom Tromey <tromey@redhat.com>
20562 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20563 * tools/gnu/classpath/tools/jar/Action.java: New file.
20564 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20565 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20566 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20567 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20568 * tools/gnu/classpath/tools/jar/Main.java: New file.
20569 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20570 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20571 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20572 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20573 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20574 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20577 2006-05-08 Lillian Angel <langel@redhat.com>
20579 * java/net/URLClassLoader.java
20580 (JarURLLoader): Added check to make sure the INDEX.LIST file
20583 2006-05-08 Roman Kennke <kennke@aicas.com>
20585 * gnu/java/awt/java2d/AbstractGraphics2D.java
20586 (fill): Removed commented out code.
20587 (fillShape): Also determine the outline of the clip and feed
20588 it into the rendering method. Use new helper method for
20589 converting the shapes into lists of segments.
20590 (getUserBounds): Removed obsolete method.
20591 (rawFillShape): Respect the clip when rendering shapes.
20592 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20593 However, the implementation can't clip still.
20594 (getSegments): New helper method for converting a shape into
20595 a list of segments.
20596 (clipShape): Removed obsolete method.
20597 * gnu/java/awt/java2d/PolyEdge.java
20598 (isClip): New field.
20599 (PolyEdge): Added isField argument to constructor.
20601 2006-05-08 Roman Kennke <kennke@aicas.com>
20604 * javax/swing/JRootPane.java
20605 (createContentPane): Set background of the content pane to null,
20606 so that the content pane inherits its background from the
20609 2006-05-08 Roman Kennke <kennke@aicas.com>
20612 * javax/swing/ButtonGroup.java
20613 (add): Check if new button is selected and if so, deselect other
20614 buttons in the group.
20616 2006-05-08 Lillian Angel <langel@redhat.com>
20619 * java/net/URLClassLoader.java
20620 (JarURLLoader): Added code to go through
20621 META-INF/INDEX.LIST file to load all jars listed.
20623 2006-05-08 Roman Kennke <kennke@aicas.com>
20626 * javax/swing/ImageIcon.java
20627 (ImageIcon(URL)): Set description to URL.toString().
20629 2006-05-08 Roman Kennke <kennke@aicas.com>
20632 * javax/swing/JTable.java
20633 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20634 null when cell value is null.
20636 2006-05-08 Roman Kennke <kennke@aicas.com>
20639 * javax/swing/DefaultDesktopManager.java
20640 (closeFrame): Don't perform default close action on the frame
20641 to prevent endless loop.
20643 2006-05-08 Roman Kennke <kennke@aicas.com>
20646 * javax/swing/table/DefaultTableModel.java
20647 (addExtraRows): New helper method.
20648 (checkSize): New helper method.
20649 (setRowCount): Use addExtraRows helper method.
20650 (addColumn): Use addExtraRows helper method.
20651 (getColumnName): Check and adjust size if necessary using
20654 2006-05-08 Roman Kennke <kennke@aicas.com>
20657 * javax/swing/JTable.java
20658 (setValueAt): Allow setting values even when table is editable.
20660 2006-05-08 Tom Tromey <tromey@redhat.com>
20662 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20663 space to error message.
20665 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20667 * javax/swing/AbstractButton.java: Fixed comment typos.
20669 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20671 PR classpath/27435:
20672 * java/util/zip/DeflaterEngine.java:
20673 (deflateFast(boolean,boolean)): Empty buffer when full.
20675 2006-05-07 Sven de Marothy <sven@physto.se>
20678 * java/util/Calendar.java (setTimeZone): Force recalculation.
20680 2006-05-07 Sven de Marothy <sven@physto.se>
20683 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20684 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20686 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20688 PR classpath/27311:
20689 * gnu/java/text/StringFormatBuffer.java:
20690 (toString()): Implemented so we can see the contents.
20691 * java/text/DecimalFormat.java:
20692 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20693 Don't calculate the exponent when the number is 0 or less.
20694 Also, use log10 instead of log now it's available.
20696 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20698 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20699 Use instance's field creationDate not the constructor's argument.
20700 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20701 Removed unused imports.
20704 (decrypt): Added trace/debug/timing statements.
20705 (encrypt): Likewise.
20706 Use PRNG instead of instantiating every time a new SecureRandom.
20707 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20708 Removed unused imports.
20711 (verify): Added trace/debug/timing statements.
20712 (authenticate): Likewise.
20713 Use PRNG instead of instantiating every time a new SecureRandom.
20715 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20717 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20718 (THREAD_FORMAT): Likewise.
20719 (dateFormat): Added field.
20720 (threadFormat): Added field.
20721 (format): Initialize instance fields if null.
20722 Use StringBuilder instead of StringBuffer.
20724 2006-05-07 Roman Kennke <kennke@aicas.com>
20726 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20728 2006-05-07 Roman Kennke <kennke@aicas.com>
20730 * gnu/java/awt/java2d/AbstractGraphics2D.java
20731 (fillShape): Determine user space bounds of shape and feed them
20732 into the actual rendering pipeline.
20733 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20734 (rawSetForeground): Likewise.
20735 (getDestinationColorModel): Removed.
20736 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20737 (rawFillShape): Handle paint context.
20738 (fillScanline): Implement painting and compositing.
20739 (fillShapeAntialias): Handle paint context.
20740 (fillScanlineAA): Implemented preliminary antialiasing based on
20741 composite context. Not working yet.
20742 (fillScanlineAlpha): Removed.
20743 (init): Fetch destination raster.
20744 (getDestinationRaster): New abstract method.
20745 (updateRaster): New backend method.
20747 2006-05-07 Roman Kennke <kennke@aicas.com>
20749 * gnu/java/awt/java2d/AlphaCompositeContext.java
20750 (compose): Fixed loops, conditions and logic to make compositing
20753 2006-05-07 Roman Kennke <kennke@aicas.com>
20755 * java/awt/ColorPaintContext.java
20756 (ColorPaintContext): Fixed filling of the raster.
20758 2006-05-07 Sven de Marothy <sven@physto.se>
20761 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20762 * java/awt/Component.java (processMouseEvent):
20763 Do lightweight cursor handling.
20764 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20765 (endResizing,mouseMoved): Save and reset original cursor, not the
20768 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20771 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20772 getNodeDimensions): Mind the size of the node icon. (getRowX):
20773 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20774 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20775 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20776 (installDefaults): assign totalChildIndent. (installUI): Call
20777 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20778 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20781 2006-05-06 Sven de Marothy <sven@physto.se>
20784 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20785 Check for zero image sizes.
20787 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20790 * java/util/Calendar.java (clear(int)): Forced internal state
20791 completion before performing a field clearing.
20793 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20795 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20796 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20797 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20798 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20799 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20800 UnmodifiableMapEntry as part of their return value.
20802 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20804 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20805 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20806 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20807 Generate jarsigner and keytool scripts.
20808 * tools/keytool.in: New file (renamed from keytool.sh.in).
20809 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20810 * tools/.cvsignore: Replaced *.sh with *
20811 * configure.ac: Replaced tools/*.sh with tools/*.
20813 2006-05-05 Roman Kennke <kennke@aicas.com>
20815 * java/awt/image/ColorModel.java
20816 (getNormalizedComponents): Implemented.
20818 2006-05-05 Roman Kennke <kennke@aicas.com>
20820 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20821 (paint): Query the button model for it's state, not the
20824 2006-05-05 Roman Kennke <kennke@aicas.com>
20826 * javax/swing/JTable.java
20827 (tableChanged): Sync selection model with table model changes.
20829 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20831 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20832 if there are no visible nodes to paint.
20834 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20836 * javax/swing/JOptionPane.java: API doc updates.
20838 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20840 * javax/swing/JToolBar.java
20841 (paramString): Reimplemented.
20843 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20845 * javax/swing/JScrollBar.java
20846 (paramString): Reimplemented.
20848 2006-05-04 Tom Tromey <tromey@redhat.com>
20850 PR classpath/27375:
20851 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20852 (readEntries): Updated.
20853 (getEntries): Likewise.
20854 (getEntry): Likewise.
20855 (getInputStream): Likewise.
20857 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20859 * gnu/javax/imageio/jpeg/DCT.java,
20860 gnu/javax/imageio/jpeg/HuffmanTable.java,
20861 gnu/javax/imageio/jpeg/JPEGComponent.java,
20862 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20863 gnu/javax/imageio/jpeg/JPEGException.java,
20864 gnu/javax/imageio/jpeg/JPEGFrame.java,
20865 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20866 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20867 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20868 gnu/javax/imageio/jpeg/JPEGMarker.java,
20869 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20870 gnu/javax/imageio/jpeg/JPEGScan.java,
20871 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20872 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20874 2006-05-04 Lillian Angel <langel@redhat.com>
20876 * javax/swing/JLabel.java
20877 (JLabel): Pass in an empty string for the text parameter.
20878 (JLabel): Likewise.
20879 (JLabel): Likewise.
20881 2006-05-04 Roman Kennke <kennke@aicas.com>
20883 * javax/swing/plaf/basic/BasicButtonListener.java
20884 (mouseEntered): Fixed conditions for changing states.
20886 2006-05-04 Roman Kennke <kennke@aicas.com>
20888 * javax/swing/JOptionPane.java
20889 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20891 2006-05-04 Roman Kennke <kennke@aicas.com>
20893 * javax/swing/JLabel.java
20894 (AccessibleJLabel.getSelectedText): Return null instead of "".
20895 (AccessibleJLabel.getSelectionStart): Added comment why
20896 return -1 is correct here.
20897 (AccessibleJLabel.getSelectionEnd): Added comment why
20898 return -1 is correct here.
20899 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20901 (AccessibleJLabel.getCharCount): Added comment about what
20903 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20904 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20905 (paramString): Return super.paramString() here, this provides
20906 a more meaningful output.
20908 2006-05-04 Roman Kennke <kennke@aicas.com>
20910 * javax/swing/JComponent.java
20911 (paint): Added null check to avoid NPE when clip == null.
20913 2006-05-04 Roman Kennke <kennke@aicas.com>
20915 * javax/swing/AbstractButton.java
20916 (addImpl): New method. Installs an OverlayLayout if no
20917 other layout has been installed before.
20918 (setLayout): New method. Detect if a client app installs a custom
20921 2006-05-04 Roman Kennke <kennke@aicas.com>
20923 * javax/swing/table/DefaultTableCellRenderer.java
20924 (noFocusBorder): Fixed width of empty border to 1.
20925 (getTableCellRendererComponent): Don't change the colors for
20926 focuses cells. Fixed border for focused cells.
20928 2006-05-04 Roman Kennke <kennke@aicas.com>
20930 * javax/swing/JTable.java
20931 (moveToCellBeingEdited): Adjust bounding box of editing component
20932 to exactly cover the grid.
20933 * javax/swing/plaf/basic/BasicTableUI.java
20934 (paint): Paint grid to the bottom and right of the cells instead
20935 of left and top. Adjust bounding box of cells accordingly.
20936 * javax/swing/plaf/metal/MetalLookAndFeel.java
20937 (initComponentDefaults): Fixed color of JTable selection border.
20938 * javax/swing/plaf/metal/OceanTheme.java
20939 (addCustomEntriesToTable): Fixed color of JTable selection border.
20941 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20943 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20944 Use _alias instead of alias.
20946 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20949 Set version to 0.92-pre.
20951 Add space for 0.92 entries.
20953 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20955 * include/Makefile.am:
20956 Added rules for gnu.java.net.local.LocalSocketImpl.h
20957 * include/java_lang_VMSystem.h:
20958 Regenerated correctly.
20960 2006-05-03 Sven de Marothy <sven@physto.se>
20963 * java/awt/Image.java:
20964 (getScaledInstance): Default to AreaAveraging for "smooth",
20965 don't thrown an error on illegal flag values.
20966 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20968 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20970 * javax/swing/text/FieldView.java:
20971 (adjustAllocation): Added if-block to return null when shape argument
20973 * javax/swing/text/PlainView.java:
20974 (updateDamage): Added if-block to return early if a is null.
20976 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20978 * javax/swing/plaf/basic/BasicTextUI.java:
20979 (changeUpdate): Added note.
20980 (removeUpdate): Dito.
20981 (insertUpdate): Dito.
20982 (damageRange): Added if-block to return early.
20983 (modelToView): Added check of getVisibleEditorRect's return value.
20984 (getVisibleEditorRect): Return null instead of empty rectangle.
20985 * javax/swing/text/DefaultCaret.java:
20986 (clearHighlight): Removed if-clause to create a highlight entry if it
20987 did not exist before.
20988 * javax/swing/text/WrappedPlainView.java:
20989 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20990 removed 2nd part of if-expression.
20991 (WrappedLine.updateDamage): Added more documentation, added check
20992 whether allocation area rectangle is null.
20994 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20996 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20997 Reset to preferred sizes if the argument is negative.
20999 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
21001 * javax/swing/JList.java: Added/updated API docs.
21003 2006-05-03 Lillian Angel <langel@redhat.com>
21005 * javax/swing/JComponent.java
21006 (getRoot): New private function. Gets the root appropriate
21007 for painting. If an applet exists as a parent, then it is returned.
21008 (paintDoubleBuffered): Changed to use new function.
21009 * javax/swing/RepaintManager.java
21010 (getRoot): New private function. Gets the root appropriate
21011 for painting. If an applet exists as a parent, then it is returned.
21012 (getOffscreenBuffer): Changed to use new function.
21013 * javax/swing/SwingUtilties.java
21014 (getRoot): Reverted last patch to return Window, even if
21017 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21019 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
21020 a pair of one public keyring and one private keyring.
21021 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
21022 (containsCertificate): Added logging.
21023 (getCertificate): Likewise.
21024 (putCertificate): Likewsie.
21027 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21028 (containsPrivateKey): Added logging.
21029 (getPrivateKey): Likewise.
21030 (putPrivateKey): Likewise.
21031 (containsPublicKey): Likewise.
21032 (getPublicKey): Likewise.
21033 (putPublicKey): Likewise.
21034 (containsCertPath): Likewise.
21035 (getCertPath): Likewise.
21036 (putCertPath): Likewise.
21040 2006-05-03 Roman Kennke <kennke@aicas.com>
21042 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21043 * java/awt/AlphaComposite.java
21044 (createContext): Implemented.
21046 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21048 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21049 Set the current color again after drawing the raster.
21051 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21053 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21054 Do not check pos < currLineEnd if currLineStart == currLineEnd.
21056 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21058 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21059 Assign returned value to field handler.
21060 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21063 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21065 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21066 Return without action if there is no view in the viewport.
21067 * javax/swing/text/WrappedPlainView.java
21068 (WrappedLine.getPreferredSpan): If metrics == null, update
21070 * javax/swing/tree/DefaultTreeModel.java (constructors):
21071 Do not call setRoot, assign the root node directly.
21073 2006-05-02 Lillian Angel <langel@redhat.com>
21075 * javax/swing/SwingUtilities.java
21076 (getRoot): Should return the Applet if it exists.
21077 Only return the Window if an Applet has not been
21080 2006-05-02 Lillian Angel <langel@redhat.com>
21082 * gnu/javax/swing/text/html/parser/support/Parser.java
21083 (readAttributes): Reverted Audrius' last patch. There is
21084 a slight difference in code between the NUMTOKEN and SLASH case.
21086 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21088 * javax/swing/text/JTextComponent.java:
21089 (setText): Throw InternalError from catch-block.
21090 * javax/swing/text/GapContent.java:
21091 (removed): Removed if-expression, changed '>' to '>='.
21093 2006-05-02 Roman Kennke <kennke@aicas.com>
21095 * gnu/java/awt/java2d/AbstractGraphics2D.java
21096 (AA_SAMPLING): New constant.
21097 (alpha): New field. Used in the antialiasing renderer.
21098 (edgeTable): New field. Used in the antialiasing renderer.
21099 (AbstractGraphics2D): Initialize rendering hints wrt
21101 (draw): Clip after stroking. Commented out clipping for now,
21102 it seems to be buggy.
21103 (fill): Commented out clipping for now, it seems to be buggy.
21104 (setComposite): Don't create composite context.
21105 (setPaint): Only change paint when parameter is not null.
21106 (translate): Call setClip() so subclasses can update their clip
21108 (clip): Call setClip() so subclasses can update their clip
21110 (drawGlyphVector): Added clipping, but left it commented out
21111 because it's buggy.
21112 (getClipBounds): Returns null when clip is null.
21113 (drawLine): Call rawDrawLine with translation applied.
21114 (filLRect): Call rawFillRect with translation applied.
21115 (fillShape): Added support for anti-aliasing.
21116 (rawSetForeground(int,int,int)): New method.
21117 (rawFillShape): A couple of painting fixes.
21118 (fillScanline): Implemented to call rawDrawLine.
21119 (fillShapeAntialias): New method. Implements an anti-aliasing
21121 (fillScanlineAA): New method. Used for the anti-aliasing
21123 (fillScanlineAlpha): New method. Used for the anti-aliasing
21125 (init): Initialize clip with the device bounds.
21126 (updateOptimization): Fixed the optimization condition.
21128 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21130 * javax/swing/text/GapContent.java:
21131 (GapContent): Restrict size argument by 2.
21132 (insertString): Changed expression from >= to >.
21133 (remove): Changed right side of expression to 'length - 1', changed
21135 (getChars): Throw exception if where below 0.
21136 (replace): Replaced call to setPositionsInRange() with
21137 resetMarksAtZero(), removed note.
21139 2006-05-02 Roman Kennke <kennke@aicas.com>
21142 * javax/swing/MenuSelectionManager.java
21143 (setSelectedPath): Rewritten.
21145 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21147 * gnu/javax/swing/text/html/parser/support/Parser.java
21148 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21151 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21153 * tools/.cvsignore: Added keytool.sh.
21154 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21156 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21158 * doc/tools.texinfo: New file.
21159 * doc/Makefile.am: Generate tools documentation.
21161 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21163 * tools/keytool.sh.in: New file.
21164 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21165 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21166 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21167 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21168 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21169 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21170 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21171 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21172 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21173 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21174 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21175 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21176 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21177 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21178 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21179 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21180 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21181 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21183 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21185 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21186 resemble more closely man-page style text.
21187 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21188 Mark (Eclipse) strings that need not be externalised.
21189 (writeSF): Likewise.
21190 (writeDSA): Likewise.
21191 Use package-private Messages class to provide i18n-ready strings.
21193 Use package-private Messages class to provide i18n-ready strings.
21194 (updateEntry): Likewise.
21195 Mark (Eclipse) strings that need not be externalised.
21196 (finishSigning): Likewise.
21197 * tools/gnu/classpath/tools/jarsigner/Main.java:
21198 Mark (Eclipse) strings that need not be externalised.
21199 (main): Do not use constant strings as class name.
21200 Use package-private Messages class to provide i18n-ready strings.
21201 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21202 (processArgs): Do not use constant strings as class name.
21203 Mark (Eclipse) strings that need not be externalised.
21204 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21205 (start): Do not use constant strings as class name.
21206 (teardown): Likewise.
21208 (setupCommonParams): Do not use constant strings as class name.
21209 Use package-private Messages class to provide i18n-ready strings.
21210 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21211 (installNewProvider): Do not use constant strings as class name.
21213 (setupSigningParams): Do not use constant strings as class name.
21214 Use package-private Messages class to provide i18n-ready strings.
21215 Mark (Eclipse) strings that need not be externalised.
21216 (getCallbackHandler): Use CallbackUtil.
21217 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21218 Use package-private Messages class to provide i18n-ready strings.
21219 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21220 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21221 (verifySF): Likewise.
21222 (verifySFEntries): Do not use constant strings as class name.
21223 Use Boolean.valueOf instead of new Boolean().
21224 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21225 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21227 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21228 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21230 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21232 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21233 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21234 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21236 2006-05-01 Tom Tromey <tromey@redhat.com>
21238 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21240 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21241 (close): Synchronize.
21242 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21243 * java/nio/LongBufferImpl.java (compact): Rewrote.
21244 * java/nio/IntBufferImpl.java (compact): Rewrote.
21245 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21246 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21247 * java/nio/CharBufferImpl.java (compact): Rewrote.
21248 * gnu/java/nio/ChannelWriter.java: New file.
21249 * java/nio/channels/Channels.java (newWriter): Implemented.
21251 2006-05-01 Lillian Angel <langel@redhat.com>
21253 * java/util/SimpleTimeZone.java
21254 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21255 (SimpleTimeZone): Likewise.
21256 (checkRule): Rewritten to properly check all values (more efficently).
21257 This code is now more stable, at least less buggy than before. Fixed
21259 (setStartRule): Moved checkRule call to end.
21260 (setStartRule): Likewise.
21261 (setEndRule): Likewise.
21262 (setEndRule): Likewise.
21264 2006-05-01 Tom Tromey <tromey@redhat.com>
21266 * lib/.cvsignore: Added classes.2.
21268 2006-05-01 Tom Tromey <tromey@redhat.com>
21270 * java/util/jar/JarFile.java (provider): Now package-private.
21271 * java/lang/Enum.java (compareTo): Javadoc fix.
21272 * java/lang/Boolean.java (compareTo): Javadoc fix.
21274 2006-05-01 Lillian Angel <langel@redhat.com>
21276 * gnu/javax/swing/text/html/parser/support/Parser.java
21277 (readAttributes): Formatted function. Added handling for
21278 SLASH token. The value of an attribute may start with a slash
21279 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21280 We should not be skipping over these type of attributes.
21282 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21284 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21285 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21286 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21287 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21288 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21289 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21290 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21291 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21292 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21293 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21294 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21295 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21296 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21297 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21298 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21299 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21300 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21301 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21302 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21303 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21304 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21305 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21306 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21307 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21308 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21309 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21310 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21311 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21312 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21313 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21314 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21315 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21316 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21317 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21318 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21319 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21320 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21321 * include/gnu_java_awt_peer_qt_QMatrix.h,
21322 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21323 * include/gnu_java_awt_peer_qt_QPen.h,
21324 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21325 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21326 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21327 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21328 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21329 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21330 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21331 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21332 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21333 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21334 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21335 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21336 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21337 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21338 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21339 * include/gnu_java_awt_peer_qt_QtImage.h,
21340 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21341 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21342 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21343 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21344 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21345 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21346 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21347 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21348 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21349 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21350 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21351 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21352 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21353 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21354 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21355 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21356 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21357 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21358 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21359 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21360 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21361 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21362 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21363 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21364 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21365 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21366 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21367 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21368 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21369 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21370 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21371 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21372 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21373 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21374 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21375 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21376 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21377 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21378 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21379 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21380 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21381 * include/java_lang_VMProcess.h:
21383 * native/jni/java-lang/java_lang_VMProcess.c:
21384 Redirect when pipe_count is 2 not 3.
21386 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21388 * gnu/java/awt/font/FontDelegate.java,
21389 * gnu/java/awt/font/FontFactory.java,
21390 * gnu/java/awt/font/GNUGlyphVector.java,
21391 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21392 * gnu/java/awt/font/opentype/GlyphNamer.java,
21393 * gnu/java/awt/font/opentype/MacResourceFork.java,
21394 * gnu/java/awt/font/opentype/NameDecoder.java,
21395 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21396 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21397 * gnu/java/awt/font/opentype/Scaler.java,
21398 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21399 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21400 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21401 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21402 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21403 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21404 * gnu/java/awt/font/opentype/truetype/Zone.java,
21405 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21406 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21407 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21408 New files. Imported font framework from:
21409 http://www.brawer.ch/software/fonts/
21411 2006-04-30 Roman Kennke <kennke@aicas.com>
21413 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21414 (lastTabInRun): Fix calculation of the last tab in a run. This
21415 has caused painting problems sometimes, making the
21416 last tab painted incorrectly.
21418 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21421 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21422 Use for and not while to prevent the endless loop.
21424 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21426 * javax/swing/JList.java
21427 (paramString): Changed from public to protected.
21429 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21431 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21432 (printHelpAndExit): Re-factored to use the above method.
21434 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21436 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21437 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21438 * tools/gnu/classpath/tools/jarsigner/Main.java:
21439 Changed license to GPL + Exception.
21440 (handler): New field.
21441 (getCallbackHandler): New method.
21442 (setupSigningParams): Use above method.
21443 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21444 Changed license to GPL + Exception.
21445 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21446 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21447 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21448 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21450 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21452 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21453 (handleConfirmation): Use print instead of println.
21454 (handleConfirmation): When case is YES_NO_OPTION, print default option
21456 (handleLanguage): Use print instead of println.
21458 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21460 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21461 (putComponent): Handle O and OU components.
21462 (getDer): Use correct (it2) iterator.
21463 (readAttributeValue): Read next character and break if end-of-stream.
21465 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21467 * gnu/java/security/provider/Gnu.java (run):
21468 Add "RSA" as an alias to MD5withRSA.
21469 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21470 Always encode a NULL as the value of an algorithm parameters field.
21471 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21472 (encodePrivateKey): Added trace/log statements.
21473 (decodePrivateKey): Likewise.
21474 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21475 (setup): Added trace/log statements.
21476 (generate): Likewise.
21477 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21478 (toString): New method.
21479 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21481 (toString): New method.
21482 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21483 (getEncoded): Use defaultFormat.
21484 (toString): New method.
21485 * gnu/java/security/key/dss/DSSKey.java (toString):
21486 Include defaultFormat in string.
21487 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21488 Break if successfully decoded public key.
21489 (engineGeneratePrivate): Break if successfully decoded private key.
21491 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21493 * java/security/Security.java <clinit>: Add our Callback provider.
21494 * resource/java/security/classpath.security: Likewise
21496 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21499 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21500 Decide about scroll bars from the preferred view size, not
21502 * javax/swing/ViewportLayout.java (layoutContainer):
21503 Do not change returned preferred size. Do not treat JScrollPane
21506 2006-04-28 Sven de Marothy <sven@physto.se>
21508 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21509 * javax/swing/ProgressMonitor.java (actionPerformed):
21510 Avoid divide-by-zero.
21512 2006-04-28 Sven de Marothy <sven@physto.se>
21514 * javax/swing/JSpinner.java: Fix default text justification.
21515 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21517 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21519 * javax/swing/JList.java
21520 (getMinSelectionIndex): Return correct value, added API docs,
21521 (getMaxSelectionIndex): Added API docs.
21523 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21525 * javax/swing/JList.java
21526 (JList(Object[])): Pass new model directly to init(),
21527 (JList(Vector)): Likewise,
21528 (JList(ListModel)): Renamed argument and updated API docs,
21529 (init): Throw IllegalArgumentException for null argument,
21530 (setListData(Object[])): Delegate model creation,
21531 (setListData(Vector)): Likewise,
21532 (createListModel(Object[])): New private method,
21533 (createListModel(Vector)): New private method,
21534 (paramString): Implemented.
21536 2006-04-28 Tom Tromey <tromey@redhat.com>
21538 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21540 (isSynthetic): Likewise.
21541 (isAnnotation): Likewise.
21542 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21543 (isAnnotation): Likewise.
21544 (isEnum): Likewise.
21546 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21548 * javax/swing/text/View.java:
21549 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21552 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21554 * javax/swing/text/View.java:
21555 (getNextVisualPositionFrom): Rewritten.
21556 * javax/swing/text/CompositeView.java:
21557 (getNextEastWestVisualPositionFrom): Partly implemented.
21558 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21560 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21562 * javax/swing/JList.java
21563 (setFixedCellHeight): Use correct property name for event.
21565 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21567 * javax/swing/text/Utilities.java:
21568 (getNextWord): Use codePointAt instead of charAt, added note, changed
21569 if-expression, added throwing of exception.
21570 (getPreviousWord): Use codePointAt instead of charAt.
21572 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21574 * java/lang/StringBuilder.java
21575 (ensureCapacity, getChars, append(StringBuffer),
21576 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21577 insert(int,String), insert(int,char), trimToSize): Replaced
21578 System.arraycopy calls with VMSystem.arraycopy.
21580 2006-04-27 Tom Tromey <tromey@redhat.com>
21582 * java/awt/image/renderable/RenderableImageProducer.java
21583 (requestTopDownLeftRightResend): Implemented.
21585 (startProduction): Add new consumer.
21587 2006-04-27 Sven de Marothy <sven@physto.se>
21589 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21591 2006-04-27 Roman Kennke <kennke@aicas.com>
21593 * java/awt/LightweightDispatcher.java
21594 Dispatch events only to targets that have a mouselistener
21595 attached. Changed to also handle null targets.
21597 2006-04-27 Roman Kennke <kennke@aicas.com>
21599 * NEWS: Added entries about accessibility support and L&F
21600 window decorations.
21602 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21604 * javax/swing/text/Utilities.java:
21605 (getTabbedTextOffset): Introduced width variable, rewritten the check
21606 which ends the loop.
21607 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21610 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21612 * examples/gnu/classpath/examples/swing/TreeDemo.java
21613 (createContent): Added root visibility and selection listener demos.
21614 * javax/swing/JTree.java (setRootVisible): If false, unselect
21615 the root node, if it is selected.
21616 * javax/swing/plaf/basic/BasicTreeUI.java
21617 (TreeTraverseAction.actionPerformed): Do not select the root if it
21619 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21620 removeSelectionPaths): Reset lead to null if the current lead path is
21621 removed from selection.
21622 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21623 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21624 Return the same path regardless is root visible or not. (update):
21625 Reduce the identation if the root is not visible.
21626 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21627 Return the same path regardless is root visible or not. (update):
21628 Reduce the identation if the root is not visible.
21630 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21632 * javax/swing/plaf/basic/BasicTreeUI.java
21633 (TreeAction.actionPerformed):Newly obtain the current lead
21634 path that must stay visible.
21635 (TreeTraverseAction.actionPerformed):Rewritten.
21636 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21637 Do not treat root specially. (setModel): Assume the root node
21638 initially expanded.
21639 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21640 Do not treat root specially. (setModel): Assume the root node
21641 initially expanded.
21643 2006-04-26 Chris Burdess <dog@gnu.org>
21646 * javax/xml/datatype/DatatypeFactory.java: Use complete
21647 implementation resolution mechanism.
21649 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21651 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21653 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21654 Removed NoImplementException form the implemented method.
21656 2006-04-26 Tom Tromey <tromey@redhat.com>
21658 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21661 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21663 * javax/swing/DefaultListSelectionModel.java
21664 (clone): Initialise empty listener list,
21665 (setSelectionMode): Throw IllegalArgumentException for bad input.
21667 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21669 * javax/swing/DefaultListSelectionModel.java
21670 (clearSelection): Clear the Bitset.
21672 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21674 * javax/swing/JTree.java (setLeadSelectionPath):
21675 Repaint the new and old lead pathes.
21676 * javax/swing/plaf/basic/BasicTreeUI.java
21677 (FocusHandler): Repaint the lead row when focus changes.
21678 (PropertyChangeHandler): Use existing constants, not the
21679 string literals for the property names.
21680 (TreeIncrementAction): Shrink the selection when moving
21681 from the selection edge to the selection anchor.
21682 (TreeSelectionHandler.valueChanged): Repaint the
21683 new and old lead pathes.
21684 (paintRow): Treat row as focused only if it is the lead row.
21685 * javax/swing/tree/DefaultTreeCellRenderer.java
21686 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21687 (paint): Rewritten.
21688 * javax/swing/tree/DefaultTreeSelectionModel.java
21689 (addSelectionPath): Event construction fix (old and new lead were
21691 (addSelectionPaths): Likewise.
21692 * javax/swing/JComponent.java (setOpaque): Explained.
21693 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21695 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21698 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21700 * examples/gnu/classpath/examples/swing/TreeDemo.java
21701 (createContent): Call DefaultTreeModel.reload(), not the
21702 tree.repaint(). Expand the parent of the added node.
21703 * javax/swing/JTree.java (constructor): Do not call
21704 UpdateUI (and documented why). (treeDidChange):
21705 Added comment, excluding the misinterpretation of this method.
21706 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21707 focusListener, keyListener, mouseListener, propertyListener,
21708 selectionModelPropertyChangeListener, treeModelListener,
21709 treeSelectionListener): Made package private.
21710 (PropertyChangeHandler): If the model changes, install the
21711 listener on it. (installUI): Assign treeModel.
21712 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21713 comment, excluding misinterpretation.
21714 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21715 (reload(TreeNode)): Implemented.
21717 2006-04-25 Tom Tromey <tromey@redhat.com>
21719 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21720 * javax/swing/tree/VariableHeightLayoutCache.java
21721 (getVisiblePathsFrom): Genericized.
21722 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21725 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21727 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21728 If clicked on the other row, cancel the current editing session.
21730 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21732 * javax/swing/plaf/basic/BasicTreeUI.java
21733 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21734 (paintExpandControl): Always paint in one gap distance from the left
21735 border of the path bounds.
21736 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21737 into consideration.
21738 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21741 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21743 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21745 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21747 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21748 Allow slashes (/) in the unquoted parameter value.
21750 2006-04-25 Roman Kennke <kennke@aicas.com>
21752 * gnu/java/awt/java2d/AbstractGraphics2D.java
21753 (drawString(String,int,int)): Implemented.
21754 (drawString(String,float,float)): Implemented.
21755 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21756 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21757 (getFontRenderContext): Implemented.
21758 (drawGlyphVector): Implemented.
21759 (getFont): Implemented.
21760 (setFont): Don't change font setting when null.
21761 (getFontMetrics): Implemented.
21762 (fillShape): Re-written to fill call rawFillShape() with a list
21763 of the edges instead of double arrays.
21764 (rawFillShape): Implemented using a polygon scanline conversion.
21765 (fillScanline): New helper method.
21766 (init): Initialize foreground black. Set font.
21767 * gnu/java/awt/java2d/PolyEdge.java: New file.
21768 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21770 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21772 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21774 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21776 * javax/swing/JTable.java: Fixed API doc tags,
21777 * javax/swing/text/AsyncBoxView.java: Likewise,
21778 * javax/swing/text/FlowView.java: Likewise.
21780 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21782 * javax/swing/table/DefaultTableColumnModel.java
21783 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21785 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21787 * javax/swing/table/DefaultTableColumnModel.java
21788 (DefaultTableColumnModel): Set selection model field and add 'this' as
21790 (addColumn): Add 'this' as a PropertyChangeListener,
21791 (removeColumn): Remove column before firing event, and remove 'this' as
21792 a PropertyChangeListener,
21793 (setSelectionModel): Remove 'this' as a listener from old model,
21794 (propertyChange): Check for 'width' property rather than
21795 TableColumn.COLUMN_WIDTH_PROPERTY.
21797 2006-04-24 Chris Burdess <dog@gnu.org>
21800 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21801 attributes when no doctype exists.
21803 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21805 * javax/swing/event/ChangeEvent.java: Updated API docs,
21806 * javax/swing/event/ChangeListener.java: Likewise,
21807 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21808 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21809 * javax/swing/table/TableColumnModel.java: Likewise.
21811 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21813 * javax/swing/text/Utilities.java:
21814 (getBreakLocation): Introduced shift variable, added notes.
21815 * javax/swing/text/WrappedPlainView.java:
21816 (calculateBreakPosition): Decrease allocation area bounds by insets,
21817 added early return when allocation area is empty, provide start offset
21819 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21820 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21821 numLines after loop.
21822 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21823 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21824 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21825 decreasing variable end by one, changed break condition in while-loop,
21826 added check for return value.
21827 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21828 allocation area is empty.
21830 2006-04-24 Sven de Marothy <sven@physto.se>
21832 * gnu/java/awt/java2d/Segment.java: New file.
21833 * gnu/java/awt/java2d/CubicSegment.java: New file.
21834 * gnu/java/awt/java2d/QuadSegment.java: New file.
21835 * gnu/java/awt/java2d/LineSegment.java: New file.
21836 * java/awt/BasicStroke.java
21837 (start): New field.
21839 (createStrokedShape): Implemented.
21840 (solidStroke): New method.
21841 (dashedStroke): New method.
21842 (capEnds): New method.
21843 (convertPath): New method.
21844 (addSegments): New method.
21845 (capEnd): New method.
21846 (lineIntersection): New method.
21847 (joinSegments): New method.
21849 2006-04-24 Roman Kennke <kennke@aicas.com>
21851 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21854 (clip): Changed clip to be in user space not in target space.
21855 (isOptimized): Added flag to allow optimized drawing for
21856 primitive operations (e.g. for Swing).
21857 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21858 with the paint context etc.
21859 (draw): Clip the shape before drawing it.
21860 (fill): Clip the shape before drawing it.
21861 (setComposite): Update isOptimized flag.
21862 (setPaint): Likewise.
21863 (setStroke): Likewise.
21864 (translate): Update the clip.
21865 (rotate): Likewise.
21868 (transform): Likewise.
21869 (setTransform): Likewise.
21870 (clip): Added optimization for rectangle clips.
21871 (create): Implemented.
21872 (clone): New method.
21873 (setFont): Basic implementation.
21874 (setClip): Update opimization flag.
21875 (drawLine): Added possible optimization.
21876 (fillRect): Added possible optimization.
21877 (fillShape): Implemented shape-filling by filling the flattended
21878 shape using polygon fill.
21879 (drawPixel): Added basic painting.
21880 (rawSetPixel): Changed signature to only take coordinates.
21881 (rawSetForeground): New abstract method.
21882 (getUserBounds): Implemented default for this method.
21883 (rawDrawLine): New method.
21884 (rawFillRect): New method.
21885 (rawFillPolygon): New method.
21886 (init): New method.
21887 (updateOptimization): New method.
21888 (computeIntersection): New method.
21889 (updateClip): New method.
21890 (clipShape): New method.
21892 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21894 * java/lang/Package.java: Added compatibility constructor to ease
21895 VM interface migration.
21897 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21899 * java/lang/Class.java (getEnumConstants): Implemented without
21900 delegating to VMClass.
21901 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21903 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21905 * java/lang/ClassLoader.java (definePackage): Added argument to
21906 Package constructor.
21907 * java/lang/Package.java (Package): Added ClassLoader argument.
21908 (loader): New field.
21909 (getDeclaredAnnotations): Implemented without help from VMPackage.
21910 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21911 to Package constructor.
21912 * vm/reference/java/lang/VMPackage.java: Removed.
21914 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21916 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21917 (createContent): Added check box to swith between single and
21918 multiple selection.
21919 * javax/swing/JTree.java (leadSelectionPath): Removed.
21920 (addSelectionInterval): Explained. (getLeadSelectionPath):
21921 Request the path from model. (getPathsBetweenRows): Explained.
21922 (setLeadSelectionPath): Set the path in model.
21923 * javax/swing/plaf/basic/BasicTreeUI.java
21924 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21925 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21926 (MouseHandler.mousePressed): Call selectPathForEvent.
21928 2006-04-23 Roman Kennke <kennke@aicas.com>
21930 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21932 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21935 Mention changes to VMProcess and VMSystem.
21936 * doc/vmintegration.texinfo:
21937 Change documentation on VMProcess and VMSystem.
21938 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21939 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21940 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21941 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21942 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21943 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21944 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21945 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21946 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21947 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21948 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21949 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21950 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21951 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21952 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21953 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21954 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21955 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21956 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21957 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21958 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21959 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21960 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21961 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21962 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21963 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21964 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21965 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21966 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21967 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21968 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21969 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21970 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21971 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21972 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21973 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21974 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21975 * include/gnu_java_awt_peer_qt_QMatrix.h,
21976 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21977 * include/gnu_java_awt_peer_qt_QPen.h,
21978 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21979 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21980 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21981 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21982 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21983 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21984 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21985 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21986 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21987 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21988 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21989 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21990 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21991 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21992 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21993 * include/gnu_java_awt_peer_qt_QtImage.h,
21994 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21995 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21996 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21997 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21998 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21999 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22000 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22001 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22002 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22003 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22004 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22005 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22006 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22007 * include/gnu_java_awt_peer_qt_QtToolkit.h,
22008 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22009 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22010 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22011 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22012 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22013 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22014 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22015 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22016 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22017 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22018 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22019 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22020 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22021 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22022 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22023 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22024 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22025 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22026 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22027 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22028 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22029 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22030 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22031 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22032 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22033 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22034 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22035 * include/java_lang_VMProcess.h,
22036 * include/java_lang_VMSystem.h:
22037 Regenerated with GCJ 4.1.
22039 2006-04-22 Casey Marshall <csm@gnu.org>
22041 Fixes PR classpath/27228.
22042 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22043 (initialize): also accept `DHParameterSpec.'
22044 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22045 handle a passed-in `DHParameterSpec' properly.
22046 (generate): don't check if the random exponent is less than `q -
22047 1' if no `q' was specified.
22049 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22051 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22052 Only repaint the patches, speficied in the passed event.
22053 (expandPath): Do nothing if the path is already expanded.
22054 (scrollPathToVisible): Only scroll to visible, do nothing else.
22055 * javax/swing/plaf/basic/BasicTreeUI.java
22056 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22057 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22058 (TreeTraverseAction.actionPerformed): Collapse the node on the
22059 action "selectParent". (selectPath): Rewritten.
22060 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22061 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22062 Do not reuse selection array.
22063 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22065 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22068 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22070 * javax/swing/tree/DefaultTreeSelectionModel.java
22071 (addSelectionPath): If the path cannot be added, set it.
22072 (addSelectionPaths): Call insureRowContinuity.
22073 (arePathsContiguous): Implemented.
22074 (canPathBeAdded): New private method.
22075 (canPathsBeAdded): Implemented.
22076 (canPathsBeRemoved): Implemented.
22077 (getPath): New private method.
22078 (insureRowContinuity): Implemented.
22079 (removeSelectionPath): Call insureRowContinuity.
22080 (removeSelectionPaths): Call insureRowContinuity.
22081 (resetRowSelection): Removed stub marking, not used in implementation
22082 (nothing to do there).
22083 (selectOne): New private method.
22084 (setSelectionMode) Call insureRowContinuity.
22085 (setSelectionPaths) Remove the current selection by clearing it.
22087 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
22089 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22090 parameters consistendly, documented some methods.
22091 * java/sql/Blob.java: Likewise.
22092 * java/sql/CallableStatement.java: Likewise.
22093 * java/sql/Clob.java: Likewise.
22094 * java/sql/Connection.java: Likewise.
22095 * java/sql/DatabaseMetaData.java: Likewise.
22096 * java/sql/Date.java: Likewise.
22097 * java/sql/Driver.java: Likewise.
22098 * java/sql/PreparedStatement.java: Likewise.
22099 * java/sql/ResultSet.java: Likewise.
22100 * java/sql/ResultSetMetaData.java: Likewise.
22101 * java/sql/SQLData.java: Likewise.
22102 * java/sql/SQLOutput.java: Likewise.
22103 * java/sql/SQLWarning.java: Likewise.
22104 * java/sql/Statement.java: Likewise.
22105 * java/sql/Time.java: Likewise.
22106 * java/sql/Timestamp.java: Likewise.
22108 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22110 * java/lang/reflect/AccessibleObject.java:
22111 Implemented AnnotatedElement.
22112 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22113 isAnnotationPresent): New methods.
22115 2006-04-21 Tom Tromey <tromey@redhat.com>
22117 PR classpath/27163:
22118 * gnu/java/net/protocol/ftp/FTPConnection.java
22119 (changeWorkingDirectory): Do nothing if path is empty.
22121 2006-04-21 Tom Tromey <tromey@redhat.com>
22124 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22125 case where no '/' appears in 'location'.
22127 2006-04-21 Tom Tromey <tromey@redhat.com>
22129 * java/security/Security.java (<clinit>): Add all default providers.
22130 * resource/java/security/classpath.security: Added comment.
22132 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22134 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22135 * javax/swing/SpinnerNumberModel.java: Likewise.
22137 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22139 * javax/swing/SpinnerDateModel.java
22140 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22141 checking to call compareTo() on start and end.
22143 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22145 * javax/swing/border/AbstractBorder.java: API doc updates,
22146 * javax/swing/border/BevelBorder.java: Likewise,
22147 * javax/swing/border/CompoundBorder.java: Likewise,
22148 * javax/swing/border/EtchedBorder.java: Likewise,
22149 * javax/swing/border/LineBorder.java: Likewise,
22150 * javax/swing/border/MatteBorder.java: Likewise,
22151 * javax/swing/border/TitledBorder.java: Likewise.
22153 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22155 * gnu/javax/crypto/cipher/Anubis.java:
22156 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22158 * gnu/javax/crypto/cipher/Blowfish.java:
22159 (selfTest): Likewise,
22160 * gnu/javax/crypto/cipher/Cast5.java:
22161 (selfTest): Likewise,
22162 * gnu/javax/crypto/cipher/Khazad.java:
22163 (selfTest): Likewise,
22164 * gnu/javax/crypto/cipher/Rijndael.java:
22165 (selfTest): Likewise,
22166 * gnu/javax/crypto/cipher/Serpent.java:
22167 (selfTest): Likewise,
22168 * gnu/javax/crypto/cipher/Square.java:
22169 (selfTest): Likewise,
22170 * gnu/javax/crypto/cipher/Twofish.java:
22171 (selfTest): Likewise,
22172 * gnu/javax/crypto/mac/UMac32.java:
22173 (selfTest): Likewise,
22174 * gnu/javax/crypto/prng/CSPRNG.java:
22175 (getSystemInstance): Likewise.
22177 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22179 * gnu/java/security/hash/Haval.java:
22180 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22182 * gnu/java/security/hash/MD2.java:
22183 (selfTest): Likewise,
22184 * gnu/java/security/hash/MD4.java:
22185 (selfTest): Likewise,
22186 * gnu/java/security/hash/MD5.java:
22187 (selfTest): Likewise,
22188 * gnu/java/security/hash/RipeMD128.java:
22189 (selfTest): Likewise,
22190 * gnu/java/security/hash/RipeMD160.java:
22191 (selfTest): Likewise,
22192 * gnu/java/security/hash/Sha160.java:
22193 (selfTest): Likewise,
22194 * gnu/java/security/hash/Sha256.java:
22195 (selfTest): Likewise,
22196 * gnu/java/security/hash/Sha384.java:
22197 (selfTest): Likewise,
22198 * gnu/java/security/hash/Sha512.java:
22199 (selfTest): Likewise,
22200 * gnu/java/security/hash/Tiger.java:
22201 (selfTest): Likewise,
22202 * gnu/java/security/hash/Whirlpool.java:
22203 (selfTest): Likewise.
22205 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22207 * javax/swing/plaf/basic/BasicTreeUI.java
22208 (PropertyChangeHandler.propertyChange): Set the row mapper
22209 for the selection model.
22210 * javax/swing/tree/AbstractLayoutCache.java
22211 (NodeDimensions.getNodeDimensions): Explained.
22212 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22213 Implemented. (setRowHeight): Invalidate sizes.
22214 * javax/swing/tree/DefaultTreeSelectionModel.java
22215 (addSelectionPath, addSelectionPaths): Update lead row.
22216 (removeSelectionPath, removeSelectionPaths): Do nothing if
22217 selection is empty.
22218 (clone): Only clone list selection model if it is not null.
22219 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22220 setSelectionPath, setSelectionPaths, toString): Implemented.
22221 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22222 Pass the empty rectangle. (isFixedRowHeight): New method.
22223 * javax/swing/tree/VariableHeightLayoutCache.java
22224 (NodeRecord.getBounds): Pass the empty rectangle.
22226 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22228 * gnu/java/security/Properties.java
22229 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22231 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22233 * gnu/classpath/jdwp/util/Value.java
22234 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22235 creating new Boolean instances.
22237 2006-04-20 Mark Wielaard <mark@klomp.org>
22239 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22240 PrivilegedAction. Access awt.toolkit through SystemProperties.
22242 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22244 * javax/swing/ActionMap.java: Removed unused imports,
22245 * javax/swing/DefaultListSelectionModel.java
22246 (clearSelection): Removed unused label,
22247 * javax/swing/JScrollPane.java: Removed unused imports,
22248 * javax/swing/UIManager.java: Likewise,
22249 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22251 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22253 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22254 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22255 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22256 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22257 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22259 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22261 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22262 * java/sql/Blob.java: Likewise,
22263 * java/sql/CallableStatement.java: Likewise,
22264 * java/sql/Clob.java: Likewise,
22265 * java/sql/Connection.java: Likewise,
22266 * java/sql/DatabaseMetaData.java: Likewise,
22267 * java/sql/Date.java: Likewise,
22268 * java/sql/Driver.java: Likewise,
22269 * java/sql/PreparedStatement.java: Likewise,
22270 * java/sql/ResultSet.java: Likewise,
22271 * java/sql/ResultSetMetaData.java: Likewise,
22272 * java/sql/SQLData.java: Likewise,
22273 * java/sql/SQLOutput.java: Likewise,
22274 * java/sql/SQLWarning.java: Likewise,
22275 * java/sql/Statement.java: Likewise,
22276 * java/sql/Time.java: Likewise,
22277 * java/sql/Timestamp.java: Likewise.
22279 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22281 * java/sql/DriverManager.java
22282 (setLoginTimeout): Use incoming argument,
22283 (setLogStream): Likewise,
22284 (println): Fix API doc comment.
22286 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22288 * javax/swing/JMenuItem.java
22289 (paramString): Updated API docs,
22290 (getAccessibleContext): Added API docs,
22291 (AccessibleJMenuItem.stateChanged): Marked as stub,
22292 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22293 * javax/swing/JSlider.java
22294 (paramString): Fix for API docs,
22295 * javax/swing/JToolTip.java
22296 (getAccessibleContext): Fix for API docs.
22298 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22300 * javax/swing/JRadioButtonMenuItem.java
22301 (paramString): Reimplemented,
22302 (getAccessibleContext): API docs added,
22303 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22305 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22307 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22309 * javax/swing/plaf/basic/BasicTreeUI.java
22310 (finish): Invalidate path bounds.
22311 (getMaxHeight): Set the row height to the layout cache.
22312 (startEditing): Do not request to recalculated
22313 row height and preferred size.
22314 * javax/swing/tree/DefaultTreeCellEditor.java
22315 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22317 * javax/swing/tree/FixedHeightLayoutCache.java:
22320 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22322 * javax/swing/JDesktopPane.java
22323 (paramString): Reimplemented,
22324 plus API doc updates in AccessibleJDesktopPane.
22326 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22328 * javax/swing/ImageIcon.java:
22329 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22330 (AccessibleImageIcon.getLocale): Declared exception and always return
22332 (getAccessibleContext): Updated API docs,
22333 plus updated API docs all over AccessibleImageIcon.
22335 2006-04-20 Roman Kennke <kennke@aicas.com>
22338 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22339 (paintText): Fetch the ascent only once. Add the ascent to
22340 the text rect also when tabs are disabled.
22342 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22344 * java/util/Locale.java (defaultLocale): Set to en_US per
22345 default and use user.country but prioritize user.region if
22347 (getLocale(String language, String country)): Renamed region to
22349 (getLocale(String language, String region, String variant)):
22351 (getAvailableLocales): Likewise.
22353 2006-04-20 Roman Kennke <kennke@aicas.com>
22356 * javax/swing/JList.java
22357 (JList()): Call init() with DefaultListModel instance.
22358 (JList(Object[])): Call init() with null.
22359 (JList(Vector)): Call init() with null.
22360 (JList(ListModel)): Call init() with model.
22361 (init): Changed to take the model as argument. Don't call
22362 setter methods and initialize stuff directly instead.
22363 (getCellBounds): Check if UI is null.
22365 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22367 * javax/swing/text/WrappedPlainView.java: Initialize
22368 WrappedLine.numLines with -1.
22369 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22370 numLines is -1 and reculcalate the value appropriately.
22371 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22372 allocation area is empty.
22374 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22376 * javax/swing/JTabbedPane.java
22377 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22378 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22379 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22380 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22381 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22382 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22383 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22384 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22385 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22386 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22387 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22388 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22389 (Page.getAccessibleStateSet): Likewise,
22390 (Page.getAccessibleIndexInParent): Likewise.
22392 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22394 * javax/swing/JProgressBar.java
22395 (paramString): Reimplemented.
22397 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22399 * javax/swing/JButton.java: Updated API docs all over.
22401 2006-04-19 Roman Kennke <kennke@aicas.com>
22403 * java/awt/Toolkit.java
22404 (getDefaultToolkit): Use system classloader to load the
22407 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22409 * javax/swing/text/DefaultCaret.java:
22410 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22411 instead of DefaultCaret.setDot.
22413 2006-04-19 Roman Kennke <kennke@aicas.com>
22415 * native/jni/java-net/local.c
22416 (local_read): Handle EINTR correctly.
22417 (local_write): Likewise.
22419 2006-04-19 Riccardo Mottola <multix@gmail.com>
22421 PR classpath/27062, PR classpath/25650:
22422 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22424 2006-04-19 Tom Tromey <tromey@redhat.com>
22426 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22427 value of 'pureMinutes'. PR classpath/27189.
22429 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22431 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22432 boot packages list from the META-INF/INDEX.LIST file if it exists.
22434 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22436 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22437 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22438 (ITERATION_COUNT): Removed modifiers.
22439 (PASSWORD): Likewise.
22441 (PASSWORD_ENCODING): New property.
22442 (DEFAULT_PASSWORD_ENCODING): New constant.
22443 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22444 material (bytes) before a password (chars).
22446 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22448 * javax/swing/JMenu.java
22449 (getAccessibleChildrenCount): Marked as stub,
22450 (getAccessibleChild): Likewise,
22451 (getAccessibleSelection): Likewise,
22452 (getAccessibleSelection(int)): Likewise,
22453 (isAccessibleChildSelected): Likewise,
22454 (getAccessibleSelectionCount): Likewise,
22455 (addAccessibleSelection): Likewise,
22456 (removeAccessibleSelection): Likewise,
22457 (clearAccessibleSelection): Likewise,
22458 (selectAllAccessibleSelection): Likewise.
22460 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22462 * javax/swing/JSplitPane.java
22463 (getAccessibleContext): Added API docs,
22464 (paramString): Reimplemented,
22465 (setOrientation): Updated API docs,
22466 (setResizeWeight): Added argument checking and event notification.
22468 2006-04-18 Casey Marshall <csm@gnu.org>
22470 Fixes PR classpath/25673
22471 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22472 property is set. Update JavaDoc to reflect this.
22474 2006-04-18 Lillian Angel <langel@redhat.com>
22476 * gnu/xml/dom/DomDocument.java
22477 (setCheckingCharacters): New function used to set
22478 checkingCharacters flag.
22479 * gnu/xml/dom/html2/DomHTMLParser.java
22480 (parseDocument): Added call to set checkingCharacters flag
22483 2006-04-18 Lillian Angel <langel@redhat.com>
22485 * gnu/xml/dom/DomDocument.java
22486 (checkNCName): Reverted last patch. Added check for colon at
22487 last position back in.
22489 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22491 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22493 * examples/gnu/classpath/examples/swing/Demo.java:
22494 (mkMenuBar): Added NavigationFilter demo.
22496 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22498 * javax/swing/JSeparator.java: Updated API docs all over, plus
22499 (setOrientation): Fire PropertyChangeEvent,
22500 (paramString): Reimplemented.
22502 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22504 * javax/swing/plaf/basic/BasicTextUI.java:
22505 (getNextVisualPositionFrom): Implemented.
22507 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22509 * javax/swing/JPanel.java: Updated API docs all over, plus
22510 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22511 double-buffer flag.
22513 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22515 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22517 * examples/gnu/classpath/examples/swing/Demo.java:
22518 (mkMenuBar): Added DocumenFilter demo.
22520 2006-04-18 Tom Tromey <tromey@redhat.com>
22522 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22524 2006-04-18 Mark Wielaard <mark@klomp.org>
22526 Reported by John Sullivan (johns@fsf.org)
22527 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22529 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22531 * javax/swing/JInternalFrame.java
22532 (JDesktopIcon.getAccessibleContext): Added API docs,
22533 (getDefaultCloseOperation): Likewise,
22534 (paramString): Added 'title' attribute,
22535 (setDefaultCloseOperation): Added API docs.
22537 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22539 * javax/swing/JSlider.java
22540 (paramString): Reimplemented.
22542 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22544 * javax/swing/JComboBox.java
22545 (paramString): Reimplemented,
22546 (getAccessibleContext): Added API docs,
22547 (AccessibleJComboBox.getAccessibleRole): Likewise.
22549 2006-04-18 Roman Kennke <kennke@aicas.com>
22551 * javax/swing/RepaintManager.java
22552 (dirtyComponentsWork): New field.
22553 (ComponentComparator): Use dirtyComponentsWork instead of
22555 (RepaintManager): Initialize new field.
22556 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22557 and work on the copy.
22559 2006-04-18 Roman Kennke <kennke@aicas.com>
22561 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22562 (setBounds): Call reshape().
22563 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22564 (SwingContainerPeer): Changed argument to be a Component
22565 instead a Container.
22566 (getInsets): Call insets().
22567 (handleMouseEvent): Added null check to avoid NPE.
22568 (handleMouseMotionEvent): Added null check to avoid NPE.
22570 2006-04-18 Roman Kennke <kennke@aicas.com>
22573 * javax/swing/JComponent.java
22574 (paintChildrenWithOverlap): When one child is not opaque, propagate
22575 the dirty rectangles to the next child.
22576 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22577 This actually didn't work right and probably gained nothing.
22579 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22581 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22582 (moveToCellBeingEdited): Do not clone the rectangle here.
22584 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22586 * javax/swing/plaf/basic/BasicSliderUI.java
22587 (getActionMap): Fixed lookup key,
22588 (createActionMap): Modified actions to fetch slider/ui from the event
22591 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22593 * java/lang/Enum.java: Documented.
22595 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22597 * gnu/java/lang/InstrumentationImpl.java:
22598 Moved from java.lang.
22599 * java/lang/InstrumentationImpl.java:
22601 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22602 Moved from java.lang.
22603 * vm/reference/java/lang/VMClassLoader.java:
22604 Corrected reference to InstrumentationImpl.
22605 * vm/reference/java/lang/VMInstrumentationImpl.java:
22608 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22610 * java/lang/annotation/Annotation.java:
22613 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22615 * javax/swing/JToolBar.java
22616 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22617 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22618 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22619 (getAccessibleContext): Likewise.
22621 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22624 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22626 * native/fdlibm/Makefile.am,
22627 native/jni/classpath/Makefile.am:
22628 Don't use -module and -version-info for convenience libraries LDFLAGS.
22629 Fixes libtool warnings.
22631 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22633 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22634 (installKeyboardActions): Marked as stub,
22635 (uninstallKeyboardActions): Likewise,
22636 * javax/swing/plaf/basic/BasicComboPopup.java:
22637 (installKeyboardActions): Marked as stub,
22638 (uninstallKeyboardActions): Likewise,
22639 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22640 (installKeyboardActions): Marked as stub,
22641 (uninstallKeyboardActions): Likewise,
22642 * javax/swing/plaf/basic/BasicLabelUI.java:
22643 (installKeyboardActions): Marked as stub,
22644 (uninstallKeyboardActions): Likewise,
22645 * javax/swing/plaf/basic/BasicListUI.java:
22646 (installKeyboardActions): Marked as stub,
22647 (uninstallKeyboardActions): Likewise,
22648 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22649 (installKeyboardActions): Marked as stub,
22650 (uninstallKeyboardActions): Likewise,
22651 * javax/swing/plaf/basic/BasicMenuUI.java:
22652 (installKeyboardActions): Marked as stub,
22653 (uninstallKeyboardActions): Likewise,
22654 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22655 (installKeyboardActions): Marked as stub,
22656 (uninstallKeyboardActions): Likewise,
22657 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22658 (installKeyboardActions): Marked as stub,
22659 (uninstallKeyboardActions): Likewise,
22660 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22661 (installKeyboardActions): Marked as stub,
22662 (uninstallKeyboardActions): Likewise,
22663 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22664 (installKeyboardActions): Marked as stub,
22665 (uninstallKeyboardActions): Likewise,
22666 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22667 (installKeyboardActions): Marked as stub,
22668 (uninstallKeyboardActions): Likewise,
22669 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22670 (installKeyboardActions): Marked as stub,
22671 (uninstallKeyboardActions): Likewise,
22672 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22673 (installKeyboardActions): Marked as stub,
22674 (uninstallKeyboardActions): Likewise,
22675 * javax/swing/plaf/basic/BasicTableUI.java:
22676 (installKeyboardActions): Marked as stub,
22677 (uninstallKeyboardActions): Likewise,
22678 * javax/swing/plaf/basic/BasicTextUI.java:
22679 (installKeyboardActions): Marked as stub,
22680 (uninstallKeyboardActions): Likewise,
22681 * javax/swing/plaf/basic/BasicToolBarUI.java:
22682 (installKeyboardActions): Marked as stub,
22683 (uninstallKeyboardActions): Likewise.
22685 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22687 * javax/swing/plaf/basic/BasicSliderUI.java
22688 (installKeyboardActions): Implemented,
22689 (uninstallKeyboardActions): Implemented,
22690 (scrollByBlock): Accept any value for direction,
22691 (scrollByUnit): Likewise,
22692 (getInputMap): New method,
22693 (getActionMap): New method,
22694 (createActionMap): New method.
22697 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22699 * doc/vmintegration.texinfo:
22702 2006-04-16 Tom Tromey <tromey@redhat.com>
22704 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22706 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22709 Mention generics additions to the VM interface.
22710 * doc/vmintegration.texinfo:
22711 Added information on VMClass 1.5 additions and
22714 2006-04-16 Casey Marshall <csm@gnu.org>
22716 * NEWS: add an entry mentioning local socket support.
22718 2006-04-16 Casey Marshall <csm@gnu.org>
22720 * configure.ac (--enable-local-sockets): new enable argument.
22721 (ENABLE_LOCAL_SOCKETS): new define.
22722 * native/jni/java-net/Makefile.am (local_sources): new variable.
22723 (lib_javanet_la_SOURCES): append `local_sources.'
22724 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22725 * native/jni/java-net/local.c,
22726 * native/jni/java-net/local.h,
22727 * include/gnu_java_net_local_LocalSocketImpl.h,
22728 * gnu/java/net/local/LocalServerSocket.java,
22729 * gnu/java/net/local/LocalSocket.java,
22730 * gnu/java/net/local/LocalSocketAddress.java,
22731 * gnu/java/net/local/LocalSocketImpl.java: new files.
22733 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22735 * javax/accessibility/AccessibleAction.java:
22736 (DECREMENT): Added field.
22737 (INCREMENT): Likewise.
22738 (TOGGLE_EXPAND): Likewise.
22739 * javax/accessibility/AccessibleRole.java:
22740 (EDITBAR): Added field.
22741 (FOOTER): Likewise.
22742 (HEADER): Likewise.
22743 (PARAGRAPH): Likewise.
22744 (PROGRESS_MONITOR): Likewise.
22746 * javax/accessibility/AccessibleState.java:
22747 (INDETERMINATE): Added field.
22748 (MANAGES_DESCENDANTS): Likewise.
22749 (TRUNCATED): Likewise.
22751 2006-04-14 Tom Tromey <tromey@redhat.com>
22753 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22755 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22758 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22760 * javax/swing/text/DefaultCaret.java:
22761 (getBypass): New method.
22762 (moveDot): Rewritten.
22763 (moveDotImpl): New method.
22764 (setDot): Rewritten.
22765 (setDotImpl): New method.
22766 (DefaultCaret.Bypass): New class.
22768 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22770 * javax/swing/text/AbstractDocument.java:
22771 (getBypass): New method.
22772 (insertString): Rewritten.
22773 (remove): Rewritten.
22774 (replace): Rewritten.
22775 (insertStringImpl): New method.
22776 (removeImpl): New method.
22777 (replaceImpl): New method.
22778 (AbstractDocument.Bypass): New class.
22780 2006-04-14 Casey Marshall <csm@gnu.org>
22782 Fixes PR classpath/24642
22783 * NEWS: add note about SecureRandom changes, and addition of
22785 * java/security/SecureRandom.java (isSeeded): new field.
22786 (setSeed, setSeed): set `isSeeded' to `true.'
22787 (nextBytes): seed this instance if `isSeeded' is false.
22788 (getSeed): call `generateSeed.'
22789 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22790 (generateSeed, generateSeed): new methods.
22791 * vm/reference/java/security/VMSecureRandom.java: new file.
22793 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22795 * javax/swing/text/FieldView.java:
22796 (paint): Apply clipping rectangle of the allocation area
22797 before painting the text.
22798 * javax/swing/text/DefaultHighlighter.java:
22799 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22800 compute union and intersection, calculate intersection with allocation
22801 area before painting, adjust x and width when painting multiple lines
22802 by the range of the allocation area.
22804 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22806 * javax/swing/text/DefaultHighlighter.java:
22807 (paintLayeredHighlights): Marked as stub.
22809 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22811 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22812 (propertyChanged): Added note, change color only if current background
22813 is a ColorUIResource instance.
22815 2006-04-14 Tom Tromey <tromey@redhat.com>
22817 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22821 2006-04-14 Tom Tromey <tromey@redhat.com>
22823 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22825 2006-04-14 Mark Wielaard <mark@klomp.org>
22827 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22828 thread group when exceptionHandler isn't set.
22829 * vm/reference/java/lang/VMThread.java (run): Use result of
22830 thread.getUncaughtExceptionHandler directly.
22832 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22834 * javax/swing/JSplitPane.java
22835 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22836 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22837 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22838 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22839 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22840 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22841 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22843 2006-04-10 Tom Tromey <tromey@redhat.com>
22845 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22846 Fixed parameter bounds.
22848 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22850 * gnu/javax/crypto/assembly/Assembly.java,
22851 * gnu/javax/crypto/assembly/Cascade.java,
22852 * gnu/javax/crypto/assembly/CascadeStage.java,
22853 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22854 * gnu/javax/crypto/assembly/Direction.java,
22855 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22856 * gnu/javax/crypto/assembly/ModeStage.java,
22857 * gnu/javax/crypto/assembly/Operation.java,
22858 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22859 * gnu/javax/crypto/assembly/Stage.java,
22860 * gnu/javax/crypto/assembly/Transformer.java,
22861 * gnu/javax/crypto/cipher/Square.java,
22862 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22863 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22864 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22865 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22866 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22867 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22868 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22869 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22870 * gnu/javax/crypto/jce/cipher/PBES2.java,
22871 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22872 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22873 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22874 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22875 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22876 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22877 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22878 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22879 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22880 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22881 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22882 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22883 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22884 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22885 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22886 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22887 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22888 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22889 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22890 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22891 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22892 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22893 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22894 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22895 * gnu/javax/crypto/pad/WrongPaddingException.java,
22896 * gnu/javax/crypto/prng/ICMGenerator.java,
22897 * gnu/javax/crypto/prng/IPBE.java,
22898 * gnu/javax/crypto/prng/PBKDF2.java,
22899 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22900 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22901 * gnu/javax/crypto/sasl/srp/IALG.java,
22902 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22903 Remove CVS revision tags.
22905 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22907 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22908 Removed debugging code.
22910 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22912 * javax/swing/JTree.java (getPreferredSize): Return the
22914 * javax/swing/ViewportLayout.java (layoutContainer):
22915 Do not manage the view size and location if the view is
22916 in the scroll pane. Also manage size and location for
22917 Scrollable, if it is not in the scroll pane.
22918 * javax/swing/plaf/basic/BasicTreeUI.java,
22919 * javax/swing/tree/FixedHeightLayoutCache.java,
22920 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22921 * gnu/javax/swing/tree/GnuPath.java: New file.
22923 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22925 * javax/swing/JToolBar.java
22926 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22928 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22930 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22931 (createCustomColoredPanel): Set background color as demo intends,
22932 changed custom selection color to red.
22933 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22934 Replaced various single variables with a Compound instance, added
22935 custom highlighter demo.
22936 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22938 (TextFieldDemo.Compound): New class.
22939 (createTextFieldCompound): New method.
22940 (createLeftAlignedPanel): Rewritten.
22941 (createRightAlignedPanel): Rewritten.
22942 (createCenteredPanel): Rewritten.
22943 (createCustomColoredPanel): Removed.
22944 (createCustomColoredPanel1): New method.
22945 (createCustomColoredPanel2): New method.
22946 (createCustomBordersPanel): New method.
22947 (createMiscPanel): Rewritten.
22948 (actionPerformed): Rewritten.
22949 (createContent): Add panels of new compounds to main panel, put
22950 main panel in a JScrollPane.
22951 * examples/gnu/classpath/examples/swing/Demo.java:
22952 (Demo): Put desktop in a scrollpane.
22953 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22954 method via reflection.
22956 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22958 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22959 (createUI): Return new instance rather than shared instance.
22961 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22963 * javax/swing/text/FieldView.java:
22964 (checkContainer): Call updateVisibility() at the end.
22966 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22968 * java/awt/event/MouseEvent.java:
22969 (paramString): Add value of 'consumed' variable in string.
22971 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22974 * javax/swing/JTextField.java: Removed scrollOffset variable.
22975 (JTextField): Moved up initialization of horizontalVisibility field.
22976 (getScrollOffset): Implemented.
22977 (setScrollOffset): Implemented.
22978 (getHorizonztalVisibility): Removed note.
22979 (scrollRectToVisible): New method.
22980 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22981 (checkContainer): New method.
22982 (updateVisibility): New method.
22983 (calculateHorizontalSpan): New method.
22984 (adjustAllocation): Removed unneeded local variables, added code
22985 to handle scrolling.
22986 (getPreferredSpan): Use new method calculateHorizontalSpan,
22987 avoid calculation by returning cached value cachedSpan.
22988 (paint): Added check whether the hosted component is a JTextField.
22989 (insertUpdate): Invalidate cached span value, update visibility
22991 (removeUpdate): Dito.
22992 (changeUpdate): Dito.
22994 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22996 * javax/swing/JInternalFrame.java
22997 (setTitle): Set old value to 'this.title', not 'title'.
22999 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23001 * javax/swing/JInternalFrame.java
23002 (AccessibleJInternalFrame.getAccessibleName): Implemented,
23003 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
23004 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
23005 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
23006 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
23007 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
23008 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
23009 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
23010 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
23011 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
23013 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
23015 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
23017 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
23019 (JInternalFrame()): Use "" for default title,
23020 (getAccessibleContext): Updated API docs,
23021 (getDesktopIcon): Likewise,
23022 (getLayer): Check for layer in client properties, and return
23023 DEFAULT_LAYER if no setting is found,
23024 (getTitle): Updated API docs,
23025 (setDesktopIcon): Fire property change event.
23027 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23029 * javax/swing/ScrollPaneLayout.java (layoutContainer):
23030 Mind that the presence of one scroll bar may cause the
23033 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
23035 * gnu/regexp/REToken.java(unicodeAware): New field,
23036 (toLowerCase, toUpperCase): New methods.
23037 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23038 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23039 Use toLowerCase and toUpperCase defined in REToken instead of
23040 those defined in java.lang.Character.
23041 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23042 (initialize): Sets unicodeAware of the generated REToken to false if
23043 REG_ICASE_USASCII is set.
23044 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23045 to lower case and keep the original value.
23046 (matchOneString): Use the new method charEquals to compare characters.
23047 (charEquals): New method to compare characters.
23048 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23050 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
23052 * javax/swing/event/InternalFrameEvent.java:
23053 (paramString): Implemented,
23054 updated API docs all over.
23056 2006-04-12 Casey Marshall <csm@gnu.org>
23058 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23059 (Generator.setup): call `fillBlock.'
23061 2006-04-12 Casey Marshall <csm@gnu.org>
23063 Fixes PR classpath/24481.
23064 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23065 initialize the adaptee.
23066 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23067 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23068 addRandomBytes): new methods.
23070 2006-04-12 Tom Tromey <tromey@redhat.com>
23072 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23075 2006-04-12 Lillian Angel <langel@redhat.com>
23077 * gnu/xml/dom/DomDocument.java
23078 (checkNCName): Removed unneeded part of check.
23079 * gnu/xml/dom/DomNode.java
23080 (dispatchEvent): Added code to grow ancestors array
23081 if needed. Changed checks to use depth of node instead.
23082 Fixes an infinite loop and segmentation fault.
23083 * gnu/xml/dom/html2/DomHTMLParser.java
23084 (handleEndTag): No need to use/make a copy of the node.
23085 Causes an infinite loop.
23087 2006-04-12 Tom Tromey <tromey@redhat.com>
23089 PR classpath/27131:
23090 * java/util/BitSet.java (get): Early return if to==from.
23092 2006-04-12 Mark Wielaard <mark@klomp.org>
23094 * java/security/SecureRandom.java (algorithm): New private field.
23095 (SecureRandom): Initialize algorithm.
23096 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23098 (getInstance): Call 3 argument constructor.
23099 (getAlgorithm): New method.
23101 2006-04-12 Mark Wielaard <mark@klomp.org>
23103 Port UncaughtExceptionHandler support from generics branch.
23104 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23106 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23108 * java/lang/Thread.java:
23109 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23110 Added docs and security check.
23111 (getUncaughtExceptionHandler()): Documented.
23112 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23113 Added docs and security check.
23114 (getDefaultUncaughtExceptionHandler()): Documented.
23115 (getId()): Documented.
23117 2006-04-12 Tom Tromey <tromey@redhat.com>
23119 * vm/reference/java/lang/VMThread.java (run): Use thread's
23121 * java/lang/Thread.java (defaultHandler): New field.
23122 (setDefaultUncaughtExceptionHandler,
23123 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23124 getUncaughtExceptionHandler): New methods.
23125 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23126 UncaughtExceptionHandler.
23127 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23129 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23131 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23132 buffer. Loop only once to determine Utf8 length when possible. Make
23133 the inner loop bounded by buf.length.
23134 (getUTFlength): New private method.
23135 (buf): New private field.
23137 2006-04-11 Lillian Angel <langel@redhat.com>
23139 * gnu/xml/dom/DomNodeIterator.java
23140 (nextNode): Moved line of code to avoid an infinite loop.
23141 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23142 (getCls): New function.
23143 (setCls): Likewise.
23144 (getSrc): Likewise.
23145 (setSrc): Likewise.
23146 * gnu/xml/dom/html2/DomHTMLDocument.java:
23147 Added DomHTMLEmbedElement to map.
23148 (getApplets): Added node name, 'embed'.
23149 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23151 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23152 (getJavaCode): New function.
23153 (setJavaCode): Likewise.
23154 (getObject): Likewise.
23155 (setObject): Likewise.
23156 (getJavaObject): Likewise.
23157 (setJavaObject): Likewise.
23158 (getJavaArchive): Likewise.
23159 (setJavaArchive): Likewise.
23160 (getJavaCodeBase): Likewise.
23161 (setJavaCodeBase): Likewise.
23162 (getJavaType): Likewise.
23163 (setJavaType): Likewise.
23164 (setMayscript): Likewise.
23165 (getMayscript): Likewise.
23166 (setScriptable): Likewise.
23167 (getScriptable): Likewise.
23168 * gnu/xml/dom/html2/DomHTMLParser.java
23169 (parseDocument): Should not check for well formedness
23170 when parsing an html document.
23171 * java/awt/Window.java
23172 (dispatchEvent): Added check to avoid NPE.
23174 2006-04-10 Tom Tromey <tromey@redhat.com>
23176 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23178 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23179 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23181 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23183 * javax/swing/plaf/basic/BasicTextUI.java:
23184 (getNextVisualPositionFrom): Marked as stub.
23186 2006-04-10 Roman Kennke <kennke@aicas.com>
23188 * javax/swing/plaf/basic/BasicLookAndFeel.java
23189 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23190 and create the defaults as strings constants.
23191 (loadSystemColors): Implemented stubbed method.
23193 2006-04-10 Tom Tromey <tromey@redhat.com>
23195 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23198 2006-04-10 Tom Tromey <tromey@redhat.com>
23200 * java/io/CharArrayWriter.java (append): Javadoc fix.
23201 (append): Likewise.
23203 2006-04-10 Tom Tromey <tromey@redhat.com>
23205 * javax/accessibility/AccessibleTextSequence.java: New file.
23206 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23208 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23209 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23210 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23211 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23212 * javax/accessibility/AccessibleExtendedText.java: New file.
23213 * javax/accessibility/AccessibleContext.java
23214 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23215 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23216 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23217 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23218 * javax/accessibility/AccessibleStreamable.java: New file.
23219 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23222 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23224 * javax/swing/tree/AbstractLayoutCache.java
23225 (getNodeDimensions, getRowsForPath): Implemented.
23226 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23227 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23229 2006-04-10 Roman Kennke <kennke@aicas.com>
23231 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23233 2006-04-10 Roman Kennke <kennke@aicas.com>
23235 * javax/swing/JInternalFrame.java
23236 (AccessibleJInternalFrame): Marked all stubbed methods as such
23237 by adding throws NotImplementedException.
23239 2006-04-10 Roman Kennke <kennke@aicas.com>
23241 * javax/swing/JFileChooser.java
23242 (getAccessibleContext): Don't create a new instance on each
23243 call, instead store the accessible context in the
23244 accessibleContext field.
23246 2006-04-10 Roman Kennke <kennke@aicas.com>
23248 * javax/swing/JComboBox.java
23249 (AccessibleJComboBox): Marked all stubbed methods as such
23250 by adding throws NotImplementedException.
23252 2006-04-10 Roman Kennke <kennke@aicas.com>
23254 * javax/swing/ActionMap.java
23255 (readObject): Removed.
23256 (writeObject): Removed.
23258 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23260 * javax/swing/tree/DefaultTreeSelectionModel.java
23261 (addSelectionPaths, setSelectionPaths): Call
23262 insureUniqueness. (clone, setRowMapper): Implemented.
23263 * TreePath (path): Marked final.
23265 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23267 * javax/swing/tree/DefaultTreeSelectionModel.java:
23268 Documented and autoformatted. (insureUniqueness):
23269 Removed stub marking.
23271 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23273 * javax/swing/SizeSequence.java
23274 (sizes): Don't initialise here,
23275 (SizeSequence(int, int)): Initialise sizes field,
23276 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23277 (setSize): Do nothing when index is out of bounds,
23278 (getIndex): Implemented,
23279 (setSizes): Reimplemented,
23280 (getSizes): Likewise,
23281 (insertEntries): Likewise,
23282 (removeEntries): Likewise,
23283 plus added API docs all over.
23285 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23287 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23288 one way message and retry after any IOException.
23290 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23292 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23293 Set the byte order.
23295 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23297 * org/omg/PortableServer/ServantLocatorPOA.java:
23298 (preinvoke, postinvoke): Remove default implementation.
23299 * org/omg/PortableServer/ServantActivatorPOA.java:
23300 (incarnate, etherealize): Remove default implementation.
23301 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23302 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23303 (make_object): Moved method from ObjectReferenceFactoryOperations.
23304 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23305 Removed unspecified interface.
23306 * org/omg/DynamicAny/_DynAnyStub.java:
23307 (_DynAnyStub(Delegate)): Removed constructor.
23308 * org/omg/DynamicAny/_DynArrayStub.java,
23309 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23310 * org/omg/DynamicAny/_DynEnumStub.java,
23311 * org/omg/DynamicAny/_DynFixedStub.java,
23312 * org/omg/DynamicAny/_DynSequenceStub.java,
23313 * org/omg/DynamicAny/_DynStructStub.java,
23314 * org/omg/DynamicAny/_DynUnionStub.java,
23315 * org/omg/DynamicAny/_DynValueStub.java:
23316 Extend from ObjectImpl and not from _DynAnyStub.
23317 (type, next, destroy, copy, rewind, assign, component_count,
23318 current_component, equal, from_any, get_any, get_boolean, get_char,
23319 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23320 get_reference, get_short, get_string, get_typecode, get_ulong,
23321 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23322 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23323 insert_long, insert_longlong, insert_octet, insert_reference,
23324 insert_short, insert_string, insert_typecode, insert_ulong,
23325 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23326 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23327 * org/omg/CosNaming/_BindingIteratorStub.java:
23328 (_BindingIteratorStub(Delegate)): Made package private.
23329 * org/omg/CosNaming/_NamingContextExtStub.java:
23330 (_NamingContextExtStub(Delegate)): Made package private.
23331 * org/omg/CosNaming/_NamingContextStub.java:
23332 (_NamingContextStub(Delegate)): Made package private.
23333 (throw4, throw5): Likewise.
23334 * gnu/CORBA/NamingService/NameParser.java (resolve):
23335 Adapt to package private constructor. Use _set_delegate instead.
23336 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23337 * org/omg/CORBA/ORB.java:
23338 (create_recursive_sequence_tc): Made abstract.
23339 (get_default_context): Likewise.
23340 * gnu/CORBA/OrbRestricted.java:
23341 (create_recursive_sequence_tc): New moved method.
23342 (get_default_context): Likewise.
23343 * org/omg/CORBA/ParameterMode.java:
23344 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23346 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23348 * gnu/CORBA/GIOP/MessageHeader.java (write):
23349 More informative exception.
23350 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23351 * gnu/CORBA/SocketRepository.java (get_socket):
23352 Removed debugging code.
23354 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23356 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23357 one way message, but ignore if EOF was received.
23358 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23359 Minor.EOF if the end of file is received instead of the header.
23361 2006-04-09 Roman Kennke <kennke@aicas.com>
23363 * javax/swing/plaf/metal/MetalRootPaneUI.java
23364 (MetalTitlePane.IconifyAction): New inner class.
23365 (MetalTitlePane.MaximizeAction): New inner class.
23366 (MetalTitlePane.createActions): Create iconifyAction and
23368 (MetalRootLayout.titlePane): New field.
23369 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23371 (MetalRootLayout.preferredLayoutSize): Changed to not make
23372 assumptions about the actual component order.
23373 (MetalRootLayout.layoutContainer): Changed to not make
23374 assumptions about the actual component order.
23375 (installWindowDecorations): Pass the titlePane as parameter to
23376 the MetalRootLayout constructor.
23377 (uninstallWindowDecorations): Changed to not make
23378 assumptions about the actual component order.
23380 2006-04-08 Roman Kennke <kennke@aicas.com>
23382 * javax/swing/plaf/metal/MetalRootPaneUI.java
23383 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23385 (MetalTitlePane.installListeners): Don't register a focus listener
23386 on the window. This is a potential memory leak and must be
23387 implemented on a different way. Install mouse listener here.
23388 (installWindowDecorations): Fixed assertion condition. Always
23389 insert the window decoration at index#1 in the layered
23392 2006-04-08 Roman Kennke <kennke@aicas.com>
23394 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23395 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23396 Only resize window if actual width or height value changes.
23397 Avoids nasty flicker when only setLocation() is beeing called
23400 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23402 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23403 exception if the magic sequence does not match.
23405 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23407 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23408 response for the one way messages.
23410 2006-04-08 Roman Kennke <kennke@aicas.com>
23412 * javax/swing/MenuSelectionManager.java
23413 (processKeyEvent): Implemented stub method.
23414 * javax/swing/JMenu.java
23415 (processKeyEvent): Implemented stub method.
23416 * javax/swing/JMenu.java
23417 (processKeyEvent): Implemented stub method.
23418 (processMenuKeyEvent): Implemented stub method.
23420 2006-04-08 Roman Kennke <kennke@aicas.com>
23422 * javax/swing/AbstractAction.java
23423 (readObject): Removed unneeded method.
23424 (writeObject): Removed unneeded method.
23426 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23428 * javax/swing/plaf/synth/SynthPainter.java:
23429 (paintSplitPaneDividerBorder): Removed.
23431 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23433 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23434 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23435 No longer constants.
23436 (static_initializer): Added to initialize above fields.
23437 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23438 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23439 (static_initializer): Added to initialize above fields.
23441 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23443 * java/awt/Dialog.java: Improved documentation all over.
23444 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23445 (Dialog(Dialog)): Likewise.
23447 2006-04-08 Mark Wielaard <mark@klomp.org>
23449 * java/util/jar/JarFile.java (provider): New static field.
23450 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23453 2006-04-08 Mark Wielaard <mark@klomp.org>
23456 * java/lang/StackTraceElement.java (toString): Don't add space
23457 between type and source indicator.
23459 2006-04-07 Casey Marshall <csm@gnu.org>
23461 Fixes PR classpath/24464
23462 * java/util/jar/JarFile.java (verify, verifyHashes,
23463 EntryInputStream.<init>): pass the Gnu provider directly to
23466 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23469 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23470 (DIGEST0): Use version 3 test vector.
23472 (S_box): New field: Version 3 S-box values.
23473 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23474 (transform): Formating.
23475 (padBuffer): Likewise.
23476 (getResult): Likewise.
23477 (selfTest): Likewise.
23479 2006-04-07 Tom Tromey <tromey@redhat.com>
23481 * java/util/InvalidPropertiesFormatException.java
23482 (serialVersionUID): New field.
23483 (readObject, writeObject): New methods.
23484 * java/util/Arrays.java (toString): Javadoc fixes.
23485 * java/net/URLConnection.java: Cleaned up imports.
23486 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23487 * java/lang/reflect/MalformedParameterizedTypeException.java
23488 (serialVersionUID): New field.
23489 * java/lang/reflect/GenericSignatureFormatError.java
23490 (serialVersionUID): New field.
23491 * java/lang/Class.java (Class): Javado fixes.
23492 (getComponentType): Likewise.
23493 (getGenericInterfaces): Likewise.
23494 (getTypeParameters): Likewise.
23495 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23496 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23498 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23500 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23503 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23505 * java/awt/Dialog.java
23506 (AccessibleAWTDialog): Added api docs
23507 (AccessibleAWTDialog.getAccessibleStateSet):
23508 Renamed from getAccessibleState.
23509 * java/awt/Frame.java
23510 (AccessibleAWTFrame): Added api docs
23511 (AccessibleAWTFrame.getAccessibleStateSet):
23512 Renamed from getAccessibleState.
23514 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23516 * java/awt/Dialog.java: Reformatted.
23518 2006-04-07 Lillian Angel <langel@redhat.com>
23520 * java/awt/Component.java
23521 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23522 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23524 2006-04-07 Tom Tromey <tromey@redhat.com>
23526 * java/beans/beancontext/BeanContextMembershipEvent.java
23527 (serialVersionUID): New field.
23528 * java/beans/beancontext/BeanContextServicesSupport.java
23529 (addBeanContextServicesListener): Synchronize.
23530 (addService): Implemented.
23531 (createBCSChild): Implemented.
23532 (BCSSChild): Added arguments.
23533 (fireServiceAdded): Implemented.
23534 (fireServiceRevoked): Implemented.
23535 (getCurrentServiceSelectors): Implemented.
23536 (hasService): Implemented.
23537 (removeBeanContextServicesListener): Implemented.
23538 (serviceAvailable): Implemented.
23539 (serviceRevoked): Implemented.
23540 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23542 (createBCSChild): Implemented.
23543 (BeanContextSupport):
23544 (addBeanContextMembershipListener): Synchronize.
23545 (fireChildrenAdded): Implemented.
23546 (fireChildrenRemoved): Implemented.
23547 (BeanContextSupport): Use default locale.
23548 (isEmpty): Implemented.
23549 (isDesignTime): Implemented.
23550 (size): Implemented.
23551 (toArray): Synchronized.
23552 (toArray): Likewise.
23553 (iterator): Likewise.
23554 (BCSIterator): Implemented.
23555 (bcsChildren): Implemented.
23556 (validatePendingAdd): Implemented.
23557 (validatePendingRemove): Likewise.
23558 (childJustAddedHook): Implemented.
23559 (childJustRemovedHook): Likewise.
23560 (classEquals): Likewise.
23561 (toArray): Mark as stub.
23562 (setDesignTime): Implemented.
23563 (copyChildren): Implemented.
23564 (containsKey): Implemented.
23565 (contains): Likewise.
23566 (containsAll): Likewise.
23567 (getResource): Implemented.
23568 (getResourceAsStream): Likewise.
23569 (removeBeanContextMembershipListener): Likewise.
23570 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23571 (serialVersionUID): New field.
23572 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23573 (serialVersionUID): New field.
23574 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23577 2006-04-06 Roman Kennke <kennke@aicas.com>
23580 * javax/swing/MenuSelectionManager.java
23581 (setSelectedPath): Search one more item in the loop.
23583 2006-04-06 Tom Tromey <tromey@redhat.com>
23585 * java/awt/image/renderable/RenderableImageProducer.java
23586 (image, context, consumers): New fields.
23587 (RenderableImageProducer): Implemented.
23588 (setRenderContext): Likewise.
23589 (addConsumer): Likewise.
23590 (isConsumer): Likewise.
23591 (removeConsumer): Likewise.
23592 (startProduction): Likewise.
23594 2006-04-06 Roman Kennke <kennke@aicas.com>
23596 * java/awt/Component.java
23597 (AccessibleAWTComponent.getBounds): Return the component
23598 bounds regardless of its showing state.
23599 (AccessibleAWTComponent.getLocation): Return the component
23600 location regardless of its showing state.
23601 (AccessibleAWTComponent.getSize): Return the component
23602 size regardless of its showing state.
23604 2006-04-06 Roman Kennke <kennke@aicas.com>
23606 * javax/swing/JRootPane.java
23607 (getAccessibleContext): New method. Provides an accessibleContext
23610 2006-04-06 Roman Kennke <kennke@aicas.com>
23612 * java/awt/Toolkit.java
23613 (initAccessibility): Use the 'gnu.classpath.home.url' property
23614 to determine the system confiuration directory.
23615 * java/awt/Component.java
23616 (dispatchEvent): Trigger Toolkit dispatching here.
23617 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23618 so it can't be overridden by subclasses and is performed in
23621 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23623 * javax/naming/Binding.java: Added API docs.
23624 * javax/naming/NameClassPair.java: Added API docs.
23625 (fullName): New field.
23626 (setNameInNamespace): New 1.5 method.
23627 (getNameInNamespace): Likewise.
23629 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23631 * javax/naming/CompositeName.java:
23632 (readObject): New deserialization method.
23633 (writeObject): New serialization method.
23635 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23637 * javax/security/auth/x500/X500Principal.java
23638 (readAttributeValue) Check for separator after quoted value was
23639 failing in all cases.
23641 2006-04-06 Mark Wielaard <mark@klomp.org>
23643 * java/lang/Class.java (getClassLoader): Don't do security check
23644 when loader is null.
23646 2006-04-06 Roman Kennke <kennke@aicas.com>
23648 * java/awt/Toolkit.java
23649 (getDefaultToolkit): Initialize accessibility after setting
23651 (initAccessibility): New helper method to setup accessibility.
23653 2006-04-06 Roman Kennke <kennke@aicas.com>
23655 * javax/swing/AbstractButton.java
23656 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23657 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23659 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23660 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23661 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23662 (AccessibleAbstractButton.getCharCount): Implemented stub.
23663 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23664 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23665 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23666 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23667 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23668 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23671 2006-04-06 Roman Kennke <kennke@aicas.com>
23673 * java/awt/Component.java
23674 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23675 state here. This is only done in JComponent.
23676 * javax/swing/JComponent.java
23677 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23679 (getNextFocusableComponent): Implemented stub method.
23680 (grabFocus): Implemented stub method.
23681 (unregisterKeyboardAction): Implemented stub method.
23682 (setNextFocusableComponent): Implemented stub method.
23683 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23684 This is a helper class for providing compatibility with the older
23687 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23690 * javax/naming/directory/BasicAttribute.java,
23691 * javax/naming/directory/BasicAttributes.java:
23692 (readObject): New deserialization method.
23693 (writeObject): New serialization method.
23695 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23697 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23698 (getErrorHandler): Made method abstract.
23699 (setErrorHanlder): Likewise.
23700 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23701 (getErrorHandler): Implement abstract method from superclass.
23702 (setErrorHandler): Likewise.
23703 (errorHandler): New field.
23704 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23705 (getErrorHandler): Implement abstract method from superclass.
23706 (setErrorHandler): Likewise.
23707 (errorHandler): New field.
23708 * javax/xml/XMLConstants.java: Corrected since tag.
23709 (XMLConstants): Added private constructor.
23710 * javax/xml/datatype/Duration.java: Corrected since tag.
23711 (multiply): Made method abstract.
23712 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23713 (DatatypeConstants): Added private constructor.
23714 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23715 (XPathConstants): Added private constructor.
23717 2006-04-05 Tom Tromey <tromey@redhat.com>
23719 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23721 2006-04-05 Tom Tromey <tromey@redhat.com>
23724 * lib/Makefile.am (compile-classes): Touch the output file.
23726 2006-04-05 Roman Kennke <kennke@aicas.com>
23728 * javax/swing/AbstractButton.java
23729 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23730 of the focused state. This is already done in AccessibleAWTComponent.
23732 2006-04-05 Roman Kennke <kennke@aicas.com>
23734 * javax/swing/JComponent.java
23735 (accessibleContext): Fixed API doc for this field.
23736 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23737 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23738 Implemented and added API docs.
23739 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23740 Implemented and added API docs.
23741 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23742 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23743 Implemented and added API docs.
23744 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23745 Implemented and added API docs.
23746 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23747 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23748 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23749 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23750 (AccessibleJComponent.getAccessibleStateSet): Simply return
23751 super here. Added comment about this.
23753 2006-04-05 Roman Kennke <kennke@aicas.com>
23755 * javax/swing/JComponent.java
23756 (AccessibleJComponent.addPropertyChangeListener): Install
23757 ContainerHandler and FocusHandler here.
23758 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23759 ContainerHandler and FocusHandler here.
23760 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23761 by super.getAccessibleChildrenCount().
23762 (AccessibleJComponent.getAccessibleChild): Replaced
23763 by super.getAccessibleChild().
23764 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23765 adding OPAQUE to the supported states.
23766 (AccessibleJComponent.getAccessibleName): Added titled border
23767 and label fallbacks.
23768 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23769 and label fallbacks.
23770 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23771 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23772 explaining why return null seems correct here.
23773 * javax/swing/JLabel.java
23774 (LABEL_PROPERTY): New constant.
23775 (setLabelFor): Store label in labeled component's client properties
23776 for the AccessibleJComponent to read.
23778 2006-04-05 Tom Tromey <tromey@redhat.com>
23780 * java/util/zip/ZipFile.java (available): Defer to super if
23781 entry's size is unknown.
23783 2006-04-05 Tom Tromey <tromey@redhat.com>
23785 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23786 property with mime.types name.
23787 * gnu/classpath/SystemProperties.java: Set
23788 gnu.classpath.mime.types.file if not already set.
23789 * java/net/URLConnection.java (defaultFactory): New field.
23790 (guessContentTypeFromStream): Mark as unimplemented.
23791 (getContentHandler): Updated with libgcj's implementation.
23792 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23795 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23799 * java/util/AbstractList.java (hasNext): Don't throw
23800 ConcurrentModificationException. Update Javadoc.
23801 (hasPrevious): Likewise.
23802 (nextIndex): Likewise.
23803 (previousIndex): Likewise.
23804 * java/util/HashMap.java (hasNext): Likewise.
23805 * java/util/Hashtable.java (hasNext): Likewise.
23806 * java/util/IdentityHashMap.java (hasNext): Likewise.
23807 * java/util/LinkedHashMap.java (hasNext): Likewise.
23808 * java/util/LinkedList.java (nextIndex): Likewise.
23809 (previousIndex): Likewise.
23810 (hasNext): Likewise.
23811 (hasPrevious): Likewise.
23812 * java/util/TreeMap.java (hasNext): Likewise.
23813 * java/util/WeakHashMap.java (hasNext): Likewise.
23815 2006-04-05 Roman Kennke <kennke@aicas.com>
23817 * javax/swing/AbstractButton.java
23818 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23819 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23820 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23821 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23822 (AccessibleAbstractButton.getAccessibleActionDescription):
23824 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23825 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23826 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23827 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23828 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23829 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23831 2006-04-05 Roman Kennke <kennke@aicas.com>
23833 * javax/swing/JComboBox.java
23834 (selectWithKeyChar): Implemented stubbed method.
23836 2006-04-05 Roman Kennke <kennke@aicas.com>
23838 * javax/swing/LookAndFeel.java
23839 (installProperty): New method. Allows primitive typed properties
23840 to be handled like UIResources.
23841 * javax/swing/AbstractButton.java
23842 (clientBorderPaintedSet): New field.
23843 (clientRolloverEnabledSet): New field.
23844 (clientIconTextGapSet): New field.
23845 (clientContentAreaFilledSet): New field.
23846 (setRolloverEnabled): Set the client field to true.
23847 (setBorderPainted): Likewise.
23848 (setIconTextGap): Likewise.
23849 (setContentAreaFilled): Likewise.
23850 (setUIProperty): New helper method.
23851 * javax/swing/JComponent.java
23852 (clientOpaqueSet): New field.
23853 (clientAutoscrollsSet): New field.
23854 (setAutoscrolls): Set the client field to true.
23855 (setOpaque): Likewise.
23856 (setUIProperty): New helper method.
23857 * javax/swing/JDesktopPane.java
23858 (clientDragModeSet): New field.
23859 (setDragMode): Set the client field to true.
23860 (setUIProperty): New helper method.
23861 * javax/swing/JSplitPane.java
23862 (clientDividerSizeSet): New field.
23863 (clientOneTouchExpandableSet): New field.
23864 (setDividerSize): Set the client field to true.
23865 (setOneTouchExpandable): Likewise.
23866 (setUIProperty): New helper method.
23867 * javax/swing/JTable.java
23868 (clientRowHeightSet): New field.
23869 (setRowHeight): Set the client field to true.
23870 (setUIProperty): New helper method.
23871 * javax/swing/JTree.java
23872 (clientRowHeightSet): New field.
23873 (clientScrollsOnExpandSet): New field.
23874 (clientShowsRootHandlesSet): New field.
23875 (setRowHeight): Set the client field to true.
23876 (setShowsRootHandles): Likewise.
23877 (setScrollsOnExpand): Likewise.
23878 (setUIProperty): New helper method.
23880 2006-04-05 Roman Kennke <kennke@aicas.com>
23882 * java/awt/Component.java
23883 (getFont): Don't request the font from the peer's graphics. The
23884 graphics should instead get the font from the Component, which might
23886 (getFocusCycleAncestor): Don't special case Window.
23887 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23888 to here. Correctly determine the focus cycle root.
23889 (transferFocusBackward): Likewise.
23890 (transferFocusUpCycle): Likewise.
23891 * java/awt/Container.java
23892 (transferFocusDownCycle): Moved implementation from
23893 DefaultKeyboardFocusManager to here.
23894 * java/awt/DefaultKeyboardFocusManager.java
23895 (focusPreviousComponent): Moved implementation to
23896 Component.transferFocusBackward().
23897 (focusNextComponent): Moved implementation to
23898 Component.nextFocus().
23899 (upFocusCycle): Moved implementation to
23900 Component.transferFocusUpCycle().
23901 (downFocusCycle): Moved implementation to
23902 Container.transferFocusDownCycle().
23904 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23906 * java/awt/image/ComponentSampleModel.java
23907 (equals): Implemented,
23908 (hashCode): Likewise.
23910 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23912 * java/lang/Class.java
23913 (cast): New method.
23915 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23917 * java/awt/image/ComponentSampleModel.java
23918 (getBankIndices): Return a copy of the array, not a reference to the
23920 (getBandOffsets): Likewise.
23922 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23924 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23926 2006-04-04 Tom Tromey <tromey@redhat.com>
23928 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23930 2006-04-04 Tom Tromey <tromey@redhat.com>
23932 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23933 (MimeTypeMapper): Initialize.
23934 (fillFromFile): New method.
23935 (main): New method.
23936 (mime_strings): Updated.
23938 2006-04-04 Tom Tromey <tromey@redhat.com>
23940 * lib/gen-classlist.sh.in: Correct handle generated files.
23942 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23944 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23945 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23946 * gnu/regexp/CharIndexedCharSequence.java: New file.
23947 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23948 gnu.regexp.CharIndexedCharSequence.
23949 * gnu/regexp/CharIndexedString.java: Likewise.
23950 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23951 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23952 using CharIndexedCharSequence. Use setAnchor when the input
23953 object is already a CharIndexed.
23954 * java/util/regex/Matcher.java(inputCharIndexed): New field
23955 to be used as a parameter of the RE#getMatch.
23957 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23959 * java/awt/image/SampleModel.java: Reformatted.
23961 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23963 * java/awt/image/ComponentSampleModel.java
23964 (ComponentSampleModel(int, int, int, int, int[])): Added API
23966 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23967 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23968 of the bandOffsets and bankIndices arguments, added API documentation,
23969 * java/awt/image/SampleModel.java
23970 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23971 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23972 less than or equal to zero, added API documentation.
23974 2006-04-04 Lillian Angel <langel@redhat.com>
23976 * java/util/zip/ZipFile.java
23977 (getInputStream): Fixed to return size of ZipEntry
23978 minus the total bytes read. This guarantees that the
23979 right value is returned even if some bytes have already
23982 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23984 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23985 Remove static modifier.
23987 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23989 * java/awt/image/ComponentSampleModel.java: Reformatted.
23991 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23993 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23994 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23995 retrieval instructions to javadoc header.
23996 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23997 compressionType field.
23998 * lib/Makefile.am (propertydirs): Add javax directory.
23999 (propertyfiles): Likewise.
24000 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
24003 2006-04-03 Tom Tromey <tromey@redhat.com>
24005 PR classpath/26971:
24006 * javax/naming/directory/BasicAttribute.java: Added missing @since.
24007 (BasicAttributeEnumeration.where): Initialize to 0.
24008 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
24010 2006-04-03 Lillian Angel <langel@redhat.com>
24012 PR classpath/24596 and PR classpath/26930
24013 * java/util/zip/ZipFile.java
24014 (getInputStream): Override available function for
24015 InflaterInputStream instance.
24017 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
24019 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
24021 2006-04-03 Tom Tromey <tromey@redhat.com>
24023 * javax/security/auth/kerberos/ServicePermission.java: New file.
24024 * javax/security/auth/kerberos/DelegationPermission.java: New file.
24025 * javax/security/auth/kerberos/KerberosKey.java: New file.
24026 * javax/security/auth/kerberos/KeyImpl.java: New file.
24027 * javax/security/auth/kerberos/KerberosTicket.java: New file.
24028 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24030 2006-04-03 Sven de Marothy <sven@physto.se>
24032 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24033 non-GtkImage images.
24035 2006-04-03 Mark Wielaard <mark@klomp.org>
24037 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24038 as temporary file name.
24040 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24042 * INSTALL: Documented --with-glibj-zip option.
24044 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24046 Fixed all pscan warnings.
24048 * native/jni/classpath/jcl.c (JCL_ThrowException),
24049 native/jni/classpath/jcl.h (DBG),
24050 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24051 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24052 Use "%s" format in fprintf and snprintf explicitely when printing a single
24053 string to prevent format string exploits.
24055 * native/jni/java-net/javanet.h (DBG): Removed duplicate
24056 definition. Included jcl.h instead.
24058 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
24060 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24061 (provider): Made it protected.
24062 (providerInstalled): New field.
24063 (Main): Made it a 0-arguments constructor.
24064 Removed throws clasue.
24065 (main): Removed throws clause.
24066 Call processArgs(args) after constructing instance.
24067 Call teardown() before existing.
24068 (processArgs): Added javadoc.
24069 Reduced to throws Exception.
24071 (teardown): New method.
24072 (setupCommonParams): Added javadoc.
24073 Install designated provider if not already installed.
24074 (installNewProvider): New method.
24075 (setupSigningParams): Added javadoc.
24076 Instantiate the KeyStore using type only.
24077 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24078 Removed unused imports.
24079 (start): Reduced to throws Exception.
24080 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24081 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24082 Re-organized imports.
24083 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24084 Test ignoring case.
24085 (getNames): Add "dsa" as an algorithm provided by this Factory.
24086 (makeInstance): Construct IllegalArgumentException with 2 arguments.
24088 2006-04-03 Roman Kennke <kennke@aicas.com>
24090 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24091 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24092 Replaced g_free() with pango_item_free() to avoid problems
24093 with the allocator.
24095 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24098 * java/util/logging/Level.java (parse): Document.
24099 * java/util/logging/LogManager.java (rootLogger): Removed.
24100 (LogManager): Just set loggers to new HashMap.
24101 (getLogManager): Make synchronized. Create and init LogManager if it
24103 (static): Removed block.
24104 (MANAGER_PROPERTY): New private final string.
24105 (makeLogManager): Use new property string, move warning to
24106 createInstance() method.
24107 (CONFIG_PROPERTY): New private final string.
24108 (initLogManager): New method.
24109 (addLogger): Use Logger.root, not rootLogger.
24110 (findAncestor): Likewise.
24111 (readConfiguration): Move warning to createInstance() method.
24112 Add handlers directly to Logger.root. Warn about bad level values.
24113 (getClassProperty): Use new locateClass() method.
24114 (getInstanceProperty): Only catch specific newInstance Errors.
24115 (createInstance): Make private and takes a string to use in warning
24116 messages. Use new locateClass() method and generate appropriate
24118 (warn): New methods.
24119 (locateClass): Locates a class through the context class loader and
24120 system class loader as backup.
24121 * java/util/logging/Logger.java (root): New static final field.
24122 (Logger): Set parent to root.
24123 (setParent): Directly check root field.
24125 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24127 * java/util/Collections.java:
24128 (binarySearch(List, T)): Fixed signature.
24129 (unmodifiableList(List)): Likewise.
24130 (UnmodifiableList(List)): Fixed constructor.
24131 (UnmodifiableRandomAccessList(List)): Likewise.
24132 (unmodifiableMap(Map)): Fixed signature.
24133 (UnmodifiableMap(Map)): Fixed constructor.
24134 (unmodifiableSortedMap(Map)): Fixed signature.
24135 (UnmodifiableSortedMap(Map)): Fixed constructor.
24137 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24139 * java/io/ObjectOutputStream.java:
24140 (writeObject(Object)): Added enum support.
24141 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24142 * java/io/ObjectStreamClass.java:
24143 (isEnum()): New package-private method.
24144 (setFlags(Class)): Added enum support.
24145 * java/io/ObjectStreamConstants.java:
24148 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24150 * javax/swing/text/Segment.java:
24151 (setPosition): Make exception message more verbose.
24152 * javax/swing/text/WrappedPlainView.java:
24153 (insertUpdate): Removed unneeded repaint call.
24154 (changeUpdate): Dito.
24155 (removeUpdate): Dito.
24156 (WrappedLine.determineNumLines): Do not return numLines, break
24157 from loop if no new break point has been calculated.
24158 (WrappedLine.updateDamage): Rewritten.
24159 (WrappedLine.insertUpdate): Removed unneeded update code.
24160 (WrappedLine.removeUpdate): Removed unneeded update code, added
24163 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24165 * configure.ac (with-glibj-zip): Added new option.
24167 * examples/Makefile.am,
24169 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24170 in addition to classes in lib directory.
24172 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24174 * tools/gnu/classpath/tools/giop/GRMIC.java,
24175 tools/gnu/classpath/tools/giop/IorParser.java,
24176 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24177 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24178 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24179 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24180 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24181 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24182 tools/gnu/classpath/tools/rmi/RMIC.java,
24183 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24184 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24185 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24186 linking exception from the licensing header.
24187 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24188 Added licensing header.
24190 2006-04-02 Mark Wielaard <mark@klomp.org>
24192 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24193 (jarsigner): Removed.
24195 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24197 * configure.ac: don't check for isnan function.
24198 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24200 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24202 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24203 * tools/Makefile.am: Generate jarsigner shell script.
24204 * tools/jarsigner.sh.in: New template.
24205 * tools/.cvsignore: Added jarsigner.sh.
24207 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24209 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24210 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24211 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24212 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24213 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24214 Re-organised imports.
24216 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24218 PR classpath/25924:
24219 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24220 Handle case where alpha==0.
24222 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24225 * javax/swing/text/Utilities.java:
24226 (getTabbedTextOffset): Added check to decrement pos not below zero,
24227 changed '>' comparison to '>='.
24228 * javax/swing/text/WrappedPlainView.java:
24229 (lineHeight): New field.
24230 (calculateBreakPosition): Throw InternalError in catch block, removed
24231 unneeded brackets, use specific version of
24232 Utilities.getTabbedTextOffset.
24233 (paint): Set various properties neccessary for drawing.
24234 (WrappedLine.paint): Removed code to set field of outer class.
24235 (WrappedLine.modelToView): Removed unneeded expression from
24237 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24238 -1 from return statement, copy only a subset into the Segment, removed
24239 special handling of mark value - just return it, simplified
24240 incrementation of currLineStart.
24241 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24242 change to parent view.
24243 (WrappedLine.removeUpdate): Dito.
24245 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24247 * javax/swing/text/Segment.java:
24248 (toString): Return empty string when array is null.
24250 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24252 * javax/swing/plaf/basic/BasicTextUI.java:
24253 (damageRange): Use SwingUtilities.computeUnion to avoid
24254 unneccessary Rectangle instantiation.
24256 2006-04-01 Tom Tromey <tromey@redhat.com>
24258 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24260 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24262 * javax/swing/text/CompositeView.java: Fixed copyright header.
24263 * javax/swing/text/BoxView.java: Fixed copyright header.
24264 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24265 * javax/swing/text/Utilities.java: Fixed copyright header.
24267 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24269 * javax/swing/text/CompositeView.java:
24270 (modelToView): Throw BadLocationException when no child
24271 view can be found, restructed to throw exception as early
24273 (viewToModel): Use mutable allocation as argument for viewToModel
24274 call on child view.
24275 * javax/swing/text/BoxView.java:
24276 (getViewAtPoint): Call setBounds() r before method returns with
24277 suitable child view.
24278 * javax/swing/text/Utilities.java:
24279 (getPositionBelow): Added try-catch-block around modelToView call,
24280 added method return when BadLocationException was thrown.
24281 * javax/swing/text/WrappedPlainView.java:
24282 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24283 added note about meaning of rect.x and rect.width, removed unneeded
24284 checks, added code to not return the last possible document offset.
24286 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24288 * javax/swing/text/WrappedPlainView.java:
24289 (WrappedLine.viewToModel): Change < to <= in if-statement,
24290 removed addition of currLineStart to return value.
24291 * javax/swing/text/BoxView.java:
24292 (getViewAtPoint): Use copy instead of r for method call
24293 which modifies the second argument.
24295 2006-04-01 Mark Wielaard <mark@klomp.org>
24298 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24300 2006-03-31 Tom Tromey <tromey@redhat.com>
24302 * lib/split-for-gcj.sh: Updated for multi-field format.
24303 * lib/Makefile.am (CLEANFILES): Added classes.2.
24304 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24305 classes.2 using multiple fields.
24307 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24309 * javax/swing/JTable.java (columnSelectionChanged):
24310 Removed print statement.
24311 * javax/swing/DefaultListSelectionModel.java
24312 (addSelectionInterval, removeSelectionInterval):
24313 Fire the difference between selection. (setLeadSelectionIndex):
24314 Fire the difference and mark current and previous lead
24315 selection indexes for repaint.
24317 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24319 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24320 unnecessary copying.
24321 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24323 2006-03-31 Lillian Angel <langel@redhat.com>
24325 * java/awt/Component.java
24326 (translateEvent): oldKey should be the value of the
24329 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24331 * javax/swing/JTable.java (columnSelectionChanged):
24332 Treat second repaint parameter as width.
24334 2006-03-31 Lillian Angel <langel@redhat.com>
24337 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24338 (realize): New native function.
24339 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24340 Added new function declaration.
24341 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24342 (realize): New function.
24344 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24346 * javax/swing/text/GapContent.java:
24347 (replace): Move all Position instances from gap's end to
24348 it's start before increasing the gap start.
24349 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24350 (propertyChanged): Update the view only instead of
24351 indicating a document change.
24353 2006-03-31 Roman Kennke <kennke@aicas.com>
24355 * javax/swing/JTextField.java
24356 (fireActionPerformed): Put the textfields text in the action
24357 instead of the action name.
24359 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24361 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24362 Check for null jar-file argument.
24363 (setupSigningParams): Check for null alias argument.
24365 2006-03-31 Roman Kennke <kennke@aicas.com>
24367 * javax/swing/JComponent.java
24368 (paintChildren): Split up in two cases, depending on the
24369 optimizedDrawingEnabled flag.
24370 (paintChildrenWithOverlap): New method. Paints children when
24371 not optimizedDrawingEnabled. This implements better painting
24372 algorithm for overlapping components, so that the painted
24373 regions are minimized.
24374 (paintChildrenOptimized): New method. Paints children when
24375 when optimizedDrawingEnabled. This implements a painting
24376 algorithm that is optimized for the case when all children
24377 are guaranteed to be tiled.
24379 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24381 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24382 Attributes.putValue(String,String).
24383 (finishSigning): Likewise.
24384 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24385 (SIGNATURE_VERSION): Likewise.
24386 (readSFManifest): Use local string constant.
24387 (readMainSection): Likewise.
24388 (readVersionInfo): Likewise.
24389 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24390 Redefined using JarUtils constant.
24391 (SIGNATURE_VERSION): Likewise.
24392 (putValue(Name,String)): Made it private.
24394 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24396 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24397 New method. (clearSelection): Rewritten. (setSelectionInterval):
24398 Fire the difference between current and new selection.
24399 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24400 Only repaint the region, where selection has been changed.
24401 * javax/swing/plaf/basic/BasicTableUI.java
24402 (TableAction.actionPerformed): Do not change the column selection
24403 when only row selection change is wanted (and in reverse) and
24404 do not call the repaint() here.
24406 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24409 * javax/swing/DefaultComboBoxModel.java
24410 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24412 (addElement): Call list.addElement() rather than list.add(), and only
24413 update selected item if it is currently null,
24414 (removeElementAt): Update selected item, then remove the element.
24416 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24419 * java/awt/geom/Point2D.java
24420 (distanceSq(double, double)): Fixed order of arguments,
24421 (distanceSq(Point2D)): Likewise,
24422 (distance(double, double)): Likewise,
24423 (distance(Point2D)): Likewise.
24425 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24427 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24428 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24429 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24430 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24431 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24433 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24435 * javax.swing.JTable (constructor): Initialize column
24436 model column margin and table row margin before setting the
24437 table column model. (initialiseLocalVars): Do not call
24438 setIntercellSpacing.
24440 2006-03-30 Chris Burdess <dog@gnu.org>
24442 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24444 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24446 2006-03-30 Mark Wielaard <mark@klomp.org>
24449 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24450 adjust bounds. On resize invalidate and validate container.
24451 Always pass on ComponentEvents to Container super class.
24452 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24453 menuBar and pass to GtkWindowPeer super class.
24454 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24455 bounds and pass to GtkWindowPeer super class.
24456 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24457 New fields for local bounds.
24458 (getX, getY): New methods.
24459 (getWidth): Don't call into awtComponent.
24460 (getHeight): Likewise.
24461 (create): Cache local bounds.
24462 (setLocation): Documented, made protected and just call
24464 (setLocationUnlocked): Removed unused method.
24465 (setBoundsUnlocked): Likewise.
24466 (setBounds): Check whether bounds actually changed and cache local
24468 (setSize): Documented and made protected.
24469 (setResizable): Documented and cache local bounds.
24470 (postConfigureEvent): Update local bounds. Don't call awtComponent
24471 directly but post ComponentEvents.
24472 (show): Cache local bounds.
24473 (getBounds): Override to return cached bounds.
24475 2006-03-30 Lillian Angel <langel@redhat.com>
24477 * gnu/java/awt/peer/gtk/GdkGraphics.java
24478 (drawImage): Added check to prevent NPE.
24479 (drawImage): Likewise.
24480 (drawImage): Likewise.
24481 * java/awt/Choice.java
24482 (dispatchEventImpl): New function. selectedIndex was
24483 not being updated properly otherwise.
24485 2006-03-30 Roman Kennke <kennke@aicas.com>
24487 * javax/swing/JTabbedPane.java
24488 (removeTabAt): Removed debug code.
24490 2006-03-30 Roman Kennke <kennke@aicas.com>
24493 * javax/swing/plaf/basic/BasicTextUI.java
24494 (installKeyboardActions): Simply call getKeymap() and install this.
24495 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24497 2006-03-30 Roman Kennke <kennke@aicas.com>
24499 * javax/swing/JTabbedPane.java
24500 (removeTabAt): Adjust selection correctly when removing a tab
24501 before the selected tab. Also remove the component from the
24502 container, not only the tab object. Repaint and revalidate the
24503 component after the removal.
24504 (removeAll): Set selection to -1 before removing the tabs.
24506 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24508 * java/io/ObjectInputStream.java:
24509 (parseContent(byte)): Added enum support.
24510 * java/io/ObjectStreamConstants.java:
24512 (TC_MAX): Changed to new maximum, TC_ENUM.
24514 2006-03-29 Lillian Angel <langel@redhat.com>
24516 Partial fix for bug #26929
24517 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24518 (updateComponent): Removed. We want to clear the panel
24520 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24521 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24522 Should set the background to the saved background color.
24524 2006-03-29 Mark Wielaard <mark@klomp.org>
24526 Partial fix for bug #26848 (pack).
24527 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24528 Always show instances of Window.
24530 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24532 * javax/swing/JSlider.java
24533 (setPaintLabels): Only create standard labels if labelTable is null,
24534 * javax/swing/plaf/basic/BasicSliderUI.java
24535 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24536 "paintTicks" property change,
24537 (calculateThumbSize): Updated API docs,
24538 (calculateContentRect): Likewise,
24539 (calculateTrackBuffer): Take into account the lowest and highest
24540 labels when calculating buffer space,
24541 (calculateTrackRect): Include labels, if visible, in the calculation of
24542 the trackRect position,
24543 (calculateTickRect): Height is zero if ticks are not painted,
24544 (calculateLabelRect): Use max dimensions of actual labels,
24545 (getWidthOfHighValueLabel): Use preferred size,
24546 (getWidthOfLowValueLabel): Likewise,
24547 (getHeightOfHighValueLabel): Likewise,
24548 (getHeightOfLowValueLabel): Likewise,
24549 (drawInverted): Just return slider setting,
24550 (getHighestValueLabel): Updated API docs,
24551 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24552 to xPositionForValue() and yPositionForValue(),
24553 (paintHorizontalLabel): Removed full qualification of class name,
24554 (paintVerticalLabel): Likewise,
24555 (xPositionForValue): Reimplemented,
24556 (yPositionForValue): Reimplemented,
24557 * javax/swing/plaf/metal/MetalSliderUI.java
24558 (paintTrack): Made track one pixel longer.
24560 2006-03-29 Tom Tromey <tromey@redhat.com>
24563 * tools/Makefile.am (JCOMPILER): Added encoding options.
24564 * examples/Makefile.am (JCOMPILER): Added encoding options.
24566 2006-03-29 Gary Benson <gbenson@redhat.com>
24568 Partial fix for PR classpath/24895
24569 * java/io/FilePermission.java (implies): Canonicalize paths.
24571 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24574 * javax/swing/text/GapContent.java:
24575 (replace): Added call to resetMarksAtZero.
24577 2006-03-29 Roman Kennke <kennke@aicas.com>
24580 * javax/swing/plaf/basic/BasicMenuItemUI.java
24581 (cachedRect): New field.
24582 (BasicMenuItemUI): Initialize cachedRect field.
24583 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24584 to determine layout. Store maximum accelerator and text width
24585 in client properties of parent to allow correct alignment
24586 of accelerators among menu items of one menu.
24587 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24588 method. Align accelerators according to the values calculated
24589 in getPreferredMenuItemSize.
24590 (getAcceleratorString) New helper method.
24591 (layoutMenuItem): New helper method.
24593 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24595 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24596 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24597 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24599 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24600 readExternal, writeExternal): New methods.
24601 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24602 two stages, invokeCommon(Remote, ...) and
24603 invokeCommen(UnicastConnection, ...).
24604 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24605 also the ActivatableRef. toString(): Documented.
24606 * gnu/java/rmi/server/ActivatableRef.java,
24607 tools/gnu/classpath/tools/rmi/Persistent.java,
24608 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24609 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24610 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24611 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24612 tools/gnu/classpath/tools/rmi/RMID.java,
24613 tools/gnu/classpath/tools/rmi/RMID.txt,
24614 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24615 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24616 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24617 tools/gnu/classpath/tools/rmi/registry/package.html,
24618 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24619 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24621 * tools/README: Documented.
24622 * NEWS: Added entry about the activation.
24624 2006-03-29 Roman Kennke <kennke@aicas.com>
24627 * javax/swing/plaf/basic/BasicMenuItemUI.java
24628 (viewRect): New field.
24629 (textRect): New field.
24630 (accelRect): New field.
24631 (iconRect): New field.
24632 (arrowIconRect): New field.
24633 (checkIconRect): New field.
24634 (BasicMenuItemUI): Initialize new fields.
24635 (paintMenuItem): Rewritten to correctly layout and paint
24636 the menu item in a more straightforward way. Use cached rectangle
24637 objects for layout.
24638 (paintAccelerator): Pulled inside the paintMenuItem method.
24640 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24642 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24643 Do not use initCause with UnexpectedException.
24644 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24647 2006-03-29 Mark Wielaard <mark@klomp.org>
24649 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24650 (setCursorID): Removed unused static variable.
24652 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24654 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24656 2006-03-29 Mark Wielaard <mark@klomp.org>
24659 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24660 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24662 2006-03-28 Roman Kennke <kennke@aicas.com>
24664 * javax/swing/UIManager.java
24665 (installLookAndFeel): Implemented.
24666 (setInstalledLookAndFeels): Implemented.
24668 2006-03-28 Roman Kennke <kennke@aicas.com>
24670 * javax/swing/plaf/metal/MetalButtonUI.java
24671 (update): Paint gradient only when the background color
24672 is not a UIResource and if the button is neither armed nor
24673 pressed and if the button is contentAreaFilled.
24675 2006-03-28 Roman Kennke <kennke@aicas.com>
24677 * javax/swing/JLayeredPane.java
24678 (addImpl): Repaint added component.
24680 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24682 * java/util/regex/Matcher.java: Reverted.
24684 2006-03-28 Roman Kennke <kennke@aicas.com>
24686 * javax/swing/text/AsyncBoxView.java
24687 (setEstimatedMajorSpan): Made method protected.
24688 (getEstimatedMajorSpan): Made method protected.
24689 * javax/swing/text/BoxView.java
24690 (flipEastAndWestAtEnds): Fixed typo.
24691 * javax/swing/text/InternationalFormatter.java
24692 (getActions): Made method protected.
24693 * javax/swing/text/Position.java
24694 (Bias): Made class final.
24695 * javax/swing/text/html/HTML.java
24696 (MEDIA): Made field package private. Not specified.
24697 (NOBR): Made field package private. Not specified.
24698 * javax/swing/text/html/NullView.java
24699 Made class package private.
24700 * javax/swing/text/html/parser/Entity.java
24701 Made class non-serializable as specified.
24703 2006-03-28 Roman Kennke <kennke@aicas.com>
24705 * javax/swing/plaf/metal/MetalButtonUI.java
24706 (update): Don't paint gradient if the background color is
24707 no UIResource. Removed double getModel() call. Don't check for
24710 2006-03-28 Roman Kennke <kennke@aicas.com>
24712 * javax/swing/plaf/basic/BasicMenuItemUI.java
24713 (paint): Call paintMenuItem with the selectionBackground as
24715 (paintBackground): Fixed the condition and color for the background
24718 2006-03-28 Roman Kennke <kennke@aicas.com>
24720 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24721 (tabsOpaque): New field.
24722 (paintLeftTabBorder): Paint some parts only when the tabs are
24723 opaque. Determine the tab background using the paintLeftTabBorder()
24725 (paintRightTabBorder): Likewise.
24726 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24728 2006-03-27 Tom Tromey <tromey@redhat.com>
24730 PR classpath/25189:
24731 * java/lang/Enum.java (valueOf): Ensure that the named field
24732 is an enum constant.
24733 (compareTo): Check class of enum.
24735 2006-03-27 Tom Tromey <tromey@redhat.com>
24737 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24739 2006-03-27 Tom Tromey <tromey@redhat.com>
24741 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24743 (getModifiersInternal): Renamed from getModifiers.
24744 (getModifiers): New method.
24745 (isBridge): Likewise.
24746 (isSynthetic): Likewise.
24747 (isVarArgs): Likewise.
24748 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24750 (getModifiersInternal): Renamed from getModifiers.
24751 (getModifiers): New method.
24752 (isSynthetic): Likewise.
24753 (isEnumConstant): Likewise.
24754 * vm/reference/java/lang/reflect/Constructor.java
24755 (getModifiersInternal): Renamed from getModifiers.
24756 (getModifiers): New method
24757 (CONSTRUCTOR_MODIFIERS): New constant.
24758 (isSynthetic): New method.
24759 (isVarArgs): Likewise.
24760 * java/lang/reflect/Member.java (isSynthetic): New method.
24762 2006-03-28 Tom Tromey <tromey@redhat.com>
24764 * java/net/Proxy.java (TYPE): Added missing ";".
24766 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24768 * java/math/RoundingMode.java:
24769 Fixed serialization UID.
24770 * java/net/Proxy.java:
24773 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24775 * java/io/CharArrayWriter.java:
24776 (append(char)): Documented.
24777 (append(CharSequence)): Likewise.
24778 (append(CharSequence,int,int)): Likewise.
24780 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24782 * vm/reference/java/lang/reflect/Constructor.java
24783 (getTypeParameters): Check return value of getSignature for null.
24784 * vm/reference/java/lang/reflect/Method.java
24785 (getTypeParameters): Check return value of getSignature for null.
24787 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24789 * java/rmi/activation/ActivationGroup_Stub.java:
24792 2006-03-27 Tom Tromey <tromey@redhat.com>
24794 * java/io/CharArrayWriter.java (append): New overloads.
24796 2006-03-27 Lillian Angel <langel@redhat.com>
24798 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24799 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24800 Added check for colormap. Prevents assertion error.
24801 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24803 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24805 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24807 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24809 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24812 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24814 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24815 AC_MSG_ERROR instead of echoing the error message
24816 that no compiler has been found manually.
24818 2006-03-27 Roman Kennke <kennke@aicas.com>
24820 * javax/swing/RepaintManager.java
24821 (commitBuffer): Use simple drawImage() method instead of the
24824 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24826 * javax/swing/text/PlainView.java:
24827 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24828 for painting the selected line.
24830 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24832 * javax/swing/plaf/basic/BasicSliderUI.java
24833 (getThumbSize): Removed TODO and updated API docs.
24835 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24837 * javax/swing/text/DefaultCaret.java:
24838 (mouseClicked): Word selection rewritten.
24839 (paint): Draw line inside the bounding rectangle.
24840 (damage): Retrieve caret height from line height.
24842 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24844 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24846 Check for -help option.
24847 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24849 2006-03-27 Roman Kennke <kennke@aicas.com>
24851 * javax/swing/text/FieldView.java
24852 (getPreferredSpan): Don't include trailing newline in
24854 * javax/swing/text/PlainView.java
24855 (drawLine): Don't include trailing newline.
24856 (determineMaxLineLength): Don't include trailing newline.
24857 (getLineBuffer): Made method final.
24859 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24861 * javax/swing/JSlider.java
24862 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24863 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24864 NotImplementedException,
24865 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24867 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24869 * java/lang/ProcessBuilder.java:
24872 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24874 * gnu/java/net/protocol/http/Headers.java:
24875 Match layout of file on HEAD.
24876 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24878 * java/awt/datatransfer/DataFlavor.java
24881 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24883 * gnu/java/security/jce/hash/HavalSpi.java,
24884 * gnu/java/security/jce/hash/MD2Spi.java,
24885 * gnu/java/security/jce/hash/MD4Spi.java,
24886 * gnu/java/security/jce/hash/MD5Spi.java,
24887 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24888 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24889 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24890 * gnu/java/security/jce/hash/Sha160Spi.java,
24891 * gnu/java/security/jce/hash/Sha256Spi.java,
24892 * gnu/java/security/jce/hash/Sha384Spi.java,
24893 * gnu/java/security/jce/hash/Sha512Spi.java,
24894 * gnu/java/security/jce/hash/TigerSpi.java,
24895 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24896 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24897 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24898 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24899 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24900 * gnu/java/security/jce/sig/SignatureAdapter.java,
24901 * gnu/java/security/key/IKeyPairCodec.java,
24902 * gnu/java/security/key/IKeyPairGenerator.java,
24903 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24904 * gnu/java/security/key/dss/DSSKey.java,
24905 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24906 * gnu/java/security/key/dss/DSSPrivateKey.java,
24907 * gnu/java/security/key/dss/DSSPublicKey.java,
24908 * gnu/java/security/key/dss/FIPS186.java,
24909 * gnu/java/security/key/rsa/GnuRSAKey.java,
24910 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24911 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24912 * gnu/java/security/sig/ISignature.java,
24913 * gnu/java/security/sig/ISignatureCodec.java,
24914 * gnu/java/security/sig/dss/DSSSignature.java,
24915 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24916 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24917 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24918 * gnu/java/security/util/Util.java:
24919 Remove CVS revision tags.
24921 2006-03-26 Tom Tromey <tromey@redhat.com>
24923 * java/io/InputStream.java (InputStream): Implements Closeable.
24925 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24927 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24929 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24930 getAnchor): New methods.
24931 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24932 getAnchor): New methods.
24933 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24934 getAnchor): New methods.
24935 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24936 getAnchor): New methods.
24937 * gnu/regexp/REMatch.java(start1): New field.
24938 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24939 (match): set the starting position to start1[] instead of start[],
24940 (getMatchImpl): Set the found REMatch to the input,
24941 (makeCharIndexed): Made public.
24942 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24943 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24944 set the value of start[] copying from start1[].
24945 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24947 * java/util/regex/Matcher.java(inputCharIndexed): New field
24948 to be used as a parameter of the RE#getMatch.
24950 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24952 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24953 Documented the default jre spawning strategy (none).
24954 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24955 getSystem): Obtain the acticivation system from the
24956 DefaultActivationSystem.
24958 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24960 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24961 Ask user for keystore password if one was not provided.
24963 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24965 * tools/README: Added Security tools section.
24966 Documented the jarsigner tool.
24968 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24970 * javax/swing/JScrollBar.java
24971 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24972 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24973 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24974 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24975 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24976 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24977 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24978 (getAccessibleContext): Updated API docs.
24980 2006-03-25 Tom Tromey <tromey@redhat.com>
24982 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24983 change or if generator script changes.
24985 2006-03-25 Tom Tromey <tromey@redhat.com>
24987 * javax/naming/ldap/StartTlsRequest.java: New file.
24988 * javax/naming/ldap/StartTlsResponse.java: New file.
24990 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24992 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24993 to validate all components of a resource path.
24994 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24995 allowed to walk through every component of a resource path.
24997 2006-03-25 Michael Koch <konqueror@gmx.de>
24999 * NEWS: Added item for CLDR 1.3 update.
25001 2006-03-25 Michael Koch <konqueror@gmx.de>
25003 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
25004 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
25005 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
25006 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
25007 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
25008 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
25011 2006-03-25 Michael Koch <konqueror@gmx.de>
25013 * resource/gnu/java/locale/LocaleInformation_az.properties,
25014 resource/gnu/java/locale/LocaleInformation_bs.properties,
25015 resource/gnu/java/locale/LocaleInformation_byn.properties,
25016 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
25017 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
25018 resource/gnu/java/locale/LocaleInformation_gez.properties,
25019 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
25020 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
25021 resource/gnu/java/locale/LocaleInformation_haw.properties,
25022 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
25023 resource/gnu/java/locale/LocaleInformation_kok.properties,
25024 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
25025 resource/gnu/java/locale/LocaleInformation_sid.properties,
25026 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25027 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25028 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25029 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25030 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25031 resource/gnu/java/locale/LocaleInformation_syr.properties,
25032 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25033 resource/gnu/java/locale/LocaleInformation_tig.properties,
25034 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25035 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25036 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25037 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25038 resource/gnu/java/locale/LocaleInformation_wal.properties,
25039 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25042 2006-03-25 Michael Koch <konqueror@gmx.de>
25044 * resource/gnu/java/locale/LocaleInformation_fa.properties,
25045 resource/gnu/java/locale/LocaleInformation_kn.properties,
25046 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25047 resource/gnu/java/locale/LocaleInformation_ko.properties,
25048 resource/gnu/java/locale/LocaleInformation_sl.properties,
25049 resource/gnu/java/locale/LocaleInformation_so.properties,
25050 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25051 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25052 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25053 resource/gnu/java/locale/LocaleInformation_sr.properties:
25054 Random fixes I forgot to commit before.
25056 2006-03-25 Michael Koch <konqueror@gmx.de>
25058 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25059 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25060 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25061 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25062 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25063 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25064 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25065 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25066 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25067 resource/gnu/java/locale/LocaleInformation_en.properties,
25068 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25069 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25070 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25071 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25072 resource/gnu/java/locale/LocaleInformation_fa.properties,
25073 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25074 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25075 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25076 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25077 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25078 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25079 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25080 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25081 resource/gnu/java/locale/LocaleInformation_pa.properties,
25082 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25083 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25084 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25085 resource/gnu/java/locale/LocaleInformation_sa.properties,
25086 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25087 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25088 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25089 Updated currency formats.
25091 2006-03-25 Roman Kennke <kennke@aicas.com>
25093 * javax/swing/text/AbstractDocument.java
25094 (getAttributeContext): Made method final.
25095 (getCurrentWriter): Likewise.
25096 (getEndPosition): Likewise.
25097 (getProperty): Likewise.
25098 (getStartPosition): Likewise.
25099 (putProperty): Likewise.
25100 (readLock): Likewise.
25101 (readUnlock): Likewise.
25102 (writeLock): Likewise.
25103 (writeUnlock): Likewise.
25105 2006-03-25 Roman Kennke <kennke@aicas.com>
25107 * javax/swing/InputMap.java
25108 (allKeys): Check if parent keys is null.
25109 * javax/swing/KeyboardManager.java
25110 (registerEntireMap): Also register map's parent keys.
25111 * javax/swing/plaf/metal/MetalRootPaneUI.java
25112 (propertyChange): Also call super.propertyChange().
25114 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25116 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25117 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25118 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25119 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25120 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25121 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25123 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25125 * gnu/java/util/jar/JarUtils.java: New file.
25126 * java/util/jar/Manifest.java (CRLF): Removed.
25127 (read_main_section): Likewise.
25128 (read_version_info): Likewise.
25129 (expect_header(String,BufferedReader)): Likewise.
25130 (expect_header(String,BufferedReader,String)): Likewise.
25131 (read_header_value): Likewise.
25132 (read_attributes): Likewise.
25133 (read_attribute): Likewise.
25134 (read_individual_sections): Likewise.
25135 (read_section_name): Likewise.
25136 (write_main_section): Likewise.
25137 (write_version_info): Likewise.
25138 (write_header): Likewise.
25139 (write_main_attributes): Likewise.
25140 (write_attribute_entry): Likewise.
25141 (write_individual_sections): Likewise.
25142 (write_entry_attributes): Likewise.
25143 (read): use JarUtils.
25146 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25148 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25151 (SignerInfo(BERReader)): Updated javadoc.
25153 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25155 (encode): New method.
25156 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25157 (PKCS7_DATA): Removed.
25160 (PKCS7SignedData(BERReader)): Updated javadoc.
25162 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25164 (encode): New method.
25165 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25166 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25167 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25168 (decodePrivateKey): Decode x from an OCTET STRING.
25169 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25170 (toString): New method.
25171 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25173 (toString): New method.
25174 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25175 (toString): New method.
25176 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25178 2006-03-25 Roman Kennke <kennke@aicas.com>
25180 * java/util/GregorianCalender.java
25181 (computeTime): Fix comparison to correctly calculate the
25184 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25187 * java/awt/Window.java:
25188 (setFocusCycleRoot): New overriden method.
25189 (isFocusCycleRoot): Likewise.
25190 (getFocusCycleRootAncestor): Likewise.
25191 * java/awt/Container.java:
25192 (getFocusTraversalPolicy): Check also for anchestor == null.
25194 2006-03-25 Mark Wielaard <mark@klomp.org>
25196 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25197 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25200 2006-03-24 Tom Tromey <tromey@redhat.com>
25202 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25204 (writeChar): Removed useless cast.
25205 (writeChars(String)): Implemented.
25206 (writeDouble): Rewrote.
25207 (writeFloat): Likewise.
25208 (writeUTF): Implemented.
25209 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25212 2006-03-24 Roman Kennke <kennke@aicas.com>
25214 * javax/swing/JButton.java
25215 (def): Replaced field with defaultCapable field.
25216 (is_def): Removed field.
25217 (JButton): Initialize defaultCapable with true.
25218 (isDefaultButton): Documented and implemented method by querying
25219 the button's root pane if present.
25220 (isDefaultCapable): Changed def field to defaultCapable.
25221 Added documentation.
25222 (paramString): Call isDefaultButton() instead of accessing field,
25224 (setDefaultCapable): Changed def field to defaultCapable.
25225 Added documentation.
25226 * javax/swing/JRootPane.java
25227 (setDefaultButton): Only change the default button if the
25228 new button is defaultCapable.
25229 * javax/swing/plaf/basic/BasicRootPaneUI.java
25230 (DefaultPressAction): New class.
25231 (DefaultReleaseAction): New class.
25232 (installKeyboardActions): Implemented.
25233 (uninstallKeyboardActions): Implemented.
25234 (propertyChange): Implemented.
25235 * javax/swing/plaf/metal/MetalBorders.java
25236 (ButtonBorder.paintBorder): 'Outsourced' default theme
25237 painting to paintDefaultButtonBorder().
25238 (ButtonBorder.paintDefaultButtonBorder): New helper method
25239 to paint the border in the default theme. This also fixes
25240 painting of the border for default buttons.
25241 (ButtonBorder.paintOceanButtonBorder): Added support for
25242 default button painting. Fixed border for pressed/default state.
25243 * javax/swing/plaf/metal/MetalButtonUI.java
25244 (update): Only paint gradient when in OceanTheme and when the
25245 button is not armed.
25247 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25249 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25250 Inherit from Activator.
25252 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25254 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25255 Print debug message if debug flag is set.
25256 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25257 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25258 detail, do not call iniCause(). (exportClass): New method.
25259 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25260 Ignore null (bootstrap) class loader.
25261 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25262 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25263 visibility to protected.
25264 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25265 (toStub): New method.
25266 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25267 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25268 Explained property java.rmi.activation.port.
25270 2006-03-24 Tom Tromey <tromey@redhat.com>
25272 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25273 * gnu/java/locale/.cvsignore: New file.
25274 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25275 * java/util/Locale.java (getAvailableLocales): Clone result.
25276 (getISOCountries): Likewise.
25277 (getISOLanguages): Likewise.
25278 * scripts/generate-locale-list.sh: Make class public. Added new
25280 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25281 (getLocaleCount): Likewise.
25282 * java/text/Collator.java (getInstance): Javadoc typo fix.
25283 (getAvailableLocales): Wrote.
25285 2006-03-24 Roman Kennke <kennke@aicas.com>
25287 * javax/swing/JTabbedPane.java
25288 (getSelectedComponent): Return null when no component is
25291 2006-03-24 Mark Wielaard <mark@klomp.org>
25293 * NEWS: Add cursor and selection improvements.
25295 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25297 * java/awt/Component.java
25298 (getAccessibleName): Just return accessibleName,
25299 * javax/swing/AbstractButton.java
25300 (getAccessibleStateSet): Mark as stub,
25301 (getAccessibleName): Implemented,
25302 (getAcessibleIcon): Mark as stub,
25303 (getAccessibleRelationSet): Likewise,
25304 (getAccessibleAction): Likewise,
25305 (getAccessibleValue): Likewise,
25306 (getAccessibleActionCount): Likewise,
25307 (getAccessibleActionDescription): Likewise,
25308 (doAccessibleAction): Likewise,
25309 (getCurrentAccessibleValue): Likewise,
25310 (setCurrentAccessibleValue): Likewise,
25311 (getMinimumAccessibleValue): Likewise,
25312 (getMaximumAccessibleValue): Likewise,
25313 (getAccessibleText): Likewise,
25314 (getIndexAtPoint): Likewise,
25315 (getCharacterBounds): Likewise,
25316 (getCharCount): Likewise,
25317 (getCaretPosition): Likewise,
25318 (getAtIndex): Likewise,
25319 (getAfterIndex): Likewise,
25320 (getBeforeIndex): Likewise,
25321 (getCharacterAttribute): Likewise,
25322 (getSelectionStart): Likewise,
25323 (getSelectionEnd): Likewise,
25324 (getSelectedText): Likewise,
25325 (getTextRectangle): Likewise,
25326 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25327 (getIconTextGap): Added @since 1.4,
25328 (setContentAreaFilled): Reordered code to make event sequence match
25329 reference implementation,
25330 * javax/swing/JButton.java
25331 (getSelectedObjects): Removed,
25332 *javax/swing/JComponent.java
25333 (getAccessibleName): Call super.
25335 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25337 * javax/swing/JProgressBar.java
25338 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25339 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25340 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25341 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25342 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25343 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25344 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25345 (getAccessibleContext): Added API docs.
25347 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25349 * javax/swing/plaf/basic/BasicTextUI.java:
25350 (FocusListener.focusLost): Put current selection into the system
25353 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25355 * java/awt/Component.java:
25356 (processMouseEvent): Remove call to consume event.
25357 (dispatchEventImpl): Handle specific events first, do focus request
25358 only when mouse event was not yet consumed.
25359 * javax/swing/text/DefaultCaret.java:
25360 (mousePressed): Rewritten.
25361 (setDot): Changed order of operations.
25364 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25366 * javax/swing/JComponent.java
25367 (AccessibleJComponent.changeSupport): Removed field,
25368 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25369 (AccessibleJComponent.addPropertyChangeListener): Call super,
25370 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25371 * javax/swing/JSlider.java
25372 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25373 (AccessibleJSlider.getAccessibleRole): Likewise,
25374 (AccessibleJSlider.getAccessibleValue): Likewise,
25375 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25376 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25377 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25378 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25379 (getAccessibleContext): Added API docs.
25381 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25383 * gnu/java/rmi/activation/ActivationSystemTransient.java
25384 (debug): Made public. (constructor): Made protected.
25385 (activate, getActivationDesc): Throw more informative exceptions.
25386 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25388 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25390 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25392 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25394 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25395 system, passed in the activation descriptor field.
25396 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25397 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25398 to package private final. (equals): Compare uid, not the system.
25399 (hashCode): Forward to uid.hashCode(). toString(): New method.
25400 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25401 Rewritten. (equals): Compare UID only. toString(): New method.
25402 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25403 UID (space). (hashCode, toString): Rewritten.
25404 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25405 New method. (invoke): Treat null as an empty array for parameters.
25406 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25407 Include count, do not include the static machineId.
25409 2006-03-23 Tom Tromey <tromey@redhat.com>
25411 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25413 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25415 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25416 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25417 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25418 (force): New field. (setForce): New method. (compile): Handle -force.
25419 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25420 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25422 2006-03-23 Roman Kennke <kennke@aicas.com>
25424 * javax/swing/JTabbedPane.java
25425 (Page.getBackground): Return the JTabbedPane's background,
25426 rather than the page's component background.
25427 (Page.getForeground): Return the JTabbedPane's foreground,
25428 rather than the page's component foreground.
25429 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25430 (uninstallUI): Don't set colors to null.
25431 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25432 (paintTabBackground): Correctly determine the tab background.
25433 (getUnselectedBackground): New helper method to
25434 handle the UI property 'TabbedPane.unselectedBackground'
25437 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25439 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25440 (BorderListener.showingResizeCursor): New field.
25441 (BorderListener.mouseMoved, BorderListner.mouseExited):
25444 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25446 * javax/swing/JComboBox.java
25447 (selectWithKeyChar): Mark as stub,
25448 * javax/swing/JFileChooser.java
25449 (setDragEnabled): Mark as stub,
25450 (getDragEnabled): Likewise,
25451 * javax/swing/JSlider.java
25452 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25453 (AccessibleJSlider.getAccessibleRole): Likewise,
25454 (AccessibleJSlider.getAccessibleValue): Likewise,
25455 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25456 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25457 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25458 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25459 * javax/swing/UIManager.java
25460 (installLookAndFeel): Mark as stub,
25461 (setInstalledLookAndFeels): Likewise.
25463 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25465 * javax/swing/filechooser/UnixFileSystemView.java
25466 (getSystemDisplayName): Mark as stub,
25467 (getSystemIcon): Likewise,
25468 (getSystemTypeDescription): Likewise.
25470 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25472 * javax/swing/tree/AbstractLayoutCache.java
25473 (getNodeDimensions): Mark as stub,
25474 (getPreferredHeight): Likewise,
25475 (getPreferredWidth): Likewise,
25476 (getRowsForPaths): Likewise,
25477 (isFixedRowHeight): Likewise,
25478 * javax/swing/tree/DefaultTreeModel.java
25479 (reload()): Mark as stub,
25480 (reload(TreeNode)): Likewise,
25481 (nodeStructureChanged): Likewise,
25482 * javax/swing/tree/DefaultTreeSelectionModel.java
25483 (clone): Mark as stub,
25484 (setRowMapper): Likewise,
25485 (setSelectionPaths): Likewise,
25486 (isRowSelected): Likewise,
25487 (resetRowSelection): Likewise,
25488 (insureRowContinuity): Likewise,
25489 (arePathsContiguous): Likewise,
25490 (canPathsBeAdded): Likewise,
25491 (canPathsBeRemoved): Likewise,
25492 (notifyPathChange): Likewise,
25493 (updateLeadIndex): Likewise,
25494 (insureUniqueness): Likewise,
25495 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25497 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25499 2006-03-22 Tom Tromey <tromey@redhat.com>
25501 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25503 (getStaticAttributeKey): Likewise.
25504 (readAttributeSet): Likewise.
25505 (writeAttributeSet): Likewise.
25506 (readAttributes): Likewise.
25507 (writeAttributes): Likewise.
25508 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25510 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25512 (fireChangedUpdate): Likewise.
25515 (handleEndOfLineString): Likewise.
25516 (textAreaContent): Likewise.
25517 (preContent): Likewise.
25518 (addSpecialElement): Likewise.
25519 (setInnerHTML): Likewise.
25520 (setOuterHTML): Likewise.
25521 (insertBeforeStart): Likewise.
25522 (insertBeforeEnd): Likewise.
25523 (insertAfterEnd): Likewise.
25524 (insertAfterStart): Likewise.
25525 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25526 Mark all methods as stub.s
25527 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25529 (paintHorizontalSeparators): Likewise.
25530 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25532 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25534 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25536 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25539 2006-03-22 Mark Wielaard <mark@klomp.org>
25541 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25543 2006-03-22 Mark Wielaard <mark@klomp.org>
25546 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25547 Takes GtkImage, x and y coordinates.
25548 (gtkWidgetSetCursorUnlocked): Likewise.
25549 (GtkComponentPeer): Set cursor when set.
25550 (setCursor): Handle GtkCursor.
25551 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25553 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25554 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25555 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25556 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25558 2006-03-23 Roman Kennke <kennke@aicas.com>
25561 * gnu/java/security/Registry.java
25562 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25563 * gnu/javax/crypto/pad/PadFactory.java
25564 (getInstance): For PKCS#5, also return PKCS#7 pad
25566 (getNames): Added PKCS#5.
25567 * javax/crypto/KeyGenerator.java
25568 (getInstance): Initialize key generator before returning
25571 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25573 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25574 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25575 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25576 if COMMENTS is set.
25578 2006-03-22 Tom Tromey <tromey@redhat.com>
25580 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25581 (getBoolean): Likewise.
25582 (getString): Likewise.
25583 (getIcon): Likewise.
25585 2006-03-22 Mark Wielaard <mark@klomp.org>
25588 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25589 (GLightweightPeer(Component)): Install MouseListener.
25590 (setCursor): Implement.
25591 (mouseEntered): New method.
25593 2006-03-22 Tom Tromey <tromey@redhat.com>
25595 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25597 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25599 (getFontForState): Likewise.
25600 (getInsets): Added 'result' argument.
25601 (getPainter): Renamed.
25603 2006-03-22 Tom Tromey <tromey@redhat.com>
25605 * javax/swing/plaf/synth/SynthPainter.java
25606 (paintScrollBarThumbBackground): Added 'orientation' argument.
25607 (paintScrollBarThumbBorder): Likewise.
25608 (paintSliderThumbBackground): Likewise.
25609 (paintSliderThumbBorder): Likewise.
25610 (paintTabbedPaneTabBackground): Added 'index' argument.
25611 (paintTabbedPaneTabBorder): Likewise.
25613 2006-03-22 Tom Tromey <tromey@redhat.com>
25615 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25616 (toString): New method.
25618 2006-03-22 Tom Tromey <tromey@redhat.com>
25620 * doc/hacking.texinfo (Source Code Style Guide): Mention
25621 NotImplementedException.
25622 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25623 (flushBefore): Mark as stub.
25625 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25627 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25630 (writeBit): Likewise.
25631 (writeChars): Likewise.
25632 (writeUTF): Likewise.
25633 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25636 * java/net/URLConnection.java (getContent): Mark as stub.
25637 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25638 * java/awt/TexturePaint.java (createContext): Mark as stub.
25639 (getTransparency): Mark as stub.
25640 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25641 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25642 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25644 (getImageCapabilities): Likewise.
25645 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25646 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25647 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25649 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25650 (getAdvanceBetween): Likewise.
25651 (getLayout): Likewise.
25652 (insertChar): Likewise.
25653 (getLineBreakIndex): Likewise.
25654 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25655 (getAdvance): Likewise.
25656 (getAscent): Likewise.
25657 (getDescent): Likewise.
25658 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25659 (insertChar): Likewise.
25660 (nextLayout): Likewise.
25661 (nextLayout): Likewise.
25662 (nextOffset): Likewise.
25663 (nextOffset): Likewise.
25664 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25665 (equals): Likewise.
25666 (getAdvance): Likewise.
25667 (getAscent): Likewise.
25668 (getBounds): Likewise.
25669 (getDescent): Likewise.
25670 (hashCode): Likewise.
25671 (ImageGraphicAttribute): Likewise.
25672 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25673 (getJustificationInfo): Likewise.
25674 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25675 (getGlyphCharIndices): Likewise.
25676 (getGlyphOutline): Likewise.
25677 (getGlyphPixelBounds): Likewise.
25678 (getLayoutFlags): Likewise.
25679 (getPixelBounds): Likewise.
25680 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25681 (getRSB): Likewise.
25682 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25683 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25684 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25686 (resetRecognizer): Likewise.
25687 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25689 (getNativesForFlavor): Likewise.
25690 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25691 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25693 (getRegion): Likewise.
25694 (createUI): Likewise.
25695 (initialize): Likewise.
25696 (uninitialize): Likewise.
25697 (getDefaults): Likewise.
25699 (shouldUpdateStyleOnAncestorChanged): Likewise.
25700 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25702 (getPreferredSize): Likewise.
25703 (getMaximumSize): Likewise.
25704 (paintText): Likewise.
25705 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25707 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25709 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25711 * java/io/ObjectStreamConstants.java: Added since tag.
25712 (PROTOCOL_VERSION_1): Added javadoc.
25713 (PROTOCOL_VERSION_2): Likewise.
25714 * java/io/ObjectOutputStream.java:
25715 (setDefaultProtocolVersion): Removed.
25716 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25718 2006-03-21 Lillian Angel <langel@redhat.com>
25720 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25721 (BMPInfoHeader): Removed debug lines.
25722 * gnu/javax/imageio/bmp/EncodeRLE4.java
25723 (encode): Implemented.
25724 (uncompress): New function implemented to
25725 uncompress the image before encoding.
25726 * gnu/javax/imageio/bmp/EncodeRLE8.java
25727 (encode): Implemented.
25728 (uncompress): New function implemented to
25729 uncompress the image before encoding.
25731 2006-03-21 Roman Kennke <kennke@aicas.com>
25733 * javax/swing/text/html/FormView.java
25734 (getImageData): New helper method.
25736 2006-03-21 Tom Tromey <tromey@redhat.com>
25738 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25740 (Unsafe): Now final.
25742 2006-03-21 Roman Kennke <kennke@aicas.com>
25744 * javax/swing/text/html/FormView.java
25745 (MouseEventListener): New inner class.
25747 2006-03-21 Roman Kennke <kennke@aicas.com>
25749 * javax/swing/text/html/ListView.java: New file.
25751 2006-03-21 Tom Tromey <tromey@redhat.com>
25753 * java/text/Bidi.java: Completed.
25755 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25757 * javax/swing/JTable.java:
25758 (columnAtPoint): Removed the null check, this method should throw a NPE
25759 if the argument is null.
25761 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25763 * javax/swing/text/DefaultHighlighter.java:
25764 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25766 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25768 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25769 the textcomponent having a selection.
25770 (clearSelection): Clear 'componentWithSelection' variable.
25771 (handleSelection): Clear selection of current component having a
25772 selection before setting a new selection in another component.
25773 (mouseDragged): Only react on left mouse button.
25774 (mouseClicked): Only react on left mouse button.
25776 2006-03-21 Roman Kennke <kennke@aicas.com>
25778 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25779 (paintContentBorderTopEdge): Implemented.
25780 (paintContentBorderBottomEdge): Implemented.
25781 (paintContentBorderLeftEdge): Implemented.
25782 (paintContentBorderRightEdge): Implemented.
25783 (isLastTabInRun): New helper method.
25785 2006-03-21 Roman Kennke <kennke@aicas.com>
25787 * javax/swing/JTabbedPane.java
25788 (Page.getForeground): Fall back to returning the tabbed pane's
25789 foreground if no foreground has been exclicitly set.
25791 2006-03-21 Roman Kennke <kennke@aicas.com>
25793 * javax/swing/plaf/metal/MetalComboBoxButton.java
25794 (setEnabled): Update colors of button correctly.
25795 * javax/swing/plaf/metal/MetalComboBoxUI.java
25796 (MetalPropertyChangeListener.propertyChange): Update the colors
25797 of the list and the button when any of the color properties
25798 of the ComboBox change.
25800 2006-03-21 Roman Kennke <kennke@aicas.com>
25802 * javax/swing/plaf/basic/BasicButtonUI.java
25803 (uninstallDefaults): Only nullify button colors if they are
25804 not UIResource instances.
25806 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25808 * javax/swing/JComponent.java
25809 (AccessibleJComponent.getAccessibleDescription): Call super,
25810 * javax/swing/JToolTip.java: API doc updates all over, plus
25811 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25812 (AccessibleJToolTip.getAccessibleRole): Implemented,
25813 (getAccessibleContext): Implemented,
25814 (paramString): Reimplemented,
25815 (setComponent): Fire PropertyChangeEvent,
25816 (setTipText): Likewise.
25818 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25820 * java/util/Formatter.java:
25821 Make the class final.
25823 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25825 * java/lang/System.java:
25826 (nanoTime()): Documented.
25827 * java/lang/Thread.java:
25828 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25829 Added docs and security check.
25830 (getUncaughtExceptionHandler()): Documented.
25831 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25832 Added docs and security check.
25833 (getDefaultUncaughtExceptionHandler()): Documented.
25834 (getId()): Documented.
25835 (Thread.State): Documented.
25836 * vm/reference/gnu/classpath/Unsafe.java:
25838 (getUnsafe()): Updated to handle security.
25840 2006-03-20 Tom Tromey <tromey@redhat.com>
25842 * java/lang/System.java:
25843 (nanoTime()): Implemented.
25844 * java/lang/Thread.java:
25845 (getId()): Implemented.
25846 * java/util/AbstractMap.java:
25847 (SimpleImmutableEntry): New 1.6 class.
25848 (BasicMapEntry): Modified to be SimpleEntry.
25849 * java/util/Collections.java:
25850 Modified to use SimpleEntry.
25851 * java/util/EnumMap.java: Likewise.
25852 * java/util/HashMap.java: Likewise.
25853 * java/util/Hashtable.java: Likewise.
25854 * java/util/TreeMap.java: Likewise.
25855 * vm/reference/gnu/classpath/Unsafe.java:
25856 New class to handle low-level facilities for concurrency.
25857 * vm/reference/java/lang/VMSystem.java:
25858 (nanoTime()): Implemented.
25860 2006-03-20 Tom Tromey <tromey@redhat.com>
25862 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25863 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25864 (CertStoreSpi): Updated throws clause.
25865 * java/security/cert/CertPathValidatorSpi.java: Added import for
25867 (engineValidate): Updated 'throws' clause.
25868 * java/security/cert/PKIXParameters.java: Javadoc fix.
25869 * java/security/cert/X509CertSelector.java
25870 (setAuthorityKeyIdentifier): Javadoc fix.
25872 2006-03-20 Tom Tromey <tromey@redhat.com>
25874 * .classpath: Build gnu.javax.swing.plaf.
25876 2006-03-20 Lillian Angel <langel@redhat.com>
25878 * gnu/javax/imageio/bmp/BMPDecoder.java:
25879 Removed unneeded import.
25880 * gnu/javax/imageio/bmp/BMPEncoder.java:
25882 * gnu/javax/imageio/bmp/BMPFileHeader.java
25883 (BMPFileHeader): New constructor used to create info header
25884 for an output stream.
25885 (write): Fixed indexes.
25886 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25887 Initialized writerSpiNames field.
25888 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25890 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25892 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25893 Change visibility for fields.
25894 (BMPInfoHeader): New constructor used to create
25895 file header for an output stream.
25896 (intToDWord): New method. Converts an int to a
25898 (intToWord): New method. Converts an int to a word.
25899 * gnu/javax/imageio/bmp/DecodeBF32.java:
25900 Removed unneeded imports.
25901 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25903 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25905 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25907 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25909 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25911 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25913 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25915 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25917 * javax/imageio/ImageIO.java:
25920 2006-03-20 Roman Kennke <kennke@aicas.com>
25922 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25923 (TabbedPaneLayout.normalizeTabRuns): New method.
25924 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25925 (paintTabBorder): Replaced if-else chain with switch.
25926 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25928 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25930 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25932 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25934 (paintTabBackground): Fetch background color from the TabbedPane.
25935 Fixed painting and improved by not using fillPolygon, and instead
25936 using fillRectangle. Replaced if-else chain with switch.
25937 (calculateMaxTabHeight): Added overridden method with FIXME.
25938 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25940 (paintContentBorderTopEdge): Added stub with FIXME.
25941 (paintContentBorderBottomEdge): Added stub with FIXME.
25942 (paintContentBorderLeftEdge): Added stub with FIXME.
25943 (paintContentBorderRightEdge): Added stub with FIXME.
25945 2006-03-20 Roman Kennke <kennke@aicas.com>
25947 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25948 (tabsOpaque): New field.
25949 (installDefaults): Fetch tabsOpaque property from UIManager.
25950 (paintTab): Fill tab background when tabsOpaque property is true.
25951 * javax/swing/plaf/basic/BasicLookAndFeel.java
25952 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25954 2006-03-20 Roman Kennke <kennke@aicas.com>
25956 * javax/swing/JTabbedPane.java
25957 (Pane.getBackground): When no background was explicitly set, return
25958 the JTabbedPane's background.
25960 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25962 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25963 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25964 * org/omg/CORBA/BAD_INV_ORDER.java,
25965 * org/omg/CORBA/BAD_CONTEXT.java,
25966 * org/omg/CORBA/BAD_OPERATION.java,
25967 * org/omg/CORBA/BAD_PARAM.java,
25968 * org/omg/CORBA/BAD_QOS.java,
25969 * org/omg/CORBA/BAD_TYPECODE.java,
25970 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25971 * org/omg/CORBA/COMM_FAILURE.java,
25972 * org/omg/CORBA/CurrentHolder.java,
25973 * org/omg/CORBA/DATA_CONVERSION.java,
25974 * org/omg/CORBA/FREE_MEM.java,
25975 * org/omg/CORBA/IMP_LIMIT.java,
25976 * org/omg/CORBA/INITIALIZE.java,
25977 * org/omg/CORBA/INTERNAL.java,
25978 * org/omg/CORBA/INTF_REPOS.java,
25979 * org/omg/CORBA/INVALID_ACTIVITY.java,
25980 * org/omg/CORBA/INVALID_TRANSACTION.java,
25981 * org/omg/CORBA/INV_FLAG.java,
25982 * org/omg/CORBA/INV_IDENT.java,
25983 * org/omg/CORBA/INV_OBJREF.java,
25984 * org/omg/CORBA/INV_POLICY.java,
25985 * org/omg/CORBA/MARSHAL.java,
25986 * org/omg/CORBA/NO_RESOURCES.java,
25987 * org/omg/CORBA/NO_MEMORY.java,
25988 * org/omg/CORBA/NO_IMPLEMENT.java,
25989 * org/omg/CORBA/NO_PERMISSION.java,
25990 * org/omg/CORBA/NO_RESPONSE.java,
25991 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25992 * org/omg/CORBA/OBJ_ADAPTER.java,
25993 * org/omg/CORBA/ParameterModeHolder.java,
25994 * org/omg/CORBA/PolicyError.java,
25995 * org/omg/CORBA/PolicyErrorHolder.java,
25996 * org/omg/CORBA/PolicyHolder.java,
25997 * org/omg/CORBA/PolicyListHolder.java,
25998 * org/omg/CORBA/REBIND.java,
25999 * org/omg/CORBA/TIMEOUT.java,
26000 * org/omg/CORBA/TRANSACTION_MODE.java,
26001 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
26002 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
26003 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
26004 * org/omg/CORBA/TRANSIENT.java,
26005 * org/omg/CORBA/TypeCodeHolder.java,
26006 * org/omg/CORBA/UNKNOWN.java,
26007 * org/omg/CORBA/UnionMember.java,
26008 * org/omg/CORBA/UnknownUserException.java,
26009 * org/omg/CORBA/UnknownUserExceptionHolder.java,
26010 * org/omg/CORBA/WrongTransactionHolder.java,
26011 * org/omg/IOP/IOR.java,
26012 * org/omg/IOP/IORHolder.java,
26013 * org/omg/IOP/MultipleComponentProfileHolder.java,
26014 * org/omg/IOP/ServiceContextHolder.java,
26015 * org/omg/IOP/ServiceContextListHolder.java,
26016 * org/omg/IOP/TaggedComponentHolder.java,
26017 * org/omg/IOP/TaggedProfileHolder.java,
26018 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
26019 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
26020 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
26021 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
26022 Made class final, various javadoc fixlets.
26023 * org/omg/CORBA/CompletionStatus.java,
26024 * org/omg/CORBA/PERSIST_STORE.java,
26025 * org/omg/CORBA/ValueMember.java,
26026 * org/omg/PortableInterceptor/ForwardRequest.java,
26027 * org/omg/PortableInterceptor/InvalidSlot.java,
26028 * org/omg/IOP/CodecPackage/TypeMismatch.java,
26029 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26030 * org/omg/IOP/CodecPackage/FormatMismatch.java,
26031 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26032 * org/omg/IOP/Encoding.java,
26033 * org/omg/IOP/TaggedComponent.java,
26034 * org/omg/IOP/TaggedProfile.java: Made class final.
26035 * org/omg/CORBA/SystemException.java: Made class abstract.
26036 * org/omg/CORBA/UserException.java: Made class abstract.
26037 (UserException): Now protected.
26038 (UserException(String)): Likewise.
26039 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26040 (typecode): Removed unused private variable.
26042 2006-03-20 Chris Burdess <dog@gnu.org>
26045 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26047 2006-03-20 Roman Kennke <kennke@aicas.com>
26049 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26050 (paintTabArea): Look up tab run indices in tabRuns array instead
26051 of using the index directly.
26053 2006-03-20 Roman Kennke <kennke@aicas.com>
26055 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26056 (paintTab): Fixed painting.
26057 (paintText): Fixed text painting.
26058 (paintFocusIndicator): Fixed painting of the focus rectangle.
26059 (paintContentBorder): Fixed painting of the content area.
26061 2006-03-20 Mark Wielaard <mark@klomp.org>
26063 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26064 static lock Object field.
26065 (produce): Synchronize on pixbufLock when calling initState(),
26066 pumpBytes() and pumpDone().
26067 (finalize): Likewise when calling finish().
26068 (GdkPixbufWriter.write): Likewise when calling streamImage().
26069 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26070 when calling loadPixbuf. Chain exception.
26071 (GtkImage(byte[])): Likewise when calling loadImageFromData.
26072 (GtkImage(URL)): Likewise.
26073 (GtkImage(int,int)): Likewise when calling createPixmap().
26074 (GtkImage(GtkImage,int,int,int)): Likewise when calling
26075 createScaledPixmap().
26076 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26077 (setImage): Likewise when calling createPixmap() and setPixels().
26078 (getSource): Likewise when calling getPixels().
26079 (flush): Likewise when calling freePixmap().
26080 (finalize): Likewise.
26081 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26082 drawPixelsScaledFlipped().
26083 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26084 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26085 gdk_threads_enter/leave().
26086 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26087 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26088 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26089 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26090 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26091 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26092 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26093 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26094 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26095 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26096 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26097 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26098 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26100 2006-03-20 Roman Kennke <kennke@aicas.com>
26102 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26103 (calculateTabHeight): Not need to use SwingUtilities here.
26104 (getTabInsets): Do not rotate insets.
26106 2006-03-20 Roman Kennke <kennke@aicas.com>
26108 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26109 (paint): Make sure the layout is valid before painting.
26110 (paintTabArea): Made tab painting more straightforward and efficient.
26112 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26114 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26115 (getScrollableUnitIncrement): Rewritten.
26116 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26117 (getScrollableUnitIncrement): Rewritten.
26118 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26119 (ROWS_PER_WHEEL_CLICK): New field.
26120 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26122 2006-03-20 Roman Kennke <kennke@aicas.com>
26124 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26125 (paint): Make sure the layout is valid before painting.
26126 (paintTabArea): Made tab painting more straightforward and efficient.
26128 2006-03-20 Roman Kennke <kennke@aicas.com>
26130 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26131 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26133 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26134 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26135 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26136 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26137 bounds here. That is moved into layoutContainer().
26138 (calculateSize): Correctly respect insets. Made code slightly more
26139 clear and efficient.
26140 (calculateTabRects): Rewritten completely. The old code was
26141 not quite right and unstable in some situations.
26142 (layoutContainer): Moved layout of tabbed pane's subcomponents
26144 (tabRunsDirty): New field.
26145 (rolloverTab): New field.
26146 (tabForCoordinate): Rewritten for simplicity and correctness.
26147 (setRolloverTab): New method.
26148 (getRolloverTab): New method.
26150 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26152 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26153 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26154 (getScrollableUnitIncrement
26155 * javax/swing/Scrollable.java: Documented.
26156 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26157 (MouseWheelHandler):Rewritten.
26159 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26161 * doc/vmintegration.texinfo:
26162 Updated with gnu.classpath.Unsafe
26164 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26167 Updated with VMArray and Unsafe changes.
26169 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26171 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26172 (getScrollableUnitIncrement): Rewritten.
26173 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26174 (getScrollableUnitIncrement): Rewritten.
26175 (getScrollableBlockIncrement): Rewritten.
26176 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26177 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26178 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26179 New field. (installListeners): Install wheel listeners.
26180 (uninstallListeners): Uninstall wheel listeners.
26181 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26182 of the MouseWheelListener. (installListeners): Do not install wheel
26183 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26185 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26187 * vm/reference/gnu/classpath/Unsafe.java:
26189 (getUnsafe()): Updated to handle security.
26191 2006-03-19 Tom Tromey <tromey@redhat.com>
26193 * vm/reference/gnu/classpath/Unsafe.java:
26194 New class to handle low-level facilities for concurrency.
26196 2006-03-19 Mark Wielaard <mark@klomp.org>
26198 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26199 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26200 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26201 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26203 2006-03-19 Mark Wielaard <mark@klomp.org>
26205 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26207 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26209 2006-03-19 Michael Koch <konqueror@gmx.de>
26211 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26212 resource/gnu/java/locale/LocaleInformation_am.properties,
26213 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26214 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26215 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26216 resource/gnu/java/locale/LocaleInformation_bg.properties,
26217 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26218 resource/gnu/java/locale/LocaleInformation_ca.properties,
26219 resource/gnu/java/locale/LocaleInformation_cs.properties,
26220 resource/gnu/java/locale/LocaleInformation_cy.properties,
26221 resource/gnu/java/locale/LocaleInformation_da.properties,
26222 resource/gnu/java/locale/LocaleInformation_de.properties,
26223 resource/gnu/java/locale/LocaleInformation_dv.properties,
26224 resource/gnu/java/locale/LocaleInformation_el.properties,
26225 resource/gnu/java/locale/LocaleInformation_en.properties,
26226 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26227 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26228 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26229 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26230 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26231 resource/gnu/java/locale/LocaleInformation_es.properties,
26232 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26233 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26234 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26235 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26236 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26237 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26238 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26239 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26240 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26241 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26242 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26243 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26244 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26245 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26246 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26247 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26248 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26249 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26250 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26251 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26252 resource/gnu/java/locale/LocaleInformation_fa.properties,
26253 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26254 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26255 resource/gnu/java/locale/LocaleInformation_fi.properties,
26256 resource/gnu/java/locale/LocaleInformation_fr.properties,
26257 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26258 resource/gnu/java/locale/LocaleInformation_ga.properties,
26259 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26260 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26261 resource/gnu/java/locale/LocaleInformation_hr.properties,
26262 resource/gnu/java/locale/LocaleInformation_hu.properties,
26263 resource/gnu/java/locale/LocaleInformation_id.properties,
26264 resource/gnu/java/locale/LocaleInformation_is.properties,
26265 resource/gnu/java/locale/LocaleInformation_it.properties,
26266 resource/gnu/java/locale/LocaleInformation_ja.properties,
26267 resource/gnu/java/locale/LocaleInformation_kk.properties,
26268 resource/gnu/java/locale/LocaleInformation_kl.properties,
26269 resource/gnu/java/locale/LocaleInformation_km.properties,
26270 resource/gnu/java/locale/LocaleInformation_ky.properties,
26271 resource/gnu/java/locale/LocaleInformation_lo.properties,
26272 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26273 resource/gnu/java/locale/LocaleInformation_lt.properties,
26274 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26275 resource/gnu/java/locale/LocaleInformation_lv.properties,
26276 resource/gnu/java/locale/LocaleInformation_mk.properties,
26277 resource/gnu/java/locale/LocaleInformation_mn.properties,
26278 resource/gnu/java/locale/LocaleInformation_mr.properties,
26279 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26280 resource/gnu/java/locale/LocaleInformation_ms.properties,
26281 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26282 resource/gnu/java/locale/LocaleInformation_mt.properties,
26283 resource/gnu/java/locale/LocaleInformation_nb.properties,
26284 resource/gnu/java/locale/LocaleInformation_nl.properties,
26285 resource/gnu/java/locale/LocaleInformation_nn.properties,
26286 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26287 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26288 resource/gnu/java/locale/LocaleInformation_pa.properties,
26289 resource/gnu/java/locale/LocaleInformation_pl.properties,
26290 resource/gnu/java/locale/LocaleInformation_pt.properties,
26291 resource/gnu/java/locale/LocaleInformation_ru.properties,
26292 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26293 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26294 resource/gnu/java/locale/LocaleInformation_sa.properties,
26295 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26296 resource/gnu/java/locale/LocaleInformation_sk.properties,
26297 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26298 resource/gnu/java/locale/LocaleInformation_sv.properties,
26299 resource/gnu/java/locale/LocaleInformation_sw.properties,
26300 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26301 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26302 resource/gnu/java/locale/LocaleInformation_te.properties,
26303 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26304 resource/gnu/java/locale/LocaleInformation_th.properties,
26305 resource/gnu/java/locale/LocaleInformation_ti.properties,
26306 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26307 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26308 resource/gnu/java/locale/LocaleInformation_tr.properties,
26309 resource/gnu/java/locale/LocaleInformation_tt.properties,
26310 resource/gnu/java/locale/LocaleInformation_uk.properties,
26311 resource/gnu/java/locale/LocaleInformation_ur.properties,
26312 resource/gnu/java/locale/LocaleInformation_uz.properties,
26313 resource/gnu/java/locale/LocaleInformation_zh.properties,
26314 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26315 More updates for CLDR 1.3.
26317 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26319 * doc/vmintegration.texinfo:
26320 Updated to include VMArray.
26321 * include/Makefile.am:
26322 Replace java_lang_reflect_Array.h with
26323 java_lang_reflect_VMArray.h
26324 * include/java_lang_reflect_VMArray.h:
26325 New autogenerated header.
26326 * include/java_lang_reflect_Array.h:
26328 * java/lang/reflect/Array.java:
26329 (newInstance(Class,int)): Calls VMArray.
26330 (createMultiArray(Class,int[],int)): Likewise.
26331 (createObjectArray(Class,int)): Removed.
26332 * native/jni/java-lang/Makefile.am:
26333 Replaced java_lang_reflect_Array.c with
26334 java_lang_reflect_VMArray.c
26335 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26336 Renamed from java_lang_reflect_Array.c.
26337 * vm/reference/java/lang/reflect/VMArray.java:
26338 (createObjectArray(Class,int)): Native method moved
26339 from java.lang.reflect.Array.
26341 2006-03-19 Roman Kennke <kennke@aicas.com>
26343 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26344 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26346 * examples/gnu/classpath/examples/swing/Demo.java
26347 (mkButtonBar): Hook up theme editor.
26348 (mkMenuBar): Hook up theme editor.
26350 2006-03-19 Roman Kennke <kennke@aicas.com>
26352 * javax/swing/plaf/basic/BasicFileChooserUI.java
26353 (ApproveSelectionAction.actionPerformed): Added case for when
26354 nothing has been selected but the user has typed a filename
26355 into the textfield.
26356 (getFileName): Return the value of the text field.
26358 2006-03-19 Roman Kennke <kennke@aicas.com>
26360 * javax/swing/JColorChooser.java
26361 (createDialog): Create JDialog instead of ModalDialog. Make this
26362 dialog modal by calling setModal(true).
26363 (ModalDialog): Removed unnecessary inner class.
26365 2006-03-19 Tom Tromey <tromey@redhat.com>
26367 * java/awt/font/NumericShaper.java: Rewrote.
26369 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26371 * javax/swing/plaf/basic/BasicTableUI.java:
26372 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26373 New field. MouseInputHandler.mouseWheelMoved): New method.
26374 (installListeners): Register MouseInputHandler as
26375 wheel listener also.
26377 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26380 * javax/swing/ViewportLayout.java (layoutContainer):
26381 If Scrollable tracks dimension, set view size to the port size.
26382 If port is larger than the view, move the view to the top/left.
26384 2006-03-19 Roman Kennke <kennke@aicas.com>
26386 * javax/swing/MenuSelectionManager.java
26387 (isComponentPartOfCurrentMenu): Also consider the first element
26388 in a menu selection list. Make a isDescendentFrom check instead
26389 of simple equals to also catch sub components.
26391 2006-03-19 Roman Kennke <kennke@aicas.com>
26393 * javax/swing/JComboBox.java
26394 (actionPerformed): Fetch selected item directly from the editor
26395 instead of trying to get it from the event.
26397 2006-03-19 Roman Kennke <kennke@aicas.com>
26399 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26400 (listener): Removed field.
26401 (BasicComboBoxEditor): Removed initialization of listener field.
26402 (addActionListener): Add listener directly to editor.
26403 (removeActionListener): Remove listener directly from editor.
26404 (ComboBoxEditorListener): Removed class.
26405 * javax/swing/plaf/basic/BasicComboBoxUI.java
26406 (getPreferredSize): Fixed to return the minimumSize.
26407 (getMinimumSize): Improved code for more clearness.
26408 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26409 (rectangleForCurrentValue): Correctly respect insets.
26410 (getDefaultSize): Return preferredSize here. Dont override height
26412 (getDisplaySize): Moved around code for more clearness. Added
26413 handling of prototype renderer.
26414 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26415 arrowButton bounds since the former depends on the latter.
26416 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26417 (MetalComboBoxButton): Make button rollover disabled.
26418 (isFocusTraversable): Return false unconditionally.
26419 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26420 (EditorTextField): New class. Fixes the size properties.
26421 (MetalComboBoxEditor): Create instance of EditorTextField.
26422 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26423 (getMinimumSize): Fixed editable size.
26425 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26427 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26429 2006-03-18 Roman Kennke <kennke@aicas.com>
26431 * javax/swing/plaf/metal/MetalToolBarUI.java
26432 (update): Added overridden method to support OceanTheme.
26434 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26436 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26437 Activate the cell editing on character keystroke.
26439 2006-03-18 Mark Wielaard <mark@klomp.org>
26441 * java/awt/Component.java (eventTypeEnabled): Handle
26442 MouseEvent.MOUSE_WHEEL.
26443 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26444 New callback method.
26445 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26446 (AWT_MOUSE_WHEEL): New constant.
26447 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26448 (postMouseWheelEventID): New static variable.
26449 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26450 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26451 (button_number): Renamed to ...
26452 (button_number_direction): variable to hold button number or scroll
26454 (component_button_press_cb): Use button_number_direction.
26455 (component_scroll_cb): New static callback function.
26457 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26459 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26460 Return without action.
26462 2006-03-18 Mark Wielaard <mark@klomp.org>
26464 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26465 Don't cast graphics object to GdkGraphics.
26466 (updateComponent): Likewise.
26468 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26470 * examples/gnu/classpath/examples/swing/TableDemo.java
26471 (TModel.getColumnClass): Set second column to Icon.
26472 (TModel.isCellEditable): Say icons are not editable.
26473 (createContent): Fill the in second column with some icons from
26476 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26478 * examples/gnu/classpath/examples/swing/Demo.java
26479 (mkButtonBar): Set maximal button bar height to the preferred height.
26481 2006-03-18 Roman Kennke <kennke@aicas.com>
26483 * javax/swing/plaf/basic/BasicComboPopup.java
26484 (show): Substract insets from scroller width.
26485 (getPopupHeightForRowCount): If height==0, return a default of 100
26486 instead for empty ComboBoxes.
26488 2006-03-18 Roman Kennke <kennke@aicas.com>
26490 * javax/swing/plaf/basic/BasicLookAndFeel.java
26491 (PopupHelper.autoClosePopups): Removed field.
26492 (PopupHelper.mousePressed): Removed processing of registered
26494 (registerForAutoClose): Removed unneeded method.
26495 (autoClosePopups): Removed unneeded method.
26496 (registerForAutoClose): Removed unneeded method.
26498 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26500 * javax.swing.JTable.java (TableTextField): Set border.
26501 (moveToCellBeingEdited): Do not adjust the editor boundaries
26503 2006-03-18 Michael Koch <konqueror@gmx.de>
26505 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26506 resource/gnu/java/locale/LocaleInformation_af.properties,
26507 resource/gnu/java/locale/LocaleInformation_am.properties,
26508 resource/gnu/java/locale/LocaleInformation_ar.properties,
26509 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26510 resource/gnu/java/locale/LocaleInformation_be.properties,
26511 resource/gnu/java/locale/LocaleInformation_bg.properties,
26512 resource/gnu/java/locale/LocaleInformation_bn.properties,
26513 resource/gnu/java/locale/LocaleInformation_ca.properties,
26514 resource/gnu/java/locale/LocaleInformation_cs.properties,
26515 resource/gnu/java/locale/LocaleInformation_cy.properties,
26516 resource/gnu/java/locale/LocaleInformation_da.properties,
26517 resource/gnu/java/locale/LocaleInformation_de.properties,
26518 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26519 resource/gnu/java/locale/LocaleInformation_dz.properties,
26520 resource/gnu/java/locale/LocaleInformation_en.properties,
26521 resource/gnu/java/locale/LocaleInformation_eo.properties,
26522 resource/gnu/java/locale/LocaleInformation_es.properties,
26523 resource/gnu/java/locale/LocaleInformation_et.properties,
26524 resource/gnu/java/locale/LocaleInformation_eu.properties,
26525 resource/gnu/java/locale/LocaleInformation_fa.properties,
26526 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26527 resource/gnu/java/locale/LocaleInformation_fi.properties,
26528 resource/gnu/java/locale/LocaleInformation_fo.properties,
26529 resource/gnu/java/locale/LocaleInformation_fr.properties,
26530 resource/gnu/java/locale/LocaleInformation_ga.properties,
26531 resource/gnu/java/locale/LocaleInformation_gl.properties,
26532 resource/gnu/java/locale/LocaleInformation_gu.properties,
26533 resource/gnu/java/locale/LocaleInformation_he.properties,
26534 resource/gnu/java/locale/LocaleInformation_hi.properties,
26535 resource/gnu/java/locale/LocaleInformation_hr.properties,
26536 resource/gnu/java/locale/LocaleInformation_hu.properties,
26537 resource/gnu/java/locale/LocaleInformation_hy.properties,
26538 resource/gnu/java/locale/LocaleInformation_id.properties,
26539 resource/gnu/java/locale/LocaleInformation_is.properties,
26540 resource/gnu/java/locale/LocaleInformation_it.properties,
26541 resource/gnu/java/locale/LocaleInformation_ja.properties,
26542 resource/gnu/java/locale/LocaleInformation_ka.properties,
26543 resource/gnu/java/locale/LocaleInformation_km.properties,
26544 resource/gnu/java/locale/LocaleInformation_ko.properties,
26545 resource/gnu/java/locale/LocaleInformation_lo.properties,
26546 resource/gnu/java/locale/LocaleInformation_lt.properties,
26547 resource/gnu/java/locale/LocaleInformation_lv.properties,
26548 resource/gnu/java/locale/LocaleInformation_mk.properties,
26549 resource/gnu/java/locale/LocaleInformation_mr.properties,
26550 resource/gnu/java/locale/LocaleInformation_ms.properties,
26551 resource/gnu/java/locale/LocaleInformation_mt.properties,
26552 resource/gnu/java/locale/LocaleInformation_nb.properties,
26553 resource/gnu/java/locale/LocaleInformation_nl.properties,
26554 resource/gnu/java/locale/LocaleInformation_nn.properties,
26555 resource/gnu/java/locale/LocaleInformation_om.properties,
26556 resource/gnu/java/locale/LocaleInformation_pl.properties,
26557 resource/gnu/java/locale/LocaleInformation_ps.properties,
26558 resource/gnu/java/locale/LocaleInformation_pt.properties,
26559 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26560 resource/gnu/java/locale/LocaleInformation_ro.properties,
26561 resource/gnu/java/locale/LocaleInformation_ru.properties,
26562 resource/gnu/java/locale/LocaleInformation_sk.properties,
26563 resource/gnu/java/locale/LocaleInformation_sl.properties,
26564 resource/gnu/java/locale/LocaleInformation_so.properties,
26565 resource/gnu/java/locale/LocaleInformation_sq.properties,
26566 resource/gnu/java/locale/LocaleInformation_sr.properties,
26567 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26568 resource/gnu/java/locale/LocaleInformation_sv.properties,
26569 resource/gnu/java/locale/LocaleInformation_sw.properties,
26570 resource/gnu/java/locale/LocaleInformation_ta.properties,
26571 resource/gnu/java/locale/LocaleInformation_te.properties,
26572 resource/gnu/java/locale/LocaleInformation_th.properties,
26573 resource/gnu/java/locale/LocaleInformation_tr.properties,
26574 resource/gnu/java/locale/LocaleInformation_uk.properties,
26575 resource/gnu/java/locale/LocaleInformation_uz.properties,
26576 resource/gnu/java/locale/LocaleInformation_vi.properties,
26577 resource/gnu/java/locale/LocaleInformation_zh.properties,
26578 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26579 Updated to use the new localized strings for currencies, languages,
26580 variants, territories, etc.
26582 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26584 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26585 (start, end): Added comment about the negative values of them,
26586 (finish): Saves the input text in matchedCharIndexed,
26587 (toString): If the start or end index is out of bounds of the
26588 matched text, get the substring from matchedCharIndexed.
26589 Added special handlings in case start/end index < -1,
26590 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26591 Added special handlings in case start/end index < -1,
26592 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26593 found match, but keep the index as the original match.
26594 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26595 found match, but keep the index as the original match.
26596 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26597 in case start/end index < -1.
26599 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26601 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26604 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26606 * javax/swing/text/DefaultCaret.java:
26607 (mouseClicked) Use setDot() and moveDot() instead of
26608 JTextComponent.select().
26610 2006-03-17 Roman Kennke <kennke@aicas.com>
26612 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26613 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26614 border painting for the Ocean theme.
26615 (MetalComboBoxEditor): Create editor directly instead of going
26618 2006-03-17 Roman Kennke <kennke@aicas.com>
26620 * javax/swing/text/JTextComponent.java
26621 (JTextComponent): Make text components opaque.
26623 2006-03-17 Roman Kennke <kennke@aicas.com>
26625 * javax/swing/plaf/metal/MetalComboBoxUI.java
26626 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26628 (MetalPropertyChangeListener.propertyChange): Update focusable
26629 flag according to the enable and editable state.
26630 (editablePropertyChanged): Removed unnecessary code.
26631 (getMinimumSize): Rewritten to correctly compute the
26632 size, respecting the insets of the components and the icon,
26633 the visual properties of the combobox, etc.
26634 (configureEditor): Update listeners correctly.
26635 (unconfigureEditor): Update listeners correctly.
26636 (layoutComboBox): Implemented.
26638 2006-03-17 Roman Kennke <kennke@aicas.com>
26640 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26641 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26642 instead of Flush3DBorder.
26643 (paintBorder): Fixed border painting.
26644 (editorBorderInsets): Fixed border's insets.
26646 2006-03-17 Roman Kennke <kennke@aicas.com>
26648 * javax/swing/plaf/metal/MetalComboBoxButton.java
26649 (rendererPane): Documented.
26650 (MetalComboBoxButton): Set enabled flag from ComboBox.
26651 Set focusable flag from ComboBox's enabled flag.
26652 (isFocusTraversable): Make button focus traversable if
26653 ComboBox is not editable but enable.
26654 (paintComponent): Fixed painting to correctly adjust
26655 the boxes of the renderer and button.
26657 2006-03-17 Roman Kennke <kennke@aicas.com>
26659 * javax/swing/plaf/basic/BasicButtonUI.java
26660 (installDefaults): Only install UI margin if installed margin.
26661 is null or a UIResource.
26662 (uninstallDefaults): Only uninstall margin if it's
26665 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26667 * javax/swing/text/DefaultCaret.java:
26668 (mouseClicked) Use setDot() and moveDot() instead of
26669 JTextComponent.select().
26671 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26673 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26674 inner classes into package-private inner classes, added actions
26675 for caret movement and selection to the next and previous word
26676 and an action which selects the whole text.
26678 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26680 * javax/swing/Spring.java: Uncomment springdebug methods and
26681 rename them toString.
26682 * javax/swing/SpringLayout.java: Likewise.
26684 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26686 * javax/swing/text/FieldView.java:
26687 (viewToModel): Added call to adjust allocation area.
26689 2006-03-17 Roman Kennke <kennke@aicas.com>
26691 * javax/swing/plaf/basic/BasicComboBoxUI.java
26692 (mouseListener): Removed field.
26693 (buttonBackground): Removed field.
26694 (buttonShadow): Removed field.
26695 (buttonDarkShadow): Removed field.
26696 (buttonHighlight): Removed field.
26697 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26698 (installUI): Initialize and configure renderer and editor here.
26699 (uninstallUI): Close popup before uninitializing.
26700 Message popup that we are uninitializing. Clear layout.
26701 (installDefaults): Install UI border. Don't install colors.
26702 (installListeners): Install listeners fetched from the popup.
26703 Remove handling of mouseListener.
26704 (uninstallDefaults): Uninstall border. Don't handle colors.
26705 (uninstallListeners): Don't handle mouseListener. Uninstall
26706 listener from the popup.
26707 (createMouseListener): Removed method.
26708 (createRenderer): Create UIResource.
26709 (installComponents): Cleaned up.
26710 (uninstallComponents): Only remove renderer when it is
26712 (addEditor): Remove editor before adding new one.
26713 Fetch editor from comboBox.
26714 (removeEditor): Only do something when editor != null. Unconfigure
26715 editor before removing.
26716 (configureEditor): Add key listener. Call comboBox.configureEditor.
26717 (unconfigureEditor): Removed key listener.
26718 (configureArrowButton): Only handle when arrowButton != null.
26719 Add mouse listeners to arrow button.
26720 (unconfigureArrowButton): Remove listeners.
26721 (createArrowButton): Don't handle colors here.
26722 (setPopupVisible): Don't handle focus here.
26723 (paint): Only paint when comboBox is not editable. Update
26725 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26726 (getMinimumSize): Respect insets here.
26727 (getMaximumSize): Return preferredSize with width of 32767.
26728 (getInsets): Return ComboBox insets.
26729 (paintCurrentValue): Paint using currentValuePane.
26730 Install correct colors. Don't revalidate.
26731 (paintCurrentValueBackground): Implemented.
26732 (getDefaultSize): Reimplemented using a default renderer.
26733 (getDisplaySize): Reimplemented to use renderer.
26734 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26735 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26736 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26737 (FocusHandler.focusGained): Don't invalidate minimumSize.
26738 (FocusHandler.focusLost): Don't invalidate minimumSize.
26739 Only close popup if focus change is not temporary.
26740 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26741 Reconfigure editor if not null.
26742 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26743 editor if necessary.
26744 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26745 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26746 (MouseHandler): Removed unnecessary class.
26748 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26750 * examples/gnu/classpath/examples/swing/Demo.java:
26751 (Demo): Set default closing operation to shutdown the runtime.
26753 2006-03-17 Roman Kennke <kennke@aicas.com>
26755 * javax/swing/plaf/basic/BasicComboPopup.java
26756 (BasicComboPopup): Create listeners here.
26757 Configure components here.
26758 (show): Correctly calculate bounds using computePopupBounds().
26759 Make scroller fixed-size. Removed special autocloser handling.
26760 (hide): Rewritten to use MenuSelectionHandler.
26761 (createList): Don't set selection mode here.
26762 (configureList): Correctly install colors and fonts and selectionMode.
26763 (createScroller): Set scrollpane policies.
26764 (configureScroller): Make scroller and scrollbar not-focusable.
26765 (configurePopup): Make popup opaque and borderPainted.
26766 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26767 (delegateFocus): Implemented.
26768 (convertMouseEvent): Implemented.
26769 (updateListBoxSelectionForEvent): Implemented to also handle
26771 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26772 Only open popup on left mouse-click.
26773 (InvocationMouseHandler.mouseReleased): Rewritten.
26774 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26775 support autoscrolling.
26776 (ItemHandler.itemStateChanged): Implemented to sync selection with
26778 (ListMouseHandler.mouseReleased): Fetch selected index directly
26780 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26782 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26783 When model changes, then update listeners correctly.
26784 (uninstallListeners): Don't uninstall list listeners.
26785 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26787 (syncSelection): New helper method.
26789 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26791 * javax/swing/text/PlainView.java:
26792 (drawLine): Rewritten.
26793 (drawSelectedText): Corrected last argument for
26794 Utilities.drawTabbedText() call.
26795 (paint): Store start and end of selection in object variables,
26796 store constant values of for-loop in local variables.
26797 * javax/swing/text/Utilities.java:
26798 (drawTabbedText): Add 'pixelWidth' to the return value, store
26799 constant value of for-loop in local variable.
26801 2006-03-17 Roman Kennke <kennke@aicas.com>
26803 * javax/swing/plaf/basic/BasicComboPopup.java
26804 (BasicComboPopup): Create listeners here.
26805 Configure components here.
26806 (show): Correctly calculate bounds using computePopupBounds().
26807 Make scroller fixed-size. Removed special autocloser handling.
26808 (hide): Rewritten to use MenuSelectionHandler.
26809 (createList): Don't set selection mode here.
26810 (configureList): Correctly install colors and fonts and selectionMode.
26811 (createScroller): Set scrollpane policies.
26812 (configureScroller): Make scroller and scrollbar not-focusable.
26813 (configurePopup): Make popup opaque and borderPainted.
26814 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26815 (delegateFocus): Implemented.
26816 (convertMouseEvent): Implemented.
26817 (updateListBoxSelectionForEvent): Implemented to also handle
26819 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26820 Only open popup on left mouse-click.
26821 (InvocationMouseHandler.mouseReleased): Rewritten.
26822 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26823 support autoscrolling.
26824 (ItemHandler.itemStateChanged): Implemented to sync selection with
26826 (ListMouseHandler.mouseReleased): Fetch selected index directly
26828 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26830 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26831 When model changes, then update listeners correctly.
26832 (uninstallListeners): Don't uninstall list listeners.
26833 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26835 (syncSelection): New helper method.
26837 2006-03-17 Roman Kennke <kennke@aicas.com>
26839 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26840 (noFocusBorder): Make border with insets of (1,1,1,1).
26841 (BasicComboBoxRenderer): Make renderer opaque.
26842 No need to explicitly set alignment.
26843 (getListCellRendererComponent): Rewritten to correctly initialize
26846 2006-03-17 Roman Kennke <kennke@aicas.com>
26848 * javax/swing/JPopupMenu.java
26849 (setVisible): Handle JPopupMenu opening and closing via
26850 the MenuSelectionHandler.
26852 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26854 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26855 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26856 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26858 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26859 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26860 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26861 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26862 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26863 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26864 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26865 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26866 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26867 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26869 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26871 * java/rmi/activation/Activatable.java: Implemented.
26872 java/rmi/activation/ActivationDesc.java: Implemented.
26873 java/rmi/activation/ActivationGroup.java: Implemented.
26874 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26875 java/rmi/activation/ActivationID.java: Implemented.
26876 java/rmi/activation/ActivationSystem.java: Implemented.
26877 * gnu/java/rmi/server/UnicastServerRef.java
26878 (exportObject, incommingMessageCall): Documented.
26879 * java/rmi/activation/package.html: Documented.
26880 * java/rmi/server/ObjID.java (objNum, space): Made package
26882 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26883 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26885 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26886 gnu/java/rmi/activation/BidiTable.java: New file.
26887 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26888 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26889 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26891 2006-03-17 Mark Wielaard <mark@klomp.org>
26893 * java/security/BasicPermission.java (BasicPermission): Check
26894 name equals empty string to force NullPointerException.
26896 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26899 Commit patch by Caolan McNamara <caolanm@redhat.com>
26900 * javax/swing/Spring.java: Complete implementation
26901 * javax/swing/SpringLayout.java: Likewise.
26903 2006-03-16 Keith Seitz <keiths@redhat.com>
26905 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26907 (run): Remove catch clause for InterruptedException. It is no
26910 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26912 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26913 (getFontMetrics): Handle monospaced fonts specially.
26915 2006-03-16 Keith Seitz <keiths@redhat.com>
26917 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26918 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26919 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26920 Don't suspend the current thread unless it is not part of the JDWP
26923 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26925 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26927 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26928 font metrics through toolkit.
26929 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26931 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26932 (getFontMetrics): To calculate Java logical ascent and descent
26933 values, average Pango ink and logical values.
26935 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26937 * java/lang/Character.java: Updated header comment.
26939 2006-03-16 Tom Tromey <tromey@redhat.com>
26941 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26943 * javax/sound/sampled/FloatControl.java: Now abstract.
26944 * javax/sound/sampled/EnumControl.java: Now abstract.
26945 * javax/sound/sampled/CompoundControl.java: Now abstract.
26946 * javax/sound/sampled/BooleanControl.java: Now abstract.
26948 2006-03-16 Tom Tromey <tromey@redhat.com>
26950 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26952 2006-03-16 Roman Kennke <kennke@aicas.com>
26954 * java/util/zip/ZipFile.java
26955 (openFile): New helper method.
26956 (ZipFile): Use new openFile method to ensure the proper
26957 exception is thrown. This applies for all overloaded constructors.
26959 2006-03-16 Roman Kennke <kennke@aicas.com>
26961 * java/text/DateFormatSymbols.java
26962 (setAmPmStrings): Added null check and throw NPE.
26963 (setEras): Likewise.
26964 (setLocalPatternChars): Likewise.
26965 (setMonths): Likewise.
26966 (setShortMonths): Likewise.
26967 (setShortWeekdays): Likewise.
26968 (setWeekdays): Likewise.
26969 (setZoneStrings): Likewise.
26971 2006-03-16 Roman Kennke <kennke@aicas.com>
26973 * javax/swing/DefaultDesktopManager.java
26974 (iconifyFrame): Repaint after removing the frame.
26975 (removeIconFor): Repaint after removing the icon.
26977 2006-03-16 Roman Kennke <kennke@aicas.com>
26979 * javax/swing/JInternalFrame.java
26980 (remove): Respect the rootPaneCheckingEnabled flag here.
26982 2006-03-16 Roman Kennke <kennke@aicas.com>
26984 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26985 Moved from examples into gnu.javax.swing.. namespace.
26986 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26987 Moved to gnu.javax.swing.. namespace.
26988 * examples/gnu/classpath/examples/swing/Demo.java:
26989 (themesMenu): New field. Used to disable theme switch in
26991 (mkMenuBar): Added L&F menu.
26992 (ChangeThemeAction.actionPerformed): Only switch theme when
26994 (ChangeLAFAction): New class used for changing themes.
26995 * javax/swing/UIManager.java
26996 (installed): Added GNU L&F as installed L&F.
26998 2006-03-16 Mark Wielaard <mark@klomp.org>
27000 * examples/gnu/classpath/examples/swing/badge.png: Removed.
27001 * examples/gnu/classpath/examples/icons/badge.png: Added.
27002 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
27003 from icon directory.
27005 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
27007 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
27009 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
27010 * examples/gnu/classpath/examples/awt/Demo.java: Add
27011 AnimationApplet demo.
27012 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
27015 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
27018 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
27020 (handleEvent): Likewise.
27021 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
27023 (beginNativeRepaint): Remove method.
27024 (endNativeRepaint): Likewise.
27025 (handleEvent): Call paintComponent and updateComponent.
27026 (paintComponent): New method.
27027 (updateComponent): Likewise.
27028 (repaint): Return early if width or height is less than one.
27029 (postExposeEvent): Remove isInRepaint reference.
27030 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27032 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27033 from GtkWindowPeer.
27034 (postMouseEvent): Likewise.
27035 (postExposeEvent): Likewise.
27036 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27037 Override to do nothing.
27038 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27039 from GtkWindowPeer.
27040 (postMouseEvent): Likewise.
27041 (postExposeEvent): Likewise.
27042 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27043 paint and update handling from GtkComponentPeer.
27044 (updateComponent): Override to call paintComponent.
27045 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27046 gdk_flush calls with schedule_flush calls.
27047 (flush): New function.
27048 (schedule_flush): Likewise.
27050 2006-03-15 Tom Tromey <tromey@redhat.com>
27052 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27054 (BCSIterator): Likewise.
27055 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27057 (BCSSProxyServiceProvider): Likewise.
27058 (BCSSServiceProvider): Likewise.
27060 2006-03-15 Tom Tromey <tromey@redhat.com>
27062 * javax/sound/midi/Track.java (Track): New constructor.
27063 (events): Now package-private.
27064 * javax/sound/midi/MidiUnavailableException.java
27065 (MidiUnavailableException): Removed invalid constructors.
27066 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27067 * javax/sound/midi/InvalidMidiDataException.java
27068 (InvalidMidiDataException): Removed invalid constructors.
27069 * javax/sound/midi/Sequencer.java (hashCode): Now final.
27070 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27071 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27072 (SYSTEM_EXCLUSIVE): Removed.
27073 (getDataLength): Updated.
27074 * javax/sound/midi/MidiDevice.java (Info): Now protected.
27075 (equals): Now final
27076 (getName): Now final.
27077 (getVendor): Now final.
27078 (getDescription): Likewise.
27079 (hashCode): Likewise.
27080 (getVersion): Likewise.
27081 (toString): Likewise.
27082 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27083 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27084 (getEarlyReflectionDelay): Likewise.
27085 (getEarlyReflectionIntensity): Likewise.
27086 (getLateReflectionDelay): Likewise.
27087 (getLateReflectionIntensity): Likewise.
27088 (toString): Likewise.
27089 * javax/sound/sampled/Port.java (toString): Now final.
27090 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27091 (getLine): Likewise.
27092 (getType): Likewise.
27093 * javax/sound/sampled/Mixer.java (Info): Now protected.
27094 (getDescription): Now final.
27095 (getName): Likewise.
27096 (getVendor): Likewise.
27097 (getVersion): Likewise.
27098 (toString): Likewise.
27099 * javax/sound/sampled/Control.java: Now abstract.
27100 (Type.toString): Now final.
27102 2006-03-15 Keith Seitz <keiths@redhat.com>
27104 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27105 of this redundant variable.
27106 (LineTable): Assert that the number of line numbers and the number of
27107 code indicies is the same.
27109 2006-03-15 Tom Tromey <tromey@redhat.com>
27111 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27113 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27115 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27116 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27117 * java/util/zip/Inflater.java (end): Not deprecated.
27118 * java/util/zip/Deflater.java (end): Not deprecated.
27119 * java/text/Bidi.java (Bidi): Now final.
27120 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27122 2006-03-15 Keith Seitz <keiths@redhat.com>
27124 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27125 (Location): Index is a long, not an int.
27126 (getMethod): New method.
27127 (getIndex): New method.
27128 (toString): New method.
27130 2006-03-15 Tom Tromey <tromey@redhat.com>
27132 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27133 * java/awt/image/LookupOp.java (filter): Now final.
27134 (getBounds2D): Likewise.
27135 (getPoint2D): Likewise.
27136 (getTable): Likewise.
27137 (getRenderingHints): Likewise.
27138 * java/awt/image/ConvolveOp.java (filter): Now final.
27139 (getBounds2D): Likewise.
27140 (getKernel): Likewise.
27141 (getPoint2D): Likewise.
27142 (getRenderingHints): Likewise.
27143 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27144 (getMatrix): Likewise.
27145 (getBounds2D): Likewise.
27146 (getRenderingHints): Likewise.
27147 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27148 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27150 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27152 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27154 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27156 2006-03-15 Keith Seitz <keiths@redhat.com>
27158 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27160 (matches): Implement.
27162 2006-03-15 Keith Seitz <keiths@redhat.com>
27164 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27166 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27168 2006-03-15 Tom Tromey <tromey@redhat.com>
27170 * java/lang/StrictMath.java (signum): New methods.
27172 2006-03-15 Tom Tromey <tromey@redhat.com>
27174 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27176 2006-03-15 Lillian Angel <langel@redhat.com>
27179 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27180 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27181 Added check to avoid segmentation fault.
27183 2006-03-15 Lillian Angel <langel@redhat.com>
27185 * java/awt/Container.java
27186 (getComponentAt): Fixed documentation.
27187 (getComponentAt): Likewise.
27189 2006-03-15 Roman Kennke <kennke@aicas.com>
27191 * javax/swing/JComponent.java
27192 (dragBuffer): New field.
27193 (dragBufferInitialized): New field.
27194 (paint): Added facility for buffered dragging of components.
27195 (initializeDragBuffer): New method.
27196 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27198 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27199 (BorderListener.mouseDragged): Turn on buffered dragging.
27200 (BorderListener.mouseReleased): Turn off buffered dragging.
27202 2006-03-15 Lillian Angel <langel@redhat.com>
27204 * java/awt/Container.java
27205 (getComponentAt): Fixed documentation.
27206 (getComponentAt): Likewise.
27207 (findComponentAt): Likewise.
27208 (findComponentAt): Likewise.
27210 2006-03-15 Roman Kennke <kennke@aicas.com>
27212 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27213 (PropertyChangeHandler.propertyChange): Call enableActions().
27214 Fixed 'iconable' property name.
27216 2006-03-15 Chris Burdess <dog@gnu.org>
27219 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27221 2006-03-15 Roman Kennke <kennke@aicas.com>
27223 * examples/gnu/classpath/examples/swing/Demo.java:
27224 (desktop): New field.
27225 (mkMenuBar): Added new subdemos.
27226 (mkButtonWorld): Removed.
27227 (CheckCellRenderer): Moved to ListDemo.
27228 (LabelCellRenderer): Moved to ListDemo.
27229 (mkTreeWorld): Moved to TreeDemo.
27230 (mkDesktopWorld): Removed.
27231 (mkTabWorld): Moved to TabbedPaneDemo.
27232 (mkTabbedPane): Removed.
27233 (Demo): Replaced 'worlds' tabbed pane with desktop.
27234 (PopupAction): Made class non-static.
27235 (PopupAction.actionPerformed): Bring up subdemos in internal
27237 (mkButtonBar): Added new demos.
27238 (createDesktop): New method.
27239 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27240 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27241 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27242 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27243 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27245 2006-03-15 Lillian Angel <langel@redhat.com>
27247 * java/awt/Container.java
27248 (getComponentAt): Fixed mistake in comments.
27249 (getComponentAt): Likewise.
27250 (locate): Likewise. Also, handled lightweight components.
27251 Heavyweights take precedence over lightweights, so we should
27252 iterate through the heavyweights first.
27254 2006-03-15 Lillian Angel <langel@redhat.com>
27256 * java/awt/Container.java
27257 (getComponentAt): Added API documentation.
27258 (getComponentAt): Likewise.
27259 (locate): Likewise. Also, removed lines to ignore
27260 invisible components.
27261 (findComponentAt): Added API documentation.
27262 (findComponentAt): Added API documentation.
27263 (findComponentForMouseEvent): Removed, never used.
27265 2006-03-15 Roman Kennke <kennke@aicas.com>
27267 * javax/swing/Popup.java
27268 (LightweightPopup.show): Repaint the panel after showing it.
27270 2006-03-15 Lillian Angel <langel@redhat.com>
27272 * java/awt/Component.java
27273 (show): repaint should only be called if the component
27274 isShowing and isLightweight.
27276 2006-03-15 Roman Kennke <kennke@aicas.com>
27278 * javax/swing/JInternalFrame.java
27279 (setClosable): Made this property bound.
27280 (setResizable): Made this property bound.
27281 (setIconifiable): Made this property bound.
27282 (setMaximizable): Made this property bound.
27284 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27286 * javax/swing/table/TableColumn.java
27287 (sizeWidthToFit): Implemented.
27289 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27291 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27292 (setIdentifier): Fire required PropertyChangeEvent,
27293 (setCellEditor): Likewise.
27295 2006-03-15 Roman Kennke <kennke@aicas.com>
27297 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27298 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27299 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27300 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27301 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27302 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27303 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27304 * examples/gnu/classpath/examples/swing/TableDemo.java,
27305 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27306 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27307 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27308 * examples/gnu/classpath/examples/swing/Demo.java:
27309 Cleaned up. Reworked handling of Sub-demos to load lazily.
27310 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27311 New interface. Used for loading the subdemos lazily.
27313 2006-03-15 Roman Kennke <kennke@aicas.com>
27315 * javax/swing/plaf/basic/BasicToolBarUI.java
27316 (PropertyListener.propertyChange): Added null check to avoid NPE.
27318 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27320 * javax/swing/table/TableColumn.java
27321 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27323 (minWidth): Likewise,
27324 (preferredWidth): Likewise,
27325 (maxWidth): Likewise,
27326 (headerRenderer): Likewise,
27327 (cellRenderer): Likewise,
27328 (cellEditor): Likewise,
27329 (changeSupport): Likewise,
27330 (firePropertyChange(String, Object, Object)): Removed,
27331 (firePropertyChange(String, int. int)): Likewise,
27332 (firePropertyChange(String, boolean, boolean)): Likewise,
27333 (setModelIndex): Fire property change,
27334 (setHeaderValue): Call changeSupport directly to generate event,
27335 (setHeaderRenderer): Likewise,
27336 (setCellRenderer): Likewise,
27337 (setWidth): Likewise,
27338 (setPreferredWidth): Likewise,
27339 (setMinWidth): Likewise,
27340 (setMaxWidth): Likewise,
27341 (createDefaultHeaderRenderer): Added API docs.
27343 2006-03-14 Roman Kennke <kennke@aicas.com>
27345 * examples/gnu/classpath/examples/swing/Demo.java
27346 Removed static initializer.
27347 (mkMenuBar): Made method non-static. Added themes menu.
27348 (ChangeThemeAction): New inner class, used to change themes.
27350 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27352 * javax/swing/table/TableColumn.java
27353 (setMaxWidth): Updated width and preferredWidth if necessary,
27354 (getMaxWidth): Updated API docs.
27356 2006-03-14 Roman Kennke <kennke@aicas.com>
27358 * javax/swing/plaf/basic/BasicSliderUI.java
27359 (TrackListener.mouseDragged): Only process event when slider is
27361 (TrackListener.mouseReleased): Only process event when slider is
27363 (TrackListener.mousePressed): Only process event when slider is
27366 2006-03-14 Roman Kennke <kennke@aicas.com>
27368 * NEWS: Added note about OceanTheme support.
27370 2006-03-14 Roman Kennke <kennke@aicas.com>
27372 * javax/swing/plaf/metal/MetalIconFactory.java
27373 (HorizontalSliderThumbIcon.gradientMask): New field
27374 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27376 (VerticalSliderThumbIcon.gradientMask): New field
27377 (VerticalSliderThumbIcon.paintIcon): Added support for the
27379 * javax/swing/plaf/metal/MetalUtils.java
27380 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27381 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27383 2006-03-14 Mark Wielaard <mark@klomp.org>
27386 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27387 of handleMouseEvent.
27388 (handleMouseEvent): Return boolean to indicate whether we handled the
27389 event by passing it to a lightweight.
27391 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27393 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27394 * org/omg/PortableServer/ServantActivatorPOA.java,
27395 * org/omg/PortableServer/ServantLocatorPOA.java:
27396 Make class abstract and minor api docs fixlets.
27397 * org/omg/PortableServer/ForwardRequest.java,
27398 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27399 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27400 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27401 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27402 * org/omg/PortableServer/POAPackage/NoServant.java,
27403 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27404 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27405 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27406 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27407 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27408 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27409 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27410 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27411 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27412 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27414 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27416 * NEWS: Added entry about printing support.
27418 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27420 * javax/swing/table/TableColumn.java
27421 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27422 (isResizable): Likewise,
27423 (setWidth): Likewise,
27424 (getWidth): Likewise,
27425 (setPreferredWidth): Likewise,
27426 (getPreferredWidth): Likewise,
27427 (setMinWidth): Check for negative argument and update width and
27428 preferredWidth if necessary,
27429 (getMinWidth): Updated API docs.
27431 2006-03-14 Lillian Angel <langel@redhat.com>
27433 * java/awt/Container.java
27434 (addImpl): Removed call to repaint. No need to repaint here.
27436 2006-03-14 Roman Kennke <kennke@aicas.com>
27438 * javax/swing/plaf/metal/MetalSliderUI.java
27439 (paintTrack): Added OceanTheme support.
27441 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27443 * javax/swing/table/TableColumn.java
27444 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27445 (isResizable): Updated API docs.
27447 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27449 * javax/swing/LookAndFeel.java: Updated API docs.
27451 2006-03-14 Roman Kennke <kennke@aicas.com>
27453 * javax/swing/plaf/metal/MetalUtils.java
27454 (paintGradient): Added support for 'masked' gradients.
27455 (paintHorizontalGradient): Likewise.
27456 (paintVerticalGradient): Likewise.
27457 * javax/swing/plaf/metal/MetalIconFactory.java
27458 (RadioButtonIcon.gradientMask): New field.
27459 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27461 2006-03-14 Mark Wielaard <mark@klomp.org>
27464 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27466 (removeActionListener): Add listener to ComboBoxEditorListener.
27467 (removeActionListener): Remove listener from ComboBoxEditorListener.
27468 (ComboBoxEditorListener): New static helper class.
27470 2006-03-14 Roman Kennke <kennke@aicas.com>
27472 * javax/swing/plaf/metal/MetalBorders.java
27473 (getToolBarButtonBorder): Don't create a UIResource border
27475 * javax/swing/plaf/metal/MetalToolBarUI.java
27476 (installUI): New overridden method. Installs the rollover property.
27477 (uninstallUI): New overridden method. Resets the rollover property.
27478 * javax/swing/plaf/metal/MetalUtils.java
27479 (paintGradient): Fetch Float values from the UIManager. Adjusted
27480 method signatures accordingly.
27481 (paintHorizontalGradient): Adjusted signature to accept float
27483 (paintVerticalGradient): Adjusted signature to accept float
27485 * javax/swing/plaf/metal/OceanTheme.java
27486 (addCustomEntriesToTable): Added missing UIDefaults entries,
27487 except of Icons. Fixed gradient entries to use Float instead
27490 2006-03-14 Roman Kennke <kennke@aicas.com>
27492 * javax/swing/JInternalFrame.java
27493 (JInternalFrame): Make JInternalFrame opaque.
27494 * javax/swing/JToolBarFrame.java
27495 (JToolBar): Make JToolBar opaque.
27497 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27499 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27500 * javax/swing/tree/TreePath.java: Likewise.
27502 2006-03-13 Tom Tromey <tromey@redhat.com>
27504 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27506 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27507 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27509 2006-03-13 Keith Seitz <keiths@redhat.com>
27511 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27512 (executeMethods): Output number of methods.
27514 2006-03-13 Roman Kennke <kennke@aicas.com>
27516 * javax/swing/plaf/basic/BasicButtonUI.java
27517 (uninstallDefaults): Only uninstall border if it's a UIResource.
27518 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27519 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27520 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27521 (installUI): Don't touch the opaque flag of the glassPane and
27522 the frame. Don't invalidate.
27523 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27524 (installUI): Don't touch the opaque flag of the glassPane.
27525 * javax/swing/plaf/basic/BasicMenuBarUI.java
27526 (properyChangeListener): Made field private.
27527 (ChangeHandler): Made class private.
27528 (ContainerHandler): Made class private.
27529 (PropertyChangeHandler): Made class private.
27530 * javax/swing/plaf/basic/BasicMenuUI.java
27531 (MenuHandler): Made class private.
27532 (PropertyChangeHandler): Removed unneeded class.
27533 (MenuDragMouseHandler): Made class private.
27534 (MenuKeyHandler): Made class private.
27535 * javax/swing/plaf/basic/BasicPanelUI.java
27536 (installDefaults): Made method protected. Don't set opaque
27538 * javax/swing/plaf/basic/BasicScrollBarUI.java
27539 (TrackListener.shouldScroll): Made method private.
27540 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27541 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27542 Made constructor package private.
27543 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27544 (cellBorder): Made field private.
27545 * javax/swing/plaf/basic/BasicTextUI.java
27546 (installDefaults): Don't make component opaque.
27547 * javax/swing/plaf/basic/BasicToolBarUI.java
27548 (createNonRollOverBorder): Don't create UIResource border.
27549 (createRollOverBorder): Don't create UIResource border.
27550 (installComponents): Moved setRolloverBorders call here.
27551 (installDefaults): Moved setRolloverBorders call from here.
27552 (installUI): Don't make toolbar opaque.
27553 (setBorderToNonRollover): Handle AbstractButton instead of
27555 (uninstallComponents): Don't nullify class fields here.
27557 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27559 * javax/swing/SwingUtilities.java
27560 (calculateInnerArea): handle null component, and replace
27561 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27564 2006-03-13 Roman Kennke <kennke@aicas.com>
27566 * javax/swing/JColorChooser.java
27567 (updateUI): Don't call revalidate().
27568 * javax/swing/JComboBox.java
27569 (updateUI): Don't call invalidate().
27570 * javax/swing/JDesktopPane.java
27571 (updateUI): Don't call invalidate().
27572 * javax/swing/JFileChooser.java
27573 (updateUI): Don't call revalidate().
27574 * javax/swing/JMenu.java
27575 (updateUI): Don't call invalidate().
27576 * javax/swing/JMenuBar.java
27577 (updateUI): Don't call invalidate().
27578 * javax/swing/JMenuItem.java
27579 (updateUI): Don't call invalidate().
27580 * javax/swing/JOptionPane.java
27581 (updateUI): Don't call invalidate().
27582 * javax/swing/JPopupMenu.java
27583 (updateUI): Don't call invalidate().
27584 * javax/swing/JProgressBar.java
27585 (updateUI): Don't call invalidate().
27586 * javax/swing/JScrollBar.java
27587 (updateUI): Don't call invalidate() and repaint().
27588 * javax/swing/JScrollPane.java
27589 (updateUI): Rewritten to be like the other updateUI()
27591 * javax/swing/JSlider.java
27592 (updateUI): Don't call invalidate() and repaint().
27593 * javax/swing/JSplitPane.java
27594 (updateUI): Don't call invalidate() and repaint().
27595 * javax/swing/JTabbedPane.java
27596 (updateUI): Don't call invalidate().
27597 * javax/swing/JTable.java
27598 (updateUI): Don't call revalidate() and repaint().
27599 * javax/swing/JToolBar.java
27600 (updateUI): Don't call revalidate() and repaint().
27601 * javax/swing/JToolTip.java
27602 (updateUI): Don't call revalidate() and repaint().
27604 2006-03-13 Roman Kennke <kennke@aicas.com>
27606 * javax/swing/SwingUtilities.java
27607 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27608 menus and non-Swing components is improved.
27609 (updateComponentTreeUIImpl): New helper method.
27610 (replaceUIActionMap): Added check for uiActionMap==parent to
27612 (replaceUIInputMap): Added check for uiInputMap==parent to
27615 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27617 * gnu/classpath/debug/Component.java:
27618 (IPP) New component for IPP debugging.
27619 (EVERYTHING): Adapted to include IPP.
27620 * javax/print/PrintServiceLookup.java:
27621 (registerServiceProvider): New method.
27622 (registerService): Likewise.
27623 (lookupPrintServices): Likewise.
27624 (lookupMultiDocPrintServices): Likewise.
27625 (lookupDefaultPrintService): Likewise.
27626 (static_initializer): Likewise.
27627 (printServiceLookups): New field for found service providers.
27628 (printServices): New field for application registered providers.
27629 (systemProvider): New field for the system provider.
27630 * javax/print/ServiceUI.java: New file.
27631 * javax/print/package.html: Added more usage content.
27632 * javax/print/event/package.html: Likewise.
27633 * javax/print/attribute/package.html: Likewise.
27634 * javax/print/attribute/standard/package.html: Likewise.
27635 * gnu/javax/print/PrintUriException.java,
27636 gnu/javax/print/PrintFlavorException.java,
27637 gnu/javax/print/PrinterDialog.java,
27638 gnu/javax/print/PrintAttributeException.java,
27639 gnu/javax/print/CupsPrintServiceLookup.java,
27640 gnu/javax/print/CupsServer.java,
27641 gnu/javax/print/CupsPrintService.java,
27642 gnu/javax/print/CupsMediaMapping.java,
27643 gnu/javax/print/CupsIppOperation.java:
27644 New implementation files of the Java Print Service API.
27645 * gnu/javax/print/ipp/IppValueTag.java,
27646 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27647 gnu/javax/print/ipp/IppStatusCode.java,
27648 gnu/javax/print/ipp/IppUtilities.java,
27649 gnu/javax/print/ipp/IppResponse.java,
27650 gnu/javax/print/ipp/IppException.java,
27651 gnu/javax/print/ipp/IppPrintService.java,
27652 gnu/javax/print/ipp/IppRequest.java,
27653 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27654 gnu/javax/print/ipp/IppDelimiterTag.java,
27655 gnu/javax/print/ipp/DocPrintJobImpl.java:
27656 New files of the IPP client implementation.
27657 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27658 gnu/javax/print/ipp/attribute/StatusMessage.java,
27659 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27660 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27661 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27662 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27663 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27664 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27665 New attribute syntax/role files of the printing implementation.
27666 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27667 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27668 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27669 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27670 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27671 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27672 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27673 gnu/javax/print/ipp/attribute/supported/
27674 OrientationRequestedSupported.java,
27675 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27676 gnu/javax/print/ipp/attribute/supported/
27677 MultipleDocumentHandlingSupported.java,
27678 gnu/javax/print/ipp/attribute/supported/
27679 MultipleDocumentJobsSupported.java,
27680 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27681 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27682 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27683 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27684 gnu/javax/print/ipp/attribute/supported/
27685 GeneratedNaturalLanguageSupported.java,
27686 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27687 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27688 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27689 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27690 New supported attribute files.
27691 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27692 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27693 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27694 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27695 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27696 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27697 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27698 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27699 New printer description attribute files.
27700 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27701 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27702 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27703 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27704 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27705 gnu/javax/print/ipp/attribute/job/JobId.java,
27706 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27707 gnu/javax/print/ipp/attribute/job/JobUri.java,
27708 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27709 New job description attribute files.
27710 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27711 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27712 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27713 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27714 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27715 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27716 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27717 gnu/javax/print/ipp/attribute/defaults/
27718 MultipleDocumentHandlingDefault.java,
27719 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27720 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27721 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27722 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27723 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27724 New default printing attribute files.
27725 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27726 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27727 * examples/gnu/classpath/examples/print/Demo.java:
27728 New demo application of the current implemented functionality.
27730 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27732 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27733 java/rmi/activation/ActivationDesc.java.java,
27734 java/rmi/activation/ActivationGroup.java,
27735 java/rmi/activation/ActivationID.java,
27736 java/rmi/activation/ActivationMonitor.java,
27737 java/rmi/activation/ActivationSystem.java,
27738 java/rmi/activation/package.html: Documenting.
27740 2006-03-13 Roman Kennke <kennke@aicas.com>
27742 * javax/swing/JInternalFrame.java
27743 (setSelected): Repaint frame when it is showing and the selection
27746 2006-03-13 Roman Kennke <kennke@aicas.com>
27748 * javax/swing/AbstractButton.java
27749 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27752 2006-03-13 Roman Kennke <kennke@aicas.com>
27754 * javax/accessibility/AccessibleContext.java
27755 (getAccessibleRelationSet): Return empty set instead of null.
27757 2006-03-13 Roman Kennke <kennke@aicas.com>
27759 * javax/swing/ImageIcon.java
27760 (loadImage): Remove completed images from the MediaTracker. This
27761 avoids a potential memory leak.
27763 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27765 * javax/print/MultiDocPrintService.java,
27766 * javax/print/MultiDocPrintJob.java,
27767 * javax/print/MultiDoc.java: Added and enhanced documentation.
27769 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27771 * java/rmi/activation/ActivationID.java (uid): New field.
27772 (writeExternal, readExternal): New methods.
27773 (equals, hashCode): Rewritten.
27774 * java/rmi/activation/ActivationInstantiator.java,
27775 * java/rmi/activation/ActivationSystem.java,
27776 * java/rmi/activation/Activator.java,
27777 * java/rmi/activation/Activatable.java,
27778 * java/rmi/activation/ActivationGroup.java,
27779 * java/rmi/activation/ActivationGroupDesc.java:
27780 Documented and autoformatted.
27781 * java/rmi/activation/package.html: Added content.
27783 2006-03-12 Chris Burdess <dog@gnu.org>
27786 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27787 encoding are specified.
27789 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27791 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27792 (changeEvent): Initialise in fireStateChange(),
27793 (setSelectedIndex): Check if change is made before firing event,
27794 (clearSelection): Delegate to setSelectedIndex(),
27795 (fireStateChanged): Initialise changeEvent if necessary,
27796 * javax/swing/SingleSelectionModel.java: API docs all over.
27798 2006-03-11 Tom Tromey <tromey@redhat.com>
27800 * java/util/zip/InflaterInputStream.java: Reverted previous
27803 2006-03-11 Mark Wielaard <mark@klomp.org>
27805 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27808 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27810 * javax/swing/event/TreeSelectionEvent.java
27811 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27812 not one of the added/removed paths,
27813 (cloneWithSource): Reformatted.
27815 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27817 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27818 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27820 2006-03-10 Casey Marshall <csm@gnu.org>
27823 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27825 (doFinal, update): new methods.
27826 (init, init, init, init): initialize `state' after trying the
27827 implementation, which can throw an exception.
27828 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27831 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27833 * gnu/regexp/BacktrackStack.java: New file.
27834 * gnu/regexp/RE.java(findMatch): New method.
27835 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27836 REMatchList): Removed. (backtrackStack): New field.
27837 * gnu/regexp/REToken.java(match): Changed from an abstract
27838 method to an ordinary method defined with the new method
27839 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27840 findFixedLengthMatches, backtrack, toString): New methods.
27841 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27842 * gnu/regexp/RETokenBackRef.java: Likewise.
27843 * gnu/regexp/RETokenChar.java: Likewise.
27844 * gnu/regexp/RETokenEnd.java: Likewise.
27845 * gnu/regexp/RETokenEndSub.java: Likewise.
27846 * gnu/regexp/RETokenIndependent.java: Likewise.
27847 * gnu/regexp/RETokenLookAhead.java: Likewise.
27848 * gnu/regexp/RETokenLookBehind.java: Likewise.
27849 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27850 * gnu/regexp/RETokenPOSIX.java: Likewise.
27851 * gnu/regexp/RETokenRange.java: Likewise.
27852 * gnu/regexp/RETokenStart.java: Likewise.
27853 * gnu/regexp/RETokenWordBoundary.java: Likewise
27854 * gnu/regexp/RETokenOneOf.java: Rewriten.
27855 * gnu/regexp/RETokenRepeated.java: Rewriten.
27857 2006-03-10 Roman Kennke <kennke@aicas.com>
27859 * javax/swing/plaf/metal/MetalBorders.java
27860 (RolloverButtonBorder.paintBorder): Only call super here.
27861 * javax/swing/plaf/metal/MetalButtonListener.java
27862 (propertyChange): Only call super here.
27863 * javax/swing/plaf/metal/MetalButtonUI.java
27864 (update): Changed condition from isOpaque() to isContentAreaFilled()
27865 for the gradient fill.
27866 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27867 (paintText): API doc fix. Makes paintText not deprecated as specified
27868 but adds comment that this is obsolete.
27869 * javax/swing/plaf/metal/MetalUtils.java
27870 (fillMetalPattern): Fixed condition so that the Java2D is not
27871 used when the noGraphics2D property is set.
27873 2006-03-10 Roman Kennke <kennke@aicas.com>
27875 * javax/swing/plaf/metal/MetalLookAndFeel.java
27876 (createDefaultTheme): Set OceanTheme as default metal theme.
27878 2006-03-10 Roman Kennke <kennke@aicas.com>
27880 * javax/swing/text/WrappedPlainView.java
27881 (metrics): Made field package private to avoid accessor method.
27882 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27883 The drawLine (righly) interprets the y parameter as the baseline.
27884 * javax/swing/text/Utilities.java
27885 (getBreakLocation): Don't consider the offset. The returned value
27886 for getTabbedTextOffset is already relative to the offset.
27888 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27890 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27891 (dateFormat): Made private.
27892 (put): Replace only the last occurance and the value.
27893 (putAll): Save one iteration. Clarified documentation.
27895 2006-03-10 Tom Tromey <tromey@redhat.com>
27897 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27899 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27902 2006-03-10 Lillian Angel <langel@redhat.com>
27904 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27905 (comboboxgroup_get_widget): New function.
27906 (removed): Fixed to use new function to get the correct widget.
27907 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27908 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27911 2006-03-10 Lillian Angel <langel@redhat.com>
27913 * java/awt/GridBagLayout.java
27914 (ArrangeGrid): Added checks to determine if component
27915 is placed last in a row or column. If so, the location
27916 of the last component should be used to get the location
27917 of the current component.
27919 2006-03-10 Lillian Angel <langel@redhat.com>
27921 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27922 (nativeSetCheckboxGroup): No need to use new function here.
27923 Should just pass in pointer.
27925 2006-03-10 Lillian Angel <langel@redhat.com>
27927 * java/awt/GridBagLayout.java
27928 (distributeSizeAndWeight): Change else if to else. This
27929 allows for components to be added to a new row when
27930 their gridheight is REMAINDER.
27932 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27934 * java/rmi/activation/ActivationDesc.java,
27935 java/rmi/activation/ActivationGroupID.java,
27936 java/rmi/activation/Activator.java,
27937 java/rmi/server/Operation.java,
27938 java/rmi/server/RemoteServer.java: Documented and formatted.
27940 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27942 * javax/swing/JToggleButton.java: Fixed API doc tags,
27943 * javax/swing/OverlayLayout.java: Likewise.
27945 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27947 * javax/swing/DefaultCellEditor.java
27948 (cancelCellEditing): Removed spurious API doc tag.
27950 2006-03-10 Lillian Angel <langel@redhat.com>
27952 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27953 (create): Put checkbox widget into an event box so it paints properly.
27954 (connectSignals): Fixed to use new function.
27955 (nativeSetCheckboxGroup): Likewise.
27956 (gtkToggleButtonSetActive): Likewise.
27957 (gtkWidgetModifyFont): Likewise.
27958 (gtkButtonSetLabel): Likewise.
27959 (combobox_get_widget): New function.
27961 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27963 * javax/swing/text/rtf/package.html: New file.
27965 2006-03-10 Roman Kennke <kennke@aicas.com>
27967 * javax/swing/plaf/metal/OceanTheme.java
27968 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27969 * javax/swing/plaf/metal/MetalScrollBarUI.java
27970 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27971 (paintThumbHorizontal): Added handling of OceanTheme.
27972 (paintThumbVertical): Added handling of OceanTheme.
27974 2006-03-10 Roman Kennke <kennke@aicas.com>
27976 Reported by Fridjof Siebert <siebert@aicas.com>
27977 * java/awt/MediaTracker.java
27978 (removeImage): Only set prev to e when the the images of the
27979 entries are not the same. This avoids a potentially corrupt list.
27981 2006-03-10 Chris Burdess <dog@gnu.org>
27984 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27985 checking while reindenting.
27987 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27989 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27991 2006-03-09 Tom Tromey <tromey@redhat.com>
27993 PR classpath/26585:
27994 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27995 subdir. Added README.
27996 (install-data-local): Removed.
27997 (uninstall-local): Likewise.
27998 (EXTRA_DIST): Removed.
28000 2006-03-09 Tom Tromey <tromey@redhat.com>
28002 PR classpath/26623:
28003 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28005 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
28007 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
28009 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
28011 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
28013 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28015 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
28017 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
28019 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
28021 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
28023 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
28024 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
28026 2006-03-09 Keith Seitz <keiths@redhat.com>
28028 * gnu/classpath/jdwp/processor/MethodCommandSet.java
28029 (executeVariableTable): Use VMMethod instead of reflection.
28030 (executeLineTable): Likewise.
28031 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28032 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28033 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28034 (getLineTable): Removed. Now resides in VMMethod.
28035 (getVarTable): Likewise.
28036 (getAllClassMethods): New method.
28038 2006-03-09 Keith Seitz <keiths@redhat.com>
28040 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28041 * gnu/classpath/jdwp/event/ThreadStartEvent.java
28042 (ThreadStartEvent): Likewise.
28043 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28044 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28045 (ConditionalFilter): Likewise.
28046 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28047 (ExceptionOnlyFilter): Likewise.
28048 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28049 (FieldOnlyFilter): Likewise.
28050 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28051 (getSize): Likewise.
28052 (StepFilter): Likewise.
28053 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28054 * gnu/classpath/jdwp/transport/JdwpPacket.java
28055 (JdwpPacket): Likewise.
28056 (fromBytes): Likewise.
28057 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28058 (JdwpReplyPacket): Likewise.
28059 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28060 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28061 (getReferenceType): Likewise.
28062 (newObjectId): Likewise.
28063 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28064 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28065 (getFrames): Fix typo in parameter name and update javadoc.
28066 (getClassMethod): Update javadoc.
28068 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
28070 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28071 * javax/swing/event/TreeSelectionListener.java: Likewise.
28073 2006-03-09 Lillian Angel <langel@redhat.com>
28075 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28076 (getHScrollbarHeight): Fixed property name.
28077 (getVScrollbarHeight): Likewise.
28079 2006-03-09 Lillian Angel <langel@redhat.com>
28081 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28082 (get_widget): New function.
28083 (gtkWidgetSetParent): Changed to use new function.
28084 (gtkWidgetSetCursorUnlocked): Likewise.
28085 (gtkWidgetSetSensitive): Likewise.
28086 (gtkWidgetRequestFocus): Likewise.
28087 (gtkWindowGetLocationOnScreen): Likewise.
28088 (gtkWidgetGetDimensions): Likewise.
28089 (gtkWidgetGetPreferredDimensions): Likewise.
28090 (setNativeBounds): Likewise.
28091 (gtkWidgetGetBackground): Likewise.
28092 (gtkWidgetGetForeground): Likewise.
28093 (gtkWidgetSetBackground): Likewise.
28094 (gtkWidgetSetForeground): Likewise.
28095 (setVisibleNativeUnlocked): Likewise.
28096 (isEnabled): Likewise.
28097 (isRealized): Likewise.
28098 (setNativeEventMask): Likewise.
28100 2006-03-09 Lillian Angel <langel@redhat.com>
28103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28104 (create): Added combobox widget to an event box.
28105 (connectSignals): Added call to choice_get_widget to get the
28106 combobox out of the event box.
28107 (append): Likewise.
28108 (nativeRemoveAll): Likewise.
28109 (nativeRemove): Likwise.
28110 (nativeAdd): Likewise.
28111 (selectNative): Likewise.
28112 (choice_get_widget): New function.
28113 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28114 (create): Added list scroll window widget to an event box.
28115 (connectSignals): Changed call to use new function to get the
28116 correct widget out of the event box.
28117 (getWidgetModifyFont): Likewise.
28118 (getWidgetRequestFocus): Likewise.
28119 (append): Likewise.
28121 (delItems): Likewise.
28122 (select): Likewise.
28123 (deselect): Likewise.
28124 (getSize): Likewise.
28125 (getSelectedIndexes): Likewise.
28126 (makeVisible): Likewise.
28127 (setMultipleMode): Likewise.
28128 (list_get_widget): New function.
28129 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28130 (create): Added scrollpane to an eventbox.
28131 (setScrollPosition): Changed call to use new function to get the
28132 correct widget out of the event box.
28133 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28134 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28135 (getHScrollbarHeight): Likewise.
28136 (getVScrollbarWidth): Likewise.
28137 (setPolicy): Likewise.
28138 (scrollpane_get_widget): New function.
28139 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28140 (connectSignals): Changed call to use new function to get the
28141 correct widget out of the event box.
28142 (create): Added scrollbar to an eventbox.
28143 (setLineIncrement): Changed call to use new function to get the
28144 correct widget out of the event box.
28145 (setPageIncrement): Likewise.
28146 (setBarValues): Likewise.
28147 (scrollbar_get_widget): New function.
28148 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28149 (create): Added text area scroll window widget to an event box.
28150 (connectSignals): Changed call to use new function to get the
28151 correct widget out of the event box.
28152 (insert): Likewise.
28153 (replaceRange): Likewise.
28154 (gtkWidgetModifyFont): Likewise.
28155 (gtkWidgetRequestFocus): Likewise.
28156 (getHScrollbarHeight): Likewise.
28157 (getVScrollbarWidth): Likewise.
28158 (getCaretPosition): Likewise.
28159 (setCaretPosition):Likewise.
28160 (getSelectionStart): Likewise.
28161 (getSelectionEnd): Likewise.
28162 (select): Likewise.
28163 (setEditable): Likewise.
28164 (getText): Likewise.
28165 (setText): Likewise.
28166 (textarea_get_widget): New function.
28168 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28170 * java/rmi/dgc/VMID.java:
28171 (equals, hashCode, static initializer): Rewritten.
28172 * java/rmi/dgc/package.html: Documented.
28174 2006-03-09 Mark Wielaard <mark@klomp.org>
28176 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28178 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28179 (canCache): Likewise.
28180 (GtkClipboard): Take String argument.
28181 (getInstance): Removed.
28182 (getClipboardInstance, getSelectionInstance): New static methods.
28183 (setSystemContents): Make synchronized. Takes boolean argument.
28184 (initNativeState): Add clipboard and selection.
28185 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28186 (announceClipboardChange, announcePrimaryChange): New static field.
28187 (announce): Take GtkClipboard as argument.
28188 (run): Check which clipboard to announce change for.
28189 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28191 (GtkSelection): Take GtkClipboard as argument.
28192 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28193 clipboard argument.
28194 (requestMimeTypes): Likewise.
28195 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28197 * java/awt/Toolkit.java (getSystemSelection): Document.
28198 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28199 (cp_gtk_selection_instance): New var.
28200 (current_selection, owner): Removed.
28201 (clipboard_owner_change_cb): Use clipboard argument.
28202 (initNativeState): Store clipboard and selection instances. Cache
28203 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28205 (clipboard_get_func): Use clipboard argument.
28206 (clipboard_clear_func): Likewise. Always call method.
28207 (advertiseContent): Don't cache method ids here. Check whether to
28208 use clpboard or selection. Don't set owner or current_selection.
28209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28210 (requestText, requestImage, requestURIs, requestBytes): Use extra
28211 boolean argument to select clipboard.
28212 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28213 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28214 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28215 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28217 2006-03-09 Keith Seitz <keiths@redhat.com>
28219 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28220 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28221 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28222 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28223 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28224 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28225 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28226 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28227 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28229 2006-03-09 Mark Wielaard <mark@klomp.org>
28231 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28232 bounds for index is valid.
28233 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28235 (getCellBounds): Update documentation.
28237 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28239 * .classpath: added exclude pattern on source folders
28240 (Makefiles, README and .cvsignore)
28242 2006-03-08 Michael Koch <konqueror@gmx.de>
28244 * java/net/Proxy.java (NO_PROXY): Made final.
28245 (equals): Likewise.
28246 (hashCode): Likewise.
28248 2006-03-08 Keith Seitz <keiths@redhat.com>
28250 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28251 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28252 (getClassMethod): New method.
28254 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28256 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28258 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28260 * java/rmi/server/ObjID.java: Documented and autoformatted.
28262 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28265 * tools/Makefile.am (install-data-local,
28266 uninstall-local): Install/uninstall the tools/README only.
28267 * tools/gnu/classpath/tools/giop/README: Updated.
28268 * tools/README: New file.
28270 2006-03-08 Lillian Angel <langel@redhat.com>
28272 * java/awt/GridBagLayout.java
28273 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28274 then the next item should be set to current_y (not 0).
28276 2006-03-08 Lillian Angel <langel@redhat.com>
28278 * java/awt/GridBagLayout.java
28279 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28280 in the bottom-most spot of the column, we need to place that component
28281 at the y-location of the other components in that row. If there are
28282 no other components in that row, then place it at y = 0.
28284 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28286 * javax/swing/ProgressMonitor.java: Updated API docs,
28287 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28289 2006-03-08 Michael Koch <konqueror@gmx.de>
28291 * java/net/InetSocketAddress.java
28292 (InetSocketAddress(String,int,resolve)): New private contructor.
28293 (InetSocketAddress(String,int)): Use new private constructor.
28294 (createUnresolved): New method.
28296 2006-03-07 Michael Koch <konqueror@gmx.de>
28298 * gnu/java/net/DefaultProxySelector.java,
28299 java/net/Proxy.java, java/net/ProxySelector.java:
28302 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28304 * java/rmi/server/UID.java (constructor): Assign last and time fields
28307 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28309 * java/rmi/server/UID.java: New file (replacing).
28311 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28313 * java/util/jar/Manifest.java: Removed unused imports.
28314 (CRLF): New constant.
28315 (read): Added method documentation.
28316 Use UTF-8 encoding instead of 8859_1.
28317 (write): Added method documentation.
28318 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28319 (write_main_section): Replace PrintWriter arg with OutputStream.
28320 Replace JarException with IOException.
28321 (write_version_info): Likewise.
28322 (write_main_attributes): Likewise.
28323 (write_attribute_entry): Likewise.
28324 (write_individual_sections): Likewise.
28325 (write_entry_attributes): Likewise.
28326 (write_header): Replace PrintWriter arg with OutputStream.
28329 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28331 * javax/swing/tree/DefaultMutableTreeNode.java
28332 (getFirstChild): Updated API docs,
28333 (getLastChild): Likewise,
28334 (getChildAfter): Likewise,
28335 (getChildBefore): Likewise,
28336 (isNodeSibling): Return true if node == this,
28337 (getSiblingCount): Updated API docs,
28338 (getNextSibling): Likewise,
28339 (getPreviousSibling): Likewise,
28340 (isLeaf): Likewise,
28341 (getFirstLeaf): Likewise,
28342 (getLastLeaf): Likewise,
28343 (getNextLeaf): Implemented,
28344 (getPreviousLeaf): Implemented.
28346 2006-03-07 Tom Tromey <tromey@redhat.com>
28348 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28349 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28350 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28351 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28354 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28356 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28357 (clone): Reimplemented,
28358 (add): Throw IllegalArgumentException if child is an ancestor,
28359 (remove(int)): Set child's parent to null,
28360 (remove(MutableTreeNode)): Check arguments and set child's parent to
28362 (insert): Check allowsChildren flag, check for null argument, and
28363 check for a node that is an ancestor,
28364 (getIndex): Throw IllegalArgumentException for null argument,
28365 (setAllowsChildren): If setting to false, remove existing children,
28366 (removeAllChildren): Set parent to null for removed children.
28368 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28370 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28373 2006-03-06 Tom Tromey <tromey@redhat.com>
28375 * java/lang/StrictMath.java (ulp): New methods.
28376 * java/lang/Math.java (ulp): New methods.
28378 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28380 * gnu/java/rmi/server/UnicastRef.java,
28381 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28383 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28385 * gnu/java/rmi/server/CombinedClassLoader.java
28386 (findClass, findLibrary, findResouce, findResources): check
28387 all loaders in array.
28389 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28392 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28393 (RefProtector): new inner class. (dirty): Rewritten.
28394 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28395 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28396 new methods. (readExternal): Create LeaseRenewingTask if non local.
28397 * gnu/java/rmi/server/UnicastServer.java (objects):
28398 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28399 (getExported): New method.
28400 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28402 2006-03-06 Mark Wielaard <mark@klomp.org>
28404 * doc/www.gnu.org/announce/20060306.wml: New file.
28405 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28406 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28408 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28410 * javax/swing/plaf/metal/MetalLookAndFeel.java
28411 (initComponentDefaults): Use Boolean.TRUE for
28412 'CheckBoxMenuItem.borderPainted'.
28414 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28416 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28417 (dateFormat): Made private.
28418 (put): Replace only the last occurance and the value.
28419 (putAll): Reimplemented with the put method.
28421 2006-03-06 Lillian Angel <langel@redhat.com>
28424 * java/awt/List.java
28425 (preferredSize): Return the size of the list if the peer is
28427 * gnu/java/awt/peer/gtk/GtkListPeer.java
28428 (preferredSize): Code was returning the minimum size of the
28429 list. Added adjustment to the width of the list so it is a
28432 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28434 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28435 (getRequestProperty): Remove duplicated null check.
28436 * java/net/URLConnection.java:
28437 (URLConnection): Javadoc fix.
28438 (addRequestProperty): Likewise.
28439 (getDefaultRequestProperty): Likewise.
28440 (getHeaderField): Likewise.
28441 (getHeaderFieldDate): Likewise.
28442 (getHeaderFieldKey): Likewise.
28443 (getHeaderFields): Likewise.
28444 (getRequestProperties): Likewise.
28445 (getRequestProperty): Likewise.
28446 (setDefaultRequestProperty): Likewise.
28447 (setRequestProperty): Likewise.
28449 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28451 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28452 * examples/gnu/classpath/examples/swing/Demo.java:
28453 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28455 (mkMenuBar): Added entry for text area example.
28457 2006-03-06 Tom Tromey <tromey@redhat.com>
28459 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28460 (FORMATTED_TEXT_FIELD): Likewise.
28462 2006-03-06 Tom Tromey <tromey@redhat.com>
28464 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28466 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28468 * examples/gnu/classpath/examples/swing/Demo.java:
28469 (mkMenuBar): Added menu entry that will display the VM's name,
28470 version and distributor.
28472 2006-03-06 Tom Tromey <tromey@redhat.com>
28474 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28476 (getName): Likewise.
28478 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28480 * java/util/jar/Manifest.java: Removed unused imports.
28481 (CRLF): New constant.
28482 (read): Added method documentation.
28483 Use UTF-8 encoding instead of 8859_1.
28484 (write): Added method documentation.
28485 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28486 (write_main_section): Replace PrintWriter arg with OutputStream.
28487 Replace JarException with IOException.
28488 (write_version_info): Likewise.
28489 (write_main_attributes): Likewise.
28490 (write_attribute_entry): Likewise.
28491 (write_individual_sections): Likewise.
28492 (write_entry_attributes): Likewise.
28493 (write_header): Replace PrintWriter arg with OutputStream.
28496 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28499 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28500 API doc tag warnings,
28501 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28503 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28505 * gnu/java/net/protocol/file/Connection.java (unquote):
28506 Update position in buffer after decoding a unicode character
28507 outside of the basic plane.
28509 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28511 * java/net/URI.java
28512 (quote): Pass Unicode characters outside the basic plane through.
28514 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28516 * javax/swing/plaf/basic/BasicTextUI.java:
28517 (damageRange): Rewritten if-expressions to correctly identify the
28520 2006-03-06 Mark Wielaard <mark@klomp.org>
28522 * configure.ac: Set version to 0.90-generics.
28525 2006-03-06 Mark Wielaard <mark@klomp.org>
28527 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28528 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28529 (isnan): Define explicitly isnan if it is not a macro.
28531 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28533 * javax/swing/text/GapContent.java:
28534 (insertString): Throw exception when argument is below
28537 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28539 * javax/swing/text/PlainDocument.java:
28540 (insertUpdate): Extended if-expression, added
28541 code to generate another Element when newly inserted characters
28542 and old ones will be on the same line.
28544 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28546 * javax/swing/text/DefaultCaret.java:
28547 (mouseDragged): Do selection when shift is pressed.
28548 (mouseClicked): Implemented.
28550 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28552 * javax/swing/text/PlainDocument.java: Fix copyright header,
28554 (insertUpdate): Do not copy the whole document any more, added some
28555 more variables to prevent needless method calls.
28557 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28559 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28560 is required on Darwin.
28561 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28562 (AM_CFLAGS): Likewise.
28564 2006-03-06 Mark Wielaard <mark@klomp.org>
28566 * NEWS: Add updates for 0.90 release.
28568 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28570 * javax/swing/text/GapContent.java:
28571 (insertString): Throw exception when argument is below
28574 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28577 * javax/swing/filechooser/FileFilter.java:
28578 (accept): Fixed API doc tag,
28579 (getDescription): Likewise,
28580 * javax/swing/filechooser/FileView.java:
28581 (isTraversable): Fixed API doc tag.
28583 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28585 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28586 added API docs all over.
28588 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28590 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28591 and corrected a bad API doc tag.
28593 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28595 * javax/swing/undo/StateEditable.java
28596 (restoreState): Fixed bad API doc tag,
28597 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28598 AbstractUndoableEdit.java,
28599 * javax/swing/undo/UndoableEditSupport.java
28600 (createCompoundEdit): Fixed bad API doc tag,
28601 * javax/swing/undo/UndoManager.java
28602 (editToBeUndone): Fixed bad API doc tag,
28603 (editToBeRedone): Likewise.
28605 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28607 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28608 * javax/swing/FocusManager.java: Likewise.
28611 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28614 * javax/swing/plaf/metal/MetalComboBoxButton.java
28615 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28616 JList)): Fixed API doc tag,
28617 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28618 (createLayout): Fixed API doc warning.
28620 2006-03-05 Tom Tromey <tromey@redhat.com>
28622 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28623 ClassHelper.getUserName.
28624 * vm/reference/java/lang/reflect/Method.java (toString): Use
28625 ClassHelper.getUserName.
28626 (getUserTypeName): Removed.
28627 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28628 * vm/reference/java/lang/reflect/Field.java (toString): Use
28629 ClassHelper.getUserName.
28631 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28634 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28635 Allows directories as valid resources.
28637 2006-03-05 Mark Wielaard <mark@klomp.org>
28639 * configure.ac (VERSION): Set to 0.90-pre-generics.
28640 * Merge with CVS trunk from classpath-0_90-branch-point.
28642 2006-03-04 Tom Tromey <tromey@redhat.com>
28644 * javax/swing/SpringLayout.java (Constraints): New constructor.
28645 * javax/swing/Spring.java (width): New method.
28646 (height): Likewise.
28649 2006-03-04 Mark Wielaard <mark@klomp.org>
28651 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28652 existing connection from pool before returning.
28654 2006-03-04 Mark Wielaard <mark@klomp.org>
28656 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28657 exceptions thrown by handlers while cleaning up and rethrow original
28660 2006-03-04 Tom Tromey <tromey@redhat.com>
28662 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28664 (findConstructor): Likewise.
28665 (instantiateClass): Likewise.
28667 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28669 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28670 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28671 lease value and not always the default one.
28672 (LeaseRecord): Remember the array of objects, marked as dirty.
28673 java/rmi/dgc/Lease.java: Boilerplate fix.
28675 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28677 * java/util/jar/Attributes.java (putValue): Made it public and updated
28678 method documentation.
28680 2006-03-04 Mark Wielaard <mark@klomp.org>
28682 * java/awt/Container.java (remove(int)): Always call removeNotify()
28683 on removed Component.
28685 2006-03-04 Mark Wielaard <mark@klomp.org>
28687 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28688 * javax/swing/JEditorPane.java (setText): Check for empty String
28689 with equals(), not equality (==).
28691 2006-03-04 Mark Wielaard <mark@klomp.org>
28693 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28694 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28696 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28698 * javax/swing/text/GapContent.java
28699 (getArray): Mark as final.
28701 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28703 * javax/swing/text/StyleConstants.java
28704 (CharacterConstants.Background): Marked final,
28705 (CharacterConstants.BidiLevel): Likewise,
28706 (CharacterConstants.Bold): Likewise,
28707 (CharacterConstants.ComponentAttribute): Likewise,
28708 (CharacterConstants.Family): Likewise,
28709 (CharacterConstants.Size): Likewise,
28710 (CharacterConstants.Foreground): Likewise,
28711 (CharacterConstants.IconAttribute): Likewise,
28712 (CharacterConstants.Italic): Likewise,
28713 (CharacterConstants.StrikeThrough): Likewise,
28714 (CharacterConstants.Subscript): Likewise,
28715 (CharacterConstants.Superscript): Likewise,
28716 (CharacterConstants.Underline): Likewise,
28717 (ColorConstants.Foreground): Likewise,
28718 (ColorConstants.Background): Likewise,
28719 (FontConstants.Bold): Likewise,
28720 (FontConstants.Family): Likewise,
28721 (FontConstants.Italic): Likewise,
28722 (FontConstants.Size): Likewise,
28723 (ParagraphConstants.Alignment): Likewise,
28724 (ParagraphConstants.FirstLineIndent): Likewise,
28725 (ParagraphConstants.LeftIndent): Likewise,
28726 (ParagraphConstants.LineSpacing): Likewise,
28727 (ParagraphConstants.Orientation): Likewise,
28728 (ParagraphConstants.RightIndent): Likewise,
28729 (ParagraphConstants.SpaceAbove): Likewise,
28730 (ParagraphConstants.SpaceBelow): Likewise,
28731 (ParagraphConstants.TabSet): Likewise.
28733 2006-03-03 Tom Tromey <tromey@redhat.com>
28735 * javax/net/ssl/SSLException.java: Added missing @since.
28738 2006-03-03 Tom Tromey <tromey@redhat.com>
28740 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28741 (serialVersionUID): New field.
28743 2006-03-03 Tom Tromey <tromey@redhat.com>
28745 * java/security/spec/InvalidKeySpecException.java
28746 (InvalidKeySpecException): New constructors.
28747 * java/security/cert/CertificateParsingException.java
28748 (CertificateParsingException): New constructors.
28749 * java/security/cert/CertificateEncodingException.java
28750 (CertificateEncodingException): New constructors.
28751 * java/security/cert/CertificateException.java (CertificateException):
28753 * java/security/cert/CRLException.java (CRLException): New
28756 2006-03-03 Tom Tromey <tromey@redhat.com>
28758 * java/security/SignatureException.java (SignatureException): New
28760 * java/security/ProviderException.java (ProviderException): New
28762 * java/security/NoSuchAlgorithmException.java
28763 (NoSuchAlgorithmException): New constructors.
28764 * java/security/KeyStoreException.java (KeyStoreException): New
28766 * java/security/KeyManagementException.java (KeyManagementException):
28768 * java/security/InvalidKeyException.java (InvalidKeyException): New
28770 * java/security/KeyException.java (KeyException): New constructors.
28771 * java/security/InvalidAlgorithmParameterException.java
28772 (InvalidAlgorithmParameterException): New constructors.
28773 * java/security/DigestException.java (DigestException): New
28775 * java/security/GeneralSecurityException.java
28776 (GeneralSecurityException): New constructors.
28778 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28780 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28782 * javax/swing/event/DocumentEvent.java: Likewise,
28783 * javax/swing/event/EventListenerList.java: Likewise,
28784 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28785 * javax/swing/event/MenuKeyEvent.java: Likewise,
28786 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28787 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28788 * javax/swing/event/TreeModelEvent.java: Likewise,
28789 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28790 * javax/swing/event/UndoableEditEvent.java: Likewise.
28792 2006-03-03 Tom Tromey <tromey@redhat.com>
28794 * java/awt/Insets.java (set): New method.
28795 (equals): Added @since.
28797 2006-03-03 David Daney <ddaney@avtrex.com>
28799 * gnu/java/net/protocol/http/HTTPURLConnection.java
28800 (getRequestProperties): Rewrote.
28801 (addRequestProperty): Rewrote.
28802 (getHeaderFields): Rewrote.
28803 (getHeaderField): Rewrote.
28804 (getHeaderFieldKey): Rewrote.
28805 (getHeaderField): Removed useless cast.
28806 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28807 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28809 (notifyHeaderHandlers): Use new Headers interface.
28811 2006-03-03 Tom Tromey <tromey@redhat.com>
28813 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28814 * javax/naming/spi/ResolveResult.java,
28815 javax/naming/event/NamingExceptionEvent.java,
28816 javax/naming/event/NamingEvent.java,
28817 javax/naming/directory/SearchResult.java,
28818 javax/naming/directory/SearchControls.java,
28819 javax/naming/directory/SchemaViolationException.java,
28820 javax/naming/directory/NoSuchAttributeException.java,
28821 javax/naming/directory/ModificationItem.java,
28822 javax/naming/directory/InvalidSearchFilterException.java,
28823 javax/naming/directory/InvalidSearchControlsException.java,
28824 javax/naming/directory/InvalidAttributesException.java,
28825 javax/naming/directory/InvalidAttributeIdentifierException.java,
28826 javax/naming/directory/AttributeModificationException.java,
28827 javax/naming/directory/AttributeInUseException.java,
28828 javax/naming/TimeLimitExceededException.java,
28829 javax/naming/SizeLimitExceededException.java,
28830 javax/naming/PartialResultException.java,
28831 javax/naming/Reference.java,
28832 javax/naming/ServiceUnavailableException.java,
28833 javax/naming/OperationNotSupportedException.java,
28834 javax/naming/NotContextException.java,
28835 javax/naming/NoPermissionException.java,
28836 javax/naming/NoInitialContextException.java,
28837 javax/naming/NameNotFoundException.java,
28838 javax/naming/NameAlreadyBoundException.java,
28839 javax/naming/NameClassPair.java,
28840 javax/naming/MalformedLinkException.java,
28841 javax/naming/LinkLoopException.java,
28842 javax/naming/LinkException.java,
28843 javax/naming/LimitExceededException.java,
28844 javax/naming/InvalidNameException.java,
28845 javax/naming/InterruptedNamingException.java,
28846 javax/naming/InsufficientResourcesException.java,
28847 javax/naming/ContextNotEmptyException.java,
28848 javax/naming/ConfigurationException.java,
28849 javax/naming/CannotProceedException.java,
28850 javax/naming/CommunicationException.java,
28851 javax/naming/Binding.java,
28852 javax/naming/AuthenticationNotSupportedException.java,
28853 javax/naming/AuthenticationException.java: Added serialVersionUID.
28855 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28857 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28859 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28861 * javax/swing/event/TableModelListener.java: Updated API docs.
28863 2006-03-03 Mark Wielaard <mark@klomp.org>
28865 * java/awt/Component.java (addNotify): Expand documentation.
28867 2006-03-03 Mark Wielaard <mark@klomp.org>
28869 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28870 Always call setParentAndBounds().
28871 (setComponentBounds): Always call setBounds().
28872 (setBounds): Call setVisible().
28873 (setVisible): If no pixels are showing then don't make it visible.
28874 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28875 to call setParentAndBounds() anymore.
28877 2006-03-03 Roman Kennke <kennke@aicas.com>
28879 * javax/swing/JInternalFrame.java
28880 (JInternalFrame): Set frame invisible.
28881 (show): Reformatted.
28882 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28883 (installDefaults): Do not set invisible here.
28885 2006-03-03 Roman Kennke <kennke@aicas.com>
28887 * java/awt/Toolkit.java
28888 (getScreenInsets): Return (0,0,0,0) here.
28890 2006-03-03 Roman Kennke <kennke@aicas.com>
28892 * javax/swing/text/FlowView.java
28893 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28894 (FlowStrategy.getLogicalView): Made method protected.
28896 2006-03-03 Chris Burdess <dog@gnu.org>
28898 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28899 gnu/xml/validation/relaxng/AttributePattern.java,
28900 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28901 gnu/xml/validation/relaxng/ChoicePattern.java,
28902 gnu/xml/validation/relaxng/DataPattern.java,
28903 gnu/xml/validation/relaxng/Define.java,
28904 gnu/xml/validation/relaxng/ElementPattern.java,
28905 gnu/xml/validation/relaxng/EmptyPattern.java,
28906 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28907 gnu/xml/validation/relaxng/Grammar.java,
28908 gnu/xml/validation/relaxng/GrammarException.java,
28909 gnu/xml/validation/relaxng/GrammarValidator.java,
28910 gnu/xml/validation/relaxng/GroupPattern.java,
28911 gnu/xml/validation/relaxng/InterleavePattern.java,
28912 gnu/xml/validation/relaxng/ListPattern.java,
28913 gnu/xml/validation/relaxng/NSNameNameClass.java,
28914 gnu/xml/validation/relaxng/NameClass.java,
28915 gnu/xml/validation/relaxng/NameNameClass.java,
28916 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28917 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28918 gnu/xml/validation/relaxng/Param.java,
28919 gnu/xml/validation/relaxng/Pattern.java,
28920 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28921 gnu/xml/validation/relaxng/RefPattern.java,
28922 gnu/xml/validation/relaxng/TextPattern.java,
28923 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28924 builder and data model.
28925 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28926 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28927 gnu/xml/validation/xmlschema/AttributeUse.java,
28928 gnu/xml/validation/xmlschema/ComplexType.java,
28929 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28930 gnu/xml/validation/xmlschema/Particle.java,
28931 gnu/xml/validation/xmlschema/ValidationException.java,
28932 gnu/xml/validation/xmlschema/XMLSchema.java,
28933 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28934 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28935 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28936 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28937 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28938 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28939 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28940 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28941 W3C XML Schema builder and schema components.
28942 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28943 XML Schema namespace URIs.
28945 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28947 * NEWS: Add entry for --enable-collections.
28948 * configure.ac: Add --enable-collections option.
28949 * lib/Makefile.am (collections.jar): New target.
28950 (glibj_DATA): Add $(COLLECTIONS).
28951 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28952 configure substitution.
28953 (classpath): Read from command line.
28954 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28956 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28958 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28960 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28962 * javax/swing/event/ListSelectionEvent.java
28963 (toString): Implemented,
28964 plus updated API docs all over.
28966 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28968 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28970 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28972 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28974 * gnu/java/rmi/dgc/DGCImpl.java,
28975 java/rmi/dgc/DGC.java,
28976 java/rmi/dgc/Lease.java: Formatted and commented.
28978 2006-03-03 Roman Kennke <kennke@aicas.com>
28980 * NEWS: Added comment about text highlighting and copy+paste
28983 2006-03-03 Roman Kennke <kennke@aicas.com>
28985 * javax/swing/JTabbedPane.java
28986 (remove(int)): Call super.remove(int) instead of remove(Component).
28987 Avoids a stack overflow.
28989 2006-03-03 Roman Kennke <kennke@aicas.com>
28991 * javax/swing/JTable.java
28992 (distributeSpillResizing): Avoid ArithmeticException by checking
28995 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28997 * javax/swing/text/package.html: Added package description.
28999 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29001 * javax/swing/CellRendererPane.java: Minor API doc fix,
29002 * javax/swing/ComboBoxModel.java: Updated API docs.
29004 2006-03-03 Chris Burdess <dog@gnu.org>
29007 * gnu/xml/stream/EntityReferenceImpl.java,
29008 gnu/xml/stream/FilteredEventReader.java,
29009 gnu/xml/stream/SAXParser.java,
29010 gnu/xml/stream/XIncludeFilter.java,
29011 gnu/xml/stream/XMLEventAllocatorImpl.java,
29012 gnu/xml/stream/XMLEventFactoryImpl.java,
29013 gnu/xml/stream/XMLEventImpl.java,
29014 gnu/xml/stream/XMLEventReaderImpl.java,
29015 gnu/xml/stream/XMLEventWriterImpl.java,
29016 gnu/xml/stream/XMLInputFactoryImpl.java,
29017 gnu/xml/stream/XMLOutputFactoryImpl.java,
29018 gnu/xml/stream/XMLParser.java,
29019 javax/xml/stream/EventFilter.java,
29020 javax/xml/stream/Location.java,
29021 javax/xml/stream/StreamFilter.java,
29022 javax/xml/stream/XMLEventFactory.java,
29023 javax/xml/stream/XMLEventReader.java,
29024 javax/xml/stream/XMLEventWriter.java,
29025 javax/xml/stream/XMLInputFactory.java,
29026 javax/xml/stream/XMLOutputFactory.java,
29027 javax/xml/stream/XMLReporter.java,
29028 javax/xml/stream/XMLResolver.java,
29029 javax/xml/stream/XMLStreamConstants.java,
29030 javax/xml/stream/XMLStreamReader.java,
29031 javax/xml/stream/events/EntityDeclaration.java,
29032 javax/xml/stream/events/EntityReference.java,
29033 javax/xml/stream/events/XMLEvent.java,
29034 javax/xml/stream/util/EventReaderDelegate.java,
29035 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29036 StAX API as specified in JWSDP 2.0.
29037 * gnu/xml/stream/EndEntityImpl.java,
29038 gnu/xml/stream/LocationImpl.java,
29039 gnu/xml/stream/StartEntityImpl.java,
29040 gnu/xml/stream/XMLStreamReaderImpl.java,
29041 javax/xml/stream/XMLFilter.java,
29042 javax/xml/stream/XMLIterator.java,
29043 javax/xml/stream/events/EndEntity.java,
29044 javax/xml/stream/events/StartEntity.java: Removed legacy files.
29046 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29048 * javax/swing/CellEditor.java: API doc updates,
29049 * javax/swing/DefaultCellEditor.java: Likewise.
29051 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29053 * javax/swing/AbstractListModel.java:
29054 (AbstractListModel): Added API docs,
29055 (fireContentsChanged): Minor API doc correction,
29056 (fireIntervalAdded): Likewise,
29057 (fireIntervalRemoved): Likewise.
29059 2006-03-03 Roman Kennke <kennke@aicas.com>
29061 * NEWS: Added paragraph about Swing improvements.
29063 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29065 * javax/swing/AbstractAction.java: Updated API docs all over,
29066 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29067 (stopCellEditing): Minor API doc correction,
29068 * javax/swing/UnsupportedLookAndFeelException.java
29069 (UnsupportedLookAndFeelException): Changed argument name, updated API
29072 2006-03-03 Roman Kennke <kennke@aicas.com>
29074 * javax/swing/plaf/metal/MetalUtils.java
29075 (fillMetalPattern): Added switch to not use Graphics2D methods,
29076 even if they are available.
29078 2006-03-03 Roman Kennke <kennke@aicas.com>
29080 * javax/swing/plaf/basic/BasicHTML.java
29081 (isHTMLString): Check for string beeing null.
29082 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29083 (BasicInternalFrameListener.internalFrameActivated): Implemented.
29084 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29085 (InternalFrameLayout): Don't touch the glass pane here.
29086 (installUI): Fix handling of glass pane.
29087 * javax/swing/plaf/basic/BasicLabelUI.java
29091 (BasicLabelUI): Initialize new fields.
29092 (getPreferredSize): Avoid creating new Rectangles by using
29093 SwingUtilities method.
29094 (paint): Avoid creating new Rectangles by reusing
29095 new fields. Added some preliminary handling of HTML inside the
29097 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29098 (uninstallComponents): Clear HTML renderer.
29099 (propertyChange): Check for HTML text and install renderer if
29101 * javax/swing/plaf/basic/BasicListUI.java
29102 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29104 * javax/swing/plaf/basic/BasicTextUI.java
29105 (RootView.getStartOffset): Implemented.
29106 (RootView.getEndOffset): Implemented.
29107 (RootView.getDocument): Implemented.
29109 2006-03-03 Roman Kennke <kennke@aicas.com>
29111 * javax/swing/text/DefaultStyledDocument.java
29112 (ElementBuffer.inserUpdate): Added check for zero-length
29114 * javax/swing/text/DefaultStyledDocument.java
29115 (setIndex): Improved exception message.
29116 * javax/swing/text/TableView.java
29117 Made class abstract.
29118 (TableRow.replace): Probably extend columnRequirements
29120 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29121 of super.layoutMajorAxis.
29122 (columnRequirements): Made field package private.
29123 (TableView): Do not load any child views here.
29124 (layoutColumns): Implemented this method.
29125 (updateColumnRequirements): New helper method.
29126 * javax/swing/text/Utilities.java
29127 (getBreakLocation): Also take offset into account when
29128 finding end location.
29129 * javax/swing/text/html/HTMLDocument.java
29130 (HTMLReader.parseStack): New field.
29131 (HTMLReader.blockOpen): Properly handle p-implied tags.
29132 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29133 (HTMLReader.addContent): Insert p-implied when adding content to
29135 * javax/swing/text/html/HTMLEditorKit.java
29136 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29137 ParagraphView for TD tags. Print out warning for tags that don't have
29138 matching view yet and create NullView for them.
29139 (read): Only set document base when document != null.
29140 * javax/swing/text/html/HTMLTableView.java:
29143 2006-03-03 Roman Kennke <kennke@aicas.com>
29145 * javax/swing/plaf/basic/BasicHTML.java
29146 (HTMLRootView): New inner class.
29147 (createHTMLView): Embed view inside a HTMLRootView.
29149 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29151 * gnu/java/net/protocol/jar/Connection.java:
29152 (connect): Throw FileNotFoundException.
29153 (getInputStream): Remove duplicated code.
29155 2006-03-03 Roman Kennke <kennke@aicas.com>
29157 * javax/swing/RepaintManager.java
29158 (commitBuffer): Added null check for clip.
29160 2006-03-02 Lillian Angel <langel@redhat.com>
29162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29163 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29164 to use GtkWidget instead of GTKMenu.
29166 2006-03-02 Lillian Angel <langel@redhat.com>
29168 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29169 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29170 use the submenu to get the list of children. This now works
29171 in the same way as addItem.
29173 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29175 * java/lang/StringBuilder.java:
29176 (codePointAt): New method.
29177 (codePointBefore): Likewise.
29178 (codePointCount): Likewise.
29179 (trimToSize): Likewise.
29181 2006-03-02 Tom Tromey <tromey@redhat.com>
29183 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29185 2006-03-02 Tom Tromey <tromey@redhat.com>
29187 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29188 (getProviderInstance):
29190 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29192 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29193 Fix regression caused by move to VM variant.
29194 PR classpath/22926.
29196 2006-03-01 Tom Tromey <tromey@redhat.com>
29198 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29199 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29200 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29201 imports for javadoc.
29202 (getProxyClass): Javadoc fixes.
29203 (getProxyData): Likewise.
29204 (generateProxyClass): Likewise.
29205 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29206 (setOut): Likewise.
29207 (setErr): Likewise.
29208 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29209 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29211 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29213 (getModifiers): Likewise.
29214 (getDeclaredClasses): Javadoc fix.
29215 (getDeclaredFields): Likewise.
29216 (getDeclaredMethods): Likewise.
29217 (getDeclaredConstructors): Likewise.
29218 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29221 2006-03-01 Tom Tromey <tromey@redhat.com>
29223 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29224 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29225 (getVersion): Javadoc fix.
29227 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29228 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29230 2006-03-01 David Daney <ddaney@avtrex.com>
29232 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29233 as relative if it contains a colon but no protocol handler can be
29236 2006-03-01 Roman Kennke <kennke@aicas.com>
29238 * javax/swing/text/AbstractDocument.java
29239 (LeafElement.LeafElement): Handle delta with respect to content
29240 length not document length.
29241 * javax/swing/text/CompositeView.java
29242 (getViewIndex): Handle bias correctly.
29243 * javax/swing/text/DefaultCaret.java
29244 (paint): Align caret position to document bounds to avoid trouble
29245 when removing large portions of content.
29246 * javax/swing/text/DefaultStyledDocument.java
29247 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29248 (ElementBuffer.createFracture): Copy old childs attribute. The
29249 ElementSpec usually doesn't carry attribute information.
29250 Use pos instead of offset.
29251 (ElementBuffer.insertFracture): Use pos instead of offset.
29252 (createDefaultRootElement): Don't use create* and instead directly
29253 instantiate the elements.
29254 (handleInsertAfterNewline): Compare the paragraphs startOffset
29255 rather than previous paragraphs endOffset.
29256 * javax/swing/text/JTextComponent.java
29257 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29259 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29261 * javax/swing/text/PlainView.java
29262 (damageLineRange): Avoid creating new Rectangle by using
29264 * javax/swing/text/View.java
29265 (forwardUpdate): Correct the use of bias.
29266 (modelToView): Avoid new Rectangles by using SwingUtilities.
29267 (dump): Made (temprorarily) protected for use in BasicTextUI.
29268 (dump(int)): Dump out the element of the view.
29270 2006-03-01 Lillian Angel <langel@redhat.com>
29272 * NEWS: javax.imageio.plugins.bmp implementation.
29274 2006-03-01 Lillian Angel <langel@redhat.com>
29276 * javax/imageio/ImageWriteParam.java:
29277 Added documentation for fields.
29278 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29279 New class implemented.
29281 2006-03-01 Tom Tromey <tromey@redhat.com>
29283 * NEWS: Mention java.util.prefs update.
29285 2006-03-01 Tom Tromey <tromey@redhat.com>
29287 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29288 * java/nio/charset/UnmappableCharacterException.java:
29289 (serialVersionUID): New field.
29290 * java/nio/charset/MalformedInputException.java:
29291 (serialVersionUID): New field.
29292 * java/nio/charset/CoderMalfunctionError.java:
29293 (serialVersionUID): New field.
29294 * java/nio/charset/CharacterCodingException.java:
29295 (serialVersionUID): New field.
29296 * java/nio/channels/UnsupportedAddressTypeException.java:
29297 (serialVersionUID): New field.
29298 * java/nio/channels/UnresolvedAddressException.java:
29299 (serialVersionUID): New field.
29300 * java/nio/channels/OverlappingFileLockException.java:
29301 (serialVersionUID): New field.
29302 * java/nio/channels/NotYetConnectedException.java:
29303 (serialVersionUID): New field.
29304 * java/nio/channels/NotYetBoundException.java
29305 (serialVersionUID): New field.
29306 * java/nio/channels/NonWritableChannelException.java
29307 (serialVersionUID): New field.
29308 * java/nio/channels/NonReadableChannelException.java
29309 (serialVersionUID): New field.
29310 * java/nio/channels/NoConnectionPendingException.java
29311 (serialVersionUID): New field.
29312 * java/nio/channels/IllegalSelectorException.java
29313 (serialVersionUID): New field.
29314 * java/nio/channels/IllegalBlockingModeException.java
29315 (serialVersionUID): New field.
29316 * java/nio/channels/FileLockInterruptionException.java
29317 (serialVersionUID): New field.
29318 * java/nio/channels/ConnectionPendingException.java
29319 (serialVersionUID): New field.
29320 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29322 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29324 * java/nio/channels/ClosedByInterruptException.java
29325 (serialVersionUID): New field.
29326 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29328 * java/nio/channels/AsynchronousCloseException.java
29329 (serialVersionUID): New field.
29330 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29332 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29333 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29334 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29336 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29337 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29338 Javadoc fix. Added import.
29339 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29340 (validOps): Likewise.
29341 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29342 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29343 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29344 * java/nio/channels/Channels.java: Added import.
29345 * java/nio/channels/FileChannel.java (lock): Typo fix.
29346 (tryLock): Likewise.
29348 2006-03-01 Tom Tromey <tromey@redhat.com>
29350 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29352 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29353 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29355 (putSpi): Likewise.
29356 (newNode): Likewise.
29358 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29359 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29361 (systemRoot): Use it.
29362 (userPreferences): New field.
29363 (userRoot): Use it.
29365 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29367 * java/util/ResourceBundle.java
29368 (tryBundle): Catch and ignore all Exceptions.
29370 2006-02-28 Roman Kennke <kennke@aicas.com>
29372 * javax/swing/plaf/basic/BasicScrollBarUI.java
29373 (getPreferredSize): Fixed add a fixed space between the buttons
29374 instead of something related to min/max.
29375 (installComponents): Create and install buttons here.
29376 (installDefaults): Don't create buttons here.
29377 * javax/swing/plaf/metal/MetalScrollBarUI.java
29378 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29379 (getPreferredSize): New method.
29381 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29383 * examples/gnu/classpath/examples/swing/Demo.java
29384 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29385 connected 'Spinner' action to SpinnerDemo,
29386 (mkCheckbox): Removed,
29387 (mkRadio): Likewise,
29388 (mkSpinner): Likewise,
29389 (mkToggle): Likewise,
29390 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29391 connected 'Spinner' action to SpinnerDemo.
29393 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29395 * javax/print/ServiceUIFactory.java: Added documentation to class.
29397 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29400 * javax/swing/DefaultListSelectionModel.java:
29401 (addSelectionInterval): Return early if either of the arguments is -1.
29402 (removeSelectionInterval): Likewise.
29403 (setSelectionInterval): Likewise.
29405 2006-02-28 Lillian Angel <langel@redhat.com>
29407 * javax/swing/text/DefaultFormatter.java
29408 (stringToValue): Added NPE check.
29410 2006-02-28 Roman Kennke <kennke@aicas.com>
29413 * javax/swing/JList.java
29414 (getPreferredScrollableViewportSize): Restored specified behaviour.
29415 * javax/swing/plaf/metal/MetalFileChooserUI.java
29416 (createList): Set filelist panel's preferredSize, so that it doesn't
29417 get size into infinity for big lists.
29419 2006-02-28 Lillian Angel <langel@redhat.com>
29421 * javax/swing/ViewportLayout.java
29422 (layoutContainer): Should not extend container to be
29423 minimum size. Mauve test shows that the preferred size
29424 and the size of the viewport can be set smaller than
29427 2006-02-28 Lillian Angel <langel@redhat.com>
29430 * javax/swing/JList.java
29431 (getPreferredScrollableViewportSize): Added a check to determine
29432 if orientation is VERTICAL_WRAP. If it is, we should only
29435 2006-02-28 Lillian Angel <langel@redhat.com>
29438 * javax/swing/ViewportLayout.java:
29439 Patch submitted by Audrius Meskauskas
29440 (addLayoutComponent): Added documentation.
29441 (removeLayoutComponent): Likewise.
29442 (preferredLayoutSize): Likewise.
29443 (minimumLayoutSize): Likewise.
29444 (layoutContainer): Fixed code, so view is set
29445 to the right position when inside a scrollpane.
29447 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29449 * java/math/BigInteger.java:
29450 Committed patch by Rafael:
29451 developer.classpath.org/pipermail/classpath-patches/
29452 2006-February/000473.html
29453 (signum): Return early 0 if words == null and ival == 0.
29454 (readObject): Handle special case of magnitude.length or signum being
29456 (writeObject): If signum is zero return a zero-sized byte[].
29458 2006-02-28 Lillian Angel <langel@redhat.com>
29460 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29461 (create): Initially set the directory to the current working directory.
29462 (setDirectory): Removed else-if. No need for this check.
29464 2006-02-28 Tom Tromey <tromey@redhat.com>
29466 * .project: Run java builder before header generation.
29468 2006-02-28 Tom Tromey <tromey@redhat.com>
29470 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29472 * gnu/java/util/prefs/EventDispatcher.java: New file.
29473 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29474 (NodeWriter): Specify UTF-8.
29475 (writeHeader): Emit DOCTYPE.
29476 * java/util/prefs/Preferences.java (getFactory): Add cause to
29478 (exportNode): Documented.
29479 (exportSubtree): Likewise.
29480 (importPreferences): Likewise.
29481 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29482 (writeObject): Likewise.
29483 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29484 (writeObject): Likewise.
29485 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29486 (nodeListeners): New field.
29487 (preferenceListeners): Likewise.
29488 (addNodeChangeListener): Implemented.
29489 (addPreferenceChangeListener): Likewise.
29490 (removeNodeChangeListener): Likewise.
29491 (removePreferenceChangeListener): Likewise.
29492 (fire): New methods.
29494 (remove): Likewise.
29495 (purge): Likewise. Fixed synchronization.
29496 (removeNode): Fixed synchronization.
29497 (getNode): Fire event.
29498 (flushNode): Fixed synchronization.
29500 2006-02-28 Roman Kennke <kennke@aicas.com>
29502 * javax/swing/text/BranchElement.java
29503 (startOffset): New field.
29504 (endOffset): New field.
29505 (BranchElement): Initialize new fields.
29506 (getEndOffset): Rewritten to possibly return cached values
29507 if element has no children.
29508 (getStartOffset): Rewritten to possibly return cached values
29509 if element has no children.
29510 * javax/swing/text/LeafElement.java
29511 (startDelta): New field.
29512 (endDelta): New field.
29513 (LeafElement): Handle possible delta of start/endOffset when
29514 these parameters lie outside the document range.
29515 (getStartOffset): Handle possible startDelta.
29516 (getEndOffset): Handle possible startDelta.
29518 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29520 * NEWS: Added line about Unicode 4.0.0 support.
29522 2006-02-28 Roman Kennke <kennke@aicas.com>
29524 * javax/swing/SwingUtilities.java
29525 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29527 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29529 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29531 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29533 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29534 Amended class documentation.
29535 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29537 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29538 a BIT STRING construct.
29539 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29541 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29543 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29544 a BIT STRING construct.
29545 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29546 (engineVerify): Added logging.
29548 2006-02-28 Roman Kennke <kennke@aicas.com>
29550 * java/awt/Component.java
29551 (dispatchEventImpl): Let the Toolkit dispatch global events.
29552 * java/awt/Container.java
29553 (dispatchEventImpl): Let the LightweightDispatcher handle events
29555 * java/awt/EventQueue.java
29556 (dispatchEvent): Don't do the global event dispatching here. This
29557 is moved to the Component.
29558 (globalDispatchEvent): Moved this method to Toolkit.
29559 * java/awt/LightweightDispatcher.java
29560 (instances): New field.
29561 (getInstance): New method. Delivers an instance of
29562 LightweightDispatcher.
29563 (LightweightDispatcher): Made default constructor private.
29564 (dispatchEvent): New method. Replaces the eventDispatched method.
29565 This now returns true when the event was actually dispatched.
29566 (eventDispatched): Replaced by dispatchEvent.
29567 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29568 received the last MOUSE_RELEASED.
29569 * java/awt/Toolkit.java
29570 (Toolkit): Don't register LightweightDispatcher as global event
29572 (globalDispatchEvent): Moved here from EventQueue.
29574 2006-02-27 David Daney <ddaney@avtrex.com>
29577 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29579 (getRequestProperties): Rewrote.
29581 2006-02-27 David Daney <ddaney@avtrex.com>
29584 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29586 (ChunkedInputStream): Extend InputStream.
29588 (headers): Moved to top of class.
29589 (constructor): Save referenct to in.
29590 (read(byte[])): Removed method.
29591 (read(byte[], int, int)): Made synchronized and throw IOException
29592 on error parsing chunk header.
29593 (available): New method.
29594 (close): New method.
29596 2006-02-27 David Daney <ddaney@avtrex.com>
29598 * gnu/java/net/protocol/http/HTTPURLConnection.java
29599 (imports): Cleaned up.
29600 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29601 (constructor): ... Here, using SystemProperties instead of System.
29603 2006-02-27 Lillian Angel <langel@redhat.com>
29605 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29606 (setDirectory): GtkFileChooser requires an absolute directory
29607 name. Added a check to make the directory passed to nativeSetDirectory
29610 2006-02-27 Roman Kennke <kennke@aicas.com>
29612 * javax/swing/SwingUtilities.java
29613 (computeIntersection): Changed to store result in rect, instead of
29614 creating new Rectangle instances. Fixed API docs accordingly.
29615 (computeUnion): Changed to store result in rect, instead of
29616 creating new Rectangle instances. Fixed API docs accordingly.
29618 2006-02-27 Roman Kennke <kennke@aicas.com>
29620 * javax/swing/JViewport.java
29621 (static_init): Changed default scrollmode to BLIT.
29622 (paintSimple): Added some clipping to avoid painting problems.
29623 (paintBlit): Added some clipping to avoid painting problems.
29625 2006-02-27 Roman Kennke <kennke@aicas.com>
29627 * javax/swing/JComponent.java
29628 (rectCache): Made field static to save memory.
29629 (getVisibleRect): Don't use rectCache and create new Rectangle
29631 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29632 (repaint(long,int,int,int,int)): Directly call
29633 RepaintManager.addDirtyRegion(). The visibleRect check is now
29634 performed in the RepaintManager.
29636 2006-02-27 Roman Kennke <kennke@aicas.com>
29638 * javax/swing/RepaintManager.java
29639 (currentRepaintManagers): Made field private.
29640 (rectCache): New field.
29641 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29642 component. Changed Rectangle handling to avoid unnecessary new
29643 Rectangle instances.
29644 (getOffscreenBuffer): Create buffer with size of the root window.
29645 Respect the maximum buffer size here.
29646 (commitBuffer): Align the regions so that they are inside the buffer
29647 image and inside the clip. This avoids problems with a bug in GTKImage.
29648 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29650 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29652 * native/fdlibm/e_acos.c,
29653 * native/fdlibm/e_asin.c,
29654 * native/fdlibm/e_atan2.c,
29655 * native/fdlibm/e_cosh.c,
29656 * native/fdlibm/e_exp.c,
29657 * native/fdlibm/e_fmod.c,
29658 * native/fdlibm/e_hypot.c,
29659 * native/fdlibm/e_log.c,
29660 * native/fdlibm/e_log10.c,
29661 * native/fdlibm/e_rem_pio2.c,
29662 * native/fdlibm/e_remainder.c,
29663 * native/fdlibm/e_sinh.c,
29664 * native/fdlibm/e_sqrt.c,
29665 * native/fdlibm/k_cos.c,
29666 * native/fdlibm/k_sin.c,
29667 * native/fdlibm/k_tan.c,
29668 * native/fdlibm/s_atan.c,
29669 * native/fdlibm/s_cbrt.c,
29670 * native/fdlibm/s_ceil.c,
29671 * native/fdlibm/s_copysign.c,
29672 * native/fdlibm/s_cos.c,
29673 * native/fdlibm/s_expm1.c,
29674 * native/fdlibm/s_fabs.c,
29675 * native/fdlibm/s_finite.c,
29676 * native/fdlibm/s_floor.c,
29677 * native/fdlibm/s_log1p.c,
29678 * native/fdlibm/s_rint.c,
29679 * native/fdlibm/s_scalbn.c,
29680 * native/fdlibm/s_sin.c,
29681 * native/fdlibm/s_tan.c,
29682 * native/fdlibm/s_tanh.c:
29683 Fixed to call our macros rather than __HI and __LO.
29684 * native/fdlibm/fdlibm.h:
29685 Reintroduced previous extraction code.
29686 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29687 (GET_HIGH_WORD(i,d)): Readded.
29688 (GET_LOW_WORD(i,d)): Readded.
29689 (INSERT_WORDS(d,ix0,ix1)): Readded.
29690 (SET_HIGH_WORD(d,i)): Readded.
29691 (SET_LOW_WORD(d,i)): Readded.
29692 * native/jni/gtk-peer/gthread-jni.c:
29693 Use Glib macros to convert integers/pointers portably.
29695 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29697 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29698 as the fallback SPI.
29699 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29700 ones referencing GNU-CRYPTO classes.
29701 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29702 (engineValidate): Use GNU-CRYPTO class.
29703 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29704 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29705 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29706 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29707 * gnu/java/security/provider/DSAParameters: Likewise.
29708 * gnu/java/security/provider/DSASignature: Likewise.
29709 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29710 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29711 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29712 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29713 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29714 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29715 * gnu/java/security/provider/MD2withRSA: Likewise.
29716 * gnu/java/security/provider/MD4withRSA: Likewise.
29717 * gnu/java/security/provider/MD5: Likewise.
29718 * gnu/java/security/provider/MD5withRSA: Likewise.
29719 * gnu/java/security/provider/RSA: Likewise.
29720 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29721 * gnu/java/security/provider/SHA: Likewise.
29722 * gnu/java/security/provider/SHA1PRNG: Likewise.
29723 * gnu/java/security/provider/SHA1withRSA: Likewise.
29724 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29726 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29728 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29729 (engineGeneratePublic): Added logging.
29730 (engineGeneratePrivate): Likewise.
29731 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29732 (encodePublicKey): Added logging.
29733 Clarified in method documentation that params is optional, but is
29734 always NULL if present.
29735 (decodePublicKey): Added logging.
29736 Handle optional NULL element.
29738 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29740 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29742 2006-03-03 Tom Tromey <tromey@redhat.com>
29744 * java/awt/MenuBar.java (shortcuts): Genericized.
29746 2006-03-03 Tom Tromey <tromey@redhat.com>
29748 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29750 (getListenerType): Likewise.
29751 * java/beans/Introspector.java (getBeanInfo): Genericized.
29752 * java/beans/DefaultPersistenceDelegate.java (initialize):
29755 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29757 * java/math/BigDecimal.java:
29758 (precision): Fixed overflow problem with large numbers.
29759 (longValueExact): New method.
29760 (intValueExact): Likewise.
29761 (byteValueExact): Likewise.
29762 (shortValueExact): Likewise.
29764 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29766 * java/math/BigDecimal.java:
29767 (remainder(BigDecimal)): New method.
29768 (divideAndRemainder(BigDecimal)): Likewise.
29769 (divideToIntegralValue(BigDecimal)): Likewise.
29770 (floor): New implementation method.
29772 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29774 * java/math/BigDecimal.java:
29775 (divide(BigDecimal, int, RoundingMode)): New method.
29776 (divide(BigDecimal, RoundingMode)): Likewise.
29777 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29778 when the new scale is < 0.
29779 (setScale(int, RoundingMode)): New method.
29782 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29784 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29785 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29786 (add(BigDecimal, MathContext)): New method.
29787 (subtract(BigDecimal, MathContext)): Likewise.
29788 (precision): Fixed to correctly handle BigIntegers with more than 19
29790 (pow(int, MathContext)): New method.
29792 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29794 * java/math/BigDecimal.java: Added @throws clause to constructors.
29795 (mathContext): Removed this unneeded field.
29796 (BigDecimal(int, MathContext)): New constructor.
29797 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29798 (multiply(BigDecimal, MathContext)): New method.
29799 (negate(MathContext)): Likewise.
29800 (plus(MathContext)): Likewise.
29801 (numDigitsInLong): Fixed to properly handle negatives.
29803 2006-02-25 Chris Burdess <dog@gnu.org>
29805 * gnu/java/net/CRLFInputStream.java,
29806 gnu/java/net/LineInputStream.java: Streams that use mark
29807 capabilities on the underlying stream do not expose mark
29808 functionality themselves.
29809 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29812 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29814 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29815 option flags passed to match methods.
29816 (MF_FIND_ALL): New flag.
29817 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29818 do not try other possibilties once a match is found.
29819 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29820 so that all possibilities can be found.
29821 (match): Rewritten using new methods matchMinimum and _match.
29822 (_match): New method which performs a depth-first recursive search.
29823 (matchMinimum): New method.
29824 (initVisited), (visitedContains), (addVisited): New methods for
29825 manipulating an array of icharacter positions which _match has
29828 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29830 * java/math/BigDecimal.java:
29831 (BigDecimal(long, MathContext)): New constructor.
29832 (BigDecimal(BigInteger, MathContext)): Likewise.
29833 (BigDecimal(String, MathContext)): Likewise.
29834 (BigDecimal(double, MathContext)): Likewise.
29835 (round): Fixed a typo where the precision field was used instead of a
29836 call to the precision method, and also store the new precision in the
29837 returned BigDecimal.
29838 (abs(MathContext)): New method.
29840 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29842 * java/math/BigDecimal.java
29843 (toBigInteger): Fixed problem where this method couldn't handle
29844 negative values for scale.
29845 (toBigIntegerExact): New method.
29846 (stripTrailingZeros): Likewise.
29848 2006-02-24 David Daney <ddaney@avtrex.com>
29851 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29853 (Pool): New inner class.
29854 (timeLastUsed): New field.
29855 (setPool): Changed parameter type to Pool.
29856 (release): Moved pool management logic to new class Pool.
29857 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29859 (maxConnections) : Removed.
29860 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29861 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29863 2006-02-24 Lillian Angel <langel@redhat.com>
29865 * java/awt/Container.java:
29866 Added new field. True if Container has been cleared and
29867 heavyweights need to be repainted.
29868 (paint): Fixed comment. Fixed to use backCleared and
29870 (update): Set backCleared to true after the background
29871 of the container has been cleared.
29873 2006-02-24 Lillian Angel <langel@redhat.com>
29875 * java/awt/TextField.java
29876 (addNotify): Added call to super.
29878 2006-02-24 Lillian Angel <langel@redhat.com>
29880 * java/awt/Component.java
29881 (reshape): Reverted last patch. Should have check here.
29882 (addNotify): Added check. If parent is lightweight, then
29883 initialize listener on the parent.
29884 (HeavyweightInLightweightListener): New class.
29886 2006-02-24 Roman Kennke <kennke@aicas.com>
29888 * javax/swing/plaf/basic/BasicComboPopup.java
29889 (show): Register the popup with the autocloser after it has been
29890 opened completely, by putting the registration on the eventqueue.
29892 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29894 * gnu/java/security/prng/BasePRNG.java:
29895 (clone()): Added cast of buffer to byte[].
29896 * gnu/javax/crypto/mac/TMMH16.java:
29897 (clone()): Fixed casting of cloned arrays.
29898 * native/fdlibm/fdlibm.h:
29899 Added missing defines from old fdlibm.h needed by Darwin.
29900 (GET_FLOAT_WORD(i,d)): Re-added.
29901 (SET_FLOAT_WORD(d,i)): Re-added.
29903 2006-02-24 Roman Kennke <kennke@aicas.com>
29905 * java/awt/Container.java:
29906 (dispatcher): Removed field.
29907 (dispatchEventImpl): Removed lightweight dispatching.
29908 (addNotifyContainerChildren): Removed LightweightDispatcher
29910 (LightweightDispatcher): Removed class.
29911 * java/awt/LightweightDispatcher.java: New class.
29912 * java/awt/Toolkit.java
29913 (Toolkit): Install LightweightDispatcher in global listener
29916 2006-02-24 Chris Burdess <dog@gnu.org>
29919 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29922 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29924 * NEWS: Mentions the VMMath runtime changes.
29925 * doc/vmintegration.texinfo: Updated to include
29928 2006-02-24 Roman Kennke <kennke@aicas.com>
29930 * javax/swing/plaf/basic/BasicLookAndFeel.java
29931 (PopupHelper.autoClosePopups): New field.
29932 (PopupHelper.mousePressed): Also autoclose any registered popups.
29933 (PopupHelper.registerForAutoClose): New method.
29934 (PopupHelper.autoClosePopups): New method.
29935 (popupHelper): Changed type of field to PopupHelper.
29936 (registerForAutoClose): New method.
29937 * javax/swing/plaf/basic/BasicComboPopup.java
29938 (show): Register this popup for autoclosing.
29940 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29942 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29943 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29944 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29946 2006-02-24 Roman Kennke <kennke@aicas.com>
29948 Reported by Ingo Proetel <proetel@aicas.com>
29949 * java/util/logging/LogManager.java
29950 (addLogger): Search the parent loggers for log level
29951 configuration and inherit that.
29952 (readConfiguration): Provide minimal default configuration
29953 if no configuration can be found otherwise.
29955 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29957 * java/math/BigDecimal.java:
29958 (toString): Fixed a problem where the negative sign was being displayed
29959 twice in the exponent.
29960 (toEngineeringString): New method.
29961 (toPlainString): Likewise.
29964 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29966 * java/math/BigDecimal.java:
29967 (toString): Rewrote this method to behave as specified. Added API
29968 comments to explain behaviour.
29969 (scaleByPowerOfTen): New method.
29971 2006-02-23 Roman Kennke <kennke@aicas.com>
29973 * javax/swing/JRootPane.java
29974 (isOptimizedDrawingEnabled): Implemented to return true
29975 when the glassPane is not visible.
29977 2006-02-23 Roman Kennke <kennke@aicas.com>
29979 * javax/swing/plaf/basic/BasicLookAndFeel.java
29980 (PopupHelper): New inner class.
29981 (popupHelper): New field.
29982 (initialize): New method.
29983 (uninitialize): New method.
29984 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29985 (mouseInputListener): Removed field.
29986 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29987 handling of GlassPane.
29988 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29989 handling of GlassPane.
29990 (MouseInputHandler): Removed class.
29992 2006-02-23 Roman Kennke <kennke@aicas.com>
29994 * java/awt/AWTEvent.java
29995 (eventIdToMask): New utility method.
29996 * java/awt/EventQueue.java
29997 (dispatchEvent): Also globally dispatch events via the toolkit.
29998 (globalDispatchEvent): New method.
29999 * java/awt/Toolkit.java
30000 (awtEventListeners): New field.
30001 (Toolkit()): Initialize new field.
30002 (createComponent): Create GLightweightPeer here.
30003 (addAWTEventListener): Implemented and documented.
30004 (removeAWTEventListener): Implemented and documented.
30005 (getAWTEventListeners): Implemented and documented both method
30007 * java/awt/event/AWTEventListenerProxy.java
30008 (eventDispatched): Don't filter events here.
30010 2006-02-23 Chris Burdess <dog@gnu.org>
30013 * gnu/xml/dom/DomDocumentBuilderFactory.java,
30014 gnu/xml/dom/JAXPFactory.java,
30015 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
30016 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
30017 implement DocumentBuilderFactory.get/setFeature methods.
30019 2006-02-23 Lillian Angel <langel@redhat.com>
30021 * gnu/java/awt/peer/GLightweightPeer.java
30022 (repaint): Scott's proposed fix. Send repaint to the
30023 component's parent.
30024 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30025 (setBounds): Removed next_parent, not needed. Removed
30026 lightweightChild, we always need to compensate for the
30028 * java/awt/Component.java
30029 (setBounds): Removed check. Caused lots of problems, because some
30030 components were not being invalidated. Components should be
30031 invalidated when they are resized or moved, and in some cases,
30032 when a parent is resized/moved, the components do not know
30033 about it and do not adjust.
30034 * java/awt/Graphics.java
30035 (hitClip): Scott's proposed fix. Added check to handle a
30038 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30040 * javax/print/attribute/standard/MediaSize.java:
30041 (media): Field renamed to mediaName for serialization.
30042 (MediaSize): Adapted to new fieldname.
30043 (getMediaSizeName): Likewise.
30044 * javax/print/attribute/HashAttributeSet.java:
30045 (interfaceName): Field renamed to myInterface for serialization.
30046 (HashAttributeSet): Adapted to the new fieldname.
30048 (addAll): Likewise.
30049 (addInternal): Likewise.
30050 (attributeMap): Made transient.
30051 (readObject): New serialization method.
30052 (writeObject): Likewise.
30053 * javax/print/attribute/AttributeSetUtilities.java:
30054 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30055 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30056 (SynchronizedAttributeSet.addAll): Likewise.
30057 (SynchronizedAttributeSet.clear): Likewise.
30058 (SynchronizedAttributeSet.containsKey): Likewise.
30059 (SynchronizedAttributeSet.containsValue): Likewise.
30060 (SynchronizedAttributeSet.equals): Likewise.
30061 (SynchronizedAttributeSet.get): Likewise.
30062 (SynchronizedAttributeSet.hashCode): Likewise.
30063 (SynchronizedAttributeSet.isEmpty): Likewise.
30064 (SynchronizedAttributeSet.remove): Likewise.
30065 (SynchronizedAttributeSet.size): Likewise.
30066 (SynchronizedAttributeSet.toArray): Likewise.
30067 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30068 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30069 (UnmodifiableAttributeSet.addAll): Likewise.
30070 (UnmodifiableAttributeSet.clear): Likewise.
30071 (UnmodifiableAttributeSet.containsKey): Likewise.
30072 (UnmodifiableAttributeSet.containsValue): Likewise.
30073 (UnmodifiableAttributeSet.equals): Likewise.
30074 (UnmodifiableAttributeSet.get): Likewise.
30075 (UnmodifiableAttributeSet.hashCode): Likewise.
30076 (UnmodifiableAttributeSet.isEmpty): Likewise.
30077 (UnmodifiableAttributeSet.remove): Likewise.
30078 (UnmodifiableAttributeSet.size): Likewise.
30079 (UnmodifiableAttributeSet.toArray): Likewise.
30080 * javax/print/attribute/standard/MediaPrintableArea.java:
30081 (width): Field renamed to w for serialization.
30082 (height): Field renamed to h for serialization.
30083 (MediaPrintableArea): Adapted to the new fieldnames.
30084 (MediaPrintableArea): Likewise.
30085 (equals): Likewise.
30086 (hashCode): Likewise.
30087 (getHeight): Likewise.
30088 (getWidth): Likewise.
30090 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30092 * include/java_lang_VMMath.h:
30093 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30094 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30095 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30096 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30097 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30098 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30099 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30100 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30101 * java/lang/Math.java:
30102 (cbrt(double)): Implemented.
30103 (cosh(double)): Implemented.
30104 (expm1(double)): Implemented.
30105 (hypot(double,double)): Implemented.
30106 (log10(double)): Implemented.
30107 (log1p(double)): Implemented.
30108 (signum(double)): Implemented.
30109 (signum(float)): Implemented.
30110 (sinh(double)): Implemented.
30111 (tanh(double)): Implemented.
30112 * native/fdlibm/Makefile.am:
30113 Added new files from fdlibm 5.3.
30114 * native/fdlibm/e_acos.c,
30115 * native/fdlibm/e_asin.c,
30116 * native/fdlibm/e_atan2.c,
30117 * native/fdlibm/e_exp.c,
30118 * native/fdlibm/e_fmod.c,
30119 * native/fdlibm/e_log.c,
30120 * native/fdlibm/e_rem_pio2.c,
30121 * native/fdlibm/e_remainder.c,
30122 * native/fdlibm/e_scalb.c,
30123 * native/fdlibm/e_sqrt.c,
30124 * native/fdlibm/k_cos.c,
30125 * native/fdlibm/k_rem_pio2.c,
30126 * native/fdlibm/k_sin.c,
30127 * native/fdlibm/k_tan.c,
30128 * native/fdlibm/s_atan.c,
30129 * native/fdlibm/s_ceil.c,
30130 * native/fdlibm/s_copysign.c,
30131 * native/fdlibm/s_cos.c,
30132 * native/fdlibm/s_fabs.c,
30133 * native/fdlibm/s_finite.c,
30134 * native/fdlibm/s_floor.c,
30135 * native/fdlibm/s_rint.c,
30136 * native/fdlibm/s_scalbn.c,
30137 * native/fdlibm/s_sin.c,
30138 * native/fdlibm/s_tan.c,
30139 * native/fdlibm/w_acos.c,
30140 * native/fdlibm/w_asin.c,
30141 * native/fdlibm/w_atan2.c,
30142 * native/fdlibm/w_acos.c,
30143 * native/fdlibm/w_exp.c,
30144 * native/fdlibm/w_fmod.c,
30145 * native/fdlibm/w_log.c,
30146 * native/fdlibm/w_pow.c,
30147 * native/fdlibm/w_remainder.c,
30148 * native/fdlibm/w_sqrt.c:
30149 Updated to fdlibm 5.3.
30150 * native/fdlibm/e_cosh.c,
30151 * native/fdlibm/e_hypot.c,
30152 * native/fdlibm/e_log10.c,
30153 * native/fdlibm/e_sinh.c,
30154 * native/fdlibm/s_cbrt.c,
30155 * native/fdlibm/s_expm1.c,
30156 * native/fdlibm/s_log1p.c,
30157 * native/fdlibm/s_tanh.c,
30158 * native/fdlibm/w_cosh.c,
30159 * native/fdlibm/w_hypot.c,
30160 * native/fdlibm/w_log10.c,
30161 * native/fdlibm/w_sinh.c:
30162 Imported from fdlibm 5.3.
30163 * native/fdlibm/fdlibm.h:
30164 Imported from fdlibm 5.3 with Classpath additions.
30165 * native/fdlibm/namespace.h:
30166 Updated from new math_symbols file.
30167 * native/jni/java-lang/java_lang_VMMath.c:
30168 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30169 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30170 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30171 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30173 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30174 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30175 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30176 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30177 * scripts/math_symbols:
30178 Added tanh, expm1, log10 and log1p.
30179 * vm/reference/java/lang/VMMath.java:
30180 (cbrt(double)): Implemented.
30181 (cosh(double)): Implemented.
30182 (expm1(double)): Implemented.
30183 (hypot(double,double)): Implemented.
30184 (log10(double)): Implemented.
30185 (log1p(double)): Implemented.
30186 (sinh(double)): Implemented.
30187 (tanh(double)): Implemented.
30189 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30191 * javax/print/DocFlavor.java: Added documentation all over.
30192 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30193 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30194 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30195 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30196 (URL.TEXT_HTML_HOST): Likewise.
30197 (URL.TEXT_PLAIN_HOST): Likewise.
30198 (hostEncoding): Initialize with host default charset encoding.
30199 (mediaSubtype): Made transient.
30200 (mediaType): Likewise.
30201 (params): Made transient. Changed type to TreeMap.
30202 (className): Removed, changed to myClassName.
30203 (myClassName): New field as defined in serialized form.
30204 (DocFlavor): Adapted to new variable types, names.
30205 (parseMimeType): Reimplemented.
30206 (getParameter): Search with lowercase name.
30207 (getRepresentationClassName): Adapted to changed variable name.
30208 (hashCode): Likewise.
30209 (toString): Reimplemented.
30210 (readObject): New method for serialization.
30211 (writeObject): Likewise.
30213 2006-02-23 Roman Kennke <kennke@aicas.com>
30215 * javax/swing/RepaintManager.java
30216 (commitBuffer): Clip the repaint area with the current clip.
30218 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30220 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30221 (DEFAULT_PRIME_SIZE): Made public.
30222 (DEFAULT_EXPONENT_SIZE): Likewise.
30223 (setup): Handle DHParameterSpec as well.
30224 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30225 defaultFormat instead of Raw.
30226 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30227 (checkIsConstructed): Removed.
30228 (checkIsBigInteger): Likewise.
30229 (decodePublicKey): Use DerUtil.
30230 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30231 (checkIsConstructed): Removed.
30232 (checkIsBigInteger): Likewise.
30233 (decodePrivateKey): Use DerUtil.
30234 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30236 Added mappings for AlgorithmParameters.DH and
30237 AlgorithmParameterGenerator.DH.
30238 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30239 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30240 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30241 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30243 (engineGeneratePublic): Likewise.
30244 * gnu/java/security/util/DerUtil.java: New file.
30245 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30246 Include only valid RSA PKCS1 (v1.5) signature names.
30247 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30248 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30249 (checkIsConstructed): Likewise.
30250 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30251 (checkIsConstructed): Removed.
30252 (checkIsBigInteger): Likewise.
30253 (decodeSignature): Use DerUtil.
30254 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30255 (checkIsConstructed): Removed.
30256 (checkIsBigInteger): Likewise.
30257 (decodePublicKey): Use DerUtil.
30258 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30259 (checkIsConstructed): Removed.
30260 (checkIsBigInteger): Likewise.
30261 (decodePrivateKey): Use DerUtil.
30262 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30263 (checkIsConstructed): Removed.
30264 (checkIsBigInteger): Likewise.
30265 (decodePublicKey): Use DerUtil.
30266 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30267 (checkIsConstructed): Removed.
30268 (checkIsBigInteger): Likewise.
30269 (decodePrivateKey): Use DerUtil.
30270 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30271 (DEFAULT_MODULUS_LENGTH): Made it public.
30272 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30273 defaultFormat instead of Raw.
30274 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30275 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30276 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30278 (engineGeneratePublic): Likewise.
30279 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30281 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30283 * java/math/BigDecimal.java:
30284 (BigDecimal(char[], int, int, MathContext)): New constructor.
30285 (BigDecimal(char[], MathContext)): Likewise.
30286 (BigDecimal(char[])): Likewise.
30287 (BigDecimal(char[], int, int)): Likewise.
30288 (BigDecimal(String)): Fixed handling of exponent and scale.
30290 2006-02-22 Mark Wielaard <mark@klomp.org>
30292 * java/awt/Checkbox.java (setState): Check that state actually changed
30293 before calling peer.
30294 (dispatchEventImpl): Set new state if ItemEvent.
30295 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30296 (create): Set currentState.
30297 (setState): Make synchronized, check and set currentState before
30298 calling gtkToggleButtonSetActive.
30299 (postItemEvent): Make synchronized, check and set currentState before
30301 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30302 (postItemEventID): Method now takes boolean.
30303 (item_toggled_cb): Likewise.
30305 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30307 * javax/swing/text/DefaultHighlighter.java:
30308 (changeHighlight): Added code to minimize the damaged area.
30310 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30312 * javax/swing/text/PlainView.java:
30313 (getPreferredSpan): Added missing 'break'.
30314 statement which corrects an unwanted fall through.
30315 (updateDamage): Update maxLineLength correctly when text is
30316 removed, call preferenceChanged accordingly.
30317 (viewToModel): Restrict line number to be within 0 and the
30318 number of elements-1.
30320 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30322 * javax/swing/text/Utilities.java:
30323 (getPositionAbove): Prefer first value by changing comparison
30325 (getPositionBelow): Dito.
30327 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30329 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30330 behavior when magic caret position is null.
30332 2006-02-22 Roman Kennke <kennke@aicas.com>
30334 * javax/swing/JTextField.java
30335 (isValidateRoot): New method.
30337 2006-02-22 Roman Kennke <kennke@aicas.com>
30339 * javax/swing/JEditorPane.java
30340 (getPreferredSize): Rewritten to behave like the reference impl.
30341 (getScrollableTracksViewportWidth): Likewise.
30342 (getScrollableTracksViewportHeight): Likewise.
30344 2006-02-22 Roman Kennke <kennke@aicas.com>
30346 * javax/swing/RepaintManager.java
30347 (addInvalidComponent): Also consider the component itself.
30349 2006-02-22 Mark Wielaard <mark@klomp.org>
30351 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30352 qualify AbstractDocument.AttributeContext.
30353 (blockOpen): Likewise.
30355 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30357 * java/math/BigDecimal.java:
30358 (mathContext): New field.
30359 (precision): Likewise.
30360 (BigDecimal(int)): New constructor.
30361 (BigDecimal(long)): Likewise.
30362 (BigDecimal(BigInteger)): Added API docs.
30363 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30364 and added API docs.
30365 (plus): New method.
30367 (precision): Likewise.
30368 (valueOf): Likewise.
30369 (numDigitsInLong): New implementation method.
30371 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30373 * java/math/MathContext.java: New class.
30374 * java/math/RoundingMode: New Enum.
30376 2006-02-21 Mark Wielaard <mark@klomp.org>
30378 * java/awt/Component.java (translateEvent): Translate
30379 AdjustmentEvents to 1.0 Events.
30380 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30381 Call setValue() before processing event.
30382 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30383 whether we are currently changing and being called back from the
30384 Scrollbar component.
30385 (setBarValues): New native method.
30386 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30387 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30388 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30389 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30390 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30392 2006-02-21 Roman Kennke <kennke@aicas.com>
30394 * javax/swing/text/View.java
30395 (setParent): Set child parent to null when disconnecting
30396 the view from the View hierarchy.
30398 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30400 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30402 2006-02-21 Roman Kennke <kennke@aicas.com>
30404 * javax/swing/text/WrappedPlainView.java
30405 (calculateBreakPosition): Changed to use the view's allocation instead
30406 of the container's preferredSize.
30408 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30410 * java/awt/CardLayout.java:
30411 (first): Updated api documentation.
30414 (previous): Likewise.
30415 (show): Clarified api docs. Return if name is null. Throw
30416 IllegalArgumentException if layout of container is not this.
30417 (gotoComponent): Updated api documentation. Throw
30418 IllegalArgumentException if layout of container is not this.
30420 2006-02-21 Roman Kennke <kennke@aicas.com>
30422 * javax/swing/text/NavigationFilter.java
30423 (getNextVisualPositionFrom): New method.
30425 2006-02-21 Roman Kennke <kennke@aicas.com>
30427 * javax/swing/plaf/basic/BasicTextUI.java
30428 (RootView.setView): Call setParent() on the view with this as
30429 argument instead of null.
30430 (setView): Don't set root view's parent here.
30432 2006-02-21 Roman Kennke <kennke@aicas.com>
30434 * javax/swing/text/AbstractDocument.java
30435 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30436 the resolving parent.
30437 (AbstractElement.getResolveParent): Fixed to handle possible null
30439 * javax/swing/text/BoxView.java
30440 (childReqs): New field.
30441 (paint): Added debugging code (commented out).
30442 (getPreferredSpan): Rewritten to use new update* methods.
30443 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30444 for the minor axis and preferredSpan for the major axis.
30445 (getMinimumSpan): Rewritten to use new update* methods.
30446 (baselineRequirements): Rewritten to avoid creation of
30447 unnecessary SizeRequirements objects.
30448 (baselineLayout): Rewritten to use new update* methods.
30449 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30450 unnecessary SizeRequirements objects.
30451 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30452 unnecessary SizeRequirements objects.
30453 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30455 (layoutMajorAxis): Rewritten to use new update* methods.
30456 (layoutMinorAxis): Rewritten to use new update* methods.
30457 (getChildRequirements): Replaced by the update* methods.
30458 (getAlignment): Use update* methods.
30459 (updateChildRequirements): New methods. Updates the child requirements
30461 (updateRequirements): New methods. Updates the BoxView requirements
30463 * javax/swing/text/DefaultStyledDocument.java
30464 (ElementBuffer.insert): Added warning for illegal replacement operation.
30465 * javax/swing/text/FlowView.java
30466 (layoutRow): When offset doesn't change, return -1.
30467 (LogicalView): Now subclasses BoxView.
30468 (loadChildren): Let the CompositeView.setParent() load the children
30469 of the logicalView.
30470 (calculateMinorRequirements): New overridden method.
30471 * javax/swing/text/GlyphView.java
30472 (DefaultGlyphPainter.paint): Fixed typo.
30473 (startOffset): Made field private.
30474 (endOffset): Made field private.
30475 (paint): Call getStartOffset() and getEndOffset() instead of the
30477 (isStrikeThrough): Fixed typo.
30478 (breakView): Use Utilities.getBreakLocation() to determine best
30480 (changedUpdate): Call preferencedChange on this instead of parent.
30481 (removeUpdate): Call preferencedChange on this instead of parent.
30482 * javax/swing/text/ParagraphView.java
30483 (Row.getAlignment): For Y_AXIS, call super.
30484 (getAlignment): Likewise.
30485 * javax/swing/text/Utilities.java
30486 (getBreakLocation): Set Segment object directly on the BreakIterator.
30487 * javax/swing/text/html/HTML.java
30488 (Attribute): Made class non-serializable and final as specified.
30489 (Attribute(String)): Made constructor private.
30490 (Attribute.compareTo): Removed.
30491 (Attribute.equals): Removed.
30492 (Attribute.hashCode): Removed.
30493 (Tag): Made class non-comparable and non-serializable as specified.
30494 (Tag.compareTo): Removed.
30495 (Tag.equals): Removed.
30496 (Tag.hashCode): Removed.
30497 * javax/swing/text/html/HTMLDocument.java
30498 (HTMLReader.blockOpen): Add tag as name attribute to element.
30499 * javax/swing/text/html/HTMLEditorKit.java
30500 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30502 * javax/swing/text/html/InlineView.java
30503 (setPropertiesFromAttributes): Call super.
30504 * javax/swing/text/html/NullView.java: New class.
30506 2006-02-21 Roman Kennke <kennke@aicas.com>
30509 * javax/swing/text/GapContent.java
30510 (GapContentPosition): Made class private.
30511 (InsertUndo): Made class private.
30512 (UndoRemove): Made class private.
30513 (WeakPositionComparator): New inner class.
30514 (positions): Made field private.
30515 (createPosition): Clear up GC'ed positions before creating
30516 a new one. Store position as WeakReference.
30517 (getPositionsInRange): Changed to handle WeakReference
30519 (setPositionsInRange): Changed to handle WeakReference
30521 (adjustPositionsInRange): Changed to handle WeakReference
30523 (dumpPositions): Handle WeakReference positions.
30524 (clearPositionReferences): New method.
30526 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30528 * javax/swing/plaf/basic/BasicTextUI.java:
30529 (paint): Remove unneccessary part of the if-expression.
30530 (damageRange): Added case where the range spans multiple lines.
30531 * javax/swing/text/DefaultCaret.java:
30532 (clearHighlight): New method.
30533 (handleHighlight): Removed unneccessary part of the if-expression.
30534 (setDot): Use clearHighlight method.
30535 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30537 (paint): Prevented calling size() on every loop iteration, fixed
30538 calculation of allocation area bounds.
30539 (getHighlights): Implemented.
30540 (removeHighlight): Mark damaged area in textcomponent.
30541 (addHighlight): Mark damaged area in textcomponent.
30542 (changeHighlight): Mark damaged area in textcomponent.
30543 (DefaultHighlighter.HighlightEntry): Made it a real
30544 Highlighter.Highlight implementation.
30545 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30548 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30550 * java/util/zip/ZipConstants.java
30551 (LOCSIG): Change type to long.
30552 (EXTSIG): Likewise.
30553 (CENSIG): Likewise.
30554 (ENDSIG): Likewise.
30555 * java/util/zip/ZipOutputStream.java
30556 (writeLeInt(long)): New method.
30558 2006-02-21 Michael Koch <konqueror@gmx.de>
30560 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30562 2006-02-20 Mark Wielaard <mark@klomp.org>
30564 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30565 (begin_drawing_operation): Output stacktrace and return on bad cairo
30567 (end_drawing_operation): Likewise. And reset cairo_t.
30569 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30571 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30572 in backward selection action.
30574 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30576 * java/lang/reflect/Proxy.java:
30577 (ProxyData.getProxyData): Skipped overriding of core methods.
30578 (ProxyData.isCoreObjectMethod): New method.
30580 2006-02-20 Mark Wielaard <mark@klomp.org>
30582 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30584 2006-02-20 Roman Kennke <kennke@aicas.com>
30586 * javax/swing/text/html/Option.java: New class.
30588 2006-02-20 Lillian Angel <langel@redhat.com>
30590 * java/swt/Window.java
30591 (show): Calling show() on the owned windows caused problems.
30592 Changed back to get the peer and call setVisible.
30594 2006-02-20 Roman Kennke <kennke@aicas.com>
30596 * javax/swing/plaf/basic/BasicTextUI.java
30597 (damageRange): Implemented this method.
30599 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30601 * javax/swing/text/GapContent.java:
30602 (shiftGapEndUp): Corrected new mark value.
30603 * javax/swing/text/AbstractDocument.java:
30604 (remove): Changed order of operations.
30606 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30608 * javax/swing/text/GapContent.java:
30609 (shiftGapEndUp): Reverted.
30610 * javax/swing/text/AbstractDocument.java:
30611 (remove): Reverted.
30613 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30615 * javax/swing/text/GapContent.java:
30616 (shiftGapEndUp): Corrected new mark value.
30617 * javax/swing/text/AbstractDocument.java:
30618 (remove): Changed order of operations.
30620 2006-02-20 Mark Wielaard <mark@klomp.org>
30622 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30624 (insert): Likewise.
30625 (addNotify): Add the item after addNotifying it.
30626 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30627 there is a peer. Use getParent() and setParent() to manipulate parent
30629 (add(Menu)): Use getParent() and setParent() to manipulate parent
30630 field. Call addNotify() and addMenu() when there is a peer.
30631 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30632 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30633 when there is a peer.
30634 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30635 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30636 (setFont): Call setFont(Font).
30637 (setFont(Font)): Document. Only set font when not null.
30638 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30640 (connectSignals): Likewise.
30641 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30643 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30645 (postMenuActionEvent): Document.
30646 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30648 (addItem): Document. Made private.
30649 (addTearOff): Made private.
30650 (connectSignals): New protected overridden method.
30651 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30652 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30653 (create): Document.
30654 (addMenu): Made private, take GtkMenuPeer as argument and document.
30655 (GtkMenuBarPeer): Document.
30656 (nativeSetHelpMenu): Removed.
30657 (addHelpMenu): Implement.
30658 (delMenu): Document.
30659 (addMenu): Implement.
30660 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30661 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30662 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30663 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30666 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30668 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30669 Expect that proxy interfaces may have different class loaders.
30670 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30671 * java/rmi/registry/Registry.java,
30672 * java/rmi/server/UnicastRemoteObject.java:
30673 Documented about proxy stubs.
30674 * gnu/java/rmi/server/CombinedClassLoader.java,
30675 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30676 * NEWS: Added entry.
30678 2006-02-19 Mark Wielaard <mark@klomp.org>
30680 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30681 Parent and Bounds of our children if either or parent is showing, or
30682 we are a Window and are showing ourselves now.
30684 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30686 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30688 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30689 Another stub name fix.
30691 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30693 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30694 Call convertStubName. (convertStubName): New method.
30695 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30696 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30697 (convertStubName): New method.
30698 (getMethodHashCode):
30699 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30700 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30702 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30704 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30706 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30708 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30710 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30712 * javax/swing/JViewport.java (paintBackingStore): If the component has
30713 not been scrolled, only repaint the buffer part, indicated by
30714 the parameter graphics clip.
30716 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30718 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30720 (writePrivateKey): Likewise.
30721 (writeKey): New method.
30722 (getKeyType): Likewise.
30723 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30725 (readPrivateKey): Likewise.
30726 (getKeyPairCodec): New method.
30727 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30728 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30729 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30730 (RSA_PSS_ENCODING): Likewise..
30731 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30732 (RSA_PSS_SIG): Redefined using other constants.
30733 (RSA_PKCS1_V1_5_SIG): Likewise.
30734 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30735 * gnu/java/security/util/FormatUtil.java: New file.
30736 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30737 (getInstance): Let RSASignatureFactory handle RSA signature names.
30738 (getNames): Handle new RSA signature (with format) names.
30739 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30740 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30742 (name): Include hash algorithm name.
30743 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30744 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30745 (RSAPSSSignature): Call constructor with IMessageDigest.
30746 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30747 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30749 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30751 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30752 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30753 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30754 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30755 hash algorithm name to exception.
30756 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30757 * gnu/java/security/key/KeyPairCodecFactory.java
30758 (names): New class field.
30759 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30760 (getInstance(String,String)): New method.
30761 (getInstance(String,int)): New method.
30762 (getInstance(byte[])): Removed.
30763 (getInstance(Key)): Handle new formats.
30764 (getNames): Likewise.
30765 (getEncodingName(int)): Moved to FormatUtil.
30766 (getEncodingShortName(int)): Likewise.
30767 (getRawCodec(String)): New method.
30768 (getX509Codec(String)): Likewise.
30769 (getPKCS8Codec(String)): Likewise.
30770 (getRawCodec(Key)): Likewise.
30771 (getX509Codec(Key)): Likewise.
30772 (getPKCS8Codec(Key)): Likewise.
30773 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30774 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30775 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30776 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30777 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30778 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30779 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30780 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30781 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30783 2006-02-18 Mark Wielaard <mark@klomp.org>
30785 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30787 (NoDragGestureRecognizer): New static class.
30788 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30789 Toolkit doesn't support drag and drop.
30791 2006-02-18 Mark Wielaard <mark@klomp.org>
30793 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30794 (AbstractAction(String)): Just call putValue() for NAME.
30795 (putValue): Nothing to do is old and new value are both null.
30797 2006-02-18 Mark Wielaard <mark@klomp.org>
30799 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30800 through getContentPane().
30801 (preferredLayoutSize): Likewise.
30803 2006-02-18 Mark Wielaard <mark@klomp.org>
30805 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30806 actually set before painting.
30808 2006-02-18 Mark Wielaard <mark@klomp.org>
30810 * javax/swing/text/html/HTMLDocument.java (addContent):
30811 Fully qualify AbstractDocument.AttributeContext and
30812 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30814 2006-02-18 Mark Wielaard <mark@klomp.org>
30816 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30817 (getRepresentationClassFromMime): Add exception cause to
30818 IllegalArgumentException.
30820 2006-02-17 Lillian Angel <langel@redhat.com>
30822 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30823 Removed unneeded import.
30824 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30825 Removed unneeded imports.
30826 * java/awt/BorderLayout.java:
30827 Fixed comment, this is not yet handled in the JDK 1.5.
30828 * java/awt/Container.java:
30829 Removed unneeded import.
30831 2006-02-17 Lillian Angel <langel@redhat.com>
30833 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30834 (setBounds): Removed check. Coordinates should always be changed
30835 to incorporate the parent's coordinates.
30836 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30837 (setMenuBar): Added checks. Don't validate component if it has
30838 not been validated yet, it will be validated later. Only validate
30839 if it has already been validated, in that case it needs to be
30841 * java/awt/Window.java
30842 (show): Added check. If the window is visible, then bring it to the
30843 front. Otherwise, iterate through all its children windows and show them.
30844 No need to do both.
30846 2006-02-17 Roman Kennke <kennke@aicas.com>
30848 * javax/swing/text/html/ParagraphView.java: New file.
30850 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30852 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30853 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30854 same location where was the initial text.
30855 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30857 2006-02-17 Chris Burdess <dog@gnu.org>
30859 Fixes PRs 26319, 26320, 26321, 26322, 26325
30860 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30861 rethrowing exception.
30862 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30863 1.1-style prefix unbinding in 1.0 document" error for xmlns
30864 prefixes, not xmlns attributes. Fix a problem with empty namespace
30865 stack at the end of a document. Permit parameter entity references
30866 in element and attribute-list definition name area. Corrected
30867 normalisation of whitespace character entity references in CDATA
30868 attribute values. Fixed number of characters read following a
30869 reset when detecting end of character data with characters after a
30870 Unicode surrogate pair.
30872 2006-02-17 Roman Kennke <kennke@aicas.com>
30874 * javax/swing/text/html/HTMLEditorKit.java
30875 (HTMLFactory.create): Create InlineView for content tags.
30876 * javax/swing/text/html/HTMLDocument.java
30877 (HTMLReader.flush): Call create() on first flush and insert
30878 on subsequent flushes.
30880 2006-02-17 Roman Kennke <kennke@aicas.com>
30882 * javax/swing/text/AbstractDocument.java
30883 (BranchElement.getStartOffset): Implemented workaround for wrong
30885 (BranchElement.getEndOffset): Implemented workaround for wrong
30887 (ElementBuffer.split): Use createBranchElement() instead of
30888 new BranchElement().
30889 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30890 new BranchElement().
30891 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30892 instead of new BranchElement().
30893 (createDefaultRoot): Use createBranchElement() and createLeafElement
30894 instead of the constructors.
30895 (create): Rewritten.
30897 2006-02-17 Keith Seitz <keiths@redhat.com>
30899 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30900 (SIZE): New constant.
30901 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30902 (executeIDsizes): Use SIZE constant.
30903 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30904 (SIZE): New constant.
30906 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30908 * javax/swing/JTable.java (IconCellRenderer): Set the component
30909 text to empty string. (createDefaultRenderers): Register
30910 IconCellRenderer also for ImageIcon.
30911 (getCellEditor(int, int), getCellRenderer(int, int)):
30912 Use model index for data model and column index for column model.
30913 (getColumnClass): Convert to model index before requesting class
30916 2006-02-17 Roman Kennke <kennke@aicas.com>
30918 * javax/swing/text/html/HTMLDocument.java
30919 (createDefaultRoot): Implemented.
30920 (createLeafElement): Implemented.
30921 (createBranchElement): Implemented.
30922 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30923 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30924 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30925 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30926 (HTMLReader.blockOpen): Add name attribute with the current tag.
30927 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30929 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30931 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30933 * javax/swing/table/JTableHeader.java: Documenting related methods.
30935 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30938 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30939 (connect): Changed to use SystemProperties.
30940 (getInputStream): Try changeWorkingDirectory to figure out if
30941 url is a directory, if not use retrieve.
30942 (getOutputStream): Don't worry about directories, simply always
30945 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30947 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30948 (ActiveModeDTP): Mark accept thread as daemon.
30950 2006-02-17 Michael Koch <konqueror@gmx.de>
30952 * tools/.cvsignore: Ignore tools.zip.
30954 2006-02-16 Keith Seitz <keiths@redhat.com>
30956 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30957 Set the ID's reference.
30958 (<clinit>): Remove comments for field, method, and frame ID types,
30959 which will not be handled by VMIdManager.
30961 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30963 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30964 Use model index, not the column number.
30965 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30966 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30967 movement by painting draggingHeaderRect.
30968 * NEWS: Added entry about JTable columns.
30970 2006-02-16 Keith Seitz <keiths@redhat.com>
30972 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30973 default size of eight bytes.
30974 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30975 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30976 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30977 (executeIDsizes): Use new static methods.
30978 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30981 2006-02-16 David Daney <ddaney@avtrex.com>
30984 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30985 return value with 0xff.
30987 2006-02-16 Keith Seitz <keiths@redhat.com>
30989 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30990 (matches): Use Iterator instead of ListIterator.
30992 2006-02-16 Keith Seitz <keiths@redhat.com>
30994 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30995 processor thread for easier debugging.
30996 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30999 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31001 * javax/swing/JTable.java
31002 (TableColumnPropertyChangeHandler.propertyChange): Return without
31003 action if table header resizing column in not null. (doLayout):
31004 Only repaint the header if it is not null.
31005 * javax/swing/plaf/basic/BasicTableHeaderUI.java
31006 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
31007 Rewritten. (MouseInputHandler.endResizing): New method.
31009 2006-02-16 Roman Kennke <kennke@aicas.com>
31011 * javax/swing/text/html/InlineView.java: New file.
31013 2006-02-16 Roman Kennke <kennke@aicas.com>
31015 * javax/swing/JTabbedPane.java
31016 (AccessibleJTable.getAccessibleChild): Implemented to return
31017 the Page instance for the specified index.
31018 (Page): Changed to implement Accessible and extend
31020 (Page.getAccessibleContext): New method.
31021 (Page.getAccessibleRole): New method.
31022 (Page.getAccessibleStateSet): New method.
31023 (Page.getAccessibleIndexInParent): New method.
31024 (Page.getAccessibleChildrenCount): New method.
31025 (Page.getAccessibleChild): New methdod.
31026 (Page.getLocale): New method.
31028 2006-02-16 Roman Kennke <kennke@aicas.com>
31030 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31031 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31032 tabCount gets greater than tabRuns.length.
31033 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31034 when tabCount gets greater than tabRuns.length.
31035 (paintTabArea): Don't set tabCount == runCount.
31037 2006-02-16 Roman Kennke <kennke@aicas.com>
31039 * javax/swing/plaf/basic/BasicTextUI.java
31040 (installUI): Moved installation of PropertyChangeListener
31041 to installListeners(). Call modelChanged() after everything is
31043 (installListeners): Install PropertyChangeListener here.
31044 (uninstallUI): Moved uninstallation of PropertyChangeListener
31045 to uninstallListeners.
31046 (uninstallListeners): Uninstall PropertyChangeListener here.
31048 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31050 * javax/swing/JTable.java (doLayout):
31051 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31053 javax/swing/plaf/basic/BasicTableHeaderUI.java
31054 (MouseInputHandler.mouseDragged): Do not repaint the header.
31056 2006-02-16 Roman Kennke <kennke@aicas.com>
31058 * javax/swing/JViewport.java
31059 (static_initializer): Set default scrollMode to backingstore.
31061 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31063 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31064 returned by getCellRect. To not translate the component.
31066 2006-02-16 Roman Kennke <kennke@aicas.com>
31068 * javax/swing/JComponent.java
31069 (rectCache): Made field non-static to avoid nasty interferences.
31070 (computeVisibleRect): Avoid creation of new Rectangles and double
31071 calculations on ints by using Swing.computeIntersection() instead
31072 of Rectangle2D.intersect().
31073 (repaint): Interect the dirty region with the visible rectangle
31074 of this component to avoid unnecessary painting.
31076 2006-02-16 Gary Benson <gbenson@redhat.com>
31078 * java/lang/Thread.java (stop): Add a missing access check.
31080 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
31082 * javax/swing/text/JTextComponent.java:
31083 (replaceSelection): Added code to update the magic caret position.
31084 * javax/swing/text/DefaultEditorKit.java: Added code to update
31085 the magic caret position of the text component in all relevant
31086 movement actions, make use of the magic caret position in up
31087 and down movements and selections, simplified some actions
31090 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31092 * gnu/java/lang/CharData.java: Regenerated from
31093 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31094 and scripts/unicode-muncher.pl.
31095 * java/lang/Character.java:
31096 (PrivateUseCharacters): New private static class.
31097 (UnassignedCharacters): Likewise.
31098 (blocks): Changed from char[] to char[][] to reflect the changes in
31099 gnu/java/lang/CharData. There is now one char[] per Unicode code
31102 (numValue): Likewise.
31105 (direction): Likewise.
31106 (readChar): Replaced this method with new method readCodePoint.
31107 (readCodePoint): New method.
31108 (isLowerCase(char)): Redirected to new isLowerCase(int).
31109 (isLowerCase(int)): New method.
31110 (isUpperCase(char)): Redirected to new isUpperCase(int).
31111 (isUpperCase(int)): New method.
31112 (isTitleCase(char)): Redirected to new isTitleCase(int).
31113 (isTitleCase(int)): New method.
31114 (isDigit(char)): Redirected to new isDigit(int).
31115 (isDigit(int)): New method.
31116 (isDefined(char)): Redirected to new isDefined(int).
31117 (isDefined(int)): New method.
31118 (isLetter(char)): Redirected to new isLetter(int).
31119 (isLetter(int)): New method.
31120 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31121 (isLetterOrDigit(int)): New method.
31122 (isJavaIdentifierStart(char)): Redirected to new
31123 isJavaIdentifierStart(int).
31124 (isJavaIdentifierStart(int)): New method.
31125 (isJavaIdentifierPart(char)): Redirected to new
31126 isJavaIdentifierPart(int).
31127 (isJavaIdentifierPart(int)): New method.
31128 (isUnicodeIdentifierStart(char)): Redirected to new
31129 isUnicodeIdentifierStart(int).
31130 (isUnicodeIdentifierStart(int)): New method.
31131 (isUnicodeIdentifierPart(char)): Redirected to new
31132 isUnicodeIdentifierPart(int).
31133 (isUnicodeIdentifierPart(int)): New method.
31134 (isIdentifierIgnorable(char)): Redirected to new
31135 isIdentifierIgnorable(int).
31136 (isIdentifierIgnorable(int)): New method.
31137 (toLowerCase(char)): Changed access to lower to correspond with new
31138 char[][] type of lower.
31139 (toLowerCase(int)) New method.
31140 (toUpperCase(char)): Changed access to upper to correspond with new
31141 char[][] type of upper.
31142 (toUpperCase(int)): New method.
31143 (toTitleCase(int)): New method.
31144 (digit(char, int)): Replaced call to readChar with call to
31145 readCodePoint and changed access to numValue to reflect new char[][]
31147 (digit(int, int)): New method.
31148 (getNumericValue(char)): Changed access to numValue to reflect new
31149 char[][] type of numValue.
31150 (getNumericValue(int)): New method.
31151 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31152 (isSpaceChar(int)): New method.
31153 (isWhitespace(char)): Redirected to new isWhitespace(int).
31154 (isWhitespace(int)): New method.
31155 (isISOControl(char)): Redirected to new isISOControl(int).
31156 (isISOControl(int)): New method.
31157 (getType(char)): Redirected to new getType(int).
31158 (getType(int)): New method.
31159 (getDirectionality(char)): Redirected to new getDirectionality(int).
31160 (getDirectionality(int)): New method.
31161 (isMirrored(char)): Changed call to readChar to readCodePoint.
31162 (isMirrored(int)): New method.
31163 * java/lang/String.java:
31164 (upperCaseExpansion): Changed access to Character.direction to reflect
31165 new char[][] type of direction.
31166 (offsetByCodePoints): New method.
31167 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31168 4.0.0 which introduced supplementary character assignments.
31170 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31172 * javax/swing/JTable.java,
31173 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31174 javax/swing/table/DefaultTableModel.java: Documented.
31176 2006-02-15 Lillian Angel <langel@redhat.com>
31178 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31179 Removed duplicate methods.
31181 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31183 * javax/swing/JTable.java (distributeSpillResizing): New method.
31184 (doLayout): Use distributeSpillResizing when resizing.
31185 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31186 Rewritten. (installListeners): Add mouse motion listener.
31187 (uninstallListeners): Remove mouse motion listener.
31189 2006-02-15 Lillian Angel <langel@redhat.com>
31191 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31192 (setVisible): Removed method.
31193 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31194 (setLocation): New method.
31195 (setLocationUnlocked): New method.
31196 (show): Changed to use setLocation instead of setBounds.
31197 * java/awt/Component.java
31198 (show): Should call peer.show(), not peer.setVisible(), so the
31199 location of the component is correctly set.
31200 (preferredSize): Added curly braces so else statements are
31201 properly associated with if's.
31202 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31203 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31205 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31206 LocationUnlocked): New function.
31207 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31208 Added declarations for Java_gnu_java_awt_peer_gtk_
31209 GtkWindowPeer_nativeSetLocation and
31210 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31211 _nativeSetLocationUnlocked.
31213 2006-02-15 Mark Wielaard <mark@klomp.org>
31215 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31216 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31217 Downcast gtk_plug_new result when used.
31219 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31221 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31222 Call assignNewHandle() after writing Proxy class.
31224 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31227 * java/io/ObjectInputStream.java (readClassDescriptor):
31228 Class doesn't have to be abstract for first_nonserial.
31230 2006-02-15 Roman Kennke <kennke@aicas.com>
31232 * javax/swing/JInternalFrame.java
31233 (setClosed): Call dispose to actually make the frame invisible
31236 2006-02-15 Roman Kennke <kennke@aicas.com>
31238 * javax/swing/JInternalFrame.java
31239 (dispose): Call setVisible(false) instead of hide.
31240 (doDefaultCloseOperation): Likewise.
31242 2006-02-15 Roman Kennke <kennke@aicas.com>
31244 * javax/swing/JComponent.java
31245 (paintChildren): Also check for the visibility of a child component
31246 to avoid artifacts.
31247 (repaint): Simply add this component to the RepaintManager rather than
31248 trying to do useless optimization here.
31250 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31252 * javax/swing/JSpinner.java
31253 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31254 PropertyChangeListener,
31255 (DefaultEditor.getSpinner): Updated API docs,
31256 (DefaultEditor.dismiss): Likewise,
31257 (DefaultEditor.getTextField): Likewise,
31258 (DefaultEditor.layoutContainer): Likewise,
31259 (DefaultEditor.minimumLayoutSize): Likewise,
31260 (DefaultEditor.preferredLayoutSize): Likewise,
31261 (DefaultEditor.propertyChange): Implemented,
31262 (DefaultEditor.stateChanged): Implemented,
31263 (DefaultEditor.removeLayoutComponent): Updated API docs,
31264 (DefaultEditor.addLayoutComponent): Likewise,
31265 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31266 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31267 (NumberEditor.getFormat): Implemented,
31268 (NumberEditor.getModel): Updated API docs,
31269 (NumberEditorFormatter): New static inner class,
31270 (ListEditor.getModel): Updated API docs,
31271 (DateEditor.dateFormat): Removed,
31272 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31273 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31274 (DateEditor.init): Removed,
31275 (DateEditor.getFormat): Reimplemented,
31276 (DateEditorFormatter): New static inner class,
31277 (ModelListener): New inner class,
31278 (model): Updated API docs,
31279 (editor): Likewise,
31280 (listener): Removed,
31281 (JSpinner()): Updated API docs,
31282 (JSpinner(SpinnerModel)): Set up ModelListener,
31283 (setEditor): Fire property change,
31284 (getModel): Updated API docs,
31285 (setModel): Removed check for null editor,
31286 (setValue): Updated API docs,
31287 (getUIClassID): Updated API docs,
31288 (createEditor): Handle SpinnerListModel case,
31289 * javax/swing/plaf/basic/BasicSpinnerUI.java
31290 (createUI): Updated API docs,
31291 (createPropertyChangeListener): Added FIXME,
31292 (installDefaults): Set text field border to null,
31293 (DefaultLayoutManager): Updated API docs,
31294 (DefaultLayoutManager.layoutContainer): Modified layout,
31295 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31296 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31297 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31298 (DefaultLayoutManager.addLayoutComponent): Likewise,
31299 (DefaultLayoutManager.minSize): Renamed prefSize,
31300 (DefaultLayoutManager.setBounds): Reformatted,
31301 (DefaultLayoutManager.editor): Added API docs,
31302 (DefaultLayoutManager.next): Likewise,
31303 (DefaultLayoutManager.previous): Likewise,
31304 * javax/swing/plaf/metal/MetalLookAndFeel.java
31305 (initComponentDefaults): Added entry for 'Spinner.border',
31306 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31308 2006-02-15 Chris Burdess <dog@gnu.org>
31310 * gnu/xml/validation/datatype/BooleanType.java,
31311 gnu/xml/validation/datatype/ByteType.java,
31312 gnu/xml/validation/datatype/DateTimeType.java,
31313 gnu/xml/validation/datatype/DateType.java,
31314 gnu/xml/validation/datatype/DecimalType.java,
31315 gnu/xml/validation/datatype/DoubleType.java,
31316 gnu/xml/validation/datatype/DurationType.java,
31317 gnu/xml/validation/datatype/FloatType.java,
31318 gnu/xml/validation/datatype/GDayType.java,
31319 gnu/xml/validation/datatype/GMonthDayType.java,
31320 gnu/xml/validation/datatype/GMonthType.java,
31321 gnu/xml/validation/datatype/GYearMonthType.java,
31322 gnu/xml/validation/datatype/GYearType.java,
31323 gnu/xml/validation/datatype/IntType.java,
31324 gnu/xml/validation/datatype/IntegerType.java,
31325 gnu/xml/validation/datatype/LongType.java,
31326 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31327 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31328 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31329 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31330 gnu/xml/validation/datatype/NegativeIntegerType.java,
31331 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31332 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31333 gnu/xml/validation/datatype/PositiveIntegerType.java,
31334 gnu/xml/validation/datatype/ShortType.java,
31335 gnu/xml/validation/datatype/SimpleType.java,
31336 gnu/xml/validation/datatype/TimeType.java,
31337 gnu/xml/validation/datatype/TypeBuilder.java,
31338 gnu/xml/validation/datatype/UnsignedByteType.java,
31339 gnu/xml/validation/datatype/UnsignedIntType.java,
31340 gnu/xml/validation/datatype/UnsignedLongType.java,
31341 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31342 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31343 minInclusive facets use the value space of the base type, and
31346 2006-02-15 Mark Wielaard <mark@klomp.org>
31348 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31349 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31350 gtk_plug_new() returns a GtkWindow.
31352 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31354 * javax/swing/SpinnerNumberModel.java
31355 (getNextValue): Check for null maximum,
31356 (getPreviousValue): Check for null minimum.
31358 2006-02-15 Roman Kennke <kennke@aicas.com>
31360 * javax/swing/plaf/basic/BasicTableUI.java
31361 (paint): Paint vertical and horizontal lines one pixel shifted
31364 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31366 * java/util/zip/ZipFile.java
31367 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31368 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31369 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31370 (readEntries): Rewritten to use PartialInputStream.
31371 (locBuf, checkLocalHeader): Removed.
31372 (getInputStream): Rewritten to use new PartialInputStream.
31373 (PartialInputStream): Rewritten to do buffering.
31375 2006-02-15 Michael Koch <konqueror@gmx.de>
31377 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31378 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31379 Make sure the embedded window gets no decorations.
31380 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31381 (window_get_frame_extents): Return early of the window has no
31384 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31386 * examples/gnu/classpath/examples/swing/TableDemo.java
31387 (TModel, createContent): Explain which value appears in the header.
31388 * javax/swing/JTable.java (setColumnModel): Only set the
31389 column header value if the getHeaderValue() returns null.
31391 2006-02-14 Mark Wielaard <mark@klomp.org>
31394 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31395 (getErrorImage): New static method.
31396 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31397 (bufferedImageOrError): Renamed to ...
31398 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31399 Returns GtkImage.getErrorImage() when argument null.
31400 (createImage(String)): Always use imageOrError.
31401 (createImage(URL)): Likewise.
31402 (createImage(ImageProducer)): Likewise.
31403 (createImage(byte[],int,int)): Likewise.
31405 2006-02-14 Roman Kennke <kennke@aicas.com>
31407 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31409 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31410 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31411 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31412 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31413 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31415 2006-02-14 Roman Kennke <kennke@aicas.com>
31417 * javax/swing/text/AsyncBoxView.java
31418 (ChildState.locator): Removed wrong field.
31419 (ChildState): Removed initialization of removed field.
31420 (locator): Changed access modifier to be protected as specified.
31422 2006-02-14 Roman Kennke <kennke@aicas.com>
31424 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31425 * javax/swing/Timer.java: Some small reindention.
31426 (task): Made package private to avoid synthetic accessor method.
31428 2006-02-14 Roman Kennke <kennke@aicas.com>
31430 * javax/swing/SwingUtilities.java
31431 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31434 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31436 * examples/gnu/classpath/examples/swing/TableDemo.java:
31437 Making the columns variable width.
31438 * javax/swing/JTable.java (distributeSpill, doLayout):
31439 Call getPreferredSize and not getSize().
31441 2006-02-14 Roman Kennke <kennke@aicas.com>
31443 * javax/swing/DefaultCellEditor.java
31444 (DefaultCellEditor): API doc fixlet.
31446 2006-02-14 Roman Kennke <kennke@aicas.com>
31448 * javax/swing/JViewport.java
31449 (isPaintRoot): New field.
31450 (repaint): Only call super here. Also added a comment regarding
31451 the diversion from the JDK.
31452 (paintBlit): Implemented real blitting.
31453 (paintImmediately2): New method. Overrides the same package private
31454 method in JComponent.
31456 2006-02-14 Roman Kennke <kennke@aicas.com>
31458 * javax/swing/plaf/basic/BasicTableUI.java
31459 (paint): Check for boundary cases when determining the painting
31462 2006-02-14 Mark Wielaard <mark@klomp.org>
31464 * java/awt/Menu.java (add): Always set parent of item to this. Call
31465 addNotify() on item when we have a MenuPeer already.
31466 (insert): Always adjust parent for item. Call addNotify() on item if
31467 we already have a peer.
31468 (remove(int)): Always clear item parent. Call removeNotify() on item
31471 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31473 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31474 row == getRowCount().
31476 2006-02-14 Lillian Angel <langel@redhat.com>
31478 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31479 (setVisible): New method to override super. Need to set the
31480 native bounds of the component, so it appears at the
31483 2006-02-14 Mark Wielaard <mark@klomp.org>
31485 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31486 (remove): If menu component is the current MenuBar remove it,
31487 otherwise call super.remove().
31488 * java/awt/MenuBar.java (frame): Remove field.
31489 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31491 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31493 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31494 to NameServicePersistent.
31495 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31496 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31498 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31500 * NEWS: Updated tool status.
31501 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31502 (constructor, bind, rebind): Rewritten.
31503 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31504 * tools/gnu/classpath/tools/giop/README: Updated.
31505 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31506 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31507 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31508 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31509 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31512 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31514 * javax/swing/JComponent.java
31515 (getListeners): Check for PropertyChangeListener.class and delegate to
31516 getPropertyChangeListeners() for that case.
31518 2006-02-13 Roman Kennke <kennke@aicas.com>
31520 * javax/swing/plaf/basic/BasicTableUI.java
31521 (paint): Determine the cells that need painting based on the
31522 current clip. Use getCellRect() for calculating the cell
31525 2006-02-13 Roman Kennke <kennke@aicas.com>
31527 * javax/swing/JTable.java
31528 (rectCache): New field.
31529 (getCellRect): Returns cached Rectangle instance.
31531 2006-02-13 Roman Kennke <kennke@aicas.com>
31533 * javax/swing/JLayeredPane.java
31534 (removeAll): New method. Avoid potential memory leak.
31535 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31538 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31540 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31541 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31543 2006-02-13 Tom Tromey <tromey@redhat.com>
31545 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31546 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31548 2006-02-13 Roman Kennke <kennke@aicas.com>
31550 * javax/swing/RepaintManager.java
31551 (offscreenBuffers): New field.
31552 (doubleBuffer): Removed field.
31553 (repaintUnderway): New field.
31554 (commitRequests): New field.
31555 (RepaintManager): Initialize new fields.
31556 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31558 (getOffscreenBuffer): Returns the offscreen buffer for the
31559 corresponding root component.
31560 (commitBuffer): New method.
31561 (commitRemainingBuffers): New method.
31562 * javax/swing/JComponent.java
31563 (paint): Call paintDoubleBuffered with the current clip.
31564 (paintImmediately2): Don't paint on screen here.
31565 (paintDoubleBuffered): Rewritten for real double buffering.
31566 (paintSimple): Draw to screen in this method.
31568 2006-02-13 Roman Kennke <kennke@aicas.com>
31570 * javax/swing/JRootPane.java
31571 (JRootPane): Set opaque property to true.
31573 2006-02-13 Tom Tromey <tromey@redhat.com>
31575 * .classpath: Updated for external/relaxngDatatype.
31577 2006-02-13 Chris Burdess <dog@gnu.org>
31579 * gnu/xml/stream/UnicodeReader.java,
31580 gnu/xml/validation/datatype/Annotation.java,
31581 gnu/xml/validation/datatype/AnySimpleType.java,
31582 gnu/xml/validation/datatype/AnyType.java,
31583 gnu/xml/validation/datatype/AnyURIType.java,
31584 gnu/xml/validation/datatype/AtomicSimpleType.java,
31585 gnu/xml/validation/datatype/Base64BinaryType.java,
31586 gnu/xml/validation/datatype/BooleanType.java,
31587 gnu/xml/validation/datatype/ByteType.java,
31588 gnu/xml/validation/datatype/DateTimeType.java,
31589 gnu/xml/validation/datatype/DateType.java,
31590 gnu/xml/validation/datatype/DecimalType.java,
31591 gnu/xml/validation/datatype/DoubleType.java,
31592 gnu/xml/validation/datatype/DurationType.java,
31593 gnu/xml/validation/datatype/EntitiesType.java,
31594 gnu/xml/validation/datatype/EntityType.java,
31595 gnu/xml/validation/datatype/EnumerationFacet.java,
31596 gnu/xml/validation/datatype/Facet.java,
31597 gnu/xml/validation/datatype/FloatType.java,
31598 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31599 gnu/xml/validation/datatype/GDayType.java,
31600 gnu/xml/validation/datatype/GMonthDayType.java,
31601 gnu/xml/validation/datatype/GMonthType.java,
31602 gnu/xml/validation/datatype/GYearMonthType.java,
31603 gnu/xml/validation/datatype/GYearType.java,
31604 gnu/xml/validation/datatype/HexBinaryType.java,
31605 gnu/xml/validation/datatype/IDRefType.java,
31606 gnu/xml/validation/datatype/IDRefsType.java,
31607 gnu/xml/validation/datatype/IDType.java,
31608 gnu/xml/validation/datatype/IntType.java,
31609 gnu/xml/validation/datatype/IntegerType.java,
31610 gnu/xml/validation/datatype/LanguageType.java,
31611 gnu/xml/validation/datatype/LengthFacet.java,
31612 gnu/xml/validation/datatype/ListSimpleType.java,
31613 gnu/xml/validation/datatype/LongType.java,
31614 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31615 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31616 gnu/xml/validation/datatype/MaxLengthFacet.java,
31617 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31618 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31619 gnu/xml/validation/datatype/MinLengthFacet.java,
31620 gnu/xml/validation/datatype/NCNameType.java,
31621 gnu/xml/validation/datatype/NMTokenType.java,
31622 gnu/xml/validation/datatype/NMTokensType.java,
31623 gnu/xml/validation/datatype/NameType.java,
31624 gnu/xml/validation/datatype/NegativeIntegerType.java,
31625 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31626 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31627 gnu/xml/validation/datatype/NormalizedStringType.java,
31628 gnu/xml/validation/datatype/NotationType.java,
31629 gnu/xml/validation/datatype/PatternFacet.java,
31630 gnu/xml/validation/datatype/PositiveIntegerType.java,
31631 gnu/xml/validation/datatype/QNameType.java,
31632 gnu/xml/validation/datatype/ShortType.java,
31633 gnu/xml/validation/datatype/SimpleType.java,
31634 gnu/xml/validation/datatype/StringType.java,
31635 gnu/xml/validation/datatype/TimeType.java,
31636 gnu/xml/validation/datatype/TokenType.java,
31637 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31638 gnu/xml/validation/datatype/Type.java,
31639 gnu/xml/validation/datatype/TypeBuilder.java,
31640 gnu/xml/validation/datatype/TypeLibrary.java,
31641 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31642 gnu/xml/validation/datatype/UnionSimpleType.java,
31643 gnu/xml/validation/datatype/UnsignedByteType.java,
31644 gnu/xml/validation/datatype/UnsignedIntType.java,
31645 gnu/xml/validation/datatype/UnsignedLongType.java,
31646 gnu/xml/validation/datatype/UnsignedShortType.java,
31647 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31648 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31649 RELAX NG datatype library implementation for XML Schema Datatypes.
31651 2006-02-13 Chris Burdess <dog@gnu.org>
31657 external/Makefile.am,
31658 external/relaxngDatatype/.cvsignore,
31659 external/relaxngDatatype/Makefile.am,
31660 external/relaxngDatatype/README.txt,
31661 external/relaxngDatatype/copying.txt,
31662 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31663 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31664 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31665 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31666 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31667 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31668 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31669 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31670 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31671 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31673 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31674 datatypes library API.
31676 2006-02-13 Mark Wielaard <mark@klomp.org>
31678 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31680 (gtkWidgetModifyFont(Font)): New protected helper method.
31681 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31682 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31683 protected and document.
31684 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31686 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31688 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31690 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31691 (setFont): Removed method. Done in GtkMenuComponent.
31692 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31693 abstract and protected.
31694 (setFont): Made private, add implementation.
31695 (setFont(Font)): Implemented.
31696 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31697 Made protected and document.
31698 (create): Made protected.
31699 (setFont): Removed method. Done in GtkMenuComponent.
31700 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31701 (gtkWidgetModifyFont): Made protected and document.
31702 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31703 Removed, similar to GtkGenericPeer super class implementation.
31704 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31705 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31706 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31709 2006-02-13 Mark Wielaard <mark@klomp.org>
31711 * java/lang/Math.java (static): Explicitly call
31712 System.loadLibrary("javalang").
31714 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31716 * javax/print/StreamPrintServiceFactory.java: New file.
31718 2006-02-13 Tom Tromey <tromey@redhat.com>
31720 * tools/.cvsignore: Added Makefile.
31722 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31724 * java/awt/print/PrinterGraphics.java: Reformatted.
31725 * java/awt/print/Paper.java: Likewise.
31726 * java/awt/print/PageFormat.java: Likewise.
31727 * java/awt/print/Pageable.java: Likewise.
31729 2006-02-13 Lillian Angel <langel@redhat.com>
31731 * java/awt/BorderLayout.java
31732 (layoutContainer): Rewrote part of this function to
31733 properly set the bounds of the components.
31734 (setBounds): Removed method, not needed.
31736 2006-02-13 Roman Kennke <kennke@aicas.com>
31738 * javax/swing/text/DefaultStyledDocument.java
31739 (ElementBuffer.clone): Fixed replace call.
31740 (clone): Removed method.
31742 2006-02-13 Roman Kennke <kennke@aicas.com>
31744 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31746 2006-02-13 Roman Kennke <kennke@aicas.com>
31748 * java/rmi/server/UnicastRemoteObject.java
31749 (exportObject(Remote)): Forward method call to export(Remote,int).
31751 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31753 * include/Makefile.am:
31754 Swapped Math.h for VMMath.h
31755 * include/java_lang_Math.h:
31757 * include/java_lang_VMMath.h:
31758 New autogenerated header for the new class.
31759 * java/lang/Math.java:
31760 (sin(double)): Changed to link to VMMath.
31761 (cos(double)): Changed to link to VMMath.
31762 (tan(double)): Changed to link to VMMath.
31763 (asin(double)): Changed to link to VMMath.
31764 (acos(double)): Changed to link to VMMath.
31765 (atan(double)): Changed to link to VMMath.
31766 (atan2(double)): Changed to link to VMMath.
31767 (exp(double)): Changed to link to VMMath.
31768 (log(double)): Changed to link to VMMath.
31769 (sqrt(double)): Changed to link to VMMath.
31770 (pow(double,double)): Changed to link to VMMath.
31771 (IEEEremainder(double,double)): Changed to link to VMMath.
31772 (ceil(double)): Changed to link to VMMath.
31773 (floor(double)): Changed to link to VMMath.
31774 (rint(double)): Changed to link to VMMath.
31775 * native/jni/java-lang/Makefile.am:
31776 Replaced java_lang_Math.c with java_lang_VMMath.c
31777 * native/jni/java-lang/java_lang_Math.c:
31779 * native/jni/java-lang/java_lang_VMMath.c:
31780 Renamed from java_lang_Math.c.
31781 * vm/reference/java/lang/VMMath.java:
31783 (sin(double)): New native method.
31784 (cos(double)): New native method.
31785 (tan(double)): New native method.
31786 (asin(double)): New native method.
31787 (acos(double)): New native method.
31788 (atan(double)): New native method.
31789 (atan2(double)): New native method.
31790 (exp(double)): New native method.
31791 (log(double)): New native method.
31792 (sqrt(double)): New native method.
31793 (pow(double,double)): New native method.
31794 (IEEEremainder(double,double)): New native method.
31795 (ceil(double)): New native method.
31796 (floor(double)): New native method.
31797 (rint(double)): New native method.
31799 2006-02-13 Lillian Angel <langel@redhat.com>
31801 * java/awt/Component.java
31802 (repaint): No need to call isShowing, it is done in the other repaint call.
31803 (repaint): Likewise.
31804 (repaint): Likewise.
31806 2006-02-13 Lillian Angel <langel@redhat.com>
31808 * java/awt/Component.java
31809 (repaint): Reverted last change.
31810 (repaint): Likewise.
31811 (repaint): Likewise.
31813 2006-02-13 Lillian Angel <langel@redhat.com>
31815 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31816 (handleEvent): Made more efficent by handling paint event and
31817 setting the clip for the graphics.
31818 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31819 (handleEvent): Likewise.
31820 * java/awt/Component.java
31821 (repaint): No need to call isShowing, it is done in the other repaint call.
31822 (repaint): Likewise.
31823 (repaint): Likewise.
31825 2006-02-13 Roman Kennke <kennke@aicas.com>
31827 * javax/swing/text/AbstractDocument.java
31828 (setParent): Added API docs. Call setParent(null) on children before
31829 disconnecting this view from the View hierarchy.
31831 2006-02-13 Roman Kennke <kennke@aicas.com>
31833 * javax/swing/text/AbstractDocument.java
31834 (readUnlock): Don't attempt to unlock when the current threads also
31835 holds a write lock.
31837 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31839 * javax/swing/plaf/metal/MetalBorders.java
31840 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31841 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31843 (Flush3DBorder.borderInsets): New field,
31844 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31845 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31846 null insets argument, and populate result from borderInsets,
31847 (PaletteBorder.borderInsets): New field,
31848 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31849 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31850 null insets argument, and populate result from borderInsets,
31851 (InternalFrameBorder.borderInsets): New field,
31852 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31854 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31855 for null insets argument, and populate result from borderInsets,
31856 (MenuItemBorder.borderInsets): Initialise to correct value.
31858 2006-02-13 Roman Kennke <kennke@aicas.com>
31860 * javax/swing/text/AsyncBoxView.java: New file.
31862 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31865 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31866 was moved to a new method parseCharClass.
31867 (parseCharClass): New method originally in initialize. Added parsing
31868 of nested character classes.
31869 (ParseCharClassResult): New inner class used as a return value of
31871 (getCharExpression),(getNamedProperty): Made static.
31872 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31873 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31874 nested character classes.
31875 (RETokenOneOf): New constructor accepting the Vector addition.
31876 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31877 stands for only one character.
31878 (match): Added the processing of the Vector addition.
31879 (matchN), (matchP): Do not check next token if addition is used.
31881 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31883 * AUTHORS: add self.
31885 2006-02-12 Tom Tromey <tromey@redhat.com>
31887 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31888 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31889 (securityContext): Likewise.
31892 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31896 * gnu/java/net/protocol/file/Connection.java (unquote):
31897 Convert Unicode characters outside basic plane to UTF-8,
31898 rather than throwing an exception.
31900 2006-02-12 Tom Tromey <tromey@redhat.com>
31902 * javax/sound/sampled/LineEvent.java (readObject): New method.
31903 (writeObject): Likewise.
31904 (serialVersionUID): New field.
31906 2006-02-12 Mark Wielaard <mark@klomp.org>
31908 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31909 Silently ignores null listener.
31910 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31911 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31912 array for null propertyName.
31914 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31916 * java/rmi/MarshalledObject.java: Added api docs to the class.
31917 * java/rmi/Remote.java: Added interface api docs.
31918 * java/rmi/package.html: Added package description.
31919 * java/rmi/AccessException.java: Minor api doc fixes.
31920 * java/rmi/NoSuchObjectException.java: Likewise.
31921 * java/rmi/AlreadyBoundException.java: Likewise.
31922 * java/rmi/RemoteException.java: Likewise.
31923 * java/rmi/NotBoundException.java: Likewise.
31924 * java/rmi/RMISecurityException.java: Likewise.
31925 * java/rmi/StubNotFoundException.java: Likewise.
31927 2006-02-12 Mark Wielaard <mark@klomp.org>
31929 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31930 q() to get EventQueue.
31931 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31932 (enableQueue): Remove static method.
31933 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31934 Don't call GtkGenericPeer.enableQueue().
31936 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31938 * java/rmi/MarshalledObject.java: Reformatted.
31939 * java/rmi/Naming.java: Likewise.
31941 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31943 * java/io/InputStream.java
31944 (read(byte[],int,int)): Changed argument validation to prevent
31945 integer overflow. Remove redundant check.
31947 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31950 * java/io/InputStreamReader.java
31951 (InputStreamReader(InputStream)): Use SystemProperties.
31952 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31953 Throw NullPointerException if in is null.
31954 Added maxBytesPerChar initialisation.
31955 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31956 Throw NullPointerException if in is null.
31958 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31960 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31961 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31962 (GnuDHPublicKey): New constructor.
31963 (getEncoded): Removed.
31964 (valueOf): Added support for ASN.1 encoding.
31965 (getEncoded(int)): Likewise.
31966 (equals): New method.
31967 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31968 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31969 (GnuDHPrivateKey(5)): New constructor.
31970 (getEncoded): Removed.
31971 (valueOf): Added support for ASN.1 encoding.
31972 (getEncoded(int)): Likewise.
31973 (equals): New method.
31974 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31975 (PREFERRED_ENCODING_FORMAT): New constant.
31976 (DEFAULT_ENCODING_FORMAT): Likewise.
31977 (preferredFormat): New field.
31978 (setup): Handle preferred encoding format identifier.
31979 (generate): Call constructors with format identifier.
31980 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31981 (GnuDHKey): Added an int argument.
31982 (getEncoded): New method.
31983 (getFormat): New implementation.
31984 (getEncoded(int)): New abstract method.
31985 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31986 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31987 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31988 key-pair generator and key-factory.
31989 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31990 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31991 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31992 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31993 (invokeConstructor): New method.
31994 (getConcreteClass): Likewise.
31995 (getConcreteCtor): Likewise.
31996 (invokeValueOf): Likewise.
31997 (getValueOfMethod): Likewise.
31998 (engineGeneratePublic): Add support for DH keys.
31999 (engineGeneratePrivate): Likewise.
32000 (decodeDHPublicKey(DHPublicKeySpec)): New method.
32001 (decodeDHPublicKey(byte[])): Likewise.
32002 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
32003 (decodeDHPrivateKey(byte[])): Likewise.
32005 2006-02-11 Mark Wielaard <mark@klomp.org>
32007 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
32009 (repaint): Immediately post to queue when tm <= 0, otherwise call
32010 RepaintTimerTask.schedule().
32011 (RepaintTimerTask): Make static.
32012 (RepaintTimerTask.repaintTimer): New static final field.
32013 (RepaintTimerTask.awtComponent): New field.
32014 (schedule): New static method.
32016 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32018 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
32019 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
32020 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32021 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32022 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
32024 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
32026 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
32028 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32029 (engineGeneratePublic): Added support for raw key-specifications.
32030 (engineGeneratePrivate): Likewise.
32031 (decodeDSSPublicKey): New method.
32032 (decodeRSAPublicKey): Likewise.
32033 (decodeDSSPrivateKey): Likewise.
32034 (decodeRSAPrivateKey): Likewise.
32035 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32036 (encodePrivateKey): Throw InvalidParameterException.
32037 (decodePublicKey): Likewise.
32038 (decodePrivateKey): Likewise.
32039 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32040 (encodePublicKey): Likewise.
32041 (encodePrivateKey): Likewise.
32042 (decodePublicKey): Likewise.
32043 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32044 (encodePrivateKey): Likewise.
32045 (decodePublicKey): Likewise.
32046 (decodePrivateKey): Likewise.
32047 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32048 (encodePublicKey): Likewise.
32049 (encodePrivateKey): Likewise.
32050 (decodePublicKey): Likewise.
32052 2006-02-10 Roman Kennke <kennke@aicas.com>
32054 * javax/swing/text/StyleContext.java
32055 (registerStaticAttributeKey): New static method.
32057 2006-02-10 Roman Kennke <kennke@aicas.com>
32059 * javax/swing/text/DefaultStyledDocument.java
32060 (ElementBuffer.clone): New method.
32062 2006-02-10 Roman Kennke <kennke@aicas.com>
32064 * javax/swing/text/ParagraphView.java
32065 (findOffsetToCharactersInString): New method.
32066 (getClosestPositionTo): New method.
32067 (getPartialSize): New method.
32068 (getTabBase): New method.
32069 (adjustRow): New method.
32070 (breakView): New method.
32071 (getBreakWeight): New method.
32073 2006-02-10 Roman Kennke <kennke@aicas.com>
32075 * javax/swing/text/GapContent.java
32076 (updateUndoPositions): New method.
32077 * javax/swing/text/StringContent.java
32078 (updateUndoPositions): New method.
32080 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
32082 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32084 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32085 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32086 Added support for encoded key specifications.
32087 (engineGeneratePrivate): Likewise.
32088 (engineGetKeySpec): Likewise.
32089 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32091 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32093 * javax/swing/text/Utilities.java:
32094 (getTabbedTextOffset): Fixed usage of variable p0.
32095 (getPositionAbove): Rewritten.
32096 (getPositionBelow): Rewritten.
32098 2006-02-09 Roman Kennke <kennke@aicas.com>
32100 * javax/swing/text/BoxView.java
32101 (getAxis): Added @since tag.
32102 (setAxis): Added @since tag.
32103 (layoutChanged): Added @since tag.
32104 (isLayoutValid): Added @since tag.
32105 (paint): Don't call setSize here. This is done in RootView already.
32106 (getMaximumSpan): Reimplemented to return the requirements'
32107 maximum size. Added API docs.
32108 (getMinimumSpan): New method.
32109 (layout): Fixed layout order.
32110 (modelToView): Call layout instead of setSize here.
32111 (getResizeWeight): New method.
32112 (getChildAllocation): New method.
32113 (forwardUpdate): New method.
32114 (viewToModel): New method.
32115 (flipEastEndWestEnds): New method.
32116 * javax/swing/text/CompositeView.java
32117 (modelToView): Made this method more robust by returning a default
32118 location if it's not possible to calculate one via the children.
32119 This default location returns the left or right edge of this
32121 (createDefaultLocation): New helper method.
32122 * javax/swing/text/IconView.java
32123 (modelToView): Don't throw BadLocationException. This should
32124 really only be thrown if the position is outside the document
32125 model, not if it's outside the view's boundary.
32127 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32129 * tools/Makefile.am: Handle rmi and giop folders separately.
32131 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32133 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32134 * javax/swing/SpinnerNumberModel.java: Likewise.
32136 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32138 * javax/swing/SpinnerDateModel.java: Removed tabs,
32139 * javax/swing/SpinnerNumberModel.java: Likewise.
32141 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32143 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32144 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32146 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32149 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32150 (isRedirect): Removed, moved to Response.java.
32151 (connect): If error condition redirect responseSink to errorSink.
32152 (getInputStream): If error condition throw IOException, for the error
32153 codes 404 and 410 throw a FileNotFoundException.
32154 * gnu/java/net/protocol/http/Response.java (isError): New method.
32155 (isRedirect): New method, moved from HTTPURLConnection.java.
32157 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32159 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32160 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32161 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32163 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32165 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32166 AbstractMethodGenerator.
32167 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32168 tools/gnu/classpath/tools/rmi/RMIC.java,
32169 tools/gnu/classpath/tools/rmi/RMIC.txt,
32170 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32171 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32172 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32173 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32174 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32175 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32177 * NEWS: Corrected entry about the tools.
32179 2006-02-09 Lillian Angel <langel@redhat.com>
32181 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32182 (handleEvent): Added more to check to prevent assertion errors.
32183 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32184 (handleEvent): Likewise.
32185 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32186 (handleEvent): Likewise.
32188 2006-02-09 Mark Wielaard <mark@klomp.org>
32190 * javax/swing/JTable.java (tableChanged): Interpret null event as
32191 "everything changed".
32193 2006-02-09 Roman Kennke <kennke@aicas.com>
32195 * javax/swing/text/DefaultCaret.java
32196 (DocumentHandler.removeUpdate): When update policy is
32197 'on eventqueue', and the update doesn't come from the
32198 event queue, check if the current dot location is still
32200 (moveDot): Make sure the new dot location is valid.
32201 (setDot): Set the mark the same as the dot.
32203 2006-02-09 Roman Kennke <kennke@aicas.com>
32205 * javax/swing/text/AbstractDocument.java
32206 (remove): Perform all operations within a write lock and in the
32209 2006-02-09 Mark Wielaard <mark@klomp.org>
32211 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32212 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32213 creater than min, adjusting page_size if necessary.
32214 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32216 2006-02-09 Lillian Angel <langel@redhat.com>
32218 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32219 (handleEvent): Added code to handle PaintEvent.UPDATE.
32220 Sun does not call update(Graphics g) on Panels.
32221 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32222 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32223 Sun does not call update(Graphics g) on Panels.
32225 2006-02-09 Roman Kennke <kennke@aicas.com>
32227 * javax/swing/text/BoxView.java
32228 (myAxis): Made field private.
32229 (xLayoutValid): Replaced by layoutValid array.
32230 (yLayoutValid): Replaced by layoutValid array.
32231 (layoutValid): New field.
32232 (spansX): Replaced by spans array.
32233 (spansY): Replaced by spans array.
32234 (spans): New field.
32235 (offsetsX): Replaced by offsets array.
32236 (offsetsY): Replaced by offsets array.
32237 (offsets): New field.
32238 (requirements): New field.
32239 (BoxView): Initialize new fields.
32240 (layoutChanged): Rewritten to use the layoutValid array.
32241 (isLayoutValid): Rewritten to use the layoutValid array.
32242 (replace): Use the new arrays.
32243 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32244 instead of baselineRequirements.
32245 (baselineRequirements): Rewritten to calculate baseline requirements.
32246 (baselineLayout): Rewritten to calculate baseline layout.
32247 (childAllocation): Use new arrays.
32248 (layout): Rewritten. Only update the layout if necessary.
32249 (layoutMajorAxis): Directly set layoutValid.
32250 (layoutMinorAxis): Directly set layoutValid. Use cached size
32252 (getWidth): Use new span array.
32253 (getHeight): Likewise.
32254 (setSize): Rewritten to simply call layout().
32255 (validateLayout): Removed unneeded method.
32256 (getSpan): Use new arrays.
32257 (getOffset): Use new arrays.
32258 (getAlignment): Use cached requirements if possible.
32259 (preferenceChanged): Use new arrays.
32260 * javax/swing/text/FlowView.java
32261 (FlowStrategy.insertUpdate): Do nothing here.
32262 (FlowStrategy.removeUpdate): Do nothing here.
32263 (FlowStrategy.changedUpdate): Do nothing here.
32264 (FlowStrategy.layoutRow): Rewritten.
32265 (FlowStrategy.createView): Rewritten.
32266 (FlowStrategy.adjustRow): New method.
32267 (LogicalView.getViewIndex): Fixed condition for finding child
32269 (layoutDirty): New field indicating the state of the layout.
32270 (FlowView): Initialize new field.
32271 (loadChildren): Set parent on logical view so that preferenceChanges
32272 get propagated upwards.
32273 (layout): Rewritten to match the specs.
32274 (insertUpdate): Set layout to dirty.
32275 (removeUpdate): Set layout to dirty.
32276 (changedUpdate): Set layout to dirty.
32277 * javax/swing/text/GlyphView.java
32278 (getBreakWeight): Rewritten to use the Utilities class. Commented
32279 out though because that is broken.
32280 (insertUpdate): Call preferenceChanged on this object instead of
32282 * javax/swing/text/ParagraphView.java
32283 (Row.loadChildren): Overridden to be a noop to prevent initial
32284 creation of child views. This is carried out by the flow layout.
32285 * javax/swing/text/View.java
32286 (getPreferredSpan): Added API docs.
32287 (getResizeWeight): Added API docs.
32288 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32290 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32291 resizable instead of Integer.MAX_VALUE.
32292 (getAlignment): Added API docs.
32293 (replace): Added API docs.
32294 (forwardUpdate): Rewritten to only notify child views that need to
32297 2006-02-09 Roman Kennke <kennke@aicas.com>
32299 * javax/swing/plaf/basic/BasicTextUI.java
32300 (RootView.paint): Call setSize() before painting the view.
32302 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32305 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32306 flag which enables backslash escape in a replacement.
32307 (getReplacement): New public static method.
32308 (substituteImpl),(substituteAllImpl): Use getReplacement.
32309 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32310 * java/util/regex/Matcher.java(appendReplacement)
32311 Use RE#getReplacement.
32312 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32314 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32316 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32317 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32318 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32319 (PREFERRED_ENCODING_FORMAT): New constant.
32320 (DEFAULT_ENCODING_FORMAT): Likewise.
32321 (preferredFormat): New field.
32322 (setup): Add support for preferred encoding format.
32323 (generate): Call key constructors with explicit format identifier.
32324 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32325 Call constructor with 3 arguments..
32326 (GnuRSAPublicKey(3)): New constructor.
32327 (valueOf): Added support for ASN.1 format.
32328 (getEncoded): Likewise.
32329 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32330 Call constructor with 5 arguments.
32331 (GnuRSAPrivateKey(5)): New constructor.
32332 (GnuRSAPrivateKey(9)): New constructor.
32333 (valueOf): Added support for ASN.1 format.
32334 (getEncoded): Likewise.
32335 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32336 (GnuRSAKey): Modified constructor.
32337 (getFormat): Return preferred format identifier.
32338 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32339 (decodePrivateKey): Fixed documentation.
32340 Check Version field.
32341 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32342 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32344 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32345 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32346 (engineGeneratePublic): Added support for RSA.
32347 (engineGeneratePrivate): Likewise.
32349 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32351 * java/net/URLConnection.java:
32352 (setAllowUserInteraction): Throw IllegalStateException if connected.
32353 (getRequestProperty): Document return value if key is null.
32354 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32355 (getRequestProperty): Return null if key is null.
32356 (getRequestProperties): Throw IllegalStateException if connected.
32357 (setRequestProperty): Call super method for exception tests.
32358 (addRequestProperty): Likewise.
32360 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32362 * gnu/java/net/protocol/http/Request.java:
32363 (Request): Remove initialization of removed field.
32364 (requestBodyNegotiationThreshold): Removed now unused field.
32365 (setRequestBodyNegotiationThreshold): Remove now unused method.
32366 (dispatch): Do not use 'Expect 100-continue' header if content-length
32367 is over a treshold. If user specified 'Expect 100-continue' still
32368 initialize the expectingContinue variable.
32370 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32372 * javax/swing/SpinnerNumberModel.java
32373 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32374 maximum and minimum to take null values,
32375 (setValue): Only fire ChangeEvent if new value is different to old
32377 (setMinimum): Fixed test for updating value,
32378 (setMaximum): Likewise,
32379 (setStepSize): Likewise.
32381 2006-02-08 Tom Tromey <tromey@redhat.com>
32383 * tools/.cvsignore: Added Makefile.in.
32385 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32387 * java/rmi/server/RemoteRef.java,
32388 java/rmi/server/RemoteStub.java: Commented.
32390 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32392 * javax/swing/SpinnerDateModel.java
32393 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32395 (getPreviousValue): Check result against start, not end,
32396 (setValue): Check that value actually changes before firing
32399 2006-02-08 Lillian Angel <langel@redhat.com>
32401 * java/awt/Choice.java
32402 (select): Fixed up code, added some checks to prevent errors.
32403 (dispatchEventImpl): Removed. This function is not needed. It
32404 causes several assertion errors.
32406 2006-02-08 Roman Kennke <kennke@aicas.com>
32408 * javax/swing/text/PlainView.java
32409 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32410 drawing unnecessary characters.
32412 2006-02-08 Lillian Angel <langel@redhat.com>
32414 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32415 (handleEvent): Fixed check to determine if height or
32416 width is less than 1.
32418 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32420 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32422 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32424 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32425 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32426 Documenting the code generator.
32427 * gnu/CORBA/IOR.java (toStringFormatted,
32428 CodeSet_component.toStringFormatted): New methods.
32429 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32430 * tools/gnu/classpath/tools/giop/README: Rewritten.
32431 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32432 (printHelpAndExit): Removed.
32433 *tools/gnu/classpath/tools/giop/IorParser.java,
32434 tools/gnu/classpath/tools/giop/IorParser.txt,
32435 tools/gnu/classpath/tools/giop/NameService.java,
32436 tools/gnu/classpath/tools/giop/NamingService.txt,
32437 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32438 NEWS: Added note about GIOP tools.
32440 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32442 * .classpath: New source patch (tools).
32443 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32444 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32445 * tools/gnu/classpath/tools/Makefile.am,
32446 tools/gnu/classpath/tools/giop/GRMIC.java
32447 tools/gnu/classpath/tools/giop/GRMIC.txt,
32448 tools/gnu/classpath/tools/giop/README,
32449 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32450 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32451 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32452 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32453 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32454 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32455 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32456 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32457 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32458 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32459 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32460 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32462 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32464 * java/awt/BasicStroke.java: Updated API docs all over,
32465 * java/awt/doc-files/capjoin.png: New file.
32467 2006-02-07 Lillian Angel <langel@redhat.com>
32469 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32470 (handleEvent): Added check. Should not paint or update the
32471 component if it's width and height are both 0.
32473 2006-02-07 Roman Kennke <kennke@aicas.com>
32475 * javax/swing/text/AbstractDocument.java
32476 (insertString): Enclose locking/unlocking in try-finally block
32477 and also keep locked while notifying the listeners.
32479 2006-02-07 Roman Kennke <kennke@aicas.com>
32481 * javax/swing/text/GlyphView.java
32482 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32484 (getStartOffset): Return element boundary if startOffset < 0.
32485 (getEndOffset): Return element boundary if endOffset < 0.
32486 (createFragment): Set startOffset and endOffset fields of fragment
32487 if one of p0 or p1 is not at the element boundary.
32489 2006-02-07 Roman Kennke <kennke@aicas.com>
32491 * javax/swing/CellRendererPane.java
32492 (paintComponent): Enclosed painting in try finally to properly
32493 clean up even when throwing an exception.
32495 2006-02-07 Roman Kennke <kennke@aicas.com>
32497 * javax/swing/UIManager.java
32498 (listeners): Made this an instance of
32499 java.beans.PropertyChangeSupport instead of the obsoleted
32500 SwingPropertyChangeSupport.
32502 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32504 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32505 of actions "delete-next" and "delete-previous", added new TextAction
32506 implementations for "selection-begin", "selection-begin-line",
32507 "selection-end" and "selection-end-line".
32509 2006-02-07 Roman Kennke <kennke@aicas.com>
32511 * javax/swing/plaf/basic/BasicTextUI.java
32512 (paint): Acquire read lock on the document before calling
32514 (paintSafely): Added comment about what this method does.
32515 (paintBackground): Implemented to actually paint the background.
32516 (update): Overridden to _not_ paint the background. This is done
32517 in paintBackground in this UI.
32519 2006-02-07 Roman Kennke <kennke@aicas.com>
32521 * javax/swing/text/View.java
32522 (forwardUpdate): Don't notify newly added child views as specified.
32524 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32526 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32528 2006-02-07 Roman Kennke <kennke@aicas.com>
32530 * javax/swing/text/DefaultStyledDocument.java
32531 (ElementBuffer.insert): Only register change when the element
32534 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32536 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32538 (getEncodingShortName): Likewise.
32539 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32540 (PKCS8_FORMAT): Likewise.
32541 (ASN1_FORMAT): Likewise.
32542 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32543 constructor with 5 arguments.
32544 (DSSPublicKey(5)): New constructor.
32545 (valueOf): Handle ASN.1 encoding.
32546 (getEncoded): Likewise.
32547 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32548 constructor with 5 arguments.
32549 (DSSPrivateKey(5)): New constructor.
32550 (valueOf): Handle ASN.1 encoding.
32551 (getEncoded): Likewise.
32552 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32553 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32554 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32555 (PREFERRED_ENCODING_FORMAT): New constant.
32556 (DEFAULT_ENCODING_FORMAT): Likewise.
32557 (preferredFormat): New field.
32558 (setup): Handle preferred format ID.
32559 (generate): Use new ctors with 5 arguments.
32560 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32561 ID as an additional argument.
32562 (defaultFormat): new field.
32563 (getFormat): Returns the preferred format as a short string.
32564 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32565 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32567 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32568 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32570 (initialize(int,boolean,SecureRandom)): Likewise.
32571 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32572 writeLength() instead of write().
32573 return buf.length + 1 instead of buf.length.
32575 2006-02-07 Roman Kennke <kennke@aicas.com>
32577 * javax/swing/plaf/basic/BasicTextUI.java
32578 (RootView.preferenceChange): Changed view parameter to view so
32579 that it doesn't hide a field of that class.
32580 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32581 (RootView.modelToView): Removed unnecessary cast from View to View.
32582 (PropertyChangeHandler): Made inner class private.
32583 (updateHandler): Made field private.
32584 (getVisibleEditorRect): Removed unneeded local variable that
32585 shadowed a field with the same name and purpose.
32587 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32589 * javax/swing/text/JTextComponent.java:
32590 (getSelectedText): Calculate offset and use that as
32593 2006-02-07 Roman Kennke <kennke@aicas.com>
32595 * javax/swing/JTextPane.java
32596 (setCharacterAttributes): Replace input attributes when
32599 2006-02-07 Roman Kennke <kennke@aicas.com>
32601 * java/awt/Component.java
32602 (firePropertyChange(String,byte,byte)): Made method public.
32603 (firePropertyChange(String,char,char)): Made method public.
32604 (firePropertyChange(String,short,short)): Made method public.
32605 (firePropertyChange(String,long,long)): Made method public.
32606 (firePropertyChange(String,float,float)): Made method public.
32607 (firePropertyChange(String,double,double)): Made method public.
32609 2006-02-06 Tom Tromey <tromey@redhat.com>
32611 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32613 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32615 2006-02-06 Anthony Green <green@redhat.com>
32617 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32619 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32621 * .settings/org.eclipse.jdt.core.prefs:
32622 Force a line split on extends and implements.
32623 Force a white-space after unary operators.
32624 Don't force a new-line after @params.
32625 Add new-line at end-of-file.
32626 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32628 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32630 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32632 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32634 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32636 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32638 * gnu/java/security/provider/EncodedKeyFactory.java
32639 (ID_DSA): Redefined in terms of Registry constant.
32640 (ID_DSA): Redefined in terms of Registry constant.
32641 (ID_DH): Redefined in terms of Registry constant.
32642 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32643 (PKCS8_ENCODING): Likewise.
32644 (ASN1_ENCODING): Likewise.
32645 (RAW_ENCODING_SHORT_NAME): Likewise.
32646 (X509_ENCODING_SORT_NAME): Likewise.
32647 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32648 (ASN1_ENCODING_SHORT_NAME): Likewise.
32649 (X509_ENCODING_ID): Likewise.
32650 (PKCS8_ENCODING_ID): Likewise.
32651 (ASN1_ENCODING_ID): Likewise.
32652 (DSA_OID_STRING): Likewise.
32653 (RSA_OID_STRING): Likewise.
32654 (DH_OID_STRING): Likewise.
32656 2006-02-06 Roman Kennke <kennke@aicas.com>
32658 * javax/swing/text/GlyphView.java:
32659 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32660 Only fill background if there is a background set on the view.
32661 Call Utilities.drawTabbedText with the baseline height, rather than
32662 the upper left corner of the view rectangle.
32663 (getBackground): Return null if no background is set.
32664 * javax/swing/text/GlyphView.java:
32665 (setPropertiesFromAttributes): Use null for background when no
32666 background is set. StyleConstants.getBackground() doesn't work
32667 for this, because it returns Color.BLACK in that case.
32669 2006-02-06 Roman Kennke <kennke@aicas.com>
32671 * java/awt/Container.java
32672 (changeSupport): Removed duplicate (from Component) field.
32673 (addPropertyChangeListener): Call super.
32675 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32677 * java/util/regex/Matcher.java(matches):
32678 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32680 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32683 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32684 * gnu/regexp/CharIndexedCharArray.java
32685 (lookBehind),(length): Implemented.
32686 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32687 * gnu/regexp/CharIndexedString.java: Likewise.
32688 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32689 * gnu/regexp/REToken.java(getMaximumLength): New method.
32690 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32692 (initialize): Parse (?<=X), (?<!X), (?>X).
32693 (getMaximumLength): Implemented.
32694 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32695 * gnu/regexp/RETokenChar.java: Likewise.
32696 * gnu/regexp/RETokenEnd.java: Likewise.
32697 * gnu/regexp/RETokenEndSub.java: Likewise.
32698 * gnu/regexp/RETokenLookAhead.java: Likewise.
32699 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32700 * gnu/regexp/RETokenOneOf.java: Likewise.
32701 * gnu/regexp/RETokenPOSIX.java: Likewise.
32702 * gnu/regexp/RETokenRange.java: Likewise.
32703 * gnu/regexp/RETokenRepeated.java: Likewise.
32704 * gnu/regexp/RETokenStart.java: Likewise.
32705 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32706 * gnu/regexp/RETokenIndependent.java: New file.
32707 * gnu/regexp/RETokenLookBehind.java: New file.
32709 2006-02-06 Roman Kennke <kennke@aicas.com>
32711 * java/awt/Component.java
32712 (firePropertyChange(String,byte,byte)): New method.
32713 (firePropertyChange(String,char,char)): New method.
32714 (firePropertyChange(String,short,short)): New method.
32715 (firePropertyChange(String,long,long)): New method.
32716 (firePropertyChange(String,float,float)): New method.
32717 (firePropertyChange(String,double,double)): New method.
32719 2006-02-06 Roman Kennke <kennke@aicas.com>
32721 * javax/swing/JComponent.java
32722 (AccessibleJComponent.changeSupport): Changed to be a
32723 java.beans.PropertyChangeSupport rather than
32724 SwingPropertyChangeSupport.
32725 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32727 (changeSupport): Removed unneeded field.
32728 (removePropertyChangeListener): Removed unneeded methods.
32729 (addPropertyChangeListener): Removed unneeded methods.
32730 (getPropertyChangeListeners): Removed unneeded methods.
32731 (firePropertyChange(String,boolean,boolean)): Changed to simply
32732 call super. Added specnote.
32733 (firePropertyChange(String,char,char)): Changed to simply
32734 call super. Added specnote.
32735 (firePropertyChange(String,int,int)): Changed to simply
32736 call super. Added specnote.
32737 (firePropertyChange(String,byte,byte)): Removed.
32738 (firePropertyChange(String,Object,Object)): Removed.
32739 (firePropertyChange(String,double,double)): Removed.
32740 (firePropertyChange(String,float,float)): Removed.
32741 (firePropertyChange(String,long,long)): Removed.
32742 (firePropertyChange(String,short,short)): Removed.
32744 2006-02-06 Roman Kennke <kennke@aicas.com>
32746 * javax/swing/event/SwingPropertyChangeSupport.java
32747 (listeners): Removed field.
32748 (propertyListeners): Removed field.
32749 (source): Removed field.
32750 (SwingPropertyChangeSupport()): Removed initialization of removed
32752 (addPropertyChangeListener): Removed methods.
32753 (removePropertyChangeListener): Removed methods.
32754 (getPropertyChangeListeners): Removed methods.
32755 (firePropertyChange): Removed methods.
32756 (hasListeners): Removed methods.
32758 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32761 * java/net/InetAddress.java
32762 (readResolve): Implemented.
32764 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32767 * java/io/ObjectInputStream.java
32768 (readNextBlock()): Handle TC_RESET.
32770 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32772 * javax/print/attribute/standard/Compression.java,
32773 * javax/print/attribute/standard/Finishings.java,
32774 * javax/print/attribute/standard/JobMediaSheets.java,
32775 * javax/print/attribute/standard/JobSheets.java,
32776 * javax/print/attribute/standard/JobState.java,
32777 * javax/print/attribute/standard/JobStateReason.java,
32778 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32779 * javax/print/attribute/standard/PrintQuality.java,
32780 * javax/print/attribute/standard/Media.java,
32781 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32782 * javax/print/attribute/standard/PrinterStateReason.java,
32783 * javax/print/attribute/standard/PDLOverrideSupported.java:
32784 (getName): Make method final.
32785 (getCategory): Likewise.
32786 * javax/print/attribute/standard/MediaSize.java:
32787 (getName): Make method final.
32788 (getCategory): Likewise.
32789 (ISO): Added private default constructor.
32793 (Engineering): Likewise.
32795 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32797 * native/jni/java-net/javanet.c (_javanet_connect):
32798 Throw ConnectException instead of IOException if connection failed.
32799 * native/jni/java-net/javanet.h:
32800 Add a define for java.net.ConnectException
32802 2006-02-05 Mark Wielaard <mark@klomp.org>
32805 reported by Egon Willighagen <egon.willighagen@gmail.com>
32806 * javax/swing/DefaultListCellRenderer.java
32807 (getListCellRendererComponent): Turn null value into empty string.
32809 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32811 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32812 a Unicode block if the name starts with "In".
32813 (UnicodeBlockHandler): New inner class.
32815 2006-02-04 Roman Kennke <kennke@aicas.com>
32817 * java/awt/Container.java
32818 (getComponentZOrder): New method.
32819 (setComponentZOrder): New method.
32820 * javax/swing/JLayeredPane.java
32821 (setPosition): Reimplemented to use setComponentZOrder().
32822 (getIndexOf): Reimplemented to use getComponentZOrder().
32823 (addImpl): Pass layerContraint to super call. Important for possibly
32824 installed layout managers.
32825 (swapComponents): Remove unneeded method.
32827 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32829 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32830 DSAKeyPairGenerator.
32831 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32832 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32834 Surround call to adaptee in a try/catch.
32835 (initialize((DSAParams,SecureRandom)): New method.
32836 (initialize(int,boolean,SecureRandom)): New method.
32837 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32838 KeyPairGenerator rather than KeyPairGeneratorSpi.
32839 (KeyPairGeneratorAdapter): Call super with algorithm name.
32841 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32843 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32844 (getDefaultPRNG): New method.
32845 (parseO): Use method above.
32846 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32847 (getDefaultPRNG): New method.
32848 (createO): Use method above.
32849 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32850 (nextByte): Use above field.
32851 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32852 * gnu/java/security/sig/rsa/RSA.java: New class field.
32853 (newR): Use above field
32854 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32855 (encode): Use field.above.
32856 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32857 (getDefaultPRNG): new method.
32858 (nextRandomBytes): Use above method.
32859 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32860 * gnu/java/security/sig/BaseSignature.java: Likewise.
32861 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32862 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32863 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32864 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32865 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32866 (getDefaultPRNG): new method.
32867 (nextRandomBytes): Use above method.
32868 (STRICT_DEFAULTS): new class field.
32869 (USE_DEFAULTS): more documentation to clarify behavior.
32870 (setup): amended to handle new attribute.
32871 * gnu/java/security/util/PRNG.java: New file.
32873 2006-02-03 Lillian Angel <langel@redhat.com>
32875 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32876 chooser field should be protected, not package-private.
32878 2006-02-03 Lillian Angel <langel@redhat.com>
32880 * javax/swing/text/DefaultStyledDocument.java
32881 (changeUpdate): Cleaned up code.
32883 (insertUpdate): Set offset to be equal to pos after
32884 insertContentTag call.
32885 (insertContentTag): If paragraph has no children, should use
32886 replace instead of Edit.
32887 (insertFracture): Moved around code to prevent any exception. Also,
32888 left side of tree should not be recreated if it has already been
32889 edited. In that case, we should only be creating a new right branch
32891 (getEditForParagraphAndIndex): No need to check index. We should
32892 use the same edit for each paragraph.
32894 2006-02-03 Mark Wielaard <mark@klomp.org>
32896 * javax/swing/event/SwingPropertyChangeSupport.java
32897 (propertyListeners): Change type to HashMap.
32898 (SwingPropertyChangeSupport): Allocate HashMap.
32900 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32902 * java/security/KeyPairGenerator.java (getInstance): Test for
32903 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32905 2006-02-02 Roman Kennke <kennke@aicas.com>
32907 * javax/swing/RepaintManager.java
32908 Made fields private.
32909 (RepaintWorker.run): Enclosed work stuff in try finally block in
32910 order to clean up correctly if invalidation or painting fails,
32911 otherwise we would get no more RepaintWorkers onto the EventQueue.
32912 Also, now the RepaintWorker is marked 'dead' only after it has
32913 finished its work, avoid more than one RepaintWorker on the queue.
32914 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32915 instead of hierarchy depths.
32916 (workDirtyComponents): Removed unused field.
32917 (repaintOrder): Removed unused field.
32918 (workRepaintOrder): Removed unused field.
32919 (workInvalidComponents): Removed unused field.
32920 (RepaintManager()): Removed initialization of removed fields.
32921 (addInvalidComponent): Fine tuned synchronization.
32922 (removeInvalidComponent): Fine tune synchronization.
32923 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32924 synchronization. Don't manager repaintOrder here.
32925 (insertRepaintOrder): Removed method.
32926 (markCompletelyClean): Fine tuned synchronization.
32927 (validateInvalidComponents): Dont use a working copy of the
32928 invalidComponents list, instead fine tuned synchronization on this
32929 list. Also, don't search validateRoot, this is already done in
32930 addInvalidComponent().
32931 (paintDirtyRegions): Compute repaint order here, based on size of
32932 damaged regions. Fine tuned synchronization. Avoid use of working
32933 copies of dirtyComponent.
32935 2006-02-02 Lillian Angel <langel@redhat.com>
32937 * javax/swing/text/DefaultStyledDocument.java
32938 (insertUpdate): JoinNextDirection should push the
32939 'next' paragraph on the stack.
32941 2006-02-02 Lillian Angel <langel@redhat.com>
32943 * javax/swing/text/DefaultStyledDocument.java
32944 (insertUpdate): Rewrote code for Originate. This prevents
32945 leaves being created multiple times. If it is on the last
32946 ElementSpec, the leaves need to be created right then;
32947 otherwise, only a branch is created.
32948 (insertContentTag): Rewrote to add new leaf directly if
32949 this is a branch with no children. Otherwise, it
32950 recreates the remainder of the tree as before.
32952 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32954 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32955 for making a list of REMatch instances.
32956 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32957 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32958 (match): Rewritten using REMatchList.
32959 (matchRest): Rewritten using REMatchList.
32961 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32963 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32964 (friendsMove): Call repaint() only after endOfGame is assigned.
32966 2006-02-02 Mark Wielaard <mark@klomp.org>
32968 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32969 * java/util/AbstractCollection.java (toString): Only use Iterator,
32970 check whether collection contains itself.
32972 2006-02-01 Casey Marshall <csm@gnu.org>
32974 Partial fix for PR classpath/25143.
32975 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32976 (<init>): fill in `algName,' derive `algOid' from `algName.'
32977 (getOid): new method.
32978 (encode): embed NULL value for parameters if `params' is `null.'
32980 2006-02-01 Casey Marshall <csm@gnu.org>
32982 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32983 <monoman@gmail.com>.
32984 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32985 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32987 2006-02-01 Casey Marshall <csm@gnu.org>
32989 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32990 * gnu/java/security/der/DERValue.java
32991 (getLength, getEncoded, getEncodedLength): throw an exception,
32992 don't initialize `encoded' to a bogus value.
32993 (toString): return a more helpful string.
32995 Partial fix for PR classpath/25144.
32996 * gnu/java/security/der/DERWriter.java (write): if the value is
32997 the pseudo-value used for CONSTRUCTED, write the encoded value
33000 2006-02-01 Tom Tromey <tromey@redhat.com>
33002 * java/security/Security.java (loadProviders): Use system class
33005 2006-02-01 Mark Wielaard <mark@klomp.org>
33007 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
33008 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
33009 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
33010 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
33011 (UnicodeCategoriesHandler): New private static class.
33013 2006-02-01 Lillian Angel <langel@redhat.com>
33015 * javax/swing/text/DefaultStyledDocument.java:
33016 Removed unneeded fields.
33017 (insertUpdate): Removed field initialization.
33018 (insertContentTag): Rewrote part of function. Still
33021 2006-02-01 Lillian Angel <langel@redhat.com>
33023 * javax/swing/text/DefaultStyledDocument.java
33024 (insertParagraph): Cleaned up code.
33025 (insertFirstContentTag): Fixed call to recreateLeaves.
33026 (insertContentTag): Added check to code to determine where
33027 content should be inserted with respect to next element.
33028 (createFracture): Removed check, recreateLeaves is called in
33029 other places when needed.
33030 (recreateLeaves): Added new parameter for paragraph instead
33031 of checking the stack. Removed editing for newBranch, replaced
33032 with a replace call.
33034 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
33036 * doc/unicode/Blocks-4.0.0.txt: New file.
33037 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
33038 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33039 * scripts/unicode-blocks.pl: Copied this over from the generics branch
33040 but replaced some 1.5-only features (such as enum).
33042 2006-01-31 Roman Kennke <kennke@aicas.com>
33044 * javax/swing/text/PasswordView.java
33045 (drawSelectedText): Use drawEchoCharacter() method to draw echo
33047 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33050 2006-01-31 Roman Kennke <kennke@aicas.com>
33052 * javax/swing/JTextField.java
33053 (getPreferredSize): Also include textfield's insets in width
33056 2006-01-31 Roman Kennke <kennke@aicas.com>
33058 * javax/swing/plaf/basic/BasicTextUI.java
33059 (getPreferredSize): Include the textcomponent's insets in
33062 2006-01-31 Roman Kennke <kennke@aicas.com>
33064 * javax/swing/table/DefaultTableCellRenderer.java
33065 (getTableCellRendererComponent): Moved setting of the value into
33066 setValue(). Removed (bogus) special handling of JTextField values.
33067 (setValue): Made ?: statement more clear by rewriting it
33070 2006-01-31 Roman Kennke <kennke@aicas.com>
33072 * javax/swing/JLayeredPane.java
33073 (insertIndexForLayer): Fixed algorithm to correctly determine
33074 inser index for positions >= 0.
33075 (addImpl): Fixed API docs for the index parameter.
33077 2006-01-31 Mark Wielaard <mark@klomp.org>
33079 * java/net/URI.java (getURIGroup): Check for null to see whether
33080 group actually exists.
33082 2006-01-31 Lillian Angel <langel@redhat.com>
33084 * javax/swing/text/DefaultStyledDocument.java
33085 (changeUpdate): Fixed calls to split to incorporate
33087 (insertParagraph): Likewise. Uses 0 as editIndex
33088 because inserting into a new paragraph.
33089 (insertContentTag): Fixed check to use
33090 recreateLeaves. Added a FIXME comment.
33091 (split): Added a new parameter for edits.
33093 2006-01-31 Roman Kennke <kennke@aicas.com>
33095 * javax/swing/plaf/basic/BasicRootPaneUI.java
33096 (installDefaults): Don't install a background color here.
33098 2006-01-31 Lillian Angel <langel@redhat.com>
33100 * javax/swing/text/DefaultStyledDocument.java
33101 (insert): Removed comment.
33102 (insertUpdate): Added comment.
33103 (recreateLeaves): Removed call to push newBranch onto the
33104 stack. This does not need to be done here.
33106 2006-01-31 Chris Burdess <dog@gnu.org>
33108 * gnu/xml/stream/SAXParser.java,
33109 gnu/xml/stream/UnicodeReader.java,
33110 gnu/xml/stream/XIncludeFilter.java,
33111 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33112 only resolved the system ID not the stream. Make some utility methods
33113 public and static for use by other private XML APIs.
33114 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33115 called without throwing IllegalStateException.
33116 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33119 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33122 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33123 for an invalid index and return null for a skipped group.
33125 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33128 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33129 (NamedProperty): New inner class.
33130 (getNamedProperty): New method.
33131 (getRETokenNamedProperty): New Method.
33132 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33133 * gnu/regexp/RETokenNamedProperty.java: New file.
33135 2006-01-31 Roman Kennke <kennke@aicas.com>
33137 * javax/swing/plaf/PlainView.java
33138 (paint): Call drawLine with baseline coordinates.
33139 (drawLine): Documented and indented this method.
33140 (drawUnselecetedText): Documented and indented this method.
33141 * javax/swing/plaf/text/Utilites.java
33142 (drawTabbedText): The coordinates denote the baseline of the text
33143 not the upper left corner.
33145 2006-01-31 Roman Kennke <kennke@aicas.com>
33147 * javax/swing/plaf/basic/BasicTextUI.java
33148 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33149 UIManager. Added FIXME regarding the implementation of this method.
33151 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33153 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33154 (ButtonDemo): Move content initialisation to new method,
33155 (initFrameContent): New method,
33156 (main): Call initFrameContent(),
33157 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33158 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33159 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33160 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33161 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33163 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33165 * examples/gnu/classpath/examples/swing/Demo.java
33166 (Demo): Set frame size,
33167 (mkButtonBar): Removed stacked sub-panels.
33169 2006-01-30 Lillian Angel <langel@redhat.com>
33171 * javax/swing/text/DefaultStyledDocument.java:
33173 (insert): Initialized fields. Removed call to addEdit,
33174 and created ElementEdit instead.
33175 (insertUpdate): Added check for fracturing. If the
33176 fracturing was not successful, we should push the
33177 last element back on the stack.
33178 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33179 Also, changed replace calls to use Edit.
33180 (insertFirstContentTag): Removed unneeded check and fixed call
33182 (insertContent): Fixed check to use new fields. Added code in
33183 to check if leaves overlap.
33184 (createFracture): Fixed call to recreateLeaves.
33185 (recreateLeaves): Fixed code and cleaned it up a bit.
33186 (insertFracture): Set fracNotCreated field.
33187 (addEdit): Removed, this method is not needed.
33189 2006-01-30 Roman Kennke <kennke@aicas.com>
33191 * javax/swing/JRootPane.java
33192 (RootLayout.prefSize): Removed caching for preferredSize.
33193 (RootLayout.invalidateLayout): Likewise.
33194 (RootLayout.preferredLayoutSize): Likewise.
33196 2006-01-30 Roman Kennke <kennke@aicas.com>
33199 * javax/swing/JFrame.java
33200 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33201 * javax/swing/plaf/metal/MetalRootPaneUI.java
33202 (MetalFrameBorder): New inner class, provides the border for
33203 top level containers with L&F decorations.
33204 (MetalTitlePane): New inner class, provides the title pane for
33205 top level containers with L&F decorations.
33206 (MetalRootLayout): New inner class. Used to layout the root pane
33207 when L&F window decorations are enabled.
33208 (installUI): New method. Handles window decorations.
33209 (uninstallUI): New method. Handles window decorations.
33210 (propertyChange): Handles window decorations.
33211 (installWindowDecorations): New method. Handles window
33213 (uninstallWindowDecorations): New method. Handles window
33215 * javax/swing/plaf/metal/MetalLookAndFeel.java
33216 (getSupportsWindowDecorations): Overridden to return true.
33218 2006-01-30 Mark Wielaard <mark@klomp.org>
33220 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33221 IllegalArgumentException when orientation is illegal.
33222 (JProgressBar(int, int, int)): Likewise and throw exception.
33223 (setOrientation): Likewise.
33225 2006-01-30 Roman Kennke <kennke@aicas.com>
33227 * javax/swing/ViewportLayout.java
33228 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33230 2006-01-30 Mark Wielaard <mark@klomp.org>
33232 * javax/swing/JProgressBar.java (orientation): Always set by
33234 (JProgressBar(int)): Document default on 'illegal' value.
33235 (JProgressBar(int, int, int)): Likewise and set orientation to
33236 HORIZONTAL when 'illegal'.
33237 (setOrientation): Likewise.
33239 2006-01-30 Roman Kennke <kennke@aicas.com>
33241 * javax/swing/plaf/basic/BasicListUI.java
33242 (ListDataHandler.contentsChanged): Update the
33243 updateLayoutStateNeeded flag.
33244 (ListDataHandler.intervalAdded): Update the
33245 updateLayoutStateNeeded flag.
33246 (ListDataHandler.intervalRemoved): Update the
33247 updateLayoutStateNeeded flag.
33248 (PropertyChangeHandler.propertyChange): Correctly update the
33249 listeners on new list model.
33250 (maybeUpdateLayoutState): Don't consider the validation state
33253 2006-01-30 Mark Wielaard <mark@klomp.org>
33255 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33258 2006-01-30 Roman Kennke <kennke@aicas.com>
33260 * javax/swing/JLayeredPane.java
33261 (insertIndexForLayer): Fixed algorithm to correctly insert
33262 components within different layers and -1 position.
33264 2006-01-30 Mark Wielaard <mark@klomp.org>
33266 * doc/api/Makefile.am (create_html): Add -validhtml.
33268 2006-01-30 Roman Kennke <kennke@aicas.com>
33270 * javax/swing/JLayeredPane.java
33271 (insertIndexForLayer): Fixed algorithm to correctly insert
33272 components within same layer and -1 position.
33274 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33277 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33278 New execution flag.
33279 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33280 implicit RETokenEnd at the end of the regexp chain.
33281 Do not select the longest match, but select the first match.
33282 (match): Do not take care of REMatch.empty.
33283 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33284 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33285 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33286 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33287 Do not take care of REMatch.empty. Set and check REMatch.empty
33288 when trying to match the single token.
33290 2006-01-30 Mark Wielaard <mark@klomp.org>
33292 * java/awt/Cursor.java (toString): Include name and type.
33294 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33296 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33298 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33300 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33303 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33304 Consider the validation state of the list.
33306 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33308 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33310 * java/beans/XMLDecoder.java:
33311 (setExceptionListener): Use shared DefaultExceptionListener
33313 * java/beans/Encoder.java:
33314 (setExceptionListener): Use shared DefaultExceptionListener
33317 2006-01-29 Roman Kennke <kennke@aicas.com>
33319 * javax/swing/ScrollPaneLayout.java
33320 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33322 2006-01-29 Mark Wielaard <mark@klomp.org>
33324 * java/net/SocketPermission.java (setActions): Trim and lower case
33327 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33329 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33330 incorrectly failing primality test for some known primes. Fixed.
33331 (passFermatLittleTheorem): Removed.
33332 (passMillerRabin): Removed.
33333 (isProbablePrime): Cache primes that pass the primality tests.
33334 Use BigInteger.isProbablePrime(int) for primality tests.
33335 (debugBI): New static debugging method.
33337 2006-01-28 Roman Kennke <kennke@aicas.com>
33339 * javax/swing/plaf/basic/BasicListUI.java
33340 (updateLayoutState): Removed unneeded special case for VERTICAL.
33342 2006-01-28 Roman Kennke <kennke@aicas.com>
33344 * javax/swing/plaf/basic/BasicListUI.java
33345 (getCellBounds): Determine correct list width when having a
33346 layoutOrientation of VERTICAL.
33347 (maybeUpdateLayoutState): Don't consider the validation state of
33350 2006-01-28 Mark Wielaard <mark@klomp.org>
33352 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33353 * java/awt/print/NoPrinterJob.java: New (fake) class.
33354 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33356 2006-01-28 Mark Wielaard <mark@klomp.org>
33358 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33360 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33362 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33363 (addChildren): New method.
33365 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33367 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33368 constructor for cloning purposes.
33369 (clone): New implementation that ensures cloning.
33370 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33371 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33374 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33376 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33377 Call updateCurrentVisiblePath.
33379 2006-01-27 Roman Kennke <kennke@aicas.com>
33381 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33383 2006-01-27 Roman Kennke <kennke@aicas.com>
33385 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33386 (createContent): Only create new content if we don't have one
33388 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33389 (createContent): Only create new content if we don't have one
33391 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33392 (createContent): Only create new content if we don't have one
33394 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33395 (createContent): Only create new content if we don't have one
33397 * examples/gnu/classpath/examples/swing/SliderDemo.java
33398 (createContent): Only create new content if we don't have one
33400 * examples/gnu/classpath/examples/swing/TableDemo.java
33401 (createContent): Only create new content if we don't have one
33403 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33404 (createContent): Only create new content if we don't have one
33407 2006-01-27 Lillian Angel <langel@redhat.com>
33409 * javax/swing/text/DefaultStyledDocument.java
33410 (insertFirstContentTag): Removed check, not needed. This
33411 still needs to be fixed for some cases. Added call to
33413 (createFracture): Added call to recreateLeaves.
33414 (recreateLeaves): New method used to recreate all the
33415 leaves after the initial insertion. This still needs
33417 (handleInsertAfterNewline): Removed else, not needed.
33419 2006-01-27 Roman Kennke <kennke@aicas.com>
33421 * javax/swing/JLayeredPane.java
33422 (inserIndexForLayer): Fixed direction of search.
33424 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33426 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33427 node into nodeStates.
33429 2006-01-27 Roman Kennke <kennke@aicas.com>
33431 * javax/swing/JLayeredPane.java
33432 (FRAME_CONTENT_LAYER): Made field final.
33433 (componentToLayer): Made field private.
33434 (rectCache): Removed field.
33435 (layers): Removed field.
33436 (JLayeredPane()): Removed initialization of removed fields.
33437 (getLayer): Rewritten to make use of client properties in
33438 JComponents and to be more straighforward.
33439 (static getLayer): Rewritten to make use of client properties in
33441 (layerToRange): Removed method.
33442 (incrLayer): Removed method.
33443 (decrLayer): Removed method.
33444 (highestLayer): Rewritten to be more straightforward.
33445 (lowestLayer): Rewritten to be more straightforward.
33446 (getPosition): Rewritten to be more straightforward.
33447 (getComponentsInLayer): Rewritten to be more straightforward.
33448 (getComponentCountInLayer): Rewritten to be more straightforward.
33449 (getIndexOf): Rewritten to be more straightforward.
33450 (inserIndexForLayer): Rewritten to be more straightforward.
33451 (remove): Rewritten to be more straightforward.
33452 (setLayer): Rewritten to be more straightforward.
33453 (addImpl): Rewritten to be more straightforward.
33454 (putLayer): Rewritten to be more straightforward.
33456 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33458 * java/lang/Character.java:
33459 (offsetByCodePoints(CharSequence, int, int)): New API method.
33460 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33461 (toChars): Throw the Exception that the docs say we throw.
33462 (codePointAt): Fixed an off-by-one error in the bounds of the if
33464 * java/lang/String.java:
33465 (String(int[], int, int)): New API constructor.
33467 2006-01-27 Lillian Angel <langel@redhat.com>
33469 * javax/swing/text/DefaultStyledDocument.java
33470 (insert): Moved this loop to insertUpdate.
33471 (insertUpdate): Likewise. Fixed variable
33472 names. Incremented pos if new paragraph
33474 (split): Changed edits to use replace instead. Prevents
33476 (insertFirstContentTag): Removed else.
33477 (insertContentTag): Implemented else for JoinNextDirection.
33478 (createFracture): Fixed up code, still not fully complete.
33479 (insertFracture): Fixed to use return value from
33480 recreateAfterFracture.
33481 (recreateAfterFracture): Changed to return an array of the
33482 elements to be added. This prevents an assertion error.
33483 (contains): New function checks if an element is already in
33484 the Vector. Vector's contain function was not enough to use.
33485 (addAddedElement): Changed to use new contains function.
33486 (addAddedElements): Likewise.
33487 (addRemovedElement): Likewise.
33488 (addRemovedElements): Likewise.
33490 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33493 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33494 If no user class loaders found on the stack, return the thread
33495 context class loader. (currentClassLoader): Explained.
33497 2006-01-27 Roman Kennke <kennke@aicas.com>
33499 * java/awt/Container.java
33500 (swapComponents): Removed unspecified method.
33501 * javax/swing/JLayeredPane.java
33502 (setPosition): Reimplemented correctly.
33503 (swapComponents): New helper method.
33505 2006-01-27 Mark Wielaard <mark@klomp.org>
33507 * configure.ac: Set version to 0.21-pre.
33509 2006-01-27 Roman Kennke <kennke@aicas.com>
33512 * javax/swing/JComponent.java
33513 (findOverlapFreeParent): Improved the algorithm to make better use
33514 of the optimizedDrawingEnabled flag.
33515 * javax/swing/JLayeredPane.java
33516 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33517 * javax/swing/JViewport.java
33518 (computeBlit): Fixed check to decide if blitting is possible or not,
33519 so that it doesn't blit if nothing was scrolled (in order to
33520 update the buffer when the view updates itself).
33522 2006-01-27 Roman Kennke <kennke@aicas.com>
33524 * javax/swing/plaf/metal/MetalFileChooserUI.java
33525 (createList): Don't set scrollbar policy.
33527 2006-01-27 Roman Kennke <kennke@aicas.com>
33529 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33530 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33531 Fixed to also handle non-Swing toplevel containers.
33532 (PopupMenuHandler.popupMenuWillBecomeVisible):
33533 Fixed to also handle non-Swing toplevel containers.
33534 * javax/swing/Popup.java
33535 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33538 2006-01-27 Roman Kennke <kennke@aicas.com>
33540 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33541 (InternalFramePropertyChangeListener): Don't implement
33542 VetoableChangeListener.
33543 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33544 (internalFrameVetoableChangeListener): Removed unneeded field.
33545 (installListeners): Don't install vetoableChangeListener.
33546 * javax/swing/event/DocumentEvent.java
33547 (EventType): Made class final.
33549 2006-01-27 Roman Kennke <kennke@aicas.com>
33551 * javax/swing/SwingUtilities.java
33552 (calculateInsetArea): Removed unneeded method. The method
33553 calculateInnerArea has the same purpose and is actually specified.
33554 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33555 * javax/swing/plaf/basic/BasicMenuItemUI.java
33556 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33557 of SwingUtilities.calculateInsetArea().
33559 2006-01-27 Roman Kennke <kennke@aicas.com>
33561 * javax/swing/plaf/basic/BasicTreeUI.java
33562 (installDefaults): Removed requestFocusInWindow() call.
33563 * javax/swing/JComponent.java
33564 (requestFocusInWindow(boolean)): Made method protected.
33565 (printComponent): Made method protected.
33566 (printChildren): Made method protected.
33567 (printComponent): Made method protected.
33568 (printBorder): Made method protected.
33570 2006-01-27 Roman Kennke <kennke@aicas.com>
33572 * javax/swing/AbstractButton.java
33573 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33575 * javax/swing/ImageIcon.java
33576 (component): Made field final.
33577 (tracker): Made field final.
33578 * javax/swing/JApplet.java
33579 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33580 * javax/swing/JCheckBox.java
33581 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33583 * javax/swing/JDialog.java
33584 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33585 * javax/swing/JFrame.java
33586 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33587 * javax/swing/JLayeredPane.java
33588 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33590 (DEFAULT_LAYER): Made field final.
33591 (PALETTE_LAYER): Made field final.
33592 (MODAL_LAYER): Made field final.
33593 (POPUP_LAYER): Made field final.
33594 (DRAG_LAYER): Made field final.
33595 * javax/swing/JMenu.java
33596 (ActionChangeListener): Made class private.
33597 * javax/swing/JOptionPane.java
33598 (UNITITIALIZED_VALUE): Made field final.
33599 * javax/swing/JPanel.java
33600 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33601 * javax/swing/JPopupMenu.java
33602 (ActionChangeListener): Made class private.
33603 * javax/swing/JTree.java
33604 (paramString): Made method protected.
33605 * javax/swing/JViewport.java
33606 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33607 * javax/swing/JWindow.java
33608 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33609 * javax/swing/RepaintManager.java
33610 (RepaintWorker): Made class private.
33612 2006-01-27 Roman Kennke <kennke@aicas.com>
33614 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33615 (handleEvent): Removed debug statement.
33617 2006-01-27 Roman Kennke <kennke@aicas.com>
33619 * java/awt/Component.java
33620 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33621 more than it helps.
33623 2006-01-26 Lillian Angel <langel@redhat.com>
33625 * javax/swing/text/DefaultStyledDocument.java
33626 (createFracture): Commented out a known problem,
33629 2006-01-26 Lillian Angel <langel@redhat.com>
33631 * javax/swing/text/DefaultStyledDocument.java
33632 (ElementBuffer): Added fields.
33633 (remove): Initialized pos.
33634 (change): Likewise.
33635 (insert): Likewise.
33636 (insertUpdate): Incremented pos. Fixed check, createFracture should
33637 be called on first tag if it is not ContentType.
33638 (insertFirstContentTag): Reworked to use proper offsets and
33639 set offset accordingly. This might need more work in the future.
33640 (insertContentTag): Likewise. Fixed to use pos, instead of
33642 (createFracture): Fixed to recreate other leaves. Still needs
33644 (insertFracture): Reimplemented.
33645 (recreateAfterFracture): New method.
33646 (getParagraphElement): Reimplemented, more efficent.
33648 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33650 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33651 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33652 ordering for little-endian arms without VFP.
33654 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33657 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33659 2006-01-26 Mark Wielaard <mark@klomp.org>
33661 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33662 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33663 Add trailing zeros to the fraction of the decimal with the smallest
33666 2006-01-26 Roman Kennke <kennke@aicas.com>
33668 * javax/swing/text/html/ObjectView.java: New file.
33670 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33672 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33673 Call startEditing when appropriate.
33674 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33675 (startEditing): Always edit if directly ordered from
33676 MouseHandler.mousePressed.
33677 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33678 New field. (createTreeCellEditor): Set click count to start.
33679 (getTreeCellEditorComponent): Assing realEditor directly.
33681 2006-01-25 Casey Marshall <csm@gnu.org>
33683 Merging GNU Crypto and Jessie.
33685 * NEWS: mention the merge in the 0.21 notes.
33686 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33687 (SSL_RECORD_LAYER): new constants.
33688 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33690 * resource/java/security/classpath.security: add new providers.
33691 * gnu/javax/crypto/assembly/Assembly.java,
33692 gnu/javax/crypto/assembly/Cascade.java,
33693 gnu/javax/crypto/assembly/CascadeStage.java,
33694 gnu/javax/crypto/assembly/CascadeTransformer.java,
33695 gnu/javax/crypto/assembly/DeflateTransformer.java,
33696 gnu/javax/crypto/assembly/Direction.java,
33697 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33698 gnu/javax/crypto/assembly/ModeStage.java,
33699 gnu/javax/crypto/assembly/Operation.java,
33700 gnu/javax/crypto/assembly/PaddingTransformer.java,
33701 gnu/javax/crypto/assembly/Stage.java,
33702 gnu/javax/crypto/assembly/Transformer.java,
33703 gnu/javax/crypto/assembly/TransformerException.java,
33704 gnu/javax/crypto/cipher/Anubis.java,
33705 gnu/javax/crypto/cipher/BaseCipher.java,
33706 gnu/javax/crypto/cipher/Blowfish.java,
33707 gnu/javax/crypto/cipher/Cast5.java,
33708 gnu/javax/crypto/cipher/CipherFactory.java,
33709 gnu/javax/crypto/cipher/DES.java,
33710 gnu/javax/crypto/cipher/IBlockCipher.java,
33711 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33712 gnu/javax/crypto/cipher/Khazad.java,
33713 gnu/javax/crypto/cipher/NullCipher.java,
33714 gnu/javax/crypto/cipher/Rijndael.java,
33715 gnu/javax/crypto/cipher/Serpent.java,
33716 gnu/javax/crypto/cipher/Square.java,
33717 gnu/javax/crypto/cipher/TripleDES.java,
33718 gnu/javax/crypto/cipher/Twofish.java,
33719 gnu/javax/crypto/cipher/WeakKeyException.java,
33720 gnu/javax/crypto/jce/GnuCrypto.java,
33721 gnu/javax/crypto/jce/GnuSasl.java,
33722 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33723 gnu/javax/crypto/jce/cipher/AESSpi.java,
33724 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33725 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33726 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33727 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33728 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33729 gnu/javax/crypto/jce/cipher/DESSpi.java,
33730 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33731 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33732 gnu/javax/crypto/jce/cipher/PBES2.java,
33733 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33734 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33735 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33736 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33737 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33738 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33739 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33740 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33741 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33742 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33743 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33744 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33745 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33746 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33747 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33748 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33749 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33750 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33751 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33752 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33753 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33754 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33755 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33756 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33757 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33758 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33759 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33760 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33761 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33762 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33763 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33764 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33765 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33766 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33767 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33768 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33769 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33770 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33771 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33772 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33773 gnu/javax/crypto/jce/mac/MacAdapter.java,
33774 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33775 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33776 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33777 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33778 gnu/javax/crypto/jce/mac/OMacImpl.java,
33779 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33780 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33781 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33782 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33783 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33784 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33785 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33786 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33787 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33788 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33789 gnu/javax/crypto/jce/params/DEREncodingException.java,
33790 gnu/javax/crypto/jce/params/DERReader.java,
33791 gnu/javax/crypto/jce/params/DERWriter.java,
33792 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33793 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33794 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33795 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33796 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33797 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33798 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33799 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33800 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33801 gnu/javax/crypto/key/GnuSecretKey.java,
33802 gnu/javax/crypto/key/IKeyAgreementParty.java,
33803 gnu/javax/crypto/key/IncomingMessage.java,
33804 gnu/javax/crypto/key/KeyAgreementException.java,
33805 gnu/javax/crypto/key/KeyAgreementFactory.java,
33806 gnu/javax/crypto/key/OutgoingMessage.java,
33807 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33808 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33809 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33810 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33811 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33812 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33813 gnu/javax/crypto/key/dh/ElGamalSender.java,
33814 gnu/javax/crypto/key/dh/GnuDHKey.java,
33815 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33816 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33817 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33818 gnu/javax/crypto/key/dh/RFC2631.java,
33819 gnu/javax/crypto/key/srp6/SRP6Host.java,
33820 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33821 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33822 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33823 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33824 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33825 gnu/javax/crypto/key/srp6/SRP6User.java,
33826 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33827 gnu/javax/crypto/key/srp6/SRPKey.java,
33828 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33829 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33830 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33831 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33832 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33833 gnu/javax/crypto/keyring/BaseKeyring.java,
33834 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33835 gnu/javax/crypto/keyring/CertPathEntry.java,
33836 gnu/javax/crypto/keyring/CertificateEntry.java,
33837 gnu/javax/crypto/keyring/CompressedEntry.java,
33838 gnu/javax/crypto/keyring/EncryptedEntry.java,
33839 gnu/javax/crypto/keyring/Entry.java,
33840 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33841 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33842 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33843 gnu/javax/crypto/keyring/IKeyring.java,
33844 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33845 gnu/javax/crypto/keyring/IPublicKeyring.java,
33846 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33847 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33848 gnu/javax/crypto/keyring/MeteredInputStream.java,
33849 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33850 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33851 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33852 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33853 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33854 gnu/javax/crypto/keyring/Properties.java,
33855 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33856 gnu/javax/crypto/mac/BaseMac.java,
33857 gnu/javax/crypto/mac/HMac.java,
33858 gnu/javax/crypto/mac/HMacFactory.java,
33859 gnu/javax/crypto/mac/IMac.java,
33860 gnu/javax/crypto/mac/MacFactory.java,
33861 gnu/javax/crypto/mac/MacInputStream.java,
33862 gnu/javax/crypto/mac/MacOutputStream.java,
33863 gnu/javax/crypto/mac/OMAC.java,
33864 gnu/javax/crypto/mac/TMMH16.java,
33865 gnu/javax/crypto/mac/UHash32.java,
33866 gnu/javax/crypto/mac/UMac32.java,
33867 gnu/javax/crypto/mode/BaseMode.java,
33868 gnu/javax/crypto/mode/CBC.java,
33869 gnu/javax/crypto/mode/CFB.java,
33870 gnu/javax/crypto/mode/CTR.java,
33871 gnu/javax/crypto/mode/EAX.java,
33872 gnu/javax/crypto/mode/ECB.java,
33873 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33874 gnu/javax/crypto/mode/ICM.java,
33875 gnu/javax/crypto/mode/IMode.java,
33876 gnu/javax/crypto/mode/ModeFactory.java,
33877 gnu/javax/crypto/mode/OFB.java,
33878 gnu/javax/crypto/pad/BasePad.java,
33879 gnu/javax/crypto/pad/IPad.java,
33880 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33881 gnu/javax/crypto/pad/PKCS7.java,
33882 gnu/javax/crypto/pad/PadFactory.java,
33883 gnu/javax/crypto/pad/SSL3.java,
33884 gnu/javax/crypto/pad/TBC.java,
33885 gnu/javax/crypto/pad/TLS1.java,
33886 gnu/javax/crypto/pad/WrongPaddingException.java,
33887 gnu/javax/crypto/prng/ARCFour.java,
33888 gnu/javax/crypto/prng/CSPRNG.java,
33889 gnu/javax/crypto/prng/Fortuna.java,
33890 gnu/javax/crypto/prng/ICMGenerator.java,
33891 gnu/javax/crypto/prng/IPBE.java,
33892 gnu/javax/crypto/prng/PBKDF2.java,
33893 gnu/javax/crypto/prng/PRNGFactory.java,
33894 gnu/javax/crypto/prng/UMacGenerator.java,
33895 gnu/javax/crypto/sasl/AuthInfo.java,
33896 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33897 gnu/javax/crypto/sasl/ClientFactory.java,
33898 gnu/javax/crypto/sasl/ClientMechanism.java,
33899 gnu/javax/crypto/sasl/ConfidentialityException.java,
33900 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33901 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33902 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33903 gnu/javax/crypto/sasl/InputBuffer.java,
33904 gnu/javax/crypto/sasl/IntegrityException.java,
33905 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33906 gnu/javax/crypto/sasl/NoSuchUserException.java,
33907 gnu/javax/crypto/sasl/OutputBuffer.java,
33908 gnu/javax/crypto/sasl/SaslEncodingException.java,
33909 gnu/javax/crypto/sasl/SaslInputStream.java,
33910 gnu/javax/crypto/sasl/SaslOutputStream.java,
33911 gnu/javax/crypto/sasl/SaslUtil.java,
33912 gnu/javax/crypto/sasl/ServerFactory.java,
33913 gnu/javax/crypto/sasl/ServerMechanism.java,
33914 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33915 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33916 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33917 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33918 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33919 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33920 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33921 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33922 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33923 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33924 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33925 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33926 gnu/javax/crypto/sasl/plain/PlainClient.java,
33927 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33928 gnu/javax/crypto/sasl/plain/PlainServer.java,
33929 gnu/javax/crypto/sasl/srp/CALG.java,
33930 gnu/javax/crypto/sasl/srp/ClientStore.java,
33931 gnu/javax/crypto/sasl/srp/IALG.java,
33932 gnu/javax/crypto/sasl/srp/KDF.java,
33933 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33934 gnu/javax/crypto/sasl/srp/SRP.java,
33935 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33936 gnu/javax/crypto/sasl/srp/SRPClient.java,
33937 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33938 gnu/javax/crypto/sasl/srp/SRPServer.java,
33939 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33940 gnu/javax/crypto/sasl/srp/ServerStore.java,
33941 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33942 gnu/javax/net/ssl/Base64.java,
33943 gnu/javax/net/ssl/EntropySource.java,
33944 gnu/javax/net/ssl/NullManagerParameters.java,
33945 gnu/javax/net/ssl/PrivateCredentials.java,
33946 gnu/javax/net/ssl/SRPManagerParameters.java,
33947 gnu/javax/net/ssl/SRPTrustManager.java,
33948 gnu/javax/net/ssl/StaticTrustAnchors.java,
33949 gnu/javax/net/ssl/provider/Alert.java,
33950 gnu/javax/net/ssl/provider/AlertException.java,
33951 gnu/javax/net/ssl/provider/Certificate.java,
33952 gnu/javax/net/ssl/provider/CertificateRequest.java,
33953 gnu/javax/net/ssl/provider/CertificateType.java,
33954 gnu/javax/net/ssl/provider/CertificateVerify.java,
33955 gnu/javax/net/ssl/provider/CipherSuite.java,
33956 gnu/javax/net/ssl/provider/ClientHello.java,
33957 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33958 gnu/javax/net/ssl/provider/CompressionMethod.java,
33959 gnu/javax/net/ssl/provider/Constructed.java,
33960 gnu/javax/net/ssl/provider/ContentType.java,
33961 gnu/javax/net/ssl/provider/Context.java,
33962 gnu/javax/net/ssl/provider/DiffieHellman.java,
33963 gnu/javax/net/ssl/provider/DigestInputStream.java,
33964 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33965 gnu/javax/net/ssl/provider/Enumerated.java,
33966 gnu/javax/net/ssl/provider/Extension.java,
33967 gnu/javax/net/ssl/provider/Extensions.java,
33968 gnu/javax/net/ssl/provider/Finished.java,
33969 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33970 gnu/javax/net/ssl/provider/Handshake.java,
33971 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33972 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33973 gnu/javax/net/ssl/provider/Jessie.java,
33974 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33975 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33976 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33977 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33978 gnu/javax/net/ssl/provider/KeyPool.java,
33979 gnu/javax/net/ssl/provider/MacException.java,
33980 gnu/javax/net/ssl/provider/OverflowException.java,
33981 gnu/javax/net/ssl/provider/PRNG.java,
33982 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33983 gnu/javax/net/ssl/provider/Random.java,
33984 gnu/javax/net/ssl/provider/RecordInput.java,
33985 gnu/javax/net/ssl/provider/RecordInputStream.java,
33986 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33987 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33988 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33989 gnu/javax/net/ssl/provider/SSLHMac.java,
33990 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33991 gnu/javax/net/ssl/provider/SSLRandom.java,
33992 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33993 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33994 gnu/javax/net/ssl/provider/SSLSocket.java,
33995 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33996 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33997 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33998 gnu/javax/net/ssl/provider/SecurityParameters.java,
33999 gnu/javax/net/ssl/provider/ServerHello.java,
34000 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
34001 gnu/javax/net/ssl/provider/Session.java,
34002 gnu/javax/net/ssl/provider/SessionContext.java,
34003 gnu/javax/net/ssl/provider/Signature.java,
34004 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
34005 gnu/javax/net/ssl/provider/TLSHMac.java,
34006 gnu/javax/net/ssl/provider/TLSRandom.java,
34007 gnu/javax/net/ssl/provider/Util.java,
34008 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
34009 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
34010 gnu/javax/net/ssl/provider/XMLSessionContext.java,
34011 gnu/javax/security/auth/Password.java,
34012 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
34013 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
34014 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
34015 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
34016 gnu/javax/security/auth/callback/GnuCallbacks.java,
34017 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
34018 gnu/java/security/Registry.java,
34019 gnu/java/security/Properties.java,
34020 gnu/java/security/hash/BaseHash.java,
34021 gnu/java/security/hash/HashFactory.java,
34022 gnu/java/security/hash/Haval.java,
34023 gnu/java/security/hash/IMessageDigest.java,
34024 gnu/java/security/hash/MD2.java,
34025 gnu/java/security/hash/MD4.java,
34026 gnu/java/security/hash/MD5.java,
34027 gnu/java/security/hash/RipeMD128.java,
34028 gnu/java/security/hash/RipeMD160.java,
34029 gnu/java/security/hash/Sha160.java,
34030 gnu/java/security/hash/Sha256.java,
34031 gnu/java/security/hash/Sha384.java,
34032 gnu/java/security/hash/Sha512.java,
34033 gnu/java/security/hash/Tiger.java,
34034 gnu/java/security/hash/Whirlpool.java,
34035 gnu/java/security/jce/hash/HavalSpi.java,
34036 gnu/java/security/jce/hash/MD2Spi.java,
34037 gnu/java/security/jce/hash/MD4Spi.java,
34038 gnu/java/security/jce/hash/MD5Spi.java,
34039 gnu/java/security/jce/hash/MessageDigestAdapter.java,
34040 gnu/java/security/jce/hash/RipeMD128Spi.java,
34041 gnu/java/security/jce/hash/RipeMD160Spi.java,
34042 gnu/java/security/jce/hash/Sha160Spi.java,
34043 gnu/java/security/jce/hash/Sha256Spi.java,
34044 gnu/java/security/jce/hash/Sha384Spi.java,
34045 gnu/java/security/jce/hash/Sha512Spi.java,
34046 gnu/java/security/jce/hash/TigerSpi.java,
34047 gnu/java/security/jce/hash/WhirlpoolSpi.java,
34048 gnu/java/security/jce/prng/HavalRandomSpi.java,
34049 gnu/java/security/jce/prng/MD2RandomSpi.java,
34050 gnu/java/security/jce/prng/MD4RandomSpi.java,
34051 gnu/java/security/jce/prng/MD5RandomSpi.java,
34052 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34053 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34054 gnu/java/security/jce/prng/SecureRandomAdapter.java,
34055 gnu/java/security/jce/prng/Sha160RandomSpi.java,
34056 gnu/java/security/jce/prng/Sha256RandomSpi.java,
34057 gnu/java/security/jce/prng/Sha384RandomSpi.java,
34058 gnu/java/security/jce/prng/Sha512RandomSpi.java,
34059 gnu/java/security/jce/prng/TigerRandomSpi.java,
34060 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34061 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34062 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34063 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34064 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34065 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34066 gnu/java/security/jce/sig/SignatureAdapter.java,
34067 gnu/java/security/key/IKeyPairCodec.java,
34068 gnu/java/security/key/IKeyPairGenerator.java,
34069 gnu/java/security/key/KeyPairCodecFactory.java,
34070 gnu/java/security/key/KeyPairGeneratorFactory.java,
34071 gnu/java/security/key/dss/DSSKey.java,
34072 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34073 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34074 gnu/java/security/key/dss/DSSPrivateKey.java,
34075 gnu/java/security/key/dss/DSSPublicKey.java,
34076 gnu/java/security/key/dss/FIPS186.java,
34077 gnu/java/security/key/rsa/GnuRSAKey.java,
34078 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34079 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34080 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34081 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34082 gnu/java/security/prng/BasePRNG.java,
34083 gnu/java/security/prng/EntropySource.java,
34084 gnu/java/security/prng/IRandom.java,
34085 gnu/java/security/prng/LimitReachedException.java,
34086 gnu/java/security/prng/MDGenerator.java,
34087 gnu/java/security/prng/PRNGFactory.java,
34088 gnu/java/security/prng/RandomEvent.java,
34089 gnu/java/security/prng/RandomEventListener.java,
34090 gnu/java/security/sig/BaseSignature.java,
34091 gnu/java/security/sig/ISignature.java,
34092 gnu/java/security/sig/ISignatureCodec.java,
34093 gnu/java/security/sig/SignatureFactory.java,
34094 gnu/java/security/sig/dss/DSSSignature.java,
34095 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34096 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34097 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34098 gnu/java/security/sig/rsa/EMSA_PSS.java,
34099 gnu/java/security/sig/rsa/RSA.java,
34100 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34101 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34102 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34103 gnu/java/security/util/Base64.java,
34104 gnu/java/security/util/ExpirableObject.java,
34105 gnu/java/security/util/Prime2.java,
34106 gnu/java/security/util/Sequence.java,
34107 gnu/java/security/util/SimpleList.java,
34108 gnu/java/security/util/Util.java,
34109 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34110 new files imported from GNU Crypto and Jessie.
34112 2006-01-25 Tom Tromey <tromey@redhat.com>
34114 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34115 Fixed calculation of number of bytes to read.
34116 (size, count, meta, eof): Document.
34118 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34120 * java/lang/Character.java:
34121 (codePointCount(char[], int, int)): New API method.
34122 (codePointCount(CharSequence, int, int)): Likewise.
34124 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34127 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34129 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34130 action if not editing.
34131 * javax/swing/plaf/basic/BasicTreeUI.java
34132 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34133 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34134 (EditorUpdateTimer): Removed.
34135 (TreeAction.actionPerformed): Stop and not cancel the current editing
34136 when starting editing another node.
34137 (editorTimer, newVal): Removed.
34138 (cancelEditing): Do not send the cancel message.
34139 (completeEditing): Obtain the edited value from the editor.
34140 (finish): New method.
34141 (paintRow): Do not paint the editing component here.
34142 (startEditing, stopEditing): Rewritten.
34143 * javax/swing/tree/DefaultTreeCellEditor.java
34144 (DefaultTextField): Added SVUID.
34145 (EditorContainer): Rewritten.
34146 (RealEditorListener): New inner class.
34147 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34148 (constructor): Add cell editor listener. Do not instantiate timer.
34149 (actionPerformed): Return without action.
34150 (cancelCellEditing): Rewritten.
34151 (createTreeCellEditor): Add cell editor listener to the editor.
34152 (getCellEditorValue): Request the value from the realEditor.
34153 (isCellEditable): Removed timer management.
34154 (prepareForEditing): Remove all components befor adding the
34156 (startEditingTimer): Start only if it is not null.
34157 (stopCellEditing): Rewritten.
34158 (stopEditingTimer): New method.
34159 (valueChanged): Do not configure editing component here.
34161 2006-01-25 Roman Kennke <kennke@aicas.com>
34163 * javax/swing/text/html/FormView.java: New file.
34165 2006-01-25 Roman Kennke <kennke@aicas.com>
34167 * javax/swing/JSplitPane.java
34168 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34169 has been set in order to set an initial layout.
34170 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34171 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34172 layout of the right component.
34173 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34174 dividerLocation to the size of the left component.
34175 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34177 (setDividerLocation): Don't validate the location here. Sometimes
34178 the divider needs to be set to an invalid location.
34179 (startDragging): Don't revalidate and repaint here.
34180 (finishDraggingTo): Don't repaint here. Also, don't call
34181 dragDividerTo() here.
34182 * javax/swing/plaf/basic/BasicLookAndFeel.java
34183 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34186 2006-01-25 Roman Kennke <kennke@aicas.com>
34188 * javax/swing/JSplitPane.java
34189 (addImpl): Removed invalidate() and layout() call.
34190 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34191 (PropertyHandler.propertyChange): Remove layoutContainer() and
34194 2006-01-25 Roman Kennke <kennke@aicas.com>
34197 * native/Makefile.am
34198 * native/jni/classpath/Makefile.am
34199 * native/jni/classpath/jcl.c
34200 * native/jni/classpath/jcl.h
34201 * native/jni/classpath/native_state.c
34202 * native/jni/gtk-peer/Makefile.am
34203 * native/jni/java-io/Makefile.am
34204 * native/jni/java-io/java_io_VMFile.c
34205 * native/jni/java-io/java_io_VMObjectStreamClass.c
34206 * native/jni/java-lang/Makefile.am
34207 * native/jni/java-net/Makefile.am
34208 * native/jni/java-net/java_net_VMInetAddress.c
34209 * native/jni/java-net/javanet.c
34210 * native/jni/java-net/javanet.h
34211 * native/jni/java-nio/Makefile.am
34212 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34213 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34214 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34215 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34216 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34217 * native/jni/java-util/Makefile.am
34218 * native/jni/java-util/java_util_VMTimeZone.c
34219 * native/jni/midi-dssi/Makefile.am
34220 * native/jni/xmlj/Makefile.am
34221 * native/target/Makefile.am
34222 * native/target/Linux/target_native_math.h
34223 * native/target/Linux/target_native_memory.h
34224 * native/target/Linux/Makefile.am
34225 * native/target/Linux/target_native_io.h
34226 * native/target/Linux/target_native_math_float.h
34227 * native/target/Linux/target_native_math_int.h
34228 * native/target/generic/target_generic.c
34229 * native/target/generic/target_generic_io.c
34230 * native/target/generic/target_generic_math.h
34231 * native/target/generic/target_generic_memory.h
34232 * native/target/generic/target_generic_misc.c
34233 * native/target/generic/target_generic_network.c
34234 * native/target/generic/Makefile.am
34235 * native/target/generic/target_generic.h
34236 * native/target/generic/target_generic_file.h
34237 * native/target/generic/target_generic_io.h
34238 * native/target/generic/target_generic_math_float.h
34239 * native/target/generic/target_generic_math_int.h
34240 * native/target/generic/target_generic_misc.h
34241 * native/target/generic/target_generic_network.h:
34242 Reverted target native related changes back to the state of the
34244 * native/target/MinGW/.cvsignore
34245 * native/target/MinGW/Makefile.am
34246 * native/target/MinGW/target_native.h
34247 * native/target/MinGW/target_native_file.h
34248 * native/target/MinGW/target_native_io.h
34249 * native/target/MinGW/target_native_math.h
34250 * native/target/MinGW/target_native_memory.h
34251 * native/target/MinGW/target_native_misc.h
34252 * native/target/MinGW/target_native_network.h
34253 * native/target/RTEMS/.cvsignore
34254 * native/target/RTEMS/Makefile.am
34255 * native/target/RTEMS/target_native.h
34256 * native/target/RTEMS/target_native_file.h
34257 * native/target/RTEMS/target_native_io.h
34258 * native/target/RTEMS/target_native_math.h
34259 * native/target/RTEMS/target_native_memory.h
34260 * native/target/RTEMS/target_native_misc.h
34261 * native/target/RTEMS/target_native_network.h
34262 * native/target/SunOS/.cvsignore
34263 * native/target/SunOS/Makefile.am
34264 * native/target/SunOS/target_native.h
34265 * native/target/SunOS/target_native_file.h
34266 * native/target/SunOS/target_native_io.h
34267 * native/target/SunOS/target_native_math.h
34268 * native/target/SunOS/target_native_memory.h
34269 * native/target/SunOS/target_native_misc.h
34270 * native/target/SunOS/target_native_network.h
34271 * native/target/embOS/.cvsignore
34272 * native/target/embOS/Makefile.am
34273 * native/target/embOS/target_native.h
34274 * native/target/embOS/target_native_file.h
34275 * native/target/embOS/target_native_io.c
34276 * native/target/embOS/target_native_io.h
34277 * native/target/embOS/target_native_math.h
34278 * native/target/embOS/target_native_memory.h
34279 * native/target/embOS/target_native_misc.h
34280 * native/target/embOS/target_native_network.h
34281 * native/target/posix/.cvsignore
34282 * native/target/posix/Makefile.am
34283 * native/target/posix/target_posix.c
34284 * native/target/posix/target_posix.h
34285 * native/target/posix/target_posix_file.c
34286 * native/target/posix/target_posix_file.h
34287 * native/target/posix/target_posix_io.c
34288 * native/target/posix/target_posix_io.h
34289 * native/target/posix/target_posix_math.c
34290 * native/target/posix/target_posix_math.h
34291 * native/target/posix/target_posix_memory.c
34292 * native/target/posix/target_posix_memory.h
34293 * native/target/posix/target_posix_misc.c
34294 * native/target/posix/target_posix_misc.h
34295 * native/target/posix/target_posix_network.c
34296 * native/target/posix/target_posix_network.h:
34299 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34301 * javax/print/PrintService.java,
34302 * javax/print/DocPrintJob.java,
34303 * javax/print/CancelablePrintJob.java:
34304 Added and enhanced api documentation for class and methods.
34306 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34308 * javax/print/SimpleDoc.java: Make class final.
34309 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34310 * javax/print/attribute/DateTimeSyntax.java:
34311 (toString): New overridden method.
34312 * javax/print/attribute/standard/JobStateReasons.java:
34313 (add): Use the super.add method to avoid recursion.
34314 * javax/print/attribute/standard/PrinterStateReasons.java:
34315 (put): Use the super.put method to avoid recursion.
34317 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34319 * java/beans/XMLEncoder.java:
34320 (writeExpression): Added early return (fixes PR #25941).
34321 (setExceptionListener, anonymous Class): Removed printStackTrace
34323 * java/beans/Encoder: Removed unused imports.
34324 (setupDefaultPersistenceDelegates): Removed unneccessary
34325 PersistenceDelegates for subclasses.
34326 * java/beans/PersistenceDelegate:
34327 (initialize): Use local variable as first argument as it was
34329 * java/beans/DefaultPersistenceDelegate:
34330 (initialize): Added call to superclass' implementation, added
34333 2006-01-24 Tom Tromey <tromey@redhat.com>
34335 * java/util/regex/PatternSyntaxException.java: Added @since.
34336 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34337 * java/util/regex/MatchResult.java: New file.
34339 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34341 * javax/swing/text/StringContent.java: Added API docs all over, plus
34342 minor reformatting.
34344 2006-01-24 Gary Benson <gbenson@redhat.com>
34346 * java/net/SocketPermission.java: Implemented serialization.
34348 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34350 * javax/swing/text/StringContent.java
34351 (remove): Modified argument check to prevent removal of last character,
34352 (getChars): Removed null argument check to allow NullPointerException,
34354 (checkLocation): Added API docs and white space.
34356 2006-01-23 Lillian Angel <langel@redhat.com>
34358 * javax/swing/text/DefaultStyledDocument.java
34359 (insertUpdate): Should only call createFracture with
34360 StartTagType. Added check.
34361 (insertContentTag): Should use the tags length for splitting.
34362 Also, added a check to determine if current's start and end offset are
34363 equal to the offset and endOffset. If so, only one leaf element
34365 (createFracture): Removed FIXME. This function is complete.
34366 (split): Added calls to replace. Changed so the child is
34367 added immediately to the paragraph. Prevents NPEs.
34369 2006-01-23 Mark Wielaard <mark@klomp.org>
34371 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34373 2006-01-23 Tom Tromey <tromey@redhat.com>
34375 * gnu/java/security/x509/X509Certificate.java (parse):
34376 Unconditionally read value; for version==1 case when reading
34379 2006-01-23 Roman Kennke <kennke@aicas.com>
34381 * javax/swing/plaf/synth/ColorType.java,
34382 * javax/swing/plaf/synth/Region.java,
34383 * javax/swing/plaf/synth/SynthConstants.java,
34384 * javax/swing/plaf/synth/SynthContext.java
34385 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34386 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34387 * javax/swing/plaf/synth/SynthPainter.java,
34388 * javax/swing/plaf/synth/SynthStyle.java,
34389 * javax/swing/plaf/synth/SynthStyleFactory.java,
34390 * javax/swing/plaf/synth/package.html:
34391 New files. Added the public API and framework classes for the
34392 Synth look and feel.
34394 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34396 * javax/swing/text/Segment.java: API docs all over.
34398 2006-01-23 Lillian Angel <langel@redhat.com>
34400 * javax/swing/text/DefaultStyledDocument.java
34401 (split): Should not use createLeafElement and createBranchElement here.
34402 We should just instaniate the LeafElements and BranchElements instead
34403 to avoid the case where create*Element is overridden.
34405 2006-01-23 Lillian Angel <langel@redhat.com>
34407 * javax/swing/text/DefaultStyledDocument.java
34408 (insertFirstContentTag): Moved check outside of if-statement.
34409 This should be checked before creating the new leaf element.
34410 (insertFracture): Fixed check to prevent an NPE. The previous
34411 leaf should only be recreated if it has been created by
34412 insertFirstContentTag. Also, fixed up code: if the endOffset is
34413 greater than the offset, then we need to create a temp leaf
34414 as a place holder. Otherwise, the leaf elements should be
34417 2006-01-23 Gary Benson <gbenson@redhat.com>
34419 * java/net/SocketPermission.java: Almost completely rewritten.
34421 2006-01-23 Lillian Angel <langel@redhat.com>
34423 * javax/swing/text/DefaultStyledDocument.java
34424 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34426 2006-01-23 Lillian Angel <langel@redhat.com>
34428 * javax/swing/text/DefaultStyledDocument.java:
34429 Formatted ElementBuffer and added new fields.
34430 (remove): Added check to determine if length is 0.
34431 (insertFirstContentTag): Initialized firstCreated to the element that is created
34432 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34433 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34434 that have been recreated.
34435 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34436 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34437 FIXME tags to the lines that need to be rewritten.
34439 2006-01-23 Mark Wielaard <mark@klomp.org>
34441 * examples/Makefile.am: Add support for fastjar.
34443 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34445 * gnu/regexp/REToken.java(empty): Made Cloneable.
34446 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34447 Use separate methods matchN and matchP depending on the
34449 (matchN): New method used when negative. Done as before.
34450 (matchP): New method used when not negative. Each token is
34451 tried not by itself but by a clone of it.
34453 2006-01-23 Chris Burdess <dog@gnu.org>
34456 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34457 class to avoid getLength method contention.
34458 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34460 2006-01-23 Chris Burdess <dog@gnu.org>
34462 * native/jni/java-util/Makefile.am: Include library required
34463 explicitly by BSD systems.
34464 * native/target/generic/target_generic_misc.h: Remove old commented
34466 * native/target/generic/target_generic_network.h: Fallbacks (to
34467 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34469 2006-01-22 Tom Tromey <tromey@redhat.com>
34471 * native/target/posix/.cvsignore: Added .deps.
34473 2006-01-22 Mark Wielaard <mark@klomp.org>
34476 reported by James Damour <James.Damour@corp.request.com>
34477 * java/awt/Container.java (addImpl): Use empty string as name when
34478 null constraints for LayoutManager.addLayoutComponent().
34480 2006-01-22 Chris Burdess <dog@gnu.org>
34483 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34484 representing current directory as base for relative URLs.
34486 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34489 * gnu/regexp/REMatch.java(empty): New boolean indicating
34490 an empty string matched.
34491 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34493 (initialize): Support back reference \10, \11, and so on.
34494 (parseInt): renamed from getEscapedChar and returns int.
34495 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34496 when an empty string matched. Fixed a bug of the case where
34497 an empty string matched. Added special handling of {0}.
34498 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34499 when an empty string matched. Fixed the case insensitive matching.
34501 2006-01-21 Roman Kennke <kennke@aicas.com>
34503 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34504 (paint): Added painting of border if one is installed.
34506 2006-01-21 Roman Kennke <kennke@aicas.com>
34508 PR classpath/25843:
34509 * javax/swing/plaf/basic/BasicBorders.java
34510 (getSplitPaneDividerBorder): Use new border constructor
34512 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34513 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34514 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34515 colors are fetched dynamically in the paintBorder method.
34516 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34518 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34520 * javax/swing/plaf/basic/BasicLookAndFeel.java
34521 (initComponentDefaults): Added default for SplitPaneDivider.border.
34522 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34523 (tmpBorder): Removed unneeded inner class.
34524 (BasicSplitPaneDivider): Removed setting of border.
34525 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34527 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34528 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34529 to get behaviour right.
34530 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34531 implementation. This must be rewritten since the layout now works
34532 slightly different (basically, it shouldn't modify the sizes[]
34533 here but instead the dividerLocation.
34534 (dividerLocation): New field.
34535 (installDefaults): Initialize border on divider.
34536 (uninstallDefaults): Only remove background color and border from
34537 splitPane if they are instances of UIDefaults (== not set by
34539 (setDividerLocation): Set the dividerLocation field instead of
34540 doing stunt acts here.
34541 (getDividerLocation): Return dividerLocation field.
34542 (getMinimumDividerLocation): Fixed calculation of minimum location.
34544 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34547 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34549 * lib/Makefile.am: Likewise.
34551 2006-01-21 Roman Kennke <kennke@aicas.com>
34553 * javax/swing/PopupFactory.java
34554 (getPopup): If there is no Swing root found in any way, use a
34555 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34556 for the Swing AWT peers.
34558 2006-01-20 Tom Tromey <tromey@redhat.com>
34560 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34561 Read response body for redirect.
34563 2006-01-20 Chris Burdess <dog@gnu.org>
34565 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34568 2006-01-20 Lillian Angel <langel@redhat.com>
34570 * javax/swing/text/DefaultStyledDocument.java
34571 (pad): Removed, not needed.
34572 (printElements): Likewise.
34573 (printEdit): Likewise.
34575 2006-01-20 Roman Kennke <kennke@aicas.com>
34577 * javax/swing/text/DefaultFormatter.java
34578 (DefaultFormatter): Don't set a value class.
34580 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34582 * javax/swing/DefaultCellEditor.java: Commented.
34584 2006-01-19 Roman Kennke <kennke@aicas.com>
34586 * javax/swing/JOptionPane.java
34587 Added cast to Frame for JDialog constructor.
34589 2006-01-19 Roman Kennke <kennke@aicas.com>
34591 * javax/swing/JWindow.java
34592 (JWindow(Window)): Fixed to accept null owner argument.
34593 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34595 * javax/swing/SwingUtilities.java
34596 (getOwnerFrame): Owner parameter and return value are fixed to
34597 be of type Window for compatibity with the above JWindow
34599 * javax/swing/JDialog.java
34600 (JDialog): Added cast to Frame to make sure the correct constructor
34602 * javax/swing/JFileChooser.java
34603 (createDialog): Added cast to Frame for JDialog constructor.
34605 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34607 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34609 2006-01-19 Roman Kennke <kennke@aicas.com>
34611 * javax/swing/JWindow.java: Added API docs to the constructors.
34613 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34615 * javax/swing/JTable.java: Commenting method headers.
34616 (EditorUpdateTimer): Removed.
34618 2006-01-19 Roman Kennke <kennke@aicas.com>
34620 * javax/swing/JDialog.java
34621 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34622 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34623 SwingUtilities.getOwnerFrame() with the owner argument.
34624 * javax/swing/JFileChooser.java
34625 (showOpenDialog(Component)): Call pack() on the dialog instead of
34626 setting a fixed height.
34627 (showSaveDialog()): Likewise.
34628 (showDialog()): Likewise.
34629 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34630 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34632 * javax/swing/JWindow.java
34633 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34634 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34636 * javax/swing/SwingUtilities.java
34637 (getOwnerFrame): Changed to take a owner parameter that is returned
34638 as owner frame when not null.
34640 2006-01-19 Roman Kennke <kennke@aicas.com>
34642 * gnu/java/awt/peer/swing/SwingFramePeer.java
34643 (handleMouseEvent): Fixed handling of mouse events.
34644 (handleMouseMotionEvent): Fixed handling of mouse events.
34646 2006-01-19 Roman Kennke <kennke@aicas.com>
34648 * native/target/generic/target_generic_misc.c:
34649 (targetGenericMisc_formatString): Added missing method.
34651 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34653 * m4/acinclude.m4: Test also for ecj found before exiting configure
34654 with no javac found error message.
34656 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34659 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34660 \0123, \x1B, \u1234.
34661 (getEscapedChar): New method.
34662 (CharExpression): New inner class.
34663 (getCharExpression): New Method.
34664 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34665 RE_UNICODE_CHAR): New syntax bits.
34667 2006-01-19 Roman Kennke <kennke@aicas.com>
34669 * native/target/Makefile.am: Fixed so that posix stuff is really
34670 only built when requested.
34672 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34674 * javax/swing/JTable.java (editingStopped, editingCancelled):
34675 Repaint the edited cell.
34676 (setValueAt): Do not add the value object to this container.
34677 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34678 (editingStopped): Use editingRow, editingColumn and not
34679 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34680 (doLayout): Move the editor component, if present, into the new
34681 location and call repaint(). (moveToCellBeingEdited): new method.
34682 (TableTextField): new inner class.
34683 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34684 (setValueAt): Repaint the changed segment.
34685 (createDefaultEditors): Implemented.
34686 (BooleanCellRenderer): Center the checkbox and use the default foreground
34687 and background colors.
34688 * javax/swing/plaf/basic/BasicTableUI.java
34689 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34690 (paint): No need to allocate rectangle for each cell.
34691 * javax/swing/DefaultCellEditor.java: Rewritten.
34692 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34693 Use TableDemo.java table example.
34694 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34696 2006-01-19 Roman Kennke <kennke@aicas.com>
34698 * configure.ac: Added/fixed --enable-posix-layer option to enable
34699 build of posix layer.
34700 * native/target/Makefile.am: Added build for posix layer.
34702 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34704 * configure.ac: Set TARGET to Linux per default.
34705 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34707 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34708 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34711 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34713 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34714 what looked like proprietary documentation with original or new one.
34715 * java/security/spec/PSSParameterSpec.java: Likewise.
34716 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34717 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34718 * java/security/AlgorithmParameterGenerator.java: Likewise.
34719 * java/security/AlgorithmParameters.java: Likewise.
34720 * java/security/Identity.java: Likewise.
34721 * java/security/IdentityScope.java: Likewise.
34722 * java/security/KeyFactory.java: Likewise.
34723 * java/security/KeyPairGenerator.java: Likewise.
34724 * java/security/MessageDigest.java: Likewise.
34725 * java/security/Policy.java: Likewise.
34726 * java/security/ProtectionDomain.java: Likewise.
34727 * java/security/Security.java: Likewise.
34728 * java/security/Signature.java: Likewise.
34729 * java/security/SignatureSpi.java: Likewise.
34730 * java/security/SignedObject.java: Likewise.
34731 * java/security/Signer.java: Likewise.
34733 2006-01-18 Roman Kennke <kennke@aicas.com>
34735 * configure.ac: Added --enable-posix-layer option to enable
34736 build of the posix target layer.
34738 2006-01-18 Roman Kennke <kennke@aicas.com>
34740 * native/jni/java-net/java_net_VMInetAddress.c
34741 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34744 2006-01-18 Roman Kennke <kennke@aicas.com>
34746 * native/jni/java-util/java_util_VMTimeZone.c:
34747 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34748 to use target native layer.
34749 (jint_to_charbuf): Removed unneeded helper function.
34751 2006-01-18 Roman Kennke <kennke@aicas.com>
34753 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34754 Removed unnecessary include.
34755 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34756 Reorganized includes to only include sys/* headers when available.
34757 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34758 (get_pagesize): Return 0 when nothing else works.
34759 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34760 Replaced munmap() and strerror() with corresponding target macros.
34761 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34762 Replaced strerror() with corresponding target macro.
34763 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34764 Replaced strerror() with corresponding target macro.
34765 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34766 (Java_java_nio_VMDirectByteBuffer_allocate):
34767 Replaced malloc() with the corresponding target macro.
34768 (Java_java_nio_VMDirectByteBuffer_free):
34769 Replaced free() with the corresponding target macro.
34770 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34771 Add index to pointer when assigning the value.
34772 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34773 Replaced memcpy with corresponding target macro. Add index when
34774 doing the memcpy, not when fetching the pointer.
34775 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34776 Replaced memcpy with corresponding target macro.
34777 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34778 Replaced memmove with the corresponding target macro.
34780 2006-01-17 Tom Tromey <tromey@redhat.com>
34782 PR classpath/20198:
34783 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34784 (JarURLLoader): Likewise.
34785 (addURLImpl): Canonicalize file URLs.
34787 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34789 * configure.ac: Set TARGET.
34790 * native/Makefile.am, native/jni/classpath/Makefile.am,
34791 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34792 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34793 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34794 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34795 native/target/Linux/Makefile.am,
34796 native/target/generic/Makefile.am,
34797 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34798 and target stuff linked in and link it against lib*.so libraries.
34800 2006-01-17 Roman Kennke <kennke@aicas.com>
34802 * native/jni/java-net/javanet.c:
34803 (_javanet_connect): Changed type of some local variables to jint.
34804 Fixed error handling to throw a SocketTimeoutException if the
34805 connection attempt times out.
34806 (_javanet_bind): Changed type of some local variables to jint.
34807 (_javanet_accept): Likewise.
34808 (_javanet_recvfrom): Likewise.
34809 (_javanet_sendto): Fixed error handling to throw a
34810 PortUnreachableException when connection is refused.
34811 (_javanet_get_option): Changed type of some local variables to jint.
34812 Implemented SOCKOPT_SO_BROADCAST.
34813 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34814 target native macro.
34815 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34816 target native macro.
34817 * native/jni/java-net/javanet.h:
34818 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34819 SOCKOPT_SO_BROADCAST.
34821 2006-01-17 Lillian Angel <langel@redhat.com>
34823 * javax/swing/text/DefaultStyledDocument.java
34824 (insert): Cleaned up loop. No need to make so many calls
34825 to getAddedElements and getRemovedElements.
34826 (insertFracture): Removed unneeded array.
34828 2006-01-17 Lillian Angel <langel@redhat.com>
34830 * javax/swing/text/JTextComponent.java
34831 (AccessibleJTextComponent): Implemented.
34832 (getCaretPosition): Implemented.
34833 (getSelectedText): Implemented.
34834 (getSelectionStart): Implemented.
34835 (getSelectionEnd): Implemented.
34836 (getSelectionEnd): Implemented.
34837 (getCharCount): Implemented.
34838 (insertTextAtIndex): Implemented.
34839 (getTextRange): Implemented.
34840 (delete): Implemented.
34841 (cut): Implemented.
34842 (paste): Implemented.
34843 (replaceText): Implemented.
34844 (selectText): Implemented.
34846 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34848 * javax/swing/text/DefaultStyledDocument.java:
34849 (pad): New debugging method.
34850 (printElements): Likewise.
34851 (printPendingEdits): Likewise.
34852 (printElement): Likewise.
34853 (Edit): Improved docs, moved this class to be an inner class of
34854 ElementBuffer since it only applies within that scope. Changed added
34855 and removed to be Vectors instead of arrays because we need to be able
34856 to add to them after construction.
34857 (ElementBuffer): Updated docs with link to article that helped in this
34858 classes implementation.
34859 (ElementBuffer.Edit.getRemovedElements): New method.
34860 (ElementBuffer.Edit.getAddedElements): Likewise.
34861 (ElementBuffer.Edit.addRemovedElement): Likewise.
34862 (ElementBuffer.Edit.addRemovedElements): Likewise.
34863 (ElementBuffer.Edit.addAddedElement): Likewise.
34864 (ElementBuffer.Edit.addAddedElements): Likewise.
34865 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34867 (ElementBuffer.getEditForParagraphAndIndex): New method.
34868 (ElementBuffer.removeUpdate): Changed type of paragraph to
34869 BranchElement. Corrected style of adding the edit to use the new Edit
34871 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34872 the new Edit facilities.
34873 (ElementBuffer.split): Likewise.
34874 (ElementBuffer.insertParagraph): Likewise.
34875 (ElementBuffer.insertContentTag): Likewise.
34876 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34877 not just the root and the first one. Apply the structural changes to
34878 the tree at the same time as updating the DocumentEvent.
34879 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34880 handling of EndTags as the first ElementSpec. Instead have to handle
34881 ContentTags as a special case if they are the first ElementSpec and if
34882 not have to fracture the tree.
34883 (ElementBuffer.createFracture): New method. May not be complete yet.
34884 Added FIXME indicating what may remain to be done.
34885 (ElementBuffer.insertFirstContentTag): New method.
34886 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34887 be done. Changed the adding of edits to use the new Edit facilities.
34888 Removed the adding of edits for Elements that weren't in the tree prior
34890 (insertUpdate): Removed incorrect condition for setting a StartTag's
34891 direction to JoinNextDirection.
34892 * javax/swing/text/StyleContent.java:
34893 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34894 that was causing an ArrayOutOfBoundsException.
34896 2006-01-17 Roman Kennke <kennke@aicas.com>
34898 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34899 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34900 exception messages a little.
34901 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34902 alternative implementation for systems without filesystems.
34903 Replaced snprintf with the corresponding target native macro.
34904 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34905 Only do something when we have a filesystem.
34906 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34907 alternative implementation for systems without filesystems.
34908 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34909 alternative implementation for systems without filesystems.
34910 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34911 alternative implementation for systems without filesystems.
34912 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34913 Only do something when we have a filesystem.
34914 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34915 Only do something when we have a filesystem.
34916 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34917 alternative implementation for systems without filesystems.
34918 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34919 Replaced ssize_t variables with jint. Provided
34920 alternative implementation for systems without filesystems.
34921 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34922 Replaced ssize_t variables with jint. Provided
34923 alternative implementation for systems without filesystems.
34924 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34925 Replaced ssize_t variables with jint. Provided
34926 alternative implementation for systems without filesystems.
34927 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34928 Only do something when we have a filesystem.
34929 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34930 Replaced ssize_t variables with jint. Provided
34931 alternative implementation for systems without filesystems.
34932 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34933 to use the corresponding target native macro.
34934 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34935 to use the corresponding target native macro.
34937 2006-01-17 Lillian Angel <langel@redhat.com>
34939 * javax/swing/text/DefaultTextUI.java:
34940 Added deprecated tag.
34941 * javax/swing/text/JTextComponent.java
34942 (AccessibleJTextComponent): Fixed API doc and
34943 partiall9 implemented.
34944 (getCaretPosition): Fixed API doc and implemented.
34945 (getSelectedText): Fixed API doc.
34946 (getSelectionStart): Likewise.
34947 (getSelectionEnd): Likewise.
34948 (caretUpdate): Fixed API doc and
34949 partially implemented.
34950 (getAccessibleStateSet): Likewise.
34951 (getAccessibleRole): Fixed API doc and implemented.
34952 (getAccessibleEditableText): Implemented.
34953 (getAccessibleText): Fixed API doc and implemented.
34954 (insertUpdate): Fixed API doc.
34955 (changedUpdate): Likewise.
34956 (getIndexAtPoint): Likewise.
34957 (getRootEditorRect): Removed.
34958 (getCharacterBounds): Fixed API doc.
34959 (getCharCount): Likewise.
34960 (getCharacterAttribute): Likewise.
34961 (getAtIndex): Likewise.
34962 (getAfterIndex): Likewise.
34963 (getBeforeIndex): Likewise.
34964 (getAccessibleActionCount): Added function stub.
34965 (getAccessibleActionDescription): Added function,
34966 partially implemented.
34967 (doAccessibleAction): Added function stub.
34968 (setTextContents): Likewise.
34969 (insertTextAtIndex): Likewise.
34970 (delete): Likewise.
34973 (replaceText): Likewise.
34974 (selectText): Likewise.
34975 (setAttributes): Likewise.
34976 (getAccessibleContext): Implemented.
34978 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34981 * gnu/regexp/RETokenRange.java(constructor):
34982 Keep lo and hi as they are.
34983 (match): Changed the case insensitive comparison.
34985 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34987 * gnu/regexp/RETokenChar.java(chain):
34988 Do not concatenate tokens whose insens flags are diffent.
34990 2006-01-17 Roman Kennke <kennke@aicas.com>
34992 * native/target/generic/target_generic_network.c:
34993 (targetGenericNetwork_receive): Fixed signature to match the
34994 corresponding .h file.
34995 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34996 to match the corresponding .h file.
34998 2006-01-17 Roman Kennke <kennke@aicas.com>
35000 * native/jni/classpath/jcl.c:
35001 (JCL_malloc): Replaced calls to malloc with the corresponding
35002 target layer macro.
35003 (JCL_free): Replaced calls to free with the corresponding
35004 target layer macro.
35005 * native/jni/classpath/native_state.c:
35006 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
35007 calloc with the corresponding target layer macro.
35008 (remove_node): Replaced calls to free with the corresponding
35009 target layer macro.
35010 (add_node): Replaced calls to malloc with the corresponding
35011 target layer macro.
35013 2006-01-17 Roman Kennke <kennke@aicas.com>
35015 * native/jni/java-io/java_io_VMObjectStreamClass.c:
35016 (getFieldReference): Use MALLOC/FREE macros for portability instead
35017 of direct call to malloc() and free().
35019 2006-01-17 Roman Kennke <kennke@aicas.com>
35021 * native/jni/classpath/jcl.c: Added missing imports.
35022 (JCL_realloc): Fixed signature to include oldsize. This is needed
35023 for some targets. Make this function use the MEMORY_REALLOC macro
35025 * native/jni/classpath/jcl.h
35026 (JCL_realloc): Adjusted signature.
35027 * native/jni/java-io/java_io_VMFile.c:
35028 (Java_java_io_VMFile_create): Use target layer macro for handling
35029 errno, for portability.
35030 (Java_java_io_VMFile_length): Release filename string in error cases
35032 (Java_java_io_VMFile_list): Initialize filename variable. Use new
35033 version of JCL_realloc.
35034 * native/jni/java-net/java_net_VMInetAddress.c:
35035 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35036 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35037 * native/jni/java-net/javanet.c:
35038 (_javanet_bind): Make errorstr variable const to avoid compiler
35040 (_javanet_set_option): Fixed typo.
35041 (_javanet_get_option): Fixed typo.
35042 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35043 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35044 error_string variable const to avoid compiler warning.
35045 * native/target/generic/target_generic_file.h:
35046 Replaced // comments with /* */ comments to avoid compiler warnings.
35047 Added some spaces to make code better readable.
35048 * native/target/generic/target_generic_memory.h:
35049 Replaced // comments with /* */ comments to avoid compiler warnings.
35050 * native/target/generic/target_generic_misc.c:
35051 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35052 compiler warnings due to use of varargs.
35053 * native/target/generic/target_generic_misc.h:
35054 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35055 compiler warnings due to use of varargs.
35056 * native/target/generic/target_generic_network.h:
35057 Replaced // comments with /* */ comments to avoid compiler warnings.
35058 (targetGenericNetwork_receive): Fixed signature to use signed chars
35059 for buffer parameter to avoid warning when passing a jbyte to the
35062 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
35064 * javax/swing/text/StyleConstants.java
35065 (getAlignment): Removed isDefined() check, so that resolving parent is
35067 (getBackground): Likewise, plus changed default value to Color.BLACK,
35068 (getBidiLevel): Removed isDefined() check,
35069 (getComponent): Likewise,
35070 (getFirstLineIndent): Likewise,
35071 (getFontFamily): Likewise,
35072 (getFontSize): Likewise,
35073 (getForeground): Likewise,
35074 (getIcon): Likewise,
35075 (getLeftIndent): Likewise,
35076 (getLineSpacing): Likewise,
35077 (getRightIndent): Likewise,
35078 (getSpaceAbove): Likewise,
35079 (getSpaceBelow): Likewise,
35080 (getTabSet): Likewise,
35081 (isBold): Likewise,
35082 (isItalic): Likewise,
35083 (isStrikeThrough): Likewise,
35084 (isSubscript): Likewise,
35085 (isSuperscript): Likewise,
35086 (isUnderline): Likewise.
35088 2006-01-17 Gary Benson <gbenson@redhat.com>
35090 * java/lang/System.java (setSecurityManager): Catch
35091 ClassNotFoundException not Throwable.
35093 2006-01-16 Anthony Green <green@redhat.com>
35096 * gnu/java/net/protocol/http/Request.java
35097 (createResponseBodyStream): Remove Content-Encoding for
35098 compressed streams.
35100 2006-01-16 Chris Burdess <dog@gnu.org>
35102 * gnu/xml/stream/XMLParser.java,
35103 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35104 XMLStreamWriter arguments for conformance to the XML specifications.
35105 * gnu/xml/transform/Stylesheet.java,
35106 gnu/xml/transform/Template.java,
35107 gnu/xml/transform/TransformerImpl.java,
35108 gnu/xml/xpath/LangFunction.java,
35109 gnu/xml/xpath/Selector.java: better handling of template priorities;
35110 fix indents when pretty-printing; recursive tests for xml:lang.
35111 * gnu/xml/util/XHTMLWriter.java,
35112 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35114 2006-01-16 Roman Kennke <kennke@aicas.com>
35116 * native/target/MinGW/.cvsignore: New file.
35117 * native/target/RTEMS/.cvsignore: New file.
35118 * native/target/SunOS/.cvsignore: New file.
35119 * native/target/embOS/.cvsignore: New file.
35120 * native/target/posix/.cvsignore: New file.
35122 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35124 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35126 2006-01-16 Roman Kennke <kennke@aicas.com>
35128 * configure.ac: Include new target native directories in build.
35130 2006-01-16 Roman Kennke <kennke@aicas.com>
35132 * native/target/generic/target_generic_file.h: Added missing
35134 * native/target/generic/target_generic_network.c: Fixed several
35135 typos and includes.
35136 * native/target/generic/target_generic_network.h: Likewise.
35138 2006-01-16 Roman Kennke <kennke@aicas.com>
35140 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35141 to include the new targets.
35142 * native/target/posix/Makefile.am: Fixed filenames.
35144 2006-01-16 Roman Kennke <kennke@aicas.com>
35146 * native/target/Makefile.am: Include new targets.
35147 * native/target/Linux/Makefile.am: Include new memory layer.
35148 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35149 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35150 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35151 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35152 * native/target/generic/Makefile.am: Include new memory and math
35154 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35156 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35159 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35160 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35162 2006-01-16 Roman Kennke <kennke@aicas.com>
35164 * native/target/generic/target_generic_network.c: Fixed typo.
35165 * native/target/generic/target_generic_network.h: Fixed typo.
35167 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35169 * doc/vmintegration.texinfo: Updated subsection of the
35170 java.lang.InstrumentationImpl documentation.
35172 2006-01-16 Roman Kennke <kennke@aicas.com>
35174 * native/target/RTEMS/target_native.h,
35175 * native/target/RTEMS/target_native_file.h,
35176 * native/target/RTEMS/target_native_io.h,
35177 * native/target/RTEMS/target_native_math.h,
35178 * native/target/RTEMS/target_native_memory.h,
35179 * native/target/RTEMS/target_native_misc.h,
35180 * native/target/RTEMS/target_native_network.h:
35181 New files. Implement the target native layer for the RTEMS platform.
35183 2006-01-16 Roman Kennke <kennke@aicas.com>
35185 * native/target/SunOS/target_native.h,
35186 * native/target/SunOS/target_native_file.h,
35187 * native/target/SunOS/target_native_io.h,
35188 * native/target/SunOS/target_native_math.h,
35189 * native/target/SunOS/target_native_memory.h,
35190 * native/target/SunOS/target_native_misc.h,
35191 * native/target/SunOS/target_native_network.h:
35192 New files. Implement the target native layer for the SunOS platform.
35194 2006-01-16 Roman Kennke <kennke@aicas.com>
35196 * native/target/MinGW/target_native.h,
35197 * native/target/MinGW/target_native_file.h,
35198 * native/target/MinGW/target_native_io.h,
35199 * native/target/MinGW/target_native_math.h,
35200 * native/target/MinGW/target_native_memory.h,
35201 * native/target/MinGW/target_native_misc.h,
35202 * native/target/MinGW/target_native_network.h:
35203 New files. Implement the target native layer for the MinGW
35206 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35209 * javax/swing/DefaultCellEditor.java
35210 (delegate): Assign new instance immediately.
35211 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35212 (getTableCellEditorComponent): Rewritten.
35213 (prepareAsJTextField):New method (add listener only once).
35214 * javax/swing/JTable.java
35215 (editingCanceled): Rewritten.
35216 (editingStopped ): Rewritten.
35217 (rowAtPoint): Mind row margin.
35218 (getCellRect): Mind row margin.
35219 (getDefaultEditor): Removing JTextComponent border.
35220 (editCellAt): Rewritten.
35221 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35222 Activate editing mode by the mouse clicks.
35223 (getMaximumSize): Mind row margin.
35224 (getPreferredSize): Mind row margin.
35225 (TableAction): Added 'stop editing' command.
35227 2006-01-16 Roman Kennke <kennke@aicas.com>
35229 * jni/java-io/java_io_VMFile.c
35230 (Java_java_io_VMFile_list): Use new 4 argument version of
35231 TARGET_NATIVE_FILE_READ_DIR macro.
35232 * target/Linux/target_native_io.h: Fixed comment at #endif.
35233 * target/Linux/target_native_memory.h: New file. Contains
35234 portability macros for memory operations.
35235 * target/generic/target_generic.c: New file. Contains some functions
35237 * target/generic/target_generic.h: Use posix target and shorter macro
35238 names if CP_NEW is set.
35239 * target/generic/target_generic_file.h: Use posix target and shorter
35240 macro names if CP_NEW is set.
35241 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35242 * target/generic/target_generic_io.c: New file. Contains some
35243 functions for IO portability.
35244 * target/generic/target_generic_io.h: Use posix target and shorter
35245 macro names if CP_NEW is set.
35246 * target/generic/target_generic_misc.c: New file. Contains some
35247 functions for miscallaneaous portability issues.
35248 * target/generic/target_generic_misc.h: Use posix target and shorter
35249 macro names if CP_NEW is set.
35250 * target/generic/target_generic_network.c: New file. Contains some
35251 functions for networking portability.
35252 * target/generic/target_generic_network.h: Use posix target and
35253 shorter macro names if CP_NEW is set.
35254 * target/posix/Makefile.am,
35255 * target/posix/target_posix.c,
35256 * target/posix/target_posix.h,
35257 * target/posix/target_posix_file.c,
35258 * target/posix/target_posix_file.h,
35259 * target/posix/target_posix_io.c,
35260 * target/posix/target_posix_io.h,
35261 * target/posix/target_posix_math.c,
35262 * target/posix/target_posix_math.h,
35263 * target/posix/target_posix_memory.c,
35264 * target/posix/target_posix_memory.h,
35265 * target/posix/target_posix_misc.c,
35266 * target/posix/target_posix_misc.h,
35267 * target/posix/target_posix_network.c,
35268 * target/posix/target_posix_network.h:
35269 New files. This implements the target native layer macros for
35270 Posix-like systems.
35272 2006-01-16 Gary Benson <gbenson@redhat.com>
35274 * java/net/SocketPermission.java (implies): Fix action checks.
35276 2006-01-16 Roman Kennke <kennke@aicas.com>
35278 * native/target/generic/target_generic_math_float.h: Removed. This
35279 file has been replaced by target_generic_math.h.
35280 * native/target/generic/target_generic_math_int.h: Removed. This
35281 file has been replaced by target_generic_math.h.
35282 * native/target/generic/target_generic_math.h: New file. Replaces
35283 the old _int and _float versions.
35284 * native/target/Linux/target_native_math_float.h: Removed. This
35285 file has been replaced by target_native_math.h.
35286 * native/target/Linux/target_native_math_int.h: Removed. This
35287 file has been replaced by target_native_math.h.
35288 * native/target/Linux/target_native_math.h: New file. Replaces
35289 the old _int and _float versions.
35290 * native/target/Linux/Makefile.am: Adjusted for the changed
35292 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35293 instead of target_native_math_int.h.
35294 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35296 * native/target/generic/target_generic_file.h: Likewise.
35298 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35300 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35302 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35304 * javax/swing/text/SimpleAttributeSet.java
35305 (SimpleAttributeSet()): Initialise storage directly,
35306 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35307 NullPointerException,
35308 (containsAttribute): If key is found locally, don't check resolving
35309 parent if the value doesn't match,
35310 (getAttribute): Removed redundant instanceof and cast.
35312 2006-01-16 Gary Benson <gbenson@redhat.com>
35314 * java/lang/System.java (setSecurityManager): Ensure policy
35315 files are loaded before a security manager is put in place.
35317 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35319 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35321 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35323 * javax/print/attribute/standard/MediaSize.java:
35324 (static_initializer): Added comment.
35325 (MediaSize): Added javadoc to mention cache registration.
35326 (MediaSize): Likewise.
35327 (MediaSize): Likewise.
35328 (MediaSize): Likewise.
35330 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35333 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35334 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35335 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35336 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35338 (toString): Added method implementation.
35339 (LoginModuleControlFlag.toString): Removed class name from result.
35340 * javax/security/auth/login/Configuration.java: Updated copyright year.
35341 (getConfig(): replaced calls to NullConfiguration with
35344 2006-01-15 Tom Tromey <tromey@redhat.com>
35346 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35347 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35348 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35349 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35350 (setPersistenceDelegate): Likewise.
35352 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35354 * javax/print/attribute/standard/PrinterStateReasons.java:
35355 (printerStateReasonSet): Genericize the return type.
35357 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35359 * javax/swing/table/DefaultTableCellRenderer.java
35360 (getTableCellRendererComponent): Render null as the empty cell.
35362 2006-01-14 Anthony Green <green@redhat.com>
35364 * java/net/ServerSocket.java (accept): Remove bogus
35366 (implAccept): Add FIXME comment.
35368 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35371 * javax/print/Doc.java: Added and enhanced documentation.
35372 * javax/print/SimpleDoc.java: New file.
35374 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35376 * javax/print/attribute/standard/MediaSize.java:
35377 (Other.TABLOID): New MediaSize added in 1.5
35379 2006-01-14 Chris Burdess <dog@gnu.org>
35381 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35382 correctly when I/O and runtime exceptions occur during parsing.
35384 2006-01-13 Roman Kennke <kennke@aicas.com>
35386 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35387 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35388 * gnu/java/awt/peer/swing/SwingComponent.java,
35389 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35390 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35391 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35392 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35393 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35394 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35395 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35396 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35397 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35398 * gnu/java/awt/peer/swing/SwingToolkit.java,
35399 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35400 * gnu/java/awt/peer/swing/package.html:
35401 New files. Implemented some basic AWT peers based on Swing.
35403 2006-01-13 Roman Kennke <kennke@aicas.com>
35405 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35407 2006-01-13 Roman Kennke <kennke@aicas.com>
35409 * java/awt/MenuComponent.java: Reformatted to better match our
35412 2006-01-13 Roman Kennke <kennke@aicas.com>
35414 * java/awt/Frame.java: Reformatted to better match our
35417 2006-01-13 Roman Kennke <kennke@aicas.com>
35419 * java/awt/MenuBar.java
35420 (accessibleContext): Removed unnecessary field. This is already
35421 defined in MenuComponent.
35422 (setHelpMenu): Renamed the peer variable to myPeer because it was
35423 hiding a field of MenuComponent.
35424 (addNotify): Removed unnecessary cast.
35426 2006-01-13 Roman Kennke <kennke@aicas.com>
35428 * java/awt/MenuBar.java: Reformatted to better match our
35431 2006-01-13 Roman Kennke <kennke@aicas.com>
35433 * java/awt/MenuBar.java
35434 (frame): New field.
35435 (removeNotify): Clear frame field when beeing removed from the
35437 * java/awt/Frame.java
35438 (setMenuBar): Store a reference of the frame in the MenuBar.
35439 * java/awt/MenuComponent.java
35440 (postEvent): Implemented to forward the call to the parent until
35441 a parent can handle the event.
35442 (dispatchEvent): Moved handling of old style events from
35443 dispatchEventImpl() to here.
35444 (dispatchEventImpl): Moved handling of old style events to
35447 2006-01-13 Roman Kennke <kennke@aicas.com>
35449 * java/awt/Component.java
35450 (dispatchEvent): Moved handling of old style events from
35451 dispatchEventImpl() to this method.
35452 (translateEvent): Removed unnecessary cast.
35453 (dispatchEventImpl): Moved handling of old style events to
35456 2006-01-13 Lillian Angel <langel@redhat.com>
35458 * javax/swing/text/DefaultStyledDocument.java
35459 (createDefaultRoot): Removed FIXME.
35460 (setLogicalStyle): Added fireUndoableEditUpdate call and
35463 2006-01-13 Lillian Angel <langel@redhat.com>
35465 * javax/swing/text/DefaultStyledDocument.java
35466 (Edit): New inner class.
35467 (changeUpdate): Changed addEdit call to add a new
35468 instance of Edit to the edits Vector, so addEdits can
35471 (insertParagraph): Likewise.
35472 (insertFracture): Likewise.
35473 (insertContentTag): Likewise.
35474 (insert): Added loop to go through edits Vector and perform
35475 addEdit on each object.
35477 2006-01-13 Chris Burdess <dog@gnu.org>
35479 * gnu/xml/transform/AbstractNumberNode.java,
35480 gnu/xml/transform/ApplyImportsNode.java,
35481 gnu/xml/transform/ApplyTemplatesNode.java,
35482 gnu/xml/transform/AttributeNode.java,
35483 gnu/xml/transform/CallTemplateNode.java,
35484 gnu/xml/transform/ChooseNode.java,
35485 gnu/xml/transform/CommentNode.java,
35486 gnu/xml/transform/CopyNode.java,
35487 gnu/xml/transform/CopyOfNode.java,
35488 gnu/xml/transform/DocumentFunction.java,
35489 gnu/xml/transform/ElementNode.java,
35490 gnu/xml/transform/ForEachNode.java,
35491 gnu/xml/transform/IfNode.java,
35492 gnu/xml/transform/LiteralNode.java,
35493 gnu/xml/transform/MessageNode.java,
35494 gnu/xml/transform/OtherwiseNode.java,
35495 gnu/xml/transform/ParameterNode.java,
35496 gnu/xml/transform/ProcessingInstructionNode.java,
35497 gnu/xml/transform/Stylesheet.java,
35498 gnu/xml/transform/Template.java,
35499 gnu/xml/transform/TemplateNode.java,
35500 gnu/xml/transform/TextNode.java,
35501 gnu/xml/transform/TransformerImpl.java,
35502 gnu/xml/transform/ValueOfNode.java,
35503 gnu/xml/transform/WhenNode.java,
35504 gnu/xml/xpath/NodeTypeTest.java,
35505 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35506 with-param parameters when template does not define parameters; apply
35507 conflict resolution for templates; strip whitespace on documents
35508 retrieved via document() function; allow node() to match document
35511 2006-01-13 Mark Wielaard <mark@klomp.org>
35513 * doc/www.gnu.org/announce/20060113.wml: New file.
35514 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35515 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35517 2006-01-13 Lillian Angel <langel@redhat.com>
35519 * javax/swing/text/DefaultStyledDocument.java:
35520 Removed unused fields.
35521 (insert): Removed unused fields.
35522 (endEdit): Removed, not needed.
35523 (insertUpdate): Removed call to endEdit.
35524 (prepareContentInsertion): Removed, not needed.
35525 (insertContentTag): Removed call to prepareContentInsertion.
35526 (printElements): Removed, not needed.
35527 (attributeSetsAreSame): Removed, not needed.
35529 2005-01-13 Mark Wielaard <mark@klomp.org>
35531 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35532 Duplicate of toString(int, StringBuilder).
35534 2005-01-13 Mark Wielaard <mark@klomp.org>
35536 * configure.ac: Set version to 0.20.
35537 * NEWS: Add entries for all the new work done.
35539 2005-01-13 Mark Wielaard <mark@klomp.org>
35541 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35543 2005-01-13 Mark Wielaard <mark@klomp.org>
35545 * java/util/regex/Pattern.java (Pattern): Chain REException.
35547 2006-01-13 Chris Burdess <dog@gnu.org>
35549 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35551 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35553 * java/security/Security.java
35554 (getProperty): Added hack to skip security check when trusted
35555 code is direct caller.
35557 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35559 * java/io/PrintStream.java
35560 (line_separator, PrintStream(OutputStream,boolean)): Use
35563 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35565 * gnu/java/nio/charset/Provider.java: Added comment about its
35566 special relation with CharsetProvider.
35568 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35569 its special relation with CharsetProvider.
35571 * java/nio/charset/spi/CharsetProvider.java
35572 (CharsetProvider): Add special case to skip security check for
35573 built in providers.
35575 2005-01-13 Mark Wielaard <mark@klomp.org>
35577 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35578 name, accel, mnemonic and command are defined before setting.
35580 2005-01-12 Mark Wielaard <mark@klomp.org>
35582 * javax/swing/plaf/metal/MetalFileChooserUI.java
35583 (FileRenderer.getListCellRendererComponent): Set empty name and null
35584 icon when File is null.
35586 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35588 * gnu/java/rmi/server/UnicastRef.java (newCall):
35589 Throw ConnectException after catching IOException.
35591 2006-01-12 Lillian Angel <langel@redhat.com>
35593 * javax/swing/text/DefaultStyledDocument.java
35594 (insertUpdate): Removed unneeded check.
35596 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35598 * javax/swing/text/DefaultStyledDocument.java:
35599 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35600 and we haven't come immediately after a fracture, adjust the Element
35601 offsets. Added comment explaining the situation.
35602 (insert): Return early if no ElementSpecs passed in. Removed redundant
35603 call to insertUpdate. Fired the UndoableEditUpdate.
35605 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35608 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35609 character classes within a subexpression.
35611 2006-12-12 Lillian Angel <langel@redhat.com>
35613 * javax/swing/text/DefaultStyledDocument.java
35614 (insertUpdate): Added check to check if attribute set is
35616 (insertUpdate): Added check to determine if last character
35617 is a newline. If it is, we should not be fracturing.
35618 (insert): Added check to determine if attribute set is empty.
35619 If it is, insertUpdate should not be called.
35621 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35623 * configure.ac: Check for isnan.
35625 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35628 2006-01-12 Chris Burdess <dog@gnu.org>
35630 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35631 1.1 character ranges.
35633 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35635 * javax/swing/TransferHandler.java:
35636 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35637 gnu/testlet/javax/swing/JTextField/CopyPaste.
35639 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35641 * resource/Makefile.am: Install
35642 logging.properties into $(prefix)/lib.
35643 * resource/Makefile.am (securitydir): Changed to
35644 $(prefix)/lib/security.
35646 2006-01-12 Roman Kennke <kennke@aicas.com>
35648 * javax/swing/JTextField.java
35649 (createDefaultModel): Moved installation of the filterNewlines
35650 property to setDocument().
35651 (setDocument): New method. Installs the filterNewlines property
35654 2006-01-12 Chris Burdess <dog@gnu.org>
35656 * gnu/xml/dom/DomNode.java,
35657 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35659 * gnu/xml/xpath/NameTest.java,
35660 gnu/xml/xpath/NamespaceTest.java,
35661 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35663 * gnu/xml/transform/MessageNode.java: Use standard logging system
35664 for outputting messages.
35666 2006-01-12 Tom Tromey <tromey@redhat.com>
35668 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35669 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35670 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35671 (static initializer): Removed cache code.
35672 (checkCacheFor, addToCache): Removed.
35673 (getAllByName): Removed cache code.
35674 (lookup_time): Removed.
35675 (InetAddress): Updated.
35677 2006-01-12 Chris Burdess <dog@gnu.org>
35679 * gnu/xml/dom/DomDocument.java,
35680 gnu/xml/dom/DomElement.java,
35681 gnu/xml/dom/DomNode.java,
35682 gnu/xml/stream/XMLParser.java,
35683 gnu/xml/transform/Bindings.java,
35684 gnu/xml/transform/ElementAvailableFunction.java,
35685 gnu/xml/transform/ElementNode.java,
35686 gnu/xml/transform/FunctionAvailableFunction.java,
35687 gnu/xml/transform/NamespaceProxy.java,
35688 gnu/xml/transform/StreamSerializer.java,
35689 gnu/xml/transform/Stylesheet.java,
35690 gnu/xml/transform/TransformerImpl.java,
35691 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35692 document and element nodes; correct coalescing semantics when parsing;
35693 attribute-sets can only refer to top-level variables and parameters;
35694 fix namespace retrieval during element-available and
35695 function-available functions; implement xsl:fallback for extension
35696 elements; tokenize whitespace correctly during whitespace stripping;
35697 correct following and previous node axes selectors.
35699 2006-01-12 Roman Kennke <kennke@aicas.com>
35701 * java/util/Hashtable.java
35702 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35703 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35705 2006-01-12 Lillian Angel <langel@redhat.com>
35707 * javax/swing/text/GapContent.java
35708 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35710 2006-01-12 Mark Wielaard <mark@klomp.org>
35712 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35713 Throw UnknowHostException when name could not be resolved.
35715 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35717 * java/net/URL.java
35718 (static, getURLStreamHandler): Use SystemProperties.
35720 2006-01-12 Mark Wielaard <mark@klomp.org>
35722 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35723 Use packet.getLength().
35724 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35725 (nativeReceive): Check whether the receiver wants zero bytes.
35727 2006-01-12 Mark Wielaard <mark@klomp.org>
35729 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35730 other side orderly closed connection.
35731 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35732 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35733 when end of stream reached.
35735 2006-01-12 Mark Wielaard <mark@klomp.org>
35737 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35739 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35740 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35741 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35742 * native/jni/java-net/javanet.c: Likewise.
35744 2006-01-12 Mark Wielaard <mark@klomp.org>
35746 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35747 PR classpath/23863.
35749 2006-01-11 Chris Burdess <dog@gnu.org>
35751 * gnu/xml/transform/AttributeNode.java,
35752 gnu/xml/transform/ElementNode.java,
35753 gnu/xml/transform/LiteralNode.java,
35754 gnu/xml/transform/StreamSerializer.java,
35755 gnu/xml/transform/StrippingInstruction.java,
35756 gnu/xml/transform/Stylesheet.java,
35757 gnu/xml/transform/TransformerImpl.java,
35758 gnu/xml/transform/ValueOfNode.java,
35759 gnu/xml/xpath/Expr.java,
35760 gnu/xml/xpath/LocalNameFunction.java,
35761 gnu/xml/xpath/NameFunction.java,
35762 gnu/xml/xpath/NameTest.java,
35763 gnu/xml/xpath/NamespaceUriFunction.java,
35764 gnu/xml/xpath/NodeTypeTest.java,
35765 gnu/xml/xpath/SubstringFunction.java,
35766 javax/xml/namespace/QName.java: don't determine element namespace
35767 from namespace aliases when specified; better namespace handling
35768 when serializing elements; don't create HTML meta element unless
35769 head element exists; correct encoding of CDATA sections containing
35770 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35771 default encoding for HTML output; rewrite of XSLT
35772 strip-space/preserve-space handling; correct doctype-public and
35773 doctype-system output attributes; insert generated doctype before
35774 document element; fixed result tree whitespace stripping
35775 algorithm; fixed semantics of XPath name, local-name, and
35776 namespace-uri functions; name tests handle XML/XMLNS namespaces
35777 correctly; fixed semantics of processing-instruction node test.
35778 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35781 2006-01-11 Lillian Angel <langel@redhat.com>
35783 * javax/swing/text/DefaultStyledDocument.java
35784 (insertFracture): Added calls to addEdit for each time a structure
35785 is changed. addEdit is called on the newBranch, previous, and parent
35788 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35790 * javax/swing/text/DefaultStyledDocument.java:
35791 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35792 This will have been taken care of in insertFracture. Added a comment
35793 explaining that we need to add edits to the DocumentEvent and that
35794 this may be the place to do it.
35796 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35798 * javax/swing/text/DefaultStyledDocument.java:
35799 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35800 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35801 elementStack when there is a start tag with JoinNextDirection.
35803 2006-01-11 Roman Kennke <kennke@aicas.com>
35805 Reported by: Fridjof Siebert <siebert@aicas.com>
35806 * java/util/Hashtable.java
35807 (KEYS): Removed unneeded field.
35808 (VALUES): Removed unneeded field.
35809 (ENTRIES): Removed unneeded field.
35810 (keys): Return a KeyEnumerator instance.
35811 (elements): Returns a ValueEnumerator instance.
35812 (toString): Use an EntryIterator instance.
35813 (keySet): Return a KeyIterator instance.
35814 (values): Return a ValueIterator instance.
35815 (entrySet): Return an EntryIterator instance.
35816 (hashCode): Use EntryIterator instance.
35817 (rehash): Changed this loop to avoid redundant reads and make
35818 it obvious that null checking is not needed.
35819 (writeObject): Use EntryIterator instance.
35820 (HashIterator): Removed class.
35821 (Enumerator): Removed class.
35822 (EntryIterator): New class.
35823 (KeyIterator): New class.
35824 (ValueIterator): New class.
35825 (EntryEnumerator): New class.
35826 (KeyEnumerator): New class.
35827 (ValueEnumerator): New class.
35829 2006-01-11 Lillian Angel <langel@redhat.com>
35831 * javax/swing/text/DefaultStyledDocument.java
35832 (toString): Shouldn't append the '>' character here.
35833 (createDefaultRoot): Should not set the resolve parent. This
35834 causes problems when comparing attribute sets.
35836 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35838 * javax/swing/text/DefaultStyledDocument.java:
35839 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35841 (ElementBuffer.insertFracture): New method.
35842 (ElementBuffer.insertContentTag): Removed unnecessary case for
35843 JoinFractureDirection - this only applies to start tags, not content
35845 (insertUpdate): Corrected conditions for setting direction to
35848 2006-01-10 Roman Kennke <kennke@aicas.com>
35850 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35851 * ChangeLog-2005: New File.
35853 2006-01-10 Roman Kennke <kennke@aicas.com>
35855 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35856 (get): Release the array with the correct pointer.
35857 (put): Release the array with the correct pointer. Copy the array
35858 around _before_ releasing it.
35860 2006-01-10 Roman Kennke <kennke@aicas.com>
35862 * javax/swing/ViewportLayout.java
35863 (layoutContainer): Fixed condition, to avoid ClasscastException.
35865 2006-01-10 Roman Kennke <kennke@aicas.com>
35867 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35868 (MouseHandler.mousePressed): Fixed indendation.
35869 (MouseHandler.mouseDragged): Fixed indendation.
35871 2006-01-10 Roman Kennke <kennke@aicas.com>
35873 * javax/swing/plaf/basic/BasicLookAndFeel.java
35874 (playSound): Added @since 1.4 to the API docs.
35876 2006-01-10 Roman Kennke <kennke@aicas.com>
35878 * javax/swing/plaf/basic/BasicListUI.java
35879 (maybeUpdateLayoutState): Also update the layout state, if the
35880 list has been invalidated since the last update.
35882 2006-01-10 Roman Kennke <kennke@aicas.com>
35884 * javax/swing/plaf/ComponentUI.java
35885 (update): Fixed indendation.
35887 2006-01-10 Roman Kennke <kennke@aicas.com>
35889 * javax/swing/ViewportLayout.java
35890 (layoutContainer): Fixed condition, so that Scrollable components
35891 are always forced to have to Viewport size, when they
35892 return true for getScrollableTracksViewportHeight() and ..Width().
35894 2006-01-10 Roman Kennke <kennke@aicas.com>
35896 * javax/swing/RepaintManager.java
35897 (validateInvalidComponents): Fixed condition to avoid NPE.
35899 2006-01-10 Roman Kennke <kennke@aicas.com>
35901 * javax/swing/JViewport.java:
35902 (static_initializer): Removed unused variable myScrollMode.
35904 2006-01-10 Roman Kennke <kennke@aicas.com>
35906 * javax/swing/JTabbedPane.java:
35907 Cleared API docs a little.
35909 2006-01-10 Roman Kennke <kennke@aicas.com>
35911 * java/util/StringTokenizer.java
35912 (StringTokenizer(String, String, boolean)):
35913 Don't trigger NPE here for conformance with the spec.
35915 2006-01-10 Roman Kennke <kennke@aicas.com>
35917 * java/util/ArrayList.java
35918 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35920 2006-01-10 Roman Kennke <kennke@aicas.com>
35922 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35923 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35924 field to avoid NPE.
35926 2006-01-10 Roman Kennke <kennke@aicas.com>
35928 * native/jni/java-net/javanet.c
35929 (_javanet_shutdownOutput): Replaced strerror() with
35930 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35931 (_javanet_shutdownInput): Replaced strerror() with
35932 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35934 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35936 * java/beans/EventSetDescriptor.java: Reformatted and
35939 2006-01-10 Roman Kennke <kennke@aicas.com>
35941 * java/lang/SecurityManager.java
35942 Fully qualified AWT class references in API docs.
35944 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35946 * java/beans/EventSetDescriptor.java:
35947 (getGetListenerMethod): New method.
35949 2006-01-10 Mark Wielaard <mark@klomp.org>
35951 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35953 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35956 * java/util/Hashtable.java
35957 (contains): Call equals on existing value.
35958 (containsKey, get, put, remove): Call equals on existing key.
35959 (getEntry): Call equals on existing entry.
35961 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35964 * java/util/AbstractMap.java
35965 (equals(Object,Object)): Test for identity first.
35966 * java/util/WeakHashMap.java
35967 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35968 (WeakBucket.WeakEntry.toString): Fixed string representation of
35970 (internalGet): Use helper method to determine equality.
35972 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35974 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35977 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35979 * javax/swing/text/PlainDocument.java:
35980 (insertUpdate): Handle special case of an insertion immediately
35981 following a newline character.
35983 2006-01-09 Roman Kennke <kennke@aicas.com>
35985 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35986 (connect): Added stream parameter to _connect() call.
35987 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35988 (connect): Added stream parameter to _connect() call.
35989 * native/jni/java-net/javanet.c
35990 (_javanet_create_localfd): Added stream parameter. Look up
35991 fd field based on the stream parameter either in SocketImpl or
35992 in DatagramSocketImpl.
35993 (_javanet_connect): Added stream parameter. Call create_localfd
35994 using this stream parameter. Set localPort field either in
35995 SocketImpl or in DatagramSocketImpl, depending on the stream
35997 * native/jni/java-net/javanet.c
35998 (_javanet_connect): Added stream parameter.
36000 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36002 * javax.management.Attribute.java: Grammar and
36005 2006-01-09 Mark Wielaard <mark@klomp.org>
36007 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
36008 exception when channel is not readable or writable.
36009 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
36010 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
36011 there is enough space to mmap().
36013 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36015 * java/beans/Introspector.java:
36016 (getBeanInfo(Class, int)): New method.
36017 (getBeanInfo(Class, Class): Moved common code in a new method.
36018 (merge): New method.
36020 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36022 * java/beans/XMLEncoder.java: Fix spelling mistakes.
36024 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
36026 * javax/swing/text/DefaultStyledDocument.java:
36027 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36028 inlined this method because it needs to change the value of the
36029 finalStartTag and finalStartDirection variables.
36030 (checkForInsertAfterNewline): Removed this method.
36031 (handleInsertAfterNewline): Added case for making the start tag's
36032 direction JoinNextDirection.
36034 2006-01-09 Lillian Angel <langel@redhat.com>
36036 * javax/swing/plaf/basic/BasicTreeUI.java:
36038 (setRowHeight): Row height is set to the max height of
36039 all the nodes, or 20 as a default value.
36040 (getPathBounds): Cleaned up code.
36041 (getMaxHeight): New helper function that gets the max
36042 height of all the rows.
36043 (getClosestPathForLocation): Fixed to use getMaxHeight.
36044 (updateCachedPreferredSize): Likewise.
36045 (installUI): Shouldn't expand tree on startup.
36046 (getNodeDimensions): Fixed to use getMaxHeight.
36048 2006-01-09 Mark Wielaard <mark@klomp.org>
36050 * javax/swing/JList.java (setSelectedIndex): Clear selection when
36051 argument is negative.
36053 2006-01-08 Mark Wielaard <mark@klomp.org>
36055 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36057 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36059 * javax.management.Attribute.java: New file.
36061 2006-01-09 Roman Kennke <kennke@aicas.com>
36063 * java/net/DatagramSocketImpl.java
36064 (localPort): Renamed to localport for correct access from native
36067 2006-01-09 Roman Kennke <kennke@aicas.com>
36069 * javax/swing/Popup.java
36070 (LightweightPopup.hide): Repaint the layered pane when popup is
36073 2006-01-09 Roman Kennke <kennke@aicas.com>
36075 * java/awt/Container.java
36076 (remove): Don't repaint the container here.
36078 2006-01-08 Tom Tromey <tromey@redhat.com>
36080 * java/lang/InheritableThreadLocal.java: Organized imports.
36082 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
36085 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36086 when an empty string matched an empty token.
36088 2006-01-08 Chris Burdess <dog@gnu.org>
36090 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36091 content models from external entities.
36092 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36093 attempting to continue with unpaired surrogates.
36094 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36095 resolving entities with character entity references; better
36096 checking of valid character ranges; don't report an error for URI
36097 fragments in notation declarations; check unbound namespace
36098 prefixes for elements and attributes, including XML 1.1 unbinding
36099 syntax; namespace-aware checking of attribute duplicates.
36101 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36103 * java/beans/Statement.java: Doc fixes.
36104 (doExecute): Workaround for Class.forName call.
36105 (toString): Made output look more like on the JDK.
36106 * java/beans/Expression.java: Doc fixes.
36107 (toString): Made output look more like on the JDK.
36108 * java/beans/PersistenceDelegate.java,
36109 java/beans/DefaultPersistenceDelegate.java,
36110 java/beans/Encoder.java,
36111 java/beans/XMLEncoder.java: New file.
36112 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36113 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36114 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36115 gnu/java/beans/encoder/Context.java,
36116 gnu/java/beans/encoder/GenericScannerState.java,
36117 gnu/java/beans/encoder/IgnoringScannerState.java,
36118 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36119 gnu/java/beans/encoder/ObjectId.java,
36120 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36121 gnu/java/beans/encoder/ReportingScannerState.java,
36122 gnu/java/beans/encoder/Root.java,
36123 gnu/java/beans/encoder/ScanEngine.java,
36124 gnu/java/beans/encoder/ScannerState.java,
36125 gnu/java/beans/encoder/StAXWriter.java,
36126 gnu/java/beans/encoder/Writer.java: New file.
36127 * gnu/java/beans/encoder/elements/Array_Get.java,
36128 gnu/java/beans/encoder/elements/Element.java,
36129 gnu/java/beans/encoder/elements/List_Set.java,
36130 gnu/java/beans/encoder/elements/Array_Set.java,
36131 gnu/java/beans/encoder/elements/NullObject.java,
36132 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36133 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36134 gnu/java/beans/encoder/elements/StringReference.java,
36135 gnu/java/beans/encoder/elements/ClassResolution.java,
36136 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36137 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36138 gnu/java/beans/encoder/elements/ObjectReference.java,
36139 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36140 gnu/java/beans/encoder/elements/List_Get.java,
36141 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36143 2006-01-08 Chris Burdess <dog@gnu.org>
36145 * java/lang/Character.java (toChars,toCodePoint): Correct these
36146 methods to use algorithms from Unicode specification.
36148 2006-01-08 Mark Wielaard <mark@klomp.org>
36150 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36152 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36155 * examples/Makefile.am: Corrected DESTDIR install paths.
36157 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36159 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36160 ASCII character (line 46).
36162 2006-01-07 Roman Kennke <kennke@aicas.com>
36164 * javax/swing/text/TableView.java: New file.
36166 2006-01-07 Chris Burdess <dog@gnu.org>
36168 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36169 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36170 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36171 available; correct handling of unparsed entity references;
36172 absolutize all base URIs; remove commented out code.
36174 2006-01-07 Chris Burdess <dog@gnu.org>
36176 * gnu/xml/stream/SAXParser.java,
36177 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36178 URI of the current event.
36180 2006-01-07 Chris Burdess <dog@gnu.org>
36182 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36185 2006-01-07 Chris Burdess <dog@gnu.org>
36187 * gnu/xml/stream/SAXParser.java,
36188 gnu/xml/stream/XIncludeFilter.java,
36189 gnu/xml/stream/XMLParser.java: Updated documentation.
36191 2006-01-07 Chris Burdess <dog@gnu.org>
36193 * AUTHORS: add self.
36195 2006-01-06 Casey Marshall <csm@gnu.org>
36197 * AUTHORS: add myself.
36199 2006-01-06 Casey Marshall <csm@gnu.org>
36202 * javax/crypto/CipherInputStream.java (logger): new constant.
36203 (cipher): make final.
36204 (outLength, inBuffer, inLength): removed.
36205 (isStream): make final.
36206 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36208 (<init>): call `super,' not `this;' remove `inBuffer' and
36209 `outBuffer' initialization; init `eof;' add debug logging.
36210 (<init>): call `this' with a new null cipher.
36211 (available): fix javadoc to reflect the real semantics; if we
36212 don't have a buffer, call `nextBlock.'
36213 (close): synchronize.
36214 (read): synchronize; fix testing for buffered data.
36215 (read): synchronize; add `skip' semantics if first argument is
36216 `null;' decrypt stream cipher data only if there is any; fix tests
36218 (skip): stop using `available' to see how many data are buffered.
36219 (nextBlock): simplify to use cipher-allocated output buffers
36220 instead of internally allocated ones.
36222 2006-01-06 Tom Tromey <tromey@redhat.com>
36224 * java/lang/String.java (codePointCount): Fixed javadoc.
36226 2006-01-06 Tom Tromey <tromey@redhat.com>
36228 * java/lang/String.java (contains): Added @since.
36230 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36233 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36234 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36235 when an empty string matched an empty token.
36237 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36240 * gnu/java/util/WeakIdentityHashMap.java: New file.
36241 * java/lang/InheritableThreadLocal.java
36242 (newChildThread): Modified to remove key indirection.
36243 * java/lang/Thread.java
36244 (locals): Changed type to WeakIdentityHashMap.
36245 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36247 * java/lang/ThreadLocal.java
36248 (key, Key): Removed.
36249 (get, set): Changed to use "this" instead of "key".
36251 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36253 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36255 * native/fdlibm/java-assert.h: Removed file.
36257 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36258 Replaced use of JvAssert by assert.
36260 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36262 * javax/swing/text/DefaultCaret.java:
36263 (setDot): Fixed paramater to Math.max to be this.dot and not the
36266 2006-01-05 Roman Kennke <kennke@aicas.com>
36268 * javax/swing/plaf/basic/BasicListUI.java
36269 (getCellHeight): New helper method.
36270 (getCellBounds): Use new helper method for determining the cell
36272 (paint): Don't call list.indexToLocation() but instead call
36273 directly into the same UI method.
36274 (locationToIndex): Fixed calculation of # visible rows and handling
36276 (indexToLocation): Fixed calculation of # visible rows and handling
36279 2006-01-05 Roman Kennke <kennke@aicas.com>
36281 * javax/swing/plaf/metal/MetalFileChooserUI.java
36282 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36283 in the file chooser.
36285 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36287 * javax/swing/JTextPane.java:
36288 (replaceSelection): If the document is an AbstractDocument, use replace
36289 rather than remove and insert.
36290 * javax/swing/event/EventListenerList.java:
36291 (getListeners): Reversed the order of the listeners to match the
36292 reference implementation.
36293 * javax/swing/text/AbstractDocument.java:
36294 (insertString): Add the UndoableEdit from the content.insertString call
36295 to the DocumentEvent.
36296 (DefaultDocumentEvent.toString): Implemented.
36297 * javax/swing/text/DefaultCaret.java:
36298 (setDot): Make sure dot is > 0 and less than the length of the
36300 * javax/swing/text/DefaultStyledDocument.java:
36301 (ElementBuffer.insertUpdate): Set the modified tag of the document
36302 event when we get start and end tags. This ensures that we create the
36303 proper BranchElements in endEdit().
36304 (ElementBuffer.insertUpdate): Added FIXME to handle
36305 JoinFractureDirection case.
36306 (insertUpdate): Added code to check if we're inserting immediately
36307 after a newline and to handle this case (create start and end tags).
36308 Only change the direction of the first and last tags if they are of
36310 (checkForInsertAfterNewline): New helper method.
36311 (handleInsertAfterNewline): Likewise.
36312 * javax/swing/text/View.java:
36313 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36316 2006-01-05 Mark Wielaard <mark@klomp.org>
36318 * newsitems.txt: Add fosdem meeting.
36319 * events/events.wml: Likewise.
36320 * events/fosdem06.wml: New file.
36322 2006-01-05 Lillian Angel <langel@redhat.com>
36324 * javax/swing/text/GapContent.java
36325 (createPosition): No positions should be created inside the
36326 gap. Fixed check to ensure this does not happen.
36328 2006-01-05 Roman Kennke <kennke@aicas.com>
36330 * javax/swing/RepaintManager.java
36331 (validateInvalidComponents): Search for the validate root
36332 and start validating there.
36334 2006-01-05 Roman Kennke <kennke@aicas.com>
36336 * javax/swing/plaf/basic/BasicListUI.java
36337 (ComponentHandler): Removed unneeded class.
36338 (ListDataHandler.contentsChanged): Revalidate instead of calling
36340 (ListDataHandler.intervalAdded): Revalidate instead of calling
36342 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36344 (PropertyChangeHandler.propertyChange): Or flags together instead
36345 of adding them. Don't call damageLayout().
36346 (componentListener): Removed unnecessary field.
36347 (damageLayout): Removed unnecessary method.
36348 (installListeners): Don't install unnecessary listeners.
36349 (uninstallListeners): Dito.
36350 (getPreferredSize): Don't ask for the real list height and
36351 calculate with the previously calculated list height.
36352 (locationToIndex): Renamed list parameter to l so that it doesn't
36353 shadow the field with the same name.
36354 (indexToLocation): Renamed list parameter to l so that it doesn't
36355 shadow the field with the same name.
36357 2006-01-04 Tom Tromey <tromey@redhat.com>
36359 * include/.cvsignore: Ignore config-int.h.
36361 2006-01-04 Roman Kennke <kennke@aicas.com>
36363 * javax/swing/plaf/basic/BasicListUI.java
36364 (getPreferredSize): Rewritten to match the specs.
36366 2006-01-04 Roman Kennke <kennke@aicas.com>
36368 * javax/swing/JFileChooser.java
36369 (showOpenDialog): Set fixed width on the dialog.
36370 (showSaveDialog): Set fixed width on the dialog.
36371 (showDialog): Set fixed width on the dialog.
36373 2006-01-04 Roman Kennke <kennke@aicas.com>
36375 * javax/swing/plaf/basic/BasicListUI.java
36376 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36377 Adjusted iteration to not use visibleRowCount and instead iterate
36378 over the real number of elements in cellHeights.
36379 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36380 Adjusted iteration to not use visibleRowCount and instead iterate
36381 over the real number of elements in cellHeights.
36383 2006-01-04 Roman Kennke <kennke@aicas.com>
36385 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36386 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36387 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36389 2006-01-04 Roman Kennke <kennke@aicas.com>
36391 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36392 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36394 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36395 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36397 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36399 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36400 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36401 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36402 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36403 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36404 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36405 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36406 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36408 2006-01-04 Lillian Angel <langel@redhat.com>
36410 * javax/swing/plaf/metal/MetalFileChooserUI.java
36411 (propertyChange): Fixed to change the combo box label
36412 appropriately. Also, fixed to set the textfield's text
36414 (editFile): Fixed size of editing field.
36415 (installComponents): Correctly aligned all panels.
36416 (installStrings): Fixed to set the label's text
36417 appropriately depending on the dialog type.
36419 2006-01-04 Lillian Angel <langel@redhat.com>
36423 * javax/swing/JTree.java
36424 (JTree): Because some L&F defaults have been updated,
36425 the selectionMode for the tree needed to be set to SINGLE.
36426 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36427 Initialized accessoryPanel.
36428 * javax/swing/plaf/metal/MetalFileChooserUI.java
36429 (installComponents): Added accessoryPanel to the filechooser.
36431 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36433 * configure.ac: Added AX_CREATE_STDINT_H
36435 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36437 * m4/ax_create_stdint_h.m4: New file.
36439 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36440 typedefs. Removed stdint.h and inttypes.h includes.
36442 2006-01-03 Mark Wielaard <mark@klomp.org>
36444 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36445 register keyboard action when accelerator is not null.
36446 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36447 re-register accelerator if not null.
36448 (installKeyboardActions): Only put accelerator in map when not null.
36450 2006-01-04 Lillian Angel <langel@redhat.com>
36452 * javax/swing/plaf/basic/BasicLookAndFeel.java
36453 (initComponentDefaults): Removed unneeded default.
36454 * javax/swing/plaf/metal/MetalLookAndFeel.java
36455 (initComponentDefaults): Added and fixed several defaults.
36457 2006-01-04 Roman Kennke <kennke@aicas.com>
36459 * javax/swing/plaf/basic/BasicHTML.java: New class.
36461 2006-01-03 Tom Tromey <tromey@redhat.com>
36463 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36464 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36466 2006-01-03 Mark Wielaard <mark@klomp.org>
36468 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36470 2006-01-03 Mark Wielaard <mark@klomp.org>
36472 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36473 Always call createDefaultTheme().
36474 (createDefaultTheme): Check whether theme is still null.
36476 2006-01-03 Mark Wielaard <mark@klomp.org>
36478 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36479 Color.WHITE if null.
36481 2006-01-03 Lillian Angel <langel@redhat.com>
36483 * javax/swing/plaf/metal/MetalLookAndFeel.java
36484 (getDescription): Fixed to return the correct string.
36486 (getName): Likewise.
36487 (getDefaults): Added check to avoid NPE.
36488 (getAcceleratorForeground): Likewise.
36489 (getAcceleratorSelectedForeground): Likewise.
36490 (getBlack): Likewise.
36491 (getControl): Likewise.
36492 (getControlDarkShadow): Likewise.
36493 (getControlDisabled): Likewise.
36494 (getControlHighlight): Likewise.
36495 (getControlInfo): Likewise.
36496 (getControlShadow): Likewise.
36497 (getControlTextColor): Likewise.
36498 (getControlTextFont): Likewise.
36499 (getDesktopColor): Likewise.
36500 (getFocusColor): Likewise.
36501 (getHighlightedTextColor): Likewise.
36502 (getInactiveControlTextColor): Likewise.
36503 (getInactiveSystemTextColor): Likewise.
36504 (getMenuBackground): Likewise.
36505 (getMenuDisabledForeground): Likewise.
36506 (getMenuForeground): Likewise.
36507 (getMenuSelectedBackground): Likewise.
36508 (getMenuSelectedForeground): Likewise.
36509 (getMenuTextFont): Likewise.
36510 (getPrimaryControl): Likewise.
36511 (getPrimaryControlDarkShadow): Likewise.
36512 (getPrimaryControlHighlight): Likewise.
36513 (getPrimaryControlInfo): Likewise.
36514 (getPrimaryControlShadow): Likewise.
36515 (getSeparatorBackground): Likewise.
36516 (getSeparatorForeground): Likewise.
36517 (getSubTextFont): Likewise.
36518 (getSystemTextColor): Likewise.
36519 (getSystemTextFont): Likewise.
36520 (getTextHighlightColor): Likewise.
36521 (getUserTextColor): Likewise.
36522 (getUserTextFont): Likewise.
36523 (getWhite): Likewise.
36524 (getWindowBackground): Likewise.
36525 (getWindowTitleBackground): Likewise.
36526 (getWindowTitleFont): Likewise.
36527 (getWindowTitleForeground): Likewise.
36528 (getWindowTitleInactiveBackground): Likewise.
36529 (getWindowTitleInactiveForeground): Likewise.
36531 2006-01-03 Mark Wielaard <mark@klomp.org>
36533 * javax/swing/JTextArea.java
36534 (JTextArea(Document,text,int,int)): Only call setText() when text is
36537 2006-01-03 Lillian Angel <langel@redhat.com>
36539 * javax/swing/plaf/basic/BasicFileChooserUI.java
36540 (installStrings): Fixed installation of defaults that
36541 were changed in BasicLookAndFeel.
36542 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36543 (installDefaults): Fixed installation of defaults that
36544 were changed in BasicLookAndFeel.
36546 2006-01-03 Lillian Angel <langel@redhat.com>
36548 * javax/swing/plaf/basic/BasicLookAndFeel.java
36549 (initComponentDefaults): Fixed several defaults that differed
36552 2006-01-03 Lillian Angel <langel@redhat.com>
36554 * javax/swing/tree/DefaultTreeSelectionModel.java
36555 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36557 2006-01-03 Lillian Angel <langel@redhat.com>
36559 * javax/swing/AbstractAction.java
36560 (AbstractAction): Fixed to pass in null. Should not be
36561 an empty string. Removed TODO comment.
36562 (AbstractAction): Removed TODO comment.
36563 * javax/swing/JList.java
36564 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36565 * javax/swing/JMenuItem.java
36566 (JMenuItem): Set all defaults if the action passed in is not null.
36567 * javax/swing/JProgressBar.java
36568 (JProgressBar): Added check to prevent NPE.
36570 2006-01-03 Lillian Angel <langel@redhat.com>
36572 * javax/swing/plaf/basic/BasicListUI.java
36573 (getPreferredSize): The JDK adds some extra space to
36574 the list, so we should as well.
36575 * javax/swing/plaf/metal/MetalFileChooserUI.java
36576 (getPreferredSize): Should only take the fileListPanel's
36577 width into account when getting the size. Also, the buttonPanel's
36578 size should not be checked, since it is in the bottomPanel already.
36579 (getMinimumSize): Likewise.
36581 2006-01-03 Lillian Angel <langel@redhat.com>
36583 * javax/swing/JList.java
36584 (init): visibleRowCount should be 7, like the JDK.
36585 * javax/swing/plaf/metal/MetalFileChooserUI.java
36586 (installComponents): No need to add the fileFilterCombo
36587 to a panel. It can be added to the row directly.
36589 2006-01-03 Lillian Angel <langel@redhat.com>
36591 PR classpath/25480 PR classpath/25478
36592 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36593 (updateViewport): Made changes suggested by
36595 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36596 Removed unneeded import.
36597 (createList): Removed comment, JList wrapping
36599 (getPreferredSize): Made changes suggested by
36600 Chris Lansdown. Uses fileListPanel, instead
36602 (getMinimumSize): Uses fileListPanel, instead
36604 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36605 (paintFocus): Fixed height.
36607 2006-01-03 Roman Kennke <kennke@aicas.com>
36609 * javax/swing/plaf/basic/BasicListUI.java
36610 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36612 2006-01-03 Roman Kennke <kennke@aicas.com>
36614 * javax/swing/plaf/basic/BasicListUI.java
36615 (locationToIndex): Special case for when variable cell heights
36616 are possible. (cellHeights is used instead of cellHeight).
36617 (indexToLocation): Special case for when variable cell heights
36618 are possible. (cellHeights is used instead of cellHeight).
36620 2006-01-03 Roman Kennke <kennke@aicas.com>
36622 * javax/swing/text/DefaultStyledDocument.java
36623 (ElementBuffer.remove): New method.
36624 (ElementBuffer.removeUpdate): New method.
36625 (removeUpdate): New method.
36627 2006-01-03 Roman Kennke <kennke@aicas.com>
36630 (dist-hook): Preserve attributes of Java sources when copying to
36633 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36635 * AUTHORS: Added self.
36636 * java/security/Security.java (getProvider): Ensures provider's name is
36637 not null, not an empty string, and is trimmed before usage.
36639 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36641 * gnu/CORBA/Poa/AOM.java (add):
36642 Changed parameter Object into gnuServantObject.
36643 (Obj.object): Changed type to gnuServantObject.
36644 (findObject): Rewritten.
36646 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36648 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36649 buffering. Ability has gone in Qt-4.1.x.
36651 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36652 to have the right include flags.
36654 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36656 * java/security/MessageDigest.java (getInstance(String,String)):
36657 Use trimmed copy of provider name.
36658 * gnu/java/security/Engine.java
36659 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36660 service and algorithm names.
36662 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36664 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36665 localhost is null or is an empty string. Trim hostname before