1 2007-03-30 Andrew Haley <aph@redhat.com>
3 * javax/management/ObjectName.java: Handle 0-length names.
5 2007-03-27 Andrew Haley <aph@redhat.com>
7 * javax/management/MBeanServerFactory.java: Use the domain that
8 we've been passed, not the fixed string "DefaultDomain".
10 2007-03-29 Tom Tromey <tromey@redhat.com>
13 * gnu/java/util/jar/JarUtils.java (log): Commented out.
14 (readSFManifest): Don't log.
16 2007-03-28 Casey Marshall <csm@gnu.org>
18 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
19 check keyEncipherment bit of the certificate, and just pass the public
22 2007-03-27 Casey Marshall <csm@gnu.org>
25 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
26 Always make a new socket.
27 (bind, connect, getInetAddress, getLocalAddress, getPort,
28 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
29 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
30 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
31 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
32 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
33 getTrafficClass, setReuseAddress, getReuseAddress, close,
34 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
35 isInputShutdown, isOutputShutdown): Always use
38 2007-03-27 Tom Tromey <tromey@redhat.com>
41 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
42 (createXMLReader): Code in Classpath default.
44 2007-03-27 Keith Seitz <keiths@redhat.com>
47 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
48 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
49 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
50 (executeGetValues): Use Value type.
51 (exectureSetValues): Ditto.
52 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
53 (executeGetValues): Use Value type.
54 (executeSetValues): Ditto.
55 (invokeMethod): Record method return type.
56 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
57 (executeGetValues): Use Value type.
58 (executeSetValues): Ditto.
59 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
60 (executeGetValues): Use Value type.
61 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
62 (executeGetValues): Use Value type.
63 (executeSetValues): Ditto.
64 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
66 (getResultType): New Method.
67 (setResultType): Ditto.
68 * gnu/classpath/jdwp/util/Value.java: Remove.
69 * gnu/classpath/jdwp/value: New Package.
70 * gnu/classpath/jdwp/value/Value.java: New file.
71 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
72 * gnu/classpath/jdwp/value/ByteValue.java: New file.
73 * gnu/classpath/jdwp/value/CharValue.java: New file.
74 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
75 * gnu/classpath/jdwp/value/FloatValue.java: New file.
76 * gnu/classpath/jdwp/value/IntValue.java: New file.
77 * gnu/classpath/jdwp/value/LongValue.java: New file.
78 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
79 * gnu/classpath/jdwp/value/ShortValue.java: New file.
80 * gnu/classpath/jdwp/value/StringValue.java: New file.
81 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
82 * gnu/classpath/jdwp/value/VoidValue.java: New file.
84 2007-02-28 Keith Seitz <keiths@redhat.com>
85 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
86 (executeSet): Check if VM has capability for field access
87 or modification events.
88 * gnu/classpath/jdwp/processor/MethodCommandSet.java
89 (executeByteCodes): Check if VM has capability and
91 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
92 (executeMonitorInfo): Likewise.
93 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
94 (executeSourceDebugExtension): Likewise.
95 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
96 (executePopFrames): Likewise.
97 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
98 (executeOwnedMonitors): Likewise.
99 (executeCurrentContendedMonitor): Likewise.
100 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
101 (executeCapabilities): Rewrite using new VMVirtualMachine
103 (executeRedefineClasses): Check if VM has capability and
105 (executeSetDefaultStratum): Likewise.
106 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
107 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
108 (canWatchFieldModification): New class constant.
109 (canWatchFieldAccess): Likewise.
110 (canGetBytecodes): Likewise.
111 (canGetSyntheticAttribute): Likewise.
112 (canGetOwnedMonitorInfo): Likewise.
113 (canGetCurrentContendedMonitor): Likewise.
114 (canGetMonitorInfo): Likewise.
115 (canRedefineClasses): Likewise.
116 (canAddMethod): Likewise.
117 (canUnrestrictedlyRedefineClasses): Likewise.
118 (canPopFrames): Likewise.
119 (canUseInstanceFilters): Likewise.
120 (canGetSourceDebugExtension): Likewise.
121 (canRequestVMDeathEvent): Likewise.
122 (canSetDefaultStratum): Likewise.
123 (redefineClasses): New method.
124 (setDefaultStratum): Likewise.
125 (getSourceDebugExtension): Likewise.
126 (getBytecodes): Likewise.
127 (getMonitorInfo): Likewise.
128 (getOwnedMonitors): Likewise.
129 (getCurrentContendedMonitor): Likewise.
130 (popFrames): Likewise.
132 2007-02-28 Keith Seitz <keiths@redhat.com>
133 * gnu/classpath/jdwp/processor/MethodCommandSet.java
134 (executeLineTable): Use ReferenceTypeId instead of
135 ClassReferenceTypeId.
136 (executeVariableTable): Likewise.
137 (executeVariableTableWithGeneric): Fix error message.
138 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
139 (executeSignatureWithGeneric): Fix error message.
140 (executeFieldWithGeneric): Likewise.
141 (executeMethodsWithGeneric): Likewise.
142 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
143 (executeGetValues): Use ThreadId instead of ObjectId.
144 (executeSetValues): Likewise.
145 (executeThisObject): Likewise.
147 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
148 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
149 * gnu/classpath/jdwp/util/NullObject.java: New class.
150 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
151 (getObjectId): Handle null object.
152 (get): Handle objectId of 0.
154 2007-02-22 Keith Seitz <keiths@redhat.ecom>
155 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
156 (getAllLoadedClassesCount): Remove.
157 (getAllLoadedClasses): Return a Collection.
158 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
159 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
160 now returns Collection.
161 (executeAllClasses): Likewise.
162 Get size of return from Colleciton instead of calling
163 getAllLoadedClassesCount.
165 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
166 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
167 (executeGetValues): Pass a signature byte to VMFrame.getValue.
168 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
171 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
172 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
173 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
174 (executeSetValues): Ditto.
175 (executeThisObject): Ditto.
176 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
177 and a constructor used to create VMFrames.
178 (getThread): New method.
179 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
180 Changed to take a long instead of a ByteBuffer to pass the frameID.
182 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
183 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
185 2007-03-26 Tom Tromey <tromey@redhat.com>
187 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
188 (rmid Tool): Likewise.
190 2007-03-25 Dalibor Topic <robilad@kaffe.org>
192 * doc/cp-tools.texinfo: Fix node ordering.
194 2007-03-19 Matthias Klose <doko@ubuntu.com>
196 * doc/Makefile.am: Build a gcjh(1) man page.
197 * doc/cp-tools.texinfo: Add documentation for gcjh.
199 2007-03-26 Stepan Kasal <skasal@redhat.com>
201 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
203 (getParser): Use new field.
205 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
207 * resource/com/sun/tools/javac/messages.properties
208 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
209 messages for when --with-ecj-jar is not specified.
210 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
211 * tools/Makefile.am: Build com.sun.tools.javac package
213 * configure, doc/api/Makefile.in, doc/Makefile.in,
214 examples/Makefile.in, external/jsr166/Makefile.in,
215 external/Makefile.in, external/relaxngDatatype/Makefile.in,
216 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
217 include/Makefile.in, lib/Makefile.in, Makefile.in,
218 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
219 native/jni/classpath/Makefile.in,
220 native/jni/gconf-peer/Makefile.in,
221 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
222 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
223 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
224 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
225 native/jni/midi-dssi/Makefile.in,
226 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
227 native/jni/xmlj/Makefile.in, native/Makefile.in,
228 native/plugin/Makefile.in, resource/Makefile.in,
229 scripts/Makefile.in, tools/Makefile.in: Regenerate.
230 * tools/classes/com/sun/tools/javac: New directory.
231 * tools/classes/com/sun/tools/javac/Main.class,
232 tools/classes/com/sun/tools/javac/Messages.class: New files.
234 2007-03-16 Tom Tromey <tromey@redhat.com>
236 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
239 2007-03-16 Tom Tromey <tromey@redhat.com>
241 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
242 (printClass): Added filename argument.
243 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
244 (printClass): Added filename argument.
245 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
246 (printClass): Use user's file name.
247 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
248 (printClass): Use user's file name.
249 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
251 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
253 (writeHeaders): Use a HashMap.
254 (run): Put class name into HashMap for writeHeaders.
256 2007-03-02 Mario Torre <neugens@limasoftware.net>
259 committed for Petteri Räty <betelgeuse@gentoo.org>
260 * configure.ac: fix broken build for gcj browser plugin
262 2007-02-20 Jakub Jelinek <jakub@redhat.com>
264 * java/util/Date.java (parse): Properly parse 09:01:02 as
265 hours/minutes/seconds, not as hours/minutes/year.
266 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
267 {start,end}TimeMode constructor by calling shorter constructor,
268 set {start,end}TimeMode fields after it returns.
269 (setStartRule): Don't adjust startTime into WALL_TIME. Set
270 startTimeMode to WALL_TIME.
271 (endStartRule): Similarly.
272 (getOffset): Handle properly millis + dstOffset overflowing into the
273 next day. Adjust startTime resp. endTime based on startTimeMode
275 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
277 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
278 If non-null, set up aliases0 and don't put anything into
280 (defaultZone): Call getTimeZone instead of timezones().get.
281 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
282 getTimeZoneInternal instead of timezones().get.
283 (parseTime): Parse correctly hour:minute.
284 (getTimeZoneInternal): New private method.
285 (getTimeZone): Do the custom ID checking first, canonicalize
286 ID for custom IDs as required by documentation. Call
287 getTimeZoneInternal to handle the rest.
288 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
289 (getAvailableIDs(File,String,ArrayList)): New private method.
290 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
291 * gnu/java/util/ZoneInfo.java: New file.
293 2007-02-20 Matthias Klose <doko@ubuntu.com>
295 * doc/Makefile.am: Add rules to build and install man pages
297 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
298 Rename, prefix files with "cp-".
299 * doc/cp-tools.texinfo: Add markup for man page generation,
300 add documentation for command line options for gjar, gjavah,
301 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
302 doc/texi2pod.pl: New, taken from the GCC sources.
304 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
307 * javax/management/MBeanInfo.java (MBeanInfo):
308 Use clone to duplicate the arrays in order to
309 preserve the array type.
311 2007-02-16 Andrew Haley <aph@redhat.com>
313 * gnu/java/lang/management/MemoryMXBeanImpl.java,
314 javax/management/MBeanServerDelegate.java: Use
315 gnu.javax.management.ListenerData rather than
316 gnu.classpath.ListenerData.
317 * gnu/javax/management/ListenerData.java: Move here from
318 gnu/classpath/ListenerData.java.
320 2007-02-14 Jakub Jelinek <jakub@redhat.com>
321 Andrew Haley <aph@redhat.com>
323 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
325 2007-02-09 Tom Tromey <tromey@redhat.com>
328 * configure: Rebuilt.
329 * configure.ac: Also check for jack/jack.h.
331 2007-02-09 Jakub Jelinek <jakub@redhat.com>
333 * java/util/TimeZone.java: Handle default (one hour) daylight
336 2007-02-09 Jakub Jelinek <jakub@redhat.com>
339 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
340 just Rule lines, in the other everything else. Pass 0 instead of
341 $savings as second argument to parseRule when parsing the start
343 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
345 2007-02-07 Chris Burdess <dog@gnu.org>
348 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
349 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
350 SAXSources without a backing URL or stream.
353 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
354 LSParser if implementation does not support asynchronous.
355 * gnu/xml/stream/XMLParser.java,
356 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
357 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
358 protocol handler problems.
360 2007-02-06 Tom Tromey <tromey@redhat.com>
363 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
364 (printClass): Always print a header.
366 2007-02-05 Andrew Haley <aph@redhat.com>
369 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
370 (printClass): Replace '/' in filenames with '_'.
371 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
372 (printClass): Likewise.
374 2007-02-05 Tom Tromey <tromey@redhat.com>
376 * java/net/Proxy.java (equals): Handle case where address==null.
377 (hashCode): Likewise.
378 (toString): Likewise.
380 2007-01-31 Tom Tromey <tromey@redhat.com>
382 * resource/gnu/classpath/tools/jar/messages.properties
383 (Main.Stdin): New message.
384 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
386 (readNames): New method.
389 2007-01-26 Andrew Haley <aph@redhat.com>
391 * java/lang/SecurityManager.java: Load and initialize
392 java.security.Security.
394 2007-01-26 Tom Tromey <tromey@redhat.com>
396 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
397 'volatile' after field type.
399 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
401 * java/util/Arrays.java (binarySearch): Change comparison order.
403 2007-01-17 Tom Tromey <tromey@redhat.com>
405 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
406 (PathOptionGroup): Set default boot class path.
408 2006-12-14 Andrew Haley <aph@redhat.com>
410 * tools/gnu/classpath/tools/jar/Creator.java: Close the
413 2006-10-12 Andrew Haley <aph@redhat.com>
415 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
416 * java/lang/ThreadLocal.java: Likewise.
418 2006-09-13 Andrew Haley <aph@redhat.com>
420 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
421 Revert previous gcj-specific disabling of checks.
422 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
424 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
427 2006-09-13 Andrew Haley <aph@redhat.com>
429 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
431 (Iterator.remove()): Decrement index after removing element.
433 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
435 * javax/net/ssl/SSLSocketFactory.java (getDefault):
436 Chain exception cause.
438 2006-12-11 Roman Kennke <kennke@aicas.com>
440 * .classpath: Include ASM in Eclipse classpath.
442 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
444 * gnu/java/lang/management/BeanImpl.java:
445 (translate(String)): Trim strings of whitespace.
446 * javax/management/MBeanAttributeInfo.java:
447 (MBeanAttributeInfo(String,String,Method,Method)):
448 Use Class.getName() for normal (non-parameterized) cases.
449 * javax/management/MBeanConstructorInfo.java:
450 (MBeanConstructorInfo(String, Constructor)):
452 * javax/management/MBeanOperationInfo.java:
453 (MBeanOperationInfo(String, Method)):
456 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
458 * java/lang/Class.java:
459 (getClasses()): Return Class<?>[].
460 (internalGetClasses()): Likewise.
461 (getConstructor(Class<?>...)): Add type parameter
463 (getDeclaredConstructor(Class<?>...)): Likewise.
464 (getDeclaredClasses()): Return Class<?>[].
465 (getDeclaredClasses(boolean)): Likewise.
466 (getDeclaredConstructors()): Return Constructor<?>[].
467 (getDeclaredConstructors(boolean)): Likewise.
468 (getDeclaredMethod(String,Class<?>...)): Add type
469 parameter to parameters.
470 (getInterfaces()): Return Class<?>[].
471 (getMethods(String,Class<?>...)): Add type
472 parameter to parameters.
473 * java/text/CollationKey.java:
475 * java/text/DecimalFormatSymbols.java:
478 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
480 * gnu/java/lang/management/BeanImpl.java:
481 (translate(String)): Handle Map and List as
482 Strings of the form "java.util.Map<K,V>" and
484 * javax/management/MBeanAttributeInfo.java:
485 (MBeanAttributeInfo(String,String,Method,Method)):
486 Use generic parameter and return types.
487 * javax/management/MBeanConstructorInfo.java:
488 (MBeanConstructorInfo(String, Constructor)):
489 Use generic parameter types.
490 * javax/management/MBeanOperationInfo.java:
491 (MBeanOperationInfo(String, Method)):
492 Use generic parameter and return types.
494 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
496 * gnu/java/lang/management/BeanImpl.java:
497 (translate(String)): Comment out code for using type
498 variables for Map and List.
499 * java/lang/Thread.java:
500 (Thread(ThreadGroup,Runnable,String,long)): Fix
501 incrementation of totalThreadsCreated to be prior to use.
503 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
505 * javax/management/MBeanServerFactory.java:
506 (createMBeanServer(String)): Added security check.
507 (findMBeanServer(String)): Likewise.
508 (newMBeanServer(String)): Likewise.
509 (releaseMBeanServer(String)): Likewise.
510 * javax/management/MBeanServerPermission.java:
513 2006-12-08 David Daney <ddaney@avtrex.com>
515 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
518 2006-12-08 David Daney <ddaney@avtrex.com>
520 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
522 2006-12-08 David Daney <ddaney@avtrex.com>
524 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
526 (HTTPConnection): Handle NumberFormatException in properties parsing.
527 (Pool.get): Set timeout on reused sockets.
528 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
530 (HTTPURLConnection): Cleanup properties handling.
531 (getConnection): Use both connection and read timeouts.
532 (setConnectTimeout): Removed.
533 (setReadTimeout): New method.
534 * java/net/URLConnection.java (timeout): Renamed to...
535 (connectTimeout): ... connectTimeout throughout.
536 (readTimeout): New field.
537 (getReadTimeout): New method.
538 (setReadTimeout): New method.
540 2006-12-08 Tania Bento <tbento@redhat.com>
542 * java/awt/ScrollPane.java
543 (doLayout): Change the location of the scrollpane's child
546 2006-12-08 David Daney <ddaney@avtrex.com>
548 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
550 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
551 SocketTimeoutException if a blocking socket timesout.
552 (Java_gnu_java_nio_VMChannel_readScattering): Same.
553 (Java_gnu_java_nio_VMChannel_read__I): Same.
554 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
555 (Java_gnu_java_nio_VMChannel_connect6): Same.
557 2006-12-08 Mark Wielaard <mark@klomp.org>
559 * configure.ac (VERSION): Set to 0.93-generics.
560 * NEWS: Add release date.
562 2006-12-08 Tania Bento <tbento@redhat.com>
564 * java/awt/ScrollPane.java
565 (getScrollPosition): Throw NullPointerException if scrollpane
567 (setScrollPosition(int, int)): Throw NullPointerException if
568 scrollpane does have a child. Check that both ints are within
569 the allowed bounds; If they are not, scroll to the closest allowed
572 2006-12-07 Roman Kennke <kennke@aicas.com>
574 * javax/swing/JEditorPane.java
575 (EditorKitMapping): New inner helper class.
576 (editorKits): New static field for caching editor kit instances.
577 (static_initiazer): Initialize static mappings here.
578 (createEditorKitForContentType): Try to use cached instance.
579 Use correct classloader for loading.
580 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
582 (getEditorKitForContentType): Store the fetched editor kit.
583 Fallback to createDefaultEditorKit().
584 (init): Don't clean the static registry here.
585 (registerEditorKitForContentType(String,String,ClassLoader)):
587 (registerEditorKitForContentType(String,String)): Delegate to
588 the other version of this method with the thread's context
591 2006-12-07 Mark Wielaard <mark@klomp.org>
593 * examples/gnu/classpath/examples/swing/HtmlDemo.java
594 (setPage): Don't convert URL to String for setPage().
596 2006-12-07 Mark Wielaard <mark@klomp.org>
598 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
600 2006-12-07 Mark Wielaard <mark@klomp.org>
602 * tools/Makefile.am: Explicitly define and use bootclasspath as
605 2006-12-07 Mark Wielaard <mark@klomp.org>
607 * javax/swing/JEditorPane.java (createEditorKitForContentType):
608 Always load from system class loader.
610 2006-12-07 Mark Wielaard <mark@klomp.org>
612 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
614 (URL(URL,String,URLStreamHandler)): Call new constructor.
615 (URL(URL,String)): Likewise.
616 (URL(String)): Likewise.
618 2006-12-07 Tom Tromey <tromey@redhat.com>
621 * INSTALL: Don't mention --with-asm.
622 * tools/external/README: New file.
623 * tools/toolwrapper.c (main): Don't use ASM_JAR.
624 * tools/gjavah.in: Don't use PATH_TO_ASM.
625 * tools/grmic.in: Likewise.
626 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
628 (javah, rmic): Removed variables.
629 (bin_PROGRAMS): Updated.
630 (gappletviewer_CFLAGS): Don't define ASM_JAR.
631 (gjarsigner_CFLAGS): Likewise.
632 (gkeytool_CFLAGS): Likewise.
633 (gjar_CFLAGS): Likewise.
634 (gnative2ascii_CFLAGS): Likewise.
635 (gserialver_CFLAGS): Likewise.
636 (grmiregistry_CFLAGS): Likewise.
637 (gtnameserv_CFLAGS): Likewise.
638 (gorbd_CFLAGS): Likewise.
639 (grmid_CFLAGS): Likewise.
640 (gjavah_CFLAGS): Likewise.
641 (grmic_CFLAGS): Likewise.
642 (bin_SCRIPTS): Updated.
643 (TOOLS_JAVA_FILES): Updated.
644 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
645 * configure.ac: Removed --with-asm. Always build gjavah.
647 2006-12-06 Roman Kennke <kennke@aicas.com>
649 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
651 * examples/gnu/classpath/examples/swing/HtmlDemo.java
652 (LoadActionListener): Call setPage() helper method.
653 (createContent): Register tweaked editor kit. For FormSubmitEvents
654 call submitForm(), otherwise setPage().
655 (postData): Helper method for posting form data.
656 (setPage): Helper method for navigating to a new URL.
657 (submitForm): Helper method for submitting a form.
658 * examples/gnu/classpath/examples/swing/forms.html:
659 Added text/password fields and select boxes.
660 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
662 2006-12-06 Roman Kennke <kennke@aicas.com>
664 * javax/swing/text/html/FormView.java
665 (SubmitThread.postData): Implemented.
666 (SubmitThread.run): Pass data to postData().
667 (actionPerformed): Reset form when reset button is activated.
668 (createComponent): Add support for select lists and comboboxes.
669 Don't set value of text and password fields here, this is done
670 now in HTMLDocument for consistency.
671 (getElementFormData): Add support for fetching form data from
672 select lists and comboboxes as well as textareas.
673 (getSelectData): New helper method. Fetches form data from
675 (getTextAreaData): New helper method. Fetches form data from
677 (resetForm): New helper method. Resets the entire form.
678 * javax/swing/text/html/HTMLDocument.java
679 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
680 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
681 (HTMLReader.FormAction.setModel): Initialize text and password
682 values here. Also, use the resetable special models.
683 Group radio buttons into ButtonGroup for exclusive selection.
684 (HTMLReader.FormTagAction): New class. Handles FORM tags.
685 (HTMLReader.buttonGroups): New field.
686 (HTMLReader.numOptions): New field.
687 (HTMLReader.option): New field.
688 (HTMLReader.selectModel): New field.
689 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
690 (HTMLReader.handleText): Handle OPTION text.
691 (HTMLReader.initTags): Map FORM tags to FormTagAction.
692 (HTMLReader.textAreaContent): Set initial content.
693 * javax/swing/text/html/Option.java
694 (Option): Make copy of attribute set. Initialize selected state.
695 (getValue): Fetch value from attribute set.
696 * javax/swing/text/html/ResetableModel.java: New interface.
697 * javax/swing/text/html/ResetablePlainDocument.java: New class.
698 Supports resetting the state.
699 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
700 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
701 * javax/swing/text/html/SelectListModel.java: Likewise.
703 2006-12-06 Roman Kennke <kennke@aicas.com>
705 * javax/swing/text/DefaultCaret.java
706 (appear): Adjust visibility here.
707 (setDotImpl): Don't adjust visibility here.
708 (moveDotImpl): Don't adjust visibility here.
710 2006-12-06 Roman Kennke <kennke@aicas.com>
712 * gnu/java/awt/peer/gtk/AsyncImage.java
713 (Loader.run): Synchronize on the AsyncImage to avoid threading
715 (addObservers): Check for obs==null outside and synchronize on
716 this inside to avoid locking issues.
717 (checkImage): New helper method.
718 (notifyObservers): Check that the correct lock is held and
719 remove actual locking.
720 * gnu/java/awt/peer/gtk/GtkToolkit.java
721 (checkImage): Added special handling for AsyncImages.
723 2006-12-06 Roman Kennke <kennke@aicas.com>
725 * examples/gnu/classpath/examples/swing/Demo.java
726 (getIcon): Made package private.
727 * examples/gnu/classpath/examples/swing/HtmlDemo.java
728 (hyperlinkUpdate): Convert URL to string.
730 2006-12-06 Mark Wielaard <mark@klomp.org>
732 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
735 2006-12-06 Roman Kennke <kennke@aicas.com>
737 * examples/gnu/classpath/examples/icons/back.png,
738 * examples/gnu/classpath/examples/icons/reload.png:
739 New icons for the HTML browser.
740 * examples/gnu/classpath/examples/swing/HtmlDemo.java
741 (history): New field. Manages the browsing history.
742 (HtmlDemo): Initialize history.
743 (createContent): Set location and add history. Add toolbar.
744 (createToolBar): New helper method.
745 (main): Make default size bigger.
746 * examples/gnu/classpath/examples/swing/frame1.html,
747 * examples/gnu/classpath/examples/swing/frame2.html,
748 * examples/gnu/classpath/examples/swing/frame3.html,
749 * examples/gnu/classpath/examples/swing/frame4.html,
750 * examples/gnu/classpath/examples/swing/frames.html,
751 * examples/gnu/classpath/examples/swing/tables.html:
753 * examples/gnu/classpath/examples/swing/welcome.html
754 Add a couple of links and new test pages.
756 2006-12-06 Roman Kennke <kennke@aicas.com>
758 * javax/swing/JEditorPane.java
759 (getStream): Buffer the stream for efficiency.
760 (setPage): Don't scroll the view at this point.
761 * javax/swing/plaf/basic/BasicTextUI.java
762 (RootView.paint): Call RootView's setSize to get synchronization.
763 (RootView.setSize): Synchronize to prevent race in layout code.
764 * javax/swing/text/AbstractDocument.java
765 (notifyListeners): New field.
766 (fireChangedUpdate): Track notifyListener field.
767 (fireRemoveUpdate): Track notifyListener field.
768 (fireIndertUpdate): Track notifyListener field.
769 (writeLock): Check notifyListener and throw IllegalStateException.
770 * javax/swing/text/View.java
771 (preferenceChanged): Create local var for better thread safety and
774 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
776 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
777 lightweight component, not just for non-Panel components.
778 (addImpl): Do not call doLayout.
779 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
780 (setNativeBounds): Ensure widget parent is a GtkFixed before
781 calling gtk_fixed_move.
782 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
783 (setNativeBounds): Likewise.
784 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
785 (setNativeBounds): Likewise.
787 2006-12-06 Roman Kennke <kennke@aicas.com>
789 * javax/swing/text/html/TableView.java
790 (RowView.layoutMajorAxis): Check column index for invalid value.
791 (updateGrid): Check column index for invalid value.
793 2006-12-06 Roman Kennke <kennke@aicas.com>
795 * javax/swing/text/html/BlockView.java
796 (getAlignment): Align blocks horizontally by the superclass.
797 * javax/swing/text/html/HTMLEditorKit.java
798 (HTMLFactory.create): Replace equals comparison by == for efficiency.
799 Add mapping for misplaced tr, td and th tags. Include object mapping.
800 * javax/swing/text/html/TableView.java
801 (RowView.replace): Invalidate grid early.
802 (gridValid): Initialize with false.
803 (create): Only create RowView and CellView for correctly placed
804 tags. Avoid unnecessary casts.
805 (getAlignment): Removed.
806 (replace): Invalidate grid early.
808 2006-12-06 Francis Kung <fkung@redhat.com>
810 * java/awt/geom/RectangularShape.java
811 (getBounds): Remove empty rectangle check.
813 2006-12-06 Ben Konrath <bkonrath@redhat.com>
816 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
817 newValue are the same.
818 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
820 2006-12-06 Tania Bento <tbento@redhat.com>
822 * javax/swing/border/CompoundBorder.java:
823 (isBorderOpaque): If inside border is null, return true if outside
824 border is opaque, false otherwise; if outside border is null, return
825 true if inside border is opaque, false otherwise; if inside or
826 outside border are both not null, then return true only if both the
827 inside and outside border are opaque, false otherwise.
829 2006-12-06 Tania Bento <tbento@redhat.com>
831 * javax/swing/border/CompoundBorder.java:
832 (isBorderOpaque): If inside and outside border both have a null
835 2006-12-06 Chris Burdess <dog@gnu.org>
838 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
839 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
841 2006-12-06 Chris Burdess <dog@gnu.org>
844 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
847 2006-12-06 Chris Burdess <dog@gnu.org>
850 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
851 discover schema factory implementation class.
853 2006-12-05 Francis Kung <fkung@redhat.com>
855 * java/awt/BasicStroke.java
856 (capEnd): Prevent division by zero.
857 * java/awt/geom/Arc2D.java
858 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
859 (ArcIterator.currentSegment): Handle a negative extent.
861 2006-12-05 Francis Kung <fkung@redhat.com>
863 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
864 (constructor): Handle translated subimages properly, ie, if the image's
865 0,0 position is not the data buffer's first element.
867 2006-12-05 Roman Kennke <kennke@aicas.com>
869 * gnu/java/awt/peer/gtk/AsyncImage.java
870 (Loader.run): Nullify observers after loading.
871 (observers): Made package private.
872 (addObserver): Check for null observers field. Create local
873 variable for thread safety.
874 (getHeight): Use addObserver() for checking state of field
875 and notifying observer when necessary.
876 (getWidth): Use addObserver() for checking state of field
877 and notifying observer when necessary.
878 (getProperty): Use addObserver() for checking state of field
879 and notifying observer when necessary.
880 (notifyObservers): Check for null observers field. Create local
881 variable for thread safety.
883 2006-12-05 Roman Kennke <kennke@aicas.com>
885 * javax/swing/text/html/HTMLEditorKit.java
886 (HTMLFactory.create): Removed debug output.
887 * javax/swing/text/html/InlineView.java
888 (getBreakWeight): Likewise.
889 * javax/swing/text/html/StyleSheet.java
891 (ListPainter.paint): Removed debug output.
893 2006-12-05 Roman Kennke <kennke@aicas.com>
895 * javax/swing/text/html/BlockView.java
896 (painter): Made package visible.
897 * javax/swing/text/html/StyleSheet.java
898 (translateBorder): New helper method.
899 (translateHTMLToCSS): Add mappings for border attributes.
900 * javax/swing/text/html/TableView.java
901 Made class subclass of BlockView to get CSS goodness.
902 (CellView.rowSpan): New field.
903 (CellView.setPropertiesFromAttributes): Fetch rowspan.
904 (RowView.overlap): New field.
905 (RowView.rowIndex): New field.
906 (RowView.layoutMajorAxis): Skip overlapping cells.
907 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
908 (numColumns): New field.
909 (tmpRect): New field.
910 (TableView): Initialize tmpRect.
911 (calculateColumnRequirements): Adjusted and fixed for multirows.
912 (getAlignment): Overridden to center tables.
913 (paint): Overridden to fix clipping.
914 (getStyleSheet): Made protected.
915 (layoutMajorAxis): Invalidate rows.
916 (setPropertiesFromAttributes): Made protected and call super.
917 (updateGrid): Update the overlapping information for multirows.
919 2006-12-05 Roman Kennke <kennke@aicas.com>
921 * gnu/java/awt/peer/gtk/AsyncImage.java
922 (addObserver): Check for null and ignore null observers.
923 (getWidth): Check for null and ignore null observers.
924 (getHeight): Check for null and ignore null observers.
925 (getProperty): Check for null and ignore null observers.
927 2006-12-05 Francis Kung <fkung@redhat.com>
929 * java/awt/BasicStroke.java
930 (capEnd): Prevent division by zero.
931 * java/awt/geom/Arc2D.java
932 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
933 (ArcIterator.currentSegment): Handle a negative extent.
935 2006-12-05 Francis Kung <fkung@redhat.com>
937 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
938 (constructor): Handle translated subimages properly, ie, if the image's
939 0,0 position is not the data buffer's first element.
941 2006-12-05 Roman Kennke <kennke@aicas.com>
943 * javax/swing/text/html/ImageView.java
944 (imageUpdate): Use spans field to determine if the CSS width/height
945 are set. Call safePreferenceChanged to protect view structure
946 from threading issues.
947 (spans): Made package private.
948 (ImageView): Initialize loadOnDemand with false.
949 (loadImage): Call Toolkit.prepareImage() to make sure we have
950 our Observer registered.
951 (safePreferenceChanged): New helper method. Calls preferenceChanged
952 in a thread safe environment.
954 2006-12-05 Roman Kennke <kennke@aicas.com>
956 * NEWS: Add entry about improved HTML support.
958 2006-12-05 Roman Kennke <kennke@aicas.com>
960 * javax/swing/text/html/ImageView.java
961 (ImageView): Initialize spans array here.
962 (setPropertiesFromAttributes): Moved init of spans array to
965 2006-12-05 Roman Kennke <kennke@aicas.com>
967 * javax/swing/text/html/BlockView.java
968 (painter): Made package visible.
969 * javax/swing/text/html/StyleSheet.java
970 (translateBorder): New helper method.
971 (translateHTMLToCSS): Add mappings for border attributes.
972 * javax/swing/text/html/TableView.java
973 Made class subclass of BlockView to get CSS goodness.
974 (CellView.rowSpan): New field.
975 (CellView.setPropertiesFromAttributes): Fetch rowspan.
976 (RowView.overlap): New field.
977 (RowView.rowIndex): New field.
978 (RowView.layoutMajorAxis): Skip overlapping cells.
979 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
980 (numColumns): New field.
981 (tmpRect): New field.
982 (TableView): Initialize tmpRect.
983 (calculateColumnRequirements): Adjusted and fixed for multirows.
984 (getAlignment): Overridden to center tables.
985 (paint): Overridden to fix clipping.
986 (getStyleSheet): Made protected.
987 (layoutMajorAxis): Invalidate rows.
988 (setPropertiesFromAttributes): Made protected and call super.
989 (updateGrid): Update the overlapping information for multirows.
991 2006-12-05 Roman Kennke <kennke@aicas.com>
993 * javax/swing/text/html/HTMLEditorKit.java
994 (HTMLFactory.create): Removed debug output.
995 * javax/swing/text/html/InlineView.java
996 (getBreakWeight): Likewise.
997 * javax/swing/text/html/StyleSheet.java
999 (ListPainter.paint): Removed debug output.
1001 2006-12-06 Roman Kennke <kennke@aicas.com>
1003 * javax/swing/text/html/BlockView.java
1004 (getAlignment): Align blocks horizontally by the superclass.
1005 * javax/swing/text/html/HTMLEditorKit.java
1006 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1007 Add mapping for misplaced tr, td and th tags. Include object mapping.
1008 * javax/swing/text/html/TableView.java
1009 (RowView.replace): Invalidate grid early.
1010 (gridValid): Initialize with false.
1011 (create): Only create RowView and CellView for correctly placed
1012 tags. Avoid unnecessary casts.
1013 (getAlignment): Removed.
1014 (replace): Invalidate grid early.
1017 2006-12-06 Roman Kennke <kennke@aicas.com>
1019 * javax/swing/text/html/TableView.java
1020 (RowView.layoutMajorAxis): Check column index for invalid value.
1021 (updateGrid): Check column index for invalid value.
1023 2006-12-06 Roman Kennke <kennke@aicas.com>
1025 * javax/swing/JEditorPane.java
1026 (getStream): Buffer the stream for efficiency.
1027 (setPage): Don't scroll the view at this point.
1028 * javax/swing/plaf/basic/BasicTextUI.java
1029 (RootView.paint): Call RootView's setSize to get synchronization.
1030 (RootView.setSize): Synchronize to prevent race in layout code.
1031 * javax/swing/text/AbstractDocument.java
1032 (notifyListeners): New field.
1033 (fireChangedUpdate): Track notifyListener field.
1034 (fireRemoveUpdate): Track notifyListener field.
1035 (fireIndertUpdate): Track notifyListener field.
1036 (writeLock): Check notifyListener and throw IllegalStateException.
1037 * javax/swing/text/View.java
1038 (preferenceChanged): Create local var for better thread safety and
1041 2006-12-06 Roman Kennke <kennke@aicas.com>
1043 * examples/gnu/classpath/examples/icons/back.png,
1044 * examples/gnu/classpath/examples/icons/reload.png:
1045 New icons for the HTML browser.
1046 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1047 (history): New field. Manages the browsing history.
1048 (HtmlDemo): Initialize history.
1049 (createContent): Set location and add history. Add toolbar.
1050 (createToolBar): New helper method.
1051 (main): Make default size bigger.
1052 * examples/gnu/classpath/examples/swing/frame1.html,
1053 * examples/gnu/classpath/examples/swing/frame2.html,
1054 * examples/gnu/classpath/examples/swing/frame3.html,
1055 * examples/gnu/classpath/examples/swing/frame4.html,
1056 * examples/gnu/classpath/examples/swing/frames.html,
1057 * examples/gnu/classpath/examples/swing/tables.html:
1059 * examples/gnu/classpath/examples/swing/welcome.html
1060 Add a couple of links and new test pages.
1062 2006-12-06 Roman Kennke <kennke@aicas.com>
1064 * examples/gnu/classpath/examples/swing/Demo.java
1065 (getIcon): Made package private.
1066 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1067 (hyperlinkUpdate): Convert URL to string.
1069 2006-12-06 Roman Kennke <kennke@aicas.com>
1071 * javax/swing/text/DefaultCaret.java
1072 (appear): Adjust visibility here.
1073 (setDotImpl): Don't adjust visibility here.
1074 (moveDotImpl): Don't adjust visibility here.
1076 2006-12-06 Roman Kennke <kennke@aicas.com>
1078 * javax/swing/text/html/FormView.java
1079 (SubmitThread.postData): Implemented.
1080 (SubmitThread.run): Pass data to postData().
1081 (actionPerformed): Reset form when reset button is activated.
1082 (createComponent): Add support for select lists and comboboxes.
1083 Don't set value of text and password fields here, this is done
1084 now in HTMLDocument for consistency.
1085 (getElementFormData): Add support for fetching form data from
1086 select lists and comboboxes as well as textareas.
1087 (getSelectData): New helper method. Fetches form data from
1089 (getTextAreaData): New helper method. Fetches form data from
1091 (resetForm): New helper method. Resets the entire form.
1092 * javax/swing/text/html/HTMLDocument.java
1093 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1094 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1095 (HTMLReader.FormAction.setModel): Initialize text and password
1096 values here. Also, use the resetable special models.
1097 Group radio buttons into ButtonGroup for exclusive selection.
1098 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1099 (HTMLReader.buttonGroups): New field.
1100 (HTMLReader.numOptions): New field.
1101 (HTMLReader.option): New field.
1102 (HTMLReader.selectModel): New field.
1103 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1104 (HTMLReader.handleText): Handle OPTION text.
1105 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1106 (HTMLReader.textAreaContent): Set initial content.
1107 * javax/swing/text/html/Option.java
1108 (Option): Make copy of attribute set. Initialize selected state.
1109 (getValue): Fetch value from attribute set.
1110 * javax/swing/text/html/ResetableModel.java: New interface.
1111 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1112 Supports resetting the state.
1113 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1114 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1115 * javax/swing/text/html/SelectListModel.java: Likewise.
1117 2006-12-06 Roman Kennke <kennke@aicas.com>
1119 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1121 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1122 (LoadActionListener): Call setPage() helper method.
1123 (createContent): Register tweaked editor kit. For FormSubmitEvents
1124 call submitForm(), otherwise setPage().
1125 (postData): Helper method for posting form data.
1126 (setPage): Helper method for navigating to a new URL.
1127 (submitForm): Helper method for submitting a form.
1128 * examples/gnu/classpath/examples/swing/forms.html:
1129 Added text/password fields and select boxes.
1130 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1132 2006-12-07 Mark Wielaard <mark@klomp.org>
1134 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1135 private constructor.
1136 (URL(URL,String,URLStreamHandler)): Call new constructor.
1137 (URL(URL,String)): Likewise.
1138 (URL(String)): Likewise.
1140 2006-12-07 Mark Wielaard <mark@klomp.org>
1142 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1143 Always load from system class loader.
1145 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1148 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1149 newValue are the same.
1150 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1152 2006-12-06 Chris Burdess <dog@gnu.org>
1155 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1156 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1158 2006-12-06 Chris Burdess <dog@gnu.org>
1161 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1164 2006-12-056 Chris Burdess <dog@gnu.org>
1167 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1168 discover schema factory implementation class.
1170 2006-12-05 Roman Kennke <kennke@aicas.com>
1172 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1173 asynchronous loading of images.
1174 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1175 (drawImage): Fetch real image from possibly AsyncImage.
1176 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1177 (drawImage): Fetch real image from possibly AsyncImage.
1178 * gnu/java/awt/peer/gtk/GtkToolkit.java
1179 (createImage(URL)): Create async image.
1180 (imageOrError): Made method static for easy access from AsyncImage.
1181 (prepareImage): For async images, register the observer to the
1184 2006-12-05 Roman Kennke <kennke@aicas.com>
1186 (paintComponent): Include paint area from event.
1187 (updateComponent): Include paint area from event.
1189 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1191 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1192 lightweight component, not just for non-Panel components.
1193 (addImpl): Do not call doLayout.
1194 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1195 (setNativeBounds): Ensure widget parent is a GtkFixed before
1196 calling gtk_fixed_move.
1197 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1198 (setNativeBounds): Likewise.
1199 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1200 (setNativeBounds): Likewise.
1202 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1204 * java/awt/Component.java (getFontImpl): Return a default font if
1205 topmost parent's font is null.
1207 2006-12-04 Mark Wielaard <mark@klomp.org>
1209 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1210 Remove debug output.
1212 2006-12-04 Roman Kennke <kennke@aicas.com>
1214 * java/awt/font/TextLayout.java
1215 (hitTestChar): Fixed conditions for inclusion of range.
1216 Use layout information in the run for more efficiency.
1218 2006-12-04 Roman Kennke <kennke@aicas.com>
1220 * javax/swing/text/GlyphView.java
1221 (J2DGlyphPainter): New inner class.
1222 (checkPainter): For Java2D capable environments create
1225 2006-12-04 Roman Kennke <kennke@aicas.com>
1227 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1228 (FreeTypeGlyphVector): Don't filter control chars here.
1229 (getGlyphs): Filter control chars and replace them by
1232 2006-12-04 Roman Kennke <kennke@aicas.com>
1234 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1235 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1237 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1239 * gnu/java/lang/management/BeanImpl.java:
1240 (translate(String)): Don't assume the list uses "E",
1241 just use the first and only type variable.
1242 * java/lang/management/ManagementFactory.java:
1243 (getPlatformMBeanServer()): Register logging bean.
1244 * javax/management/openmbean/OpenType.java:
1245 (OpenType(String,String,String)): Actually use
1246 the string created to handle arrays.
1248 2006-12-04 Mark Wielaard <mark@klomp.org>
1250 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1251 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1253 2006-12-04 Mark Wielaard <mark@klomp.org>
1255 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1257 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1258 (JCL_thread_interrupted): Only take JNIEnv.
1259 (vm_channel_class): New static variable.
1260 (initID): Set vm_channel_class.
1261 Wrap all reads() and writes() in do-while blocks that check
1264 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1266 * gnu/javax/management/Server.java:
1267 Make map final and initialise it.
1268 (unregisterMBean(ObjectName)): Match against
1269 delegate's object name and not the instance.
1270 * java/lang/management/ManagementFactory.java:
1271 Added constant fields.
1272 (getPlatformMBeanServer()): Implemented.
1273 * javax/management/MBeanServerFactory.java: New file.
1275 2006-12-04 Roman Kennke <kennke@aicas.com>
1277 * javax/swing/text/BoxView.java
1278 (paint): Replaced painting algorithm with more simple and more
1279 reliable painting of the box.
1280 * javax/swing/text/html/BlockView.java
1281 (PositionInfo): New inner class. Stores additional CSS
1282 positioning information.
1283 (positionInfo): New field.
1284 (BlockView): Initialize positionInfo field.
1285 (fetchLayoutInfo): New helper method. Fetches additional
1286 CSS positioning information.
1287 (layoutMajorAxis): Perform additional CSS layout.
1288 (layoutMinorAxis): Perform additional CSS layout.
1289 (positionView): New helper method.
1290 (replace): Overridden to fetch additional layout information.
1291 * javax/swing/text/html/CSS.java
1292 (Attribute.POSITION): New field.
1293 (Attribute.LEFT): New field.
1294 (Attribute.RIGHT): New field.
1295 (Attribute.TOP): New field.
1296 (Attribute.BOTTOM): New field.
1297 (getValue): Create Length for left, right, top and bottom
1300 2006-12-04 Roman Kennke <kennke@aicas.com>
1302 * gnu/javax/swing/text/html/parser/support/Parser.java
1303 (Sgml): Consume any whitespace that immediately follows
1305 (parseDocument): Consume any initial whitespace.
1307 2006-12-03 Mark Wielaard <mark@klomp.org>
1309 * gnu/javax/management/Server.java (beans): Initialize.
1310 (registerMBean): Don't initialize beans.
1312 2006-12-03 Mark Wielaard <mark@klomp.org>
1314 * java/util/logging/LogManager.java (getLevelProperty): Check
1315 whether value is null before passing to Level.parse().
1317 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1319 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1320 whether given a null lock and lockOwner.
1322 2006-12-03 Mark Wielaard <mark@klomp.org>
1324 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1325 (PageLoader.page): Made package local.
1326 (PageLoader.run): Don't reset loader.
1327 (PageLoader.cancel): New method.
1328 (loading): Renamed to loader.
1329 (getPage): Return loader.page.
1330 (setPage): Always set loader. Never reset to null.
1332 2006-12-03 Mark Wielaard <mark@klomp.org>
1334 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1336 (isLastChild): Return false when path is null.
1338 2006-12-03 Mark Wielaard <mark@klomp.org>
1340 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1341 to currentPaintArea.
1342 (paintComponent): Work with local reference to currentPaintArea.
1343 (updateComponent): Likewise.
1344 (coalescePaintEvent): Set currentPaintArea.
1346 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1348 * javax/management/MBeanServerBuilder.java: New file.
1350 2006-12-01 Mark Wielaard <mark@klomp.org>
1352 * java/text/DecimalFormat.java (parse): Always increment parsing
1353 index and adjust pos result.
1355 2006-12-01 Roman Kennke <kennke@aicas.com>
1357 * javax/swing/text/html/HTML.java
1358 (Attribute.DYNAMIC_CLASS): New field.
1359 (Attribute.PSEUDO_CLASS): New field.
1360 * javax/swing/text/html/HTMLDocument.java
1361 (HTMLReader.CharacterAction.start): Initialize anchor with link
1363 (updateSpecialClass): New helper method. Updates the dynamic
1364 or pseudo class for anchor tags.
1365 * javax/swing/text/html/HTMLEditorKit.java
1366 (LinkController.lastAnchorElement): New field. For tracking
1367 enter/exit of anchors.
1368 (LinkController.activateLink): Set pseudo class to 'visited'.
1369 (LinkController.mouseMoved): Added support for tracking
1370 the 'hover' dynamic class.
1371 * javax/swing/text/html/InlineView.java
1372 (changedUpdate): Fetch new properties.
1373 * javax/swing/text/html/StyleSheet.java
1374 (attributeSetToMap): New helper method.
1375 (getRule): Also append dynamic and pseudo class to key.
1376 (resolveStyle): Resolve style based generally on all attributes.
1377 * javax/swing/text/html/TableView.java
1378 (RowView.layoutMajorAxis): Make sure the grid is valid.
1379 (updateGrid): Made package private.
1380 * gnu/javax/swing/text/html/css/Selector.java
1381 (calculateSpecificity): Added support for dynamic and pseudo classes.
1382 (matches): Changed to operate on general attributes.
1383 Added support for dynamic and pseudo classes.
1385 2006-12-01 Mario Torre <neugens@limasoftware.net>
1387 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1388 fractional portion in a separate method.
1389 Also fixes the handling of decimal separator and its associated field.
1390 (handleFractionalPart): new method, needed to relax a bit
1393 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1395 * java/beans/beancontext/BeanContextServicesSupport.java:
1396 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1397 Class)): Implemented.
1398 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1399 Class, Object)): Implemented.
1400 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1401 Object, Object)): Implemented.
1402 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1404 (initialiseBeanContextResources()): Implemented.
1405 (releaseBeanContextResoures()): Implemented.
1407 2006-12-01 Mark Wielaard <mark@klomp.org>
1409 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1411 2006-12-01 Roman Kennke <kennke@aicas.com>
1413 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1414 handling border styles.
1415 * gnu/javax/swing/text/html/css/BorderWidth.java
1416 (isValid): New method.
1417 * gnu/javax/swing/text/html/css/Length.java
1418 (isValid): New method.
1419 * javax/swing/text/html/CSS.java
1420 (addInternal): Added shorthand parsing for border, padding and
1422 (parseBackgroundShorthand): Added API docs.
1423 (parsePaddingShorthand): New method. Handles padding shorthand
1425 (parseMarginShorthand): New method. Handles margin shorthand
1427 (parseBorderShorthand): New method. Handles border shorthand
1429 * javax/swing/text/html/StyleSheet.java
1430 (translateHTMLToCSS): Set specific padding attributes.
1431 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1432 These shorthands are now handled in CSS.
1433 (BoxPainter.paint): Exclude the outer margin.
1435 2006-12-01 Roman Kennke <kennke@aicas.com>
1437 * gnu/javax/swing/text/html/css/Length.java
1438 (emBase): New field.
1439 (exBase): New field.
1440 (isFontEMRelative): New field.
1441 (isFontEXRelative): New field.
1442 (Length): Recognize and setup EM and EX relative values.
1443 (getValue): Handle EM and EX relative values.
1444 (isEMRelative): New method.
1445 (isEXRelative): New method.
1446 (setEMBase): New method.
1447 (setEXBase): New method.
1448 (setFontBases): New method.
1449 * gnu/javax/swing/text/html/parser/support/Parser.java
1450 (_handleEmptyTag): Use new isBlock() helper method.
1451 (_handleEndTag_remaining): Use new isBlock() helper method.
1452 (_handleStartTag): Consume whitespace after block start tag.
1453 (Comment): Consume whitespace after a comment.
1454 (isBlock): New helper method.
1455 (readAttributes): Consider all characters in unquoted attribute
1457 * javax/swing/text/html/BlockView.java
1458 (layoutMinorAxis): Use cached span value.
1459 (paint): Added debug code (commented out).
1460 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1461 * javax/swing/text/html/CSSBorder.java
1462 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1464 (getBorderWidth): Set the EM and EX base on the length values.
1465 * javax/swing/text/html/HTMLDocument.java
1466 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1467 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1468 (HTMLReader.inImpliedParagraph): Removed.
1469 (HTMLReader.inParagraph): Removed.
1470 (HTMLReader.parseStack): New field.
1471 (HTMLReader.addContent): Use new paragraph handling.
1472 (HTMLReader.addSpecialElement): Use new paragraph handling.
1473 (HTMLReader.blockClose): Use new paragraph handling.
1474 (HTMLReader.blockOpen): Use new paragraph handling.
1475 (HTMLReader.inImpliedParagraph): New helper method.
1476 (HTMLReader.inParagraph): New helper method.
1477 * javax/swing/text/html/ImageView.java
1478 (attributes): New field. Caches view attributes.
1479 (spans): New field. Caches CSS spans.
1480 (getAttributes): Correctly setup CSS view attributes.
1481 (getPreferredSpan): Use caches spans.
1482 (getStyleSheet): Use the view's getDocument() method.
1483 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1484 (updateSize): Use cached spans.
1485 * javax/swing/text/html/ParagraphView.java
1486 (setPropertiesFromAttributes): Setup EM and EX.
1487 * javax/swing/text/html/StyleSheet.java
1488 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1489 (getEMBase): New helper method.
1490 (getEXBase): New helper method.
1491 * javax/swing/text/html/TableView.java
1492 (width): New field. Caches the table width.
1493 (calculateMinorAxisRequirements): Use caches span.
1494 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1495 (updateGrid): Correctly setup EM/EX.
1497 2006-11-30 Roman Kennke <kennke@aicas.com>
1499 * javax/swing/text/html/FormSubmitEvent.java: New class.
1500 * javax/swing/text/html/FormView.java
1501 (SubmitThread): New class for submitting data in a separate thread.
1502 (actionPerformed): Fetch the actual for data.
1503 (addData): New helper method.
1504 (getElementFormData): New helper method.
1505 (getFormData): New helper method.
1506 (getInputFormData): New helper method.
1507 (submitData): Implemented.
1508 * javax/swing/text/html/FrameView.java
1509 (createComponent): Add this as hyperlink listener.
1510 Set the target document as frame document.
1511 (getTopEditorPane): New helper method.
1512 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1513 (handleHyperlinkEvent): New helper method.
1514 (handleFormSubmitEvent): New helper method.
1515 * javax/swing/text/html/HTMLDocument.java
1516 (HTMLReader.BaseAction.start): Track the base target.
1517 (HTMLReader.BaseAction.end): Removed.
1518 (baseTarget): New field.
1519 (frameDocument): New field.
1520 (getBaseTarget): New property accessor.
1521 (isFrameDocument): New property accessor.
1522 (processHTMLFrameHyperlinkEvent): Implemented.
1523 (setFrameDocument): New property accessor.
1524 (updateFrame): New helper method.
1525 (updateFrameSet): New helper method.
1526 * javax/swing/text/html/HTMLEditorKit.java
1527 (LinkController.createHyperlinkEvent): Handle frame documents.
1528 (autoFormSubmission): New field.
1529 (HTMLEditorKit): Set autoFormSubmission to true.
1530 (isAutoFormSubmission): New property accessor.
1531 (setAutoFormSubmission): New property accessor.
1533 2006-11-30 Roman Kennke <kennke@aicas.com>
1535 * javax/swing/text/ElementIterator.java
1536 (ElementRef): New inner class.
1537 (currentDepth): Removed.
1538 (currentElement): Removed.
1539 (previousItem): Removed.
1540 (stack): New field. Holds the iteration stack.
1542 (ElementIterator(Document)): Removed init of removed fields.
1543 (ElementIterator(Element)): Removed init of removed fields.
1544 (current): Changed to stack based algorithm.
1545 (deepestLeaf): New helper method.
1546 (depth): Changed to stack based algorithm.
1547 (first): Changed to stack based algorithm.
1548 (next): Changed to stack based algorithm.
1549 (previous): Changed to stack based algorithm.
1551 2006-11-30 Francis Kung <fkung@redhat.com>
1553 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1554 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1556 2006-11-30 Francis Kung <fkung@redhat.com>
1558 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1559 (draw): Set transform in buffered composite.
1560 (drawComposite): Do not transform bounds; round bounds.
1561 (drawGlyphVector): Set transform in buffered composite.
1562 (drawRenderedImage): Set transform in buffered composite.
1563 (fill): Set transform in buffered composite.
1564 (updateBufferedImage): Fix scanline & height calculations.
1565 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1566 (createPath): Simplify width & height calculation.
1567 (drawImage): Also transform width & height.
1569 2006-11-30 Roman Kennke <kennke@aicas.com>
1571 * javax/swing/text/html/FrameSetView.java: New class. Implements
1573 * javax/swing/text/html/FrameView.java: New class. Implements
1575 * javax/swing/text/html/HTMLDocument.java:
1576 (HTMLReader.addSpecialElement): Only add one artificial space.
1577 * javax/swing/text/html/HTMLEditorKit.java
1578 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1579 * gnu/javax/swing/text/html/parser/support/Parser.java
1580 (_handleEmptyTag): Also consume whitespace after frame tags.
1582 2006-11-30 Gary Benson <gbenson@redhat.com>
1584 * java/lang/Thread.java: Javadoc fixes.
1586 2006-11-29 Tom Tromey <tromey@redhat.com>
1589 * java/lang/Class.java (getAnnotations): Rewrote.
1591 2006-11-29 Tania Bento <tbento@redhat.com>
1593 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1594 (parseParams): Unescape 'val' before putting it into the Map.
1595 (unescapeString): New private method.
1597 2006-11-29 Tom Tromey <tromey@redhat.com>
1599 * tools/gnu/classpath/tools/getopt/package.html: New file.
1601 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1603 * javax/swing/plaf/metal/MetalIconFactory.java
1604 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1605 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1607 2006-11-29 Mario Torre <neugens@limasoftware.net>
1609 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1610 with the default international currency sign \u00A4.
1611 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1612 table for string formatting.
1613 (formatInternal): likewise.
1614 (scanNegativePattern): likewise.
1615 (applyPattern): likewise.
1616 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1617 Locale is immutable and does not need clone.
1619 2006-11-29 Francis Kung <fkung@redhat.com>
1621 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1622 (drawLine): Remove hard-coded pixel shifting.
1624 2006-11-29 Roman Kennke <kennke@aicas.com>
1626 * java/awt/Component.java
1627 (isShowing): Simplified condition code and avoid unnecessary
1629 (coalesceEvents): Always coalesce paint events and let the peer
1630 figure out the expanding of the repaint area.
1631 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1632 (currentPaintEvents): Removed. Replaced by paintArea.
1633 (paintArea): New field. Tracks the dirty area.
1634 (SwingComponentPeer): Removed init of currentPaintEvents.
1635 (coalescePaintEvent): Simplified to only union the dirty regions.
1636 (handleEvent): Paint dirty region that was tracked in paintArea.
1637 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1638 (paintArea): New field. Tracks the dirty region.
1639 (coalescePaintEvent): Implemented to track the dirty region.
1640 (paintComponent): Use the dirty region in paintArea. Protect
1641 state by putting the paint and dispose code in a try-finally.
1642 (updateComponent): Use the dirty region in paintArea. Protect
1643 state by putting the paint and dispose code in a try-finally.
1645 2006-11-29 Roman Kennke <kennke@aicas.com>
1647 * java/awt/font/TextLayout.java
1648 (getVisualHighlightShape): Removed debug output.
1650 2006-11-28 Andrew Haley <aph@redhat.com>
1652 * vm/reference/sun/reflect/misc/ReflectUtil.java
1653 (checkPackageAccess): Implement.
1655 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1657 * native/jni/java-lang/java_lang_VMDouble.c:
1658 (parseDoubleFromChars) New function. Factored out from ...
1659 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1660 (dtoa_toString): New function. Factored out from ...
1661 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1662 Changed conversion mode to 2, as modes 0 and 1 don't round
1663 as the API spec demands. Invoke conversion function as often
1664 as necessary with growing precision until a reversible
1665 representation of the double in form of a string is reached.
1667 2006-11-28 Roman Kennke <kennke@aicas.com>
1669 * javax/swing/JComponent.java
1670 (putClientProperty): Do not fire event when both old and new
1673 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1675 * java/lang/Enum.java:
1676 Make name and ordinal final.
1678 2006-11-27 Casey Marshall <csm@gnu.org>
1680 * java/util/jar/JarEntry.java (certs): removed.
1681 (jarfile): new field.
1682 (getCertificates): read the certificates from the containing JarFile.
1683 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1684 fill in 'certs,' fill in 'jarfile' for the entry.
1685 (getEntry): likewise.
1687 2006-11-27 Francis Kung <fkung@redhat.com>
1689 * java/awt/image/WritableRaster.java
1690 (createChild): Implemented.
1692 2006-11-27 Roman Kennke <kennke@aicas.com>
1694 * java/awt/font/TextLayout.java
1695 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1696 (getVisualHighlightShape): Implemented.
1697 (layoutRuns): Fixed boundary so that the last run is also laid out.
1698 (left): New helper method.
1699 (right): New helper method.
1701 2006-11-27 Roman Kennke <kennke@aicas.com>
1703 * java/awt/font/TextLayout.java
1704 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1705 (getCaretShape(TextHitInfo)): Use natural bounds.
1706 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1707 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1708 above with DEFAULT_CARET_POLICY.
1709 (getCaretShapes(int)): Use natural bounds.
1711 2006-11-27 Roman Kennke <kennke@aicas.com>
1713 * java/awt/font/TextLayout.java
1714 (Run.font): New field.
1715 (Run.location): New field.
1716 (Run.Run): Initialize font.
1717 (font): Removed field. This is moved into Run as the actual font
1718 is something run-specific.
1719 (TextLayout(String,Font,FontRenderContext)): Set font on the
1720 single runs. Layout the runs here.
1721 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1722 (findRunAtIndex): New helper method.
1723 (getCaretInfo): Implemented.
1724 (layoutRuns): New helper method.
1725 (toString): Don't put font in output string.
1727 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1729 * AUTHORS: Added Jeroen Fritjers.
1731 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1733 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1734 for FieldPosition to be null.
1735 Check if the factional part is just 0 and can be omitted from the
1737 (scanNegativePattern): Fixed index out of bound exception when searching
1738 for international currency symbol in negative pattern.
1740 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1742 * java/beans/beancontext/BeanContextSupport.java:
1743 (readObject(ObjectInputStream)): Implemented.
1744 (writeObject(ObjectOutputStream)): Likewise.
1745 (BCSChild.getTargetChild()): Added.
1746 (bcsPreDeserializationHook()): Implemented.
1747 (bcsPreSerializationHook()): Likewise.
1748 (childDeserializedHook(Object,BCSChild)): Likewise.
1749 (isSerializing()): Likewise.
1750 (readChildren(ObjectInputStream)): Likewise.
1751 (writeChildren(ObjectOutputStream)): Likewise.
1753 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1754 Ian Lance Taylor <ian <at> airs.com>
1755 Paolo Bonzini <bonzini <at> gnu.org>
1759 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1760 increased portability. Likewise, use -f instead of -e.
1762 2006-11-26 Mark Wielaard <mark@klomp.org>
1764 * lib/Makefile.am (propertydirs): Removed.
1765 (resources): Explicitly create all dirs.
1767 2006-11-26 Mark Wielaard <mark@klomp.org>
1769 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1771 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1773 * native/target/.cvsignore,
1774 native/target/generic/.cvsignore,
1775 native/target/Linux/.cvsignore:
1776 Removed no longer used files.
1778 * native/target: Removed no longer used directory.
1780 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1784 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1785 (Java_gnu_java_nio_VMSelector_select):
1786 Use strerror if strerror_r is not available.
1788 Reported by: Michael Franz <mvfranz@gmail.com>,
1789 Riccardo Mottola <zuse@libero.it>
1791 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1795 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1796 STRICT_WARNING_CFLAGS since it caused the build to fail
1799 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1801 * doc/vmintegration.texinfo: Update VM Threading Model section.
1803 2006-11-26 Tom Tromey <tromey@redhat.com>
1805 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1807 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1809 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1810 Conditionally include ifaddrs.h.
1811 (getif_address): Updated conditional.
1812 (getif_index): Likewise.
1813 * configure.ac: Check for ifaddrs.h.
1815 2006-11-25 Mark Wielaard <mark@klomp.org>
1817 * java/io/File.java (list): Return empty list for unreadable dirs.
1819 2006-11-25 Mark Wielaard <mark@klomp.org>
1821 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1822 Synchronize on font peer.
1823 (setFont): Likewise.
1824 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1826 (getTextMetrics): Likewise.
1828 2006-11-25 Roman Kennke <kennke@aicas.com>
1830 * javax/swing/text/GapContent.java
1831 (getPositionsInRange): Rewritten to use the more efficient
1832 binary search searchFirst() and avoid an NPE that was caused
1835 2006-11-25 Mark Wielaard <mark@klomp.org>
1837 * javax/swing/text/CompositeView.java (modelToView): Never return
1840 2006-11-25 Mark Wielaard <mark@klomp.org>
1842 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1843 Check whether rowView instanceof RowView.
1844 (updateGrid): Likewise.
1846 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1849 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1850 * java/text/NumberFormat.java (format): all format methods, fixed
1851 FieldPosition argument should never be null.
1852 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1853 method is not final.
1854 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1856 * AUTHORS: added my name to the file.
1858 2006-11-25 Mark Wielaard <mark@klomp.org>
1860 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1861 getChildAllocation() returning null.
1863 2006-11-25 Mark Wielaard <mark@klomp.org>
1865 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1866 Use clazzIndex for id substring.
1868 2006-11-25 Mark Wielaard <mark@klomp.org>
1870 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1871 it is still running.
1873 2006-11-25 Mark Wielaard <mark@klomp.org>
1876 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1879 2006-11-24 Tania Bento <tbento@redhat.com>
1881 * java/awt/font/TextHitInfo.java
1882 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1883 (beforeOffset): Decreased first parameter by 1.
1885 2006-11-24 Francis Kung <fkung@redhat.com>
1887 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1888 (constructor): Check sample model when setting fastCM flag.
1889 (updateBufferedImage): Check scanline and sample model offsets before
1890 copying data directly into the image data buffer.
1892 2006-11-24 Francis Kung <fkung@redhat.com>
1894 * gnu/java/awt/java2d/QuadSegment.java
1895 (offsetSubdivided): Handle special straight-line cases.
1897 2006-11-24 Roman Kennke <kennke@aicas.com>
1899 * java/awt/dnd/DropTarget.java
1900 (DropTargetAutoScroller.HYSTERESIS): New constant.
1901 (DropTargetAutoScroller.DELAY): New constant.
1902 (DropTargetAutoScroller.inner): New field. A cached
1904 (DropTargetAutoScroller.outer): New field. A cached
1906 (DropTargetAutoScroller.timer): New field. The actual timer.
1907 (DropTargetAutoScroller.DropTargetAutoScroller):
1909 (DropTargetAutoScroller.actionPerformed): Implemented.
1910 (DropTargetAutoScroller.stop): Implemented.
1911 (DropTargetAutoScroller.updateLocation): Implemented.
1912 (clearAutoscroll): Stop the autoscroller before nullifying it.
1913 (createDropTargetAutoScroller): Don't set the field here,
1914 only return a new instance.
1915 (dragEnter): Only do something when active. Initialize
1917 (dragExit): Only do something when active. Stop auto scrolling.
1918 (dragOver): Only do something when active. Update auto scrolling.
1919 (drop): Only do something when active. Update auto scrolling.
1920 (dropActionChanged): Only do something when active. Update
1922 (initializeAutoScrolling): Check if component is an instance
1923 of Autoscroll, otherwise do nothing.
1924 (setActive): Disable autoscrolling when deactivating.
1925 (setComponent): When component is set to null, disable autoscrolling.
1927 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1929 * java/beans/beancontext/BeanContextServicesSupport.java
1930 (getChildBeanContextServicesListener): Implemented.
1932 2006-11-23 Roman Kennke <kennke@aicas.com>
1934 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1935 (createGraphics): Use constructor to create new instance of
1936 BufferedImageGraphics.
1937 * java/awt/Toolkit.java
1938 (getDefaultToolkit): Really try to get a real toolkit. Only
1939 use HeadlessToolkit if no other is available.
1940 * gnu/java/awt/peer/gtk/GtkToolkit.java
1941 (checkHeadless): New helper method. Checks for headless environment
1942 and throws HeadlessException if appropriate.
1943 (createButton): Check for headless.
1944 (createCanvas): Check for headless.
1945 (createCheckbox): Check for headless.
1946 (createCheckboxMenuItem): Check for headless.
1947 (createChoice): Check for headless.
1948 (createDialog): Check for headless.
1949 (createDragGestureRecognizer): Check for headless.
1950 (createDragSourceContextPeer): Check for headless.
1951 (createEmbeddedWindow): Check for headless.
1952 (createFileDialog): Check for headless.
1953 (createFrame): Check for headless.
1954 (createCheckbox): Check for headless.
1955 (createLabel): Check for headless.
1956 (createList): Check for headless.
1957 (createMenu): Check for headless.
1958 (createMenuBar): Check for headless.
1959 (createMenuItem): Check for headless.
1960 (createPanel): Check for headless.
1961 (createPopupMenu): Check for headless.
1962 (createScrollbar): Check for headless.
1963 (createScrollPane): Check for headless.
1964 (createTextArea): Check for headless.
1965 (createTextField): Check for headless.
1966 (createWindow): Check for headless.
1968 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1970 * java/beans/beancontext/BeanContextSupport.java
1971 (deserialize): Implemented,
1972 (serialize): Implemented.
1974 2006-11-23 Roman Kennke <kennke@aicas.com>
1976 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1977 (createGraphics): Try to use Cairo graphics if available.
1979 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1981 * java/beans/beancontext/BeanContextSupport.java
1982 (toArray): Added API docs,
1983 (toArray(Object[])): Added API docs, removed NotImplementedException.
1985 2006-11-22 Tania Bento <tbento@redhat.com>
1987 * javax/swing/JRootPane.java
1988 (setLayeredPane): Added documentation; throw
1989 IllegalComponentStateException if layered pane parameter is null.
1991 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1993 * java/beans/beancontext/BeanContextSupport.java
1994 (avoidingGui): Removed NotImplementedException.
1996 2006-11-22 Francis Kung <fkung@redhat.com>
1998 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1999 (drawGlyphVector): Clip updated area to glyph bounds.
2000 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2001 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2002 x-coordinate and y-coordinate pixel shifting.
2003 (shifted): Removed method.
2004 (shiftX): New method, recognising scaling transforms.
2005 (shiftY): New method, recognising scaling transforms.
2006 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2008 2006-11-22 Roman Kennke <kennke@aicas.com>
2010 * java/awt/font/TextLayout.java
2011 (hash): New field. Caches the hash code.
2012 (hashCode): Implemented.
2014 2006-11-22 Roman Kennke <kennke@aicas.com>
2016 * java/awt/image/ImageFilter.java
2017 Reformat whole class.
2018 (getFilterInstance): Don't touch the consumer field. Don't check
2020 (imageComplete): Don't check consumer.
2021 (setColorModel): Don't check consumer.
2022 (setDimensions): Don't check consumer.
2023 (setHints): Don't check consumer.
2024 (setPixels): Don't check consumer.
2025 (setProperties): Pass the original property too.
2026 * java/awt/image/IndexColorModel.java
2027 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2028 transparent pixel by calling the new helper method.
2029 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2030 transparent pixel by calling the new helper method.
2031 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2032 transparent pixel by calling the new helper method.
2033 (coerceData): Removed. This is not needed.
2034 (getAlpha): Simply return value from color map. The transparent
2035 pixel has to be there.
2036 (setTransparentPixel): New helper method. Inserts the transparent
2038 * java/awt/image/RGBImageFilter.java
2039 Reformat whole class.
2040 (convertColorModelToDefault): Removed. No longer needed.
2041 (filterIndexColorModel): Don't handle transparent pixels
2043 (filterRGBPixels): Set pixels on consumer already.
2044 (makeColor): Removed. No longer needed.
2045 * java/awt/image/ReplicateScaleFilter.java
2046 (replicatePixels): Removed.
2047 (setDimension): Correctly compute destination size, avoid double
2049 (setPixels): Avoid double calculations. Fixed some boundary cases.
2050 (setupSources): New helper method.
2051 * java/awt/image/SampleModel.java
2052 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2054 * java/awt/image/SinglePixelPackedSampleModel.java
2055 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2056 This is not needed as the superclass already copies line
2058 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2059 removed some checks that the RI also doesn't perform. Call
2060 DataBuffer.setElem().
2062 2006-11-22 Roman Kennke <kennke@aicas.com>
2064 * java/awt/text/TextLayout.java
2065 (getLogicalRangesForVisualSelection): Implemented.
2067 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2069 * sun/reflect/annotation/AnnotationParser.java,
2070 * sun/reflect/annotation/AnnotationType.java,
2071 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2072 * sun/reflect/annotation/ExceptionProxy.java:
2074 * sun/misc/ServiceConfigurationError.java,
2075 * sun/misc/Service.java:
2078 2006-11-21 Roman Kennke <kennke@aicas.com>
2080 * java/awt/text/TextLayout.java
2081 (Run.isLeftToRight): New helper method.
2082 (logicalToVisual): New field. Maps logical indices to visual
2084 (visualToLogical): New field. Maps visual indices to logical
2086 (TextLayout): Setup mappings.
2087 (setupMappings): New method for setting up the mappings.
2088 (getCharacterLevel): Reorganized code.
2089 (getNextLeftHit(int)): Implemented.
2090 (getNextLeftHit(int,CaretPolicy)): New method.
2091 (getNextLeftHit(TextHitInfo)): Implemented.
2092 (getNextRightHit(int)): Implemented.
2093 (getNextRightHit(int,CaretPolicy)): New method.
2094 (getNextRightHit(TextHitInfo)): New method.
2095 (getVisualOtherHit): Implemented.
2096 (checkHitInfo): New helper methods for checking parameters.
2097 (hitToCaret): New helper method. Maps hit infos to caret locations.
2098 (caretToHit): New helper method. Maps caret locations to hit infos.
2099 (isCharacterLTR): New helper method.
2100 (CaretPolicy.getStrongCaret): Implemented.
2102 2006-11-21 Francis Kung <fkung@redhat.com>
2104 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2105 (draw): Include stroke width when calculating bounds.
2106 (updateBufferedImage): Round bounds more generously, handle negative
2107 height/width values, and clip more intelligently.
2108 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2109 (createPath): Add shortcut optimization for lines.
2110 (draw): Include stroke width when calculating bounds.
2111 (drawLine): Delegate to main draw() method.
2112 (drawRect): Likewise.
2113 (fillRect): Delegate to main fill() method.
2114 (findStrokedBounds): New method.
2115 (setCustomPaint): Round bounds more generously.
2116 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2117 (drawLine): Removed.
2118 (drawRect): Removed.
2119 (fillRect): Removed.
2121 2006-11-21 Francis Kung <fkung@redhat.com>
2123 * gnu/java/awt/java2d/TexturePaintContext.java
2124 (getRaster): Handle negative coordinate values.
2125 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2126 (setPaint): Moved custom paint processing to a new method.
2127 (setPaintPixels): Added x, y parameters.
2128 (getRealBounds): Added documentation.
2129 (copy): Copy clipping information.
2130 (drawLine): Process custom paints.
2131 (setCustomPaint): New method.
2132 (fill): Process custom paints.
2133 (drawGlyphVector): Process custom paints.
2134 (drawRect): Process custom paints.
2135 (draw): Process custom paints.
2136 * gnu/java/awt/peer/gtk/CairoSurface.java
2137 (cairoCM_opaque): New constant.
2138 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2139 (argb32): Removed constant.
2140 (rgb32): Removed constant.
2141 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2142 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2143 (updateBufferedImage): Transform to device-space before updating.
2144 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2145 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2147 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2148 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2149 source at designated x, y origin.
2151 2006-11-21 Roman Kennke <kennke@aicas.com>
2153 * java/awt/text/TextLayout.java
2154 (Run): New inner helper class.
2155 (length): New field.
2156 (naturalBounds): New field.
2157 (offset): New field.
2158 (runIndices): Removed. This is now encapsulate in a Run object.
2159 (runs): Changed to Run[].
2160 (string): Changed to char[].
2161 (totalAdvance): New field. Caches advance value.
2162 (TextLayout(String,Font,FontRenderContext)): Change to store
2163 string as char[] and run layout as Run[]. Clean out empty
2165 (TextLayout(TextLayout,int,int)): Change to store
2166 string as char[] and run layout as Run[].
2167 (clone): Call private constructor for maximum efficiency.
2168 (determineWhitespace): Adapted to use char[] data.
2169 (draw): Adapted to use Run objects.
2170 (getAdvance): Cache computed total advance.
2171 (getBlackBoxBounds): Adapted to use Run objects.
2172 (getCaretInfo): Use natural layout bounds.
2173 (getCharacterCount): Return length field.
2174 (getLogicalHighlightShape): Adapted to use Run objects.
2175 (getNaturalBounds): New helper method. Calculates and returns the
2176 natural bounds of this text layout.
2177 (getOutline): Adapted to use Run objects.
2178 (getStringProperties): Adapted to use char[] data.
2179 (getVisibleAdvance): Adapted to use char[] and Run data.
2180 (handleJustify): Adapted to use char[] and Run data.
2181 (hitTestChar(float,float,Rectangle2D)): Implemented.
2182 (hitTestChar(float,float)): Use natural bounds.
2183 (setCharIndices): Adapted to use char[] and Run data.
2184 (toString): Adapted to use char[] and Run data.
2185 * java/text/Bidi.java
2186 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2188 2006-11-21 Roman Kennke <kennke@aicas.com>
2190 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2191 Removed. This is now an inner class in GdkFontPeer.
2192 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2193 (drawString(float,float)): Use text layout cache from
2195 (getFontMetrics): Delegate to GdkFontPeer.
2196 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2197 (getGlyphCodes): Also check array size.
2198 (getGlyphPositions): Also check array size.
2199 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2200 (GdkFontLineMetrics.fm): Removed.
2201 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2202 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2203 (GdkFontLineMetrics.underlineOffset): Removed.
2204 (GdkFontLineMetrics.underlineThickness): Removed.
2205 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2206 FontMetrics argument. Don't init removed fields.
2207 (GdkFontLineMetrics.getAscent): Return font peer's field.
2208 (GdkFontLineMetrics.getDescent): Return font peer's field.
2209 (GdkFontLineMetrics.getHeight): Return font peer's field.
2210 (GdkFontLineMetrics.getLeading): Return font peer's field.
2211 (GdkFontLineMetrics.getNumChars): Reformat.
2212 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2213 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2214 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2215 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2216 (GdkFontMetrics): Moved class in here as inner class.
2217 Make it use the font peer's fields and for the char(s) width
2218 and string width method, use TextLayout to measure the actual widths.
2219 (ascent): New field.
2221 (DEFAULT_CTX): New constant field.
2222 (descent): New field.
2223 (FONT_METRICS_ASCENT): New constant.
2224 (FONT_METRICS_DESCENT): New constant.
2225 (FONT_METRICS_HEIGHT): New constant.
2226 (FONT_METRICS_MAX_ADVANCE): New constant.
2227 (FONT_METRICS_MAX_ASCENT): New constant.
2228 (FONT_METRICS_MAX_DESCENT): New constant.
2229 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2230 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2231 (height): New field.
2232 (maxAdvance): New field.
2233 (maxAscent): New field.
2234 (maxDescent): New field.
2235 (metrics): New field. Stores a FontMetrics for this font.
2236 (textLayoutCache): New field. Caches TextLayout instances.
2237 (underlineOffset): New field.
2238 (underlineThickness): New field.
2239 (cinit): Don't initialize resource bundle.
2240 (GdkFontPeer): Setup the metrics.
2241 (getFontMetrics): Return stored metrics if possible.
2242 (getLineMetrics): Adapt to new constructor.
2243 (initFont): New helper method.
2244 (setupMetrics): New helper method.
2245 * gnu/java/awt/peer/gtk/GtkToolkit.java
2246 (LRUCache): Made class a static class.
2247 (getFontMetrics): Delegate to GdkFontPeer.
2248 * native/jni/gtk-peer/gdkfont.h
2249 Added new constant defines.
2250 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2251 (getFontMetrics): Rewritten to fetch the font metrics from
2254 2006-11-20 Tania Bento <tbento@redhat.com>
2256 * javax/swing/ButtonGroup.java:
2257 (setSelected): Select the ButtonModel if all conditions
2260 2006-11-20 Tania Bento <tbento@redhat.com>
2262 * javax/swing/JSlider.java:
2263 (updateLabelUIs): Removed casting.
2265 2006-11-20 Mark Wielaard <mark@klomp.org>
2267 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2268 (bundle): New static final String field.
2269 (getLocalizedMessage): Initialize messages when still null.
2270 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2271 (set): Use RE.getLocalizedMessage().
2273 (setLineSeparator): Likewise.
2275 2006-11-20 Roman Kennke <kennke@aicas.com>
2277 * javax/swing/text/html/StyleSheet.java
2278 (linked): New field.
2279 (styleSheet): Replaced by linked.
2280 (addStyleSheet): Use an arraylist for simplicity.
2281 (getRule): Removed useless instantiation.
2282 (getStyleSheets): Convert array list to array.
2283 (removeStyleSheet): Use an arraylist for simplicity.
2284 (resolveStyle): Include styles from linked lists.
2286 2006-11-20 Roman Kennke <kennke@aicas.com>
2288 * javax/swing/text/BoxView.java
2289 (BoxView): Initialize with invalid req's.
2290 (forwardUpdate): Trigger repaint when children changed the
2292 (getResizeWeight): Return resizable when the pref differs from
2293 the min or the pref differs from the max size.
2294 (layoutMajorAxis): Actually sum up the preferred sizes.
2295 (paint): Made binary search more robust.
2296 (replace): Let arrays shrink when needed.
2297 (replaceLayoutArray): Let arrays shrink when needed.
2298 (setAxis): Trigger preferenceChanged.
2299 * javax/swing/text/CompositeView.java
2300 (getInsideAllocation): Call insets method to take account
2301 of overriding subclasses.
2302 * javax/swing/text/DefaultStyledDocument.java
2303 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2304 (ElementBuffer.insertUpdate): Only remove the found element, not
2306 * javax/swing/text/GlyphView.java
2307 (insertUpdate): Pass null in preferenceChanged.
2308 (removeUpdate): Pass null in preferenceChanged.
2309 (changedUpdate): Pass null in preferenceChanged.
2310 * javax/swing/text/Utilities.java
2311 (drawTabbedText): Avoid single calls to charWidth() and instead
2312 call charsWidth() on whole chunks.
2313 * javax/swing/text/html/HTMLDocument.java
2314 (BlockElement.getName): Fall back to super when necessary.
2315 (RunElement.getName): Fall back to super when necessary.
2316 (HTMLReader.MAX_THRESHOLD): New constant field.
2317 (HTMLReader.GROW_THRESHOLD): New constant field.
2318 (HTMLReader.theshold): New field.
2319 (HTMLReader.HTMLReader): Fetch threshold from document.
2320 (HTMLReader.addContent): Sucessivly grow the threshold.
2321 (createLeafElement): Don't create two elemens and don't set
2323 * javax/swing/text/html/TableView.java
2324 (RowView.replace): Invalidate grid.
2325 (gridValid): Made package private.
2326 (layoutMinorAxis): Mark all rows as invalid.
2327 (replace): Invalidate grid.
2329 2006-11-20 Roman Kennke <kennke@aicas.com>
2331 * javax/swing/text/AbstractDocument.java
2332 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2333 (DefaultDocumentEvent.modified): Made private.
2334 (DefaultDocumentEvent.THRESHOLD): New constant field.
2335 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2337 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2338 exceeding threshold.
2339 (DefaultDocumentEvent.getChange): Use iterative approach
2340 when we have no hashmap yet.
2341 (documentCV): Removed.
2342 (numWriters): Renamed from numWritersWaiting.
2343 (createPosition): Reformat.
2344 (getCurrentWriter): Synchronized.
2345 (readLock): Implement more straightforward.
2346 (readUnlock): Implement more straightforward.
2347 (writeLock): Implement more straightforward.
2348 (writeUnlock): Implement more straightforward.
2349 (remove): Write-lock here.
2350 (removeImpl): Don't write-lock here.
2352 2006-11-20 Roman Kennke <kennke@aicas.com>
2354 * javax/swing/JEditorPane.java
2355 (setPage): Set priority on loading thread.
2357 2006-11-20 Roman Kennke <kennke@aicas.com>
2359 * javax/swing/plaf/basic/BasicTextUI.java
2360 (RootView.paint): Avoid allocation.
2361 (cachedInsets): New field. Caches an Insets instance.
2362 (getNextVisualPositionFrom): Read-lock the document to avoid
2363 thread nastiness. Push allocation.
2364 (getPreferredSize): Push fake allocation when not yet laid out.
2365 (getVisibleEditorRect): Use cached insets.
2366 (viewToModel): Read-lock the document to avoid
2367 thread nastiness. Push allocation.
2369 2006-11-20 Roman Kennke <kennke@aicas.com>
2371 * javax/swing/text/StyleContext.java
2372 (attributeSetPool): Synchronize this map.
2373 (addAttribute): Synchronize this method.
2374 (addAttributes: Synchronize this method.
2375 (readObject): Install synchronized map on target object.
2376 (removeAttribute): Synchronize this method.
2377 (removeAttributes): Synchronize this method.
2378 (removeAttributes): Synchronize this method.
2380 2006-11-20 Roman Kennke <kennke@aicas.com>
2382 * javax/swing/text/GapContent.java
2383 (GapContentPosition.GapContentPosition): Removed constructor.
2384 (Mark): Made subclass of WeakReference to refer directly to
2385 the associated position.
2386 (Mark.refCount): Removed.
2387 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2388 New constructor. Used to reference a position and register the
2390 (Mark.Mark(index)): Call super and don't adjust mark offset.
2391 (Mark.compareTo): Removed.
2392 (Mark.equals): Removed.
2393 (Mark.getOffset): Return at least null. Removed assert.
2394 (Mark.getPosition): New helper method.
2395 (garbageMarks): New field.
2396 (positions): Removed.
2397 (searchMark): New field.
2398 (GapContent): Removed init of positions map.
2399 (addImpl): New helper method.
2400 (adjustPositionsInRange): Removed.
2401 (compare): New helper method.
2402 (createPosition): Rewritten for new datastructures. This now
2403 performs a much more efficient binary search for finding
2404 a position at the requested offste.
2405 (garbageCollect): Rewritten to collect unused marks.
2406 (getPositionsInRange): Adjusted for new data structures.
2407 (removeImpl): New helper method.
2408 (replace): Use new addImpl() and removeImpl() helper method for
2409 correctly adjusting the positions and gap.
2410 (search): Rewritten. Implements a more suitable binary search.
2411 (searchFirst): New helper method.
2412 (setPositionsInRange): Removed.
2413 (shiftEnd): Update the marks here.
2414 (shiftGap): Update the marks here.
2415 (shiftGapEndUp): Update the marks here.
2416 (shiftGapStartDown): Update the marks here.
2418 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2420 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2421 digest algorithm implementations.
2422 (readSignatures): Parse the manifest once and reuse that data.
2423 Add support for line breaks.
2424 (verifyHashes): Use the parsed manifest entry.
2425 (readManifestEntry): Removed.
2427 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2429 * java/beans/beancontext/BeanContextServicesSupport.java:
2430 Added more documentation.
2431 (addService(Class,BeanContextServiceProvider,boolean)):
2432 Synchronized over global hierarchy lock.
2433 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2434 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2435 (childJustRemovedHook(Object,BCSChild)): Implemented.
2436 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2438 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2439 Added revocation-only listeners.
2440 (getBeanContextServicesPeer()): Implemented.
2441 (getCurrentServiceClasses(Class)): Synchronized over global
2443 (getCurrentServiceSelectors(Class)): Synchronized over global
2444 hierarchy lock, and fixed FIXME.
2445 (getService(BeanContextChild,Object,Class,Object,
2446 BeanContextServiceRevokedListener)): Implemented.
2447 (hasService(Class)): Synchronized over global hierarchy lock.
2448 (releaseService(BeanContextChild,Object,Object)): Implemented.
2449 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2450 * java/beans/beancontext/BeanContextSupport.java:
2451 (remove(Object, boolean)): Documentation correction.
2453 2006-11-19 Roman Kennke <kennke@aicas.com>
2455 * javax/swing/JEditorPane.java
2456 (PageStream): New inner class.
2457 (PageLoader): New inner class.
2458 (loading): New field.
2459 (setPage): Implemented asynchronous loading.
2460 * javax/swing/text/DefaultStyledDocument.java
2461 (ElementBuffer.create): New helper method.
2462 (create): Use new ElementBuffer method instead of hack.
2463 * javax/swing/text/html/HTMLDocument.java
2464 (HTMLReader.flushImpl): New helper method.
2465 (HTMLReader.addContent): Use flushImpl().
2466 (HTMLReader.blockClose): Added null check.
2467 (HTMLReader.flush): Use flushImpl().
2468 * javax/swing/text/html/HTMLEditorKit.java
2469 (createDefaultDocument): Set load priority to 4 and token threshold
2471 * javax/swing/text/html/TableView.java
2472 (insertUpdate): Overridden to provide correct view factory.
2473 (removeUpdate): Overridden to provide correct view factory.
2474 (changedUpdate): Overridden to provide correct view factory.
2476 2006-11-19 Roman Kennke <kennke@aicas.com>
2478 * javax/swing/text/BoxView.java
2479 (clipRect): New field.
2480 (tmpRect): New field.
2481 (layout): Reorganized code. Now uses layoutAxis() helper method.
2482 (layoutAxis): New helper method.
2483 (paint): Optimized by using cached Rectangle objects and
2484 a binary search for child views inside the clip.
2485 * javax/swing/text/CompositeView.java
2486 (insideAllocation): Made private and initialized in constructor.
2487 (getInsideAllocation): Removed initialization block for
2488 insideAllocation field. Avoid unnecessary allocations.
2489 * javax/swing/text/GlyphView.java
2490 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2491 The remaining stuff (background, underline and striking) is
2492 done in the GlpyhView itself. Avoid unnecessary allocations.
2493 (cached): A cached Segment instance.
2494 (getText): Return cached segment.
2495 (paint): Paint underline, strike and background here. Avoid
2498 2006-11-19 Roman Kennke <kennke@aicas.com>
2500 * javax/swing/text/html/StyleSheet.java
2501 (getFontSize): Removed debug output.
2502 (ListPainter.tmpRect): New field.
2503 (ListPainter.paint): Align bullet vertically centered to
2504 the first line of the paragraph.
2506 2006-11-17 Roman Kennke <kennke@aicas.com>
2508 * gnu/javax/swing/text/html/css/CSSParser.java
2509 (parseDeclaration): Trim string before reporting.
2510 * gnu/javax/swing/text/html/css/FontSize.java
2512 (isRelative): New field.
2513 (sizeIndex): New field.
2514 (FontSize): Initialize new fields.
2515 (getValue): Changed to call getValue(int).
2516 (getValue(int)): New method. Implements relative font sizes.
2517 (isRelative): New method.
2518 (mapAbsolute): Store index.
2519 (mapEM): New helper method.
2520 (mapLarger): New helper method.
2521 (mapPercent): New helper method.
2522 (mapRelative): New helper method.
2523 (mapSmaller): New helper method.
2524 (mapValue): New helper method.
2525 * javax/swing/text/html/CSS.java
2526 (parseBackgroundShorthand): Create CSSColor directly.
2527 * javax/swing/text/html/StyleSheet.java
2528 (addRule): Invalidate resolved styles.
2529 (getFont): Call new getFontSize() method to resolve relative
2531 (getFontSize): New helper method. Resolves relative font sizes.
2532 (translateHTMLToCSS): Create CSS objects directly.
2534 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2536 * gnu/java/util/regex/RETokenNamedProperty.java:
2537 (getHandler(String)): Add support for 'all'.
2539 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2541 * gnu/javax/management/Server.java:
2542 Initial implementation of a GNU management server.
2543 * javax/management/MBeanPermission.java,
2544 * javax/management/MBeanRegistration.java,
2545 * javax/management/MBeanTrustPermission.java:
2548 2006-11-17 Mark Wielaard <mark@klomp.org>
2550 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2552 2006-11-17 Gary Benson <gbenson@redhat.com>
2554 * java/net/DatagramSocket.java (getLocalAddress, connect,
2555 receive): Perform security check on address not hostname.
2557 2006-11-16 Roman Kennke <kennke@aicas.com>
2559 * gnu/javax/swing/text/html/parser/support/Parser.java
2560 (_handleText): Fixed condition for consuming whitespace.
2561 Removed validator check, this is superfluous now.
2563 2006-11-16 Roman Kennke <kennke@aicas.com>
2565 * gnu/javax/swing/text/html/css/CSSParser.java
2566 (parseRuleset): Support 'combined' selectors.
2567 (main): Adapt callback for combined selectors support.
2568 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2569 (startStatement): Take selector array as argument, to
2570 support combined selectors.
2571 * javax/swing/text/html/BlockView.java
2572 (calculateMinorAxisRequirements): Fetch and apply alignment.
2573 * javax/swing/text/html/StyleSheet.java
2574 (CSSStyle): Inverted the constants for correct precedence.
2575 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2577 (CSSStyleSheetParserCallback.style): Removed.
2578 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2579 (CSSStyleSheetParserCallback.end): Push multiple styles.
2580 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2582 2006-11-16 Roman Kennke <kennke@aicas.com>
2584 * javax/swing/text/FlowView.java
2585 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2586 * javax/swing/text/GlyphView.java
2587 (tabExpander): New field.
2589 (breakView): Set tabX on broken view.
2590 (getPartialSpan): Let the painter fetch the span.
2591 (getTabbedSpan): Update the tab expander field. Maybe trigger
2593 (getTabExpander): Simply return the stored expander.
2594 * javax/swing/text/Utilities.java
2595 (getTabbedTextOffset): Made algoritm a little smarter and more
2597 (getTabbedTextWidth): Don't add single char widths, instead add
2598 chunks of characters.
2599 * javax/swing/text/html/ParagraphView.java
2600 (calculateMinorAxisRequirements): Adjust margin only when the
2601 CSS span is not fixed.
2603 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2605 * java/beans/beancontext/BeanContextSupport.java
2606 (getChildBeanContextMembershipListener): Implemented,
2607 (getChildPropertyChangeListener): Implemented,
2608 (getChildSerializable): Implemented,
2609 (getChildVetoableChangeListener): Implemented,
2610 (getChildVisibility): Implemented,
2611 (setDesignTime): Use same property name as Sun's implementation.
2613 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2615 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2616 * java/beans/Statement.java
2617 (toString): Updated to match reference implementation.
2619 2006-11-15 Roman Kennke <kennke@aicas.com>
2621 * javax/swing/text/html/HTMLEditorKit.java
2622 (InsertHTMLTextAction.actionPerformed): Also try inserting
2623 the alternate tag. Adjust the selection accordingly.
2624 (InsertHTMLTextAction.adjustSelection): New helper method.
2625 Adjusts the selection after an insertion.
2626 (insertAtBoundary): Delegate to deprecated method.
2627 (insertAtBoundry): Implemented missing method.
2628 (tryInsert): New helper method.
2629 (defaultActions): Implemented to fill the array with
2630 a couple of InsertHTMLTextActions.
2632 2006-11-15 Roman Kennke <kennke@aicas.com>
2634 * javax/swing/text/html/ImageView.java
2635 (Observer): New class. Observes image loading.
2636 (haveHeight): New field.
2637 (haveWidth): New field.
2638 (height): New field.
2641 (imageIcon): New field.
2642 (loading): New field.
2643 (observer): New field.
2644 (reloadImage): New field.
2645 (reloadProperties): New field.
2646 (ImageView): Initialize observer and some flags.
2647 (getImage): Update the image state and return the image.
2648 (loadImage): New helper method. Actually starts loading.
2649 (paint): Rewritten to paint the image directly, not via Icon.
2650 (reloadImage): Rewritten. Loads the image and its properties.
2651 (renderIcon): Removed. No more necessary.
2652 (setPropertiesFromAttributes): Don't nullify image here.
2653 Added comment about missing impl.
2654 (setSize): Added comment about missing impl.
2655 (updateSize): New helper method. Updates the size attributes.
2656 (updateState): New helper method. Makes sure the image
2657 and its properties are valid.
2659 2006-11-15 Roman Kennke <kennke@aicas.com>
2661 * gnu/javax/swing/text/html/parser/support/Parser.java
2662 (_handleEndTag_remaining): Consume whitespace after a closing
2665 2006-11-15 Roman Kennke <kennke@aicas.com>
2667 * javax/swing/text/html/HTMLDocument.java
2668 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2670 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2672 (HTMLReader.parseStack): Removed.
2673 (HTMLReader.blockClose): Simply call addContent() with ' '
2674 instead of doing more complicated stuff. Removed parseStack
2676 (HTMLReader.blockOpen): Removed parseStack handling.
2677 (getInsertingReader): Removed parseStack init.
2678 * gnu/javax/swing/text/html/parser/htmlValidator.java
2679 (closeTag): Return true only when the tag actually should be
2681 * gnu/javax/swing/text/html/parser/support/Parser.java
2682 (_handleEndTag): Only actually close the tag when the validator
2685 2006-11-15 Roman Kennke <kennke@aicas.com>
2687 * javax/swing/text/html/CSS.java
2688 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2690 * javax/swing/text/html/StyleSheet.java
2691 (BoxPainter.bottomPadding): New field.
2692 (BoxPainter.leftPadding): New field.
2693 (BoxPainter.rightPadding): New field.
2694 (BoxPainter.topPadding): New field.
2695 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2697 (BoxPainter.getInset): Recognize and include the padding.
2698 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2699 javax/swing/text/html/TableView.java
2700 (RowView.calculateMajorAxisRequirements): Adjust req's for
2702 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2703 (cellSpacing): New field.
2704 (columnRequirements): Made package private to avoid accessor method.
2705 (calculateMinorAxisRequirements): Include cellSpacing.
2706 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2707 (layoutMajorAxis): Likewise.
2708 (layoutColumns): Respect cellSpacing.
2709 (setParent): Overridden to fetch the CSS attributes when view gets
2711 (setPropertiesFromAttributes): New method. Fetches the cell
2712 spacing from the CSS attributes.
2714 2006-11-15 Roman Kennke <kennke@aicas.com>
2716 * gnu/javax/swing/text/html/parser/support/Parser.java
2717 (_handleText): Consume whitespace directly before a closing tag.
2718 (restOfTag): Consume whitespace directly after opening.
2719 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2720 (preprocess): Don't perform array boundary checking by
2721 catch AIOOBE, instead check the boundary in loop condition.
2722 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2723 (TAG_CLOSE): New constants. Describes the token pattern for
2726 2006-11-14 Roman Kennke <kennke@aicas.com>
2728 * javax/swing/text/html/ImageView.java
2729 (getPreferredSpan): Use CSS length values.
2730 * javax/swing/text/html/TableView.java
2731 (CellView.calculateMajorAxisRequirements): Overridden to
2732 set the maximum reqs to maximum.
2733 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2735 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2736 the total column reqs.
2737 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2738 the total column reqs.
2739 * gnu/javax/swing/text/html/css/CSSColor.java
2740 (convertValue): Catch NumberFormatExceptions for more robustness.
2741 * gnu/javax/swing/text/html/css/FontSize.java
2742 (mapPixels): Actually map px values. Catch NFE for more robustness.
2744 2006-11-14 Roman Kennke <kennke@aicas.com>
2746 * gnu/java/awt/font/autofit/AxisHints.java,
2747 * gnu/java/awt/font/autofit/Constants.java,
2748 * gnu/java/awt/font/autofit/GlyphHints.java,
2749 * nu/java/awt/font/autofit/Latin.java,
2750 * nu/java/awt/font/autofit/LatinAxis.java,
2751 * gnu/java/awt/font/autofit/LatinMetrics.java,
2752 * gnu/java/awt/font/autofit/Scaler.java,
2753 * gnu/java/awt/font/autofit/Script.java,
2754 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2755 * gnu/java/awt/font/autofit/Segment.java,
2756 * gnu/java/awt/font/autofit/Width.java:
2757 New classes. This is some skeleton stuff for the FreeType-alike
2759 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2760 * gnu/java/awt/font/opentype/OpenTypeFont.java
2761 (unitsPerEm): Made field public.
2762 (getRawGlyphOutline): New method. Fetches the raw outline.
2763 * gnu/java/awt/font/opentype/Scaler.java
2764 (getRawGlyphOutline): New method. Fetches the raw outline.
2765 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2766 (loadGlyph): New method. This is used to load raw outlines.
2767 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2768 (getRawOutline): New method. Fetches the raw outline.
2769 * gnu/java/awt/font/opentype/truetype/Zone.java:
2772 2006-11-14 Roman Kennke <kennke@aicas.com>
2774 * javax/swing/RepaintManager.java
2775 (RepaintManager): Fetch the default state for the double buffering
2776 from a system property gnu.swing.doublebuffering.
2778 2006-11-14 Roman Kennke <kennke@aicas.com>
2780 * javax/swing/plaf/basic/BasicLabelUI.java
2781 (cachedInsets): New field.
2782 (getFontMetrics): New helper method. Fetches the font metrics
2783 from the component or the toolkit.
2784 (getPreferredSize): Use getFontMetrics() helper method for
2785 fetching the font metrics.
2786 (paint): Use getFontMetrics() helper method for
2787 fetching the font metrics. Only paint if icon or text
2788 are != null. Use cached insets.
2789 (paintDisabledText): Don't store/restore color object. The
2790 JComponent painting mechanism takes care of this by calling
2792 (paintEnabledText): Don't store/restore color object. The
2793 JComponent painting mechanism takes care of this by calling
2796 2006-11-14 Roman Kennke <kennke@aicas.com>
2798 * gnu/java/awt/peer/GLightweightPeer.java
2799 (handleEvent): Try to do something reasonable and trigger painting
2800 for the lightweight component.
2801 (getFontMetrics): Fetch and return a font metrics object from
2804 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2806 * gnu/java/util/regex/RETokenNamedProperty.java:
2807 (getHandler(String)): Add support for 'all'.
2809 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2811 * AUTHORS: Add myself.
2813 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2815 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2816 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2817 Roman Kennke's entry.
2819 2006-11-13 Roman Kennke <kennke@aicas.com>
2821 * java/awt/image/IndexColorModel.java
2822 (createCompatibleSampleModel): Implemented missing method.
2824 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2826 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2827 from big endian systems correctly.
2829 2006-11-11 Roman Kennke <kennke@aicas.com>
2831 * gnu/javax/swing/text/html/css/CSSColor.java
2832 (isValidColor): New helper method. Checks strings if they
2833 form a valid color value.
2834 * gnu/javax/swing/text/html/css/Length.java
2835 (Length): Catch number format exceptions.
2836 * javax/swing/text/html/CSS.java
2837 (addInternal): New method. Checks for shorthand CSS attributes
2839 (parseBackgroundShorthand): New method. Parses the background
2840 shorthand attribute.
2841 * javax/swing/text/html/HTMLDocument.java
2842 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2843 (HTMLReader.LinkAction.start): Implemented to load the linked
2845 (HTMLReader.LinkAction.end): Removed. This is not needed.
2846 * javax/swing/text/html/StyleSheet.java
2847 (CSSStyleSheetParserCallback.declaration): Push declaration
2848 through CSS.addInternal() to parse shorthand attributes.
2849 (addCSSAttribute): Push declaration through CSS.addInternal()
2850 to parse shorthand attributes.
2851 (importStyleSheet): Implemented. This adds a stylesheet from
2853 * javax/swing/text/html/TableView.java
2854 (calculateColumnRequirements): Increase column index for
2855 non CellView children to avoid endless loop.
2856 * javax/swing/text/CompositeView.java
2857 (setParent): Comparen with numChildren not with real arraylength.
2859 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2861 * java/beans/beancontext/BeanContextSupport.java
2862 (getChildBeanContextChild): Implemented.
2864 2006-11-10 Roman Kennke <kennke@aicas.com>
2866 * javax/swing/text/View.java
2867 (updateLayout): Only repaint when needed.
2869 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2871 * java/util/Collections.java
2872 (sort(List)): Minor API doc addition,
2873 (sort(List, Comparator)): Likewise.
2875 2006-11-10 David Fu <fchoong@netbeans.jp>
2877 * javax/swing/text/html/HTMLWriter.java
2878 (traverse): Removed Classpath specific handling of implied
2880 (traverseHtmlFragment): Removed Classpath specific handling of
2883 2006-11-10 Roman Kennke <kennke@aicas.com>
2885 * javax/swing/text/ParagraphView.java
2886 (Row.getMaximumSize): Removed. This method is not necessary.
2887 * javax/swing/text/html/TableView.java
2888 (CellView): Moved attribute init to setPropertiesFromAttributes().
2889 (setPropertiesFromAttributes): Fetch attributes here.
2890 (RowView.RowView): Documented.
2891 (RowView.getMaximumSpan): Overridden to restrict the max span
2893 (RowView.layoutMajorAxis): Correctly layout the spans.
2894 (columnWidths): New field. Stores the width attributes of
2896 (calculateColumnRequirements): Added support for relative
2897 (== percent) width attributes.
2898 (calculateMajorAxisRequirements): Removed.
2899 (calculateMinorAxisRequirements): Removed unnecessary code.
2900 (getMaximumSpan): Overridden to restrict the table's width.
2901 (layoutColumns): Documented. Implement more clever table layout,
2902 i.e. for relative columns etc.
2903 (layoutMinorAxis): Don't mark rows invalid.
2904 (updateGrid): Added docs. Initialize column widths.
2906 2006-11-09 Roman Kennke <kennke@aicas.com>
2908 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2909 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2910 Implement basic headless toolkit.
2911 * java/awt/Toolkit.java
2912 (getDefaultToolkit): Check headless property and create
2913 headless toolkit when true.
2915 2006-11-09 Ingo Proetel <proetel@aicas.com>
2916 2006-11-09 Roman Kennke <kennke@aicas.com>
2918 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2919 (SwingButton.button): New field.
2920 (SwingButton.SwingButton): Added constructor.
2921 (SwingButton.isShowing): Access button field instead of
2922 the surrounding class.
2923 (SwingButton.getParent): Access button field instead of
2924 the surrounding class.
2925 (SwingButtonPeer): Call new SwingButton constructor.
2926 * gnu/java/awt/peer/swing/SwingComponent.java:
2927 Several documentation updates.
2928 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2929 (currentPaintEvents): New field.
2930 (peerFont): New field.
2931 (SwingComponentPeer): Initialize currentPaintEvents fields.
2932 (coalescePaintEvents): Implemented.
2933 (dispose): Unregister peer from heavyweight list of its container.
2934 (getGraphics): Fetch graphics from parent component.
2935 (handleEvent): Discard paint event if its coalesced.
2936 (init): Register component with its container for proper painting.
2937 (paint): Call peerPaint().
2938 (peerPaint): Added argument that indicates if we should update.
2939 Call paint or update on the actual AWT component.
2940 (peerPaintComponent): New method. Paints the peer (Swing) component.
2941 (setFont): Set peerFont field.
2942 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2943 (backbuffer): New field.
2944 (focusOwner): New field.
2945 (heavyweightDescendents): New field.
2946 (SwingContainerPeer): Take Container as argument. Don't call init
2948 (addHeavyweightDescendent): New method.
2949 (getFocusOwner): New helper method.
2950 (getInsets): Delegate to insets().
2951 (handleKeyEvent): Dispatch event to focus owner.
2952 (handleMouseEvent): Dispatch to child component.
2953 (isDoubleBuffering): New helper method.
2954 (peerPaint): Overridden to implement container painting with
2956 (peerPaintChildren): New method. Paints the descendents of this
2958 (removeHeavyweightDescendent): New helper method.
2959 * gnu/java/awt/peer/swing/SwingFramePeer.java
2960 (peerPaint): Removed.
2961 (peerPaintComponent): Overridden to paint the menu bar.
2962 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2963 (SwingLabel.label): New field.
2964 (SwingLabel.SwingLabel): Added constructor with Label argument.
2965 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2966 the actual AWT component.
2967 (SwingLabel.getParent): Implemented to fetch the parent from
2969 (SwingLabel.isShowing): Access the label field.
2970 (SwingLabelPeer): Set alignment from label.
2971 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2972 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2974 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2975 Don't be a lighweight peer.
2976 (SwingPanelPeer): Call init.
2977 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2978 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2979 (SwingTextField.textField): New field.
2980 (SwingTextField.SwingTextField): New constructor.
2981 (SwingTextField.isShowing): Access field not enclosing class.
2982 (SwingTextField.getGraphics): New method.
2983 (SwingTextField.getParent): New method.
2984 (SwingTextFieldPeer): Call new constructor.
2985 (select): Renamed arguments.
2986 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2987 (SwingWindowPeer): Call init.
2989 2006-11-09 Tania Bento <tbento@redhat.com>
2991 * javax/swing/JLabel.java
2992 (JLabel(Icon)): Changed documentation; Changed text to null.
2993 (JLabel(Icon,int)): Likewise.
2994 (JLabel(text)): Changed documenation.
2995 (JLabel(text,int)): Likewise.
2996 (JLabel(text,Icon,int)): Changed documentation; Throw
2997 IllegalArgumentException if int is not one of LEFT, RIGHT,
2998 CENTER, LEADING or TRAILING.
3000 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3002 * java/beans/beancontext/BeanContextSupport.java
3003 (BeanContextSupport): Use correct dtime default,
3004 (BeanContextSupport(BeanContext)): Likewise,
3005 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3007 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3008 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3010 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3012 * java/beans/beancontext/BeanContextSupport.java
3013 (getBeanContextPeer): Implemented.
3015 2006-11-09 Roman Kennke <kennke@aicas.com>
3017 * javax/swing/text/html/BlockView.java
3018 (cssHeight): Removed.
3019 (cssWidth): Removed.
3020 (cssSpans): New field. Replaces the two fields above.
3021 (BlockView): Allocate cssSpans array.
3022 (layoutMinorAxis): Fetch and use child span, not this view's span.
3023 (setCSSSpan): Adjusted to use cssSpans array.
3024 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3026 2006-11-09 Roman Kennke <kennke@aicas.com>
3028 * javax/swing/text/html/InlineView.java
3029 (nowrap): New field.
3030 (getBreakWeight): Add support for nowrap.
3031 (setPropertiesFromAttributes): Fetch the nowrap setting.
3033 2006-11-09 Roman Kennke <kennke@aicas.com>
3035 * gnu/javax/swing/text/html/css/CSSParser.java
3036 (parseRuleset): Use new Selector class.
3037 (parseValue): Parse multiple anys, not only one.
3038 (main): Allow stylesheet be specified on the command line.
3039 Use new Selector class.
3040 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3041 (startStatement): Use Selector class.
3042 * gnu/javax/swing/text/html/css/CSSScanner.java
3043 (readName): Actually read a character in the loop to avoid
3045 * gnu/javax/swing/text/html/css/Length.java
3046 (getValue): Only multiply when we have a percentage value.
3047 * gnu/javax/swing/text/html/css/Selector.java:
3048 New class. Provides handling of CSS selectors.
3049 * javax/swing/text/html/StyleSheet.java
3050 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3051 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3052 (CSSStyle.PREC_NORM): New constant field.
3053 (CSSStyle.PREC_UA): New constant field.
3054 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3055 (CSSStyle.precedence): New field.
3056 (CSSStyle.priority): Removed.
3057 (CSSStyle.selector): New field.
3058 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3060 (CSSStyle.compareTo): Adjusted to use the precedence and
3061 specificity of the selector.
3062 (CSSStyleSheetParserCallback.precedence): New field.
3063 (CSSStyleSheetParserCallback.selector): Removed.
3064 (CSSStyleSheetParserCallback.style): New field.
3065 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3066 Initialize with precedence.
3067 (CSSStyleSheetParserCallback.declaration): Don't look up
3068 existing rule, simply create new one.
3069 (CSSStyleSheetParserCallback.endStatement): Append style
3071 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3073 (css): Changed to be ArrayList.
3074 (addRule): Create parser with author-normal precendence.
3075 (getRule): Fixed implementation.
3076 (loadRules): Create parser with UA precendence.
3077 (resolveStyle): Use Selector class for resolving and matching
3079 (translateHTMLToCSS): Added mappings for a couple of HTML
3082 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3085 * java/beans/SimpleBeanInfo.java
3086 (loadImage): Check for nulls.
3088 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3090 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3091 (getpeername): Added 16 byte offset to memcpy operation.
3093 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3095 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3096 (getsockname): Added 16 byte offset to memcpy operation.
3098 2006-11-08 Mark Wielaard <mark@klomp.org>
3101 * java/io/OutputStreamWriter.java
3102 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3103 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3105 2006-11-08 Roman Kennke <kennke@aicas.com>
3107 * javax/swing/text/html/HTMLEditorKit.java
3108 (getParser): Use plain HTML_401F DTD.
3109 * javax/swing/text/html/HTMLDocument.java
3110 (HTMLReader.print): Removed method and all calls to it.
3111 (HTMLReader.printBuffer): Removed method and all calls to it.
3112 (HTMLReader.inImpliedParagraph): New field.
3113 (HTMLReader.inParagraph): New field.
3114 (HTMLReader.addContent): Create implied p-tag if necessary.
3115 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3116 (HTMLReader.blockClose): Close implied p-tag if necessary.
3117 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3118 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3120 2006-11-08 Roman Kennke <kennke@aicas.com>
3122 * javax/swing/text/html/HTMLEditorKit.java
3123 (HTMLFactory.create): Removed mapping for TD tag. This
3124 is done in TableView.
3125 * javax/swing/text/html/TableView.java:
3126 Implemented from scratch.
3128 2006-11-07 Roman Kennke <kennke@aicas.com>
3130 * gnu/javax/swing/text/html/parser/support/Parser.java
3131 (_handleText): Check if text content is actually allowed before
3132 passing empty text fragments on to the parser callbacks.
3134 2006-11-07 Mark Wielaard <mark@klomp.org>
3136 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3140 2006-11-07 Tania Bento <tbento@redhat.com>
3142 * java/awt/FlowLayout.java
3143 (getSize): If parent does not have a component, then a
3144 different formula is used to calcuate the width.
3146 2006-11-07 Roman Kennke <kennke@aicas.com>
3148 * javax/swing/text/html/HTMLEditorKit.java
3149 (HTMLFactory.create): Include ListView.
3150 * javax/swing/text/html/ListView.java
3151 (paint): Removed comment.
3152 * javax/swing/text/html/StyleSheet.java
3153 (CSSStyle.priority): New field.
3154 (CSSStyle.CSSStyle(int)): New constructor with priority.
3155 (CSSStyle.compareTo): New method. Used for sorting the styles.
3156 (CSSStyleSheetParserCallback.declaration): Store the style
3157 with the complete selector.
3158 (ListPainter.attributes): Renamed as field.
3159 (ListPainter.styleSheet): New field.
3160 (ListPainter.type): New field.
3161 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3162 (ListPainter.paint): Provide simplistic implementation.
3163 (getListPainter): Pass StyleSheet to constructor.
3164 (resolveStyle): Fixed CSS style resolving.
3166 2006-11-07 Roman Kennke <kennke@aicas.com>
3168 * gnu/javax/swing/text/html/css/BorderWidth.java:
3169 New class. Handles CSS border width values.
3170 * gnu/javax/swing/text/html/css/Length.java
3171 (floatValue): Made protected so that BorderWidth can access it.
3172 * javax/swing/text/html/CSS.java
3173 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3174 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3175 (Attribute.BORDER_LEFT_COLOR): New static field.
3176 (Attribute.BORDER_LEFT_STYLE): New static field.
3177 (Attribute.BORDER_RIGHT_COLOR): New static field.
3178 (Attribute.BORDER_RIGHT_STYLE): New static field.
3179 (Attribute.BORDER_TOP_COLOR): New static field.
3180 (Attribute.BORDER_TOP_STYLE): New static field.
3181 (getValue): Added some mappings for the border color and
3182 border width values.
3183 * javax/swing/text/html/CSSBorder.java: New class. Implements
3185 * javax/swing/text/html/StyleSheet.java
3186 (BoxPainter.background): New field.
3187 (BoxPainter.border): New field.
3188 (BoxPainter.bottomInset): Documented.
3189 (BoxPainter.leftInset): Documented.
3190 (BoxPainter.rightInset): Documented.
3191 (BoxPainter.topInset): Documented.
3192 (BoxPainter.BoxPainter): Added support for borders and background.
3193 (BoxPainter.getInset): Add border insets.
3194 (BoxPainter.paint): Implemented. Paints the background and the
3196 (addRule): Be less picky about parse and IO exceptions.
3197 (getBoxPainter): Adjust to new BoxPainter constructor.
3199 2006-11-07 Andreas <a.tobler@schweiz.org>
3201 * examples/Makefile.am: Add rule to install the *.html files we use
3204 2006-11-06 Francis Kung <fkung@redhat.com>
3206 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3207 (fillRect): Handle custom composites.
3208 (drawRenderedImage): Handle custom composites.
3209 (drawImage): Handle custom composites.
3210 (createBuffer): New method.
3211 (drawLine): Handle custom composites.
3212 (drawComposite): New method.
3213 (fill): Handle custom composites.
3214 (getNativeCM): New method.
3215 (drawGlyphVector): Handle custom composites.
3216 (drawRect): Handle custom composites.
3217 (draw): Handle custom composites.
3218 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3219 (drawComposite): Unset composite during draw call, to prevent parent
3220 from handling composite again.
3221 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3222 (getBufferCM): Added comments.
3223 (getNativeCM): Made abstract.
3224 (setComposite): Removed comments.
3226 2006-11-06 Roman Kennke <kennke@aicas.com>
3228 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3229 Fixed initial window size and start document.
3231 2006-11-06 Roman Kennke <kennke@aicas.com>
3233 * javax/swing/text/html/HTMLDocument.java
3234 (HTMLReader.addSpecialElement): Removed comment about
3236 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3237 of htmlAttributeSet.
3238 * javax/swing/text/html/parser/DocumentParser.java
3239 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3240 of htmlAttributeSet.
3241 * javax/swing/text/html/parser/ParserDelegator.java
3242 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3243 of htmlAttributeSet.
3244 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3245 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3246 of htmlAttributeSet.
3247 * gnu/javax/swing/text/html/parser/support/Parser.java
3248 (getAttributes): Return a SimpleAttributeSet.
3249 (restOfTag): Don't set resolving parent here.
3251 2006-11-06 Tania Bento <tbento@redhat.com>
3253 * java/awt/TextComponent.java
3254 (setSelectionStart): Added check.
3256 2006-11-06 Tania Bento <tbento@redhat.com>
3258 * java/awt/TextField.java
3259 (minimumSize(int)): Check if minimum size has been previously
3260 set and changed values of Dimension returned if peer == null.
3261 (preferredSize(int)): Check if preferred size has been previously
3262 set and changed values of Dimension returned if peer == null.
3264 2006-11-06 Roman Kennke <kennke@aicas.com>
3266 * javax/swing/JTree.java
3267 (TreeModelHandler.treeNodesRemoved): Implemented.
3268 (TreeModelHandler.treeStructureChanged): Implemented.
3269 (nodeStates): Made package private.
3271 2006-11-06 Francis Kung <fkung@redhat.com>
3274 * javax/swing/JTree.java
3275 (clearSelectionPathStates): New private method to clean up nodeStates.
3276 (removeSelectionPath): Call clearSelectionPathStates().
3277 (removeSelectionPaths): Call clearSelectionPathStates().
3278 (removeSelectionRow): Call clearSelectionPathStates().
3279 (setSelectionPath): Call clearSelectionPathStates().
3280 (setSelectionPaths): Call clearSelectionPathStates().
3281 (setSelectionRow): Call clearSelectionPathStates().
3283 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3286 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3288 2006-11-06 Roman Kennke <kennke@aicas.com>
3290 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3291 Changed to implement a minimalistic browser.
3292 * examples/gnu/classpath/examples/swing/forms.html,
3293 * examples/gnu/classpath/examples/swing/textstyles.html,
3294 * examples/gnu/classpath/examples/swing/welcome.html:
3295 Some example content.
3297 2006-11-06 Roman Kennke <kennke@aicas.com>
3299 * javax/swing/text/ComponentView.java
3300 (setParent): Lock the document and repaint the hosting
3302 * javax/swing/text/FlowView.java
3303 (FlowStrategy.createView): Removed comment.
3304 (FlowView): Initialize span with Short.MAX_VALUE.
3305 (getFlowStart): Return 0 unconditionally.
3306 (layout): Moved code around to make it more readable.
3307 (loadChildren): Always set the parent.
3308 * javax/swing/text/GlyphView.java
3309 (DefaultGlyphPainter.fontMetrics): New field.
3310 (DefaultGlyphPainter.getAscent): Use new helper method to
3311 synchronize the font metrics.
3312 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3313 to synchronize the font metrics.
3314 (DefaultGlyphPainter.getDescent): Use new helper method to
3315 synchronize the font metrics.
3316 (DefaultGlyphPainter.getHeight): Use new helper method to
3317 synchronize the font metrics.
3318 (DefaultGlyphPainter.getSpan): Use new helper method to
3319 synchronize the font metrics.
3320 (DefaultGlyphPainter.modelToView): Use new helper method to
3321 synchronize the font metrics.
3322 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3323 font metrics caching.
3324 (DefaultGlyphPainter.viewToModel): Use new helper method to
3325 synchronize the font metrics. Fixed view to model mapping.
3326 * javax/swing/text/View.java
3327 (removeAll): Pass null to replace().
3328 (setParent): Only reparent children that have this view as parent.
3330 2006-11-05 Mark Wielaard <mark@klomp.org>
3332 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3333 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3334 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3336 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3338 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3339 Remove gnu_java_nio_channels_FileChannelImpl.c.
3341 2006-11-03 Roman Kennke <kennke@aicas.com>
3343 * javax/swing/text/html/BlockView.java
3344 (attributes): New field.
3345 (cssHeight): New field.
3346 (cssWidth): New field.
3347 (painter): New field.
3348 (calculateMajorAxisRequirements): Overridden to account for
3350 (calculateMinorAxisRequirements): Overridden to account for
3352 (layoutMinorAxis): Overridden to account for CSS settings.
3353 (changedUpdate): Formatting fixlet.
3354 (constrainSize): New helper method.
3355 (getAlignment): Fix alignment.
3356 (getAttributes): Cache attributes for better performance.
3357 (getStyleSheet): Fetch stylesheet from document rather than creating
3359 (paint): Remove comment.
3360 (setCSSSpan): New helper method.
3361 (setPropertiesFromAttributes): Implemented to fetch the
3362 recognized properties.
3363 * javax/swing/text/html/CSS.java
3364 (getValue): Added mapping for width and height attributes.
3365 * javax/swing/text/html/InlineView.java
3366 (longestWord): New field.
3367 (getLongestWord): New helper method.
3368 (calculateLongestWord): New helper method.
3369 (getMinimumSpan): Overridden to constrain the minimum span by the
3371 * javax/swing/text/html/ParagraphView.java
3372 (cssHeight): New field.
3373 (cssWidth): New field.
3374 (calculateMinorAxisRequirements): Overridden to account for
3376 (setCSSSpan): New helper method.
3377 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3379 * gnu/javax/swing/text/html/css/Length.java
3380 (percentage): New field.
3381 (Length): Determine percentage values.
3382 (getValue(float)): New method for handling percentage values.
3383 (isPercentage): New method.
3385 2006-11-03 Tania Bento <tbento@redhat.com>
3387 * java/awt/TextArea.java
3388 (getMinimumSize): Changed documentation.
3389 (getPreferredSize): Changed documentation.
3390 (getMinimumSize(int,int)): Changed documenation.
3391 (getPreferredSize(int,int)): Changed documenation.
3392 (minimumSize): Changed documentation.
3393 (preferredSize): Changed documenation.
3394 (minimumSize(int,int)): Changed documentation. Checked if
3395 minimum size had been previously set and changed values of
3396 Dimension returned if peer == null.
3397 (preferredSize(int, int)): Checked if preferred size had been
3398 previously set and changed values of Dimension returned if
3401 2006-11-03 Tania Bento <tbento@redhat.com>
3403 * java/awt/event/ComponentEvent.java
3404 (paramString): Changed format of string representation returned.
3406 2006-11-03 Roman Kennke <kennke@aicas.com>
3408 * javax/swing/text/html/HTMLDocument.java
3409 (HTMLReader.FormAction.start): Added support for textarea.
3410 (HTMLReader.FormAction.end): Added support for textarea.
3411 (HTMLReader.HeadAction.end): Call super to actually close the
3413 (HTMLReader.inTextArea): New field.
3414 (HTMLReader.textAreaDocument): New field.
3415 (HTMLReader.handleText): Call textAreaContent when inside
3417 (HTMLReader.textAreaContent): Implemented to initialize
3418 the text area's model.
3419 * javax/swing/text/html/FormView.java
3420 (createComponent): Added support for textarea tag.
3422 2006-11-03 Roman Kennke <kennke@aicas.com>
3424 * javax/swing/text/html/HTMLDocument.java
3425 (HTMLReader.IsindexAction.start): Implemented.
3427 2006-11-03 Roman Kennke <kennke@aicas.com>
3429 * javax/swing/text/html/StyleSheet.java
3430 (addRule): Implemented.
3431 * javax/swing/text/html/HTMLDocument.java
3432 (HTMLReader.inStyleTag): New field.
3433 (HTMLReader.styles): New field.
3434 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3436 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3437 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3438 (HTMLReader.handleText): When inside a style tag, add
3439 content to the styles array.
3441 2006-11-02 Roman Kennke <kennke@aicas.com>
3443 * javax/swing/text/html/FormView.java
3444 (maxIsPreferred): New field.
3445 (createComponent): Initialize components correctly.
3446 (getMaximumSpan): Return the preferred span for components
3447 that need this. The maxIsPreferred flag is set accordingly
3449 * javax/swing/text/html/HTMLDocument.java
3450 (HTMLReader.FormAction.start): Implemented to set the
3451 correct model as attribute.
3452 (HTMLReader.FormAction.setModel): New helper method.
3453 (HTMLReader.FormAction.end): Call super to finish the element.
3454 Added TODO about things left to do.
3455 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3456 than htmlAttributeSet.
3457 * javax/swing/text/html/HTMLEditorKit.java
3458 (HTMLFactory.create): Create BlockView for FORM tags.
3459 Create FormView for INPUT, TEXTAREA and SELECT tags.
3461 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3463 * java/awt/geom/GeneralPath.java: API doc fixes.
3465 2006-11-02 Roman Kennke <kennke@aicas.com>
3467 * javax/swing/text/html/ImageView.java
3468 (getImageURL): Fetch attribute from element. Consider the
3469 base URL for relative image locations.
3471 2006-11-02 Roman Kennke <kennke@aicas.com>
3473 * javax/swing/JEditorPane.java
3474 (setContentType): Strip off attributes.
3475 * javax/swing/text/html/HTMLEditorKit.java
3476 (LinkController.activateLink(int,JEditorPane,int,int): New
3477 method. Implements activation of a hyperlink.
3478 (LinkController.activateLinke(int,JEditorPane)): Delegate
3479 to the other activateLink() method.
3480 (LinkController.createHyperlinkEvent): New helper method.
3481 (LinkController.mouseClicked): Implemented to activate the link.
3482 (LinkController.mouseDragged): Added comment that this
3483 method does nothing.
3484 (LinkController.mouseMoved): Update cursor for hyperlinks.
3485 (mouseHandler): Renamed field to linkController.
3486 (HTMLEditorKit): Create a link controller.
3487 (clone): Give the clone a new link controller.
3488 (deinstall): De-install link controller as mouseMotionListener too.
3489 (install): Install link controller as mouseMotionListener too.
3491 2006-11-02 Roman Kennke <kennke@aicas.com>
3494 * javax/swing/text/FlowView.java
3495 (FlowStrategy.changedUpdate): Reversed condition. This caused
3496 wrong layout and bad performance.
3497 (FlowStrategy.insertUpdate): Reversed condition. This caused
3498 wrong layout and bad performance.
3499 (FlowStrategy.removeUpdate): Reversed condition. This caused
3500 wrong layout and bad performance.
3501 (LogicalView): Changed to be a subclass of CompositeView.
3502 (LogicalView()): Only take one Element argument.
3503 (LogicalView.childAllocation): New method for implementing
3504 the abstract CompositeView method.
3505 (LogicalView.forwardUpdateToView): Overridden for correct
3507 (getMinimumSpan): Overridden to handle line breaking correctly.
3508 (getPreferredSpan): Implemented to handle line breaking correctly.
3509 (getViewAtPoint): New method for implementing
3510 the abstract CompositeView method.
3511 (getViewIndexAtPosition): Overridden to handle leaf elements
3513 (isAfter): New method for implementing
3514 the abstract CompositeView method.
3515 (isBefore): New method for implementing
3516 the abstract CompositeView method.
3517 (loadChildren): Overridden to handle leaf elements
3519 (paint): New method for implementing
3520 the abstract CompositeView method.
3521 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3522 (loadChildren): Initialize flow layout by sending a synthetic
3523 insertUpdate() to the layout strategy.
3524 * javax/swing/text/GlyphView.java
3525 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3526 font metrics if component is not available. Add initial offset
3528 (breakView): Be more clever when breaking the view.
3529 (getBreakLocation): New helper method to determine a good
3531 (getBreakWeight): Be more clever when breaking the view.
3532 (getTabbedSpan): Make sure we have a painter. Use view's
3533 start and end offset rather than the element's.
3534 * javax/swing/text/Utilities.java
3535 (drawTabbedText): Avoid useless add and sub with the y offset.
3537 2006-11-02 Roman Kennke <kennke@aicas.com>
3540 * gnu/java/awt/peer/ClasspathFontPeer.java
3541 (getStringBounds): Removed abstract method. This is replaced
3542 in java.awt.Font to use a TextLayout.
3543 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3544 (GtkWindowPeer): Set a font on the window object.
3545 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3546 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3547 Changed to take char,int,int instead of String. Filter
3549 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3550 Create char array out of string.
3551 (getLogicalBounds): Don't translate bounds. They already are
3553 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3554 (stringWidth): Filter out control characters.
3555 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3556 (getStringBounds): Removed unneeded method.
3557 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3559 * gnu/java/awt/peer/qt/QtFontPeer.java
3560 (getStringBounds): Removed unneeded method.
3561 * gnu/java/awt/peer/x/XFontPeer.java
3562 (getStringBounds): Removed unneeded method.
3563 * gnu/java/awt/peer/x/XFontPeer2.java
3564 (getStringBounds): Removed unneeded method.
3565 * java/awt/Font.java
3566 (getStringBounds(char[],int,int,FontRenderContext)):
3567 Use TextLayout to determine the bounds.
3568 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3569 Delegate to the char[] version of this method.
3570 (getStringBounds(String,FontRenderContext)):
3571 Delegate to the char[] version of this method.
3572 (getStringBounds(String,int,int,FontRenderContext)):
3573 Delegate to the String version of this method.
3575 2006-11-01 Tania Bento <tbento@redhat.com>
3577 * java/awt/ScrollPaneAdjustable.java
3578 (paramString): Changed format of string representation returned.
3579 (paramStringHelper): New private method.
3581 2006-11-01 Tania Bento <tbento@redhat.com>
3583 * java/awt/GridBagLayout.java
3584 (toString): Implemented method.
3586 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3588 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3589 initialization to NP_Initialize.
3590 (NP_Initialize): Initialize GLib threading.
3592 2006-10-31 Tania Bento <tbento@redhat.com>
3594 * javax/swing/JTextField.java
3595 (fireActionPerformed): When creating the new event, if
3596 actionCommand == null, then getText() is used.
3598 2006-10-31 Francis Kung <fkung@redhat.com>
3600 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3601 (fillArc): Corrected arc type to Arc2D.PIE.
3603 2006-10-31 Roman Kennke <kennke@aicas.com>
3605 * javax/swing/text/html/HTMLDocument.java
3606 (HTMLReader.PreAction.end): Implemented.
3607 (HTMLReader.PreAction.start): Implemented.
3608 (HTMLReader.inPreTag): New field.
3609 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3610 (HTMLReader.preContent): Implemented.
3612 2006-10-31 Tania Bento <tbento@redhat.com>
3614 * javax/swing/JTextField.java
3615 (fireActionPerformed): When creating the new event,
3616 actionCommand should be used as the command, not
3619 2006-10-31 Roman Kennke <kennke@aicas.com>
3621 * javax/swing/text/html/HTMLEditorKit.java
3622 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3623 HTML or Styled documents.
3625 2006-10-31 David Fu <fchoong@netbeans.jp>
3627 * javax/swing/text/html/HTMLWriter.java: New class.
3629 2006-10-30 Roman Kennke <kennke@aicas.com>
3631 * java/awt/dnd/DragSourceContext.java
3632 (dragExit): Use constant fields instead of 0.
3633 (updateCurrentCursor): Completed implementation.
3635 2006-10-30 Roman Kennke <kennke@aicas.com>
3637 * java/awt/dnd/DragGestureRecognizer.java
3638 (resetRecognizer): Added API docs. Do not replace the events object
3639 but rather clear() it. Removed not implemented tag.
3641 2006-10-30 Roman Kennke <kennke@aicas.com>
3643 * java/awt/datatransfer/DataFlavor.java
3644 (writeExternal): Remove not implemented tag.
3646 2006-10-30 Roman Kennke <kennke@aicas.com>
3648 * java/awt/datatransfer/DataFlavor.java
3649 (javaFileListFlavor): Don't explicitly specify class.
3650 (plainTextFlavor): Don't explicitly specify class.
3651 (mimeType): Changed to type MimeType. Remove final.
3652 (representationClass): Remove final.
3653 (DataFlavor): Don't do anything here.
3654 (DataFlavor(Class,String,String)): Removed.
3655 (DataFlavor(Class,String)): Initialize here.
3656 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3657 (DataFlavor(String,String)): Initialize in init().
3658 (DataFlavor(String)): Initialize in init().
3659 (init): New initialization method.
3660 (getMimeType): Delegate to MimeType.toString().
3661 (getParameter(String,String)): Removed. Is now done in MimeType.
3662 (getParameter(String)): Delegate to MimeType.
3663 (getPrimaryType): Delegate to MimeType.
3664 (getRepresentationClassFromMime): Removed.
3665 (getRepresentationClassFromMimeThrows): Removed.
3666 (getSubType): Delegate to MimeType.
3667 (hashCode): Take MimeType.toString() for the hashCode.
3668 (isFlavorRemoveObjectType): Return true only when representation
3669 class is remove and serializable and the mime type is remote.
3670 (isFlavorSerializedObjectType): Return true only when representation
3671 class is serializable and the mime type is serialized.
3672 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3673 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3674 (readExternal): Implemented stub method.
3675 (writeExternal): Implemented stub method.
3676 * java/awt/datatransfer/MimeType.java: New helper class.
3678 2006-10-28 Roman Kennke <kennke@aicas.com>
3680 * javax/swing/TransferHandler.java
3681 (importData): Implemented stub method. Added API docs.
3683 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3685 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3687 * native/jni/classpath/classpath_jawt.h: Likewise.
3688 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3689 initializer for surface_info_x11->depth.
3691 2006-10-26 Tania Bento <tbento@redhat.com>
3693 * java/awt/FileDialog.java:
3694 (setFile): Changed if-clause condition.
3696 2006-10-25 Francis Kung <fkung@redhat.com>
3698 * include/gnu_java_nio_VMChannel.h,
3699 * include/java_net_VMNetworkInterface.h,
3700 * include/gnu_java_nio_EpollSelectorImpl.h,
3701 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3702 * include/gnu_java_nio_FileChannelImpl.h,
3703 * include/gnu_java_nio_KqueueSelectorImpl.h,
3704 * include/gnu_java_nio_VMPipe.h,
3705 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3707 2006-10-25 Tania Bento <tbento@redhat.com>
3709 * java/awt/Dialog.java: Created new private variable
3711 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3712 Set cursor to default cursor.
3713 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3715 (generateName): New method.
3716 (getUniqueLong): New private method.
3717 * java/awt/FileDialog.java: Created new private variable
3718 next_file_dialog_number.
3719 (setFile): If file == "", set it to null.
3720 (generateName): New method.
3721 (getUniqueLong): New private method.
3723 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3725 * java/net/MulticastSocket.java:
3726 (setNetworkInterface): Rewritten.
3728 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3730 * native/jni/java-net/javanet.h: Added declaration for
3731 _javanet_create_inetaddress.
3732 * native/jni/java-net/javanet.c:
3733 (_javanet_create_inetaddress): Removed static keyword.
3735 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3737 * gnu/java/net/PlainDatagramSocketImpl.java:
3738 (connect): Use VMChannel instance for connect call.
3739 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3740 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3741 (setOption): Handle multicast options.
3742 (getOption): Handle multicast options.
3743 * gnu/java/net/PlainSocketImpl.java:
3744 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3745 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3746 (setOption): Filter unappropriate options.
3747 (getOption): Filter unappropriate options.
3748 (connect): Use given SocketAddress.
3749 (close): Reset address and port.
3751 * include/Makefile.am: Removed all occurences of
3752 gnu_java_net_VMPlainDatagramSocketImpl.h.
3753 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3754 * native/jni/java-net/Makefile.am: Removed
3755 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3756 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3758 as SocketException, declare to throw SocketException.
3759 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3760 for SocketException and ConnectException.
3761 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3763 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3765 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3766 (JCL_thread_interrupted): New function.
3767 (initIDs): Added initialisation for isThreadInterrupted method id.
3768 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3769 CPNET_IP_TTL to java_sockopt enum.
3770 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3771 case, handle SO_LINGER case properly.
3772 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3773 case, handle SO_LINGER case properly.
3774 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3776 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3778 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3780 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3782 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3783 * vm/reference/gnu/java/nio/VMChannel.java:
3784 (connect(int, byte[], int, int)): Declare to throw SocketException.
3785 (connect6): Declare to throw SocketException.
3786 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3787 (isThreadInterrupted): New method.
3788 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3790 (setTimeToLive): New method.
3791 (getTimeToLive): New method.
3792 (setMulticastInterface(int, InetAddress)): New method.
3793 (setMulticastInterface(int, int, Inet4Address): New method.
3794 (setMulticastInterface6(int, int, Inet6Address): New method.
3795 (setOptions): Handle SO_LINGER case.
3796 (getOptions): Add missing SO_REUSEADDR case.
3797 * java/net/Socket.java:
3798 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3799 when exception was thrown out of connect().
3800 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3801 Boolean.FALSE with Integer.valueOf(-1).
3802 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3803 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3804 * NEWS: Documented VM interface changes.
3806 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3808 * java/net/Inet6Address.java:
3809 (isMulticastAddress): Fixed check.
3811 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3814 * java/net/MulticastSocket.java:
3815 (getNetworkInterface): Return a special NetworkInterface instance
3816 if the socket's multicast interface is set to any.
3818 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3821 * java/net/NetworkInterface.java:
3822 (createAnyInterface): New method.
3823 (equals): Added if-statement to handle case where netif.name is null.
3824 * vm/reference/java/net/VMNetworkInterface.java:
3825 (hashCode): Rewritten.
3826 (VMNetworkInterface): New constructor.
3828 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3830 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3831 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3832 Add ASM_JAR to bootclasspath.
3834 2006-10-24 Tania Bento <tbento@redhat.com>
3836 * java/awt/Scrollbar.java:
3837 (setLineIncrement): Removed unnecessary if-clause and if
3838 lineIncrement == 0, then it should be set to 1, not 0.
3839 (setPageIncrement): Removed unnecessary if-clause and if
3840 pageIncrement == 0, then it should be set to 1, not 0.
3841 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3842 If maximum <= minimum, maximum should be set to mininum + 1. The
3843 actual value of maximum is maximum - visibleAmount, so I made
3844 this change to the appropriate if-check. Remove the two unneccessary
3847 2006-10-23 Francis Kung <fkung@redhat.com>
3849 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3850 (cairoSetFont): New method.
3851 (copy): Set font using setFont method.
3852 (setFont): Call cairoSetFont.
3853 (setup): Set font using setFont method.
3854 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3855 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3856 (install_font_peer): Removed.
3857 (cairoDrawGlyphVector): Removed call to install_font_peer.
3858 (cairoSetFont): New method.
3860 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3862 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3863 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3864 NativeEventLoopRunningEvent after GTK main loop start and stop.
3865 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3866 (getNextEvent): Set dispatchThread to null.
3867 (postEventImpl): Set nativeLoopRunning.
3868 (pop): Interrupt event dispatch thread.
3869 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3871 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3873 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3875 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3878 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3880 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3881 * javax/crypto/CipherOutputStream.java: Re-implemented.
3882 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3883 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3884 decryption mode and check if it is a complete block.
3885 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3886 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3887 partially processed data into account.
3889 2006-10-21 Tom Tromey <tromey@redhat.com>
3892 * java/util/AbstractCollection.java (toArray): Removed cast.
3894 2006-10-20 Tom Tromey <tromey@redhat.com>
3896 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3897 Don't use mangled class name for .h file.
3898 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3899 Don't use mangled class name for .c file.
3900 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3901 Handle classes from the default package.
3903 2006-10-20 Francis Kung <fkung@redhat.com>
3905 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3907 2006-10-19 Francis Kung <fkung@redhat.com>
3910 * java/awt/image/BufferedImage.java
3911 (constructor): Updated some properties of default image types.
3912 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3913 (argb32): Updated field to match default in BufferedImage.
3915 2006-10-18 Roman Kennke <kennke@aicas.com>
3918 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3919 (copyArea): Changed size comparison to return when size == 0
3921 * javax/swing/JViewport.java
3922 (paintBackingStore): Check width and height of blitted area
3923 and only do blit if its > 0.
3924 (paintBlit): Check width and height of blitted area
3925 and only do blit if its > 0.
3927 2006-10-18 Roman Kennke <kennke@aicas.com>
3930 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3931 (maximize): New native method.
3932 (unmaximize): New native method.
3933 (iconify): New native method.
3934 (deiconify): New native method.
3935 (getState): Implemented.
3936 (setState): Implemented.
3937 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3938 (oldState): Rename to windowState and made protected, so that
3939 the FramePeer can access it.
3940 (postWindowEvent): Handle state change events more gently and
3942 * java/awt/Frame.java
3943 (getState): Fetch state from getExtendedState().
3944 (setExtendedState): Update the peer. Check if the state change
3945 is actually supported.
3946 (getExtendedState): Update the state from the peer.
3947 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3948 (maximize): New method.
3949 (unmaximize): New method.
3950 (iconify): New method.
3951 (deiconify): New method.
3952 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3953 (AWT_FRAME_NORMAL): New macro.
3954 (AWT_FRAME_ICONIFIED): New macro.
3955 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3956 (window_window_state_cb): Rewritten to handle window state changes
3957 more gently (mostly on the java side of the world).
3958 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3960 2006-10-18 Tania Bento <tbento@redhat.com>
3962 * java/awt/CardLayout.java:
3963 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3964 its height and width if Container passed as argument is null.
3965 (gotoComponent): Consider the case where the component is not visible.
3967 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3969 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3971 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3973 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3975 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3977 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3979 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3980 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3981 Retrieve user-visible strings through Messages.getString.
3982 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3983 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3985 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3987 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3989 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3991 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3993 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3996 2006-10-18 Roman Kennke <kennke@aicas.com>
3998 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3999 (AWT_WINDOW_OPENED): Remove unnecessary macro.
4000 (window_show_cb): Removed unnecessary function.
4001 (connect_signals): Don't connect signal for show. *
4002 gnu/java/awt/peer/gtk/GtkWindowPeer.java
4003 (hasBeenShown): Removed. This is handled in java.awt.Window.
4004 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4005 in java.awt.Window. * java/awt/Window.java
4006 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4008 2006-10-18 Francis Kung <fkung@redhat.com>
4010 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4011 (drawRenderedImage): New method.
4012 (drawImage): New method.
4013 (CairoSurfaceGraphics): Set clip.
4014 (createBuffer): New method.
4015 (getBufferCM): New method.
4016 (drawComposite): New method.
4018 (getNativeCM): New method.
4019 (drawGlyphVector): New method.
4021 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4022 (getNativeCM): Reflect renamed field.
4023 * gnu/java/awt/peer/gtk/CairoSurface.java
4024 (cairoCM_pre): Renamed from cairoColorModel.
4025 (cairoColorModel): Set premultiplication to false.
4027 2006-10-18 Roman Kennke <kennke@aicas.com>
4030 * javax/swing/JScrollPane.java
4031 (viewportBorder): Made field private.
4032 (wheelScrollingEnabled): Made field private.
4033 (JScrollPane): Enabled wheel scrolling by default.
4034 * javax/swing/JTree.java
4035 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4037 (getScrollableUnitIncrement): Fixed thinko.
4038 * javax/swing/plaf/basic/BasicScrollBarUI.java
4039 (static scrollByBlock): New static method to avoid code duplication
4040 for the BasicScrollPane wheel scrolling.
4041 (static scrollByUnits): New static method to avoid code duplication
4042 for the BasicScrollPane wheel scrolling.
4043 (scrollByBlock): Delegate to static helper method.
4044 (scrollByUnit): Delegate to static helper method.
4045 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4046 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4047 static helper methods to avoid code duplication.
4048 (MouseWheelHandler.bounds): Removed.
4049 (MouseWheelHandler.getValue): Removed.
4050 (MouseWheelHandler.scroll): Removed.
4052 2006-10-18 Roman Kennke <kennke@aicas.com>
4055 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4056 (updateComponent): Don't override this here.
4057 * java/awt/Window.java
4058 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4059 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4061 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4064 2006-10-18 Roman Kennke <kennke@aicas.com>
4066 * javax/swing/JEditorPane.java
4067 (getStream): Try to detect and set the content type of the
4070 2006-10-18 Roman Kennke <kennke@aicas.com>
4072 * javax/swing/RepaintManager.java
4073 (RepaintWorkerEvent): Pass full set of params to super.
4074 (RepaintWorker.dispatch): Overridden to allow apps to call this
4076 (addDirtyRegion): Synchronize a little more to protect the
4077 dirtyComponents field and avoid NPEs.
4078 (invokeLater): Pass full set of params to RepaintWorkerEvent
4081 2006-10-18 Roman Kennke <kennke@aicas.com>
4083 * javax/swing/JEditorPane.java
4084 (page): Removed field. The page is now stored in the correct
4086 (getPage): Fetch page URL from document property.
4087 (read): Set the document for this JEditorPane. Use a Reader
4088 for reading in the document.
4089 (setPage): Call getStream() to get the stream from which we read.
4090 Fire property change. Store page in document property.
4092 2006-10-18 Roman Kennke <kennke@aicas.com>
4094 * java/awt/datatransfer/DataFlavor.java
4095 (DataFlavor(String)): Removed check for space in mime string.
4097 2006-10-18 Roman Kennke <kennke@aicas.com>
4099 * java/awt/Container.java
4100 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4101 begin|endValidate().
4102 (validate): Call ContainerPeer.begin|endValidate() here.
4103 Added some local vars to avoid NPEs.
4105 2006-10-18 Roman Kennke <kennke@aicas.com>
4107 * native/target/.cvsignore
4108 * native/target/Linux/.cvsignore
4109 * native/target/generic/.cvsignore:
4110 Added to let CVS ignore the generated Makefile and Makefile.in
4113 2006-10-18 Roman Kennke <kennke@aicas.com>
4116 * java/awt/Window.java
4117 (eventTypeEnabled): Overridden to handle WindowEvents.
4118 (processEvent): Switch between processWindowEvent(),
4119 processWindowFocusEvent() and processWindowStateEvent() here,
4120 rather than simply calling processWindowEvent().
4121 (processWindowEvent): Only dispatch event to listener, do not
4122 switch to processWindowFocusEvent() or processWindowStateEvent()
4124 * javax/swing/JFrame.java
4125 (frameInit): Explicitly enable window and key events here.
4126 (processWindowEvent): Throw out some unnecessary code.
4127 * javax/swing/JWindow.java
4128 (windowInit): Explicitly enable key events here.
4129 * javax/swing/JDialog.java
4130 (close_action): Renamed to closeAction.
4131 (dialogInit): Explicitly enable window events here.
4132 (getDefaultCloseOperation): Renamed close_action to closeAction.
4133 (processWindowEvent): Throw out some unnecessary code.
4134 Renamed close_action to closeAction.
4135 (setDefaultCloseOperation): Renamed close_action to closeAction.
4137 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4139 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4140 to track native GTK event loop status.
4141 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4142 clear running flag when native GTK event loop starts and stops.
4144 2006-10-17 Roman Kennke <kennke@aicas.com>
4146 * javax/swing/TransferHandler.java
4147 (exportToClipboard): Implemented.
4149 2006-10-17 Francis Kung <fkung@redhat.com>
4151 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4152 region to account for pixel-shifting.
4153 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4156 2006-10-17 Francis Kung <fkung@redhat.com>
4159 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4160 (getLogicalBounds): Translate individual glyphs before appending bounds.
4161 (getOutline): Translate individual glyphs before appending outline.
4163 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4166 * java/awt/font/TextLayout.java
4168 (constructor): Store bidi in field.
4169 (getCharacterLevel): Implemented.
4171 2006-10-17 Roman Kennke <kennke@aicas.com>
4173 * javax/swing/TransferHandler.java
4174 (PropertyTransferable): New inner class. Handles transfers
4175 from component properties.
4176 (createTransferable): Implemented.
4178 2006-10-17 Francis Kung <fkung@redhat.com>
4180 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4181 (drawComposite): Ensure composite does not extend beyond buffer
4183 * java/awt/image/Raster.java
4184 (createChild): Ensure child does not extend beyond parent's
4186 * java/awt/image/WritableRaster.java
4187 (createWritableChild): Ensure child does not extend beyond
4190 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4192 * native/jni/classpath/jcl.c
4193 (JNI_OnLoad): Corrected calling convention.
4195 2006-10-16 Roman Kennke <kennke@aicas.com>
4197 * javax/swing/TransferHandler.java
4198 (propertyName): New field.
4199 (TransferHandler(String)): Store property name in field.
4200 (canImport): Implemented stub method.
4201 (exportDone): This is a no-op. Removed not-implemented mark.
4202 (getPropertyDataFlavor): New helper method.
4203 (getPropertyDescriptor): New helper method.
4205 2006-10-16 Roman Kennke <kennke@aicas.com>
4207 * javax/swing/AbstractButton.java
4208 (AccessibleJButton.getAfterIndex): Implemented.
4209 (AccessibleJButton.getAtIndex): Implemented.
4210 (AccessibleJButton.getBeforeIndex): Implemented.
4211 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4212 method implementation.
4214 2006-10-16 Roman Kennke <kennke@aicas.com>
4216 * javax/swing/JLabel.java
4217 (AccessibleJLabel.getIndexAtPoint): Implemented.
4218 (AccessibleJLabel.getCharacterBounds): Implemented.
4219 (AccessibleJLabel.getTextRectangle): New helper method.
4221 2006-10-16 Roman Kennke <kennke@aicas.com>
4223 * javax/swing/filechooser/FileSystemView.java
4224 (getFileSystemView): Mark as implemented.
4226 2006-10-14 Roman Kennke <kennke@aicas.com>
4229 * javax/swing/JComponent.java
4230 (toolTipText): Removed field.
4231 (createToolTip): Don't set tooltip text here. This is done
4232 in the ToolTipManager.
4233 (setToolTipText): Set tooltip text as client property.
4234 (getToolTipText): Get tooltip text from client property.
4235 * javax/swing/ToolTipManager.java
4236 (currentComponent): Made field non-static and of type JComponent.
4237 (currentPoint): Made field non-static.
4238 (currentTip): Made field non-static.
4239 (popup): Made field non-static.
4240 (toolTipText): New field. Stores the current tooltip text.
4241 (checkTipUpdate): New helper method. Checks for updates of
4242 the tooltip text and triggers the appropriate actions.
4243 (getContentPaneDeepestComponent): Removed unneeded casts.
4244 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4245 text from component.
4246 (mouseMoved): Check for tooltip text updates.
4247 (showTip): Set tooltip text from current setting.
4249 2006-10-14 Roman Kennke <kennke@aicas.com>
4252 * javax/swing/JSlider.java
4253 (setPaintLabels): Call setLabelTable() instead of setting
4254 the field directly. This also updates the label's size.
4256 2006-10-13 Tom Tromey <tromey@redhat.com>
4258 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4261 2006-10-13 Tania Bento <tbento@redhat.com>
4263 * java/awt/ScrollPane.java
4264 (setLayout): Should throw AWTError whenever called.
4266 2006-10-13 Roman Kennke <kennke@aicas.com>
4269 * java/awt/Component.java
4270 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4271 update the AWT's knowledge about a component's size.
4272 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4273 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4274 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4275 to update the AWT's knowledge about the component bounds.
4277 2006-10-13 Tania Bento <tbento@redhat.com>
4279 * java/awt/ScrollPaneAdjustable.java
4280 (setMaximum): Should throw AWTError whenever called.
4282 (setVisibleAmount): Same.
4284 2006-10-13 Tania Bento <tbento@redhat.com>
4286 * java/awt/ScrollPane.java
4287 (addImpl): When calling super, index should be value passed,
4289 (getIsValidString): New helper method for paramString().
4290 (getScrollbarDisplayString): New helper method for paramString().
4291 (paramString): Changed format of outputted string.
4293 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4295 * javax/swing/tree/DefaultTreeSelectionModel.java
4296 (clone): Added cast to TreePath[].
4298 2006-10-13 Roman Kennke <kennke@aicas.com>
4301 * javax/swing/JMenuItem.java
4302 (isDragging): New field. Indicates if we are inside a mouse
4304 (createMenuDragMouseEvent): Removed unneeded method.
4305 (processMenuDragMouseEvent): Track if we are dragging.
4306 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4307 * javax/swing/plaf/basic/BasicMenuItemUI.java
4308 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4309 MenuSelectionManager from event.
4310 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4311 MenuSelectionManager from event.
4312 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4313 MenuSelectionManager from event.
4314 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4315 release inside menu item, otherwise clear selection.
4316 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4317 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4318 (doClick): Perform an immediate click.
4320 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4322 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4323 return if object is not in the list.
4325 2006-10-12 Andrew Haley <aph@redhat.com>
4327 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4328 * java/lang/ThreadLocal.java: Likewise.
4330 2006-10-12 Roman Kennke <kennke@aicas.com>
4333 * javax/swing/JSlider.java
4334 (LabelUIResource): New inner class. A JLabel as UIResource.
4335 (createStandardLabels): Don't set label bounds here.
4336 Create LabelUIResource instances.
4337 (setInverted): Repaint.
4338 (setLabelTable): Update the label UIs. Revalidate and repaint.
4339 (setMajorTickSpacing): Update the label table. Repaint if
4341 (setMinorTickSpacing): Repaint if necessary.
4342 (setOrientation): Revalidate.
4343 (setPaintLabels): Revalidate and repaint.
4344 (setPaintTicks): Revalidate and repaint.
4345 (setPaintTrack): Repaint.
4346 (updateLabelUIs): Set the label sizes here.
4347 (updateUI): Also update the label UIs.
4348 * javax/swing/plaf/basic/BasicSliderUI.java
4349 (ComponentHandler.componentResized): Don't revalidate.
4350 (FocusHandler.focusGained): Don't set field.
4351 (FocusHandler.focusLost): Don't set field.
4352 (PropertyChangeHandler.propertyChange): Calculate geometry
4353 and repaint for a couple more properties.
4354 (TrackListener.mouseReleased): Repaint.
4355 (hasFocus): Removed unneeded field.
4356 (calculateContentRect): No need to check for content size < 0.
4357 (calculateFocusRect): Use insets from insetCache.
4358 (calculateLabelRect): Fixed calculation of label rectangle.
4359 It is relative to the tick rectangle, rather than the content
4361 (calculateTickRect): Small restructuring to avoid unnecessary
4363 (calculateTrackRect): Fixed calculation of track rectangle.
4364 (getMaximumSize): Fixed. Fetch preferred size and set
4365 the height of width to Short.MAX_VALUE.
4366 (getMinimumHorizontalSize): Fixed to return UIManager value.
4367 (getMinimumVerticalSize): Fixed to return UIManager value.
4368 (getPreferredHorizontalSize): Fixed to return UIManager value.
4369 (getPreferredVerticalSize): Fixed to return UIManager value.
4370 (getMinimumSize): Fixed to return the UIManager value plus
4372 (getPreferredSize): Fixed to return the UIManager value plus
4374 (getWidthOfWidestLabel): Restructured for more cleanness and
4376 (hitClip): New helper method.
4377 (paintHorizontalLabel): Replaced by more efficient and clean
4379 (paintVerticalLabel): Replaced by more efficient and clean
4381 (paintLabels): Replaced by more efficient and clean
4383 (paint): Check if rectangles intersect with clip for maximum
4385 (recalculateIfInsetsChanged): Fixed. This method should
4386 recalculate only when the insets changed.
4387 (setThumbLocation): Repaint with a reasonable clip.
4388 (xPositionForValue): Made more clean and efficient.
4389 (yPositionForValue): Made more clean and efficient.
4390 * javax/swing/plaf/basic/BasicLookAndFeel.java
4391 (initComponenDefaults): Added Slider.horizontalSize,
4392 Slider.verticalSize, Slider.minimumHorizontalSize and
4393 Slider.minimumVerticalSize properties.
4394 * javax/swing/plaf/metal/MetalSliderUI.java
4395 (getTickLength): Add 1 for horizontal sliders and 3 for
4397 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4398 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4399 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4400 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4402 2006-10-12 Roman Kennke <kennke@aicas.com>
4405 * javax/swing/text/FlowView.java
4406 (FlowStrategy.layout): Preserve logical views from getting lost.
4407 (FlowStrategy.layoutRow): Fix line breaking.
4408 (FlowStrategy.adjustRow): Fix line breaking.
4409 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4410 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4411 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4412 (createView): Don't check index.
4413 (contains): New helper method.
4414 (reparent): New helper method.
4415 (layoutDirty): Removed unneeded field.
4416 (FlowView): Removed layoutDirty field init.
4417 (changedUpdate): Removed layoutDirty handling.
4418 (insertUpdate): Removed layoutDirty handling.
4419 (removeUpdate): Removed layoutDirty handling.
4420 (layout): Use isLayoutValid() rather than the layoutDirty field.
4421 * javax/swing/text/GlyphView.java
4422 (startOffset): Removed.
4423 (endOffset): Removed.
4424 (offset): New field.
4425 (length): New field.
4426 (GlyphView): Initialize new fields. Removed old fields.
4427 (createFragment): Create fragment with new relative offsets.
4428 (getEndOffset): Work with new relative offsets.
4429 (getStartOffset): Work with new relative offsets.
4430 * javax/swing/text/ParagraphView.java
4431 (Row.getStartOffset): Overidden to determine the minimum start
4432 offset from the children.
4433 (Row.getEndOffset): Overidden to determine the maximum end
4434 offset from the children.
4435 * javax/swing/text/html/BRView.java
4436 Make subclass of InlineView.
4437 (getBreakWeight): Fall back to super for Y_AXIS.
4439 2006-10-12 Roman Kennke <kennke@aicas.com>
4442 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4443 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4444 one that avoids faulty state that could cause division by zero
4447 2006-10-12 Roman Kennke <kennke@aicas.com>
4450 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4451 (paint): Determine correct icon. Added support for HTML label.
4452 Added small optimizations.
4453 (getPreferredSize): Only consider the buttons iconTextGap, and
4454 only when the text is not null.
4455 * javax/swing/plaf/basic/BasicLookAndFeel.java
4456 (initComponentDefaults): Fetch border for RadioButton from
4457 BasicButtons.getRadioButtonBorder().
4458 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4459 (paintFocus): Paint focus rectangle one pixel smaller.
4461 2006-10-12 Roman Kennke <kennke@aicas.com>
4464 * javax/swing/tree/AbstractLayoutCache.java
4465 (getNodeDimensions): Don't throw InternalError, but instead
4467 (getRowsForPaths): Check for null here.
4468 (isFixedRowHeight): Returns true when rowHeight > 0.
4469 (setSelectionModel): Set this as the row mapper for the selection
4471 * javax/swing/tree/VariableHeightLayoutCache.java
4472 (NodeRecord.NodeRecord): Initialize bounds field.
4473 (getBounds): Simply return the bounds field.
4474 (row2Node): Changed to be an ArrayList.
4475 (RECT_CACHE): New field. Caches a Rectangle instance.
4476 (countRows): Added y parameter and return value. The method
4477 now takes the current y position as parameter, and returns
4478 the updated y position.
4479 (getBounds): Fixed to return the correct bounds.
4480 (getPathForRow): Replaced by fixed implementation.
4481 (getPreferredHeight): Replaced by more efficient implementation.
4482 This simply fetches the last node record and returns its lower
4484 (getPreferredWidth): Added null check.
4485 (getVisibleChildCount): Added null check.
4486 (getVisiblePathsFrom): Added null check.
4487 (setExpandedState): Also expand the ancestors of the node
4489 (setModel): Set dirty flag rather than updating for real.
4490 (setNodeDimensions): Overridden to set the dirty flag.
4491 (setRowHeight): Overridden to set the dirty flag.
4492 (update): Don't special case the root here, this is done now
4495 2006-10-12 Roman Kennke <kennke@aicas.com>
4497 * javax/swing/JComponent.java
4498 (paintImmediately2): Added support for components which need
4499 to force themselves as paint root.
4500 (isPaintRoot): New method. This should be overridden by components
4501 which need to force themselves as paint root.
4502 * javax/swing/JViewport.java
4503 (isPaintRoot): Overridden to force the viewport as paint root
4504 when running in backingstore mode.
4506 2006-10-12 Roman Kennke <kennke@aicas.com>
4508 * javax/swing/tree/DefaultTreeSelectionModel.java
4509 (PathPlaceHolder): New inner class. Wraps a path and its status
4511 (selectedPaths): New field. A supporting datastructure.
4512 (tmpPaths): New field. A supporting datastructure.
4513 (DefaultTreeSelectionModel): Initialize the list selection model,
4514 the leadIndex and the supporting datastructures.
4515 (addPropertyChangeListener): Create changeSupport object lazily.
4516 (addSelectionPaths): Mostly rewritten to handle the different
4517 selection modes correctly.
4518 (addSelectionPath): Delegate to addSelectionPaths().
4519 (arePathsContiguous): Replaced with more efficient implementation
4521 (canPathBeAdded): Removed unneeded method.
4522 (canPathsBeAdded): Replaced with more efficient implementation.
4523 (clearSelection): Create correct event. Clear the fields correctly,
4524 including the supporting datastructures.
4525 (clone): Also clone the supporting datastructures and nullify
4526 changeSupport field.
4527 (getMaxSelectionRow): Delegate to list selection model.
4528 (getMinSelectionRow): Delegate to list selection model.
4529 (getPath): Removed unneeded method.
4530 (getPropertyChangeListeners): Handle null changeSupport field
4532 (getRow): Handle null rowMapper field correctly.
4533 (getSelectionRows): Handle invisible rows correctly.
4534 (insureRowContinuity): Replaced by more efficient and correct
4536 (isRowSelected): Delegate to list selection model.
4537 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4539 (removePropertyChangeListener): Handle null changeSupport field.
4540 (removeSelectionPaths): Mostly rewritten to handle the different
4541 selection modes correctly.
4542 (removeSelectionPath): Delegate to removeSelectionPaths().
4543 (resetRowSelection): Handle list selection model.
4544 (selectOne): Removed unneeded field.
4545 (setRowMapper): Reset the row selection.
4546 (setSelectionMode): Check for invalid mode and set to
4547 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4548 (setSelectionPaths): Mostly rewritten to handle the different
4549 selection modes correctly.
4550 (setSelectionPath): Delegate to setSelectionPaths().
4551 (updateLeadIndex): Made more efficient.
4553 2006-10-11 Francis Kung <fkung@redhat.com>
4555 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4556 (buffer, locked): New fields.
4557 (constructors): Initialize new variables.
4558 (createBuffer): New method.
4559 (draw): Implement custom composites.
4560 (drawComposite): New method.
4561 (drawGlyphVector): Implement custom composites.
4562 (drawImage): Implement custom composites.
4563 (drawRenderedImage): Implement custom composites.
4564 (fill): Implement custom composites.
4565 (getBufferCM): New method.
4566 (getNativeCM): New method.
4567 (updateBufferedImage): Fix premultiplication.
4568 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4569 (copy): Copy composite.
4570 (drawImage): Set background properly.
4571 (getBufferCM): New method.
4572 (setComposite): Reset alpha composite when using custom composite.
4573 * gnu/java/awt/peer/gtk/CairoSurface.java
4574 (cairoColorModel): New field.
4575 (nativeColorModel): Renamed.
4576 (constructor): Use renamed createCairoSampleModel method.
4577 (createCairoSampleModel): New method.
4578 (createNativeSampleModel): Renamed.
4579 (getBufferedImage): Use renamed cairoColorModel field.
4580 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4581 (gdkColorModel): New field.
4582 (createGdkSampleModel): New method.
4583 (getPixels): Added comments.
4584 (getSnapshot): Use GDK colour and sample models.
4585 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4586 (createBuffer): Use GDK colour and sample models.
4587 (getNativeCM): Added comments.
4588 * java/awt/image/BufferedImage.java
4589 (constructor): Set premultiplied flag properly.
4591 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4593 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4594 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4596 2006-10-10 Francis Kung <fkung@redhat.com>
4599 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4600 (createPath): Added isDraw parameter.
4601 (draw): Updated createPath call.
4602 (fill): Updated createPath call.
4604 2006-10-10 Tom Tromey <tromey@redhat.com>
4607 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4608 there is a stylesheet.
4610 2006-10-10 Roman Kennke <kennke@aicas.com>
4612 * java/awt/Toolkit.java
4613 (getDefaultTookit): Make method synchronized to avoid
4614 accidentally creating more than one toolkits from different
4617 2006-10-10 Roman Kennke <kennke@aicas.com>
4619 * java/awt/LightweightDispatcher.java
4620 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4621 (redispatch): Transfer the button to the redispatched event.
4623 2006-10-10 Francis Kung <fkung@redhat.com>
4625 * java/awt/image/ColorModel.java (coerceData): Implemented.
4627 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4629 * vm/reference/java/lang/VMClassLoader.java:
4630 (defineClassWithTransformers): Use proper class name format.
4632 2006-10-09 Gary Benson <gbenson@redhat.com>
4634 * java/net/ServerSocket.java
4635 (implAccept): Add security check.
4636 (accept): Close socket if security check fails.
4637 (setSocketFactory): Add security check and already-set check.
4639 2006-10-09 Roman Kennke <kennke@aicas.com>
4642 * javax/swing/JSplitPane.java
4643 (dividerLocation): New field. Stores the divider location.
4644 (JSplitPane): Initialize dividerLocation with -1.
4645 (addImpl): Removed unneeded local variables.
4646 (getDividerLocation): Manage dividerLocation in the JSplitPane
4647 class, not in the UI.
4648 (setDividerLocation): Manage dividerLocation in the JSplitPane
4649 class, not in the UI. Only call the UI method for notification.
4650 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4651 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4652 location from the JSplitPane. Honour the minimumSize, but only
4653 if the divider location hasn't been set explicitly.
4654 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4656 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4658 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4659 the divider location.
4660 (dividerLocationSet): New field.
4661 (dividerLocation): Removed field.
4662 (createActionMap): Fetch and set divider location on the JSplitPane.
4663 (getDividerLocation): Return the actual real divider location.
4664 (getMaximumSize): Removed unneeded cast.
4665 (getPreferredSize): Removed unneeded cast.
4666 (getMinimumSize): Removed unneeded cast.
4667 (installUI): Initialize dividerLocationSet with false.
4668 (uninstallUI): Initialize dividerLocationSet with false.
4669 (setDividerLocation): Set dividerLocationSet to true.
4671 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4673 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4674 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4675 convert jstring into char *.
4676 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4677 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4678 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4679 (getif_address): Added const modifier to second argument.
4680 (getif_index): Dito.
4682 2006-10-09 Roman Kennke <kennke@aicas.com>
4684 * javax/swing/JTree.java
4685 (isSelected): Added API docs.
4687 2006-10-09 Roman Kennke <kennke@aicas.com>
4689 * javax/swing/JTree.java
4690 (isSelected): Delegate to the selection model directly.
4692 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4694 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4695 sizeof_struct_kevent to _sizeof_struct_kevent.
4697 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4699 * tools/gnu/classpath/tools/rmic/RMICException.java:
4700 javadoc corrections, reformatted.
4702 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4704 * gnu/java/lang/InstrumentationImpl.java:
4705 Made constructor package visible.
4707 2006-10-05 Gary Benson <gbenson@redhat.com>
4709 * java/net/Socket.java
4710 (Socket): Perform security check on address not hostname.
4712 2006-10-04 Roman Kennke <kennke@aicas.com>
4714 * javax/swing/tree/VariableHeightLayoutCache.java
4715 (getBounds): When rect is null, create a new Rectangle.
4717 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4719 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4720 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4721 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4722 (cpnio_select): Use CPNIO_EXPORT.
4723 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4724 inline instead of extern inline, as newer GCCs changed their
4727 2006-10-04 Gary Benson <gbenson@redhat.com>
4729 * java/net/InetAddress.java: Updated javadoc.
4730 (<clinit>, getByLiteral): Throw InternalError on failures.
4732 2006-10-03 Francis Kung <fkung@redhat.com>
4734 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4735 (compCtx): New field for composite context.
4736 (copy): Copy composite.
4737 (dispose): Dispose of composite context.
4738 (getNativeCM): New method.
4739 (setComposite): Discard old composite context and set up new context.
4740 (setRenderingHints): Update composite context.
4741 * gnu/java/awt/peer/gtk/CairoSurface.java
4742 (nativeColorModel): New field, renamed from nativeModel.
4743 (nativeModel): Renamed field to nativeColorModel.
4744 (CairoSurface(int, int)): Call new method to create sample model.
4745 (createNativeSampleModel): New method.
4746 (getBufferedImage): Updated variable name.
4747 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4748 (buffer): New field.
4749 (createBuffer): New method.
4751 (drawComposite): New method.
4752 (drawGlyphVector): New method.
4753 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4754 (drawImage(Image, int, int, ImageObserver)): Check composite.
4755 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4757 (getNativeCM): New method.
4758 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4759 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4760 intermediary pixbuf to grab on-screen pixels.
4762 2006-10-03 Tom Tromey <tromey@redhat.com>
4765 * java/util/IdentityHashMap.java (tombstone): Removed.
4766 (emptyslot): Removed.
4767 (nullslot): New field.
4768 (IdentityHashMap): Don't fill array.
4769 (clear): Fill with null.
4770 (hash): Now final. Use linear probing.
4771 (xform): New method.
4772 (unxform): Likewise.
4773 (removeAtIndex): Likewise.
4774 (clone, containsKey, containsValue, entrySet, get, hashCode,
4775 keySet, put, remove, values): Updated.
4776 (IdentityIterator, IdentityEntry): Likewise.
4777 (writeObject): Likewise.
4779 2006-10-03 Tom Tromey <tromey@redhat.com>
4781 * java/util/Locale.java (hashcode): Updated javadoc.
4782 (hashcodeCache): Removed.
4784 (hashCode): Updated.
4785 (writeObject): New method.
4786 (readObject): Updated.
4788 2006-10-02 Francis Kung <fkung@redhat.com>
4790 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4791 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4792 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4793 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4794 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4795 pre-multiply data before drawing.
4796 (fillRect): Draw using regular fill() method.
4797 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4798 * gnu/java/awt/peer/gtk/CairoSurface.java
4799 (nativeModel): Use correct value for alpha premultiplication (true).
4800 * java/awt/image/BufferedImage.java
4801 (coerceData): Update isPremultiplied field.
4803 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4805 * gnu/classpath/ListenerData.java:
4806 New class for holding listener data.
4807 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4808 ListenerData class moved to its own file.
4809 * javax/management/MBeanServerDelegate.java,
4810 * javax/management/MBeanServerDelegateMBean.java,
4811 * javax/management/MBeanServerNotification.java:
4814 2006-10-02 Tania Bento <tbento@redhat.com>
4816 * java/ast/Rectangle.java:
4817 (Rectangle(Rectangle)): Do not throw NPE.
4818 (Rectangle(Point, Dimension)): Same.
4819 (Rectangle(Point)): Same.
4820 (Rectangle(Dimension)): Same.
4822 2006-09-29 Casey Marshall <csm@gnu.org>
4825 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4826 `AbstractSelectionKey.'
4827 (cancel, isValid): removed.
4828 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4829 (events): new field.
4830 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4832 (<clinit>): initialize those constants.
4833 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4834 (doSelect): deregister cancelled keys; remove keys attached to
4835 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4836 `events' buffer; reallocate `events' buffer if needed.
4837 (register): reallocate `events' buffer if needed.
4838 (reallocateBuffer): new method.
4841 2006-09-29 Roman Kennke <kennke@aicas.com>
4844 * javax/swing/JViewport.java
4845 (cinit): Renamed system property to gnu.swing.scrollmode
4846 to avoid bloat. Default to BACKINGSTORE, this is much
4848 (repaint): Forward repaint() to parent as is specified.
4850 2006-09-29 Tania Bento <tbento@redhat.com>
4852 * javax/swing/plaf/basic/BasicTableUI.java
4853 (getPreferredSize): The number of iterations for the for-loop should be
4854 the number of columns in the table's column model, not the number of
4855 columns of the table.
4856 * javax/swing/JTable.java
4857 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4858 lines that are not needed.
4859 (initializeLocalVars): dragEnabled should be set to false, not true.
4860 (getCellRenderer): Added a check to prevent an
4861 ArrayIndexOutOfBoundsException.
4862 (doLayout): The number of iterations for the for-loops should be the
4863 number of columns in the table's column model, not the number of columns
4866 2006-09-29 Roman Kennke <kennke@aicas.com>
4868 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4870 (isOptimized): Initialize with true.
4871 (paintRaster): Removed unneeded field.
4872 (shapeCache): New static field. Caches certain shapes for reuse.
4873 (computeIntersection): Removed unneeded casts.
4874 (drawArc): Use shape cache.
4875 (drawImage): Removed unneeded statement.
4876 (drawLine): Use shape cache. Pass untranslated coordinates
4878 (drawOval): Use shape cache.
4879 (drawPolygon): Use shape cache.
4880 (drawRect): Overridden to provide accelerated rectangle drawing
4881 if possible and to use the shape cache.
4882 (drawRoundRect): Use shape cache.
4883 (fillArc): Use shape cache.
4884 (fillOval): Use shape cache.
4885 (fillPolygon): Use shape cache.
4886 (fillRect): Pass untranslated coordinates to rawFillRect().
4888 (fillRoundRect): Use shape cache.
4889 (fillScanlineAA): Removed unneeded statement.
4890 (fillScanline): Updated API docs.
4891 (fillShapeAntialias): Removed unnecessary cast.
4892 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4893 (fillShape): Updated API docs.
4894 (getShapeCache): New helper method.
4895 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4896 certain shapes for reuse in AbstractGraphics2D.
4898 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4900 * javax/management/BadBinaryOpValueExpException.java:
4901 (getExp()): Implemented.
4902 * javax/management/MBeanConnection.java:
4903 Renamed to MBeanServerConnection.
4904 * javax/management/MBeanServer.java:
4905 (setAttribute(Attribute)): Fixed...
4906 (setAttribute(ObjectName,Attribute)): to this.
4907 * javax/management/MBeanServerConnection.java:
4908 Renamed from MBeanConnection.
4909 * javax/management/QueryExp.java:
4910 Extend Serializable.
4911 * javax/management/ValueExp.java:
4913 * javax/management/loading/ClassLoaderRepository.java:
4914 (loadClass(String)): Throw ClassNotFoundException.
4915 (loadClassBefore(ClassLoader,String)): Likewise.
4916 (loadClassWithout(String, ClassLoader): Fixed...
4917 (loadClassWithout(ClassLoader,String)): to this.
4919 2006-09-28 Roman Kennke <kennke@aicas.com>
4921 * javax/swing/tree/DefaultTreeCellRenderer.java
4922 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4923 property from UIManager.
4924 (paint): Rewritten to use super's implementation and only paint
4925 background and focus indicator before.
4926 (paintFocus): New helper method.
4927 (getXOffset): New helper method.
4929 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4931 * javax/management/BadBinaryOpValueExpException.java,
4932 * javax/management/MBeanConnection.java,
4933 * javax/management/MBeanServer.java,
4934 * javax/management/ObjectInstance.java:
4936 * javax/management/ObjectName.java:
4937 (setMBeanServer(MBeanServer)): Implemented.
4938 * javax/management/QueryExp.java,
4939 * javax/management/ValueExp.java,
4940 * javax/management/loading/ClassLoaderRepository.java:
4943 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4945 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4947 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4949 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4950 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4951 * gnu/java/nio/EpollSelectorImpl.java:
4952 (doSelect): Use Integer.valueOf() instead of constructor call.
4953 (register): Use Integer.valueOf() instead of constructor call.
4955 2006-09-27 Roman Kennke <kennke@aicas.com>
4957 * java/awt/Container.java
4958 (addContainerListener): Activate newEventsOnly for the component.
4959 Ignore null listeners.
4961 2006-09-27 Roman Kennke <kennke@aicas.com>
4963 * java/awt/EventQueue.java
4964 (Queue): New inner class. Implements the actual queue.
4965 (LOW_PRIORITY): New constant field.
4966 (NORM_PRIORITY): New constant field.
4967 (queueHead): Removed. Moved into Queue.
4968 (queueTail): Removed. Moved into Queue.
4969 (queues): New field.
4970 (EventQueue): Initialize two internal queues, one for
4971 normal events, one for low priority events.
4972 (getNextEventImpl): New helper method, fetches the next event.
4973 (getNextEvent): Use getNextEventImpl() for fetching the event.
4974 (peekEvent): Use getNextEventImpl() for fetching the event.
4975 (peekEvent(int)): Search for event in all queues.
4976 (postEventImpl(AWTEvent)): Moved actual posting into
4977 postEventImpl(AWTEvent,int). Prioritize events here.
4978 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4979 event into correct queue. Re-enable event coalescing.
4980 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4981 * javax/swing/RepaintManager.java
4982 (RepaintWorkerEvent): New internal class. This is a low priority
4983 event for the repaint worker.
4984 (addDirtyRegion): Use new internal invokeLater() for sending
4985 a low priority event.
4986 (addInvalidComponent): Use new internal invokeLater() for sending
4987 a low priority event.
4988 (commitBuffer): Added some null checks.
4989 (invokeLater): New helper method. Sends a low priority
4990 repaint worker event on the event queue.
4992 2006-09-27 Roman Kennke <kennke@aicas.com>
4996 * javax/swing/plaf/basic/BasicButtonUI.java
4997 (cachedInsets): New field.
4998 (installListeners): Fire synthetic property change to initialize
4999 TEXT_LAYOUT_CACHE for the button because the font has been
5001 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5002 (paint): Use cached insets.
5003 (paintText): Let new method forward to old one, not vice versa.
5004 * javax/swing/plaf/basic/BasicMenuItemUI.java
5005 (defaultAcceleratorLabelGap): Removed unused field.
5006 (MenuGap): Removed unused field.
5007 (propertyChangeListener): Made private.
5008 (getAcceleratorRect): Removed unused method.
5009 (getAcceleratorText): Removed unused method.
5010 (getPath): Removed unnecessary cast.
5011 (installListeners): Fire synthetic property change to initialize
5012 TEXT_LAYOUT_CACHE for the button because the font has been
5014 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5015 (layoutMenuItem): Removed unused statements.
5017 2006-09-27 Roman Kennke <kennke@aicas.com>
5020 * javax/swing/tree/DefaultTreeModel.java
5021 (isLeaf): Check if the node allows children when
5022 asksAllowsChildren is true, otherwise fall back
5023 to return the node's leaf property.
5025 2006-09-27 Mario Torre <neugens@limasoftware.net>
5027 * scripts/check_jni_methods.sh: removed methods from the
5029 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5030 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5031 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5032 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5033 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5034 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5035 to better follow the GNU style.
5036 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5037 regenerated header file for GConfNativePeer.
5039 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5041 * INSTALL: Added information about grmic being built when ASM
5042 is available, added information about gconf dependency, indented
5043 Qt4 dependency section.
5044 * configure.ac: Added information about grmic being built when ASM
5047 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5049 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5050 DeleteGlobalRef on a local ref.
5052 2006-09-24 Mario Torre <neugens@limasoftware.net>
5054 * scripts/check_jni_methods.sh: added two new methods in the
5056 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5058 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5059 * native/jni/gconf-peer/GConfNativePeer.c:
5060 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5061 refacored method name, renamed from
5062 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5063 Added code to unescape escaped GConf key names.
5064 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5065 refacored method name, renamed from
5066 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5067 Added code to unescape escaped GConf key names.
5068 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5070 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5072 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5073 version javadoc tag.
5074 (escapeString): new method.
5075 (unescapeString): likewise.
5076 (gconf_escape_key): new native method.
5077 (gconf_unescape_key): likewise.
5078 (gconf_client_suggest_sync): update native method signature, now
5079 explicity throws BackingStoreException.
5080 (gconf_client_all_nodes): update native method signature, now
5081 explicity throws BackingStoreException. Refactored method name,
5082 renamed from gconf_client_gconf_client_all_nodes.
5083 (gconf_client_all_keys): update native method signature, now
5084 explicity throws BackingStoreException. Refactored method name,
5085 renamed from gconf_client_gconf_client_all_keys.
5086 (getKeys): refactored to use the new method name
5087 gconf_client_all_keys.
5088 (getChildrenNodes): refactored to use the new method name
5089 gconf_client_all_nodes.
5090 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5091 version javadoc tag.
5092 (GConfBasedPreferences): Added code to escape node names from
5093 invalid characters so that GConf now accept invalid node names.
5094 (GConfBasedPreferences): Moved code to register the current
5095 node to the list of nodes watched by GConf outside the constructor.
5096 (childSpi): Added code to register the current node to the
5097 list of nodes watched by GConf.
5098 (getGConfKey): Added code to escape key names from
5099 invalid characters so that GConf now accept invalid key names.
5101 2006-09-26 Tom Tromey <tromey@redhat.com>
5103 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5104 call mkdirs in output-directory case.
5105 (getPrintStream): Create output directory.
5106 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5109 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5111 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5112 Accept three additional arguments.
5113 (writePreambleImpl): New method.
5114 (getPrintStreamImpl): Likewise.
5115 (printClass): Adapted to use new methods in Printer superclass.
5116 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5117 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5118 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5119 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5121 (getParser): Add support for -o option.
5122 Check that only one of -d or -o is defined.
5123 Add support for -jni option.
5124 Add support for -force option.
5125 (makeOutputFile): New method.
5126 (writeHeaders): Removed File argument from signature.
5127 (run): Take into account newly added fields.
5128 Invoke concrete PrintStream implementations with augmented constructors.
5129 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5130 (isDirectory): Likewise.
5132 (wrotePreamble): Likewise.
5133 (Printer): Changed ctor to accept three additional arguments.
5134 (printClass): Changed signature to accept one ClassWrapper argument.
5135 (writePreambleImpl): New abstract method.
5136 (getPrintStreamImpl): Likewise.
5137 (getPrintStream): New method.
5138 (writePreamble): Likewise.
5140 2006-09-26 Tania Bento <tbento@redhat.com>
5142 * java/awt/GridLayout.java
5143 (toString): There is no common before hgap.
5144 * java/awt/Rectangle.java
5145 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5146 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5148 (Rectangle(Point)): Throw NPE if Point is null.
5149 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5151 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5153 * javax/swing/plaf/metal/MetalIconFactory.java
5154 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5155 returned by getShift(),
5156 (FileIcon16.getShift): Updated API docs,
5157 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5158 returned by getShift(),
5159 (FolderIcon16.getShift): Updated API docs,
5160 (TreeFolderIcon.getShift): Likewise,
5161 (TreeLeafIcon.getShift): Likewise.
5163 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5165 * javax/swing/plaf/metal/MetalIconFactory.java
5166 (FileIcon16.paintIcon): Fetch colors from look and feel,
5167 (FolderIcon16.paintIcon): Likewise.
5169 2006-09-25 Casey Marshall <csm@gnu.org>
5171 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5173 (write): revert back to using `writeGathering.'
5174 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5175 the first buffer that has data remaining, and start at that one.
5177 2006-09-25 Tom Tromey <tromey@redhat.com>
5179 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5182 2006-09-25 Tom Tromey <tromey@redhat.com>
5184 * tools/.cvsignore: Updated.
5186 2006-09-25 Tom Tromey <tromey@redhat.com>
5189 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5190 (Encoder.canEncode): Likewise.
5191 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5192 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5194 (Encoder.canEncode): Likewise.
5195 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5197 (Encoder.canEncode): Likewise.
5199 2006-09-25 Tom Tromey <tromey@redhat.com>
5201 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5204 2006-09-25 Francis Kung <fkung@redhat.com>
5206 * java/awt/image/ColorModel.java
5207 (coerceData): Made abstract.
5208 (coerceDataWorker): New protected method.
5209 * java/awt/image/ComponentColorModel.java
5210 (coerceData): Return new instance of proper ColorModel.
5211 * java/awt/image/DirectColorModel.java
5212 (coerceData): Return new instance of proper ColorModel.
5213 * java/awt/image/IndexColorModel.java
5214 (coerceData): New method.
5216 2006-09-24 Casey Marshall <csm@gnu.org>
5218 * gnu/java/nio/FileChannelImpl.java
5219 (read): call `read' in a loop, don't use `readScattering.'
5220 (write): call `write' in a loop, don't use `writeGathering.'
5222 2006-09-24 Mark Wielaard <mark@klomp.org>
5224 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5226 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5228 * java/nio/channels/spi/AbstractSelectableChannel.java
5229 (register): Set interestOps and attachment when the key already
5232 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5234 * java/net/ServerSocket.java
5235 (bind(SocketAddress,int)): Added support for null address.
5236 Throw proper exception if already bound.
5237 Handle unresolved addresses correctly. Ignore exceptions that
5238 happen during close in error path (to prevent losing the original
5241 2006-09-24 Mark Wielaard <mark@klomp.org>
5243 Suggested by Aaron M. Ucko <ucko@debian.org>
5245 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5247 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5249 * java/nio/channels/spi/AbstractSelectableChannel.java
5250 (implCloseChannel): Cancel all keys after closing the channel.
5252 2006-09-22 Casey Marshall <csm@gnu.org>
5254 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5255 after we delete them.
5256 (selectedKeys): return an empty set if nothing's been selected.
5257 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5258 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5259 throw an exception on EBADF.
5260 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5261 throw exception on EINTR, just return 0.
5263 2006-09-22 Casey Marshall <csm@gnu.org>
5265 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5266 remove `const' from `filename.'
5267 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5269 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5271 2006-09-22 Casey Marshall <csm@gnu.org>
5273 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5274 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5275 allocate `filename,' and handle changes to `cpio_readDir.'
5276 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5277 available; copy the filename into the destination buffer; return
5278 an error code if readdir returns NULL, but errno is 0.
5279 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5280 parameter to `const char *.'
5282 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5284 * javax/management/ObjectName.java:
5287 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5289 * resource/gnu/classpath/tools/orbd: New directory.
5290 * resource/gnu/classpath/tools/rmic: Likewise.
5291 * resource/gnu/classpath/tools/rmid: Likewise.
5292 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5293 * resource/gnu/classpath/tools/tnameserv: Likewise.
5294 * tools/gnu/classpath/tools/giop: Move contents to...
5295 * tools/gnu/classpath/tools/orbd,
5296 tools/gnu/classpath/tools/tnameserv: New directories.
5297 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5298 * tools/gnu/classpath/tools/rmic: New directory.
5299 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5300 * tools/gnu/classpath/tools/rmid: New directory.
5301 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5302 * tools/gnu/classpath/tools/rmiregistry: New directory.
5303 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5304 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5305 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5306 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5308 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5310 * tools/gnu/classpath/tools/orbd/Main.java,
5311 tools/gnu/classpath/tools/orbd/Messages.java,
5312 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5313 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5314 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5315 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5316 tools/gnu/classpath/tools/rmic/CompilationError.java,
5317 tools/gnu/classpath/tools/rmic/Generator.java,
5318 tools/gnu/classpath/tools/rmic/GiopIo.java,
5319 tools/gnu/classpath/tools/rmic/HashFinder.java,
5320 tools/gnu/classpath/tools/rmic/Main.java,
5321 tools/gnu/classpath/tools/rmic/Messages.java,
5322 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5323 tools/gnu/classpath/tools/rmic/RMICException.java,
5324 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5325 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5326 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5327 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5328 tools/gnu/classpath/tools/rmic/Variables.java,
5329 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5330 tools/gnu/classpath/tools/rmic/templates,
5331 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5332 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5333 tools/gnu/classpath/tools/rmid/Main.java,
5334 tools/gnu/classpath/tools/rmid/Messages.java,
5335 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5336 tools/gnu/classpath/tools/rmiregistry/Main.java,
5337 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5338 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5339 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5340 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5341 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5342 tools/gnu/classpath/tools/tnameserv/Main.java,
5343 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5344 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5345 RMIC.java from cp-tools.
5346 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5347 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5348 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5350 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5351 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5353 (start): New method.
5354 * tools/Makefile.am: Add build support for new tool wrappers.
5355 * tools/gorbd.in: New file.
5356 * tools/grmic.in: Likewise.
5357 * tools/grmid.in: Likewise.
5358 * tools/grmiregistry.in: Likewise.
5359 * tools/gtnameserv.in: Likewise.
5360 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5361 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5363 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5364 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5365 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5367 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5370 * gnu/java/util/regex/RETokenRepeated.java
5371 (findMatch): Rewriten without using recursive calls,
5372 (FindMatchControlStack): New class,
5373 (FindMatchControl): New class,
5374 (TryAnotherResult): New class,
5375 (tryAnother): New method.
5377 2006-09-22 Gary Benson <gbenson@redhat.com>
5379 * java/net/SocketPermission.java
5380 (processHostport): Cope with IPv6 addresses with a
5381 one-digit first component.
5383 2006-09-22 Roman Kennke <kennke@aicas.com>
5385 * java/awt/Component.java
5386 (enableEvents): Set newEventsOnly flag.
5387 * java/awt/Container.java
5388 (dispatchEventImpl): Consume event if lightweight dispatcher
5389 dispatched the event. Don't call processEvent() here, this
5390 is already done in Component.dispatchEventImpl(). For
5391 heavyweights or when the lightweight dispatcher could
5392 not dispatch, fall back to calling super.
5393 (dispatchNoLightweight): New helper method to avoid
5394 recursivly calling the lightweight dispatcher.
5395 * java/awt/LightweightDispatcher.java
5396 (dragButton): Removed field.
5397 (dragTarget): Removed field.
5398 (mouseEventTarget): New field.
5399 (convertPointToChild): Removed method.
5400 (dispatchEvent): Don't depend on component beeing
5402 (findTarget): Improved algorithm for finding a target.
5403 Before we went down to the deepest component and went
5404 up again to find a suitable target. Now we go
5405 down only once, without going up.
5406 (handleMouseEvent): Broke method down into some smaller
5408 (isDragging): New helper method.
5409 (isMouseListening): New helper method.
5410 (redispatch): New helper method.
5411 (trackEnterExit): New helper method.
5413 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5415 * javax/swing/SizeSequence.java
5416 (getSize): Return 0 if index is out of bounds.
5418 2006-09-21 Tom Tromey <tromey@redhat.com>
5420 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5421 (PathOptionGroup): Make -I a joined option.
5422 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5423 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5424 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5425 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5426 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5427 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5428 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5429 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5430 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5431 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5432 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5433 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5434 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5435 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5436 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5437 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5438 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5439 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5440 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5441 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5442 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5444 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5445 * tools/gnu/classpath/tools/common/Messages.java: New file.
5446 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5447 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5449 (ClasspathToolParser): Add -J option here.
5450 (ClasspathToolParser): Call other constructor in this class.
5451 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5452 Handle joined options.
5453 (handleShortOptions): Likewise.
5454 (handleShortOption): Removed.
5455 (finalGroup): New field.
5456 (Parser): Initialize new field. Don't add -J option.
5457 (addFinal): New method.
5458 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5460 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5461 (Option): Check short option for validity.
5462 (Option): New constructors.
5463 (joined): New field.
5465 2006-09-21 csm <csm@pollux.local>
5467 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5468 `InterruptedIOException;' try again if it gets thrown.
5469 (receive): likewise, but re-throw `SocketTimeoutException.'
5470 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5471 if we have nothing to select.
5473 2006-09-21 Francis Kung <fkung@redhat.com>
5475 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5476 (getLogicalBounds): Respect glyph transformations.
5477 (getGlyphOutline): Added null pointer check.
5478 (getGlyphTransform): Do not generate identity transform (API permits null).
5479 (setGlyphPosition): Do not invalidate transform.
5480 (setGlyphTransform): Do not modify glyph position.
5482 2006-09-21 Francis Kung <fkung@redhat.com>
5484 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5486 2006-09-21 Francis Kung <fkung@redhat.com>
5488 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5489 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5490 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5492 2006-09-21 Tania Bento <tbento@redhat.com>
5494 * javax/swing/JTabbedPane.java:
5495 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5496 (setModel): A ChangeListener should be created only if there does not
5497 currently exist one.
5499 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5501 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5502 (MaximizeAction.actionPerformed): Change icon on maxButton.
5504 2006-09-21 Roman Kennke <kennke@aicas.com>
5506 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5507 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5508 Use more efficient getViewPosition() and getViewSize() methods
5509 to avoid creating a rectangle.
5510 (HSBChangeListener.stateChanged): Update the view position
5511 unconditionally. Let the Viewport figure out if something
5513 (VSBChangeListener.stateChanged): Update the view position
5514 unconditionally. Let the Viewport figure out if something
5516 * javax/swing/JViewport.java
5517 (ViewListener.componentResized): Fire state change, because
5518 the extentSize changes.
5519 (extentSize): Removed unneeded field.
5520 (viewSize): Removed unneeded field.
5521 (getExtentSize): Return the viewport's size here.
5522 (getViewRect): Reformatted.
5523 (getViewSize): Reordered for only one return statement.
5524 (paintImmediately2): Fixed up javadoc.
5525 (paint): Removed unneeded statement.
5526 (setExtentSize): Set viewport size and check for actual change
5528 (setViewPosition): Simplified condition. Set scrollUnderway
5529 true and don't set isViewSizeSet. Avoid creating one Point
5531 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5533 * javax/swing/JScrollBar.java
5534 (ScrollBarListener): New class. Forwards change events from
5535 the model as adjustment events.
5536 (sbChangeListener): New field.
5537 (JScrollBar): Install listener on new model.
5538 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5540 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5541 method to allow custom isAdjusting value.
5542 (setMaximum): Only forward to model.
5543 (setMinimum): Only forward to model.
5544 (setValue): Only forward to model.
5545 (setVisibleAmount): Only forward to model.
5546 (setValues): Only forward to model.
5547 (setModel): Update the change listener.
5549 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5551 * java/util/Formatter.java (basicIntegralConversion): Removed
5552 check for ZERO && !LEFT_JUSTIFY.
5554 2006-09-20 Roman Kennke <kennke@aicas.com>
5557 * javax/swing/plaf/metal/DefaultMetalTheme.java
5558 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5559 (BOLD_CONTROL_TEXT_FONT): New constant field.
5560 (PLAIN_MENU_TEXT_FONT): New constant field.
5561 (BOLD_MENU_TEXT_FONT): New constant field.
5562 (controlTextFont): Removed.
5563 (menuTextFont): Removed.
5564 (CONTROL_TEXT_FONT): New constant field.
5565 (MENU_TEXT_FONT): New constant field.
5566 (getControlTextFont): Use getFont() helper method for fetching
5568 (getMenuTextFont): Use getFont() helper method for fetching
5570 (getFont): New helper method.
5571 (isBoldMetal): New helper method.
5573 2006-09-20 Casey Marshall <csm@gnu.org>
5575 * NEWS: mention epoll selector along with the kqueue one.
5577 2006-09-20 Casey Marshall <csm@gnu.org>
5579 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5580 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5582 2006-09-20 Francis Kung <fkung@redhat.com>
5585 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5586 (getGlyphTransform): Use translation instead of scale.
5587 (performDefaultLayout): Increment position values instead of resetting, and
5588 pre-increment instead of post-increment.
5589 (setGlyphTransform): Handle null case with identity transform.
5591 2006-09-20 Casey Marshall <csm@gnu.org>
5593 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5594 (AC_CHECK_FUNCS): check for `epoll_create.'
5595 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5596 * gnu/java/nio/EpollSelectorImpl.java: new file.
5597 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5599 (openSelector): return epoll selector if requested and available.
5600 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5601 (gnu_java_nio_EpollSelectorImpl.h): new target.
5602 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5603 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5604 gnu_java_nio_EpollSelectorImpl.c.
5605 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5607 2006-09-20 Casey Marshall <csm@gnu.org>
5609 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5611 (isConnected): return false if `connectionPending' is true.
5613 2006-09-20 Francis Kung <fkung@redhat.com>
5616 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5617 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5618 (getGlyphOutline): Call getGylphTransform to generate transform.
5619 (getGylphPosition): Read position directly out of array.
5620 (getGlyphPositions): Read positions directly out of array.
5621 (getGlyphTransform): Generate transform based on gylphPositions array.
5622 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5623 (setGlyphPosition): Set position directly into array.
5624 (setGlyphTransform): Update positions array as well.
5626 2006-09-20 David Daney <ddaney@avtrex.com>
5629 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5630 default content-type for POST method.
5632 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5634 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5635 (BasicRadioButtonUI): Don't fetch icon here,
5636 (installDefaults): Initialise icon here,
5637 (getDefaultIcon): Just return icon.
5639 2006-09-20 Mark Wielaard <mark@klomp.org>
5641 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5642 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5643 (EXTRA_DIST): Include javanio.c.
5645 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5647 * java/awt/geom/RoundRectangle2D.java:
5648 (getPathIterator): Reimplemented,
5649 and updated various API doc comments.
5651 2006-09-20 Roman Kennke <kennke@aicas.com>
5653 * java/awt/Container.java
5654 (addImpl): Set the new component's parent after it has been
5655 added to the array. Call addNotify() and invalidate()
5656 after the component has been added, so that the peer
5657 gets to know about the component structure when it is created.
5658 * java/awt/Window.java
5659 (dispatchEventImpl): Only revalidate when window is resized,
5660 let the other stuff be processed by the superclass.
5661 (dispose): Post WINDOW_CLOSED event only when some listener
5662 is registered or event is explicitly enabled.
5663 (show): Post WINDOW_OPENED event when appropriate.
5665 2006-09-20 Roman Kennke <kennke@aicas.com>
5667 * java/awt/Component.java
5668 (addNotify): Invalidate here. Fetch peer font.
5669 (getFont): Delegate to helper method, to protect from
5670 overriding client code. Lock the tree while fetching the font.
5671 (getFontImpl): New helper method. Moved code from getFont() in
5673 (removeNotify): Nullify peerFont too.
5674 (setFont): Synchronize on tree and component to avoid threading
5675 issues. Update the peerFont correctly.
5676 (validate): Update the peer font if necessary, before validating.
5677 (getGraphics): Revert to recursive graphics fetching.
5678 Set component font on the Graphics object.
5679 (translateEvent): Removed unnecessary cast.
5680 * java/awt/Container.java
5681 (invalidateTree): Made final and private. Made implementation
5682 slightly more efficient.
5683 (setFont): Get old and new font via getFont() to account for
5684 the real font, and only invalidate the tree when they are not
5685 the same and not equal.
5686 (visitChild): Set the font of the child on the component graphics.
5687 * java/awt/Frame.java
5688 (setMenuBar): Create local reference of peer for thread safety.
5689 Only call simple invalidate, not invalidateTree().
5691 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5694 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5695 (constructor): Copy image field.
5697 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5699 * javax/swing/JMenuBar.java
5700 (getHelpMenu): Implemented to throw an Error, and added API docs,
5701 (getMargin): Added API docs,
5702 (setMargin): Likewise.
5704 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5706 * javax/swing/AbstractButton.java
5707 (AbstractButton): Don't call updateUI(),
5708 * javax/swing/JButton.java
5709 (JButton(String, Icon)): Call setModel() before init(),
5710 * javax/swing/JMenuItem.java
5711 (JMenuItem()): Delegate to another constructor,
5712 (JMenuItem(Icon)): Likewise,
5713 (JMenuItem(Action)): Set model,
5714 (JMenuItem(String, Icon)): Likewise,
5715 * javax/swing/JToggleButton.java
5716 (init): Call setModel() before init().
5718 2006-09-19 Mark Wielaard <mark@klomp.org>
5721 * java/util/logging/LogManager.java (addLogger): Always check for
5722 existing children of a new Logger.
5724 2006-09-19 Roman Kennke <kennke@aicas.com>
5726 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5727 (HSBChangeListener.stateChanged): Moved handling of header to
5728 syncScrollPaneWithViewport().
5729 (VSBChangeListener.stateChanged): Moved handling of header to
5730 syncScrollPaneWithViewport().
5731 (ViewportChangedHandler.stateChanged): Removed unused statements.
5732 (syncScrollPaneWithViewport): Added null checks. Use setValues
5733 rather then the single setter methods to avoid multiple
5734 adjustments and side effects. Also snyc the headers here.
5735 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5736 (uninstallUI): Removed unnecessary cast and this qualifier as well
5737 as the call to super.
5739 2006-09-19 Gary Benson <gbenson@redhat.com>
5741 * java/net/ResolverCache.java: New class (a DNS cache).
5742 * java/net/InetAddress.java
5743 (internalGetCanonicalHostName, getAllByName): Use the above.
5745 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5747 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5748 * java/net/ServerSocket.java
5750 (bind): Set port field.
5751 (close): Set impl to null.
5752 (isClosed): Check impl and channel instead of using VMChannel.
5753 (toString): Use port field and getLocalPort() method.
5754 * java/net/Socket.java
5755 (isClosed): Check impl and channel instead of using VMChannel.
5757 2006-09-18 Tom Tromey <tromey@redhat.com>
5759 * java/util/concurrent/CopyOnWriteArrayList.java
5760 (CopyOnWriteArrayList): New constructor.
5762 2006-09-18 Casey Marshall <csm@gnu.org>
5764 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5765 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5767 2006-09-18 Tom Tromey <tromey@redhat.com>
5769 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5770 isConnected): Removed old comment.
5771 (getRemoteSocketAddress): Uncommented.
5772 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5773 setTrafficClass, getTrafficClass, setReuseAddress,
5774 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5775 isOutputShutdown): Uncommented.
5777 2006-09-18 David Pirkle <dpirkle@symyx.com>
5780 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5781 input stream during resolution.
5783 2006-09-18 Roman Kennke <kennke@aicas.com>
5785 * java/awt/LightweightDispatcher.java
5786 (findTarget): Correctly translate child coordinates.
5787 Use Component.eventTypeEnabled() for checking if a component
5788 has a certain event enabled.
5789 (handleMouseEvent): Find the correct mouse event target.
5790 Use Component.eventTypeEnabled() for checking if a component
5791 has a certain event enabled.
5793 2006-09-18 Roman Kennke <kennke@aicas.com>
5795 * java/awt/Component.java
5796 (show): Test for the peer beeing lightweight directly.
5797 (paintAll): Validate before painting. Don't paint when not
5798 showing. Call peer.paint() when the component is heavyweight.
5799 (repaint): Delegate to the parent when lightweight, rather
5800 than skipping to the nearest heavyweight.
5801 (createImage): Added null check to prevent NPE.
5802 (dispatchEvent): Moved old event dispatching and toolkit
5803 event dispatching to dispatchEventImpl.
5804 (addComponentListener): Don't enable event. Only add listener
5805 when not null. Switch to new event dispatching only.
5806 (addFocusListener): Likewise.
5807 (addHierarchyListener): Likewise.
5808 (addHierarchyBoundsListener): Likewise.
5809 (addKeyListener): Likewise.
5810 (addMouseListener): Likewise.
5811 (addMouseMotionListener): Likewise.
5812 (addMouseWheelListener): Likewise.
5813 (addInputMethodListener): Likewise.
5814 (coalesceEvents): For mouse events coalesce them only when
5815 their modifiers are equal. For paint events coalesce the events
5816 when one contains the other, without going through complicated
5818 (dispatchEventImpl): Moved old event dispatching and toolkit
5819 event dispatching to dispatchEventImpl.
5820 (coalescePaintEvents): Removed.
5821 (HeavyweightInLightweightListener.componentHidden):
5823 * java/awt/Container.java
5824 (addImpl): Don't enable events on lightweights.
5825 (remove): Reordered operations. Don't remove any listeners.
5826 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5827 Only removeNotify() when peer is != null. Only invalidate if
5828 not already invalid. Only fire ContainerEvent if there is
5829 an interested listener or the event is enabled. Dispatch this
5830 event directly without the event queue.
5831 (removeAll): Likewise.
5832 (paintComponents): Only paint when showing. Also paint heavyweights.
5833 Don't paint the container itself.
5834 (removeNotify): Create local variables for improved thread safety.
5835 (addNotifyContainerChildren): Don't enable events for lightweights.
5837 2006-09-18 Roman Kennke <kennke@aicas.com>
5839 * java/awt/EventQueue.java
5840 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5841 (next_in): Removed obsolete field.
5842 (next_out): Removed obsolete field.
5843 (queueHead): New field. Markes the head of the queue.
5844 (queueTail): New field. Markes the tail of the queue.
5845 (queue): Removed obsolete field.
5846 (EventQueue): Documented empty block.
5847 (getNextEvent): Changed array based implementation to single-linked
5848 list based implementation.
5849 (invokeAndWait): Use an Object as synchronization object rather
5850 than the current thread.
5851 (peekEvent(int)): Changed array based implementation to single-linked
5852 list based implementation.
5853 (peekEvent()): Changed array based implementation to single-linked
5854 list based implementation.
5855 (pop()): Changed array based implementation to single-linked
5856 list based implementation.
5857 (postEvent): Foward to postEventImpl.
5858 (postEventImpl): Changed array based implementation to single-linked
5859 list based implementation.
5860 (push): Changed array based implementation to single-linked
5861 list based implementation.
5862 * java/awt/AWTEvent.java
5863 (queueNext): New field. Implements a single-linked list for
5866 2006-09-17 Mark Wielaard <mark@klomp.org>
5868 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5869 resource from HTMLEditorKit.class.
5871 2006-09-17 Mark Wielaard <mark@klomp.org>
5873 * javax/swing/plaf/basic/BasicToolBarUI.java
5874 (setBorderToNonRollover): Check whether border is null.
5875 (setBorderToRollover): Likewise.
5877 2006-09-17 Mark Wielaard <mark@klomp.org>
5879 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5881 2006-09-17 Mark Wielaard <mark@klomp.org>
5883 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5884 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5885 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5886 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5887 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5889 2006-09-17 Casey Marshall <csm@gnu.org>
5891 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5894 2006-09-17 Chris Burdess <dog@gnu.org>
5896 Fixes PR 27610 27687.
5897 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5898 * gnu/xml/transform/SAXTemplatesHandler.java,
5899 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5900 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5901 SAXTransformerFactory.
5903 2006-09-16 Casey Marshall <csm@gnu.org>
5906 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5907 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5909 (HAVE_INET6): define if IPv6 is supported.
5910 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5911 (native_fd): removed.
5913 (<init>): throw IOException; initialize fields.
5914 (finalize): removed.
5915 (getNativeFD): removed.
5916 (bind): use `PlainSocketImpl.bind.'
5917 (create): use `PlainSocketImpl.initSocket.'
5918 (disconnect): use `PlainSocketImpl.disconnect.'
5919 (getLocalPort): new method.
5920 (send): use `VMChannel.send.'
5921 (receive): use `VMChannel.receive.'
5922 (setOption): use `PlainSocketImpl.setOption.'
5923 (getOption): use `PlainSocketImpl.getOption.'
5924 (close): use `VMChannel.State.close.'
5925 (join): use `PlainSocketImpl.join.'
5926 (leave): use `PlainSocketImpl.leave.'
5927 (joinGroup, leaveGroup): implemented.
5928 * gnu/java/net/PlainSocketImpl.java: make non-final.
5929 (native_fd): removed.
5931 (channel): new field.
5932 (<init>): initialize `impl.'
5933 (finalize, getNativeFD): removed.
5934 (setOption): use `PlainSocketImpl.setOption.'
5935 (getOption): use `PlainSocketImpl.getOption.'
5936 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5937 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5938 (create): create `channel,' initialize `impl's native state.
5939 (connect): use `connect(SocketAddress, int).'
5940 (connect): use `SocketChannelImpl.connect;' initialize `address'
5942 (bind): use `VMPlainSocketImpl.bind.'
5943 (listen): use `VMPlainSocketImpl.listen.'
5944 (accept): use `SocketChannelImpl.accept.'
5945 (available): use `VMChannel.available.'
5946 (close): use `PlainSocketImpl.close.'
5947 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5948 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5949 getPort): new methods.
5950 (SocketInputStream.read): use `VMChannel.read.'
5951 (SocketInputStream.read): use `SocketChannel.read.'
5952 (SocketOutputStream.write): use `VMChannel.write.'
5953 (SocketOutputStream.write): use `SocketChannel.write.'
5954 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5955 (channel): new field.
5956 (<init>): initialize `channel.'
5957 (implCloseSelectableChannel): use `VMChannel.close.'
5958 (implConfigureBlocking): use `VMChannel.setBlocking.'
5959 (connect): use `VMChannel.connect.'
5960 (disconnect): use `VMChannel.disconnect.'
5961 (isConnected): use `VMChannel.getPeerAddress.'
5962 (write): use `VMChannel.write.'
5963 (write): use `VMChannel.writeGathering.'
5964 (read): use `VMChannel.read.'
5965 (read): use `VMChannel.readScattering.'
5966 (receive): use `VMChannel.receive.'
5967 (send): use `VMChannel.send.'
5968 (getVMChannel): new method.
5969 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5970 access native FD through VMChannel.State.
5971 * gnu/java/nio/FileChannelImpl.java: moved from
5972 gnu/java/nio/channels/FileChannelImpl.java.
5973 * gnu/java/nio/FileLockImpl.java: fix imports.
5974 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5975 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5976 * gnu/java/nio/NIOSocket.java (impl): removed.
5977 (channel): new field.
5978 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5979 (getPlainSocketImpl, setChannel): removed.
5980 (isConnected): new method.
5981 * gnu/java/nio/NIOSocketImpl.java: new file.
5982 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5984 (SourceChannelImpl.native_fd): removed.
5985 (SourceChannelImpl.<init>): init with a `VMChannel.'
5986 (SourceChannelImpl.getNativeFD): removed.
5987 (SourceChannelImpl.getVMChannel): new method.
5988 (SourceChannelImpl.implCloseSelectableChannel): implement.
5989 (SinkChannelImpl): implement `VMChannelOwner.'
5990 (SinkChannelImpl.native_fd): removed.
5991 (SinkChannelImpl.<init>): init with a `VMChannel.'
5992 (SinkChannelImpl.implCloseSelectableChannel): implement.
5993 (SinkChannelImpl.getNativeFD): removed.
5994 (SinkChannelImpl.getVMChannel): new method.
5995 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5997 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5998 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5999 (openSelector): return kqueue selector if available.
6000 * gnu/java/nio/ServerSocketChannelImpl.java: implement
6002 (channel): new field.
6003 (<init>): init `channel.'
6004 (finalizer): check if the `VMChannel.State' is valid.
6005 (implCloseSelectableChannel): use `VMChannel.close.'
6006 (implConfigureBlocking): use `VMChannel.setBlocking.'
6007 (accept): use `VMChannel.accept.'
6008 (getVMChannel): new method.
6009 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6010 access native FD through `VMChannel.State.'
6011 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6013 (channel, connected, connectAddress): new field.
6014 (<init>): new constructors.
6015 (getPlainSocketImpl): removed.
6016 (implCloseSelectableChannel): use `VMChannel.close.'
6017 (implConfigureBlocking): use `VMChannel.setBlocking.'
6018 (connect): use `connect(SocketAddress,int).'
6019 (connect): use `VMChannel.connect.'
6020 (finishConnect): don't use a selector.
6021 (isConnected): use `VMChannel.getPeerAddress.'
6022 (read): use `VMChannel.read.'
6023 (read): use `VMChannel.readScattering.'
6024 (write): use `VMChannel.write.'
6025 (write): use `VMChannel.writeGathering.'
6026 (getVMChannel): new method.
6027 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6028 native FD from `VMChannel.State.'
6029 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6030 get native FD from `VMChannel.State.'
6031 * gnu/java/nio/VMChannelOwner.java: new file.
6032 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6033 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6034 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6035 `gnu_java_nio_channels_FileChannelImpl.h.'
6036 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6037 * include/gnu_java_nio_FileChannelImpl.h: new file.
6038 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6039 * include/gnu_java_nio_VMChannel.h: regenerated.
6040 * include/gnu_java_nio_VMPipe.h: regenerated.
6041 * include/java_net_VMNetworkInterface.h: regenerated.
6042 * java/io/FileDescriptor.java: fix imports.
6043 * java/io/FileInputStream.java (<init>): handle exceptions.
6044 (read): wrap the destination arary.
6045 * java/io/FileOutputStream.java (<init>): handle exceptions.
6046 (write): wrap the source array.
6047 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6048 * java/net/DatagramSocket.java (<init>): handle exceptions.
6049 (receive): handle length/port setting.
6050 (connect): bind to any address/port if the argument is null.
6051 * java/net/NetworkInterface.java (name, inetAddress): removed.
6053 (<init>): make private.
6054 (getName): return `netif.name.'
6055 (getInetAddresses): access `netif.addresses.'
6056 (getDisplayName): return `netif.name.'
6057 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6058 (condense): removed.
6059 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6060 (equals): compare `netif' fields.
6061 (hashCode): get hash codes from `netif.'
6062 (toString): use a StringBuffer.
6063 * java/net/ServerSocket.java (close): don't set `impl' to null.
6064 (isClosed): use `VMChannel.State.isClosed.'
6065 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6066 the `SocketImpl' is a `PlainSocketImpl.'
6067 (close): just close the `impl.'
6068 (toString): use `super.toString' in the value we return.
6069 (isConnected): just access `impl,' not `getImpl.'
6070 (isBound): use `PlainSocketImpl' methods if we can.
6071 (isClosed): look at `VMChannel.State.'
6072 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6073 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6074 an exception if they were not.
6075 (JCL_GetRawData): throw an exception if cached fields weren't
6077 * native/jni/java-lang/java_lang_VMProcess.c: handle
6078 FileChannelImpl move.
6079 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6080 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6081 THROW_NO_NETWORK): new macros.
6082 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6083 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6084 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6085 (java_sockopt): new enum.
6086 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6087 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6088 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6090 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6092 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6094 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6095 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6096 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6097 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6098 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6099 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6100 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6101 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6102 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6103 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6104 (getif_address): new function.
6105 (getif_index): new function.
6106 * native/jni/java-net/java_net_VMNetworkInterface.c
6107 (java_net_VMNetworkInterface_init,
6108 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6109 (Java_java_net_VMNetworkInterface_initIds): new function.
6110 (struct netif_entry): new struct.
6111 (free_netif_list): new function.
6112 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6113 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6114 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6115 gnu_java_nio_channels_FileChannelImpl.c, add
6116 gnu_java_nio_KqueueSelectorImpl.c.
6117 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6118 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6119 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6120 ALIGN_DOWN): new macros.
6121 (JCL_init_buffer): get the address through GetDirectBufferAddress
6123 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6124 Java_gnu_java_nio_VMChannel_stdout_1fd,
6125 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6126 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6128 (Java_gnu_java_nio_VMChannel_read): renamed...
6129 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6130 this; handle interrupted IO; add HAVE_READ check.
6131 (Java_gnu_java_nio_VMChannel_write): renamed...
6132 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6133 this; handle zero-length write; add HAVE_WRITE check.
6134 (Java_gnu_java_nio_VMChannel_receive): new function.
6135 (Java_gnu_java_nio_VMChannel_send): new function.
6136 (Java_gnu_java_nio_VMChannel_send6): new function.
6137 (Java_gnu_java_nio_VMChannel_read__I): new function.
6138 (Java_gnu_java_nio_VMChannel_write__II): new function.
6139 (Java_gnu_java_nio_VMChannel_socket): new function.
6140 (Java_gnu_java_nio_VMChannel_connect): new function.
6141 (Java_gnu_java_nio_VMChannel_connect6): new function.
6142 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6143 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6144 (Java_gnu_java_nio_VMChannel_accept): new function.
6145 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6146 (Java_gnu_java_nio_VMChannel_close): new function.
6147 (Java_gnu_java_nio_VMChannel_available): new function.
6148 (FileChannel_mode): new enum.
6149 (Java_gnu_java_nio_VMChannel_open): new function.
6150 (Java_gnu_java_nio_VMChannel_position): new function.
6151 (Java_gnu_java_nio_VMChannel_seek): new function.
6152 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6153 (Java_gnu_java_nio_VMChannel_lock): new function.
6154 (Java_gnu_java_nio_VMChannel_unlock): new function.
6155 (Java_gnu_java_nio_VMChannel_size): new function.
6156 (Java_gnu_java_nio_VMChannel_map): new function.
6157 (Java_gnu_java_nio_VMChannel_flush): new function.
6158 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6159 (Java_gnu_java_nio_VMPipe_init): removed.
6160 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6161 * native/jni/java-nio/javanio.c: new file.
6162 * native/jni/java-nio/javanio.h: new file.
6163 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6164 systems without `gethostbyname_r.'
6165 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6167 (<init>, <init>): new constructors.
6168 (setOption, getOption): make instance methods; defer to native
6171 (bind): make an instance method; defer to native methods.
6173 (available): removed.
6174 (listen): make an instance method; defer to native method.
6176 (join, leave): new methods.
6178 (joinGroup, leaveGroup): new methods.
6179 (shutdownInput, shutdownOutput): make instance methods.
6180 (sendUrgentData): removed.
6182 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6185 (<init>): new, public constructors.
6186 (getVMChannel): methods removed.
6187 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6188 stderr_fd): new methods.
6189 (setBlocking): make an instance method.
6190 (available): new method.
6191 (read): get native fd from `nfd.'
6192 (read): new single-byte read method.
6193 (readScattering): get native fd from `nfd.'
6194 (receive): new method.
6195 (write, writeGathering): get native fd from `nfd.'
6197 (write): new single-byte write method.
6198 (initSocket): new method.
6199 (connect): new method.
6200 (disconnect): new method.
6201 (getLocalAddress): new method.
6202 (getPeerAddress): new method.
6203 (accept): new method.
6204 (openFile): new method.
6205 (position): new method.
6207 (truncate): new method.
6209 (unlock): new method.
6212 (flush): new method.
6213 (close): new method.
6216 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6217 (pipe, pipe0): new method.
6218 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6220 (<clinit>): call `initIds.'
6221 (initIds): new method.
6222 (getInterfaces): removed.
6223 (getVMInterfaces): new method.
6224 (addAddress): new method.
6225 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6227 2006-09-16 Chris Burdess <dog@gnu.org>
6230 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6231 when in text output mode.
6233 2006-09-16 Chris Burdess <dog@gnu.org>
6236 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6238 2006-09-14 Michael Koch <konqueror@gmx.de>
6240 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6242 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6244 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6245 Added !cl.isArray() to serialVersionUID mismatch check.
6247 2006-09-14 Francis Kung <fkung@redhat.com>
6249 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6250 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6251 be compatibe with Cairo 1.2.x.
6253 2006-09-14 Francis Kung <fkung@redhat.com>
6255 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6256 (cairoSurfaceSetFilter): Removed method.
6257 (drawImage): Pass interpolation type as argument to drawing methods.
6258 (drawPixels): Added interpolation parameter.
6259 (drawRaster): Pass interpolation type as argument to drawing method.
6260 (getInterpolation): New method.
6261 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6262 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6263 * gnu/java/awt/peer/gtk/CairoSurface.java
6264 (drawSurface): Added interpolation parameter.
6265 (nativeDrawSurface): Added interpolation parameter.
6266 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6267 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6269 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6270 * native/jni/gtk-peer/cairographics2d.h
6271 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6272 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6273 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6275 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6276 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6277 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6278 interpolation parameter.
6280 2006-09-14 Gary Benson <gbenson@redhat.com>
6282 * java/net/InetAddress.java
6283 (internalGetCanonicalHostName): New method.
6284 (getCanonicalHostName): Use internalGetCanonicalHostName.
6285 (getByLiteral): New method.
6286 (getAllByName): Use getByLiteral.
6287 * java/net/SocketPermission.java
6288 (host): Replaced with...
6289 (hostname, address): New fields.
6290 (equals, hashcode): Reflect the above.
6291 (setHostPort): Parse host into hostname or address.
6292 (implies): Rewrite host checks.
6294 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6297 * java/awt/Menu.java
6298 (insert(MenuItem, int)): Fixed loop range,
6299 (insert(String, int)): Updated API docs.
6301 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6304 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6305 architectures (like Arm).
6306 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6307 Reverted SWAP_DOUBLE patch.
6308 (doubleToRawLongBits): Likewise.
6309 (longBitsToDouble): Likewise.
6311 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6313 * java/awt/Menu.java: Reformatted source file.
6315 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6317 * gnu/java/rmi/server/ActivatableRef.java
6318 (readExternal, writeExternal): Partial fix for serialization format.
6320 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6323 * java/io/InputStreamReader.java
6324 (read(char[],int,int)): Fixed bug.
6326 2006-09-13 Francis Kung <fkung@redhat.com>
6328 * java/awt/image/BandCombineOp.java: Updated documentation.
6329 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6331 2006-09-13 Tom Tromey <tromey@redhat.com>
6334 * java/io/PipedReader.java (read): Return early if len==0.
6335 * java/io/PipedInputStream.java (read): Return early if len==0.
6337 2006-09-13 Francis Kung <fkung@redhat.com>
6339 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6340 Removed hard-coded max sample value.
6341 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6342 Fixed finding of max sample value.
6344 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6346 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6347 (setPaint): Check null argument ('p').
6349 2006-09-12 Francis Kung <fkung@redhat.com>
6352 * gnu/java/awt/java2d/TexturePaintContext.java
6353 (constructor): Fixed typo, getMinY instead of getMaxX.
6354 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6355 (setPaint): Implemented support for custom Paint classes.
6356 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6357 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6358 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6359 to setPaintPixels, and added repeat parameter.
6360 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6361 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6363 2006-09-12 Gary Benson <gbenson@redhat.com>
6365 * java/net/NetworkInterface.java (getInetAddresses):
6366 Fix port used in security check.
6368 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6370 * javax/swing/plaf/metal/DefaultMetalTheme.java
6371 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6372 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6373 (getControlTextFont): Check 'swing.boldMetal' setting before
6375 (getMenuTextFont): Likewise.
6377 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6379 * javax/swing/plaf/metal/OceanTheme.java
6380 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6382 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6384 * javax/swing/plaf/metal/MetalIconFactory.java
6385 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6387 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6389 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6391 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6393 * javax/swing/AbstractButton.java
6394 (AbstractButton): Initialise textIconGap field.
6396 2006-09-11 Tom Tromey <tromey@redhat.com>
6398 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6399 "volatile" when needed.
6401 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6403 * java/text/AttributedCharacterIterator.java
6404 (LANGUAGE): Initialise with lower case string,
6405 (INPUT_METHOD_SEGMENT): Likewise,
6406 (READING): Likewise,
6407 * java/text/AttributedStringIterator.java
6408 (getRunLimit): Check all attributes for changes.
6410 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6412 * java/text/AttributedCharacterIterator.java: Added @since tag,
6413 renamed some variables (no underscores) and removed some spaces to
6414 match the common style,
6415 * java/text/AttributedString.java: Likewise,
6416 * java/text/AttributedStringIterator.java: Likewise.
6418 2006-09-11 Gary Benson <gbenson@redhat.com>
6420 * java/net/Inet4Address.java
6421 (FAMILY): Renamed back to AF_INET.
6422 (<init>, writeReplace): Reflect the above.
6423 * java/net/Inet6Address.java
6424 (FAMILY): Renamed back to AF_INET6.
6425 (<init>): Reflect the above.
6427 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6430 * java/text/AttributedString.java
6431 (AttributedString(AttributedCharacterIterator, int, int,
6432 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6435 2006-09-11 Gary Benson <gbenson@redhat.com>
6437 * java/net/Inet4Address.java
6438 (AF_INET): Renamed to FAMILY.
6439 (<init>, writeReplace): Reflect the above.
6440 * java/net/Inet6Address.java
6441 (AF_INET6): Renamed to FAMILY.
6442 (<init>): Reflect the above.
6444 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6447 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6448 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6449 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6450 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6451 (bind): Call getImpl().create(true).
6453 2006-09-09 Chris Burdess <dog@gnu.org>
6455 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6456 an instance of org.w3c.dom.NodeList.
6458 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6460 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6461 missing security manager when run in standalone mode.
6463 2006-09-08 Francis Kung <fkung@redhat.com>
6465 * java/awt/image/AffineTransformOp.java: Updated documentation.
6466 (createCompatibleDestRaster): Updated formatting.
6467 (filter(BufferedImage, BufferedImage)): Updated formatting.
6468 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6469 if colour model is compatible.
6470 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6471 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6473 2006-09-08 Gary Benson <gbenson@redhat.com>
6475 * java/net/InetAddress.java
6476 (family): Updated javadoc and made private.
6477 (<init>): Add an address family argument.
6478 (readObject): Don't overwrite family.
6479 * java/net/Inet4Address.java
6480 (AF_INET): New constant.
6481 (<init>): Use AF_INET as the family.
6482 (writeReplace): Likewise.
6483 * java/net/Inet6Address.java
6484 (AF_INET6): New constant.
6485 (<init>): Use AF_INET6 as the family.
6487 2006-09-08 Gary Benson <gbenson@redhat.com>
6489 * java/net/InetAddress.java
6490 (getHostName): Move lookup into getCanonicalHostName.
6491 (getCanonicalHostName): Move lookup from getHostName,
6492 Perform security check on canonical name (ie after lookup).
6494 2006-09-08 Gary Benson <gbenson@redhat.com>
6496 * java/net/Inet4Address.java (isMulticastAddress,
6497 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6498 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6499 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6500 implementations from InetAddress.
6501 * java/net/InetAddress.java (isMulticastAddress,
6502 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6503 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6504 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6505 implementations with UnsupportedOperationExceptions.
6507 2006-09-08 Gary Benson <gbenson@redhat.com>
6509 * java/net/InetAddress.java
6510 (inaddr_any): Removed.
6511 (ANY_IF, LOCALHOST): Create using getByAddress.
6512 (<init>): Updated javadoc.
6513 (getHostName): Cache hostname even if the lookup failed.
6514 (getByAddress): Create Inet4Address objects when passed
6515 IPv4-mapped IPv6 addresses.
6517 (getAllByName): Create address objects using getByAddress.
6518 Do not perform security checks unless actually required.
6519 Do not strip whitespace from the hostname.
6520 (getInaddrAny): Removed.
6521 (getLocalHost): Return the loopback address if getByName
6522 throws a SecurityException.
6523 (readResolve): Updated javadoc.
6524 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6525 * include/java_net_VMInetAddress.h
6526 (Java_java_net_VMInetAddress_aton): Likewise.
6527 * native/jni/java-net/java_net_VMInetAddress.c
6528 (Java_java_net_VMInetAddress_aton): New method.
6529 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6530 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6531 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6532 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6533 * NEWS: Added note about updated VM interface.
6535 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6537 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6538 (setNorthPane): Assign component to titlePane.
6540 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6542 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6543 Remove unused variable alt_addr.
6544 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6545 Remove unused variables.
6547 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6549 * javax/swing/plaf/metal/MetalScrollBarUI.java
6550 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6551 (createDecreaseButton): Don't fetch scrollBarWidth here,
6552 (createIncreaseButton): Likewise.
6554 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6556 * java/awt/image/MemoryImageSource.java: Added API docs.
6558 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6560 * javax/swing/plaf/basic/BasicScrollBarUI.java
6561 (installDefaults): Call configureScrollBarColors().
6563 2006-09-06 Francis Kung <fkung@redhat.com>
6565 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6566 (constructor): Make copy of arrays.
6567 (createCompatibleDestImage): Changed treatment of null ColorModel.
6568 (filter(BufferedImage, BufferedImage)): Re-implemented.
6569 (filter(Raster, WritableRaster, boolean[])): New method.
6570 (filter(Raster, WritableRaster)): Re-implemented.
6571 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6572 (getPoint2D): Cleaned up formatting.
6573 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6575 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6577 * javax/swing/UIManager.java
6578 (getBoolean(Object)): Reimplemented,
6579 (getBoolean(Object, Locale)): Likewise,
6580 (getBorder(Object)): Likewise,
6581 (getBorder(Object, Locale)): Likewise,
6582 (getColor(Object)): Likewise,
6583 (getColor(Object, Locale)): Likewise,
6584 (getDimension(Object)): Likewise,
6585 (getDimension(Object, Locale)): Likewise,
6586 (getFont(Object)): Likewise,
6587 (getFont(Object, Locale)): Likewise,
6588 (getIcon(Object)): Likewise,
6589 (getIcon(Object, Locale)): Likewise,
6590 (getInsets(Object)): Updated API docs,
6591 (getInsets(Object, Locale)): Likewise,
6592 (getInt(Object)): Reimplemented,
6593 (getInt(Object, Locale)): Likewise,
6594 (getString(Object)): Likewise,
6595 (getString(Object, Locale)): Likewise.
6597 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6599 * javax/swing/UIManager.java
6600 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6601 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6603 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6605 * javax/swing/plaf/metal/MetalLookAndFeel.java
6606 (initComponentDefaults): Corrected various font defaults.
6608 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6610 * java/awt/List.java: Added @since to various methods.
6612 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6614 * native/jni/native-lib/cpprocess.c:
6615 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6616 Add redirection of stdout to stderr.
6617 * native/jni/native-lib/cpprocess.h:
6618 Added redirect argument.
6619 * native/jni/java-lang/java_lang_VMProcess.c
6620 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6621 * vm/reference/java/lang/VMProcess.java: Likewise.
6622 * include/java_lang_VMProcess.h: Regenerated.
6624 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6626 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6627 __attribute to __attribute__.
6629 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6632 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6634 * java/awt/List.java: Source code reformatted.
6636 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6638 * gnu/CORBA/CollocatedOrbs.java,
6639 gnu/CORBA/SafeForDirectCalls.java: New files.
6640 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6641 Implement gnu.CORBA.SafeForDirectCalls.
6642 * gnu/CORBA/NamingService/Ext.java: Likewise.
6643 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6644 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6645 of the local host. (ior_to_object): Return the local object
6646 where possible. (run): Register/unregister this ORB.
6647 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6648 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6649 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6650 (constructors): Initialize noRetain. (_invoke): Drop servant
6651 if noRetain is true. (getHandler): Always seach for the new servant
6652 if noRetain is true.
6653 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6654 * NEWS: Added note about the new feature.
6656 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6658 * java/awt/Choice.java
6659 (addItem): Fixed API doc glitch.
6661 2006-09-05 Francis Kung <fkung@redhat.com>
6663 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6664 (createCompatibleDestImage): Re-implemented.
6665 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6666 compatibility, and use ColorConvertOp for color conversion if needed.
6667 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6669 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6671 gnu/CORBA/CDR/Vio.java,
6672 org/omg/CORBA_2_3/ORB.java,
6673 org/omg/CORBA_2_3/portable/InputStream.java,
6674 org/omg/CORBA_2_3/portable/OutputStream.java,
6675 org/omg/CosNaming/BindingIteratorHelper.java,
6676 org/omg/CosNaming/BindingTypeHelper.java,
6677 org/omg/CosNaming/NameComponentHelper.java,
6678 org/omg/CosNaming/NameHelper.java,
6679 org/omg/CosNaming/NamingContextExtHelper.java,
6680 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6681 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6682 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6683 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6684 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6685 org/omg/CosNaming/NamingContextHelper.java,
6686 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6687 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6688 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6689 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6690 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6691 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6692 org/omg/DynamicAny/AnySeqHelper.java,
6693 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6694 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6695 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6696 org/omg/DynamicAny/DynAnyHelper.java,
6697 org/omg/DynamicAny/DynAnyOperations.java,
6698 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6699 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6700 org/omg/DynamicAny/DynAnySeqHelper.java,
6701 org/omg/DynamicAny/DynArrayHelper.java,
6702 org/omg/DynamicAny/DynEnumHelper.java,
6703 org/omg/DynamicAny/DynFixedHelper.java,
6704 org/omg/DynamicAny/DynSequenceHelper.java,
6705 org/omg/DynamicAny/DynStructHelper.java,
6706 org/omg/DynamicAny/DynStructOperations.java,
6707 org/omg/DynamicAny/DynUnionHelper.java,
6708 org/omg/DynamicAny/DynValueHelper.java,
6709 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6710 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6711 org/omg/IOP/CodecFactoryHelper.java,
6712 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6713 org/omg/IOP/CodecOperations.java,
6714 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6715 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6716 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6717 org/omg/IOP/ComponentIdHelper.java,
6718 org/omg/IOP/ExceptionDetailMessage.java,
6719 org/omg/IOP/MultipleComponentProfileHelper.java,
6720 org/omg/IOP/ProfileIdHelper.java,
6721 org/omg/IOP/ServiceContextListHelper.java,
6722 org/omg/IOP/ServiceIdHelper.java,
6723 org/omg/IOP/TAG_CODE_SETS.java,
6724 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6725 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6726 org/omg/PortableInterceptor/CurrentHelper.java,
6727 org/omg/PortableInterceptor/IORInfo.java,
6728 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6729 org/omg/PortableInterceptor/ORBIdHelper.java,
6730 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6731 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6732 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6733 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6734 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6735 org/omg/PortableInterceptor/RequestInfoOperations.java,
6736 org/omg/PortableInterceptor/ServerIdHelper.java,
6737 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6738 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6739 org/omg/PortableServer/AdapterActivatorOperations.java,
6740 org/omg/PortableServer/CurrentHelper.java,
6741 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6742 org/omg/PortableServer/ForwardRequestHelper.java,
6743 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6744 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6745 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6746 org/omg/PortableServer/LifespanPolicyValue.java,
6747 org/omg/PortableServer/POA.java,
6748 org/omg/PortableServer/POAHelper.java,
6749 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6750 org/omg/PortableServer/POAManagerPackage/State.java,
6751 org/omg/PortableServer/POAOperations.java,
6752 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6753 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6754 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6755 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6756 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6757 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6758 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6759 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6760 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6761 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6762 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6763 org/omg/PortableServer/ServantActivatorHelper.java,
6764 org/omg/PortableServer/ServantLocatorHelper.java,
6765 org/omg/PortableServer/ServantLocatorOperations.java,
6766 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6767 org/omg/PortableServer/ThreadPolicyValue.java,
6768 org/omg/PortableServer/_ServantActivatorStub.java,
6769 org/omg/PortableServer/_ServantLocatorStub.java,
6770 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6772 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6774 * javax/rmi/CORBA/Tie.java,
6775 org/omg/CORBA/AnyHolder.java,
6776 org/omg/CORBA/AnySeqHelper.java,
6777 org/omg/CORBA/AnySeqHolder.java,
6778 org/omg/CORBA/BooleanHolder.java,
6779 org/omg/CORBA/BooleanSeqHelper.java,
6780 org/omg/CORBA/BooleanSeqHolder.java,
6781 org/omg/CORBA/ByteHolder.java,
6782 org/omg/CORBA/CharHolder.java,
6783 org/omg/CORBA/CharSeqHelper.java,
6784 org/omg/CORBA/CharSeqHolder.java,
6785 org/omg/CORBA/Context.java,
6786 org/omg/CORBA/CurrentHelper.java,
6787 org/omg/CORBA/CustomValue.java,
6788 org/omg/CORBA/DataOutputStream.java,
6789 org/omg/CORBA/DefinitionKindHelper.java,
6790 org/omg/CORBA/DomainManagerOperations.java,
6791 org/omg/CORBA/DoubleHolder.java,
6792 org/omg/CORBA/DoubleSeqHelper.java,
6793 org/omg/CORBA/DoubleSeqHolder.java,
6794 org/omg/CORBA/DynAny.java,
6795 org/omg/CORBA/DynSequence.java,
6796 org/omg/CORBA/DynValue.java,
6797 org/omg/CORBA/DynamicImplementation.java,
6798 org/omg/CORBA/FieldNameHelper.java,
6799 org/omg/CORBA/FixedHolder.java,
6800 org/omg/CORBA/FloatHolder.java,
6801 org/omg/CORBA/FloatSeqHelper.java,
6802 org/omg/CORBA/FloatSeqHolder.java,
6803 org/omg/CORBA/IdentifierHelper.java,
6804 org/omg/CORBA/IntHolder.java,
6805 org/omg/CORBA/LocalObject.java,
6806 org/omg/CORBA/LongHolder.java,
6807 org/omg/CORBA/LongLongSeqHelper.java,
6808 org/omg/CORBA/LongLongSeqHolder.java,
6809 org/omg/CORBA/LongSeqHelper.java,
6810 org/omg/CORBA/LongSeqHolder.java,
6811 org/omg/CORBA/ORB.java,
6812 org/omg/CORBA/ObjectHelper.java,
6813 org/omg/CORBA/ObjectHolder.java,
6814 org/omg/CORBA/OctetSeqHelper.java,
6815 org/omg/CORBA/OctetSeqHolder.java,
6816 org/omg/CORBA/PolicyErrorCodeHelper.java,
6817 org/omg/CORBA/PolicyErrorHelper.java,
6818 org/omg/CORBA/PolicyHelper.java,
6819 org/omg/CORBA/PolicyListHelper.java,
6820 org/omg/CORBA/PolicyTypeHelper.java,
6821 org/omg/CORBA/PrincipalHolder.java,
6822 org/omg/CORBA/RepositoryIdHelper.java,
6823 org/omg/CORBA/Request.java,
6824 org/omg/CORBA/ShortHolder.java,
6825 org/omg/CORBA/ShortSeqHelper.java,
6826 org/omg/CORBA/ShortSeqHolder.java,
6827 org/omg/CORBA/StringSeqHelper.java,
6828 org/omg/CORBA/StringSeqHolder.java,
6829 org/omg/CORBA/ULongLongSeqHelper.java,
6830 org/omg/CORBA/ULongLongSeqHolder.java,
6831 org/omg/CORBA/ULongSeqHelper.java,
6832 org/omg/CORBA/ULongSeqHolder.java,
6833 org/omg/CORBA/UShortSeqHelper.java,
6834 org/omg/CORBA/UShortSeqHolder.java,
6835 org/omg/CORBA/ValueBaseHelper.java,
6836 org/omg/CORBA/ValueBaseHolder.java,
6837 org/omg/CORBA/VersionSpecHelper.java,
6838 org/omg/CORBA/WCharSeqHelper.java,
6839 org/omg/CORBA/WCharSeqHolder.java,
6840 org/omg/CORBA/WStringSeqHelper.java,
6841 org/omg/CORBA/WStringSeqHolder.java,
6842 org/omg/CORBA/WrongTransactionHelper.java,
6843 org/omg/CORBA/_IDLTypeStub.java,
6844 org/omg/CORBA/_PolicyStub.java,
6845 org/omg/CORBA/portable/BoxedValueHelper.java,
6846 org/omg/CORBA/portable/Delegate.java,
6847 org/omg/CORBA/portable/ObjectImpl.java,
6848 org/omg/CORBA/portable/ServantObject.java,
6849 org/omg/CORBA/portable/StreamableValue.java,
6850 org/omg/CosNaming/BindingType.java,
6851 org/omg/CosNaming/IstringHelper.java,
6852 org/omg/DynamicAny/FieldNameHelper.java,
6853 org/omg/PortableServer/Servant.java: Documentation fixes.
6855 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6857 * java/awt/Rectangle.java
6858 (setRect(double, double, double, double)): Modified rounding of input
6861 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6863 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6864 Disallow H1 - H6 in the paragraphs.
6865 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6866 (preprocess): Leave at most one leading and/or trailing space.
6867 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6868 Do not add any text after closing the HTML tag.
6870 2006-09-02 Roman Kennke <kennke@aicas.com>
6873 * javax/swing/plaf/basic/BasicTextUI.java
6874 (RootView.getPreferredSpan): Default to 10 when there is no
6876 (RootView.getMinimumSpan): Forward to view and default to 10
6877 when there is no real view.
6878 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6879 (getMaximumSize): Check for overflow.
6880 * javax/swing/text/FieldView.java
6881 (getResizeWeight): Removed unneeded assignment.
6883 2006-09-01 Francis Kung <fkung@redhat.com>
6884 * java/awt/image/ColorConvertOp.java
6885 (copyImage): Updated javadoc and comments.
6886 (copyRaster): Add javadoc.
6887 (createCompatibleColorModel): Add javadocs and comments.
6888 (createCompatibleDestImage): Use correct transfer type.
6889 (createCompatibleDestRaster): Add new parameter for transfer type.
6890 (filter): Use correct transfer type.
6891 * java/awt/image/ConvolveOp.java: Updated javadocs.
6892 (createCompatibleDestImage): Set new image properties correctly.
6893 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6894 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6896 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6898 * javax/swing/table/DefaultTableModel.java:
6899 (checkSize): Added null check for dataVector.
6901 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6903 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6904 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6905 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6907 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6909 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6910 (paintIcon): Removed unused import statements, lowered cast requirement
6911 from JCheckBox to AbstractButton.
6913 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6915 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6916 (initComponentDefaults): Added, changed and removed some
6917 tabbed pane properties.
6919 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6921 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6922 (createContent): Changed menu item name and tab naming.
6924 2006-09-01 Roman Kennke <kennke@aicas.com>
6927 * javax/swing/plaf/basic/BasicHTML.java
6928 (HTMLRootView.getAttributes): Overridden to return null.
6929 (HTMLRootView.getElement): Overridden to return the view's
6932 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6934 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6935 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6936 of accessing variable directly.
6937 (calculateTabAreaWidth): Dito.
6939 2006-08-31 Keith Seitz <keiths@redhat.com>
6941 * include/jvmti.h: Include jvmti_md.h.
6943 2006-08-31 Keith Seitz <keiths@redhat.com>
6945 From Martin Platter <motse@complang.tuwien.ac.at>:
6946 * Makefile.am (include_HEADERS): Include jvmti.h.
6947 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6948 (jvmtiError): Remove superfluous comma after last entry.
6949 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6950 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6951 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6952 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6954 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6955 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6956 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6959 2006-08-31 Roman Kennke <kennke@aicas.com>
6961 * javax/swing/text/BoxView.java
6962 (getWidth): Return the width with insets added, not with one
6963 added and one removed.
6964 (getHeight): Return the height with insets added, not with one
6965 added and one removed.
6966 * javax/swing/text/GlyphView.java
6967 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6968 * javax/swing/text/ParagraphView.java
6969 (Row.getAlignment): Adjust alignment with respect to
6970 the justification attribute.
6971 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6973 * javax/swing/text/html/CSS.java
6974 (getValue): Convert length values.
6975 * javax/swing/text/html/Paragraph.java
6976 (painter): New field.
6977 (paint): Implemented to delegate painting to the BoxPainter too.
6978 (setPropertiesFromAttributes): Implemented to load attributes
6980 * javax/swing/text/html/StyleSheet.java
6981 (BoxPainter.as): Removed field.
6982 (BoxPainter.leftInset): New field.
6983 (BoxPainter.bottomInset): New field.
6984 (BoxPainter.rightInset): New field.
6985 (BoxPainter.topInset): New field.
6986 (BoxPainter.BoxPainter): Implemented to load the insets from
6988 (BoxPainter.getInset): Implemented.
6989 * gnu/javax/swing/text/html/Length.java: New class.
6990 Converts CSS length units to usable values.
6992 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6994 * configure.ac: Add check for gethostbyname_r.
6995 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6996 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6997 SOCKET_NOSIGNAL according to the configure check.
6998 (cpnet_send): Use SOCKET_NOSIGNAL.
6999 (cpnet_sendTo): Likewise.
7000 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7002 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7005 * lib/Makefile.am (cssfiles): Add new rule to install css files.
7007 2006-08-31 Roman Kennke <kennke@aicas.com>
7009 * javax/swing/JEditorPane.java
7010 (getPreferredSize): Replace preferred size with minimum
7011 UI size only if the scrollable does _not_ track the viewport
7012 size and only if the viewport's size is smaller than the
7014 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7016 * javax/swing/plaf/basic/BasicTextUI.java
7017 (getPreferredSize): Read-lock the document to avoid
7018 concurrency problems.
7019 (getMaximumSize): Return maximum size of the view.
7020 Read-lock the document to avoid concurrency problems.
7021 (getMinimumSize): Return minimum size of the view.
7022 Read-lock the document to avoid concurrency problems.
7024 2006-08-31 Gary Benson <gbenson@redhat.com>
7026 * java/net/SocketPermission.java
7027 (maybeBracketIPv6Address): Renamed to processHostport.
7028 (processHostport): Also translate "" to "localhost".
7029 (setHostPort): Remove special cases for empty hostport and for
7030 extra colons in hostport (processHostport handles these now).
7032 2006-08-31 Mark Wielaard <mark@klomp.org>
7034 * javax/swing/text/ZoneView.java (Zone): Make static class.
7035 Constructor takes axis parameter.
7036 (createZone): Create Zone with getAxis() as major axis.
7038 2006-08-30 Roman Kennke <kennke@aicas.com>
7040 * javax/swing/text/ZoneView.java
7041 (loadChildren): Implemented.
7042 (getViewIndexAtPosition): Implemented.
7043 (checkZoneAt): New helper method.
7044 (splitZone): New helper method.
7045 (getPreferredZoneEnd): New helper method.
7047 2006-08-30 Roman Kennke <kennke@aicas.com>
7049 * javax/swing/text/ZoneView.java: New class.
7051 2006-08-30 Roman Kennke <kennke@aicas.com>
7053 * javax/swing/JMenu.java
7054 (getMenu): Removed unneeded cast.
7055 (getPopupMenuOrigin): Made positioning algorithm better respect
7057 (setMenuLocation): Also set the location on the popup if it's
7059 (setModel): Use menuChangeListener so that we don't override
7060 the changeListener field from AbstractButton.
7061 (setPopupMenuVisible): Use custom location if set, otherwise
7062 fallback to getPopupMenuOrigin().
7064 2006-08-29 Roman Kennke <kennke@aicas.com>
7066 * javax/swing/text/InternationalFormatter.java
7067 (stringToValue): Fixed bounds check.
7068 * javax/swing/text/MaskFormatter.java
7069 (MaskFormatter): Don't explicitly set allosInvalid property.
7070 (convertStringToValue): New helper method.
7071 (convertValueToString): New helper method.
7072 (convertValue): Removed. Replaced by the 2 convert* methods
7074 (getPadCharAt): Removed.
7075 (isCharValid): Removed.
7077 (stringToValue): Fixed stringToValue conversion.
7078 (stripLiterals): Removed.
7079 (valueToString): Fixed valueToString conversion.
7080 * javax/swing/text/DefaultFormatter.java
7081 (DefaultFormatter): Default to commitsOnValidEdit = false.
7083 2006-08-29 Roman Kennke <kennke@aicas.com>
7085 * javax/swing/text/TextAction.java
7086 (getTextComponent): Check event for null and return null in
7088 (augmentList): Augment Actions based on their names.
7089 * javax/swing/text/DefaultEditorKit.java
7090 (BeginAction.actionPerformed): Check target for null.
7091 (BeginLineAction.actionPerformed): Check target for null.
7092 (CopyAction.actionPerformed): Check target for null.
7093 (CutAction.actionPerformed): Check target for null.
7094 (EndAction.actionPerformed): Check target for null.
7095 (EndLineAction.actionPerformed): Check target for null.
7096 (InsertBreakAction.actionPerformed): Check target for null.
7097 (InsertTabAction.actionPerformed): Check target for null.
7098 (PasteAction.actionPerformed): Check target for null.
7099 (SelectAllAction.actionPerformed): Check target for null.
7100 (SelectionBeginAction.actionPerformed): Check target for null.
7101 (SelectionBeginLineAction.actionPerformed): Check target for null.
7102 (SelectionEndAction.actionPerformed): Check target for null.
7103 (SelectionEndLineAction.actionPerformed): Check target for null.
7104 (SelectLineAction.actionPerformed): Check target for null.
7105 (SelectWordAction.actionPerformed): Check target for null.
7107 2006-08-29 Roman Kennke <kennke@aicas.com>
7109 * javax/swing/plaf/basic/BasicTextUI.java
7110 (FocusHandler): New class. This is moved from the anonymous
7111 inner focus listener class to a static member class, and
7112 is now shared between components.
7113 (DocumentHandler): This class is combined with the PropertyHandler
7114 into the Handler class.
7115 (PropertyChangeHandler): This class is combined with the
7116 DocumentHandler into the Handler class.
7117 (Handler): New class. This combines the Property and Document
7118 handler into one class.
7119 (RootView.changedUpdate): Only forward if real view != null.
7120 (RootView.insertUpdate): Only forward if real view != null.
7121 (RootView.removeUpdate): Only forward if real view != null.
7122 (documentHandler): Removed field and replaced by handler.
7123 (focuslistener): Made field static and renamed to focusListener.
7124 (handler): New field.
7125 (kit): Lazily initialize field.
7126 (rootView): Lazily initialize field.
7127 (updateHandler): Removed and replaced by handler.
7128 (getEditorKit): Lazily instantiate field.
7129 (installDefaults): Don't set margin twice. Install correct
7130 property for disabledTextColor. Moved caret and highlighter
7131 initialization to installFixedDefaults.
7132 (installFixedDefaults): New method. Installs defaults that
7133 can't be overridden by subclasses.
7134 (installListeners): Only install focus handler when new
7135 system property gnu.swing.text.no-xlike-clipboard is not set.
7136 Lazily initialize focus handler.
7137 (installUI): Lazily initialize rootView. Install handler
7138 both for property and document changes.
7139 (uninstallDefaults): Uninstall the UI defaults.
7140 (uninstallFixedDefaults): New method. Uninstalls the fixed
7142 (installListeners): Only uninstall focus handler when not null.
7143 (uninstallUI): Uninstall property and document listener here.
7145 2006-08-29 Gary Benson <gbenson@redhat.com>
7147 * java/net/SocketPermission.java
7148 (maybeBracketIPv6Address): New method.
7149 (<init>): Pass the hostport argument through the above.
7151 * java/net/NetworkInterface.java (getInetAddresses):
7152 Don't bracket IPv6 addresses.
7154 2006-08-28 Roman Kennke <kennke@aicas.com>
7156 * javax/swing/text/BoxView.java
7157 (calculateMinorAxisRequirements): Initialize max size
7158 with Integer.MAX_VALUE.
7159 * javax/swing/text/Utilities.java
7160 (getBreakLocation): For simple chars, scan the text directly.
7161 * javax/swing/text/WrappedPlainView.java
7162 (tabBase): New field.
7163 (tabSize): New field.
7164 (calculateBreakPosition): Use Utilities. Fixed for correct
7166 (changedUpdate): Update children directly.
7167 (insertUpdate): Update children directly. Notify children.
7168 (removeUpdate): Update children directly. Notify children.
7169 (updateChildren): New helper method.
7170 (nextTabStop): Fixed to return correct results.
7171 (paint): Update tabBase.
7172 (updateMetrics): Update tab size.
7174 2006-08-28 Roman Kennke <kennke@aicas.com>
7176 * javax/swing/text/Position.java
7177 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7178 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7180 2006-08-28 Roman Kennke <kennke@aicas.com>
7182 * javax/swing/text/View.java
7183 (height): Removed unneeded field.
7184 (width): Removed unneeded field.
7185 (getBreakWeight): Return GoodBreakWeight when pos is after
7187 (getToolTipText): Check view index more carefully. Avoid
7189 (insertUpdate): Only execute method body if view count > 0.
7190 When updateChildren returns false, clear the ec variable.
7191 (updateChildren): Added null checks.
7192 (viewToModel): Initialize bias array correctly.
7193 * javax/swing/text/CompositeView.java
7194 (children): Made private.
7195 (numChildren): New field.
7196 (loadChildren): Check factory for null. Don't load children
7197 when factory is null.
7198 (replace): Removed null check. Nullify removed children. Made
7199 growing the array more efficient.
7200 (getViewCount): Return numChildren rather then the real array
7202 * javax/swing/text/BoxView.java
7203 (getViewAtPoint): Fixed algorithm for finding the view.
7204 (replace): Made array growing more efficient.
7205 (replaceLayoutArray): New helper method for growing/patching
7207 (viewToModel): Make sure we have a valid layout.
7209 2006-08-28 Tania Bento <tbento@redhat.com>
7211 * java/awt/MenuShortcut.java
7212 (MenuShortcut (int, boolean)): Set keyName.
7213 (toString): Modified string output.
7214 (setKeyName): New private method.
7216 2006-08-28 Roman Kennke <kennke@aicas.com>
7218 * javax/swing/text/GapContent.java
7219 (Mark.getOffset): Made assert less strict, include boundary.
7220 (search): Made package private to avoid accessor method.
7222 2006-08-28 Roman Kennke <kennke@aicas.com>
7224 * javax/swing/text/StringContent.java
7225 (InsertUndo.positions): New field.
7226 (InsertUndo.redo): Update the undo positions.
7227 (InsertUndo.undo): Fetch the undo positions.
7228 (Mark): New class. Layer of indirection to allow Positions
7229 to be GC'ed while we still hold references to the Mark.
7230 (RemoveUndo.len): New field.
7231 (RemoveUndo.positions): New field.
7232 (RemoveUndo.RemoveUndo): Fetch undo positions.
7233 (RemoveUndo.redo): Re-fetch positions and string.
7234 (RemoveUndo.undo): Update undo positions.
7235 (StickyPosition.mark): New field.
7236 (StickyPosition.offset): Removed field.
7237 (StickyPosition.StickyPosition): Create new Mark. Register
7238 Position in queueOfDeath. Update reference count on mark.
7239 (StickyPosition.getOffset): Return offset stored in mark.
7240 (StickyPosition.setOffset): Removed unneeded method.
7241 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7243 (marks): New field. Stores the marks.
7244 (positions): Removed field.
7245 (queueOfDeath): New field. Used for GCing the positions.
7246 (StringContent): Initialize queueOfDeath.
7247 (createPosition): Lazily create marks vector.
7248 (garbageCollect): New helper method. Collects positions
7249 to be GCed and updates their marks.
7250 (getChars): Fixed bounds check.
7251 (getPositionsInRange): When v == null, create new Vector,
7252 otherwise use v. Store UndoPosRefs in vector.
7253 (getString): Added comment about bug in RI.
7254 (insertString): Use new helper method for replacing the array.
7255 Correctly update positions.
7256 (length): Removed this qualifier.
7257 (remove): Use new helper method for replacing the array.
7258 Correctly update positions.
7259 (replace): New helper method for growing or patching the array.
7260 (updateUndoPositions): Implemented. Updates the positions
7261 for undo/redo operations.
7263 2006-08-27 Roman Kennke <kennke@aicas.com>
7265 * javax/swing/text/StyleContext.java
7266 (NamedStyle.attributes): Made field transient.
7267 (NamedStyle.changeEvent): Made field transient.
7268 (NamedStyle.name): Removed field. The name is stored as
7270 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7271 storing the name and check for null name and resolveParent.
7272 Don't initialize changeEvent.
7273 (NamedStyle.copyAttributes): Return a new NamedStyle,
7274 rather than a plain copy of the attributes field.
7275 (NamedStyle.fireStateChange): Lazily create changeEvent
7277 (NamedStyle.getName): Fetch name from attributes.
7278 (NamedStyle.setName): Store name from attributes.
7279 (NamedStyle.readObject): Implemented for correct
7281 (NamedStyle.writeObject): Implemented for correct
7283 (NamedStyle.setResolveParent): When new parent is null,
7284 remove resolveParent attribute. Use addAttribute() method
7285 rather than StyleContext addAttribute().
7286 (NamedStyle.toString): Fixed to produce output equal to the
7288 (SmallAttributeSet.resolveParent): New field.
7289 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7290 the resolveParent field correctly.
7291 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7292 array but store it directly. Update
7293 the resolveParent field correctly.
7294 (SmallAttributeSet.clone): Return this as the object is
7296 (SmallAttributeSet.containsAttributes): Make sure that keys
7297 and values are the same.
7298 (SmallAttributeSet.containsAttribute): Make sure that keys
7299 and values are the same.
7300 (SmallAttributeSet.copyAttributes): Return this as the object is
7302 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7303 are equal if they have the same number of attributes and
7304 one contains the other.
7305 (SmallAttributeSet.getAttribute): Improved lookup of
7307 (SmallAttributeSet.getResolveParent): Improved lookup of
7309 (SmallAttributeSet.isEqual): When comparing object is a
7310 SmallAttributeSet, consider them equal only if they are the
7312 (SmallAttributeSet.toString): Fixed to produce output equal to the
7314 (attributeSetPool): New field.
7315 (defaultStyleContext): Initialize lazily.
7316 (defaultStyle): Removed field. This is stored in the style context
7318 (listenerList): Removed field. The NamedStyle stores the
7320 (readAttributeKeys): New static field. Used for looking up
7321 the serialization mappings when reading.
7322 (search): New field. Used as search key.
7323 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7324 (styles): New field. Stores the styles and listeners.
7325 (styleTable): Removed field. Replaced by styles field.
7326 (writeAttributeKeys): New static field. Used for looking up
7327 the serialization mappings when writing.
7328 (static_initializer): Register mappings for all keys in
7330 (StyleContext): Initialize styles correctly.
7331 (addAttributes): Fixed caching of immutable attributes.
7332 (addAttribute): Fixed caching of immutable attributes.
7333 (removeAttributes): Fixed caching of immutable attributes.
7334 (removeAttribute): Fixed caching of immutable attributes.
7335 (addChangeListener): Add listener to styles field.
7336 (removeChangeListener): Remove listener from styles field.
7337 (getChangeListeners): Fetch listeners from styles field.
7338 (addStyle): Add style to styles field.
7339 (cleanupPool): New method.
7340 (getDefaultStyleContext): Lazily create context.
7341 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7342 (getMutableAttributeSet): New helper method. Used for
7344 (getStaticAttribute): Fetch key from readAttributeKeys.
7345 (getStyleNames): Return names from styles field.
7346 (getStyle): Lookup style in styles field.
7347 (removeStyle): Remove style from styles field.
7348 (readAttributeSet): Fixed deserialization.
7349 (writeAttributeSet): Fixed serialization.
7350 (readObject): Fixed deserialization.
7351 (writeObject): Fixed serialization.
7352 (reclaim): Simply cleanup the pool.
7353 (registerStaticAttributeKey): Store mapping in both ways.
7354 (searchImmutableSet): New helper method for caching.
7355 (toString): Fixed for output like the RI.
7356 * javax/swing/text/StyleConstants.java
7357 (keys): New field. Stores all known keys.
7358 (StyleConstants): Store created key in keys list.
7359 * javax/swing/event/EventListenerList.java
7360 (readObject): Fixed deserialization.
7361 (writeObject): Fixed serialization.
7363 2006-08-25 Roman Kennke <kennke@aicas.com>
7365 * javax/swing/text/CompositeView.java
7366 (insets): Removed. Replaced by single short fields.
7367 (top): New field. Replaces insets.
7368 (bottom): New field. Replaces insets.
7369 (left): New field. Replaces insets.
7370 (right): New field. Replaces insets.
7371 (CompositeView): Initialize insets fields.
7372 (createDefaultLocation): Removed unneeded method.
7373 (getBottomInset): Return field directly.
7374 (getTopInset): Return field directly.
7375 (getLeftInset): Return field directly.
7376 (getRightInset): Return field directly.
7377 (getInsideAllocation): Adjusted to work on new insets fields.
7378 (getViewIndex): Fixed check.
7379 (loadChildren): Don't replace the old children.
7380 (replace): Make sure that there is an array to operate on.
7381 Only set parent to null, when it is this View.
7382 (setInsets): Adjusted to work with new insets fields.
7383 (setParagraphInsets): Fixed to pull insets directly from
7386 2006-08-25 Roman Kennke <kennke@aicas.com>
7388 * javax/swing/text/ComponentView.java
7389 (Interceptor): New inner helper class. Used to propagate
7390 invalidate requests and cache component layout sizes.
7391 (interceptor): New field.
7392 (getAlignment): Fetch alignment from interceptor container.
7393 (getComponent): Don't create component here. This is done
7395 (getMaximumSpan): Fetch layout info from interceptor. Check
7397 (getMinimumSpan): Fetch layout info from interceptor. Check
7399 (getPreferredSpan): Fetch layout info from interceptor. Check
7401 (modelToView): Fixed model to view mapping.
7402 (viewToModel): Fixed view to model mapping.
7403 (paint): Check for null. Set bounds on interceptor rather
7405 (setParentImpl): Install interceptor between component
7406 and hosting container.
7407 (setParent): Call super.setParent() immediately.
7409 2006-08-25 Roman Kennke <kennke@aicas.com>
7411 * javax/swing/text/LabelView.java
7412 (setPropertiesFromAttributes): Only set background when
7413 the corresponding attribute is actually defined, otherwise
7414 set to null, as the StyleConstants would return black.
7415 * javax/swing/text/DefaultStyledDocument.java
7416 (ElementBuffer.documentEvent): Removed obsolete field.
7417 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7418 to correctly update the element structure.
7419 (ElementBuffer.insertContentTag): Removed unused statement.
7420 (ElementBuffer.recreateAfterFracture): Removed
7421 unused obsolete method.
7422 (setCharacterAttributes): Removed unused statement.
7424 2006-08-25 Roman Kennke <kennke@aicas.com>
7426 * examples/gnu/classpath/examples/swing/Demo.java
7427 (LaterMain.run): Removed unused local variable.
7428 (Demo): Don't put desktop in scrollpane.
7429 (addChildren): Removed unused method.
7430 (mkButtonBar): Added HTML demo.
7431 (mkMenuBar): Added HTML demo.
7432 (mkPanel): Removed unused method.
7433 (mkScrollPane): Removed unused method.
7434 (mkTree): Removed unused method.
7435 (valign2str): Removed unused method.
7436 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7437 Initialize text field with some HTML that already works.
7438 (DEBUG): New field. Set to true for debugging output.
7439 (createContent): Dump element tree after parsing.
7441 2006-08-25 Roman Kennke <kennke@aicas.com>
7443 * javax/swing/text/html/CSS.java
7444 (getValue): Added color value conversion.
7445 * javax/swing/text/html/HTMLDocument.java
7446 (HTMLReader.ConvertAction): New class, converts HTML style tags
7448 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7449 * javax/swing/text/html/InlineView.java
7450 (setPropertiesFromAttributes): Implemented to fetch
7451 CSS character attributes.
7452 * javax/swing/text/html/StyleSheet.java
7453 (addCSSAttribute): Convert value.
7454 (getBackground): Implemented to fetch CSS background color
7456 (getForeground): Implemented to fetch CSS color
7458 (getFont): Adjust font size for superscript and subscript.
7459 (translateHTMLToCSS): Rudimentary implementation that
7460 copies the original attributes, so that any CSS attributes in
7461 there are preserved.
7462 (stringToColor): Use CSSColor for conversion.
7463 * gnu/javax/swing/text/html/css/CSSColor.java:
7464 New class. Converts CSS color values to RGB color values.
7465 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7466 Removed. This is more or less replaced by CSSColor and the
7467 ConvertAction in HTMLReader.
7469 2006-08-25 Roman Kennke <kennke@aicas.com>
7471 * javax/swing/text/BoxView.java
7472 (childReqs): Removed obsolete field.
7473 (baselineLayout): Reimplemented for correct baseline layout.
7474 (baselineRequirements): Reimplemented for correct baseline
7476 (updateChildRequirements): Removed obsolete method.
7477 * javax/swing/text/GlyphView.java
7478 (DefaultGlyphPainter.getSpan): Removed unused statement.
7479 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7480 specially. The subscript/superscript layout is performed
7481 via the alignment, the font is supplied by the StyleContext.
7482 (breakView): Removed unused statements.
7483 (getAlignment): Adjust alignment according to the
7484 superscript/subscript setting.
7485 (getFont): Reimplemented to fetch the font from the style
7486 context, or from the document if the stylecontext is not
7488 (getPreferredSpan): Adjust span for superscript. Use switch
7490 * javax/swing/text/LabelView.java
7491 (setPropertiesFromAttributes): Fetch background and foreground
7492 from document / style context.
7493 (isSubscript): Resync properties if needed.
7494 * javax/swing/text/ParagraphView.java
7495 (Row.calculateMinorAxisRequirements): Overridden to perform
7497 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7499 2006-08-24 Roman Kennke <kennke@aicas.com>
7501 * javax/swing/text/Utilities.java
7502 (BUF_LENGTH): Removed unused field.
7503 (drawTabbedText): Removed unneeded cast.
7504 (getBreakLocation): Removed unneeded cast.
7505 Fixed offset to account for Segments not starting at 0.
7507 2006-08-24 Roman Kennke <kennke@aicas.com>
7509 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7510 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7511 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7512 (ScrollingPane.updateUI): Likewise.
7513 (calculateTabWidth): Rewritten to correctly and efficiently
7514 layout the tab width.
7515 (layoutLabel): Call SwingUtilities method with the tabPane
7517 (paintContentBorderLeftEdge): Removed unused statement.
7518 (paintContentBorderRightEdge): Removed unused statement.
7519 (paintContentBorder): Removed unused statement.
7521 2006-08-24 Roman Kennke <kennke@aicas.com>
7523 * javax/swing/plaf/basic/BasicTextUI.java
7524 (RootView.getAttributes): Overridden to return null,
7525 as the RootView has no parent.
7527 2006-08-24 Roman Kennke <kennke@aicas.com>
7529 * javax/swing/text/html/CSSParser.java: Removed.
7530 * javax/swing/text/html/CSS.java
7531 (getValue): New helper method. Returns special converter
7532 instances for certain kinds of property values.
7533 * javax/swing/text/html/HTMLDocument.java
7534 (HTMLReader.CharacterAction.start): Don't translate tags
7535 here. Instead, store the attributes directly with the tag
7537 (content): Removed field. The Content object is handled
7538 by AbstractDocument.
7539 (styleSheet): Removed field. The styleSheet is the styleContext
7540 of this document and handled by the DefaultStyledDocument already.
7541 (HTMLDocument(Content,StyleSheet): Simply call super here.
7542 The super classes already handle the content and styleContext.
7543 (HTMLDocument()): Call this() with a default GapContent and
7545 (getStyleSheet): Return the styleContext here.
7546 (insertUpdate): New method. Overridden to add the
7547 CONTENT dummy tag to the element's attributes.
7548 (setBase): Set the base on the styleContext.
7549 * javax/swing/text/html/HTMLEditorKit.java
7550 (styleContext): Removed unneeded field.
7551 (styleSheet): Made field private.
7552 (HTMLEditorKit): Do nothing here. The StyleSheet is
7553 created lazily in getStyleSheet(). A styleContext is not
7555 (getStyleSheet): Create StyleSheet correctly.
7556 (insertHTML): Removed unneeded cast.
7557 * javax/swing/text/html/InlineView.java
7558 (attributes): New field.
7559 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7560 (getAttributes): Implemented to fetch the attributes from
7562 * javax/swing/text/html/MultiAttributeSet.java: New class.
7563 Multiplexes between several AttributeSets.
7564 * javax/swing/text/html/MultiStyle.java: New class.
7565 Multiplexes between several Styles.
7566 * javax/swing/text/html/ParagraphView.java
7567 (attributes): New field.
7568 (getAttributes): Implemented to fetch the attributes from
7570 * javax/swing/text/html/StyleSheet.java
7571 (CssParser): Removed inner class.
7572 (CSSStyle): New inner class. Represents a style defined
7574 (CSSStyleSheetParserCallback): New class, for parsing
7576 (css): New field. Stores the CSS rules.
7577 (resolvedStyles): New field. Stores resolved styles.
7578 (StyleSheet): Initialize resolvedStyles map.
7579 (addRule): Removed bogus impl.
7580 (getFont): Implemented to fetch font, based on CSS rules.
7581 (getResolvedStyle): New helper method. Looks up resolved
7582 styles, and resolves a style if necessary.
7583 (resolveStyle): New pair of helper methods. Resolves
7585 (getRule(String)): Provide rudimentary implementation.
7586 (getRule(Tag,Element)): Implemented.
7587 (getViewAttributes): Implemented.
7588 (loadRules): Implemented.
7589 (translateHTMLToCSS): Tagged as not implemented.
7590 * javax/swing/text/html/ViewAttributeSet.java: New class.
7592 2006-08-24 Roman Kennke <kennke@aicas.com>
7594 * javax/swing/text/FlowView.java:
7595 (LogicalView.getAttributes): New method. Overrides super
7596 impl to return the attributes of the FlowView instance.
7597 * javax/swing/text/LabelView.java:
7598 (setPropertiesFromAttributes): Fetch attributes from
7599 View, rather then from the Element. (In the HTML
7600 package the getAttributes() method is overridden to
7601 return different attributes). Fetch font from the StyledDocument.
7603 2006-08-24 Roman Kennke <kennke@aicas.com>
7605 * javax/swing/text/DefaultEditorKit.java:
7606 (DefaultKeyTypedAction.actionPerform): Also filter
7607 ALT and CTRL modifiers.
7609 2006-08-24 Roman Kennke <kennke@aicas.com>
7611 * gnu/javax/swing/text/html/css/FontSize.java,
7612 * gnu/javax/swing/text/html/css/FontStyle.java,
7613 * gnu/javax/swing/text/html/css/FontWeight.java:
7614 New classes. Used to convert CSS font attributes to AWT/Swing
7617 2006-08-24 Francis Kung <fkung@redhat.com>
7618 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7619 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7620 (srccs, dstcs, rasterValid): Variables removed.
7621 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7622 (copyRaster): Check for null rendering hints
7623 (createCompatibleColorModel): New private method.
7624 (createCompatibleDestImage): Re-implemented.
7625 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7626 (createCompatibleDestRaster(Raster)): Re-implemented.
7627 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7628 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7629 (getPoint2D): Clean up formatting.
7630 * java/awt/image/ComponentColorModel.java
7631 (constructor): use findBits method instead of passing null.
7632 (findBits): New method.
7634 2006-08-24 Gary Benson <gbenson@redhat.com>
7636 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7639 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7641 * java/lang/ref/Reference.java
7642 (queue, nextOnQueue): Made volatile.
7643 (enqueue): Made thread safe.
7644 * java/lang/ref/ReferenceQueue.java
7646 (poll): Removed synchronized.
7647 (enqueue): Changed to synchronize on lock object, to update Reference
7648 state and return success status.
7649 (dequeue, remove): Synchronize on lock object.
7651 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7653 * java/security/SecureClassLoader.java
7654 (protectionDomainCache): Changed to HashMap.
7655 (SecureClassLoader): Removed redundant security check.
7656 (defineClass(String,byte[],int,int,CodeSource): Moved
7657 protection domain lookup/construction to new method.
7658 (defineClass(String,ByteBuffer,CodeSource): New method.
7659 (getProtectionDomain): New method.
7661 2006-08-23 Roman Kennke <kennke@aicas.com>
7663 * javax/swing/JComponent.java
7664 (isRepainting): Made package private.
7665 (paintChild): New field.
7666 (findOpaqueParent): Removed method. This is now in
7668 (findOverlapFreeParent): Removed method. This is now
7669 in paintImmediately2().
7670 (findPaintRoot): Removed method. This is now
7671 in paintImmediately2().
7672 (isCompletelyObscured): Changed to take rectangle as single
7674 (isPaintingDoubleBuffered): Removed method. This is now
7675 in paintImmediately2().
7676 (isPartiallyObscured): New helper method.
7677 (onTop): New helper method for optimization.
7678 (paintChildren): Paint only to specific child when
7679 requested like this from paintImmediately2().
7680 (paintDoubleBuffered): Changed to take rectangle as single int
7682 (paintImmediately2): Changed to take rectangle as single int
7683 arguments. Optimized determination of paint root.
7684 (paintImmediately(Rectangle)): Change to delegate to
7685 paintImmediately(int,int,int,int).
7686 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7687 and start painting there.
7688 (paint): Call paintDoubleBuffered() with int arguments. Only
7689 paint component, when not completely occupied by opaque child.
7690 (processKeyBinding): Removed unnecessary cast.
7691 (isOccupiedByChild): New helper method.
7692 * javax/swing/RepaintManager.java
7693 (repaintUnderway): Removed obsolete field.
7694 (commitRequests): Removed obsolete field.
7695 (RepaintManager): Removed initialization of obsolete fields.
7696 (addDirtyRegion): Removed unused statement.
7697 (commitBuffer): Changed to take plain ints as argument.
7698 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7699 Compute offsets in place, rather than using SwingUtilities.
7700 (paintDirtyRegions): Removed unused field.
7701 * javax/swing/JMenuItem.java
7702 (onTop): Return true when not descendant of JInternalFrame.
7703 * javax/swing/JPopupMenu.java
7704 (onTop): Return true.
7705 * javax/swing/JToolTip.java
7706 (onTop): Return true.
7707 * javax/swing/JViewport.java
7708 (paintImmediately2): Change signature to match the
7709 corresponding JComponent method.
7711 2006-08-23 Tania Bento <tbento@redhat.com>
7713 * java/awt/Color.java
7714 (brighter): Modified algorithm to correctly determine the
7715 new brighter colour.
7717 2006-08-23 Roman Kennke <kennke@aicas.com>
7719 * java/awt/Container.java
7720 (maxSize): Removed field. This is already declared in Component.
7721 (validateTree): Check for ContainerPeer. Don't addNotify here.
7722 Only validate Component instances if they are invalid.
7724 2006-08-22 Roman Kennke <kennke@aicas.com>
7726 * javax/swing/JComponent.java
7727 (preferredSize): Removed field.
7728 (maximumSize): Removed field.
7729 (minimumSize): Removed field.
7730 (getMaximumSize): Adjusted to delegate to Component, rather
7731 then managing the size in JComponent.
7732 (getMinimumSize): Adjusted to delegate to Component, rather
7733 then managing the size in JComponent.
7734 (getPreferredSize): Adjusted to delegate to Component, rather
7735 then managing the size in JComponent.
7736 (isMaximumSizeSet): Removed.
7737 (isMinimumSizeSet): Removed.
7738 (isPreferredSizeSet): Removed.
7739 (setMaximumSize): Removed.
7740 (setMinimumSize): Removed
7741 (setPreferredSize): Removed.
7743 2006-08-22 Roman Kennke <kennke@aicas.com>
7745 * javax/swing/AbstractButton.java
7746 (ButtonChangeListener.stateChanged): Delegate to combined
7748 (EventHandler): New inner class. Handles all three types
7749 of events on the model.
7750 (eventHandler): New field. Stores the combined event
7752 (AbstractButton): Moved listener initialization to
7754 (createActionListener): Return combined handler.
7755 (createChangeListener): Return combined handler.
7756 (createItemListener): Return combined handler.
7757 (getEventHandler): New helper method for creating the combined
7759 (setModel): Initialize listeners here.
7760 * javax/swing/plaf/basic/BasicButtonListener.java
7761 (ButtonAction): New class. Implements the keyboard action
7763 (checkOpacity): Implemented.
7764 (createDefaultActionMap): New helper method.
7765 (installKeyboardActions): Rewritten to install InputMap
7766 and ActionMap according to 'new' keyboard input method.
7767 (mouseClicked): Commented as no-op.
7768 (mouseDragged): Commented as no-op.
7769 (mouseMoved): Commented as no-op.
7770 (propertyChange): Check for contentAreaFilled change and
7771 update opacity. Pull handling of HTLM in font and text handler.
7772 (stateChanged): Repaint button.
7773 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7774 * javax/swing/plaf/basic/BasicButtonUI.java
7775 (listener): Removed.
7776 (sharedListener): New static field. Stores the shared listener.
7777 (sharedUI): New static field. Stores the shared UI.
7778 (createButtonListener): Return shared instance here.
7779 (createUI): Return shared instance here.
7780 (getButtonListener): New helper method. Looks for the
7781 BasicButtonListener installed on a button and returns it.
7782 (installDefaults): Correctly install rollover property here.
7783 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7784 (installKeyboardActions): Fetch listener with new helper method.
7785 (installListeners): Don't use removed field. Check for null.
7786 (installUI): Added comment about order of method invocations.
7787 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7788 (uninstallKeyboardActions): Fetch listener with new helper method.
7789 (uninstallListeners): Fetch listener with new helper method.
7790 (paintIcon): Paint icon offset when pressed and armed.
7791 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7792 * javax/swing/plaf/metal/MetalButtonUI.java
7793 (sharedUI): New field. Stores the shared UI.
7794 (MetalButtonUI): Don't initialize fields here.
7795 (createButtonListener): Removed method. Use super impl.
7796 (createUI): Return shared instance.
7797 (getDisabledTextColor): Update field here.
7798 (getFocusColor): Update field here.
7799 (getSelectColor): Update field here.
7800 (installDefaults): Don't handle rollover property here.
7801 (uninstallDefaults): Don't handle rollover property here.
7802 (paintButtonPressed): Use accessor method to update the
7805 2006-08-21 Mark Wielaard <mark@klomp.org>
7807 Merge NATIVE_LAYER branch.
7809 2006-08-20 Mark Wielaard <mark@klomp.org>
7811 * doc/tools.texinfo: Add file from trunk.
7812 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7813 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7815 * native/jni/java-lang/java_lang_VMProcess.c
7816 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7817 * native/jni/java-net/java_net_VMInetAddress.c
7818 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7819 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7821 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7823 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7825 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7827 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7829 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7831 * include/java_lang_VMProcess.h: Regenerated.
7833 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7835 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7836 (nativeReceive): Fixed the type of the arrays (use java types).
7837 (nativeSendTo): Force throwing an exception if port is 0.
7839 * native/jni/java-net/javanet.c:
7840 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7842 (_javanet_recvfrom): Likewise.
7843 (_javanet_sendto): Throw a NullPointerException if the socket is
7844 not connected and no address is given.
7846 * native/jni/java-net/javanet.h
7847 (NULL_EXCEPTION): Defined.
7849 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7851 * native/jni/java-net/java_net_VMInetAddress.c
7852 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7855 * native/jni/java-net/javanet.c
7856 (_javanet_accept): Fixed bogus call to TARGET.
7857 (_javanet_create_inetaddress): Fixed address generation. Fixed
7859 (_javanet_bind): set "Reuse address" flag.
7861 * native/jni/native-lib/cpio.c
7862 (cpio_getModificationTime): Fixed type.
7863 (cpio_removeFile): Use rmdir too.
7865 * native/jni/native-lib/cpnet.c
7866 (cpnet_getHostByName): Fixed error detection.
7868 * native/jni/native-lib/cpnet.h
7869 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7871 (cpnet_IPV4AddressToBytes): Fixed types.
7873 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7875 * native/jni/native-lib/cpio.c
7876 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7878 * native/jni/native-lib/cpnet.h:
7879 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7880 messed by signs in jbyte.
7882 * native/jni/native-lib/cpproc.h
7883 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7885 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7887 * native/jni/native-lib/cpnet.c
7888 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7889 (waitForWritable, waitForReadable): New functions.
7890 (socketTimeouts): New static global table to hold timeouts for all
7892 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7893 Added waitForXXXX safeguards to handle socket timeouts.
7895 * native/jni/java-net/javanet.c
7896 (_javanet_accept): Check for the right error value when a timeout
7899 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7901 * native/jni/java-io/Makefile.am,
7902 native/jni/java-lang/Makefile.am,
7903 native/jni/java-net/Makefile.am,
7904 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7906 * native/jni/native-lib/Makefile.am: Added cpproc.c
7908 * native/jni/native-lib/cpio.c: Implemented missing functions for
7911 * native/jni/native-lib/cpnet.c
7912 (cpnet_getHostByName): Fixed address array initialization.
7914 * native/jni/native-lib/cpproc.c: Implemented.
7916 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7918 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7920 * m4/gcc_attribute.m4: New file from ac_archive.
7922 * native/jni/java-net/javanet.c: Adapted to cpnet API
7925 * native/jni/native-lib/cpnet.c: Implemented.
7927 * native/jni/native-lib/cpnet.h
7928 (cpnet_openSocketDatagram,
7929 cpnet_openSocketStream): These calls need an address family now.
7930 (cpnet_IPV4AddressToBytes,
7931 cpnet_bytesToIPV4Address): Convert the address to network order.
7933 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7935 * native/jni/java-io/java_io_VMFile.c,
7936 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7937 native/jni/midi-dssi/dssi_data.h,
7938 native/jni/native-lib/cpio.c,
7939 native/jni/native-lib/cpmath.h: Removed cpmath
7940 dependency. Fixed coding style.
7942 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7944 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7945 dependency. Simplified the JNI code by moving some part into the
7948 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7950 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7952 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7953 errors. Removed any remaining TARGET invocations.
7955 * native/jni/java-net/javanet.c
7956 (_javanet_create_inetaddress): Removed spurious arr and
7957 octets. Fixed compilation errors.
7959 * native/jni/native-lib/cpnet.h
7960 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7961 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7962 cpnet_isIPV4Address): New functions.
7963 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7966 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7968 * native/jni/java-io/java_io_VMFile.c,
7969 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7970 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7971 native/jni/java-net/javanet.c,
7972 native/jni/java-net/javanet.h: Adapted the VM layer code
7973 to the new native layer.
7975 * native/jni/native-lib/cpnet.h
7976 (cpnet_addMembership,
7977 cpnet_dropMembership,
7978 cpnet_getAvailableBytes): Added the declarations of
7980 (cpnet_newIPV6Address,
7981 cpnet_IPV6AddressToBytes,
7982 cpnet_bytesToIPV6Address): Implemented.
7983 (cpnet_newIPV4Address): Initialize the sin_family field.
7985 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7987 * native/target: Removed.
7989 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7990 Makefile generation.
7992 * native/jni/native-lib/Makefile.am,
7993 native/jni/native-lib/cpnet.h,
7994 native/jni/native-lib/cpnet.c
7995 native/jni/native-lib/cpio.h,
7996 native/jni/native-lib/cpio.c,
7997 native/jni/native-lib/cpmath.h: Imported new native compatibility
8000 2006-08-21 Roman Kennke <kennke@aicas.com>
8002 * gnu/javax/swing/text/html/css/CSSParser.java:
8004 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8006 * gnu/javax/swing/text/html/css/CSSParserException.java:
8008 * gnu/javax/swing/text/html/css/CSSScanner.java:
8009 Adjusted API comments. Made all constants package private.
8010 (EOF): New constant field.
8011 (parseBuffer): Made package private.
8012 (tokenEnd): Made package private.
8013 (CSSScanner): Initialize lookahead buffer with -1.
8014 (main): Print out to System.out rather then System.err.
8015 (nextToken): Push back character after IDENT.
8017 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8019 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8021 2006-08-21 Roman Kennke <kennke@aicas.com>
8023 * gnu/javax/swing/text/html/css/CSSScanner.java
8024 (main): Use buffered input stream.
8025 (nextToken): Removed 65536 workaround. Use int value directly
8026 without cast to char.
8027 (readComment): Use int value directly without cast to char.
8028 Cast to char only when putting the character into the buffer.
8029 (readEscape): Likewise.
8030 (readIdent): Likewise.
8031 (readName): Likewise.
8032 (readNum): Likewise.
8033 (readString): Likewise.
8034 (readWhitespace): Likewise.
8036 2006-08-21 Ingo Proetel <proetel@aicas.com>
8038 * java/io/InputStreamReader.java
8039 (bytesCache): New field.
8040 (cacheLock): New field.
8041 (read(byte[],int,int): Avoid allocations of new byte
8042 array on every call and reuse cached byte array if possible.
8044 2006-08-21 Roman Kennke <kennke@aicas.com>
8046 * gnu/java/net/local/LocalSocketImpl.java
8047 Only load native lib if this is supported by runtime.
8048 * native/jni/java-net/local.c
8049 Include config.h unconditionally.
8050 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8051 Include config.h unconditionally.
8053 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8055 * java/io/ObjectInputStream.java
8056 (objectLookupTable): Changed to be a Vector.
8057 (ObjectInputStream): Initialize objectLookupTable as Vector.
8058 (assignNewHandle): Store Object using handle index rather than
8059 Hashtable, using the new rememberHandle() method.
8060 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8061 with a caching in ObjectStreamClass.
8062 (inputGetObjectStreamClass): Replaced by hierarchy().
8063 (lookupHandle): New method. Looks up an object by it's handle
8065 (parseContent): Avoid creating of Integer objects. Use
8066 hierarchy() method for looking up the class hierarchy.
8067 (processResolution): Use rememberHandle() to store
8068 handle per index, rather than Hashtabling the object.
8070 (rememberHandle): New method.
8071 * java/io/ObjectOutputStream.java
8072 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8073 Hashtable for improved lookup performance.
8074 (ObjectOutputStream): Initialize OIDLookupTable as
8075 ObjectIdentityMap2Int.
8076 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8077 (findHandle): Change to use ObjectIdentityMap2Int.
8078 (getBooleanField): Removed.
8079 (getByteField): Removed.
8080 (getCharField): Removed.
8081 (getDoubleField): Removed.
8082 (getField): Removed.
8083 (getFloatField): Removed.
8084 (getIntField): Removed.
8085 (getLongField): Removed.
8086 (getObjectField): Removed.
8087 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8088 (writeFields(Object,ObjectStreamField)): New helper method.
8089 Use switch rather then if-else cascade.
8090 (writeObject): Use int handle, rather then Integer.
8091 * java/io/ObjectStreamClass.java
8092 (hierarchy): New field. Caches the class hierarchy.
8093 (methodCache): New field. Caches methods.
8094 (readObjectSignature): New field. Stores the read signature.
8095 (uidCache): New field. Caches UIDs.
8096 (writeObjectSignature): New field. Stores the write signature.
8097 (cacheMethods): Cache methods in methodCache.
8098 (calculateClassID): Outsourced from getClassUID()
8099 for computing the UIDs.
8100 (getClassUIDFromField): Outsourced from getClassUID() for
8101 fetching the UID from the class field.
8102 (getClassUID): Use cached uid if possible. Use new helper
8103 methods for fetching the UID from the field or computing
8105 (getObjectStreamClasses): Removed. Replaced by more
8106 efficient hierarchy() method, that also caches the result.
8107 (hierarchy): Replaces getObjectStreamClasses() for caching
8109 (loadedByBootOrApplicationClassLoader): New helper method.
8110 (setClass): Invalidate hierarchy cache.
8111 (setSuperclass): Invalidate hierarchy cache.
8112 * java/io/ObjectStreamField.java
8113 (field): Made field package private for access from other
8115 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8116 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8117 hashtable for mapping objects to ints.
8119 2006-08-21 Roman Kennke <kennke@aicas.com>
8122 (getAbsolutePath): Fetch absolute path from
8123 VMFile.getAbsolutePath(). Moved actual impl to there.
8124 (isAbsolute): Let VMFile determine the absoluteness.
8125 (toURL): Let VMFile convert the filename.
8126 * vm/reference/java/io/VMFile.java
8127 (getAbsolutePath): New method.
8128 (isAbsolute): New method.
8129 (toURL): New method.
8131 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8133 * NEWS: Added note about updated VM interface.
8135 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8137 * java/lang/management/ManagementFactory.java:
8138 Updated documentation.
8140 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8143 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8145 * gnu/java/util/regex/CharIndexedCharSequence.java,
8146 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8148 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8149 (match): call the new method setHitEnd of the input,
8150 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8151 Some optimization commented out, Use CharIndexed#move1 instead of move.
8152 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8153 * gnu/java/util/regex/REToken.java(match): The method body has been
8154 moved to an internal private method, (matchFake): New method,
8155 (setHitEnd): New method.
8156 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8157 if the match is not complete, (matchOneString): Count the number of
8158 characters which matched the pattern.
8159 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8160 (setFake): New method, (match): Call super.match or super.matchFake.
8161 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8162 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8163 setHitEnd of the input,
8164 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8165 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8166 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8168 2006-08-18 Tom Tromey <tromey@redhat.com>
8170 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8171 the 'int', not the cast char.
8173 2006-08-18 Roger Sayle <roger@eyesopen.com>
8175 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8176 which isn't available in all shells.
8178 2006-08-18 Roger Sayle <roger@eyesopen.com>
8180 * lib/Makefile.am (resources): Fix some shell portability issues.
8182 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8184 * configure.ac (tool-wrappers): Check for ltdl support when tool
8185 wrapper binaries are enabled.
8186 * tools/Makefile.am (LIBJVM): Remove variable.
8187 (AM_CPPFLAGS): Add LIBJVM define.
8188 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8189 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8190 gjavah_LDFLAGS): Remove variables.
8191 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8193 2006-08-18 Tom Tromey <tromey@redhat.com>
8195 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8197 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8199 (readEntries): Likewise.
8201 2006-08-17 Roman Kennke <kennke@aicas.com>
8203 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8204 (layoutLabel): Reset the text and icon rectangles.
8206 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8209 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8210 Transform gappletviewer name using program_transform_name.
8212 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8214 * javax/swing/filechooser/FileSystemView.java
8215 (getFileSystemView): Always return UnixFileSystemView, since
8216 that's the only one we got. Marked with NotImplementedException.
8217 * javax/swing/plaf/basic/BasicFileChooserUI.java
8218 (mouseClicked, installUI): Don't parse path by hand.
8220 2006-08-17 Roman Kennke <kennke@aicas.com>
8222 * javax/swing/JComponent.java
8223 (scrollRectToVisible): Handle intermediate non-JComponents
8226 2006-08-17 Roman Kennke <kennke@aicas.com>
8228 * javax/swing/RepaintManager.java
8229 (blitBuffer): Removed. This is now done in commitBuffer().
8230 (commitBuffer): Always paint on the root window or applet.
8231 No need to look for intermediate heavyweights. Optimized
8232 rectangle translation.
8233 (commitRemainingBuffers): Removed. Not needed anymore.
8234 (getHeavyweightParent): Removed. Not needed anymore.
8235 (getOffscreenBuffer): Fetch offscreen image from the
8236 actual root component.
8237 (paintDirtyRegions): Don't call commitRemainingBuffers().
8239 2006-08-17 Roman Kennke <kennke@aicas.com>
8241 * javax/swing/SwingUtilities.java
8242 (clipString): New helper method for trimming strings.
8243 (layoutCompoundLabelImpl): Fixed algorithm to conform
8244 testsuites. Trim text if it's too long. Avoid creating
8245 new Rectangles. Optimized for performance.
8246 (layoutCompoundLabel): Use switch rather then if-else-chain.
8247 * javax/swing/plaf/basic/BasicButtonUI.java
8251 (paint): Reset and use cached rectangles. Only call paintIcon()
8252 if icon is not null. Don't call paintButtonPressed() when
8253 button is selected, only when it is both armed and pressed.
8254 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8255 (getPreferredButtonSize): Reused cached rectangles rather
8256 then creating new ones. Don't create new Rectangle via
8258 * javax/swing/plaf/basic/BasicLabelUI.java
8259 (getPreferredSize): Correctly reset cached rectangles. Especially
8260 the view rect must have a big size to give it room for layouting.
8261 Short cut layout when text == null.
8262 (paint): Correctly reset cached rectangles.
8263 * javax/swing/plaf/basic/BasicMenuItemUI.java
8264 (resetRectangles): New helper method.
8265 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8266 (paintMenuItem): Correctly reset the cached rectangles.
8267 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8268 (getPreferredSize): Use cached Rectangle objects and initialize
8270 (paint): Use cached Rectangle objects and initialize
8273 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8275 * java/util/Calendar.java: API doc additions.
8277 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8279 * javax/swing/DefaultButtonModel.java:
8280 (setRollover): Simplified statement.
8282 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8284 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8285 (loadClass): Rewritten to use getClassLoader.
8286 (loadProxyClass): Implemented.
8287 (getClassLoader): Fixed support for null or empty codebase.
8288 * gnu/java/rmi/server/RMIObjectInputStream.java
8289 (resolveClass): Use user class loader as default class loader.
8290 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8291 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8292 (loadClass): Simplified and use user class loader instead of
8293 context class loader as default.
8294 * java/io/ObjectInputStream.java
8295 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8296 * vm/reference/gnu/classpath/VMStackWalker.java
8297 (firstNonNullClassLoader): New method.
8298 * vm/reference/java/io/VMObjectInputStream.java
8299 (loaderAction, currentClassLoader): Removed.
8301 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8303 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8304 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8305 by current scroll offset, added method documention.
8306 (getTabBounds(int, Rectangle)): Added method documentation.
8307 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8308 (paintContentBorderLeftEdge): Changed y to 1.
8310 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8312 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8313 (MouseHandler.mouseReleased): Implemented.
8314 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8315 (MouseHandler.mouseEntered): Dito.
8316 (MouseHandler.mouseExited): Dito.
8317 (MouseHandler.mouseMoved): Dito.
8318 (MouseHandler.redispatchEvent): New method.
8319 (PropertyChangeHandler.propertyChange): Added extra block level,
8320 added code to handle tab placement changes, added comment.
8321 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8323 2006-08-16 Roman Kennke <kennke@aicas.com>
8325 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8326 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8329 2006-08-16 Mark Wielaard <mark@klomp.org>
8331 * java/awt/Component.java (orientation): Renamed to
8332 componentOrientation.
8333 (setComponentOrientation): Use new field name.
8334 (getComponentOrientation): Likewise.
8336 2006-08-16 Roman Kennke <kennke@aicas.com>
8339 * javax/swing/plaf/basic/BasicTreeUI.java
8340 (CellEditorHandler.editingCancelled): Call completeEditing
8342 (CellEditorHandler.editingStopped): Call completeEditing
8344 (NodeDimensionHandler.getNodeDimensions): Rewritten
8345 to use the preferred sizes of the renderer and editor.
8346 (TreeExpansionHandler.treeCollapsed): Complete editing
8348 (TreeSelectionHandler.valueChanged): Complete editing
8350 (cancelEditing): Call completeEditing with false, false and
8351 false. Don't call finish (removed method).
8352 (completeEditing(boolean,boolean,boolean): Only do something when
8353 stopEditingInCompleteEditing is true. Nullify editingComponent
8354 and editingPath. Remove editingComponent from tree. Update
8355 the layout when necessary and repaint.
8356 (completeEditing): Stop editing when necessary.
8357 (editorRequestFocus): New helper method. Request focus
8358 on the actual editor.
8359 (finish) Removed. This is now done in completeEditing().
8360 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8361 (setLargeModel): Complete editing here.
8362 (setRootVisible): Complete editing here.
8363 (setRowHeight): Complete editing here.
8364 (setSelectionModel): Complete editing here.
8365 (startEditing): Correctly initialize and start editing.
8366 (updateExpandedDescendants): Complete editing here.
8367 * javax/swing/tree/DefaultTreeCellEditor.java
8368 (DefaultTextField): Fetch size from super and use renderer's height
8370 (EditorContainer.EditorContainer): Set layout to null, just
8372 (EditorContainer.doLayout): Layout so that the editor
8373 is offset to the right of the icon.
8374 (EditorContainer.getPreferredSize): Implemented to
8375 provide a reasonable preferred size.
8376 (EditorContainer.paint): Position icon in the middle.
8377 Also paint border if appropriate.
8378 (EditorContainer.setBounds): Removed.
8379 (RealEditorListener): Removed.
8380 (DefaultTreeCellEditor): Set correct border.
8381 (cancelCellEditing): Message real editor. Call finish().
8382 (createCellEditor): Don't add listener.
8383 (determineOffset): Correctly determine offset, and update
8385 (finish): New helper method.
8386 (getTreeCellEditorComponent): Set correct font. Call
8387 prepareForEditing() and determineOffset() to correctly initialize
8389 (stopCellEditing): Messsage realEditor to stop editing. Call
8391 (stopEditingTimer): Removed.
8392 (valueChanged): Correctly reset lastPath.
8393 * javax/swing/tree/DefaultTreeCellRenderer.java
8394 (getPreferredSize): Return super plus some extra space for
8397 2006-08-16 Roman Kennke <kennke@aicas.com>
8399 * javax/swing/plaf/metal/MetalTreeUI.java
8400 (LineStyleListener): New property listener, that updates
8401 the line style setting if the corresponding property
8403 (lineStyleListener): New field.
8404 (lineStyle): New field.
8405 (LINE_STYLE_ANGLED): New constant field.
8406 (LINE_STYLE_HORIZONTAL): New constant field.
8407 (LINE_STYLE_NONE): New constant field.
8408 (LINE_STYLE_VALUE_ANGLED): New constant field.
8409 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8410 (LINE_STYLE_VALUE_NONE): New constant field.
8411 (LINE_STYLE_PROPERTY): New constant field.
8412 (decodeLineStyle): Implemented.
8413 (installUI): Install line style listener. Set initial
8415 (uninstallUI): Uninstall line style listener.
8416 (paintHorizontalPartOfLeg): Only call super for angled
8418 (paintVerticalPartOfLeg): Only call super for angled
8420 (paintHorizontalSeparators): Implemented.
8421 (paint): If lineStyle==HORIZONTAL, call
8422 paintHorizontalSeparators().
8423 * examples/gnu/classpath/examples/swing/TreeDemo.java
8424 (createContent): Add panel for selecting line styles.
8426 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8428 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8429 (createContent): Rewritten.
8430 (createPlacementChangingMenuItem): New method.
8431 (createLayoutPolicyChangingMenuItem): New method.
8432 (createTabbedPane): New method.
8433 (createTabContent): New method.
8435 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8437 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8438 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8439 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8441 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8443 * javax/swing/text/WrappedPlainView.java:
8444 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8445 (calculateBreakPosition): Add p0 to return value.
8447 2006-08-15 Roman Kennke <kennke@aicas.com>
8449 * javax/swing/plaf/basic/BasicTreeUI.java
8450 (MouseHandler.selectedOnPress): New field.
8451 (MouseHandler.handleEvent): New helper method for handling
8452 selection and start/stop editing for mouse events.
8453 (MouseHandler.mouseDragged): Commented as no-op method.
8454 (MouseHandler.mouseMoved): Commented as no-op method.
8455 (MouseHandler.mousePressed): Use handleEvent() to handle
8456 selection and editing handling.
8457 (MouseHandler.mouseReleased): Use handleEvent() to handle
8458 selection and editing handling.
8459 (MouseInputHandler.MouseInputHandler): Register itself
8460 as mouse listener on source. Redispatch event to
8462 (MouseInputHandler.dispatch): New helper method.
8463 (MouseInputHandler.mouseClicked): Dispatch event.
8464 (MouseInputHandler.mouseDragged): Dispatch event.
8465 (MouseInputHandler.mouseEntered): Stop dispatching
8466 if dragging stopped.
8467 (MouseInputHandler.mouseExited): Stop dispatching
8468 if dragging stopped.
8469 (MouseInputHandler.mouseMoved): Stop dispatching.
8470 (MouseInputHandler.mousePressed): Marked as no-op.
8471 (MouseInputHandler.mouseReleased): Dispatch and stop
8472 dispatching afterwards.
8473 (MouseInputHandler.removeFromSource): Implemented.
8474 (PropertyChangeHandler.propertyChange): Also handle
8475 editable property changes by calling setEditable().
8476 (SelectionModelPropertyChangeHandler.propertyChange):
8477 Reset row selection.
8478 (startEditTimer): Removed.
8479 (setCellEditor): Call updateEditor().
8480 (setEditable): Call updateEditor().
8481 (startEditingAtPath): Make path fully visible before starting
8483 (startEditing): Maybe cancel previous edit session. Add
8484 editing component itself, not its parent container.
8485 Register MouseInputHandler for correctly redispatching
8487 (stopEditing): Message cellEditor and only completeEditing()
8488 when approved by cell editor.
8489 (updateCellEditor): Complete editing before updating
8490 the cell editor. Get cell editor from JTree if possible,
8491 otherwise create default editor. Update the listeners
8493 * javax/swing/tree/DefaultTreeCellEditor.java
8494 (CLICK_COUNT_TO_START): Removed.
8495 (DefaultTreeCellEditor): Install correct border. Let setTree()
8496 update the listeners. Don't initialize lastPath and font yet.
8497 (actionPerformed): Implemented to start editing.
8498 (createTreeCellEditor): Set click count to start to 1, rather than
8500 (isCellEditable): Prepare editor here. Determine if we can
8501 start immediately, or if we trigger a timer to do so.
8502 (prepareForEditing): Don't removeAll() (not necessary),
8503 check editingComponent to be non-null.
8504 (setTree): Update listeners.
8505 (shouldStartEditingTimer): Check for left mouse button.
8506 (startEditingTimer): Lazily create timer.
8508 2006-08-15 Lillian Angel <langel@redhat.com>
8510 * java/awt/dnd/DropTargetDragEvent.java
8511 (getTransferable): Implemented.
8513 2006-08-15 Roman Kennke <kennke@aicas.com>
8515 * java/util/Vector.java
8516 (removeAll): Added comment about NPE.
8517 (retainAll): Added comment about NPE.
8519 2006-08-15 Roman Kennke <kennke@aicas.com>
8521 * java/util/zip/ZipFile.java
8522 (UTF8DECODER): Removed.
8523 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8524 (utf8Decoder): New instance field.
8525 (decodeChars): Lazily create UTF8 decoder. Use instance
8526 field rather than a static field to avoid corruption.
8528 2006-08-15 Roman Kennke <kennke@aicas.com>
8530 * java/io/PrintStream.java
8531 (line_separator): Provide default for system property.
8532 * java/io/FileDescriptor.java
8533 (valid): Create local copy of channel field for better
8536 2006-08-15 Ingo Proetel <proetel@aicas.com>
8538 * java/util/zip/ZipFile.java
8539 (PartialInputStream.UTF8DECODER): New constant field, used
8540 for decoding UTF8 strings.
8541 (readLeShort): Access buffer directly if it has enough bytes
8543 (readLeInt): Access buffer directly if it has enough bytes
8545 (decodeChars): New helper method for decoding UTF8 strings.
8546 (readString): Avoid NIO charset decoder if possible.
8548 2006-08-15 Roman Kennke <kennke@aicas.com>
8550 * java/util/Vector.java
8551 (removeAll): Don't explicitly null-check here. The RI allows
8552 null arguments when Vector is empty. In other cases we
8553 implicitly throw an NPE.
8554 (retainAll): Don't explicitly null-check here. The RI allows
8555 null arguments when Vector is empty. In other cases we
8556 implicitly throw an NPE.
8558 2006-08-14 Casey Marshall <csm@gnu.org>
8560 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8561 of changes made on this branch.
8563 * gnu/classpath/debug/Component.java
8564 * gnu/classpath/debug/SystemLogger.java
8565 * gnu/java/security/action/GetPropertyAction.java
8566 * gnu/java/security/action/GetSecurityPropertyAction.java
8567 * gnu/javax/crypto/RSACipherImpl.java
8568 * gnu/javax/net/ssl/PrivateCredentials.java
8569 * gnu/javax/net/ssl/provider/Alert.java
8570 * gnu/javax/net/ssl/provider/AlertException.java
8571 * gnu/javax/net/ssl/provider/Certificate.java
8572 * gnu/javax/net/ssl/provider/CertificateRequest.java
8573 * gnu/javax/net/ssl/provider/CertificateType.java
8574 * gnu/javax/net/ssl/provider/CertificateVerify.java
8575 * gnu/javax/net/ssl/provider/CipherSuite.java
8576 * gnu/javax/net/ssl/provider/ClientHello.java
8577 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8578 * gnu/javax/net/ssl/provider/CompressionMethod.java
8579 * gnu/javax/net/ssl/provider/Constructed.java
8580 * gnu/javax/net/ssl/provider/ContentType.java
8581 * gnu/javax/net/ssl/provider/DiffieHellman.java
8582 * gnu/javax/net/ssl/provider/Extension.java
8583 * gnu/javax/net/ssl/provider/Finished.java
8584 * gnu/javax/net/ssl/provider/Handshake.java
8585 * gnu/javax/net/ssl/provider/Jessie.java
8586 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8587 * gnu/javax/net/ssl/provider/Random.java
8588 * gnu/javax/net/ssl/provider/ServerHello.java
8589 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8590 * gnu/javax/net/ssl/provider/Signature.java
8591 * gnu/javax/net/ssl/provider/Util.java
8592 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8593 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8594 * java/security/MessageDigest.java
8595 * java/security/MessageDigestSpi.java
8596 * java/security/Signature.java
8597 * java/security/SignatureSpi.java
8598 * javax/crypto/Mac.java
8599 * javax/crypto/MacSpi.java
8600 * javax/net/ssl/HandshakeCompletedEvent.java
8601 * javax/net/ssl/HttpsURLConnection.java
8602 * javax/net/ssl/SSLContext.java
8603 * javax/net/ssl/SSLContextSpi.java
8604 * javax/net/ssl/SSLSession.java
8606 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8607 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8608 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8609 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8610 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8611 * gnu/javax/net/ssl/provider/ServerDHParams.java
8612 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8613 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8614 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8615 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8616 * gnu/javax/net/ssl/provider/ServerNameList.java
8617 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8618 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8619 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8620 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8621 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8622 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8623 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8624 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8625 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8626 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8627 * gnu/javax/net/ssl/provider/Record.java
8628 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8629 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8630 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8631 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8632 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8633 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8634 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8635 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8636 * gnu/javax/net/ssl/provider/ExtensionList.java
8637 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8638 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8639 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8640 * gnu/javax/net/ssl/provider/ServerHandshake.java
8641 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8642 * gnu/javax/net/ssl/provider/SessionImpl.java
8643 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8644 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8645 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8646 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8647 * gnu/javax/net/ssl/provider/HelloRequest.java
8648 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8649 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8650 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8651 * gnu/javax/net/ssl/provider/ClientHandshake.java
8652 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8653 * gnu/javax/net/ssl/provider/CertificateURL.java
8654 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8655 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8656 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8657 * gnu/javax/net/ssl/provider/Builder.java
8658 * gnu/javax/net/ssl/provider/Debug.java
8659 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8660 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8661 * gnu/javax/net/ssl/provider/DelegatedTask.java
8662 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8663 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8664 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8665 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8666 * javax/net/ssl/SSLEngine.java
8667 * javax/net/ssl/CertPathTrustManagerParameters.java
8668 * javax/net/ssl/KeyStoreBuilderParameters.java
8669 * javax/net/ssl/X509ExtendedKeyManager.java
8670 * javax/net/ssl/SSLEngineResult.java
8671 * gnu/javax/net/ssl/PreSharedKeyManager.java
8672 * gnu/javax/net/ssl/Session.java
8673 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8674 * gnu/javax/net/ssl/SSLCipherSuite.java
8675 * gnu/javax/net/ssl/AbstractSessionContext.java
8676 * gnu/javax/net/ssl/SessionStoreException.java
8677 * gnu/javax/net/ssl/SSLRecordHandler.java
8678 * gnu/javax/net/ssl/SSLProtocolVersion.java
8679 * gnu/javax/crypto/key/GnuPBEKey.java
8680 * gnu/java/security/util/ByteBufferOutputStream.java
8681 * gnu/java/security/Requires.java
8682 * gnu/javax/security/auth/callback/CertificateCallback.java
8684 * gnu/javax/net/ssl/provider/Context.java
8685 * gnu/javax/net/ssl/provider/DigestInputStream.java
8686 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8687 * gnu/javax/net/ssl/provider/Enumerated.java
8688 * gnu/javax/net/ssl/provider/Extensions.java
8689 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8690 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8691 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8692 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8693 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8694 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8695 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8696 * gnu/javax/net/ssl/provider/KeyPool.java
8697 * gnu/javax/net/ssl/provider/OverflowException.java
8698 * gnu/javax/net/ssl/provider/RecordInput.java
8699 * gnu/javax/net/ssl/provider/RecordInputStream.java
8700 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8701 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8702 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8703 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8704 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8705 * gnu/javax/net/ssl/provider/SSLSocket.java
8706 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8707 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8708 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8709 * gnu/javax/net/ssl/provider/SecurityParameters.java
8710 * gnu/javax/net/ssl/provider/Session.java
8711 * gnu/javax/net/ssl/provider/SessionContext.java
8712 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8713 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8715 2006-08-14 Roman Kennke <kennke@aicas.com>
8717 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8718 (DividerLayout.layoutContainer): Removed debug output.
8719 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8720 (BasicHorizontalLayoutManager.axis): New field.
8721 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8723 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8724 Call new axis constructor.
8725 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8727 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8729 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8730 Refactored to handle direction.
8731 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8732 to handle direction.
8733 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8735 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8736 to handle direction.
8737 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8738 to handle direction.
8739 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8740 to handle direction.
8741 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8743 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8744 New explicit constructor. Calls super with vertical axis.
8745 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8746 to BasicHorizontalLayoutManager.
8747 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8748 moved to BasicHorizontalLayoutManager.
8749 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8750 Functionality moved to BasicHorizontalLayoutManager.
8751 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8752 moved to BasicHorizontalLayoutManager.
8753 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8754 moved to BasicHorizontalLayoutManager.
8755 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8756 Functionality moved to BasicHorizontalLayoutManager.
8757 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8758 moved to BasicHorizontalLayoutManager.
8759 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8760 moved to BasicHorizontalLayoutManager.
8761 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8762 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8763 (BUTTON_SPRITE_R): New constant field.
8764 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8765 L sprite for left buttons.
8767 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8769 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8770 (query_formats): g_free 'name' after usage.
8771 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8772 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8774 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8777 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8780 2006-08-14 Francis Kung <fkung@redhat.com>
8783 * java/awt/image/ColorModel.java
8784 (coerceData): Added check for non-transparent images.
8786 2006-08-14 Francis Kung <fkung@redhat.com>
8788 * java/awt/image/BandCombineOp.java
8789 (BandCombineOp): Perform checks on validity of matrix.
8790 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8791 (filter): Updated to work with new matrix storage.
8792 (getMatrix): Updated javadoc.
8793 (getPoint2D): Formatting change.
8795 2006-08-14 Francis Kung <fkung@redhat.com>
8797 * java/awt/image/AffineTransformOp.java
8798 (AffineTransformOp): Updated javadoc.
8799 (createCompatibleDestImage): Match behaviour of reference implementation.
8800 (createCompatibleDestRaster): Formatting changes.
8801 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8802 (filter(Raster, WritableRaster)): Re-implemented.
8803 (filterBicubic): New private method.
8804 (filterBilinear): New private method.
8805 (filterNearest): New private method.
8806 (getBounds2D): No longer fixed around one point for rotations.
8807 (getInterpolationType): Add support for bicubic interpolation.
8809 2006-08-14 Roman Kennke <kennke@aicas.com>
8811 * javax/swing/plaf/metal/MetalLookAndFeel.java
8812 (MetalLookAndFeel): Moved theme initialization to
8814 (createDefaultTheme): Forward to getCurrentTheme().
8815 (getDefaults): Initialize theme before doing anything else.
8816 (getCurrentTheme): Recognize swing.metalTheme property.
8818 2006-08-14 Roman Kennke <kennke@aicas.com>
8820 * javax/swing/JTable
8821 (getScrollableUnitIncrement): Expose partially exposed
8822 row in scrolling direction.
8824 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8826 * javax/swing/JTable (getScrollableUnitIncrement):
8827 Removing my name as the whole method body have been
8828 recently completely replaced.
8830 2006-08-14 Roman Kennke <kennke@aicas.com>
8833 * javax/swing/text/Utilities.java
8834 (getTabbedTextOffset): Don't add p0 here.
8836 2006-08-14 Roman Kennke <kennke@aicas.com>
8839 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8840 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8841 when wheel is going up.
8843 2006-08-14 Roman Kennke <kennke@aicas.com>
8846 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8847 (BasicOneTouchButton): New inner class.
8848 (DividerLayout.changeButtonOrientation): Removed.
8849 (DividerLayout.positionButtons): Moved into layoutContainer.
8850 (DividerLayout.layoutContainer): Reworked for correct layout.
8851 (OneTouchAction): New inner class.
8852 (centerOneTouchButtons): New field.
8853 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8855 (createLeftOneTouchButton): Reimplemented to return
8856 BasicOneTouchButton.
8857 (createRightOneTouchButton): Reimplemented to return
8858 BasicOneTouchButton.
8859 (getPreferredSize): Reimplemented to return fixed preferredSize.
8860 (oneTouchExpandableChanged): Add OneTouchAction action to
8861 buttons. Don't install mouse listeners.
8862 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8863 (paint): Don't trigger extra paint for buttons.
8864 (propertyChange): Revalidate splitPane when orientation is changed.
8865 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8866 oneTouchExpandable is true.
8867 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8868 (installDefaults): Install dividerSize on the divider too.
8869 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8870 (MetalDividerLayout): Removed. Functionality is already
8871 in BasicSplitPaneDivider.DividerLayout.
8872 (MetalOneTouchButton): New inner class.
8873 (BUTTON_SPRITE): New constant field.
8874 (MetalSplitPaneDivider): Don't change layout.
8875 (createLeftOneTouchButton): Overridden to return custom button
8877 (createRightOneTouchButton): Overridden to return custom button
8879 (paint): Don't trigger button painting. Call super instead.
8881 2006-08-13 Roman Kennke <kennke@aicas.com>
8883 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8884 (installKeyboardAction): Unmarked as stub. Added comment
8885 explaining that the RI seems to do nothing here.
8886 (uninstallKeyboardAction): Unmarked as stub. Added comment
8887 explaining that the RI seems to do nothing here.
8889 2006-08-13 Roman Kennke <kennke@aicas.com>
8892 * javax/swing/ScrollPaneLayout.java
8893 (layoutContainer): Consider the viewportBorder of the
8895 (minimumLayoutSize): Consider the viewportBorder of the
8897 (preferredLayoutSize): Consider the viewportBorder of the
8899 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8900 (installDefaults): Also install viewportBorder if specified.
8901 (paint): Paint viewportBorder if present.
8902 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8903 Don't nullify foreground, background and font. Uninstall
8904 border via LookAndFeel helper method to avoid uninstall
8907 2006-08-13 Roman Kennke <kennke@aicas.com>
8910 * javax/swing/plaf/basic/BasicHTML.java
8911 (HTMLRootView.HTMLRootView): Trigger initial layout.
8912 (HTMLRootView.setSize): Overridden to forward to real view.
8913 * javax/swing/plaf/basic/BasicToolTipUI.java
8914 (PropertyChangeHandler): New inner class. Updates the HTML
8916 (propertyChangeHandler): New field.
8917 (getMaximumSize): Add HTML width delta.
8918 (getMinimumSize): Add HTML width delta.
8919 (getPreferredSize): Reimplemented to use HTML view for size
8920 calculation if appropriate, otherwise use simple stringWidth()
8922 (installListeners): Install propertyChangeHandler.
8923 (uninstallListeners): Uninstall propertyChangeHandler.
8924 (installUI): Update HTML renderer.
8925 (uninstallUI): Update HTML renderer.
8926 (paint): Reimplemented to use HTML view for rendering if
8927 appropriate, simple drawString otherwise.
8928 * javax/swing/plaf/metal/MetalToolTipUI.java
8929 (getPreferredSize): Call super and add accelerator delta.
8930 (paint): Simply call super.
8932 2006-08-13 Roman Kennke <kennke@aicas.com>
8934 * javax/swing/JMenu.java
8935 (changeListener): Renamed to menuChangeListener to avoid
8936 shadowing changeListener field from AbstractButton.
8938 2006-08-13 Roman Kennke <kennke@aicas.com>
8940 * javax/swing/JTree.java
8941 (getScrollableUnitIncrement): Fixed direction.
8942 (getScrollableBlockIncrement): Implemented to scroll one
8944 * javax/swing/tree/VariableHeightLayoutCache.java
8945 (distance): Consider y + height already outside the node.
8947 2006-08-13 Roman Kennke <kennke@aicas.com>
8949 * javax/swing/JTable.java
8950 (getScrollableUnitIncrement): Fixed direction. Make it behave
8952 (getScrollableBlockIncrement): Fixed direction. Make it behave
8955 2006-08-13 Roman Kennke <kennke@aicas.com>
8957 * javax/swing/JList.java
8958 (getScrollableUnitIncrement): Fixed direction. Implemented
8959 horizontal scrolling. Improved usability.
8960 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8962 2006-08-13 Roman Kennke <kennke@aicas.com>
8964 * javax/swing/plaf/basic/BasicScrollBarUI.java
8965 (scrollByUnit): Scroll by -unit when direction is not positive
8966 and +unit otherwise.
8967 (scrollByBlock): Scroll by -unit when direction is not positive
8968 and +unit otherwise.
8970 2006-08-13 Roman Kennke <kennke@aicas.com>
8973 * javax/swing/text/PlainView.java
8974 (paint): Limit painted area to the lines inside the clip
8977 2006-08-13 Roman Kennke <kennke@aicas.com>
8979 * javax/swing/plaf/basic/BasicTextUI.java
8980 (uninstallListeners): Unregister document listener.
8982 2006-08-13 Sven de Marothy <sven@physto.se>
8984 * java/util/Locale.java
8985 (hashcodeCache): New field.
8986 (hashCode): use the above field instead of the serialized one
8987 (writeObject): Removed method.
8988 (readObject): Intern strings.
8989 (equals): Revert to previous method.
8991 2006-08-13 Roman Kennke <kennke@aicas.com>
8993 * javax/swing/JTabbedPane.java
8994 (JTabbedPane): Call setModel() here and let this install the
8995 change listener correctly.
8996 (setModel): Correctly uninstall and reinstall ChangeListener when
8999 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9002 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9003 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9004 (lastDefaultLocale): Removed.
9005 (emptyLocale): Likewise.
9006 (BundleKey.defaultLocale): New field.
9007 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9008 (BundleKey.set): Likewise.
9009 (BundleKey.equals): Take defaultLocal field into consideration.
9010 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9012 2006-08-13 Roman Kennke <kennke@aicas.com>
9014 * javax/swing/JMenu.java
9015 (MenuChangeListener): New inner class, helps firing menu events.
9016 (changeListener): New field.
9017 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9018 (add(Action)): Create Action using createActionComponent()
9019 and add via add(Component).
9020 (setModel): Install and uninstall MenuChangeListener here.
9022 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9025 * java/math/BigInteger.java: Updated copyright year.
9026 (init): Consume as little bytes as possible.
9027 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9028 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9029 as per RI's documentation.
9031 2006-08-13 Sven de Marothy <sven@physto.se>
9033 * java/util/Locale.java
9034 (hashcode): Is a serialized field, not transient.
9035 (equals): Should NOT compare strings by reference.
9036 (readObject/writeObject): Use the default methods and handle the hash
9039 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9042 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9043 Updated documentation.
9045 (getInstance(String, String, Provider, Object[])): Likewise.
9046 Separate checks for null and empty string arguments.
9047 Include as much information as possible in the exception's message.
9048 Do not swallow original exception; instead use it as the cause of the
9049 resulting exception.
9050 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9051 (getInstance(String)): Updated documentation.
9053 Store last exception caught when iterating through all providers.
9054 If no implementation found, raise last exception if one was caught.
9055 (getInstance(String, String)): Updated documentation.
9057 Check for null or empty provider as per RI-5's documentation.
9058 (getInstance(String, Provider)): Updated documentation.
9060 Use as much information as possible in the exception message.
9061 Do not swallow original exception; instead use it as the cause for the
9062 ultimate raised exception(s).
9063 * java/security/cert/CertificateFactory.java: Likewise.
9064 * java/security/cert/CertPathBuilder.java: Likewise.
9065 * java/security/cert/CertPathValidator.java: Likewise.
9066 * java/security/cert/CertStore.java: Likewise.
9067 * java/security/AlgorithmParameterGenerator.java: Likewise.
9068 * java/security/AlgorithmParameters.java: Likewise.
9069 * java/security/KeyFactory.java: Likewise.
9070 * java/security/KeyPairGenerator.java: Likewise.
9071 * java/security/KeyStore.java: Likewise.
9072 * java/security/MessageDigest.java: Likewise.
9073 * java/security/SecureRandom.java: Likewise.
9074 * java/security/Signature.java: Likewise.
9075 * javax/crypto/Cipher.java: Likewise.
9076 * javax/crypto/ExemptionMechanism.java: Likewise.
9077 * javax/crypto/KeyAgreement.java: Likewise.
9078 * javax/crypto/KeyGenerator.java: Likewise.
9079 * javax/crypto/Mac.java: Likewise.
9080 * javax/crypto/SecretKeyFactory.java: Likewise.
9081 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9082 * javax/net/ssl/SSLContext.java: Likewise.
9083 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9085 2006-08-13 Roman Kennke <kennke@aicas.com>
9087 * javax/swing/JEditorPane.java
9088 (getScrollableTracksViewportHeight): Also check maximum size.
9089 * javax/swing/JTextPane.java
9090 (insertIcon): Use input attributes for adding the icon
9092 * javax/swing/plaf/basic/BasicTextUI.java
9093 (RootView.setSize): Overridden to forward to real view.
9094 (getPreferredSize): Trigger setSize() on the view.
9095 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9096 to viewToModel() call, rather then null.
9097 * javax/swing/text/ParagraphView.java
9098 (changedUpdate): Invalide layout. Call super.
9099 * javax/swing/text/SimpleAttributeSet.java
9100 (clone): Use super's clone method to create clone.
9101 * javax/swing/text/StyleConstants.java
9102 (setIcon): Also set element name attribute.
9103 * javax/swing/text/StyledEditorKit.java
9104 (BoldAction.actionPerformed): Actually set the bold attribute,
9106 (setCharacterAttributes): Replaced with more straightforward
9108 * javax/swing/text/TextAction.java
9109 (getFocusedComponent): Implemented.
9110 * javax/swing/text/Utilities.java
9111 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9113 * javax/swing/text/View.java
9114 (changedUpdate): Nullify element change when updateChildren
9117 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9119 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9120 Fix documentation typos.
9122 2006-08-11 David Daney <ddaney@avtrex.com>
9125 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9126 createResponseBodyStream in more cases and with new parameter.
9127 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9128 HEAD and !mayHaveBody responses specially.
9130 2006-08-11 Roman Kennke <kennke@aicas.com>
9132 * javax/swing/text/GlyphView.java
9133 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9134 * javax/swing/text/LabelView.java
9135 (valid): New flag indicating if the text attributes are valid.
9136 (LabelView): Initialize valid field with false.
9137 (setPropertiesFromAttributes): Call setter methods instead
9138 of setting properties directly. Set valid to true.
9139 (changedUpdate): Invalidate attributes. Call super.
9140 (getBackground): Sync attributes if necessary.
9141 (getForeground): Sync attributes if necessary.
9142 (getFont): Sync attributes if necessary.
9143 (isUnderline): Sync attributes if necessary.
9144 (isSuperscript): Sync attributes if necessary.
9145 (isStrikeThrough): Sync attributes if necessary.
9146 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9147 from toolkit if Container is not available yet.
9149 2006-08-11 Roman Kennke <kennke@aicas.com>
9151 * javax/swing/text/PlainView.java
9152 (tabBase): New field.
9153 (tabSize): New field.
9154 (updateMetrics): Update tabSize.
9155 (lineToRect): Only allocate when really necessary.
9156 (modelToView): Use tabBase for offset calculations.
9157 (paint): Only allocate when really necessary. Update tabBase.
9158 (nextTabStop): Fixed tab calculation.
9159 (viewToModel): Correctly handle multiline text and locations
9160 outside the view's bounds. Set bias.
9161 (getLineLength): Use tabBase.
9162 * javax/swing/text/Utilities.java
9163 (drawTabbedText): Don't special case newlines. The views
9164 must take care of this.
9166 2006-08-11 Roman Kennke <kennke@aicas.com>
9168 * javax/swing/text/GapContent.java
9169 (UndoPosRef): New inner class. Used for resetting positions
9170 after undo/redo operations.
9171 (InsertUndo.positions): New field.
9172 (InsertUndo.undo): Store positions in removed range.
9173 (InsertUndo.redo): Restore positions in re-inserted range.
9174 (UndoRemove.positions): New field.
9175 (UndoRemove.UndoRemove): Store positions in removed range.
9176 (UndoRemove.undo): Restore positions in re-inserted range.
9177 (UndoRemove.redo): Store positions in removed range.
9178 (insertString): Create InsertUndo instance before actually
9179 inserting the string.
9180 (remove): Create UndoRemove instance before actually
9182 (getPositionsInRange): Don't clear the Vector. Return Vector
9184 (updateUndoPositions): Implemented to reset all UndoPosRefs
9187 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9189 * java/io/ObjectInputStream.java (readClassDescriptor):
9190 Use class's class loader to resolve field types.
9191 * java/io/ObjectStreamField.java
9192 (ObjectStreamField(String,String,ClassLoader)): Removed.
9193 (ObjectStreamField(String,String)): Don't try to resolve typename.
9194 (resolveType): New method.
9196 2006-08-10 Roman Kennke <kennke@aicas.com>
9198 * javax/swing/text/BoxView.java
9199 (calculateMajorAxisRequirements): Sum up the preferred and
9201 (isAfter): Also add in the rectangle's with/height.
9202 (childAllocation): Don't trigger layout here.
9203 (layoutMinorAxis): Removed debug output.
9204 (getWidth): Consider the insets.
9205 (getHeight): Consider the insets.
9206 (setSize): Consider the insets.
9207 (updateRequirements): Check axis and throw
9208 IllegalArgumentException.
9210 2006-08-10 Roman Kennke <kennke@aicas.com>
9212 * javax/swing/text/AbstractDocument.java
9213 (BidiRootName): New constant field, denotes the element name
9214 for bidi root elements.
9215 (AsyncLoadPriority): New constant field, denotes the property
9216 to store the asynchronousLoadPriority.
9217 (I18N): New constant field, denotes the property for
9219 (bidiRoot): Made field type BidiRootElement.
9220 (AbstractDocument): Build initial element structure for
9222 (getAsynchronousLoadPriority): Implemented. Returns the
9223 value stored in the document properties.
9224 (setAsynchronousLoadPriority): Implemented. Sets the
9225 value stored in the document properties.
9226 (getEndPosition): Implemented to use a Position from the
9228 (getStartPosition): Implemented to use a Position from the
9230 (insertStringImpl): Update the I18N setting if necessary.
9231 (insertUpdate): Update the bidi structure if necessary.
9232 (postRemoveUpdate): Update the bidi structure if necessary.
9233 (putProperty): Update the I18N setting and bidi structure
9235 (updateBidi): New helper method for updating the bidi
9237 (getBidis): New helper method. Fetches the Bidi analysers
9238 for the paragraphs of the range to check.
9239 (dump): Also dump the bidi structure.
9240 (AbstractElement.dump): Indent the '>' correctly.
9241 (AbstractElement.children): Check numChildren rather then
9243 (BidiRootElement): New inner class.
9244 (BidiElement): New inner class.
9246 2006-08-10 Roman Kennke <kennke@aicas.com>
9248 * javax/swing/text/GapContent.java
9249 (getChars): Optimized to only copy array when really necessary.
9250 Respect the partialReturn property.
9252 2006-08-10 Lillian Angel <langel@redhat.com>
9254 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9255 (getComponentPeer): Added check to prevent NPE.
9257 2006-08-10 Gary Benson <gbenson@redhat.com>
9259 * java/security/AccessControlContext.java (<init>):
9260 Avoid a duplicated AccessController.getContext() call.
9262 2006-08-09 Mark Wielaard <mark@klomp.org>
9264 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9265 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9266 * doc/www.gnu.org/announce/20060809.wml: New file.
9268 2006-08-09 Mark Wielaard <mark@klomp.org>
9270 * configure.ac (VERSION): Set to 0.92-generics.
9271 * NEWS: Add updates for 0.92 release.
9273 2006-08-09 Tom Tromey <tromey@redhat.com>
9276 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9277 the pattern match any number of spaces in the text.
9279 2006-08-09 Sven de Marothy <sven@physto.se>
9281 * java/awt/image/BufferedImage.java
9282 (BufferedImage): Reimplement predefined-type constructor.
9283 (observers/tileObservers): Field renamed to tileObservers.
9284 (createDefaultIndexedColorModel): New method.
9286 2006-08-09 Tom Tromey <tromey@redhat.com>
9289 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9290 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9291 Create a 'short' array.
9293 2006-08-09 Tom Tromey <tromey@redhat.com>
9295 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9297 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9298 (writeFields): Print "L" after int constant. Don't mangle the field
9299 name. Only print int/long fields.
9301 2006-08-09 Tom Tromey <tromey@redhat.com>
9303 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9306 2006-08-09 Sven de Marothy <sven@physto.se>
9308 * javax/swing/JTree.java
9309 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9310 (setSelectionModel): Null parameter should create an EmptySelectionM.
9312 2006-08-09 Roman Kennke <kennke@aicas.com>
9314 * javax/swing/text/AbstractDocument.java
9315 (insertString): Perform modifications inside a write lock.
9316 (insertStringImpl): Don't lock here. This is already done
9318 (replace): Perform modifications inside a write lock.
9319 (AbstractElement.AbstractElement): Call addAttributes() to
9321 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9322 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9323 (BranchElement.BranchElement): Set lastIndex to -1.
9324 (BranchElement.getElementIndex): Implemented more efficient
9327 2006-08-09 Roman Kennke <kennke@aicas.com>
9329 * javax/swing/text/DefaultStyledDocument.java
9330 (Edit): Moved this inner class into ElementBuffer where it
9332 (edits): Moved this field into ElementBuffer.
9333 (getEditForParagraphAndIndex): Removed obsolete method.
9334 (insertUpdate): Added some optimizations and fixes. Split
9335 out handling insertion after newlines.
9336 (insertAfterNewline): New helper method. Handles insertions
9338 (ElementBuffer.Edit): New inner class. Moved here from
9339 DefaultStyledDocument.
9340 (ElementBuffer.createdFracture): New field.
9341 (ElementBuffer.documentEvent): Made private.
9342 (ElementBuffer.edits): New field. Moved here from
9343 DefaultStyledDocument.
9344 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9345 (ElementBuffer.fracturedChild): New field.
9346 (ElementBuffer.fracturedParent): New field.
9347 (ElementBuffer.insertPath): New field.
9348 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9350 (ElementBuffer.offsetLastIndex): New field.
9351 (ElementBuffer.offsetLastIndexReplace): New field.
9352 (ElementBuffer.recreateLeafs): New field.
9353 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9354 (ElementBuffer.canJoin): New helper method.
9355 (ElementBuffer.changeUpdate): Changed to use elementStack with
9356 Edits rather than Elements. Let the split method do the work.
9357 (ElementBuffer.cloneAsNecessary): New helper method.
9358 (ElementBuffer.createFracture): Changed to fracture the bottommost
9360 (ElementBuffer.finishEdit): New helper method. Moved out
9361 from insertUpdate to perform the actual changes and update
9363 (fracture): New helper method.
9364 (insertContentTag): Fixed some bugs and changed to use Edit
9365 instances in the stack, rather then Elements.
9366 (insertElement): New helper method. Moved out from insertUpdate()
9367 to process the ElementSpecs.
9368 (insertFirstContentTag): Fixed some problems and changed to use Edit
9369 instances in the stack, rather then Elements.
9370 (insertFracture): Removed. Basically moved into createFracture()
9372 (insertParagraph): Removed.
9373 (insertUpdate): Split out the ElementSpec processing into
9374 insertElement(). Use Edit instances in the stack. Fixed some
9376 (insert): Split out the preparation and finishing code into
9377 prepareEdit() and finishEdit().
9378 (join): New helper method.
9379 (pop): New helper method.
9380 (prepareEdit): New helper method.
9381 (recreateFracturedElement): New helper method.
9382 (recreateLeaves): Removed.
9383 (recreate): New helper method.
9384 (removeElements): New helper method. Split out from removeUpdate().
9385 (removeUpdate): Split out the actual removal. Use the
9386 Edit stack to perform removal and perform the remove actions
9387 and event updates afterwards, just like in insertImpl().
9388 (remove): Use prepareEdit() and finishEdit().
9389 (split): Replaced with more flexible impl.
9391 2006-08-09 Sven de Marothy <sven@physto.se>
9393 * gnu/java/awt/peer/gtk/CairoSurface.java
9394 Change class to extend WritableRaster and not DataBuffer.
9395 (CairoDataBuffer): New inner class.
9396 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9397 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9398 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9399 Accomodate the above change.
9401 2006-08-09 Sven de Marothy <sven@physto.se>
9403 * gnu/java/awt/peer/gtk/GtkMainThread.java
9405 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9406 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9407 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9408 * gnu/java/awt/peer/gtk/GtkToolkit.java
9409 Minor style fixes; removed unused fields,
9410 set fields to private where possible.
9411 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9412 Call GtkMainThread.createWindow().
9413 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9414 (dispose): New method.
9415 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9416 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9417 (gtkQuit): New native method.
9419 2006-08-08 Lillian Angel <langel@redhat.com>
9421 * java/awt/Component.java
9422 (setDropTarget): Added check.
9424 2006-08-08 Lillian Angel <langel@redhat.com>
9426 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9427 (GtkDragSourceContextPeer): Added FIXME. Changed call
9429 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9430 (GtkDropTargetContextPeer): Removed target initialization.
9431 * java/awt/Component.java
9432 (setTarget): Removed commented out code.
9434 2006-08-08 Mark Wielaard <mark@klomp.org>
9436 * javax/swing/text/DefaultHighlighter.java: Qualify
9437 Highlighter.HighlightPainter class name for gcj.
9439 2006-08-05 Roman Kennke <kennke@aicas.com>
9441 * javax/swing/plaf/basic/BasicTableUI.java
9442 (MouseInputHandler.mousePressed): Request focus on list
9445 2006-08-05 Roman Kennke <kennke@aicas.com>
9447 * javax/swing/plaf/basic/BasicListUI.java
9448 (MouseInputHandler.mousePressed): Request focus on list
9451 2006-08-05 Roman Kennke <kennke@aicas.com>
9454 * javax/swing/plaf/basic/BasicMenuBarUI.java
9455 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9456 than Tree.actionMap.
9457 * javax/swing/plaf/basic/BasicTreeUI.java
9458 (action): Removed obsolete field.
9459 (uninstallKeyboardActions): Removed action field handling.
9460 (installKeyboardActions): Removed action field handling.
9461 (createDefaultActions): Don't install removed TreeAction.
9462 (TreeAction): Removed obsolete inner class.
9463 (ActionListenerProxy): Removed obsolete inner class.
9464 (MouseHandler.mousePressed): Request focus on JTree component
9467 2006-08-08 Roman Kennke <kennke@aicas.com>
9469 * javax/swing/plaf/basic/BasicListUI.java
9470 (MouseInputHandler.mousePressed): Request focus on list
9473 2006-08-08 Roman Kennke <kennke@aicas.com>
9475 * javax/swing/plaf/basic/BasicTableUI.java
9476 (MouseInputHandler.mousePressed): Request focus on list
9479 2006-08-08 Roman Kennke <kennke@aicas.com>
9481 * javax/swing/plaf/basic/BasicTextUI.java
9482 (damageRange(JTextComponent,int,int)): Call damageRange() with
9483 correct biases, rather than null.
9484 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9485 to use simpler modelToView() approach without much special
9486 casing. This seems not worth the effort and actually
9487 caused problems. Added locking of the document.
9488 * javax/swing/text/BoxView.java
9489 (requirementsValid): New field.
9490 (calculateMajorAxisRequirements): Rewritten without using
9491 SizeRequirements. The SizeRequirements algorithms are slightly
9492 different and too inefficient.
9493 (calculateMinorAxisRequirements): Rewritten without using
9494 SizeRequirements. The SizeRequirements algorithms are slightly
9495 different and too inefficient.
9496 (getAlignment): Simply return the alignment of the cached
9498 (getMaximumSpan): Add insets.
9499 (getMinimumSpan): Add insets.
9500 (getPreferredSpan): Add insets.
9501 (layoutMajorAxis): Rewritten without using
9502 SizeRequirements. The SizeRequirements algorithms are slightly
9503 different and too inefficient.
9504 (layoutMinorAxis): Rewritten without using
9505 SizeRequirements. The SizeRequirements algorithms are slightly
9506 different and too inefficient.
9507 (modelToView): Call setSize() rather than layout().
9508 (paint): Check clip for more efficient painting.
9509 (preferenceChanged): Invalidate requirements here.
9510 (replace): Invalidate requirements here.
9511 (updateRequirements): Update requirements only when requirements
9513 * javax/swing/text/CompositeView.java
9514 (modelToView): Added some more checks and handling of corner cases.
9515 * javax/swing/text/FlowView.java
9516 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9517 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9518 * javax/swing/text/IconView.java
9519 (getAlignment): Implemented to return 1.0 for vertical alignment.
9520 * javax/swing/text/ParagraphView.java
9521 (Row.getMaximumSpan): Implemented to let Rows span the whole
9523 (getAlignment): Fixed horizontal alignment and vertical alignment
9524 for empty paragraphs to be 0.5.
9526 2006-08-08 Roman Kennke <kennke@aicas.com>
9528 * javax/swing/text/View.java
9529 (modelToView): Added special handling for corner case at the end
9530 of the view and for multiline views.
9532 2006-08-08 Roman Kennke <kennke@aicas.com>
9534 * javax/swing/plaf/basic/BasicTextUI.java
9535 (modelToView): Read-lock the document. Set size of the
9536 root view before fetching the model-to-view mapping.
9537 (getViewIndex): Check of the position is inside the range and
9538 return -1 if this is not the case.
9539 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9541 (getViewIndexAtPosition(int)): Delegate the index search to
9542 the element since we have a 1:1 mapping between elements and
9544 * javax/swing/text/DefaultCaret.java
9545 (appear): Ignore BadLocationException.
9546 (paint): Ignore BadLocationException.
9547 * javax/swing/text/FlowView.java
9548 (changedUpdate): Also notify the layoutPool view.
9549 (removeUpdate): Also notify the layoutPool view.
9550 * javax/swing/text/ParagraphView.java
9551 (Row.getViewIndexAtPosition): Overridden to search linearily
9552 through the view instead of relying on a 1:1 model to view
9554 * javax/swing/text/View.java
9555 (removeUpdate): Clear ElementChange object if updateChildren
9557 (forwardUpdate): Special handle some boundary cases.
9559 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9561 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9562 (hasInheritedParameters): New method.
9563 (equals): Updated documentation.
9564 Take into consideration the outcome of hasInheritedParameters invocation.
9565 (toString): Call hasInheritedParameters and adjust the result accordingly.
9566 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9567 Updated documentation.
9568 Handle case of public keys with null p, q, and g MPIs.
9569 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9571 2006-08-07 Tom Tromey <tromey@redhat.com>
9574 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9575 (attachment): Likewise.
9576 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9578 (isValid): Likewise.
9579 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9581 (interestOps): Synchronize.
9582 (readyOps): Likewise.
9583 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9586 2006-08-07 C. Scott Marshall <csm@gnu.org>
9589 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9590 the mark has been set.
9591 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9592 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9595 2006-08-07 Sven de Marothy <sven@physto.se>
9597 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9598 (drawGlyphVector): Synchronize against font object when drawing.
9599 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9600 (nativeDrawGlyphVector): Use pango locking when drawing.
9601 (install_font_peer): Use pango locking when creating the cairo face.
9603 2006-08-06 Roman Kennke <kennke@aicas.com>
9606 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9607 (getPreferredSize): Renamed method to preferredSize(). That's
9608 the one that gets called from java.awt.*.
9609 * java/awt/peer/ComponentPeer.java
9610 (getPreferredSize): Added specnote about this method never
9611 beeing called in the RI.
9612 (getMinimumSize): Added specnote about this method never
9613 beeing called in the RI.
9615 2006-08-03 Sven de Marothy <sven@physto.se>
9617 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9618 (grab, nativeGrab): New methods.
9619 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9620 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9621 (nativeGrab): New method.
9622 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9624 * java/awt/Component.java
9625 (printAll): Should call peer print method.
9627 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9629 * java/net/URL.java (getContent(Class[])): Implement.
9631 2006-08-06 Mark Wielaard <mark@klomp.org>
9634 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9635 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9637 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9640 2006-08-06 Roman Kennke <kennke@aicas.com>
9642 * NEWS: Added note about the X peers.
9643 * INSTALL: Added install notes about the X peers.
9645 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9646 Paul Jenner <psj@harker.dyndns.org>
9648 * README: Update bug, patches and cvs instructions plus new URLs of
9649 various external projects.
9651 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9653 * configure.ac (MOZILLA_FOUND): Fall back to
9654 mozilla-firefox-plugin.
9656 2006-08-06 Mario Torre <neugens@limasoftware.net>
9658 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9659 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9660 g_type_init earlier in function to correctly initialize the
9661 type system used by the backend.
9663 2006-08-05 Roman Kennke <kennke@aicas.com>
9665 * javax/swing/text/DefaultHighlight.java
9666 (DefaultHighlightPainter.paintHighlight): Removed method.
9667 (DefaultHighlightPainter.paintLayer): Implemented.
9668 (DefaultHighlightPainter.paint): Implemented more efficient
9669 painting for multiline-highlights.
9670 (HighlightEntry.p0): Changed to be a Position.
9671 (HighlightEntry.p1): Changed to be a Position.
9672 (HighlightEntry.HighlightEntry): Changed to take Position
9674 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9675 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9676 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9677 and tracks the painted rectangle for efficient repainting.
9678 (addHighlight): Handle layered highlight.
9679 (changeHighlight): Handle layered highlight.
9680 (paintLayeredHighlights): Implemented.
9681 (paint): Paint only non-layered highlights here.
9682 (removeAllHighlights): Trigger correct repaint.
9683 (removeHighlight): Handle layered highlight here for
9684 more efficient repainting.
9685 * javax/swing/text/GlyphView.java
9686 (paint): Handle layered highlights.
9687 * javax/swing/text/PlainView.java
9688 (paint): Handle layered highlights.
9689 * javax/swing/text/WrappedPlainView.java
9690 (WrappedLine.paint): Handle layered highlights.
9692 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9695 * NEWS: As suggested by Paul Jennier, added note about the fix of
9698 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9700 * NEWS: Added entry about the context factories for JNDI.
9702 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9705 * gnu/CORBA/Connected_objects.java (size): New method.
9706 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9708 * javax/naming/spi/NamingManager.java (getURLContext):
9709 Also search for the URL context factories in
9710 gnu/javax/naming/jndi/url.
9711 * gnu/javax/naming/giop/ContextContinuation.java,
9712 gnu/javax/naming/giop/CorbalocParser.java,
9713 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9714 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9715 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9716 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9717 gnu/javax/naming/giop/ListEnumeration.java,
9718 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9719 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9720 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9721 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9722 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9723 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9724 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9725 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9727 2006-08-06 Sven de Marothy <sven@physto.se>
9729 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9730 (drawGlyphVector): Synchronize against font object when drawing.
9731 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9732 (nativeDrawGlyphVector): Use pango locking when drawing.
9733 (install_font_peer): Use pango locking when creating the cairo face.
9735 2006-08-06 C. Scott Marshall <csm@gnu.org>
9738 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9739 the mark has been set.
9740 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9741 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9744 2006-08-06 Mark Wielaard <mark@klomp.org>
9747 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9748 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9750 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9753 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9754 Paul Jenner <psj@harker.dyndns.org>
9756 * README: Update bug, patches and cvs instructions plus new URLs of
9757 various external projects.
9759 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9761 * gnu/java/lang/management/BeanImpl.java:
9762 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9764 (getCachedMBeanInfo()): Return open variant.
9765 (getMBeanInfo()): Likewise.
9766 (getTypeFromClass(Class)): Implemented.
9767 (translateSignature(MBeanParameterInfo)): Likewise.
9768 (translate(String)): Likewise.
9769 * javax/management/StandardMBean.java:
9770 (getMBeanInfo()): Return attribute names with capital letters,
9771 as in docs for java.lang.management.ManagementFactory, and
9772 ensure descriptions are not "".
9773 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9774 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9775 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9776 (toString()): Use Arrays.toString().
9777 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9778 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9779 Set open type here rather than in other constructors.
9781 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9783 * javax/management/MBeanFeatureInfo.java:
9784 Make string variable package-private.
9785 * javax/management/StandardMBean.java:
9786 (getMBeanInterface()): Made final.
9787 * javax/management/openmbean/SimpleType.java:
9790 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9792 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9795 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9797 * examples/gnu/classpath/examples/swing/FillRect.java,
9798 * gnu/CORBA/Focused_ORB.java,
9799 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9800 * gnu/classpath/ByteArray.java,
9801 * gnu/classpath/ObjectPool.java,
9802 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9803 * gnu/java/awt/peer/x/fonts.properties,
9804 * gnu/java/security/util/Prime2.java,
9805 * gnu/javax/imageio/gif/GIFStream.java,
9806 * javax/swing/text/html/HTMLTableView.java,
9807 * native/cni/Makefile.am,
9808 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9809 * org/omg/CORBA/SendingContext/Runtime.java,
9810 * resource/gnu/regexp/MessagesBundle.properties,
9811 * resource/gnu/regexp/MessagesBundle_fr.properties,
9812 * resource/gnu/regexp/MessagesBundle_it.properties,
9813 * tools/appletviewer.in,
9814 * tools/jarsigner.in,
9816 * vm/reference/java/lang/management/VMThreadInfo.java:
9818 * examples/gnu/classpath/examples/awt/aicas.png,
9819 * examples/gnu/classpath/examples/awt/palme.gif,
9820 * examples/gnu/classpath/examples/java2d/aicas.png,
9821 * examples/gnu/classpath/examples/java2d/palme.gif,
9822 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9823 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9824 * java/awt/doc-files/capjoin.png,
9825 * java/awt/geom/doc-files/Area-1.png,
9826 * java/awt/geom/doc-files/Ellipse-1.png,
9827 * java/awt/geom/doc-files/GeneralPath-1.png:
9830 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9835 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9837 * gnu/java/lang/management/BeanImpl.java:
9838 (getAttribute(String)): Implemented.
9840 2006-08-05 Roman Kennke <kennke@aicas.com>
9842 * javax/swing/text/JTextComponent.java
9843 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9844 (AccessibleJTextComponent.textComp): Removed field
9845 and replace with JTextComponent.this construct.
9846 (AccessibleJTextComponent.AccessibleJTextComponent):
9847 Fetch caret position.
9848 (caretUpdate): Implemented. Fires property change events and
9849 updates the caretDot field.
9850 (changedUpdate): Implemented. Fires property change events.
9851 (insertUpdate): Implemented. Fires property change events.
9852 (removeUpdate): Implemented. Fires property change events.
9853 (cut): Replaced textComp with JTextComponent.this construct.
9854 (paste): Replaced textComp with JTextComponent.this construct.
9855 (replaceText): Replaced textComp with JTextComponent.this construct.
9856 (selectText): Replaced textComp with JTextComponent.this construct.
9857 (getCaretPosition): Replaced textComp with JTextComponent.this
9859 (getCharCount): Replaced textComp with JTextComponent.this construct.
9860 (getSelectedText): Replaced textComp with JTextComponent.this
9862 (getSelectionEnd): Replaced textComp with JTextComponent.this
9864 (getSelectionStart): Replaced textComp with JTextComponent.this
9866 (getTextRange): Replaced textComp with JTextComponent.this
9868 (doAccessibleAction): Implemented.
9869 (getAccessibleActionCount): Implemented.
9870 (getAccessibleActionDescription): Implemented.
9871 (getAccessibleStateSet): Implemented.
9872 (getAfterIndex): Implemented.
9873 (getBeforeIndex): Implemented.
9874 (getAtIndex): Implemented.
9875 (getAtIndexImpl): New helper method.
9876 (getCharacterAttribute): Implemented.
9877 (getCharacterBounds): Implemented.
9878 (getIndexAtPoint): Implemented.
9879 (insertTextAtIndex): Implemented.
9880 (setAttributes): Implemented.
9881 (setTextContents): Implemented.
9883 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9885 * configure.ac: Better handling of default-preferences-peer option.
9887 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9889 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9892 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9894 * javax/management/openmbean/TabularData.java:
9895 Documentation corrections.
9896 * javax/management/openmbean/TabularDataSupport.java:
9899 2006-08-04 Francis Kung <fkung@redhat.com>
9901 * java/awt/BasicStroke.java
9902 (dashedStroke): Implemented.
9904 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9906 * javax/management/BadAttributeValueExpException.java,
9907 * javax/management/BadStringOperationException.java,
9908 * javax/management/InstanceAlreadyExistsException.java,
9909 * javax/management/InstanceNotFoundException.java,
9910 * javax/management/InvalidApplicationException.java,
9911 * javax/management/MBeanRegistrationException.java,
9912 * javax/management/MalformedObjectNameException.java,
9913 * javax/management/RuntimeErrorException.java,
9914 * javax/management/RuntimeMBeanException.java,
9915 * javax/management/ServiceNotFoundException.java:
9918 2006-08-04 Roman Kennke <kennke@aicas.com>
9920 * javax/swing/SwingUtilities.java
9921 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9922 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9923 layoutCompoundLabelImpl().
9924 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9925 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9926 layoutCompoundLabelImpl().
9927 (layoutCompoundLabelImpl): New helper method. Moved impl from
9928 layoutCompoundLabel() to here and added handling of HTML.
9929 * javax/swing/plaf/basic/BasicButtonUI.java
9930 (installUI): Update HTML view if appropriate.
9931 (uninstallUI): New method. Do the usual uninstallUI things
9932 and uninstall HTML view.
9933 (getMinimumSize): New method. Adjusts the minimum size
9934 by the HTML view minimum size.
9935 (getMaximumSize): New method. Adjusts the maximum size
9936 by the HTML view maximum size.
9937 (getPreferredSize): Pass the button's iconTextGap to the
9938 BasicGraphicsUtils method.
9939 (paint): Let HTML view paint the text, if present.
9940 * javax/swing/plaf/basic/BasicButtonListener.java
9941 (propertyChange): Update the HTML view when the button's
9944 2006-08-04 Mario Torre <neugens@limasoftware.net>
9946 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9947 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9948 g_type_init earlier in function to correctly initialize the
9949 type system used by the backend.
9951 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9954 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9956 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9958 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9960 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9962 * gnu/xml/dom/DomIterator.java:
9963 (successor): Added if-statement.
9965 2006-08-04 Mark Wielaard <mark@klomp.org>
9967 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9969 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9971 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9972 (update): Check size and paint smaller gradient.
9973 * javax/swing/plaf/metal/MetalBorders.java:
9974 (MenuBarBorder): Removed borderColor field.
9975 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9978 2006-08-03 Roman Kennke <kennke@aicas.com>
9981 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9982 (ComponentHandler.componentResized): Reimplemented to handle
9984 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9985 component listener on changed ancestor.
9986 (installListeners): Install componentListener.
9987 (uninstallListeners): Uninstall componentListener.
9989 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9991 * StrictMath.java (cbrt): Return argument if it is a NaN.
9996 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9998 * java/lang/StrictMath.java (tanh): New method.
10000 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
10002 * scripts/import-cacerts.sh: Batch CA certificates import script.
10004 2006-08-03 Roman Kennke <kennke@aicas.com>
10007 * javax/swing/plaf/basic/BasicListUI.java
10008 (paintCell): Pass row index to cell renderer.
10009 * javax/swing/plaf/basic/MetalFileChooserUI.java
10010 (DirectoryComboBoxRenderer.indentIcon): New field.
10011 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10012 Initialize indentIcon.
10013 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10014 Fall back to super and removed standard functionality.
10015 Handle indentation.
10016 (IndentIcon): New class. Wraps and indents another icon.
10018 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10020 * javax/management/MBeanConstructorInfo.java:
10021 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10022 Copy array rather than directly assigning.
10023 * javax/management/MBeanInfo.java:
10024 (MBeanInfo(String,String,MBeanAttributeInfo[],
10025 MBeanConstructorInfo[], MBeanOperationInfo[],
10026 MBeanNotificationInfo[])): Likewise.
10027 * javax/management/MBeanOperationInfo.java:
10028 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10030 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10031 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10033 * javax/management/openmbean/OpenMBeanInfo.java:
10034 Corrected documentation.
10035 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10037 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10038 Corrected documentation.
10039 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10041 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10042 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10043 Call other constructor rather than reimplementing.
10045 2006-08-02 Lillian Angel <langel@redhat.com>
10047 * java/awt/dnd/DragSource.java
10048 (isDragImageSupported): Implemented.
10049 (getDragThreshold): Changed default value.
10050 * java/awt/dnd/DropTarget.java
10051 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10052 (DropTarget): Likewise.
10053 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10054 (addDropTargetListener): Added check to determine if new DropTargetListener
10055 is this class. If so, an IllegalArgumentException is thrown. If the
10056 new listener is null, nothing happens.
10058 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10060 * configure.ac (MOZILLA_FOUND): Fall back to
10061 mozilla-firefox-plugin.
10063 2006-08-02 Sven de Marothy <sven@physto.se>
10065 * java/awt/geom/AffineTransform.java
10066 (hashCode): Tweak impl.
10067 * java/awt/font/FontRenderContext.java
10068 (hashCode): Implement.
10070 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10072 * java/lang/StrictMath.java (sinh): New method.
10074 2006-08-02 Roman Kennke <kennke@aicas.com>
10077 * javax/swing/JComboBox.java
10078 (setSelectedItem): Fire ActionEvent here.
10079 * javax/swing/plaf/basic/BasicDirectoryModel.java
10080 (directories): Changed to type Vector.
10081 (files): New field.
10082 (loadThread): New field.
10083 (DirectoryLoadThread): New inner class. This loads the contents
10084 of directories asynchronously.
10085 (getDirectories): Return cached Vector.
10086 (getFiles): Return cached Vector.
10087 (getSize): Return plain size of contents Vector.
10088 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10089 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10090 (sort): Don't store sorted list in contents. This must be done
10091 asynchronously from the EventThread.
10092 (validateFileCache): Rewritten for asynchronous reading
10093 of directory contents.
10094 * javax/swing/plaf/basic/BasicFileChooserUI.java
10095 (installListeners): Install model as PropertyChangeListener.
10096 (uninstallListeners): Uninstall model as PropertyChangeListener.
10097 (createPropertyChangeListener): Return null just like the
10100 2006-08-02 Sven de Marothy <sven@physto.se>
10102 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10103 (remove): Force event on removing item 0 when it's selected.
10104 (handleEvent): Always call Choice.selected().
10105 * java/awt/Choice.java:
10106 (remove): Simplify and correct.
10108 2006-08-02 Mark Wielaard <mark@klomp.org>
10111 * configure.ac (gconf-peer): Check for gdk-2.0.
10112 * native/jni/gconf-peer/Makefile.am
10113 (AM_LDFLAGS): Use GDK_LIBS.
10114 (AM_CFLAGS): Use GDK_CFLAGS.
10116 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10118 * java/net/URL.java (getContent(Class[])): Implement.
10120 2006-08-02 Roman Kennke <kennke@aicas.com>
10123 * javax/swing/JMenu.java
10124 (JMenu()): Removed setting of delay.
10125 (JMenu(String)): Removed setting of delay.
10126 (JMenu(Action)): Removed setting of delay.
10127 (JMenu(String,boolean)): Removed setting of delay.
10128 (setSelectedHelper): Removed unneeded method.
10129 (setSelected): Simply set the model state.
10130 (setPopupMenuVisible): Recognize the popup location
10131 determined by getPopupMenuOrigin().
10132 (getPopupMenuOrigin): Recognize the UI properties for
10134 (menuSelectionChanged): Call setSelected() directly.
10135 * javax/swing/JPopupMenu.java
10136 (menuSelectionChanged): If invoker is a JMenu, then delegate
10137 to that to get the position right.
10138 * javax/swing/Popup.java
10139 (LightweightPopup.show): Insert the popup as first component
10140 in the layer, so that it overlaps it's caller.
10141 * javax/swing/plaf/basic/BasicMenuItemUI.java
10142 (getPath): Don't include the popup.
10143 * javax/swing/plaf/basic/BasicMenuUI.java
10144 (SelectMenuAction): New class. This invokes the popup when
10145 a menu is selected.
10146 (installDefaults): Install delay of 200 ms.
10147 (setupPostTimer): Implemented.
10148 (MouseInputHandler.mouseClicked): Do nothing here.
10149 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10150 magic to handle the selection. Open the menu via a timer.
10151 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10152 magic to handle the selection. Open the menu via a timer.
10153 (MenuDragMouseHandler.menuMouseDragged): Probably use
10155 (menuDragMouseEntered): Do nothing here.
10157 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10159 * javax/management/openmbean/InvalidOpenTypeException.java,
10160 * javax/management/openmbean/KeyAlreadyExistsException.java:
10163 2006-08-02 Roman Kennke <kennke@aicas.com>
10166 * javax/swing/plaf/basic/BasicChooserUI.java
10167 (BasicFileView.getName): Fetch the real name from the
10168 file chooser's FileSystemView.
10169 * javax/swing/plaf/metal/MetalChooserUI.java
10170 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10171 Set the text fetched from the JFileChooser.getName().
10172 * javax/swing/FileSystemView.java
10173 (createFileObject): When file is a filesystem root,
10174 create a filesystem root object first.
10175 (getSystemDisplayName): Return the filename. Added specnote
10176 about ShellFolder class that is mentioned in the spec.
10177 * javax/swing/UnixFileSystemView.java
10178 (getSystemDisplayName): Implemented to return the real name
10179 of a file, special handling files like '.' or '..'.
10181 2006-08-03 Mark Wielaard <mark@klomp.org>
10183 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10185 2006-08-03 Roman Kennke <kennke@aicas.com>
10188 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10189 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10190 components when visual property chanegs.
10192 2006-08-03 Roman Kennke <kennke@aicas.com>
10195 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10196 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10197 component when visual properties change.
10199 2006-08-03 Roman Kennke <kennke@aicas.com>
10202 * javax/swing/JTree.java
10203 (JTree(TreeModel)): Set cell renderer to null.
10204 * javax/swing/plaf/basic/BasicTreeUI.java
10205 (setCellRenderer): Finish editing before setting the
10206 cell renderer. Refresh the layout. Don't set the
10207 currentCellRenderer field here (that's done in updateRenderer).
10208 (updateRenderer): Handle createdRenderer field here too.
10209 Set renderer to a default handler when the current renderer
10210 in the JTree is null.
10212 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10215 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10217 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10220 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10221 Updated documentation to clarify that RFC-2459 states that the parameters
10222 field of the AlgorithmIdentifier element MUST be NULL if present.
10223 Amended the code to reflect the specs.
10224 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10226 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10228 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10229 Call parameter 'defaultValue' not 'defValue'.
10231 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10233 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10236 2006-08-01 Roman Kennke <kennke@aicas.com>
10239 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10240 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10241 components when visual property chanegs.
10243 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10245 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10246 (toString()): Corrected documentation.
10247 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10248 * javax/management/openmbean/OpenMBeanInfo.java,
10249 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10251 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10252 (toString()): Corrected documentation.
10254 2006-08-01 Tania Bento <tbento@redhat.com>
10256 * java/awt/Choice.java
10257 (remove(int)): Added documentation.
10259 2006-08-01 Tania Bento <tbento@redhat.com>
10261 * java/awt/Choice.java
10262 (remove(int)): An IllegalArgumentException should not be thrown
10263 if int is invalid. Update selectedIndex and peer selection.
10265 2006-08-01 Tania Bento <tbento@redhat.com>
10267 * java/awt/CardLayout.java
10268 (toString): Changed format of string outputted.
10269 (goToComponent): Changed the order of the if-clause.
10271 2006-07-31 Tom Tromey <tromey@redhat.com>
10273 * INSTALL: Updated for ASM.
10275 2006-07-31 Tom Tromey <tromey@redhat.com>
10278 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10279 (attachment): Likewise.
10280 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10282 (isValid): Likewise.
10283 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10285 (interestOps): Synchronize.
10286 (readyOps): Likewise.
10287 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10290 2006-07-31 Roman Kennke <kennke@aicas.com>
10292 * NEWS: Added note about the X peers.
10293 * INSTALL: Added install notes about the X peers.
10295 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10297 * StrictMath.java (getLowDWord): Return long instead of int.
10298 (getHighDWord): Likewise.
10299 (buildDouble): Take two long arguments.
10300 (cbrt): Adapted to int -> long change.
10304 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10306 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10309 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10311 * java/security/Provider.java: Updated copyright year.
10312 Updated documentation.
10314 (put): Updated documentation.
10315 Added security manager check.
10316 Canonicalize the key before adding its mapping.
10317 (get): Override superclass implementation to use canonicalized keys.
10318 (remove): Updated documentation.
10319 Added security manager check.
10320 Canonicalize the key before removing its mapping.
10321 (clear): Updated documentation.
10322 Added security manager check.
10323 (toCanonicalKey): New method.
10325 2006-07-30 Matt Wringe <mwringe@redhat.com>
10327 * gnu/java/security/Engine.java
10328 (getInstance): Ignore self referencing aliases.
10330 2006-07-30 Mark Wielaard <mark@klomp.org>
10332 * javax/swing/JComponent.java (getListeners): Revert
10335 2006-07-30 Mark Wielaard <mark@klomp.org>
10337 * resource/java/security/classpath.security: Add /dev/urandom as
10338 default securerandom.source.
10340 2006-07-30 Mark Wielaard <mark@klomp.org>
10342 * java/util/GregorianCalendar.java (maximums): Months can have up to
10344 (nonLeniencyCheck): weeks is either 5 or 6.
10346 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10348 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10349 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10352 2006-07-30 Matt Wringe <mwringe@redhat.com>
10354 * gnu/java/security/Engine.java
10355 (getInstance): Ignore self referencing aliases.
10357 2006-07-30 Sven de Marothy <sven@physto.se>
10359 * java/awt/Choice.java:
10360 (accessibleAction): Call select() directly.
10361 (add, insert, remove): Reimplement.
10362 (dispatchEventImpl): Always call super.
10363 (processItemEvent): Does not set the index.
10364 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10365 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10367 (nativeAdd): Name changed to add.
10368 (selection_changed_cb): Simplify callback.
10369 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10370 (selected): New field.
10371 (add): Replaced with native impl.
10372 (handleEvent): New method.
10374 2006-07-30 Sven de Marothy <sven@physto.se>
10376 * java/awt/Choice.java:
10377 Reformat, fix copyright year.
10379 2006-07-29 Mark Wielaard <mark@klomp.org>
10381 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10382 static field isPaintingDoubleBuffered to not have the same name
10385 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10387 * examples/gnu/classpath/examples/management/TestBeans.java:
10389 * javax/management/MBeanAttributeInfo.java:
10390 (toString()): Implemented.
10391 * javax/management/MBeanConstructorInfo.java:
10392 (toString()): Implemented.
10393 * javax/management/MBeanFeatureInfo.java:
10394 (toString()): Implemented.
10395 * javax/management/MBeanInfo.java:
10396 (toString()): Implemented.
10397 * javax/management/MBeanNotificationInfo.java:
10398 (toString()): Implemented.
10399 * javax/management/MBeanOperationInfo.java:
10400 (toString()): Implemented.
10401 * javax/management/MBeanParameterInfo.java:
10402 (toString()): Implemented.
10403 * javax/management/StandardMBean.java:
10404 (getMBeanInfo()): Fix attribute naming.
10406 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10408 * gnu/java/lang/management/BeanImpl.java:
10409 Extended javax.management.StandardMBean.
10410 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10411 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10412 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10413 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10414 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10415 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10416 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10417 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10418 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10419 Call the superclass with the appropriate class.
10420 * java/lang/management/ManagementFactory.java:
10421 (getOperatingSystemMXBean()): Catch exception from
10423 (getRuntimeMXBean()): Likewise.
10424 (getClassLoadingMXBean()): Likewise.
10425 (getThreadMXBean()): Likewise.
10426 (getMemoryMXBean()): Likewise.
10427 (getCompilationMXBean()): Likewise.
10428 (getMemoryPoolMXBeans()): Likewise.
10429 (getMemoryManagerMXBeans()): Likewise.
10430 (getGarbageCollectorMXBeans()): Likewise.
10431 * javax/management/MBeanFeatureInfo.java:
10432 hashCode()): Fixed to check for null values.
10434 2006-07-29 Matt Wringe <mwringe@redhat.com>
10436 * gnu/java/security/Engine.java
10437 (getInstance): Add case insentivity to algorithm names
10438 * java/security/Provider.java
10439 (put): Stop using canonical key naming
10441 (toCanonicalKey): Method removed
10442 (get): Method removed, no longer needs to overwrite
10443 parent implementation
10445 2006-07-29 Mark Wielaard <mark@klomp.org>
10447 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10448 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10449 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10450 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10451 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10452 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10455 2006-07-29 Sven de Marothy <sven@physto.se>
10457 * java/math/BigDecimal.java
10458 Adjust copyright date.
10459 (divide(BigDecimal): Implement.
10460 (precision): Reimplement.
10461 (numDigitsInBigInteger, numDigitsInLong): Removed.
10462 (toString): Get exponent from string length,
10463 fix negative values with exponential form.
10464 (toEngineeringString): Same as for toString.
10465 (setScale): Throw ArithmeticException if scale < 0.
10467 2006-07-27 Francis Kung <fkung@redhat.com>
10469 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10470 (cp1): Renamed from first().
10471 (c2): Renamed from last().
10472 (first): Renamed to cp1().
10473 (getDisplacedSegments): Implemented.
10474 (last): Renamed to cp2().
10475 * gnu/java/awt/java2d/LineSegment.java
10476 (cp1): Renamed from first().
10477 (c2): Renamed from last().
10478 (first): Renamed to cp1().
10479 (last): Renamed to cp2().
10480 * gnu/java/awt/java2d/QuadSegment.java
10481 (cp1): Renamed from first().
10482 (c2): Renamed from last().
10483 (first): Renamed to cp1().
10484 (last): Renamed to cp2().
10485 * gnu/java/awt/java2d/Segment.java: Added comments.
10486 (first): New field.
10487 (Segment): Keep track of first element in list.
10488 (add): Update first & last element variables.
10489 (cp1): Renamed from first().
10490 (c2): Renamed from last().
10491 (first()): Renamed to cp1() to reduce ambiguity.
10492 (last()): Renamed to cp2() to reduce ambiguity.
10493 (reverseAll): Update first element variable..
10494 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10495 (draw): Remove flattening path iterator.
10496 * java/awt/BasicStroke.java: Clarified comments.
10497 (addSegments): Refactored some code into joinSegments and
10499 (capEnd): Rename of Segment.first() and Segment.end().
10500 (joinInnerSegments): New method.
10501 (joinOuterSegments): New method.
10502 (joinSegments): Refactored some code into joinOuterSegments.
10503 (solidStroke): Connect segments together properly.
10505 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10507 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10509 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10511 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10513 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10516 2006-07-28 Tom Tromey <tromey@redhat.com>
10518 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10520 2006-07-28 Lillian Angel <langel@redhat.com>
10522 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10523 Removed function declarations.
10524 (connect_signals_for_widget): Removed implementation because
10525 stub functions have been removed.
10526 (drag_begin_cb): Removed function.
10527 (drag_motion_cb): Likewise.
10528 (drag_data_get_cb): Likewise.
10529 (drag_data_delete_cb): Likewise.
10530 (drag_drop_cb): Likewise.
10531 (drag_end_cb): Likewise.
10532 (drag_data_received_cb): Likewise.
10534 2006-07-28 Mark Wielaard <mark@klomp.org>
10536 * configure.ac: Set version to 0.93-pre.
10538 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10540 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10542 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10544 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10545 (getCallbackHandler): Fully qualify linked class in javadoc.
10546 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10547 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10548 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10550 2006-07-27 Tom Tromey <tromey@redhat.com>
10552 PR classpath/28486:
10553 * java/net/URLStreamHandler.java (equals): Properly handle default
10554 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10556 2006-07-27 Roman Kennke <kennke@aicas.com>
10558 * javax/swing/text/AbstractDocument.java
10559 (documentCV): Made field private.
10560 (bypass): Made field private.
10561 (bidiRoot): New field.
10562 (AbstractDocument): Initialize bidiRoot.
10563 (getBidiRootElement): Return bidiRoot.
10564 (getRootElements): Adjusted to also return the bidiRoot element.
10565 (BranchElement.startOffset): Removed unneeded field.
10566 (BranchElement.endOffset): Removed unneeded field.
10567 (BranchElement.BranchElement): Removed unneeded fields.
10568 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10569 done automatically when there's no element left in the array.
10570 (BranchElement.getStartOffset): Likewise.
10571 (BranchElement.replace): Reordered calculations to avoid double
10573 (removeImpl): Silently ignore requests with length <= 0.
10574 * javax/swing/text/GapContent.java
10575 (createPosition): Removed explicit check for correct offset.
10576 This class can deal with offsets outside the document.
10577 (shiftEnd): Update all positions, even those outside the
10579 (adjustPositionsInRange): Fixed to also adjust positions outside
10580 the document boundary.
10582 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10584 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10586 (getParameter): Returns _klass field instead of determining
10587 class from _instance.
10588 (setCatchLoc): New method.
10589 (writeData): Now assumes Location deals with empty locations instead of
10591 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10592 locations and write out accordingly.
10593 (getEmptyLocation): New method.
10595 2006-07-27 Roman Kennke <kennke@aicas.com>
10597 * javax/swing/text/SimpleAttributeSet.java
10598 (EMPTY): Use EmptyAttributeSet for this field rather than
10599 SimpleAttributeSet.
10600 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10601 an empty and immutable AttributeSet.
10603 2006-07-27 Roman Kennke <kennke@aicas.com>
10605 * java/awt/Component.java
10606 (reshape): Invalidate the component itself only when the
10607 size has changed. Invalidate the parent always. Fixed
10608 repainting. Pulled out the notification into
10610 (notifyReshape): New helper method. Notify interested listeners
10612 (update): Simply call paint() without clearing the background.
10613 This is done in Container.update() if appropriate.
10614 (repaint): Delagate the repaint to the nearest heavyweight
10615 parent (for lightweights) and send an UPDATE event, rather than
10616 calling ComponentPeer.repaint().
10617 * java/awt/Container.java
10618 (backCleared): Removed field.
10619 (paint): Removed handling of backCleared flag.
10620 (update): Only paint if the container is actually
10621 showing. Removed handling of backCleared flag.
10623 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10625 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10627 (NavigateAction): New inner class.
10628 (NavigatePageDownAction): New inner class.
10629 (NavigatePageUpAction): New inner class.
10630 (RequestFocusAction): New inner class.
10631 (RequestFocusForVisibleComponentAction): New inner class.
10632 (FocusHandler.focusGained): Implemented.
10633 (FocusHandler.focusLost): Implemented.
10634 (MouseHandler.mouseReleased): Implemented.
10635 (MouseHandler.mousePressed): Rewritten.
10636 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10637 currentScrollLocation to 0.
10638 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10639 removed local variables, fixed indentation to stay under 80 column
10641 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10642 one, set selectedIndex to 0 if its negative, corrected start values
10643 for normalization, suppressed padding when only one tab run,
10644 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10645 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10646 80 column limit, corrected the starting value for the bounds fixing
10648 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10649 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10650 selectedRun, set start index for loop to 0.
10651 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10652 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10653 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10654 alignment and visibility handling.
10655 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10657 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10658 (currentScrollOffset): New field.
10659 (tabRuns): Rewritten documentation.
10660 (selectedColor): New field.
10661 (tempTextRect): New field.
10662 (tempIconRect): New field.
10663 (scrollTab): New method.
10664 (updateButtons): New method.
10665 (updateViewPosition): New method.
10666 (createLayoutManager): Reordered method calls, predefine new fields,
10667 register proper listeners.
10668 (uninstallComponents): Implemented.
10669 (installDefaults): Corrected property names, fixed indentation,.
10670 (uninstallDefaults): Set new fields to null.
10671 (uninstallListeners): Remove listeners from components neccessary for
10672 scrolling tab layout.
10673 (installKeyboardActions): Implemented.
10674 (uninstallKeyboardActions): Implemented.
10675 (paint): Paint tab area background.
10676 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10678 (getTabLabelShiftX): Rewritten.
10679 (getTabLabelShiftY): Rewritten.
10680 (paintFocusIndicator): Reindented.
10681 (paintTabBorder): Rewritten.
10682 (paintTabBackground): Corrected color usage, rewritten background
10683 rectangle painting.
10684 (paintContentBorderTopEdge): Rewritten.
10685 (paintContentBorderBottomEdge): Rewritten.
10686 (paintContentBorderLeftEdge): Rewritten.
10687 (paintContentBorderRightEdge): Rewritten.
10688 (tabForCoordinate): Return selected index when no tab could be
10689 found, removed FIXME note.
10690 (getRunForTab): Changed return value for first if-statement.
10691 (navigateSelectedTab): Fixed last argument for both
10692 getTabRunOffset() calls.
10693 (selectedNextTabInRun): Added scrolling code.
10694 (selectedPreviousTabInRun): Added scrolling code.
10695 (selectedNextTab): Added scrolling code.
10696 (selectedPreviousTab): Added scrolling code.
10697 (selectAdjacentRunTab): Added scrolling code.
10698 (getTextViewForTab): Added FIXME note.
10699 (calculateTabHeight): Changed FIXME note.
10700 (getTabRunOffset): Fixed indentation.
10701 (getNextTabIndexInRun): Corrected return value.
10702 (rotateInsets): Make TOP case the default in switch-statement.
10703 (getActionMap): New method.
10704 (createActionMap): New method.
10705 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10706 (createLayoutManager): Rewritten.
10707 (paintLeftTabBorder): Do not paint left line when previous tab
10708 is selected but current tab is the first in its run, do not paint
10709 left line when current tab is selected and is first in its run.
10710 (paintRightTabBorder): Added missing setColor() call, fixed color
10711 usage, do not paint right line if previous tab is selected but
10712 current tab is the first in its run.
10713 (paintBottomTabBorder): Do not paint left line if tab is selected
10714 and is the first tab in the last run.
10715 (paintFocusIndicator): New method.
10716 (getLabelShiftX): New method.
10717 (getLabelShiftY): New method.
10719 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10721 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10722 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10723 g_assert from unused obj.
10724 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10725 obj as unused and remove g_assert on it.
10727 2006-07-26 Roman Kennke <kennke@aicas.com>
10729 * javax/swing/RepaintManager.java
10730 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10732 (isCompletelyDirty): Consider a component completely dirty
10733 when it has a dirty region with Integer.MAX_VALUE.
10735 2006-07-26 Roman Kennke <kennke@aicas.com>
10737 * java/awt/KeyboardFocusManager.java
10738 (getGlobalFocusOwner): Explicitly check for thread security.
10739 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10740 (getGlobalFocusedWindow): Explicitly check for thread security.
10741 (getGlobalActiveWindow): Explicitly check for thread security.
10742 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10743 (getGlobalObject): Added new argument for specifying if
10744 a security check should be performed or not.
10745 (setGlobalObject): Don't check for thread security when
10746 calling getGlobalObject.
10748 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10750 * javax/management/MBeanConstructorInfo.java:
10752 * javax/management/MBeanInfo.java:
10753 (MBeanInfo(String,String,MBeanAttributeInfo[],
10754 MBeanConstructorInfo[], MBeanOperationInfo[],
10755 MBeanNotificationInfo[])): Implemented.
10756 (equals(Object)): Likewise.
10757 (getAttributes()): Likewise.
10758 (getConstructors()): Likewise.
10759 (getOperations()): Likewise.
10760 (hashCode()): Likewise.
10761 * javax/management/MBeanOperationInfo.java,
10762 * javax/management/NotCompliantMBeanException.java,
10763 * javax/management/StandardMBean.java:
10766 2006-07-26 Sven de Marothy <sven@physto.se>
10768 * java/awt/geom/GeneralPath.java: Fix severe typo.
10770 2006-07-26 Sven de Marothy <sven@physto.se>
10772 * include/java_lang_VMSystem.h
10773 * vm/reference/java/lang/VMSystem.java
10774 * native/jni/java-lang/java_lang_VMSystem.c
10775 (nanoTime, currentTimeMillis): Switch the former to native code and
10776 the latter to java.
10778 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10780 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10781 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10782 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10783 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10784 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10785 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10786 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10787 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10788 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10789 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10790 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10791 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10792 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10793 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10794 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10795 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10796 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10797 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10798 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10799 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10800 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10802 2006-07-26 Roman Kennke <kennke@aicas.com>
10804 * java/awt/KeyboardFocusManager.java
10805 (getFocusOwner): Don't check permanent owner.
10806 (getGlobalFocusOwner): Don't check permanent owner.
10808 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10810 * StrictMath.java (cosh): New method.
10811 (expm1): New method.
10812 (EXPM1_Q1): New field.
10813 (EXPM1_Q2): Likewise.
10814 (EXPM1_Q3): Likewise.
10815 (EXPM1_Q4): Likewise.
10816 (EXPM1_Q6): Likewise.
10818 2006-07-26 Roman Kennke <kennke@aicas.com>
10820 * javax/swing/plaf/basic/BasicButtonListener.java
10821 (mousePressed): Request focus if appropriate.
10822 * javax/swing/text/DefaultCaret.java
10823 (mousePressed): Also handle the focus of the text component
10824 as specified. Don't consume events.
10826 2006-07-26 Roman Kennke <kennke@aicas.com>
10828 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10829 (focusRequest): Removed field.
10830 (postFocusEvent(int,boolean,Component)): Removed.
10831 (postFocusEvent(int,boolean)): Reverted to post event using
10832 the heavyweight component.
10833 (requestFocus): Post focus event using the heavyweight
10835 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10836 (requestFocus): Post focus event using the heavyweight
10838 * java/awt/AWTEvent.java
10839 (isFocusManagerEvent): New field, indicating if this is
10840 an event that is redispatched by the KeyboardFocusManager.
10841 * java/awt/Component.java
10842 (requestFocusImpl): Register component for
10843 heavyweight->lightweight mapping.
10844 (dispatchEventImpl): Retarget focus events before dispatching
10845 to the KeyboardFocusManager. Use new AWTEvent flag instead
10846 of locking hack. Dispatch all events through the
10847 KeyboardFocusManager. Don't request focus on lightweight
10849 * java/awt/DefaultKeyboardFocusManager.java
10850 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10852 (handleFocusGained): Fixed handling of temporary vs permanent
10853 focus changes. Added some checks.
10854 (handleFocusLost): Fixed handling of temporary vs permanent
10855 focus changes. Added some checks.
10856 * java/awt/EventDispatchThread.java
10857 (run): Don't dispatch to KeyboardFocusManager here. This
10858 is done in Component.dispatchEventImpl().
10859 * java/awt/KeyboardFocusManager.java
10860 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10861 (focusRequests): New field.
10862 (retargetFocusEvent): New method. Retargets focus events
10863 that come from heavyweights to the correct lightweight component.
10864 (addLightweightFocusRequest): New method. Stores a mapping
10865 for later retargetting of heavyweight focus events.
10866 * java/awt/Window.java
10867 (addFocusListener): Removed bogus method. If at all, this
10868 should be performed in the KeyboardFocusManager.
10869 (Window): Don't install a focus listener on the Window.
10871 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10873 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10874 (drawLine): Apply shift to line coordinates.
10876 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10878 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10879 (copyimage): Do not call setRenderingHints() when the respective map
10881 (filter): Removed code to clone the ColorModel instance.
10882 * java/awt/image/ColorModel.java:
10883 (cloneColorModel): Removed.
10885 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10887 * javax/swing/JTabbedPane.java:
10888 (setSelectedIndex): Removed updating of component visibility status,
10890 (remove(Component)): Use indexOfComponent() to find whether we have
10891 to use super.remove(int) or removeTabAt().
10893 2006-07-26 Roman Kennke <kennke@aicas.com>
10895 * javax/swing/JOptionPane.java
10896 (createDialog): Add property change handler for closing
10897 the dialog when the value property changes.
10898 (ValuePropertyHandler): New inner helper class.
10899 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10900 (OptionPaneCloseAction): New class.
10901 (messageForeground): Removed field.
10902 (messageBorder): Removed field.
10903 (buttonBorder): Removed field.
10904 (addIcon): Configure the new label.
10905 (addMessageComponents): Configure newly created labels.
10906 (burstStringInto): Likewise.
10907 (createButtonArea): Install border here.
10908 (createMessageArea): Install border and foreground here.
10909 (createSeparator): Added comment and removed
10910 NotImplementedException.
10911 (installComponents): Don't install the UI defaults for the
10912 message and button area here. This is moved to the
10913 corresponding create* methods. Adjusted comment about
10915 (installDefaults): Removed initialization of removed fields.
10916 (installKeyboardActions): Implemented.
10917 (getActionMap): New helper method.
10918 (createDefaultActions): New helper method.
10919 (uninstallDefaults): Removed de-initialization of removed fields.
10920 (uninstallKeyboardActions): Implemented.
10921 (configureLabel): New helper method.
10922 * javax/swing/plaf/basic/BasicTableUI.java
10923 (getActionMap): Fixed the UI property names.
10924 * javax/swing/plaf/basic/BasicToolBarUI.java
10925 (getActionMap): Fixed the UI property names.
10927 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10929 * java/awt/image/BandedSampleModel.java
10930 (getDataElements): Check for negative x or y,
10931 (getPixels): Likewise,
10932 (getSamples): Likewise,
10933 (setSamples): Likewise.
10935 2006-07-26 Roman Kennke <kennke@aicas.com>
10937 * javax/swing/plaf/basic/BasicToolBarUI.java
10938 (ToolBarAction): New inner class for handling keyboard
10940 (installKeyboardActions): Implemented.
10941 (getActionMap): New helper method.
10942 (createDefaultActions): New helper method.
10943 (installListeners): Install focus listener on toolbar's
10944 children, rather than the toolbar itself.
10945 (navigateFocusedComp): Implemented.
10946 (uninstallKeyboardActions): Implemented.
10947 (uninstallListeners): Uninstall focus listener from
10948 toolbar's children, rather than the toolbar itself.
10949 (ToolBarContListener.componentAdded): Install focus
10950 listener on added child.
10951 (ToolBarContListener.componentRemoved): Uninstall focus
10952 listener from removed child.
10953 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10954 (ToolBarFocusListener.focusGained): Implemented.
10955 (ToolBarFocusListener.focusLost): Implemented.
10957 2006-07-26 Roman Kennke <kennke@aicas.com>
10959 * java/awt/DefaultKeyboardFocusManager.java
10960 (dispatchEvent): Notify old focus owner when it has lost
10963 2006-07-26 Roman Kennke <kennke@aicas.com>
10965 * javax/swing/plaf/basic/BasicTableUI.java
10966 (FocusHandler.focusGained): Implemented to refresh the
10968 (FocusHandler.focusLost): Implemented to refresh the
10970 (FocusHandler.repaintLeadCell): New helper method.
10971 (MouseInputHandler.mouseEntered): Do nothing here.
10972 (MouseInputHandler.mouseExited): Do nothing here.
10973 (MouseInputHandler.mouseMoved): Do nothing here.
10974 (installKeyboardActions): Rewritten to use a shared InputMap
10975 and ActionMap and correctly install the maps via SwingUtilities
10977 (getActionMap): New helper method.
10978 (createDefaultActions): New helper method.
10979 (ActionListenerProxy): Removed unneeded class.
10980 (TableAction): Made class static.
10981 (TableAction.actionPerformed): Determine table by fetching
10982 the event source. Pass the table to helper methods.
10983 Use __command__ hack to determine the action command.
10984 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10985 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10986 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10987 (TableAction.getLastVisibleRowIndex): Get table as argument.
10988 (TableAction.advanceMultipleSelection): Get table as argument.
10989 (uninstallDefaults): Do nothing here.
10990 (uninstallKeyboardActions): Uninstall the keyboard actions.
10992 2006-07-26 Roman Kennke <kennke@aicas.com>
10994 * javax/swing/JComponent.java
10995 (processKeyBinding): Store the action command as property
10996 in the Action instance that we call. This allows for
10997 improvement on the side of the Action.
10999 2006-07-26 Roman Kennke <kennke@aicas.com>
11001 * javax/swing/plaf/metal/MetalUtils.java
11002 (fillMetalPattern): Use fillRect() instead of drawLine() to
11003 fill single pixels.
11005 2006-07-26 Roman Kennke <kennke@aicas.com>
11007 * javax/swing/text/GapContent.java
11008 (getChars): Check for negative length and throw
11009 BadLocationException.
11011 2006-07-26 Roman Kennke <kennke@aicas.com>
11013 * javax/swing/plaf/basic/BasicMenuBarUI.java
11014 (FocusAction): Made class static.
11016 2006-07-26 Roman Kennke <kennke@aicas.com>
11018 * javax/swing/plaf/basic/BasicLookAndFeel.java
11019 (initComponentDefaults): Add keyboard bindings for
11022 2006-07-26 Roman Kennke <kennke@aicas.com>
11024 * javax/swing/UIManager.java
11025 (getLookAndFeelDefaults): Return the look and feel defaults.
11026 (setLookAndFeel): Improved exception messsage.
11028 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11030 * javax/swing/text/StringContent.java
11031 (StringContent): Changed initialLength to 10.
11033 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11035 * java/util/Vector.java: Fixed API doc typo.
11037 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11039 * java/awt/image/BandedSampleModel.java
11040 (createCompatibleSampleModel): Fixed typo in loop increment, set
11041 correct scanlineStride, and updated API docs.
11043 2006-07-25 Roman Kennke <kennke@aicas.com>
11045 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11046 (NavigateAction): New inner class. This is responsible for
11047 keyboard navigation through menus.
11048 (KeyboardHelper): New inner class. This manages the
11049 keyboard mappings and focus when a popup opens or closes.
11050 (keyboardHelper): New static field.
11051 (numPopups): New static field.
11052 (installUI): Create KeyboardHelper for first popup.
11053 Call installKeyboardActions().
11054 (installKeyboardActions): Removed NotImplementedException.
11055 This method is a no-op.
11056 (installKeyboardActionsImpl): New method. Installs keyboard
11057 mapping when a popup is opened.
11058 (getActionMap): New helper method.
11059 (createDefaultActions): New helper method.
11060 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11061 uninstalled. Call uninstallKeyboardActions().
11062 (uninstallKeyboardActions): Removed NotImplementedException.
11063 This method is a no-op.
11064 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11065 mapping when a popup is closed.
11067 2006-07-25 Roman Kennke <kennke@aicas.com>
11069 * java/awt/Component.java
11070 (requestFocus()): Reimplemented to use requestFocusImpl().
11071 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11072 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11073 (requestFocusInWindow(boolean)): Reimplemented to use
11074 requestFocusImpl().
11075 (requestFocusImpl): Reimplemented focus request to use
11076 new peer method. Also added some obvious additional checks
11077 for rejecting focus requests early.
11078 * java/awt/ComponentPeer.java
11079 (requestFocus(Component,boolean,boolean,long)): Documented
11081 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11082 (requestFocus): New field.
11083 (gtkWidgetHasFocus): New native method.
11084 (gtkWidgetCanFocus): New native method.
11085 (requestFocus): Replaced with assert false to prevent
11086 usage of obsolete method.
11087 (postFocusEvent(int,boolean,Component)): New overloaded method
11088 for posting the focus event to a specific target.
11089 (postFocusEvent(int,boolean)): Post event to requestFocus
11091 (requestFocus(Component,boolean,boolean,long)): Implemented.
11092 (getWindowFor): New helper method.
11093 (isLightweightDescendant): New helper method.
11094 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11095 (gtkWindowHasFocus): New native method.
11096 (requestFocus(Component,boolean,boolean,long)): New method.
11097 Overrides GtkComponentPeer method to specially handly the
11098 case when a Window receives a focus request for a lightweight
11100 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11101 (gtkWidgetHasFocus): New native method.
11102 (gtkWidgetCanFocus): New native method.
11103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11104 (gtkWindowHasFocus): New native method.
11105 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11106 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11109 2006-07-25 Francis Kung <fkung@redhat.com>
11111 * java/awt/DefaultKeyboardFocusManager.java
11112 (dispatchEvent): Add check for valid component.
11114 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11116 * javax/management/MBeanConstructorInfo.java:
11118 * javax/management/MBeanNotificationInfo.java:
11120 * javax/management/MBeanParameterInfo.java:
11123 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11125 * java/awt/peer/gtk/CairoGraphics.java:
11126 (drawLine): Added special case for 1 pixel lines.
11128 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11131 * java/awt/peer/gtk/CairoGraphics.java:
11132 (drawLine): Removed calls to shifted().
11134 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11136 * javax/swing/JTabbedPane.java:
11137 (remove(Component)): Rewritten.
11138 (setSelectedIndex): Implemented updating of component visibility state.
11140 2006-07-25 Sven de Marothy <sven@physto.se>
11142 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11143 (init): Default to the actual depth in the worst case.
11145 * java/awt/Font.java
11146 (createFont(int, File)): New method.
11148 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11151 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11153 (RETokenEnd): New constructer to set check_java_line_terminators.
11154 (matchThis): Checck line terminators if check_java_line_terminators.
11155 * gnu/java/util/regex/RETokenStart.java: Likewise.
11156 * gnu/regexp/RE.java(initialize): Use the new constructors for
11157 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11158 * java/util/regex/Pattern.java(Patteren): Changed so that
11159 gnu/regexp/RE.java may use the new the new constructors.
11161 2006-07-25 Roman Kennke <kennke@aicas.com>
11163 * java/awt/Container.java
11164 (focusTraversalPolicyProvider): New field.
11165 (isFocusTraversalPolicyProvider): New method.
11166 (setFocusTraversalPolicyProvider): New method.
11167 * java/awt/ContainerOrderFocusTraversalPolicy.java
11168 (getFirstComponent): Use accept() instead of lengthy checks.
11169 Don't fetch getComponents() to avoid copying of array.
11170 Traverse down the hierarchy to find the first focused component.
11171 * java/awt/DefaultKeyboardFocusManager.java
11172 (dispatchEvent): Let the initial component request focus.
11174 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11176 * javax/swing/text/Segment.java
11177 (last): Update current index before returning DONE for zero count.
11179 2006-07-24 Mark Wielaard <mark@klomp.org>
11181 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11183 2006-07-25 Roman Kennke <kennke@aicas.com>
11185 * javax/swing/plaf/basic/BasicMenuBarUI.java
11186 (FocusAction): New inner class. Used to grab focus.
11187 (installKeyboardActions): Implemented.
11188 (uninstallKeyboardActions): Implemented.
11189 (getActionMap): New helper method.
11190 (createDefaultActions): New helper method.
11192 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11194 * examples/gnu/classpath/examples/swing/Demo.java:
11195 (mkMenuBar): Install instantiable basic look and feel.
11196 (InstantiableBasicLookAndFeel): New inner class.
11198 2006-07-25 Roman Kennke <kennke@aicas.com>
11200 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11201 (GlassPaneDispatcher.dragTarget): New field.
11202 (GlassPaneDispatcher.isDragging): New field.
11203 (GlassPaneDispatcher.pressedComponent): Removed field.
11204 (GlassPaneDispatcher.tempComponent): Removed field.
11205 (GlassPaneDispatcher.pressCount): Removed field.
11206 (GlassPaneDispatcher.mousePressed): Call
11207 borderListener.mousePressed() to activate the frame.
11208 (acquireComponentForMouseEvent): Removed method.
11209 (handleEvent): Rewritten.
11210 (redispatch): New method.
11211 (InternalFramePropertyChangeListener.propertyChange):
11212 Make glasspane invisible when frame is selected, and visible
11213 if it gets deselected.
11215 2006-07-25 Roman Kennke <kennke@aicas.com>
11217 * java/awt/LightweightDispatcher.java
11218 (handleMouseEvent): Dispatch event to real target if
11219 the dragTarget has become invisible in the meantime.
11221 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11223 * javax/swing/text/TabSet.java
11224 (equals): New method override for 1.5,
11225 (hashCode): Likewise,
11226 (toString): Added spaces to match reference implementation.
11228 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11230 * javax/management/IntrospectionException.java,
11231 * javax/management/MBeanAttributeInfo.java:
11233 * javax/management/MBeanNotificationInfo.java:
11234 Documentation cleanups.
11236 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11238 * javax/swing/text/TabSet.java
11239 (TabSet): Check for null argument,
11240 (getTab): Throw IllegalArgumentException for index out of bounds,
11241 (getTabIndexAfter): Changed test to '<=',
11242 and updated API docs all over,
11243 * javax/swing/text/TabStop.java: Updated API docs.
11245 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11247 * javax/swing/text/TabStop.java
11248 (toString): Don't use 'left ' prefix, and added space between tab
11249 location and '(w/leader)' suffix.
11251 2006-07-24 Francis Kung <fkung@redhat.com>
11253 * javax/swing/JComboBox.java
11254 (DefaultKeySelectionManager): Implemented.
11255 (createDefaultKeySelectionManager): Implemented.
11256 (getKeySelectionManager): Implemented.
11257 (processKeyEvent): Removed duplicate code.
11258 * javax/swing/JPopupMenu.java
11259 (selectionModel): Changed visibility.
11260 * javax/swing/plaf/basic/BasicComboBoxUI.java
11261 (KeyHandler.keyPressed): Added navigation keys.
11262 (configureEditor): Add key listener.
11263 (installListeners): Install focus listener to combo box.
11264 (isNavigationKey): Added enter, escape, and tab.
11265 (selectPreviousPossibleValue): Added out of bounds check.
11266 (unconfigureEditor): Remove key listener.
11267 * javax/swing/plaf/metal/MetalComboBoxButton.java
11268 (paintComponent): Highlight combo box when in focus.
11270 2006-07-24 Roman Kennke <kennke@aicas.com>
11272 * javax/swing/SwingUtilities.java
11273 (isLeftMouseButton): Fixed condition.
11274 * java/awt/LightweightDispatcher.java
11275 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11278 2006-07-24 Roman Kennke <kennke@aicas.com>
11280 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11281 (setPaint): Fixed scaleX and scaleY.
11283 2006-07-24 Roman Kennke <kennke@aicas.com>
11285 * javax/swing/JTable.java
11286 (handleInsert): Repaint the whole table for variable row
11287 height tables and an optimized region otherwise.
11288 (handleDelete): Likewise.
11289 (handleUpdate): Likewise.
11291 2006-07-24 Mario Torre <neugens@limasoftware.net>
11293 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11294 now explicity registerListeners on GtkMouseDragGestureRecognizer
11296 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11297 (unregisterListeners): new method, overrided from base class
11298 to rise visibility (from protected to public).
11299 (registerListeners): Likewise.
11300 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11301 removed call to registerListeners from the constructor.
11303 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11305 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11306 * java/lang/management/MemoryPoolMXBean.java:
11307 (getType()): Changed return type to MemoryType.
11308 * java/lang/management/MemoryType.java:
11311 2006-07-23 Mark Wielaard <mark@klomp.org>
11313 * configure.ac: Check for moc and moc-qt4.
11315 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11317 * java/awt/image/Kernel.java: API doc updates.
11319 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11321 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11324 2006-07-22 Mark Wielaard <mark@klomp.org>
11326 * java/lang/Iterable.java: Import all of java.util.
11327 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11328 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11330 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11332 * doc/vmintegration.texinfo:
11333 Document getType(String).
11334 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11335 * java/lang/management/MemoryPoolMXBean.java:
11336 (getType()): Implemented.
11337 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11338 (getType(String)): Implemented.
11340 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11342 * doc/vmintegration.texinfo:
11343 Move end of itemization block.
11345 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11347 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11348 (initComponentDefaults): Added new properties, added comments.
11350 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11352 * doc/vmintegration.texinfo:
11353 Mention callback methods.
11354 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11355 (fireNotification(String,String,long,long,long,long,long)):
11356 Made package-private.
11357 (fireThresholdExceededNotification(String,long,long,long,
11358 long,long)): Likewise.
11359 (fireCollectionThresholdExceededNotification(String,long,
11360 long,long,long,long)): Likewise.
11361 * java/lang/management/MemoryMXBean.java:
11362 Document notifications.
11364 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11366 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11367 (fireNotification(String,String,long,long,long,long,long)):
11369 (fireThresholdExceededNotification(String,long,long,long,
11370 long,long)): Likewise.
11371 (fireCollectionThresholdExceededNotification(String,long,
11372 long,long,long,long)): Likewise.
11373 * java/lang/management/MemoryNotificationInfo.java:
11374 Use composite type from MemoryMXBeanImpl.
11375 * javax/management/openmbean/CompositeData.java:
11376 Correct documentation.
11377 * javax/management/openmbean/CompositeDataSupport.java,
11378 * javax/management/openmbean/InvalidKeyException.java:
11381 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11383 * gnu/java/security/util/IntegerUtil.java: New file.
11385 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11388 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11389 (KEY_SIZE): Likewise.
11390 (adjustParity(int,byte[],int): New method.
11391 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11392 (isParityAdjusted(int,byte[],int)): New method.
11393 (isParityAdjusted): Call above method with 3 as 1st argument.
11394 (keySizes): Add 8 and 16 as other valid key sizes.
11395 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11397 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11399 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11400 code for the pixel swap routine to be more efficient.
11402 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11404 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11405 (lastIndexOf(E, int)): Likewise.
11406 (add(E)): Increase the size of newData array by one.
11407 (add(int, E)): Likewise.
11409 2006-07-20 Lillian Angel <langel@redhat.com>
11411 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11412 Removed unused fields.
11413 (GtkMouseDragGestureRecognizer): Removed initializations.
11415 2006-07-20 Lillian Angel <langel@redhat.com>
11417 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11418 (GtkMouseDragGestureRecognizer): New constructor.
11419 (GtkMouseDragGestureRecognizer): New constructor.
11420 (GtkMouseDragGestureRecognizer): New constructor.
11421 (mouseClicked): Removed FIXME.
11422 (mousePressed): Implemented.
11423 (mouseReleased): Implemented.
11424 (mouseEntered): Implemented.
11425 (mouseDragged): Implemented to check mouse point and trigger origin.
11426 (mouseMoved): Removed FIXME.
11427 (getDropActionFromEvent): New helper function used to convert mouse event
11428 modifiers to a drop action.
11429 * java/awt/dnd/DragSource.java
11430 (getDragThreshold): Changed to return some arbitrary value for testing
11433 2006-07-20 Roman Kennke <kennke@aicas.com>
11435 * java/awt/LightweightDispatcher.java
11436 (findTarget): Also consider components that have their eventMask
11437 set, for compatibility with stonage AWT. Optimized check
11439 (handleMouseEvent): Likewise.
11441 2006-07-20 Roman Kennke <kennke@aicas.com>
11443 * javax/swing/JTable.java
11444 (tableChanged): Split out handling of the event into multiple
11446 (handleCompleteChange): New method. Clear the selection and
11447 check the lead/anchor indices.
11448 (handleInsert): New method. Check the lead/anchor indices.
11449 Optimized repainting.
11450 (handleDelete): New method. Check the lead/anchor indices.
11451 Optimized repainting.
11452 (handleUpdate): New method. Optimized repainting.
11453 (checkSelection): New helper method.
11454 (setSelectionModel): Update lead/anchor indices.
11456 2006-07-20 Lillian Angel <langel@redhat.com>
11459 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11460 (dispose): Reset all fields.
11462 2006-07-20 Roman Kennke <kennke@aicas.com>
11464 * gnu/java/awt/peer/x/XToolkit.java
11465 (createImage(InputStream)): Only copy image to Pixmap if
11466 it's actually opaque. Transparent images are left as
11467 BufferedImage and composited later onto the screen.
11468 * gnu/java/awt/peer/x/XGraphics.java
11469 (XGraphics): Fetch some parameters for image rendering.
11470 (drawImage): Added special handling of transparent images.
11471 (getRGB): New helper method.
11472 (setRGB): New helper method.
11474 2006-07-20 Roman Kennke <kennke@aicas.com>
11476 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11477 ImageInputStreams as normal InputStreams.
11478 * gnu/javax/imageio/gif/GIFStream.java:
11479 Moved to gnu/javax/imageio/IIOInputStream.java.
11480 * gnu/javax/imageio/gif/GIFImageReader.java
11481 (readImage): Use IIOInputStream.
11482 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11483 (canDecodeInput): Use IIOInputStream.
11484 * gnu/javax/imageio/png/PNGException.java: Make subclass
11486 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11487 Implements the ImageIO ImageReader for PNG.
11488 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11489 Implements the ImageIO ImageReaderSpi for PNG.
11490 * javax/imageio/spi/IIORegistry.java:
11491 (IIORegistry): Add PNGImageReaderSpi.
11493 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11495 * java/awt/image/ComponentSampleModel.java
11496 (getPixel): Added argument check,
11497 (getSample): Modified exception message.
11499 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11502 * java/awt/image/ConvolveOp.java
11503 (filter(Raster, WritableRaster)): Reimplemented,
11504 (fillEdge): New private method.
11506 2006-07-19 Keith Seitz <keiths@redhat.com>
11508 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11509 (JVMTI_VERSION): Define.
11511 2006-07-19 Roman Kennke <kennke@aicas.com>
11513 * resource/gnu/regexp/MessagesBundle.properties,
11514 * resource/gnu/regexp/MessagesBundle_fr.properties,
11515 * resource/gnu/regexp/MessagesBundle_it.properties:
11516 Moved to resource/gnu/java/util/regex.
11517 * resource/gnu/java/util/regex/MessagesBundle.properties,
11518 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11519 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11521 * gnu/java/util/regex/RE.java
11522 Use new resource bundle location.
11524 2006-07-19 Roman Kennke <kennke@aicas.com>
11526 * javax/swing/JComponent.java
11527 (paintChildren): Refactored. The paintChildrenOptimized method
11528 has been moved back in here. Added locking of the tree and
11529 only check for completely obscured child components
11530 when not optimized drawing enabled. Use Graphics.create() to
11531 protect from irreversible changes.
11532 (isCompletelyObscured): New helper method.
11533 (paintComponent): Also use Graphics.create() for Graphics2D,
11534 to protect from irreverible changes.
11535 (clipAndTranslateGraphics): Refactored to use more efficient
11536 iterative (vs recursive) approach.
11537 * javax/swing/RepaintManager.java
11538 (getOffscreenBuffer): Create image from root component.
11540 2006-07-19 Roman Kennke <kennke@aicas.com>
11542 * gnu/java/awt/peer/x/XGraphics.java
11543 (translate): Don't set the clip on the X server.
11544 (clipRect): Use setXClip() to set the clip on the X server.
11545 (hitClip): More efficient and correct implementation.
11546 (setClip): Use setXClip() to set the clip on the X server.
11547 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11548 (copyArea): Translate and clip the source rectangle correctly.
11549 (dispose): Only flush when object is not yet disposed.
11550 (clone): Use setXClip() to set the clip on the X server.
11552 2006-07-19 Sven de Marothy <sven@physto.se>
11554 * gnu/javax/imageio/png/PNGChunk.java,
11555 * gnu/javax/imageio/png/PNGData.java,
11556 * gnu/javax/imageio/png/PNGDecoder.java,
11557 * gnu/javax/imageio/png/PNGEncoder.java,
11558 * gnu/javax/imageio/png/PNGException.java,
11559 * gnu/javax/imageio/png/PNGFile.java,
11560 * gnu/javax/imageio/png/PNGFilter.java,
11561 * gnu/javax/imageio/png/PNGGamma.java,
11562 * gnu/javax/imageio/png/PNGHeader.java,
11563 * gnu/javax/imageio/png/PNGICCProfile.java,
11564 * gnu/javax/imageio/png/PNGPalette.java,
11565 * gnu/javax/imageio/png/PNGPhys.java,
11566 * gnu/javax/imageio/png/PNGTime.java:
11569 2006-07-19 Sven de Marothy <sven@physto.se>
11571 * java/net/Inet6Address.java:
11572 (getScopedId, getScopedInterface): New methods.
11574 2006-07-19 Lillian Angel <langel@redhat.com>
11576 * examples/gnu/classpath/examples/awt/Demo.java
11577 (DragDropWindow): Fixed typo in Label text.
11578 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11579 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11580 (startDrag): Initialized context field.
11581 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11583 (dragEnter): New function.
11584 (dragExit): Likewise.
11585 (dragDropEnd): Likewise.
11586 (dragMouseMoved): Likewise.
11587 (dragOver): Likewise.
11588 (dragActionChanged): Likewise.
11590 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11593 * resource/java/security/classpath.security: Updated copyright year.
11594 (auth.login.defaultCallbackHandler): New property; set to our default
11595 callback handler. This is needed by the LoginContext when no callback
11596 handler was specified.
11597 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11598 (LoginContext(4)): Assign passed parameters to local fields before invoking
11601 2006-07-19 Roman Kennke <kennke@aicas.com>
11603 * gnu/java/awt/peer/x/XGraphics.java
11604 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11605 Fixed ordering of parameters.
11607 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11609 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11610 (MemoryMXBeanImpl()): Implemented.
11611 (ListenerData): New private class.
11612 (addNotificationListener(NotificationListener,
11613 NotificationFilter, Object)): Implemented.
11614 (getNotificationInfo()): Likewise.
11615 (removeNotificationListener(NotificationListener)):
11617 (removeNotificationListener(NotificationListener,
11618 NotificationFilter, Object)): Likewise.
11620 2006-07-18 Roman Kennke <kennke@aicas.com>
11622 * gnu/java/awt/peer/x/XFontPeer.java
11623 (encodeFont): Be more flexible with font sizes.
11624 (validSize): New helper method.
11625 * gnu/java/awt/peer/x/XGraphics.java
11626 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11628 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11630 * gnu/java/awt/peer/x/XImage.java
11631 (properties): New field.
11632 (getProperty): Implemented.
11633 * resource/gnu/java/awt/peer/x/fonts.properties:
11634 Added copyright header. Fixed font size field.
11636 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11638 * java/awt/image/BandedSampleModel.java
11639 (createDataBuffer): New method override,
11640 * java/awt/image/ByteLookupTable.java
11641 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11642 (ByteLookuptable(int, byte[])): Check for null array,
11643 * java/awt/image/ComponentSampleModel.java
11644 (createDataBuffer): Removed unnecessary braces,
11645 (getSample): Check (x, y) is within bounds,
11646 * java/awt/image/ShortLookupTable.java
11647 (ShortLookupTable(int, short[][])): Create new array to hold references,
11648 (ShortLookupTable(int, short[])): Check for null array,
11649 (getTable): Added API docs,
11650 (lookupPixel): Source reformatting.
11652 2006-07-18 Tania Bento <tbento@redhat.com>
11654 * java/awt/GridLayout.java
11655 (setHgap): Illegal Argument Exception should not be thrown if
11657 (setVgap): Illegal Argument Exception should not be thrown if
11659 (toString): Opening square braket ([) should appear before hgap
11660 value, not the name of the class.
11662 2006-07-18 Roman Kennke <kennke@aicas.com>
11664 * lib/copy-vmresources.sh.in: Reverted.
11665 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11666 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11668 2006-07-18 Roman Kennke <kennke@aicas.com>
11670 * lib/copy-vmresources.sh.in: Include properties from X peers.
11672 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11675 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11676 certificate validity.
11677 (getIssuerName): New method.
11678 (getSubjectName): Likewise.
11679 (getNotAfterDate): Likewise.
11680 (getNotBeforeDate): Likewise.
11681 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11682 messages for newly added messages in SFHelper.
11684 2006-07-18 Roman Kennke <kennke@aicas.com>
11686 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11687 * gnu/java/awt/peer/x/XEventPump.java
11688 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11689 * gnu/java/awt/peer/x/XFramePeer.java
11690 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11691 * gnu/java/awt/peer/x/XGraphics.java
11692 Made subclass of Graphics rather than Graphics2D. Removed
11693 all Graphics2D specific method stubs.
11694 (setColor): Map colors using the X color map that is
11695 stored in XToolkit.
11696 * gnu/java/awt/peer/x/XToolkit.java
11697 (colorMap): New field.
11698 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11700 (createDialog): Implemented.
11701 (createImage(ImageProducer)): Implemented.
11702 (createImage(InputStream)): Use createImage(ImageProducer)
11703 to convert the BufferedImage to an XImage.
11704 * gnu/java/awt/peer/x/XWindowPeer.java
11705 (XWindowPeer): Removed debug output.
11707 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11709 * java/awt/image/BufferedImageOp.java: API docs added,
11710 * java/awt/image/RasterOp.java: Likewise.
11712 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11714 * java/awt/Graphics2D.java: API docs updated.
11716 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11718 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11721 2006-07-18 Sven de Marothy <sven@physto.se>
11723 * java/net/Inet6Address.java:
11724 Add 1.5 serialized fields.
11725 (getByAddress): New methods.
11726 (readObject, writeObject): New methods.
11727 (equals): Reimplement.
11729 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11731 * java/awt/image/Raster.java: Added API docs and reformatted source
11734 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11736 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11738 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11739 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11740 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11741 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11742 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11743 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11744 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11745 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11746 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11747 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11748 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11749 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11750 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11751 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11752 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11753 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11754 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11755 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11756 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11757 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11758 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11760 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11762 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11763 to make it compile again under jikes. Note added.
11765 2006-07-17 Lillian Angel <langel@redhat.com>
11767 * examples/gnu/classpath/examples/awt/Demo.java
11768 (Demo): Added new window for DnD demo.
11769 (DragDropWindow): New class.
11770 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11771 Added new fields and declarations for native functions.
11772 (GtkDragSourceContextPeer): Implemented.
11773 (getComponentPeer): New function.
11774 (startDrag): Partially implemented.
11775 (getCursor): Implemented.
11776 (setCursor): Implemented.
11777 * include/GtkDragSourceContextPeer.h: New file.
11778 * include/Makefile.am: Added new header file.
11779 * java/awt/Component.java
11780 (addNotify): Added call to the dropTarget's addNotify.
11781 * java/awt/dnd/DragSource.java
11782 (startDrag): Fixed code to use shared instances of peer and
11784 (getDragThreshold): Added stub.
11785 * java/awt/dnd/DropTarget.java
11786 (DropTarget): Implemented fully.
11787 (addNotify): Added code to get the peer of the parent that is
11789 * java/awt/dnd/DropTargetDragEvent.java
11790 (getTransferable): Added stub.
11791 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11792 * native/jni/gtk-peer/Makefile.am: Added new c file.
11793 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11794 Changed to extend GtkGenericPeer.
11795 (GtkDropTargetContextPeer): New constructor.
11796 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11797 Changed to extend GtkGenericPeer.
11798 (GtkDropTargetContextPeer): New constructor.
11800 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11802 * java/awt/image/SinglePixelPackedSampleModel.java
11803 (createSubsetSampleModel): Added argument check and API docs.
11805 2006-07-17 Roman Kennke <kennke@aicas.com>
11807 * gnu/java/awt/peer/x/XGraphics.java
11808 (copyArea): Implemented.
11810 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11812 * java/awt/image/SinglePixelPackedSampleModel.java
11813 (getSampleSize): Return copy of array,
11814 (getOffset): Added API docs,
11815 (getScanlineStride): Likewise,
11816 (hashCode): Implemented.
11818 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11820 * java/awt/image/MultiPixelPackedSampleModel.java
11821 (getOffset): Updated API docs and source reformatting,
11822 (getBitOffset): Source reformatting only,
11823 (getDataElements): Likewise,
11824 (getPixel): Likewise,
11825 (getPixels): Removed method override,
11826 (setDataElements): Reimplemented.
11828 2006-07-17 Gary Benson <gbenson@redhat.com>
11830 * resource/META-INF/services/.cvsignore: New file.
11831 * lib/.cvsignore: Updated.
11833 2006-07-17 Roman Kennke <kennke@aicas.com>
11835 * javax/swing/plaf/basic/BasicButtonListener.java
11836 (propertyChange): Only do the text layout caching as long
11837 as the noGraphics2D property isn't set.
11838 * javax/swing/plaf/basic/BasicMenuItemUI.java
11839 (PropertyChangeHandler.propertyChange): Only do the text layout
11840 caching as long as the noGraphics2D property isn't set.
11842 2006-07-17 Roman Kennke <kennke@aicas.com>
11844 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11845 (XGraphicsEnvironment): Make constructor public so that it
11846 can be called via Class.forName().newInstance().
11847 * gnu/java/awt/peer/x/XImage.java
11848 (XImage): Fetch GraphicsEnvironment via
11849 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11850 than the XToolkit method, to avoid double instantiation
11851 of the XGraphicsEnvironment.
11852 * gnu/java/awt/peer/x/XToolkit.java
11853 (env): Removed field.
11854 (getLocalGraphicsEnvironment): Removed impl. This method
11855 should not be called since we set the graphicsenv property
11856 in the constructor.
11858 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11860 * java/util/UUID.java:
11861 (compareTo(Object)): Call compareTo(UUID).
11862 (compareTo(UUID)): Implemented.
11864 2006-07-16 Tom Tromey <tromey@redhat.com>
11866 * java/lang/StrictMath.java (cbrt): Added '@since'.
11868 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11870 * java/lang/StrictMath.java (cbrt): New method.
11871 (getLowDWord): New helper method.
11872 (getHighDWord): Likewise.
11873 (buildDouble): Likewise.
11874 (CBRT_B1): New field.
11875 (CBRT_B2): Likewise.
11876 (CBRT_C): Likewise.
11877 (CBRT_D): Likewise.
11878 (CBRT_E): Likewise.
11879 (CBRT_F): Likewise.
11880 (CBRT_G): Likewise.
11882 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11884 * javax/management/MBeanInfo.java:
11885 (getNotifications()): Implemented.
11886 * javax/management/NotificationBroadcaster.java:
11887 (removeNotificationListener(NotificationListener)):
11888 Renamed from removeListener.
11889 * javax/management/NotificationEmitter.java:
11890 (removeNotificationListener(NotificationListener,
11891 NotificationFilter, Object)): Likewise.
11892 * javax/management/NotificationFilter.java:
11893 Implement Serializable.
11894 * javax/management/NotificationListener.java:
11895 Implement java.util.EventListener.
11896 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11897 Implement Serializable.
11899 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11901 * java/lang/management/MemoryNotificationInfo.java:
11904 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11907 * gnu/javax/swing/text/html/parser/htmlValidator.java
11908 (tagIsValidForContext): If it is not possible to insert any tag, but
11909 is possible to insert a P, insert a P.
11910 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11911 (newInstance): Removed print statement. (getBodyElements):
11912 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11913 valid body level tags (will be enclosed into P's).
11915 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11917 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11918 Condition the creation of .keystore (a default keystore) based on the
11919 createIfNotFound argument as well.
11921 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11924 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11925 Removed heading p tag from the parsing example.
11926 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11927 (createHtmlContentModel): Explained.
11928 (defineElements): Call getBodyElements to get the body
11929 elements. (getBodyElements): New method. (model):
11930 Made protected from private.
11931 * gnu/javax/swing/text/html/parser/htmlValidator.java
11932 (openTag): Mind that current content model may be null.
11933 (tagIsValidForContext): If the tag is PCDATA, and it is not
11934 valid for context, but the paragraph (P) is valid for context,
11935 suggest to insert the P tag here.
11936 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11937 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11938 implied P tags here.
11939 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11940 Get the custom parser, using HTML_401Swing.java DTD.
11941 * javax/swing/text/html/parser/ParserDelegator.java:
11942 Removed the obsolete note that HTMLEditorKit does not exist.
11943 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11944 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11946 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11948 * javax/management/ListenerNotFoundException.java:
11950 * javax/management/MBeanFeatureInfo.java:
11951 (hashCode()): Use summation instead of multiplication
11952 for consistency with other classes.
11953 * javax/management/MBeanNotificationInfo.java,
11954 * javax/management/Notification.java,
11955 * javax/management/NotificationBroadcaster.java,
11956 * javax/management/NotificationEmitter.java,
11957 * javax/management/NotificationFilter.java,
11958 * javax/management/NotificationListener.java:
11960 * javax/management/OperationsException.java:
11961 (serialVersionUID): Added.
11963 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11964 Mark Wielaard <mark@klomp.org>
11966 * java/io/PrintStream.java: Added four constructors, for File and
11967 String describing a filename with or without explicit encoding.
11969 2006-07-16 Sven de Marothy <sven@physto.se>
11971 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11972 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11975 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11978 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11980 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11981 (setProviderClassNameParam): Made private.
11982 (setKeystoreTypeParam): Likewise.
11983 (setKeyPasswordParam): Likewise
11984 (setKeystorePasswordParam): Likewise.
11985 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11986 create or not the keystore if it's not there, and the second is the store's
11987 password to process before loading the keystore. Amended the code
11989 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11990 setKeyStoreParams(5) with true as its first argument.
11991 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11992 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11994 2006-07-16 Sven de Marothy <sven@physto.se>
11996 * java/util/UUID.java: New file.
11998 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12000 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12001 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12002 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12003 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12004 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12005 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12006 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12007 added Key Wrapping Algorithm SPIs.
12009 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12011 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12012 wrapping/unwrapping to invoke their engineGetOutputSize.
12014 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12016 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12017 (engineInit): If a SecureRandom was specified then use it.
12018 (nextRandomBytes): New method.
12019 (engineWrap): Use above method.
12020 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12021 (getDefaultPRNG): New method.
12022 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12023 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12026 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12028 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12029 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12031 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12033 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12034 offset into consideration.
12036 2006-07-16 Mario Torre <neugens@limasoftware.net>
12038 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12039 Fixed comment. This functions now requires to be called
12040 with gdk lock held, the comment states that.
12041 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12042 Introduces gdk locks around critical regions of code.
12043 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12045 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12047 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12049 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12051 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12053 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12055 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12057 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12059 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12061 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12062 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12064 2006-07-15 Sven de Marothy <sven@physto.se>
12066 * javax/swing/JFileChooser.java
12067 Change default selection mode to FILES_ONLY.
12068 * javax/swing/plaf/basic/BasicDirectoryModel.java
12069 Document, fix selection mode filtering.
12070 (renameFile): Implement
12071 * javax/swing/plaf/basic/BasicFileChooserUI.java
12072 (selectedDir): New field to handle selected directories,
12073 disallow selecting of directories in FILES_ONLY mode.
12074 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12075 (EditingActionListener.actionPerformed):
12076 Stop editing on all actions (e.g. return-key press)
12078 2006-07-15 Mark Wielaard <mark@klomp.org>
12080 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12082 (JNI Implementation): Mark JVMTI Implementation as next.
12083 (JVMTI Implementation): Mark JNI Implementation as prev.
12085 2006-07-15 Mark Wielaard <mark@klomp.org>
12087 * include/Makefile.am: Remove
12088 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12089 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12090 * native/jni/gtk-peer/Makefile.am: Remove
12091 gnu_java_awt_peer_gtk_GdkTextLayout.c
12092 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12095 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12097 2006-07-15 Mark Wielaard <mark@klomp.org>
12099 * autogen.sh: Recognize autoconf 2.60.
12101 2006-07-15 Keith Seitz <keiths@redhat.com>
12103 * NEWS: Update for JVMTI and jvmti.h.
12104 * doc/vmintegration.texinfo: Likewise.
12105 * include/jvmti.h: New file.
12107 2006-07-15 Mark Wielaard <mark@klomp.org>
12109 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12110 Removed C++ style comment.
12112 2006-07-15 Sven de Marothy <sven@physto.se>
12114 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12115 * java/awt/MouseInfo.java,
12116 * java/awt/PointerInfo.java,
12117 * java/awt/peer/MouseInfoPeer.java:
12120 * java/awt/Image.java
12121 (accelerationPriority): New field.
12122 (setAccelerationPriority, getAccelerationPriority): New methods..
12124 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12126 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12127 (getMouseCoordinates): New method.
12129 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12130 (updateAlwaysOnTop): Remove stub overload.
12132 * gnu/java/awt/ClasspathToolkit.java,
12133 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12134 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12135 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12136 (getMouseInfoPeer): New method.
12137 (getMouseNumberOfButtons): New method.
12139 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12140 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12141 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12142 (gtkWindowSetAlwaysOnTop): New method.
12143 (updateAlwaysOnTop): Implement.
12145 * java/awt/Toolkit.java,
12146 (getMouseInfoPeer): New method.
12148 * java/awt/Window.java
12149 (alwaysOnTop): New field.
12150 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12152 * java/awt/peer/WindowPeer.java: Doc fix.
12154 2006-07-14 Sven de Marothy <sven@physto.se>
12156 * java/awt/font/TextLayout.java:
12157 (hitTestChar): Stub method.
12158 * java/awt/font/TextMeasurer.java:
12159 (getLayout): Throw exception on invalid argument.
12161 2006-07-14 Sven de Marothy <sven@physto.se>
12163 * java/awt/image/DataBuffer.java
12164 (DataBuffer): Call constructors in the correct order,
12166 2006-07-14 Mark Wielaard <mark@klomp.org>
12168 Revert to previous implementation.
12169 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12170 constraints insets.
12172 2006-07-14 Roman Kennke <kennke@aicas.com>
12174 * gnu/java/awt/peer/x/XToolkit.java
12175 (XToolkit): Install properties to SystemProperties
12176 rather than System, to avoid SecurityManager.
12177 (getImage(String)): Return error image when string is invalid.
12178 (createImage(URL)): Moved image loading to helper method.
12179 (createImage(ImageProducer)): Implemented.
12180 (createImage(byte[],int,int)): Implemented.
12181 (createImage(InputStream)): New helper method.
12183 2006-07-14 Tania Bento <tbento@redhat.com>
12185 * java/awt/FlowLayout.java
12186 (setHgap): No Excpetion should be thrown if hgap has
12188 (setVgap): No Exception should be thrown if vgap has
12191 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12193 * java/awt/image/MultiPixelPackedSampleModel.java:
12194 Added API docs all over.
12196 2006-07-14 Matt Wringe <mwringe@redhat.com>
12198 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12199 (engineInit): Throw InvalidAlgorithmParameterException
12200 for invalid IVParameterSpec IV length.
12202 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12204 * java/awt/image/MultiPixelPackedSampleModel.java
12205 (createDataBuffer): Include dataBitOffset in calculating the size for
12208 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12210 * java/awt/image/MultiPixelPackedSampleModel.java
12211 (getSampleSize()): Return a copy of the array,
12212 (getTransferType()): New method override.
12214 2006-07-14 Roman Kennke <kennke@aicas.com>
12216 * java/awt/CardLayout.java
12217 (show): Validate parent to make sure that the layout is
12220 2006-07-14 Roman Kennke <kennke@aicas.com>
12222 * java/awt/Component.java
12223 (enable): Added tree locking.
12224 (disable): Added tree locking.
12225 (show): Added tree locking.
12226 (hide): Added tree locking.
12227 (getLocationOnScreen): Added tree locking.
12228 (reshape): Added tree locking.
12229 (addHierarchyListener): Added tree locking.
12230 (removeHierarchyListener): Added tree locking.
12231 (addHierarchyBoundsListener): Added tree locking.
12232 (removeHierarchyBoundsListener): Added tree locking.
12233 (addNotify): Added tree locking.
12234 (removeNotify): Added tree locking.
12235 * java/awt/Container.java
12236 (invalidateTree): Added tree locking.
12237 (getAlignmentX): Added tree locking.
12238 (getAlignmentY): Added tree locking.
12239 (addNotify): Added tree locking.
12240 (setComponentZOrder): Added tree locking.
12241 (getComponentZOrder): Added tree locking.
12243 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12245 * java/awt/image/MultiPixelPackedSampleModel.java
12246 (createSubsetSampleModel): Restored argument check, but let null
12249 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12251 * java/awt/image/MultiPixelPackedSampleModel.java
12252 (createSubsetSampleModel): Removed argument check.
12254 2006-07-14 Roman Kennke <kennke@aicas.com>
12256 * java/awt/Component.java
12257 (numHierarchyListeners): New field.
12258 (numHierarchyBoundsListeners): New field.
12259 (show): Fire hierarchy events here. Only fire component event
12260 if there is actually a listener for it.
12261 (hide): Fire hierarchy events here. Only fire component event
12262 if there is actually a listener for it.
12263 (reshape): Fire hierarchy events here. Only fire component event
12264 if there is actually a listener for it.
12265 (addHierarchyListeners): Update listener counters.
12266 (removeHierarchyListeners): Update listener counters.
12267 (addHierarchyBoundsListeners): Update listener counters.
12268 (removeHierarchyBoundsListeners): Update listener counters.
12269 (fireHierarchyEvent): New helper method for firing hierarchy
12271 * java/awt/Container.java
12272 (addImpl): Update listener counters. Fire hierarchy event.
12273 (remove): Update listener counters. Fire hierarchy event.
12274 (fireHierarchyEvent): New helper method for firing hierarchy
12276 (updateHierarchyListenerCount): New helper method for
12277 updating the listener counters.
12279 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12281 * java/awt/image/MultiPixelPackedSampleModel.java
12282 (equals): New method override,
12283 (hashCode): Likewise.
12285 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12287 * java/awt/image/MultiPixelPackedSampleModel.java
12288 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12289 Corrected scanlineStride calculation.
12291 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12293 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12294 (AES_KWA): Likewise.
12295 (AES128_KWA): Likewise.
12296 (AES192_KWA): Likewise.
12297 (AES256_KWA): Likewise.
12298 (RIJNDAEL_KWA): Likewise.
12299 (TRIPLEDES_KWA): Likewise.
12300 (DESEDE_KWA): Likewise.
12301 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12302 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12303 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12304 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12305 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12306 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12308 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12310 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12311 (PADDING_BLOCK_SIZE): New constant.
12312 (init(Map attributes)): New method.
12313 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12315 2006-07-14 Mario Torre <neugens@limasoftware.net>
12317 * gnu/java/security/OID.java (OID): Private Constructor removed as
12318 it is not needed anymore.
12319 (clone): Fixed. Now uses super.clone instead of the private
12320 constructor as per specification of clone method.
12321 (serialVersionUID): added new field to allow serialization.
12323 2006-07-13 Sven de Marothy <sven@physto.se>
12325 * gnu/javax/imageio/gif/GIFImageReader.java
12326 (read): Remove old debugging trace.
12328 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12331 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12334 2006-07-13 Roman Kennke <kennke@aicas.com>
12336 * java/awt/Component.java
12337 (DEFAULT_MAX_SIZE): New static constant.
12338 (preferredSize): Return copy of the actual value computed
12339 by new helper method.
12340 (preferredSizeImpl): New helper method. Adds locking and
12341 correct handling of cached value.
12342 (minimumSize): Return copy of the actual value computed
12343 by new helper method.
12344 (minimumSizeImpl): New helper method. Adds locking and
12345 correct handling of cached value.
12346 (getMaximumSize): Return copy of the actual value computed
12347 by new helper method.
12348 (maximumSizeImpl): New helper method. Adds locking and
12349 correct handling of cached value.
12350 (invalidate): Correct handling of cached layout information.
12352 * java/awt/Container.java
12353 (preferredSize): Minimized locking. Corrected handling of cached
12354 values. Return copy of real value.
12355 (minimumSize): Minimized locking. Corrected handling of cached
12356 values. Return copy of real value.
12357 (getMaximumSize): Minimized locking. Corrected handling of cached
12358 values. Return copy of real value.
12360 2006-07-13 Tania Bento <tbento@redhat.com>
12362 * gnu/java/awt/peer/ClasspathFontPeer.java
12363 (isLogicalFontName): Return true if name == default.
12364 (logicalFontNameToFaceName): Check if name == default,
12365 and if so, return "Dialog.plain".
12366 (setStandardAttributes(String, Map)): If name == null,
12367 it should be set to "Default", not "SansSerif".
12368 * java/awt/Canvas.java
12369 (generateName): Fixed documentation.
12370 * java/awt/CheckboxMenuItem.java
12371 Added static variable "next_chkmenuitem_number".
12372 (generateName): Added and implemented method.
12373 (getUniqueLong): Likewise.
12374 * java/awt/Choice.java
12375 Added static variable "next_choice_number".
12376 (generateName): Added and implemented method.
12377 (getUniqueLong): Likewise.
12378 * java/awt/Cursor.java
12379 (Cursor(int)): Set name depending on the type passed.
12380 * java/awt/List.java
12381 Added static variable "next_list_number".
12382 (generateName): Added and implemented method.
12383 (getUniqueLong): Likewise.
12384 * java/awt/Menu.java
12385 Added static variable "next_menu_number".
12386 (generateName): Added and implemented method.
12387 (getUniqueLong): Likewise.
12388 * java/awt/MenuBar.java
12389 Added static variable "next_menubar_number".
12390 (generateName): Added and implemented method.
12391 (getUniqueLong): Likewise.
12392 * java/awt/MenuComponent.java
12393 (getName): Before returning name, check if name == null
12394 and name is not explicity set. If this is the case,
12395 name will be generated.
12396 (generateName): Added and implemented method.
12397 * java/awt/MenuItem.java
12398 Added static variable "next_menuitem_number".
12399 (generateName): Added and implemented method.
12400 (getUniqueLong): Likewise.
12401 * java/awt/PopupMenu.java
12402 Added static variable "next_popup_number".
12403 (generateName): Added and implemented method.
12404 (getUniqueLong): Likewise.
12405 * java/awt/ScrollPane.java
12406 Added static variable "next_scrollpane_number".
12407 (generateName): Added and implemented method.
12408 (getUniqueLong): Likewise.
12409 * java/awt/TextField.java
12410 Added static variable "next_textfield_number".
12411 (generateName): Added and implemented method.
12412 (getUniqueLong): Likewise.
12415 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12417 * java/awt/image/SinglePixelPackedSampleModel.java
12418 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12419 mask correctly as an unsigned integer,
12420 (equals): New method override.
12422 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12424 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12425 insertAfterStart, insertBeforeEnd): Removed stub markings.
12427 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12429 * java/awt/image/BandedSampleModel.java: API doc updates and source
12431 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12433 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12435 * java/awt/image/BandedSampleModel.java: API doc updates.
12437 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12439 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12440 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12441 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12442 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12443 (HRMLReader.blockClose): Mind that parser stack may be empty.
12444 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12445 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12446 (HTMLReader.shouldInsert): New method. (getElement(String)):
12447 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12448 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12449 Implemented. (getInsertingReader): New method.
12450 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12451 Added buttons to demonstrate the work of the insert actions.
12453 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12455 * java/awt/image/SampleModel.java: API doc updates and additions,
12456 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12458 2006-07-12 Sven de Marothy <sven@physto.se>
12460 * javax/swing/JFileChooser.java:
12461 (createDialog): Close operation should cause a cancel.
12463 2006-07-12 Francis Kung <fkung@redhat.com>
12465 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12466 (cairoArc): New native method.
12467 (cairoRestore): New native method.
12468 (cairoSave): New native method.
12469 (cairoScale): New native method.
12470 (createPath): New method to centralize code from draw and fill.
12471 (draw): Modified to use createPath method.
12472 (fill): Modified to use createPath method.
12473 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12474 function declarations.
12475 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12476 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12478 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12480 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12483 2006-07-12 Tom Tromey <tromey@redhat.com>
12486 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12487 on PartialInputStream.
12488 (PartialInputStream.dummyByteCount): New field.
12489 (PartialInputStream.fillBuffer): Handle dummy byte.
12490 (PartialInputStream.read): Likewise.
12491 (PartialInputStream.addDummyByte): New method.
12493 2006-07-12 Mario Torre <neugens@limasoftware.net>
12495 * native/jni/gconf-peer/GConfNativePeer.c
12496 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12497 Fixed C++ style comment.
12499 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12501 * java/util/Arrays.java
12502 (asList): Updated API docs.
12504 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12507 * native/jni/gconf-peer/GConfNativePeer.c:
12508 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12509 Changed if-expression.
12510 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12511 Added check for _value not being NULL.
12513 2006-07-11 Roman Kennke <kennke@aicas.com>
12515 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12516 (read): Use fd when local sockets are disabled to make the
12520 2006-07-11 Roman Kennke <kennke@aicas.com>
12522 * java/awt/image/MultiPixelPackedSampleModel.java
12523 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12524 division gets rounded up.
12526 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12528 * java/lang/management/ManageFactory.java:
12529 (getMemoryManagerMXBeans()): Use addAll, not add.
12531 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12534 * gnu/classpath/ByteArray.java: Removed (moved).
12535 * gnu/java/security/util/ByteArray.java: New File.
12536 * gnu/javax/crypto/RSACipherImpl.java: Reference
12537 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12539 2006-07-11 Roman Kennke <kennke@aicas.com>
12541 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12542 (available): Pass fd as argument and avoid JNI class/field
12546 * include/gnu_java_net_local_LocalSocketImpl.h:
12548 * gnu/java/net/local/LocalSocketImpl.h
12549 (available): Pass fd as argument and avoid JNI class/field
12554 2006-07-11 Sven de Marothy <sven@physto.se>
12556 * gnu/javax/sound/sampled/AU/AUReader.java:
12557 Correct file extension from .as to .au.
12559 2006-07-11 Sven de Marothy <sven@physto.se>
12561 * gnu/javax/sound/sampled/AU/AUReader.java:
12563 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12564 Added new provider.
12566 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12568 * javax/swing/JTable.java
12569 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12570 (setColumnSelectionAllowed): Likewise.
12572 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12575 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12576 AccessController.doPrivileged instead of SystemProperties.getProperty.
12577 * gnu/classpath/debug/SystemLogger.java: Likewise.
12578 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12579 repeated getProperty calls for "file.seperator".
12580 (refresh): Since already in privileged block, call System.getProperty
12581 instead of SystemProperties.getProperty.
12582 * gnu/java/security/key/dss/DSSKey.java
12583 (toString): Use AccessController.doPrivileged instead of
12584 SystemProperties.getProperty.
12585 * gnu/java/security/key/dss/DSSPrivateKey.java
12586 (toString): Likewise.
12587 * gnu/java/security/key/dss/DSSPublicKey.java
12588 (toString): Likewise.
12589 * gnu/java/security/key/rsa/GnuRSAKey.java
12590 (toString): Likewise.
12591 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12592 (toString): Likewise.
12593 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12594 (toString): Likewise.
12595 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12596 * gnu/javax/crypto/key/dh/GnuDHKey.java
12597 (toString): Likewise.
12598 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12599 (toString): Likewise.
12600 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12601 (toString): Likewise.
12603 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12605 * javax/swing/AbstractButton.java
12606 (disabledIcon): Fixed name (was 'disabeldIcon'),
12607 (getDisabledIcon): Updated for corrected field name,
12608 (setDisabledIcon): Fire a PropertyChangeEvent.
12610 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12612 * javax/swing/DefaultBoundedRangeModel.java
12613 (readObject): New private method,
12614 (writeObject): Likewise.
12616 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12618 * javax/swing/ButtonGroup.java
12619 (add): Ignore null argument,
12620 (remove): Ignore null argument. If removing selected button, clear the
12622 (findButton): Changed case for method name, and documented,
12623 (setSelected): Updated for modification to findButton() method name,
12624 (isSelected): Updated API docs.
12626 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12628 * java/awt/image/BufferedImage.java
12629 (BufferedImage(int, int, int)): Use correct color space for
12630 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12631 IllegalArgumentException for an unrecognised type.
12633 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12635 * java/lang/management/ManagementFactory.java:
12636 (getMemoryPoolMXBeans): Genericized fully.
12637 (getMemoryManagerMXBeans): Likewise.
12638 (getGarbageCollectorMXBeans): Likewise.
12640 2006-07-10 Tom Tromey <tromey@redhat.com>
12642 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12644 (getMemoryManagerMXBeans): Likewise.
12645 (getGarbageCollectorMXBeans): Likewise.
12647 2006-07-10 Mario Torre <neugens@limasoftware.net>
12649 * java/awt/BasicStroke.java: Removed unused import.
12650 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12651 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12652 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12654 2006-07-10 Matt Wringe <mwringe@redhat.com>
12656 PR classpath/28212:
12657 * javax/crypto/spec/SecretKeySpec.java
12658 (equals): Check object type.
12660 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12662 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12663 communication/StructureToPassHelper.java,
12664 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12665 communication/StructureToReturnHelper.java,
12666 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12667 communication/TreeNodeHelper.java,
12668 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12669 communication/WeThrowThisExceptionHelper.java,
12670 gnu/CORBA/ForwardRequestHelper.java,
12671 org/omg/CORBA/CompletionStatusHelper.java,
12672 org/omg/CORBA/CurrentHelper.java,
12673 org/omg/CORBA/DefinitionKindHelper.java,
12674 org/omg/CORBA/IDLTypeHelper.java,
12675 org/omg/CORBA/NameValuePairHelper.java,
12676 org/omg/CORBA/ObjectHelper.java,
12677 org/omg/CORBA/ParameterModeHelper.java,
12678 org/omg/CORBA/PolicyErrorCodeHelper.java,
12679 org/omg/CORBA/PolicyErrorHelper.java,
12680 org/omg/CORBA/PolicyHelper.java,
12681 org/omg/CORBA/PolicyListHelper.java,
12682 org/omg/CORBA/PolicyTypeHelper.java,
12683 org/omg/CORBA/ServiceDetailHelper.java,
12684 org/omg/CORBA/ServiceInformationHelper.java,
12685 org/omg/CORBA/SetOverrideTypeHelper.java,
12686 org/omg/CORBA/StringValueHelper.java,
12687 org/omg/CORBA/UnionMemberHelper.java,
12688 org/omg/CORBA/UnknownUserExceptionHelper.java,
12689 org/omg/CORBA/VisibilityHelper.java,
12690 org/omg/CORBA/WStringValueHelper.java,
12691 org/omg/CORBA/WrongTransactionHelper.java,
12692 org/omg/CosNaming/BindingHelper.java,
12693 org/omg/CosNaming/BindingIteratorHelper.java,
12694 org/omg/CosNaming/BindingListHelper.java,
12695 org/omg/CosNaming/BindingTypeHelper.java,
12696 org/omg/CosNaming/NameComponentHelper.java,
12697 org/omg/CosNaming/NameHelper.java,
12698 org/omg/CosNaming/NamingContextExtHelper.java,
12699 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12700 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12701 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12702 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12703 org/omg/CosNaming/NamingContextHelper.java,
12704 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12705 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12706 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12707 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12708 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12709 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12710 org/omg/DynamicAny/AnySeqHelper.java,
12711 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12712 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12713 org/omg/DynamicAny/DynAnyHelper.java,
12714 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12715 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12716 org/omg/DynamicAny/DynAnySeqHelper.java,
12717 org/omg/DynamicAny/DynArrayHelper.java,
12718 org/omg/DynamicAny/DynEnumHelper.java,
12719 org/omg/DynamicAny/DynFixedHelper.java,
12720 org/omg/DynamicAny/DynSequenceHelper.java,
12721 org/omg/DynamicAny/DynStructHelper.java,
12722 org/omg/DynamicAny/DynUnionHelper.java,
12723 org/omg/DynamicAny/DynValueHelper.java,
12724 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12725 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12726 org/omg/DynamicAny/NameValuePairHelper.java,
12727 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12728 org/omg/IOP/CodecFactoryHelper.java,
12729 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12730 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12731 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12732 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12733 org/omg/IOP/ComponentIdHelper.java,
12734 org/omg/IOP/IORHelper.java,
12735 org/omg/IOP/MultipleComponentProfileHelper.java,
12736 org/omg/IOP/ProfileIdHelper.java,
12737 org/omg/IOP/ServiceContextHelper.java,
12738 org/omg/IOP/ServiceContextListHelper.java,
12739 org/omg/IOP/ServiceIdHelper.java,
12740 org/omg/IOP/TaggedComponentHelper.java,
12741 org/omg/IOP/TaggedProfileHelper.java,
12742 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12743 org/omg/PortableInterceptor/AdapterNameHelper.java,
12744 org/omg/PortableInterceptor/AdapterStateHelper.java,
12745 org/omg/PortableInterceptor/CurrentHelper.java,
12746 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12747 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12748 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12749 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12750 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12751 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12752 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12753 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12754 org/omg/PortableServer/CurrentHelper.java,
12755 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12756 org/omg/PortableServer/ForwardRequestHelper.java,
12757 org/omg/PortableServer/POAHelper.java,
12758 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12759 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12760 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12761 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12762 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12763 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12764 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12765 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12766 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12767 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12768 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12769 org/omg/PortableServer/ServantActivatorHelper.java,
12770 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12771 typecode caching and always use OrbRestricted.Singleton.
12773 2006-07-09 Tom Tromey <tromey@redhat.com>
12775 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12777 2006-07-09 Mark Wielaard <mark@klomp.org>
12779 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12780 New static final boolean field.
12781 (getComponentGraphics): Use hasXRenderExtension.
12782 (setClip): Override method for locking.
12784 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12786 * javax/swing/AbstractButton.java
12787 (setHorizontalTextPosition): Added check for illegal argument,
12788 (setVerticalTextPosition): Likewise.
12790 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12792 * javax/swing/Timer.java
12793 (setDelay): Throw IllegalArgumentException for negative delay,
12794 (setInitialDelay): Likewise,
12795 * javax/swing/ToolTipManager.java
12796 (setInitialDelay): Document IllegalArgumentException,
12797 (setDismissDelay): Likewise,
12798 (setReshowDelay): Likewise.
12800 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12802 * java/lang/management/MemoryUsage.java:
12803 (from(javax.management.openmbean.CompositeData)):
12805 * java/lang/management/ThreadInfo.java:
12806 Changed to use open types throughout for the state.
12807 (ThreadInfo(long,String,String,long,long,String,
12808 long,String,long,long,boolean,StackTraceElement[])):
12810 (checkAttribute(javax.management.openmbean.CompositeType,
12811 String, javax.management.openmbean.OpenType)): New method.
12812 (from(javax.management.openmbean.CompositeData)):
12814 (getLockName()): Fixed to use new variable.
12815 (getLockOwnerId()): Likewise.
12816 (getLockOwnerName()): Likewise.
12817 (getThreadId()): Likewise.
12818 (getThreadName()): Likewise.
12819 (getThreadState()): Likewise.
12820 (toString()): Refactored to use new variables.
12821 * javax/management/openmbean/ArrayType.java:
12823 * javax/management/openmbean/CompositeType.java:
12824 Variables should be transient, not volatile.
12825 * javax/management/openmbean/OpenDataException.java:
12826 (serialVersionUID): Added.
12827 * javax/management/openmbean/SimpleType.java:
12829 * javax/management/openmbean/TabularType.java
12830 Variables should be transient, not volatile.
12832 2006-07-09 Tom Tromey <tromey@redhat.com>
12834 * tools/.cvsignore: Updated for new tools.
12836 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12838 * javax/management/openmbean/CompositeData.java,
12839 * javax/management/openmbean/CompositeType.java,
12840 * javax/management/openmbean/OpenDataException.java,
12841 * javax/management/openmbean/OpenType.java,
12842 * javax/management/openmbean/TabularData.java,
12843 * javax/management/openmbean/TabularType.java,
12844 * javax/management/openmbean/package.html:
12847 2006-07-09 Mark Wielaard <mark@klomp.org>
12849 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12850 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12851 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12853 2006-07-08 Anthony Green <green@redhat.com>
12855 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12856 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12859 2006-07-09 Mario Torre <neugens@limasoftware.net>
12861 * native/jni/gconf-peer/GConfNativePeer.c:
12862 Fixed indentation to be more compliant to the GNU coding
12864 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12865 Added explicit test for errors in the GConf backend.
12866 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12867 Added explicit test for errors in the GConf backend.
12868 Fixed Segmentation Fault when non valid key names are given as input.
12869 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12871 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12872 Added explicit test for errors in the GConf backend.
12873 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12874 Added javadoc comments for all native methods.
12875 (nodeExist): removed test to check for valid absolute path name
12877 (startWatchingNode): likewise.
12878 (stopWatchingNode): likewise.
12879 (setString): likewise, plus fixed javadoc comments.
12880 (unset): likekwise.
12881 (getKey): likewise.
12882 (getKeys): likewise, also fixed javadoc comments.
12883 (getChildrenNodes): likewise.
12884 * gnu/java/util/prefs/GConfBasedPreferences.java:
12885 changed DEFAULT_USER_ROOT to /apps/classpath.
12886 (constructor): Test to check for a valid absolute path for nodes
12887 is now in the contructor for that node, instead of being on
12888 each method of the backend.
12889 (getGConfKey): removed empty new line.
12891 2006-07-08 Mark Wielaard <mark@klomp.org>
12893 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12895 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12897 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12898 Handle the forced break in the same way as exceeding the
12899 available row space.
12900 * javax/swing/text/html/HRuleView.java: Rewritten.
12901 * javax/swing/text/html/HTMLDocument.java
12902 (HTMLReader.addSpecialElement):Reserve two characters for
12903 the special elements.
12904 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12905 (text): Extended the HTML example to parse.
12907 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12909 * javax/swing/AbstractButton.java
12910 (setHorizontalAlignment): Check for illegal argument,
12911 (setVerticalAlignment): Likewise.
12913 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12915 * javax/swing/text/html/TableView.java
12916 (getStyleSheet): New method. (RowView.getStyleSheet):
12919 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12921 * javax/swing/AbstractButton.java
12922 (setRolloverIcon): Call setRolloverEnabled(true),
12923 (setRolloverSelectedIcon): Likewise.
12925 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12927 * javax/swing/border/TitledBorder.java
12928 (setTitlePosition): Added message to exception,
12929 (setTitleJustification): Likewise.
12931 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12933 * javax/swing/plaf/metal/MetalLookAndFeel.java
12934 (createDefaultTheme): Corrected API docs,
12935 (initComponentDefaults): Added entry for 'TitledBorder.border',
12936 (getCurrentTheme): Initialise theme if it is null.
12938 2006-07-07 Roman Kennke <kennke@aicas.com>
12940 * java/awt/Component.java
12941 (isValid): Return false when component has no peer,
12942 don't query the showing state.
12944 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12946 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12947 Advance the offset also in the case of the enforced break.
12949 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12951 * javax/swing/plaf/basic/BasicArrowButton.java
12952 (MAXIMUM_SIZE): Removed field,
12953 (MINIMUM_SIZE): Likewise,
12954 (PREFERRED_SIZE): Likewise,
12955 (getMaximumSize): Return new instance every time,
12956 (getMinimumSize): Likewise,
12957 (getPreferredSize): Likewise.
12959 2006-07-07 Roman Kennke <kennke@aicas.com>
12961 * java/awt/LightweightDispatcher.java
12962 (findTarget): Avoid array copying in
12963 Container.getComponents().
12965 2006-07-07 Roman Kennke <kennke@aicas.com>
12967 * javax/swing/JComponent.java
12968 (paintChildrenWithOverlap): Avoid array copying in
12969 Container.getComponents().
12970 (paintChildrenOptimized): Avoid array copying in
12971 Container.getComponents().
12972 (fireAncestorEvent): Avoid array copying in
12973 Container.getComponents().
12974 (findOverlapFreeParent): Avoid array copying in
12975 Container.getComponents().
12977 2006-07-07 Matt Wringe <mwringe@redhat.com>
12979 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12980 (passwordValid): New field.
12981 (setPassword): New method.
12982 (setSalt): Likewise.
12983 (setIterationCount): Likewise.
12984 (setKeyLength): Likewise.
12985 (PBEKeySpec(char[])): Use new setter methods.
12986 (PBEKeySpec(char[], byte[], int)): Likewise.
12987 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12988 (clearPassword): Set passwordValid to false.
12989 (getPassword): Check that clearPassword() was not called earlier.
12990 Return a clone of the password.
12991 (getSalt): Return a clone of the salt if it was not null.
12993 2006-07-07 Roman Kennke <kennke@aicas.com>
12995 * java/awt/Component.java
12996 (isValid): Always return false when component is
12998 (setFont): Always set font, even when setting
12999 the same or equal font again.
13001 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13003 * javax/swing/plaf/metal/MetalIconFactory.java
13004 (CheckBoxMenuItemIcon): Implement UIResource,
13005 (FileChooserDetailViewIcon): Likewise,
13006 (FileChooserHomeFolderIcon): Likewise,
13007 (FileChooserListViewIcon): Likewise,
13008 (FileChooserNewFolderIcon): Likewise,
13009 (FileChooserUpFolderIcon): Removed redundant 'implements',
13010 (RadioButtonMenuItemIcon): Implement UIResource,
13011 (HorizontalSliderThumbIcon): Likewise,
13012 (InternalFrameCloseIcon): Likewise,
13013 (InternalFrameDefaultMenuIcon): Likewise,
13014 (InternalFrameAltMaximizeIcon): Likewise,
13015 (InternalFrameMaximizeIcon): Likewise,
13016 (InternalFrameMinimizeIcon): Likewise,
13017 (VerticalSliderThumbIcon): Likewise,
13018 (TreeHardDriveIcon): Likewise,
13019 (TreeFloppyDriveIcon): Likewise,
13020 (TreeComputerIcon): Likewise,
13021 (horizontalSliderThumbIcon): New field,
13022 (verticalSliderThumbIcon): New field,
13023 (getHorizontalSliderThumbIcon): Cache icon,
13024 (getVerticalSliderThumbIcon): Likewise.
13026 2006-07-06 Mark Wielaard <mark@klomp.org>
13028 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13029 (DISTCLEANFILES): Add standard.omit.
13030 (clean-local): Remove Makefile.deps, only remove dirs.
13032 2006-07-06 Roman Kennke <kennke@aicas.com>
13034 * java/awt/Component.java
13035 (setFont): Only invalidate when component is valid.
13036 * java/awt/Container.java
13037 (setLayout): Only invalidate when component is valid.
13039 2006-07-06 Lillian Angel <langel@redhat.com>
13041 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13042 New class not fully implemented.
13043 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13044 New class not fully implemented.
13045 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13046 New class not fully implemented.
13047 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13048 New class not fully implemented.
13049 * nu/java/awt/peer/gtk/GtkToolkit.java:
13051 (createDragSourceContextPeer): Implemented.
13052 (createDragGestureRecognizer): New function to override
13053 java.awt.Toolkit.createDragGestureRecognizer.
13054 * java/awt/dnd/DragSource.java
13055 (NoDragGestureRecognizer): Removed inner class.
13056 (createDragGestureRecognizer): Re-Implemented to
13057 call Toolkit's createDragGestureRecognizer.
13058 (createDefaultDragGestureRecognizer): Re-Implemented to
13059 call Toolkit's createDragGestureRecognizer.
13060 * java/awt/dnd/DropTarget.java
13061 (addNotify): Added check to determine type of peer and call
13063 (removeNotify): Added call to removeDropTarget.
13065 2006-07-06 Tom Tromey <tromey@redhat.com>
13067 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13069 (run): Wait on queue, not 'this'.
13071 2006-07-06 Lillian Angel <langel@redhat.com>
13073 * java/awt/dnd/DragSource.java
13074 (startDrag): Implemented. Added comments describing
13075 what the function should do. Removed FIXME.
13077 2006-07-06 Tania Bento <tbento@redhat.com>
13079 * gnu/java/awt/Canvas.java
13080 Added new private variable 'next_canvas_number'.
13081 (generateName): Added.
13082 (getUniqueLong): Added.
13084 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13086 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13087 (getColor): Made public.
13088 * javax/swing/text/html/StyleSheet.java (stringToColor):
13089 Use CharacterAttributeTranslator.getColor(String)
13091 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13093 * javax/swing/text/html/HTMLEditorKit.java:
13094 (HTMLFactory.createElement): Update reference to the html table view.
13095 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13096 * javax/swing/text/html/TableView.java: New file.
13098 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13100 * javax/swing/text/html/HTMLEditorKit.java:
13101 (HTMLFactory.createElement): Uncomment
13102 code for BRView and HRuleView.
13103 * javax/swing/text/html/BRView.java,
13104 javax/swing/text/html/HRuleView.java: New files.
13106 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13108 * java/lang/Thread.java:
13109 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13110 Added generic type signature.
13112 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13115 * doc/vmintegration.texinfo: Likewise.
13116 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13117 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13118 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13119 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13120 * java/lang/management/GarbageCollectorMXBean.java:
13122 * java/lang/management/ManagementFactory.java:
13123 (getGarbageCollectorMXBeans()): Implemented.
13124 (getMemoryManagerMXBeans()): Likewise.
13125 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13126 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13128 * vm/reference/java/lang/management/VMManagementFactory.java:
13129 (getMemoryManagerNames()): Added.
13130 (getGarbageCollectorNames()): Added.
13132 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13134 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13135 from lib_LTLIBRARIES.
13136 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13138 2006-07-05 Lillian Angel <langel@redhat.com>
13140 * java/awt/dnd/DragGestureEvent.java:
13142 (DragGestureEvent): Initialized new fields, added to check and
13143 added documentation.
13144 (getSourceAsDragGestureRecognizer): Added documentation and
13145 changed to use getSource.
13146 (getComponent): Added documentation and fixed to return the proper
13148 (getDragSource): Likewise.
13149 (getDragOrigin): Added documentation.
13150 (iterator): Implemented and added documentation.
13151 (toArray): Likewise.
13152 (toArray): Likewise.
13153 (getDragAction): Likewise.
13154 (getTriggerEvent): Likewise.
13155 (startDrag): Likewise.
13156 * java/awt/dnd/DragGestureRecognizer.java
13157 (resetRecognizer): Added FIXME.
13158 * java/awt/dnd/DragSource.java:
13160 (DragSource): Set ds to be null if headless.
13161 (getDefaultDragSource): Added documentation and implemented.
13162 (isDragImageSupported): Marked as unimplemented.
13163 (startDrag): Likewise.
13164 (createDragSourceContext): Implemented.
13165 (NoDragGestureRecognizer): Formatted inner class.
13166 * java/awt/dnd/DropTarget.java
13167 (stop): Marked as unimplemented.
13168 (actionPerformed): Likewise.
13169 (addDropTargetListener): Added code to throw exception.
13170 (removeDropTargetListener): Added check, removed FIXME.
13171 (dragEnter): Implemented.
13172 (dragOver): Implemented.
13173 (dropActionChanged): Implemented.
13174 (dragExit): Implemented.
13175 (drop): Implemented.
13176 (addNotify): Implemented.
13177 (removeNotify): Implemented.
13178 (createDropTargetContext): Implemented.
13179 (createDropTargetAutoScroller): Implemented.
13180 (initializeAutoscrolling): Implemented.
13181 (updateAutoscroll): Implemented.
13182 (clearAutoscroll): Implemented.
13183 * java/awt/dnd/DropTargetContext.java
13184 (dropComplete): Implemented.
13185 (acceptDrag): Implemented.
13186 (rejectDrag): Implemented.
13187 (acceptDrop): Implemented.
13188 (rejectDrop): Implemented.
13189 (getCurrentDataFlavors): Implemented.
13190 (getTransferable): Partially implemented.
13191 * java/awt/dnd/DropTargetDragEvent.java
13192 (getDropAction): Uncommented correct code.
13193 * java/awt/dnd/DropTargetDropEvent.java
13194 (dropComplete) :Implemented.
13195 * java/awt/dnd/InvalidDnDOperationException.java
13196 (InvalidDnDOperationException): Added call to super.
13198 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13200 * javax/swing/plaf/basic/BasicArrowButton.java:
13201 (paint): Removed getBounds() call, changed center point
13204 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13206 * javax/swing/InputMap.java
13207 (inputMap): Don't initialize yet,
13208 (InputMap): Removed TODO,
13209 (get): Check for null inputMap,
13210 (put): Return immediately for null keyStroke, check for null inputMap
13211 and initialize if necessary,
13212 (remove): Check for null inputMap,
13216 (allKeys): Likewise,
13217 (writeObject): Removed,
13218 (readObject): Removed.
13220 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13222 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13223 (createContent): Use different labels for buttons.
13225 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13228 * doc/vmintegration.texinfo: Likewise.
13229 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13230 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13232 * java/lang/management/ManagementFactory.java:
13233 (getMemoryPoolMXBeans()): Implemented.
13234 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13235 * vm/reference/java/lang/management/VMManagementFactory.java:
13238 2006-07-04 Lillian Angel <langel@redhat.com>
13240 * java/awt/dnd/DragSourceContext.java:
13241 Removed FIXMEs from fields.
13242 (DragSourceContext): Added code to initialize cursor and sourceActions.
13243 (getDragSource): Added documentation.
13244 (getComponent): Likewise.
13245 (getTrigger): Likewise.
13246 (getSourceActions): Added documentation and implemented.
13247 (setCursor): Implemented. Added documentation.
13248 (getCursor): Implemented. Added documentation.
13249 (dragEnter): Added code to notify DragSource's listeners.
13250 (dragOver): Likewise.
13251 (dragExit): Likewise.
13252 (dropActionChanged): Likewise.
13253 (dragDropEnd): Likewise.
13254 (dragMouseMoved): Implemented.
13255 (getTransferable): Added API documentation.
13256 (updateCurrentCursor): Added API documentation and partially implemented.
13258 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13260 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13262 2006-07-04 Lillian Angel <langel@redhat.com>
13264 * java/awt/dnd/DragSourceContext.java
13265 (DragSourceContext): Implemented fully. Fixed API docs.
13266 (transferablesFlavorsChanged): Implemented.
13267 (dragEnter): Implemented.
13268 (dragOver): Implemented.
13269 (dragExit): Implemented.
13270 (dropActionChanged): Implemented.
13271 (dragDropEnd): Implemented.
13273 2006-07-04 Lillian Angel <langel@redhat.com>
13275 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13276 Fixed name of constant.
13277 (getIconWidth): Changed name of constant returned.
13278 (getIconHeight): Likewise.
13280 (createSeparator): Marked as unimplemented.
13281 * javax/swing/plaf/basic/BasicTableUI.java
13282 (focusGained): Marked as unimplemented.
13283 (focusLost): Marked as unimplemented.
13284 (mouseEntered): Likewise.
13285 (mouseMoved): Likewise.
13286 (uninstallDefaults): Likewise.
13287 * javax/swing/plaf/basic/BasicToolBarUI.java
13288 (mouseClicked): Changed comment.
13289 (mouseEntered): Likewise.
13290 (mouseExited): Likewise.
13291 (mouseMoved): Likewise.
13292 (setOrientation): Implemented.
13293 (ToolBarFocusListener): Marked as unimplemented.
13294 (focusGained): Marked as unimplemented.
13295 (focusLost): Marked as unimplemented.
13297 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13300 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13301 Mind the effect of the root visibility on the position of the control.
13302 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13303 vertical line over first level nodes.
13305 2006-07-04 Lillian Angel <langel@redhat.com>
13307 * javax/swing/plaf/basic/BasicMenuUI.java
13308 (installKeyboardActions): Implemented to call super. Nothing else
13309 needs to be done here.
13310 (setupPostTimer): Marked as unimplemented.
13311 (uninstallKeyboardActions): Implemented to call super. Nothing else
13312 needs to be done here.
13313 (mouseMoved): Removed TODO. Nothing to be done here.
13314 (ChangeHandler): Implemented.
13315 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13316 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13317 (menuKeyReleased): Removed TODO. Nothing to be done here.
13318 (menuKeyTyped): Marked as unimplemented.
13320 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13323 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13324 (getDefaults): Set hash color to black.
13325 * javax/swing/plaf/basic/BasicLookAndFeel.java
13326 (initComponentDefaults): Set hash color to grey blue.
13327 * javax/swing/plaf/basic/BasicTreeUI.java
13328 (instellDefaults): Set hash color.
13329 * javax/swing/plaf/metal/MetalIconFactory.java
13330 (TreeControlIcon.paint): Rewritten.
13332 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13335 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13336 Always cancel the current editing session before doing anything else,
13337 return immediately if this fails.
13338 (TreeHomeAction): Ensure that the lead selection path is visible after
13339 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13340 Likewise. TreeTraverseAction: Likewise.
13342 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13345 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13346 Returned back the code to handle the start of the click-pause-click
13347 editing initiation, explained about this code.
13348 (TreeStartEditingAction): New inner class.
13349 (stopEditingInCompleteEditing): Explained about this field.
13350 (completeEditing(boolean, boolean, boolean): Only return early
13351 if there is no current editing session.
13352 (createDefaultActions): Install TreeStartEditingAction and
13353 TreeCancelEditingAction.
13355 2006-07-04 Mario Torre <neugens@limasoftware.net>
13357 * configure.ac: Added new option --enable-default-preferences-peer
13358 to pass user specified default preference backend.
13359 If the GConf peer is built, GConf become the default backend.
13360 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13362 * lib/Makefile.am: excludes files terminating in 'in' from
13363 the metafiles list.
13364 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13365 from copy into META-INF.
13366 * java/util/prefs/Preferences.java: added two new import
13367 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13368 (getFactory): Now try to check for
13369 a system defined default preference backend before to fall back on
13370 FileBasedPreference.
13372 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13375 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13376 (EXPANDED): Initialise to Boolean.TRUE.
13377 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13378 First configure layout cache and then set the assigned value
13379 as row mapper. Set the root visibility property.
13380 (toggleExpandState): Obtains expansion state from the layout cache.
13382 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13384 * java/lang/management/MemoryPoolMXBean.java:
13387 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13389 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13391 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13393 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13394 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13395 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13396 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13397 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13398 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13399 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13400 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13401 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13402 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13403 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13404 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13405 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13406 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13407 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13408 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13409 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13410 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13411 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13412 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13413 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13414 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13415 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13416 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13417 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13418 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13419 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13420 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13421 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13422 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13423 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13424 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13425 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13426 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13427 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13428 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13429 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13430 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13431 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13432 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13433 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13434 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13435 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13436 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13437 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13438 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13439 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13441 2006-07-02 Anthony Green <green@redhat.com>
13443 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13444 sure that every track written ends with an End Of Track meta
13447 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13449 * java/lang/management/MemoryUsage.java:
13450 (toString()): Fix missing MB for maximum memory usage.
13452 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13455 Updated to include VMCompilationMXBeanImpl.
13456 * doc/vmintegration.texinfo:
13457 Likewise, along with update to VMMemoryMXBeanImpl
13459 * examples/gnu/classpath/examples/management/TestCompilation.java,
13460 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13461 * java/lang/management/CompilationMXBeanImpl.java:
13463 * java/lang/management/ManagementFactory.java:
13464 (getCompilationMXBean()): Implemented.
13465 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13467 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13468 (getHeapMemoryUsage()): Added default implementation.
13470 2006-07-02 Anthony Green <green@redhat.com>
13472 * NEWS: Mention MIDI file reader/writer providers.
13474 2006-07-02 Anthony Green <green@redhat.com>
13476 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13477 gnu/javax/sound/midi/file/MidiFileWriter.java,
13478 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13480 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13483 Updated to include VMMemoryMXBeanImpl.
13484 * doc/vmintegration.texinfo: Likewise.
13485 * examples/gnu/classpath/examples/management/TestMemory.java:
13487 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13488 Remove redundant import.
13489 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13491 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13492 Remove redundant import.
13493 * java/lang/management/ManagementFactory.java:
13494 (getMemoryMXBean()): Implemented.
13495 * java/lang/management/MemoryMXBean.java,
13496 * java/lang/management/MemoryUsage.java:
13498 * java/lang/management/ThreadInfo.java:
13499 (toString()): Updated documentation.
13500 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13503 2006-07-01 Anthony Green <green@redhat.com>
13505 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13506 gnu/javax/sound/midi/file/MidiFileReader.java,
13507 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13508 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13510 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13512 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13513 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13514 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13515 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13516 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13517 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13518 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13520 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13522 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13523 * gnu/javax/crypto/pad/IPad.java: Likewise.
13524 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13525 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13526 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13527 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13528 * gnu/javax/crypto/pad/TBC.java: Likewise.
13529 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13530 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13532 2006-07-01 Anthony Green <green@redhat.com>
13534 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13536 (setMessage): Fix it again, in a different setMessage method.
13538 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13540 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13541 * gnu/javax/crypto/mode/CBC.java: Likewise.
13542 * gnu/javax/crypto/mode/CFB.java: Likewise.
13543 * gnu/javax/crypto/mode/CTR.java: Likewise.
13544 * gnu/javax/crypto/mode/EAX.java: Likewise.
13545 * gnu/javax/crypto/mode/ECB.java: Likewise.
13546 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13547 * gnu/javax/crypto/mode/ICM.java: Likewise.
13548 * gnu/javax/crypto/mode/IMode.java: Likewise.
13549 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13550 * gnu/javax/crypto/mode/OFB.java: Likewise.
13552 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13554 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13555 * gnu/javax/crypto/mac/HMac.java: Likewise.
13556 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13557 * gnu/javax/crypto/mac/IMac.java: Likewise.
13558 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13559 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13560 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13561 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13562 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13563 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13564 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13566 2006-07-01 Anthony Green <green@redhat.com>
13568 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13570 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13572 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13573 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13574 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13575 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13576 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13577 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13578 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13579 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13580 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13581 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13582 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13583 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13584 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13585 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13586 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13587 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13588 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13589 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13590 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13591 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13592 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13593 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13594 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13595 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13597 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13599 * javax/swing/AbstractCellEditor.java: Source code formatting,
13600 * javax/swing/AbstractSpinnerModel.java: Likewise,
13601 * javax/swing/Box.java: Likewise,
13602 * javax/swing/BoxLayout.java: Likewise,
13603 * javax/swing/DefaultListModel.java: Likewise,
13604 * javax/swing/GrayFilter.java: Likewise,
13605 * javax/swing/LookAndFeel.java: Likewise,
13606 * javax/swing/ProgressMonitor.java: Likewise,
13607 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13608 * javax/swing/ScrollPaneLayout.java: Likewise,
13609 * javax/swing/SpringLayout.java: Likewise,
13610 * javax/swing/event/EventListenerList.java: Likewise,
13611 * javax/swing/event/MenuEvent.java: Likewise,
13612 * javax/swing/event/TreeExpansionListener.java: Likewise.
13614 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13617 Mention threading bean and getState().
13618 * doc/vmintegration.texinfo:
13619 Update documentation for threading bean and new
13620 method of VMThread.
13622 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13624 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13625 * examples/gnu/classpath/examples/management/TestOS.java,
13626 * examples/gnu/classpath/examples/management/TestRuntime.java,
13627 * examples/gnu/classpath/examples/management/TestThread.java:
13630 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13632 * java/lang/ThreadGroup.java
13633 (getThreadFromId, getThreadFromIdImpl): New methods.
13635 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13637 * java/lang/Thread.java:
13638 Make thread IDs start from 1 in a more efficient way.
13640 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13642 * java/lang/Thread.java:
13643 Make thread IDs start from 1.
13645 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13647 * gnu/java/lang/management/BeanImpl.java:
13648 New superclass for all bean implementations.
13649 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13650 Extend BeanImpl and call permission code there.
13651 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13653 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13654 Extend BeanImpl and call permission code there.
13655 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13657 * java/lang/management/ManagementFactory.java:
13658 (getThreadMXBean()): Implemented.
13659 * java/lang/management/ThreadInfo.java:
13660 (ThreadInfo(Thread,int)): Replaced...
13661 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13662 boolean, boolean, StackTraceElement[])): with this.
13663 (getBlockedCount()): Refactored to use local variables.
13664 (getBlockedTime()): Likewise.
13665 (getLockName()): Likewise.
13666 (getLockOwnerId()): Likewise.
13667 (getLockOwnerName()): Likewise.
13668 (getStackTrace()): Likewise.
13669 (getWaitedCount()): Likewise.
13670 (getWaitedTime()): Likewise.
13671 (isInNative()): Likewise.
13672 (isSuspended()): Likewise.
13673 (toString()): Changed to use new local variables.
13674 * java/lang/management/ThreadMXBean.java:
13675 (getThreadInfo(long, int)): Corrected documentation.
13676 (getThreadInfo(long[], int)): Likewise.
13677 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13679 * vm/reference/java/lang/management/VMThreadInfo.java:
13682 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13684 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13685 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13686 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13687 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13688 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13689 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13690 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13691 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13692 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13693 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13694 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13695 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13696 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13697 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13698 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13699 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13700 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13701 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13702 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13703 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13704 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13705 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13706 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13707 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13708 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13709 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13710 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13711 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13712 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13713 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13714 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13715 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13717 2006-07-01 Roman Kennke <kennke@aicas.com>
13719 * gnu/java/awt/java2d/AbstractGraphics2D.java
13720 (transform): Make field protected.
13721 (getDestinationRaster): Provide default implementation for
13722 previously abstract method.
13724 2006-06-30 Tania Bento <tbento@redhat.com>
13726 * java/awt/TextArea.java
13727 (TextArea(String, int, int, int)): No longer throws
13728 IllegalArgumentException if rows, columns, or scrollbarVisibility
13729 values are invalid.
13730 (TextArea(String, int, int, int)): If rows or columns are < 0,
13731 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13732 gets set to the default value of 0 (SCROLLBARS_BOTH).
13733 (appendText): Added case when peer = null.
13734 (insertText): Added case when peer == null.
13735 (replaceText): Added case when peer == null.
13736 * java/awt/TextComponent.java
13737 (TextComponent(String)): If text == null, set it to "".
13739 2006-06-30 Lillian Angel <langel@redhat.com>
13741 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13742 (create): Added synchronized block around groupMap.get calls.
13743 (setCheckboxGroup): Likewise.
13745 2006-06-30 Lillian Angel <langel@redhat.com>
13747 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13748 (create): Changed to be non-synchronized.
13749 (setLabel): Likewise.
13750 (setCheckboxGroup): Likewise.
13751 (addToGroupMap): Likewise. Added synchronized block around
13753 (dispose): Changed to be non-synchronized.
13755 2006-06-30 Lillian Angel <langel@redhat.com>
13757 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13758 Changed all return values of native functions to void.
13759 (create): Changed function to be synchronized. Removed
13760 call to put value in groupMap, this is now done from
13762 (setState): Changed function to be synchronized.
13763 (setLabel): Changed function to be synchronized.
13764 (setCheckboxGroup): Changed function to be synchronized. Removed
13765 call to put value in groupMap, this is now done from
13767 (postItemEvent): Changed function to be synchronized.
13768 (addToGroupMap): New function. Called by native code to add
13769 new value to the group.
13770 (dispose): Changed function to be synchronized.
13771 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13773 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13774 (cp_gtk_checkbox_init_jni): Added code to link to
13776 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13777 Changed return value to void. Added call
13778 to java function to set pointer in groupMap.
13779 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13780 changed check to an assert. Also, removed call to set/del pointer.
13781 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13782 Likewise. Also, added check to determine if native_group should be
13784 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13786 2006-06-30 Sven de Marothy <sven@physto.se>
13788 * gnu/java/awt/ClasspathToolkit.java,
13789 * gnu/java/awt/peer/x/XToolkit.java,
13790 * gnu/java/awt/peer/qt/QtToolkit.java,
13791 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13792 Remove ClasspathTextLayoutPeer.
13793 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13794 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13797 2006-06-30 Sven de Marothy <sven@physto.se>
13799 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13800 (drawGlyphVector): Don't draw empty vectors.
13802 2006-06-30 Lillian Angel <langel@redhat.com>
13803 Tom Fitzsimmons <fitzsim@redhat.com>
13805 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13806 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13807 Added current_group, groupMap fields. Added definitions for
13808 new native functions.
13809 (create): Removed FIXME. Added code to create the check button or
13810 radio button when appropriate. Updated groupMap to contain
13811 pointer to the newly created group.
13812 (setCheckboxGroup): Added code to handle all cases. Removing
13813 a button from a group, adding a button to a group, or changing the
13815 (dispose): Changed to call super.
13816 * include/Makefile.am: Removed reference to
13817 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13818 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13819 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13821 * native/jni/gtk-peer/Makefile.am: Removed reference to
13822 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13823 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13825 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13826 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13827 Renamed to checkbox_get_widget.
13828 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13829 Changed to use checkbox_get_widget.
13830 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13832 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13833 Changed to use checkbox_get_widget.
13834 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13836 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13837 New function. Creates checkbutton without a group.
13838 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13839 Creates a radio button in a group, using groupPointer. If groupPointer
13840 is 0, then a new group is created.
13841 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13842 check button to a group, using groupPointer. A radio button is created
13843 in its place. If groupPointer is 0, then a new group is created.
13844 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13845 radio button is removed from the group. A check button is created in
13847 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13848 radio button is moved to a new group.
13850 2006-06-30 Mark Wielaard <mark@klomp.org>
13852 * configure.ac: Move standard.omit creation after dirs are created.
13853 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13854 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13855 (clean-local): Remove standard.omit.
13856 * lib/gen-classlist.sh.in: Use omit file in build dir.
13857 * lib/standard.omit.in: Make exclude regex more explicit.
13859 2006-06-30 Roman Kennke <kennke@aicas.com>
13861 * lib/Makefile.am: Added Escher dir/jar to classpath when
13863 * configure.ac: Moved handling of standard.omit to a place
13864 where it actually gets executed.
13866 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13868 * java/awt/TextComponent.java: Reformatted source code,
13869 * java/awt/TextField.java: Likewise.
13871 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13873 * java/lang/Thread.java:
13874 (getState()): Handle case of no VMThread
13877 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13879 * java/lang/Thread.java,
13880 * java/lang/VMThread.java:
13881 Reverted patch from 2006-06-28.
13883 2006-06-29 Roman Kennke <kennke@aicas.com>
13885 * gnu/java/awt/peer/x/GLGraphics.java,
13886 * gnu/java/awt/peer/x/ImageConverter.java,
13887 * gnu/java/awt/peer/x/KeyboardMapping.java,
13888 * gnu/java/awt/peer/x/XEventPump.java,
13889 * gnu/java/awt/peer/x/XFontPeer.java,
13890 * gnu/java/awt/peer/x/XFontPeer2.java,
13891 * gnu/java/awt/peer/x/XFramePeer.java,
13892 * gnu/java/awt/peer/x/XGraphics.java,
13893 * gnu/java/awt/peer/x/XGraphics2D.java,
13894 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13895 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13896 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13897 * gnu/java/awt/peer/x/XImage.java,
13898 * gnu/java/awt/peer/x/XLightweightPeer.java,
13899 * gnu/java/awt/peer/x/XToolkit.java,
13900 * gnu/java/awt/peer/x/XWindowPeer.java,
13901 * gnu/java/awt/peer/x/fonts.properties: New files.
13902 * lib/standard.omit: Removed.
13903 * lib/standard.omit.in: Added.
13904 * configure.ac: Added configure option --with-escher. Added some
13905 configury for omitting gnu.java.awt.peer.x package when
13906 this option is not specified.
13908 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13910 * javax/swing/JComponent.java
13911 (JComponent()): Initialize the locale here, not the default locale,
13912 (getDefaultLocale): If null, return Locale.getDefault(),
13913 (setDefaultLocale): Added API docs.
13915 2006-06-29 Tania Bento <tbento@redhat.com>
13917 * java/awt/Container.java
13918 (applyComponentOrientation): Implemented method.
13920 2006-06-29 Gary Benson <gbenson@redhat.com>
13922 * java/io/File.java (listRoots): Merge security checks from libgcj.
13924 2006-06-29 Gary Benson <gbenson@redhat.com>
13926 * java/io/FilePermission.java (implies): Work when path is "/".
13928 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13930 * java/lang/Thread.java:
13931 (Thread(ThreadGroup,Runnable,String,long)): Update
13933 (Thread(VMThread,String,int,boolean)): Likewise.
13934 (join(long,int)): Likewise.
13935 (resume()): Likewise.
13936 (sleep(long,int)): Likewise.
13937 (start()): Likewise.
13938 (stop()): Likewise.
13939 (suspend()): Likewise.
13941 (getState()): Return either state or use VMThread.
13942 * java/lang/VMThread.java:
13943 (getState()): Added default implementation to return
13946 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13948 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13949 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13950 endian swapping code.
13952 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13953 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13954 without alpha information correctly on big endian systems.
13956 2006-06-28 Roman Kennke <kennke@aicas.com>
13958 * gnu/java/net/local/LocalSocket.java
13959 (setSoTimeout): Don't throw exception and ignore request.
13960 (getSoTimeout): Don't throw exception and always return 0.
13962 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13964 * javax/swing/JComponent.java
13965 (getRegisteredKeyStrokes): Implemented.
13967 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13969 * javax/swing/JComponent.java
13970 (verifyInputWhenFocusTarget): Initialise to true.
13972 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13974 * java/beans/VetoableChangeSupport.java
13975 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13977 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13978 for null property name and/or listener,
13979 * javax/swing/JComponent.java
13980 (getListeners): Handle VetoableChangeListener.class as a special case,
13981 (getVetoableChangeListeners): Fetch these from the
13982 vetoableChangeSupport object.
13984 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13986 * javax/swing/JComponent.java
13987 (componentPopupMenu): New field,
13988 (inheritsPopupMenu): New field,
13989 (getInheritsPopupMenu): Implemented,
13990 (setInheritsPopupMenu): Likewise,
13991 (getComponentPopupMenu): Likewise,
13992 (setComponentPopupMenu): Likewise,
13993 * javax/swing/JLabel.java
13994 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13996 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
13998 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13999 (toString): New method.
14000 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14001 (toString): New method.
14002 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14003 (toString): New method.
14004 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14005 Handle case when Q is null.
14006 (decodePrivateKey): Likewise.
14007 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14009 (decodePublicKey): Likewise.
14010 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14011 aliases for all block ciphers.
14012 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14013 (engineDoPhase): Compute fully the shared secret.
14014 (checkState): New method.
14016 (engineGenerateSecret()): Reset key-agreement before returning.
14017 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14018 Reset key-agreement before returning.
14019 (engineGenerateSecret(String)): Reset key-agreement before returning.
14020 (engineInit(Key,SecureRandom)): Call reset() before returning.
14021 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14022 (engineInit): Replace printing to System.out with conditional logging.
14023 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14024 When the key-size is not specified, attempt best effort to find a suitable
14025 value among those advertised by the cipher before setting it to the length
14026 of provided key material.
14028 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14030 * javax/swing/table/DefaultTableColumnModel.java
14031 (changeEvent): Don't initialize yet, removed FIXME,
14032 (fireColumnModelChanged): Initialize changeEvent if necessary.
14034 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14036 * java/lang/Thread.java:
14037 (getAllStackTraces()): Implemented.
14038 (getStackTrace()): Likewise.
14040 2006-06-27 Tania Bento <tbento@redhat.com>
14042 * java/awt/Component.java
14043 (setComponentOrientation): NPE should not be thrown.
14045 2006-06-27 Tom Tromey <tromey@redhat.com>
14047 * configure.ac: Create gjar, gnative2ascii, gserialver.
14048 * tools/gappletviewer.in: Quote $@.
14049 * tools/gkeytool.in: Likewise.
14050 * tools/gjarsigner.in: Likewise.
14051 * tools/gjar.in: New file.
14052 * tools/gnative2ascii.in: Likewise.
14053 * tools/gserialver.in: Likewise.
14054 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14056 (bin_SCRIPTS): Likewise.
14058 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14060 * java/lang/management/ThreadMXBean.java:
14061 (getThreadInfo(long[])): Corrected return type.
14062 (getThreadInfo(long[], int)): Likewise.
14064 2006-06-27 Mark Wielaard <mark@klomp.org>
14066 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14067 nothing when listener is null.
14068 (removeFlavorListener): Likewise.
14070 * java/awt/datatransfer/DataFlavor.java
14071 (getRepresentationClassFromMime): Renamed to
14072 getRepresentationClassFromMimeThrows.
14073 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14074 (isRepresentationClassSerializable): Likewise.
14075 (isFlavorJavaFileListType): Likewise and check primary and
14077 (getParameter): Parameters are separated by semi-colons.
14078 (DataFlavor(Class,String,String)): Do some sanity checks.
14079 (DataFlavor(String,String,ClassLoader)): Call
14080 getRepresentationClassFromMimeThrows.
14081 (DataFlavor(String)): Likewise.
14082 (equals(DataFlavor)): Special case primary type text and charset
14085 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14087 * java/awt/Component.java
14088 (setName): Fire required PropertyChangeEvent,
14089 * java/awt/Label.java
14090 (getText): Removed redundant brackets,
14091 (generateName): New method (override),
14092 (nextLabelNumber): New field,
14093 (getUniqueLong): New method.
14095 2006-06-27 Roman Kennke <kennke@aicas.com>
14097 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14098 (createImage): Delegate this to the parent.
14099 (handleEvent): Only handle PAINT/UPDATE events when the
14100 component is actually showing.
14101 (hide): Repaint the parent after hiding a component.
14102 (prepareImage): Have only one return point.
14103 (setVisible): Delegate to show() and hide().
14104 (createVolatileImage): Added null check to avoid NPE.
14106 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14108 * java/awt/Label.java: Reformatted source code.
14110 2006-06-27 Roman Kennke <kennke@aicas.com>
14112 * java/awt/image/BufferedImage.java
14113 (getSource): Use a fixed DirectColorModel to deliver the
14114 RGB pixels to the ImageConsumer.
14116 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14118 * java/awt/Point.java
14119 (setLocation(double, double)): Round to nearest integer coordinates.
14121 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14123 * java/awt/Component.java
14124 (minSizeSet): New field,
14125 (maxSize): Likewise,
14126 (maxSizeSet): Likewise,
14127 (isMaximumSizeSet): Implemented,
14128 (isMinimumSizeSet): Likewise,
14129 (isPreferredSizeSet): Likewise,
14130 (setMaximumSize): Likewise,
14131 (setMinimumSize): Likewise,
14132 (setPreferredSize): Likewise.
14134 2006-06-27 Roman Kennke <kennke@aicas.com>
14136 * javax/imageio/spi/IIORegistry.java
14137 (IIORegistry): Added BMP codec.
14139 2006-06-27 Mark Wielaard <mark@klomp.org>
14141 * javax/swing/JComponent.java
14142 (firePropertyChange(String,char,char)): New override method.
14144 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14146 * java/lang/Thread.java:
14147 (getState()): New method.
14148 * java/lang/management/ClassLoadingMXBean.java:
14149 Corrected class documentation.
14150 * java/lang/management/ManagementFactory.java:
14151 Added new temporary marked stub to get thread bean.
14152 * java/lang/management/OperatingSystemMXBean.java:
14153 Corrected class documentation.
14154 * java/lang/management/RuntimeMXBean.java:
14155 Corrected class documentation.
14156 * java/lang/management/ThreadInfo.java,
14157 * java/lang/management/ThreadMXBean.java:
14159 * vm/reference/java/lang/VMThread.java:
14160 (getState()): New method.
14161 * vm/reference/java/lang/management/VMThreadInfo.java:
14164 2006-06-26 Sven de Marothy <sven@physto.se>
14166 * gnu/javax/imageio/gif/GIFFile.java
14167 * gnu/javax/imageio/gif/GIFImageReader.java
14168 * gnu/javax/imageio/gif/GIFImageSpi.java
14169 * gnu/javax/imageio/gif/GIFStream.java
14171 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14173 2006-06-26 Tania Bento <tbento@redhat.com>
14175 * java/awt/List.java
14176 (List): A list should have at least 4 visible rows.
14177 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14178 not an IllegalArgumentException.
14179 (makeVisible): Should not throw an IllegalArgumentException if
14180 the specified index is out of range.
14182 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14184 * javax/swing/JList.java
14185 (getNextMatch): Reimplemented to perform a circular search for the
14188 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14190 * javax/swing/JList.java
14191 (init): Set default value for visibleRowCount to 8,
14192 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14194 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14196 * javax/swing/JList.java
14197 (valueIsAdjusting): Removed,
14198 (init): Removed initialization of valueIsAdjusting field,
14199 (getValueIsAdjusting): Fetch value from selection model,
14200 (setValueIsAdjusting): Store value in selection model.
14202 2006-06-26 Roman Kennke <kennke@aicas.com>
14204 * javax/swing/plaf/basic/BasicListUI.java
14205 (installKeyboardActions): Rewritten to fit with the
14206 ActionMap/InputMap architecture.
14207 (uninstallKeyboardActions): Implemented.
14208 (ListAction): Made private. Added TODO for splitting
14209 up this bulk Action.
14210 (ListAction.ListAction): New constructor. This one
14211 takes a cmd parameter to be installed as actionCommand.
14213 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14215 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14216 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14218 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14220 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14221 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14222 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14223 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14224 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14225 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14226 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14227 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14228 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14229 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14230 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14231 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14232 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14233 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14234 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14235 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14236 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14237 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14238 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14239 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14240 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14241 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14242 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14243 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14244 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14245 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14246 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14247 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14248 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14249 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14250 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14251 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14252 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14253 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14254 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14255 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14256 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14257 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14258 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14259 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14260 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14261 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14262 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14263 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14264 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14265 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14266 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14267 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14268 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14269 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14270 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14271 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14272 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14273 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14274 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14275 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14276 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14277 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14278 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14279 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14280 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14281 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14282 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14283 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14284 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14285 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14286 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14287 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14288 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14289 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14290 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14291 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14292 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14293 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14294 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14295 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14296 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14297 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14298 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14299 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14300 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14301 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14303 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14305 * javax/swing/JList.java
14306 (setLayoutOrientation): Check for valid argument.
14308 2006-06-26 Roman Kennke <kennke@aicas.com>
14310 * javax/swing/JComponent.java
14311 (firePropertyChange(String,int,int)): New method. Overrides
14312 Component method and makes it public.
14313 (firePropertyChange(String,boolean,boolean)): Likewise.
14315 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14317 * gnu/java/security/.cvsignore: New File.
14318 * gnu/java/security/Configuration.java.in: New File.
14319 * gnu/java/security/Properties.java: Change import from
14320 gnu.classpath.Configuration to gnu.java.security.Configuration.
14321 * gnu/java/security/hash/Whirlpool.java: Likewise.
14322 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14323 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14324 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14325 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14326 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14327 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14328 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14329 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14330 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14331 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14332 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14333 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14334 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14335 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14336 * gnu/java/security/util/Base64.java: Likewise.
14337 * gnu/java/security/x509/X509CRL.java: Likewise.
14338 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14339 * gnu/java/security/x509/ext/Extension.java: Likewise.
14340 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14341 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14342 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14343 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14344 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14345 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14346 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14347 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14348 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14349 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14350 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14351 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14352 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14353 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14354 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14355 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14356 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14357 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14358 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14359 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14360 * gnu/javax/crypto/pad/TBC.java: Likewise.
14361 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14362 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14363 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14364 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14365 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14366 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14367 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14368 * gnu/javax/security/auth/login/GnuConfiguration.java
14369 (getAppConfigurationEntry): Change reference to
14370 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14371 (getConfigFromUserHome): Likewise.
14372 (getInputStreamFromURL): Likewise.
14373 (getUserHome): Likewise.
14375 (processSecurityProperties): Likewise.
14376 (processSystemProperty): Likewise.
14377 (processUserHome): Likewise.
14378 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14379 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14382 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14384 * javax/swing/text/DefaultCaret.java (isActive): New method.
14386 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14388 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14389 * java/lang/management/ClassLoadingMXBean.java:
14390 (getTotalLoadedClassCount()): Corrected return type.
14391 (getUnloadedClassCount()): Likewise.
14392 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14393 (getUnloadedClassCount()): Likewise.
14395 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14397 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14398 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14399 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14400 * gnu/javax/crypto/cipher/Square.java: Likewise.
14401 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14402 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14403 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14404 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14405 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14406 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14407 * gnu/javax/crypto/cipher/DES.java: Likewise.
14408 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14409 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14410 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14411 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14412 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14414 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14416 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14417 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14418 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14419 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14420 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14421 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14422 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14423 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14424 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14425 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14426 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14427 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14428 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14430 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14433 * doc/vmintegration.texinfo:
14434 Updated with information on new VM interface.
14435 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14436 * java/lang/management/ClassLoadingMXBean.java:
14437 New files implementing the class loading bean.
14438 * java/lang/management/ManagementFactory.java:
14439 (getClassLoadingMXBean()): Implemented.
14440 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14441 New VM interface file.
14443 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14445 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14446 (isBootClassPathSupported()): Use SystemProperties
14447 rather than System.getProperty.
14449 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14451 * gnu/java/security/Properties.java: Source formatting.
14452 * gnu/java/security/Registry.java: Likewise.
14454 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14456 * gnu/java/security/util/Util.java: Source formatting.
14457 * gnu/java/security/util/SimpleList.java: Likewise.
14458 * gnu/java/security/util/Sequence.java: Likewise.
14459 * gnu/java/security/util/PRNG.java: Likewise.
14460 * gnu/java/security/util/ExpirableObject.java: Likewise.
14461 * gnu/java/security/util/Base64.java: Likewise.
14462 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14463 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14464 * gnu/java/security/sig/ISignature.java: Likewise.
14465 * gnu/java/security/sig/BaseSignature.java: Likewise.
14466 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14467 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14468 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14469 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14470 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14471 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14472 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14473 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14474 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14475 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14476 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14477 * gnu/java/security/provider/Gnu.java: Likewise.
14478 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14479 * gnu/java/security/prng/RandomEvent.java: Likewise.
14480 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14481 * gnu/java/security/prng/MDGenerator.java: Likewise.
14482 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14483 * gnu/java/security/prng/IRandom.java: Likewise.
14484 * gnu/java/security/prng/EntropySource.java: Likewise.
14485 * gnu/java/security/prng/BasePRNG.java: Likewise.
14487 2006-06-23 Francis Kung <fkung@redhat.com>
14489 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14490 (Harness.actionPerformed): Process additional options.
14491 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14492 (J2dBenchmarkWrapper.setAlias): New method.
14493 (J2dBenchmarkWrapper.setComposite): New method.
14494 (J2dBenchmarkWrapper.setFill): New method.
14495 (J2dBenchmarkWrapper.setRotation): New method.
14496 (J2dBenchmarkWrapper.setShear): New method.
14497 (J2dBenchmarkWrapper.setStroke): New method.
14498 (J2dBenchmarkWrapper.setTranslation): New method.
14499 (run): Add additional options to GUI.
14500 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14501 Added protected fields for various options.
14502 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14503 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14504 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14505 (getNextColor): Renamed to setRandom.
14506 (init): Load additional image for texturing if needed.
14507 (loadBufferedImage): New method.
14508 (main): Accept additional command-line switches.
14509 (prepareGraphics): New method.
14510 (resetGraphics): New method.
14511 (runTestSuite): Accept additional image-processing options.
14512 (setRandom): Renamed from getNextColor; generate various random options
14513 (test_drawArc): Rename getNextColor to setRandom.
14514 (test_drawCubic): Likewise.
14515 (test_drawEllipse): Likewise.
14516 (test_drawGeneralPath): Likewise.
14517 (test_drawImage): Likewise.
14518 (test_drawLine): Likewise.
14519 (test_drawQuadCurve): Likewise.
14520 (test_drawRectangle): Likewise.
14521 (test_drawRoundRectangle): Likewise.
14522 (test_drawTransparentImage): Likewise.
14523 (test_fillArc): Rename getNextColor to setRandom.
14524 (test_fillEllipse): Likewise.
14525 (test_fillGeneralPath): Likewise.
14526 (test_fillRectangle): Likewise.
14527 (test_fillRoundRectangle): Likewise.
14528 (TestRecorder.getAverage): Round the average time.
14530 2006-06-23 Tom Tromey <tromey@redhat.com>
14532 * java/util/logging/LoggingMXBean.java: New file.
14533 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14534 (loggingBean): New field.
14535 (getLoggingMXBean): New method.
14537 2006-06-23 Tania Bento <tbento@redhat.com>
14539 * java/awt/TextField.java
14540 (TextField): Default number of columns should be 0, not 1.
14541 (TextField): Check if number of columns given as argument
14542 is valid (>= 0) and set the number of columns accordingly.
14543 (TextField): Check if the string passed is null. If it is,
14544 set columns to 0, else columns is set to the length of
14547 2006-06-23 Roman Kennke <kennke@aicas.com>
14549 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14550 (InternalFramePropertyChangeListener.propertyChange):
14551 Don't call getPropertyName() repeatedly. Added null checks
14552 to avoid NPEs. Call closeFrame() if the closed property
14555 2006-06-23 Roman Kennke <kennke@aicas.com>
14557 * javax/swing/JInternalFrame.java
14558 (maxTransition): Removed.
14559 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14560 Don't initialize storedBounds here.
14561 (dipose): Rewritten to correctly dispose the JInternalFrame.
14562 (getDesktopIcon): Don't initialize desktopIcon here.
14563 (getLayer): Delegate to JLayeredPane.getLayer().
14564 (getNormalBounds): Return bounds when storedBounds == null,
14565 otherwise storedBounds.
14566 (hide): Don't change selection. Also hide the desktopIcon.
14567 (moveToBack): Call getParent() only once.
14568 (moveToFront): Call getParent() only once.
14569 (pack): Call validate() to make sure that the layout is
14570 propagated to the children.
14571 (setClosed): Fire InternalFrameEvent first, before the
14573 (setJMenuBar): Fire PropertyChangeEvent for this property.
14574 (setLayer): Delegate to JLayeredPane.
14575 (setLayeredPane): Check for null and throw IllegalArgumenException.
14576 (setMaximum): Remove handling of maxTransition and normalBounds.
14577 Should probably be done in the UI.
14578 (setNormalBounds): Store Rectangle object directly, not a copy.
14579 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14580 adding the RootPane doesn't add it to the contentPane.
14581 Fire PropertyChangeEvent.
14582 (setSelected): Added condition for when this property must not
14584 (show): Don't ask the DesktopPane to select the frame. Moved
14585 code around to fire InternalFrameEvent before actually calling
14586 super.show(). Also make the desktopIcon visible.
14587 (setTitle): Fire PropertyChangeEvent unconditionally.
14589 2006-06-23 Roman Kennke <kennke@aicas.com>
14591 * javax/swing/JLayeredPane.java
14592 (getPosition): Moved code around to avoid unnecessary method calls.
14593 (setPosition): Delegate to setLayer().
14594 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14595 (insertIndexForLayer(Component,int,int)): New helper method
14596 to support the use of setComponentZOrder() which doesn't remove
14597 the component and thus the insertIndexForLayer must ignore
14598 the component to be moved to get the index right.
14599 (setLayer): Added check to prevent unnecessary execution of
14600 method body. Changed to update the component order here.
14601 Added repaint() to make sure that the update becomes visible.
14602 (addImpl): Call setLayer() only when a constraint has been specified.
14603 Validate and repaint the JLayeredPane.
14605 2006-06-23 Roman Kennke <kennke@aicas.com>
14607 * java/awt/Container.java
14608 (getComponentZOrder): Use ncomponents instead of
14609 component.length so that we don't consider the empty space
14610 after the last component.
14612 2006-06-22 Roman Kennke <kennke@aicas.com>
14614 * javax/swing/JComponent.java
14615 (vetoableChangeSupport): New field.
14616 (removeVetoableChangeListener): Rewritten to use
14617 vetoableChangeSupport.
14618 (addVetoableChangeListener): Rewritten to use
14619 vetoableChangeSupport.
14620 (fireVetoableChange): Rewritten to use
14621 vetoableChangeSupport.
14622 (addPropertyChangeListener): Removed. This is handled in
14624 (firePropertyChange(String,boolean,boolean)): Likewise.
14625 (firePropertyChange(String,char,char)): Likewise.
14626 (firePropertyChange(String,int,int)): Likewise.
14627 (revalidate): Don't do anything when the commponent has no
14630 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14632 * javax/swing/JLabel.java: Updated API docs.
14634 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14636 * java/awt/Insets.java: Updated copyright year.
14637 (toString): Changed string, removed a line from the
14640 2006-06-22 Roman Kennke <kennke@aicas.com>
14642 * javax/swing/text/AbstractDocument.java
14643 (AbstractDocument): Set the i18n document property.
14644 (removeImpl): Added checks for correct boundaries.
14646 2006-06-22 Roman Kennke <kennke@aicas.com>
14648 * javax/swing/text/PlainDocument.java
14649 (rootElement): Changed type to Element.
14650 (tabSize): Removed field. This is stored in the document properties
14652 (PlainDocument): Set tabSize property. Init rootElement without
14654 (insertUpdate): Rewritten. The previous implementation did not
14655 handle some corner cases properly and was a mess.
14656 (removeUpdate): Cast rootElement to BranchElement.
14658 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14660 * javax/swing/plaf/basic/BasicLabelUI.java
14661 (installKeyboardActions): Implemented,
14662 (uninstallKeyboardActions): Implemented,
14663 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14666 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14668 * javax/swing/JMenu.java:
14669 (removeAll): Added check for popupMenu not being null.
14671 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14673 * javax/swing/JLabel.java
14674 (getText): Updated API docs,
14675 (setText): Corrected the check for an unchanged value, and the update
14676 of the displayedMnemonicIndex.
14678 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14680 * javax/swing/JLabel.java
14681 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14683 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14684 where label text is null.
14686 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14688 * javax/swing/JLabel.java
14689 (setDisplayedMnemonic): Updated API docs,
14690 (getDisplayedMnemonic): Removed unnecessary type-cast,
14691 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14692 (getDisplayedMnemonicIndex): Updated API docs.
14694 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14696 * java/util/Collections (entrySet): Fixed compile error.
14698 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14700 * javax/swing/DefaultListSelectionModel.java
14701 (getSelectionMode): Updated API docs,
14702 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14703 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14704 setSelectionInterval(),
14705 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14706 SINGLE_INTERVAL_SELECTION cases.
14708 2006-06-21 Roman Kennke <kennke@aicas.com>
14710 * javax/swing/text/AbstractDocument.java
14711 (BranchElement.numChildren): New field.
14712 (BranchElement.BranchElement): Initialize children array with
14713 one element (that's the least number of elements that makes sense).
14714 Initialize numChildren.
14715 (BranchElement.children): Use numChildren as boundary.
14716 (BranchElement.getElement): Use numChildren as boundary.
14717 (BranchElement.getElementCount): Use numChildren as boundary.
14718 (BranchElement.getElementIndex): Use numChildren as boundary.
14719 (BranchElement.getEndOffset): Use numChildren as boundary.
14720 (BranchElement.getStartOffset): Use numChildren as boundary.
14721 (BranchElement.positionToElement): Use numChildren as boundary.
14722 (BranchElement.replace): Handle the children array more efficiently
14723 by growing in blocks > 1, and reusing space from removed elements.
14724 (LeafElement.startDelta): Removed.
14725 (LeafElement.endDelta): Removed.
14726 (LeafElement.LeafElement): Removed handling of deltas.
14727 (LeafElement.getEndOffset): Likewise.
14728 (LeafElement.getStartOffset): Likewise.
14729 * javax/swing/text/JTextComponent.java
14730 (setDocument): Added locking of the old document to avoid dangling
14731 notification beeing delivered while the document is beeing
14733 (getScrollableTracksViewportWidth): Fixed condition.
14734 * javax/swing/text/PlainDocument.java
14735 (createDefaultRoot): Create elements without AttributeSet.
14736 * javax/swing/text/rtf/RTFParser.java
14737 (parseFile): Handle slightly incorrect RTF gracefully.
14738 * javax/swing/text/rtf/RTFScanner.java
14739 (lastToken): New field.
14740 (readTokenImpl): New method.
14741 (peekToken): New method.
14742 (readToken): Changed to call readTokenImpl or return the lastToken
14743 if there's one present.
14745 2006-06-21 Tania Bento <tbento@redhat.com>
14747 * javax/swing/JMenu.java
14748 (remove): An IllegalArgumentException should be thrown if
14749 either index < 0 or if index > 0 and there are no menu
14750 components. Also, a check was added that ensures there are
14751 menu components before removing the desired the component.
14753 2006-06-21 Lillian Angel <langel@redhat.com>
14755 * javax/swing/text/DefaultCaret.java
14756 (install): Added check to prevent NPE.
14757 (propertyChange): Added checks to prevent NPEs.
14759 2006-06-21 Tania Bento <tbento@redhat.com>
14761 * javax/swing/JMenu.java
14762 Changed instantiation of popupMenu to null.
14763 (JMenu): Instantiated popupMenu to new JPopupMenu.
14764 (JMenu): Instantiated popupMenu to new JPopupMenu.
14765 (add): Changed popupMenu to getPopupMenu().
14766 (add): Changed popupMenu to getPopupMenu().
14767 (add): Changed popupMenu to getPopupMenu().
14768 (add): Changed popupMenu to getPopupMenu().
14769 (remove): Changed popupMenu to getPopupMenu().
14770 (remove): Changed popupMenu to getPopupMenu().
14771 (insert): Changed popupMenu to getPopupMenu().
14772 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14773 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14774 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14775 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14776 (getMenuComponents): Changed popupMenu to getPopupMenu().
14777 (getPopupMenu): Check first if popupMenu is null and if so,
14778 instantiate it to a new JPopupMenu and set the invoker.
14779 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14780 (popupMenuWillBecomeVisible): Component Listener should only
14781 be added to the root container if the root container is not
14782 null. This avoids a null pointer exception.
14784 2006-06-21 Tania Bento <tbento@redhat.com>
14786 * javax/swing/JMenu.java
14787 (JMenu): Delay should be set to 200, not default of 0.
14788 (JMenu): Delay should be set to 200, not default of 0.
14789 (JMenu): Delay should be set to 200, not default of 0.
14790 (JMenu): Delay should be set to 200, not default of 0.
14791 (remove): Added check that index >= 0 before removing
14793 (getItem): Return null if item count equals 0.
14794 (isTearOff): Should throw new error and not return false.
14795 (getMenuComponent): Return null if popupMenu is null or
14796 if there are no menu components.
14798 2006-06-21 Roman Kennke <kennke@aicas.com>
14800 * java/awt/font/FontRenderContext.java:
14801 (equals): Added special conditions for affineTransform beeing
14804 2006-06-21 Roman Kennke <kennke@aicas.com>
14806 * javax/swing/UIManager.java
14807 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14808 must not be cleared.
14810 2006-06-21 Roman Kennke <kennke@aicas.com>
14812 * javax/swing/plaf/metal/MetalUtils.java
14813 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14814 Graphics2D is available. Use fillRect instead of drawLine, this
14816 (paintVerticalGradient): Use paintHorizontalGradient2D when
14817 Graphics2D is available. Use fillRect instead of drawLine, this
14819 (paintHorizontalGradient2D): New method. Paints gradient
14820 using Graphics2D functions.
14821 (paintVerticalGradient2D): New method. Paints gradient
14822 using Graphics2D functions.
14824 2006-06-21 Roman Kennke <kennke@aicas.com>
14826 * javax/swing/plaf/basic/BasicButtonListener.java
14827 (propertyChange): Create a TextLayout and store it in the button
14828 when the 'text' property changes.
14829 * javax/swing/plaf/basic/BasicButtonUI.java
14830 (paintText): Call BasicGraphicsUtils utility method for
14831 drawing strings, instead of Graphics.drawString().
14832 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14833 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14834 cached text layouts as client properties in JComponents.
14835 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14836 (drawStringUnderlineCharAt): New helper method.
14837 * javax/swing/plaf/basic/BasicMenuItemUI.java
14838 (PropertyChangeHandler.propertyChange): Update cached text layout
14839 when 'text' property changes. Use equals() instead of == for
14841 (paintText): Use new BasicGraphicsUtils methods for painting
14842 the cached text layout.
14843 (installListeners): Call super.installListeners() and remove
14844 the unneeded listener installs.
14845 (uninstallListeners): Call super.uninstallListeners() and remove
14846 the unneeded listener uninstalls.
14848 2006-06-21 Roman Kennke <kennke@aicas.com>
14850 * javax/swing/plaf/basic/BasicTextUI.java
14851 (PropertyChangeHandler.propertyChange): Handle document listener
14853 (background): Removed unneeded fields.
14854 (inactiveBackground): Remove unneeded fields.
14855 (installUI): Install the document listener. Slightly changed
14856 order of operations. Don't trigger modelChanged().
14857 (installDefaults): Only install properties when the
14858 current properties are null or instances of UIResource.
14859 (installListeners): Removed unnecessary listener installs.
14860 (installDocumentListeners): Removed unneeded method.
14861 (uninstallListeners): Removed unnecessary listener uninstalls.
14862 (modelChanged): Removed call to installDocumentListeners().
14863 * javax/swing/plaf/basic/BasicTextFieldUI.java
14864 (propertyChange): Update the colors by fetching them from
14865 SharedUIDefaults. Fixed conditions.
14866 * javax/swing/plaf/basic/SharedUIDefaults.java
14867 (getColor): New method.
14869 2006-06-21 Roman Kennke <kennke@aicas.com>
14871 * javax/swing/SizeSequence.java
14872 (SizeSequence): Initialize array with correct number of entries.
14874 2006-06-21 Roman Kennke <kennke@aicas.com>
14876 * javax/swing/JSplitPane.java
14877 (setDividerLocation): Substract divider size when computing
14880 2006-06-21 Roman Kennke <kennke@aicas.com>
14882 * javax/swing/JComponent.java
14883 (paintChildrenWithOverlap): Determine opaque property by
14884 calling the corresponding Component method, without requiring
14886 (paintChildrenOptimized): Removed old unneeded code.
14887 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14888 method instead of SwingUtilities.convertRectangle(). This is
14891 2006-06-21 Roman Kennke <kennke@aicas.com>
14893 * javax/swing/AbstractButton.java
14894 (init): Call setText() instead of setting the property directly,
14895 so that listeners (especially in the UI) get notified.
14897 2006-06-21 Roman Kennke <kennke@aicas.com>
14899 * javax/swing/UIManager.java
14900 (MultiplexUIDefaults): New inner class.
14901 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14902 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14903 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14904 directly. Print stacktrace if something goes wrong.
14905 (get): Delegate call to currentUIDefaults.
14906 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14908 (getUI): Delegate call to currentUIDefaults.
14909 (put): Delegate call to currentUIDefaults.
14910 (setLookAndFeel): Initialize currentUIDefaults with
14911 MultiplexUIDefaults. Set lookAndFeelDefaults.
14912 (setLookAndFeel): Use current thread's context classloader for
14915 2006-06-21 Roman Kennke <kennke@aicas.com>
14917 * javax/swing/text/GapContent.java
14918 (GapContentPosition.GapContentPosition): Replace
14919 Collections.binarySearch with call to local search() to make
14920 sure we find the first object that equals the searched object.
14921 (setPositionsInRange): Likewise.
14922 (adjustPositionsInRange): Likewise.
14923 (search): New helper method.
14925 2006-06-21 Gary Benson <gbenson@redhat.com>
14927 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14928 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14929 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14931 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14933 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14934 APPLETVIEWER_EXECUTABLE to gappletviewer.
14936 2006-06-20 Tom Tromey <tromey@redhat.com>
14938 PR classpath/28095:
14939 * java/net/URL.java (URL): Throw MalformedURLException if a
14940 RuntimeException is caught. Chain exceptions.
14942 2006-06-20 Lillian Angel <langel@redhat.com>
14944 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14945 (create): Added check to prevent Seg Fault. Should not
14946 set the label if it is null.
14947 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14948 (setText): Changed to be a non-native function. Calls
14949 setNativeText if the String parameter is non-null.
14950 (setNativeText): Replaces old native setText function.
14951 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14952 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14953 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14954 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14955 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14956 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14958 2006-06-20 Lillian Angel <langel@redhat.com>
14960 * javax/swing/text/JTextComponent.java
14961 (AccessibleJTextComponent): Rewrote all javadocs
14962 for this inner class.
14964 2006-06-20 Francis Kung <fkung@redhat.com>
14966 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14967 Changed many members to be protected.
14968 (J2dBenchmark): moved to init() instead.
14969 (init): New method.
14970 (main): Call init() after creating object
14971 (testComplete): New method.
14972 (test_drawArc): Use maxTests varialbe instead of constant.
14973 (test_drawCubicCurve): Likewise.
14974 (test_drawEllipse): Likewise.
14975 (test_drawGeneralPath): Likewise.
14976 (test_drawImage): Likewise.
14977 (test_drawLine): Likewise.
14978 (test_drawQuadCurve): Likewise.
14979 (test_drawRectangle): Likewise.
14980 (test_drawRoundRectangle): Likewise.
14981 (test_drawTransparentImage): Likewise.
14982 (test_fillArc): Likewise.
14983 (test_fillEllipse): Likewise.
14984 (test_fillGeneralPath): Likewise.
14985 (test_fillRectangle): Likewise.
14986 (test_fillRoundRectangle): Likewise.
14987 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14988 (GraphicsTest.runSetWithClipping): Likewise.
14989 (GraphicsTest.runSetZeroClipping): Likewise.
14990 (GraphicsTest.run): Added checks for more option flags.
14991 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14994 2006-06-20 Roman Kennke <kennke@aicas.com>
14996 * javax/swing/text/GapContent.java
14997 (GapContentPosition.mark): New field.
14998 (GapContentPosition.index): Removed.
14999 (GapContentPosition.GapContentPosition): Changed to take the
15000 real offset as parameter. Added handling of reference counter.
15001 Try to cleanup before creating new instances.
15002 (getOffset): Delegate to the Mark method with same name.
15003 (Mark): New class, encapsulating a mark.
15004 (positionMarks): Removed field.
15005 (numMarks): Removed field.
15006 (marks): New field.
15007 (queueOfDeath): New field.
15008 (GapContent): Removed init of old fields, added init of new fields.
15009 (createPosition): Added check for validity of arguments.
15010 Create GapContentPosition directly with offset.
15011 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15012 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15013 (shiftGapStartDown): Call resetMarksAtZero().
15014 (shiftGapEndUp): Call resetMarksAtZero().
15015 (replace): Don't call resetMarksAtZero().
15016 (setPositionInRange): Replaced by simpler algorithm, similar to
15017 adjustPositionsInRange.
15018 (adjustPositionsInRange): Adapted to use of Mark objects.
15019 (resetMarksAtZero): Reset all marks that point to zero instead
15020 of only the first one.
15021 (dumpMarks): Adjusted to dump Mark objects.
15022 (insertMark): Removed.
15023 (garbageCollect): New method. Cleans up the marks list.
15024 (binarySearch): Removed.
15026 2006-06-20 Lillian Angel <langel@redhat.com>
15028 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15029 (drawImage): Added call to updateColor because
15030 Cairo seems to lose the current color.
15032 2006-06-20 Gary Benson <gbenson@redhat.com>
15034 * java/awt/Toolkit.java: Add security check.
15035 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15036 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15038 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15040 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15041 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15042 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15043 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15044 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15045 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15046 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15047 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15048 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15049 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15050 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15051 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15052 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15053 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15054 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15055 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15056 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15057 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15058 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15060 2006-06-19 Lillian Angel <langel@redhat.com>
15062 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15063 (drawImage): Should always use getRGB to get the pixels.
15064 getData returns an incorrect array of pixels.
15066 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15068 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15069 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15070 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15071 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15072 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15073 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15074 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15075 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15076 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15077 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15078 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15079 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15080 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15081 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15082 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15083 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15084 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15085 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15086 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15087 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15088 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15089 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15090 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15091 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15092 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15093 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15094 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15095 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15096 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15097 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15098 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15099 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15100 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15101 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15102 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15103 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15105 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15107 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15109 2006-06-19 Roman Kennke <kennke@aicas.com>
15111 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15112 (drawImage): Clip volatile image correctly.
15113 (drawVolatileImage): Added arguments for clipping.
15114 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15115 (drawVolatileImage): Added arguments for clipping. Clip image
15117 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15119 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15122 * java/rmi/server/UID.java (constructor): Synchronized
15123 the whole constructor on the UID class.
15125 2006-06-19 Roman Kennke <kennke@aicas.com>
15127 * javax/swing/RepaintManager.java
15128 (addInvalidComponent): Only add component that are displayable,
15129 that have displayable parents and that have a validateRoot.
15130 Also, don't validate components that have a CellRendererPane
15133 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15135 * javax/swing/plaf/IconUIResource.java
15136 (IconUIResource): Throw IllegalArgumentException for null icon.
15138 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15141 * java/rmi/server/UID.java (constructor): First increment
15142 uidCounter, and then use the value.
15144 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15146 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15147 * java/awt/GridBagConstraints.java: Indent.
15149 2006-06-18 Tom Tromey <tromey@redhat.com>
15151 * native/jni/gconf-peer/.cvsignore: New file.
15153 2006-06-18 Tom Tromey <tromey@redhat.com>
15155 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15156 Also handle short options.
15158 2006-06-18 Jim Huang <jserv@kaffe.org>
15160 PR classpath/28076:
15161 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15164 2006-06-19 Mark Wielaard <mark@klomp.org>
15166 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15167 on gnu/java/util/prefs/gconf/%.class.
15168 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15169 chache typo, should be cache.
15170 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15172 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15174 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15175 Don't return a value for void function.
15176 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15178 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15179 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15181 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15182 Mark clazz ad unused.
15184 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15186 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15187 * gnu/java/security/hash/Tiger.java: Likewise.
15188 * gnu/java/security/hash/Sha512.java: Likewise.
15189 * gnu/java/security/hash/Sha384.java: Likewise.
15190 * gnu/java/security/hash/Sha256.java: Likewise.
15191 * gnu/java/security/hash/Sha160.java: Likewise.
15192 * gnu/java/security/hash/RipeMD160.java: Likewise.
15193 * gnu/java/security/hash/RipeMD128.java: Likewise.
15194 * gnu/java/security/hash/MD5.java: Likewise.
15195 * gnu/java/security/hash/MD4.java: Likewise.
15196 * gnu/java/security/hash/MD2.java: Likewise.
15197 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15198 * gnu/java/security/hash/Haval.java: Likewise.
15199 * gnu/java/security/hash/HashFactory.java: Likewise.
15200 * gnu/java/security/hash/BaseHash.java: Likewise.
15202 2006-06-18 Sven de Marothy <sven@physto.se>
15204 * java/awt/event/KeyEvent.java:
15205 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15206 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15207 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15209 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15211 * gnu/java/security/util/Prime2.java: Removed.
15212 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15213 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15214 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15215 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15216 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15217 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15218 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15219 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15220 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15221 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15222 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15223 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15225 2006-06-18 Sven de Marothy <sven@physto.se>
15227 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15228 * java/awt/font/TextMeasurer.java: Fix copyright date,
15229 remove commented-out code.
15231 2006-06-18 Sven de Marothy <sven@physto.se>
15233 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15234 (FreetypeGlyphVector, clone): Implement cloning.
15235 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15236 * java/awt/font/TextMeasurer.java: Implement.
15237 * java/awt/font/LineBreakMeasurer.java:
15238 Reimplement to use TextMeasurer.
15239 * java/awt/font/TextLayout.java
15241 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15242 (getText, getFont): New private static methods.
15243 (setCharIndices): New method.
15244 * java/text/AttributedString.java
15245 (AttributedString): Fix constructor to stop at end point.
15247 2006-06-17 Tom Tromey <tromey@redhat.com>
15249 * lib/gen-classlist.sh.in: Search all top-level directories, not
15250 just 'org', in external.
15252 2006-06-12 Mario torre <neugens at limasoftware.net>
15254 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15255 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15256 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15257 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15259 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15260 * configure.ac: update to introduce new files. Added options
15261 to build gconf native peer used by the GConf preference backend.
15262 * include/Makefile.am: update to introduce new files.
15263 * native/jni/Makefile.am update to introduce new files.
15264 * scripts/check_jni_methods.sh: added three new ignored file
15266 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15267 build gconf-peer shared library.
15269 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15271 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15272 Use Integer.valueOf() instead of new Integer().
15273 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15274 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15275 * gnu/java/security/util/Sequence.java: Likewise.
15276 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15277 * gnu/java/security/x509/X509Certificate.java: Likewise.
15278 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15279 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15280 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15281 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15282 * gnu/javax/crypto/cipher/DES.java: Likewise.
15283 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15284 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15285 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15286 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15287 * gnu/javax/crypto/cipher/Square.java: Likewise.
15288 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15289 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15290 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15291 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15292 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15293 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15294 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15295 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15296 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15297 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15298 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15299 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15300 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15301 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15302 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15303 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15304 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15305 * gnu/javax/crypto/mode/EAX.java: Likewise.
15306 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15307 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15308 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15309 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15310 * java/security/cert/X509CertSelector.java: Likewise.
15312 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15314 * javax/management/DynamicMBean.java:
15315 (setAttribute): Fixed to return void.
15316 * javax/management/MBeanFeatureInfo.java:
15319 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15321 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15322 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15323 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15324 into engineInitHandler and reuse the code in
15325 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15326 (engineInitHandler): New method.
15327 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15328 null, use random or default information when possible.
15330 2006-06-16 Francis Kung <fkung@redhat.com>
15332 * examples/gnu/classpath/examples/swing/Demo.java:
15333 (mkButtonBar): Rename FillRect to JNIOverhead.
15334 (mkMenuBar): Rename FillRect to JNIOverhead.
15335 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15336 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15337 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15338 Moved from old FillRect.
15340 2006-06-16 Tom Tromey <tromey@redhat.com>
15342 * tools/.cvsignore: Added new tool names.
15344 2006-06-16 Keith Seitz <keiths@redhat.com>
15346 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15347 instantiation so that EventManager is created when getDefault
15349 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15352 2006-06-16 Keith Seitz <keiths@redhat.com>
15354 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15355 (_initCount): New field.
15356 (Jdwp): Don't set isDebugging until fully initialized.
15357 (subcomponentInitialized): New method.
15358 (run): Wait for PacketProcessor and JdwpConnection to
15359 startup, then set isDebugging, and then let this thread
15361 * gnu/classpath/jdwp/transport/JdwpConnection.java
15362 (run): Add synchronization notification.
15363 * gnu/classpath/jdwp/processor/PacketProcessor.java
15366 2006-06-16 Tom Tromey <tromey@redhat.com>
15368 * NEWS: Updated for JSR 166.
15370 2006-06-16 Tom Tromey <tromey@redhat.com>
15372 * lib/Makefile.am (compile_classpath): Added jsr166.
15373 * configure.ac: Added external/jsr166/Makefile.
15374 * external/Makefile.am (SUBDIRS): Added jsr166.
15375 * external/jsr166/Makefile.am: New file.
15376 * lib/gen-classlist.sh.in: Look in external/jsr166.
15378 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15380 * gnu/classpath/jdwp/event/ExceptionEvent:
15381 Added Object instance to javadoc in constructor
15382 * gnu/classpath/jdwp/event/MethodEntryEvent:
15384 * gnu/classpath/jdwp/event/MethodExitEvent:
15386 * gnu/classpath/jdwp/event/SingleStepEvent:
15389 2006-06-16 Tom Tromey <tromey@redhat.com>
15391 Imported JSR 166 reference implementation:
15392 * .classpath: Added external/jsr166.
15393 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15394 * java/util/AbstractQueue.java: Removed.
15395 * java/util/Queue.java: Removed.
15396 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15397 (runPeriodic): Added explicit cast.
15398 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15401 2006-06-16 Tom Tromey <tromey@redhat.com>
15403 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15405 (getCallerClass): Now static.
15406 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15408 2006-06-16 Lillian Angel <langel@redhat.com>
15410 * java/awt/FileDialog.java
15411 (FileDialog): Added @since tag to API docs.
15412 (FileDialog): Likewise.
15413 (FileDialog): Likewise.
15414 * java/awt/Font.java:
15415 Added @since tag to TYPE1_FONT field docs.
15416 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15417 (isThumbRollover): Likewise.
15418 (setThumbRollover): Likewise.
15419 (getSupportsAbsolutePositioning): Likewise.
15420 * javax/swing/plaf/basic/BasicSliderUI.java:
15421 (isDragging): Likewise.
15423 2006-06-16 Lillian Angel <langel@redhat.com>
15425 * java/awt/FileDialog.java
15426 (FileDialog): Implemented.
15427 (FileDialog): Implemented.
15428 (FileDialog): Implemented.
15429 * java/awt/Font.java:
15430 Added TYPE1_FONT constant field.
15432 2006-06-16 Lillian Angel <langel@redhat.com>
15434 * java/awt/font/TextLayout.java:
15435 Removed unneeded imports.
15436 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15437 Added new thumbRollover field.
15438 (mouseMoved): Added code to set thumbRollover field.
15439 (isThumbRollover): New function.
15440 (setThumbRollover): New function.
15441 (getSupportsAbsolutePositioning): Implemented. This
15442 needs to be changed once the feature has been
15444 * javax/swing/plaf/basic/BasicSliderUI.java:
15445 Added new dragging field.
15446 (mouseDragged): Initialized dragging field.
15447 (isDragging): New function.
15448 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15449 (focusGained): Marked as not implemented.
15450 (focusLost): Likewise.
15452 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15454 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15455 Added check for null ThreadId to avoid null pointer
15458 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15460 * javax/swing/DefaultComboBoxModel.java
15461 (removeElementAt): Set new selected item by calling setSelectedItem().
15463 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15465 * javax/swing/DefaultButtonModel.java
15466 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15468 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15470 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15471 (ListDataEvent): Handle case where index0 > index1,
15472 (toString): Implemented.
15474 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15476 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15477 (update): Added subexpression to if-statement.
15479 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15481 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15482 (installDefaults): Removed unneccessary code.
15483 (paint): Removed complex if-cascade, revert to default icon if
15484 icon property is not set.
15485 (getPreferredSize): New method.
15487 2006-06-16 Roman Kennke <kennke@aicas.com>
15490 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15491 (drawImage): Don't use setClip() but instead clipRect() to
15492 intersect the current clip with a new one.
15494 2006-06-15 Tom Tromey <tromey@redhat.com>
15496 * scripts/sanitize-jsr166: New file.
15497 * external/jsr166/IMPORTING: New file.
15498 * vm/reference/sun/reflect/Reflection.java: New file.
15499 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15500 * vm/reference/sun/misc/Unsafe.java: ...here.
15502 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15504 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15505 gjarsigner and keytool to gkeytool.
15506 * doc/tools.texinfo: Add note about tool exectable names.
15507 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15508 jarsigner to gjarsigner and keytool to gkeytool.
15509 * tools/appletviewer.in: Rename ...
15510 * tools/gappletviewer.in: New file.
15511 * tools/jarsigner.in: Rename ...
15512 * tools/gjarsigner.in: New file.
15513 * tools/keytool.in: Rename ...
15514 * tools/gkeytool.in: New file.
15515 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15517 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15519 * javax/management/AttributeList.java:
15520 Add serialization UID.
15521 * javax/management/DynamicMBean.java:
15523 * javax/management/JMRuntimeException.java:
15524 Add serialization UID and correct name
15525 of serialized field.
15526 * javax/management/MBeanInfo.java: New file.
15528 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15530 * javax/management/AttributeList.java,
15531 * javax/management/JMRuntimeException.java,
15532 * javax/management/RuntimeOperationsException.java:
15535 2006-06-15 Lillian Angel <langel@redhat.com>
15537 * java/awt/font/TextLayout.java:
15538 DEFAULT_CARET_POLICY changed to be public static final.
15540 2006-06-15 Tania Bento <tbento@redhat.com>
15542 * javax/swing/plaf/metal/MetalScrollButton.java
15543 (MetalScrollButton): Should set 'focusable' to false.
15545 2006-06-15 Tania Bento <tbento@redhat.com>
15547 * javax/swing/plaf/basic/BasicArrowButton.java
15548 (BasicArrowButton): Should set 'focusable' to false.
15549 (BasicArrowButton): Should set 'focusable' to false.
15551 2006-06-15 Mark Wielaard <mark@klomp.org>
15553 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15554 (getGraphicsConfiguration): Return default screen device.
15555 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15557 (GtkVolatileImage): Record initiating component.
15558 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15559 (getDeviceConfiguration): Return configuration of image component.
15561 2006-06-15 Mark Wielaard <mark@klomp.org>
15563 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15566 2006-06-15 Mark Wielaard <mark@klomp.org>
15568 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15569 with null argument.
15571 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15573 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15574 (matches): Added explicit brackets to return statement.
15576 2006-06-15 Tania Bento <tbento@redhat.com>
15578 * javax/swing/JRadioButtonMenuItem.java
15579 (JRadioButtonMenuItem): Should set 'focusable' to false.
15581 2006-06-15 Tania Bento <tbento@redhat.com>
15583 * javax/swing/JCheckBoxMenuItem.java
15584 (JCheckBoxMenuItem): Should set 'focusable' to false.
15586 2006-06-15 Tania Bento <tbento@redhat.com>
15588 * javax/swing/AbstractButton.java:
15589 (AbstractButton): 'Focusable' should be set to true and not false.
15591 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15593 * java/lang/management/ManagementFactory.java:
15594 Add private constructor to prevent instance creation.
15595 * java/lang/management/ManagementPermission.java:
15598 2006-06-15 Francis Kung <fkung@redhat.com>
15600 * javax/swing/plaf/basic/BasicArrowButton.java:
15601 (BasicArrowButton): move client property for not triggering out
15603 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15604 (configureArrowButton): set client property for not triggering
15605 (installUI): set client property for not triggering
15606 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15607 (PopupHelper.mousePressed): check client property for triggering
15609 2006-06-15 Roman Kennke <kennke@aicas.com>
15612 * javax/swing/RepaintManager.java
15613 (blitBuffer): Substract coordinates the other way around.
15615 2006-06-15 Roman Kennke <kennke@aicas.com>
15618 * javax/swing/JComponent.java
15619 (paintImmediately2): Only paint component without double buffering
15620 when all of it's parents have also double buffering disabled.
15621 (isPaintingDoubleBuffered): New helper method.
15623 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15625 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15626 (draw(Shape)): Pass null transform to getPathIterator(),
15627 (getClip): Likewise,
15628 * gnu/java/print/PostscriptGraphics2D.java
15629 (drawStringShape): Pass null transform to getPathIterator(),
15630 (writeShape): Likewise,
15631 * java/awt/Shape.java: Small updates to API docs.
15633 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15635 * javax/naming/InitialContext.java:
15636 (list(javax.naming.Name)): Fixed generic type.
15637 (list(String)): Likewise.
15638 (listBindings(javax.naming.Name)): Likewise.
15639 (listBindings(String)): Likewise.
15641 2006-06-14 Roman Kennke <kennke@aicas.com>
15643 * javax/swing/plaf/basic/BasicComboBoxUI.java
15644 (getAccessibleChildrenCount): Implemented.
15645 (getAccessibleChild): Implemented.
15646 (isNavigationKey): Implemented.
15647 (KeyHandler.keyPressed): Implemented.
15649 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15651 * java/lang/management/ManagementPermission.java:
15652 Added serialization UID.
15653 * javax/management/Attribute.java: Likewise.
15654 * javax/management/MBeanException.java,
15655 * javax/management/ReflectionException.java:
15656 Added serialization UID and changed to extend
15657 javax.management.JMException.
15659 2006-06-14 Lillian Angel <langel@redhat.com>
15661 * java/awt/Component.java
15662 (ignoreOldMouseEvents): Made static.
15663 (translateEvent): Made static.
15664 * java/awt/TextComponent.java
15665 (ignoreOldMouseEvents): Made static.
15667 2006-06-14 Mark Wielaard <mark@klomp.org>
15669 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15671 (drawRect): Likewise.
15672 (fillRect): Likewise.
15674 2006-06-14 Lillian Angel <langel@redhat.com>
15676 * java/awt/Component.java
15677 (ignoreOldMouseEvents): New helper function.
15678 (translateEvent): Changed to be non-static and use new helper.
15679 * java/awt/TextComponent.java
15680 (ignoreOldMouseEvents): New helper function.
15682 2006-06-14 Roman Kennke <kennke@aicas.com>
15684 * javax/swing/RepaintManager.java
15685 (MERGE_REGIONS): New constant flag.
15686 (commitBuffer): Exclude the merging of regions by default. This
15687 was causing painting artifacts in some applications, especially
15688 when different areas of the GUI are updated synchronously.
15690 2006-06-14 Roman Kennke <kennke@aicas.com>
15692 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15693 New file. This is a benchmark for AWT 1.1 style graphics operations.
15694 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15695 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15697 2006-06-14 Tom Tromey <tromey@redhat.com>
15699 * java/io/File.java (getParent): Javadoc fix.
15701 2006-06-14 Tom Tromey <tromey@redhat.com>
15703 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15705 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15706 when index entry does not exist.
15708 2006-06-14 Tania Bento <tbento@redhat.com>
15710 * javax/swing/AbstractButton.java
15711 (AbstractButton): Set focusable to false, not true.
15713 2006-06-14 Tania Bento <tbento@redhat.com>
15715 * javax/swing/JMenuItem.java
15716 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15718 2006-06-14 Tania Bento <tbento@redhat.com>
15720 * javax/swing/JCheckBoxMenuItem.java
15721 (JCheckBoxMenuItem): Added check to set the selected state.
15723 2006-06-14 Roman Kennke <kennke@aicas.com>
15725 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15726 (cairoDrawLine): New native method.
15727 (cairoDrawRect): New native method.
15728 (cairoFillRect): New native method.
15729 (drawLine): Use special native method.
15730 (drawRect): Use special native method.
15731 (fillRect): Use special native method.
15732 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15733 (cairoDrawLine): New native method.
15734 (cairoDrawRect): New native method.
15735 (cairoFillRect): New native method.
15736 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15738 2006-06-14 Mark Wielaard <mark@klomp.org>
15740 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15741 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15742 cannot be allocated.
15744 2006-06-14 Tom Tromey <tromey@redhat.com>
15747 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15748 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15750 2006-06-14 Roman Kennke <kennke@aicas.com>
15752 * javax/swing/JComponent.java
15753 (isRepainting): New flag.
15754 (paintImmediately2): Set isRepainting flag.
15755 (getRoot): Removed obsolete method.
15756 (paintDoubleBuffered): Differenciate between paint calls from
15757 RepaintManager and from AWT refresh. Call
15758 RepaintManager.commitBuffer with this and local coordinates.
15759 (findOpaqueParent): Stop searching at heavyweight component. These
15761 (paintChildrenOptimized): Don't paint heavyweight children. These
15762 should care for themselves.
15763 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15764 should care for themselves.
15765 * javax/swing/RepaintManager.java
15766 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15768 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15769 toplevel windows only.
15770 (getRoot): Removed obsolete method.
15771 (commitBuffer): Blit buffer on nearest heavyweight.
15772 (blitBuffer): New helper method.
15773 (getHeavyweightParent): New helper method.
15774 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15775 * javax/swing/SwingUtilities.java
15776 (convertRectangleToAncestor): New helper method.
15778 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15780 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15781 Condition all trace/debug code based on Configuration.DEBUG.
15782 Use logger instead of STDOUT and ot STDERR.
15784 2006-06-13 Lillian Angel <langel@redhat.com>
15786 * native/plugin/gcjwebplugin.cc
15787 (NP_Initialize): Removed code to create whitelist file.
15788 (GCJ_New): Added code to create whitelist file.
15789 (plugin_user_trusts_documentbase): Fixed error message.
15791 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15793 * javax/swing/plaf/metal/MetalIconFactory.java
15794 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15795 prevent overwriting border,
15796 (VerticalSliderThumbIcon.gradientMask): Likewise.
15798 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15800 * javax/management/AttributeNotFoundException.java,
15801 * javax/management/InvalidAttributeValueException.java,
15802 * javax/management/JMException.java,
15803 * javax/management/MBeanException.java,
15804 * javax/management/OperationsException.java,
15805 * javax/management/ReflectionException.java:
15808 2006-06-13 Roman Kennke <kennke@aicas.com>
15810 * java/awt/Component.java
15811 (dispatchEvent): Handle events even when consumed (this might be
15812 picked up later in the dispatching chain).
15813 * javax/swing/plaf/basic/BasicLookAndFeel.java
15814 (PopupHelper.mousePressed): Don't consume event. Only close popup
15815 when target component isn't flagged as DONT_CANCEL_POPUP.
15816 (DONT_CANCEL_POPUP): New package private constant for flagging
15817 special components that don't trigger popup closing.
15818 * javax/swing/plaf/basic/BasicArrowButton.java
15819 (BasicArrowButton): Set client property for not triggering closing
15822 2006-06-13 Lillian Angel <langel@redhat.com>
15824 * java/awt/image/PixelGrabber.java
15825 (PixelGrabber): Added to API documentation.
15827 2006-06-13 Keith Seitz <keiths@redhat.com>
15829 From Kyle Galloway <kgallowa@redhat.com>:
15830 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15831 (ExceptionOnlyFilter): Allow null refId.
15833 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15834 compatibility with filters.
15835 (getParameter): Modified to allow access to above.
15837 2006-06-13 Sven de Marothy <sven@physto.se>
15839 * gnu/java/awt/peer/gtk/CairoSurface.java
15840 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15841 (create): Use stride in ints.
15843 2006-06-13 Keith Seitz <keiths@redhat.com>
15845 From Kyle Galloway <kgallowa@redhat.com>:
15846 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15848 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15850 * javax/swing/plaf/basic/BasicSliderUI.java
15851 (calculateThumbSize): Removed unnecessary code,
15852 (calculateThumbLocation): Shift position by one,
15853 (calculateTickRect): Shift position by one when ticks are displayed,
15854 (calculateLabelRect): Calculate rect differently according to whether
15855 or not the labels are visible,
15856 (paintTrack): Shift track down one pixel.
15858 2006-06-13 Lillian Angel <langel@redhat.com>
15860 * java/awt/image/PixelGrabber.java
15861 (PixelGrabber): Removed check to throw exception. JDK does
15863 (startGrabbing): Removed line to print stacktrace.
15865 2006-06-13 Mark Wielaard <mark@klomp.org>
15867 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15868 allocate unused AffineTransform. Add comment about conversion to
15870 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15871 Recognize identity transform as "easy". Always convert to
15872 BufferedImage before calling super.
15874 2006-06-13 Roman Kennke <kennke@aicas.com>
15876 * java/awt/Component.java
15877 (getGraphics): Translate child graphics correctly.
15878 (dispatchEvent): Only dispatch event if it hasn't been consumed
15879 yet by the global dispatcher.
15880 * javax/swing/plaf/basic/BasicLookAndFeel.java
15881 Added some API docs.
15882 (PopupHelper.mousePressed): Consume the event after closing
15885 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15887 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15889 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15890 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15891 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15892 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15893 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15894 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15895 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15896 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15897 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15898 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15899 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15900 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15901 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15902 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15903 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15904 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15906 2006-06-12 Sven de Marothy <sven@physto.se>
15908 * java/awt/font/LineBreakMeasurer.java): Implement.
15910 2006-06-12 Keith Seitz <keiths@redhat.com>
15912 From Kyle Galloway <kgallowa@redhat.com>:
15913 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15915 2006-06-12 Keith Seitz <keiths@redhat.com>
15917 From Kyle Galloway <kgallowa@redhat.com>:
15918 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15920 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15922 2006-06-12 Roman Kennke <kennke@aicas.com>
15924 * javax/swing/JComponent.java
15925 (paintDoubleBuffered): Correctly translate and clip the Graphics
15927 (clipAndTranslateGraphics): New helper method.
15929 2006-06-12 Roman Kennke <kennke@aicas.com>
15931 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15932 (copy): Use getClip() to copy the clip. Make copied transform
15933 null when original transform is null. Set clip here.
15934 (setTransform): Correctly update the clip.
15935 (setTransformImpl): New method. Updates the actual transform for
15937 (transform): Correctly update the clip.
15938 (translate): Correctly update the clip.
15939 (clip): Handle null clip and argument correctly.
15940 (clipRect): Avoid creating new Rectangle objects.
15941 (getClip): Get the correct copy of the clip.
15942 (setClip): Correctly handle null argument.
15943 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15944 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15945 be null or whatever has been set in copy().
15946 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15947 (drawImage): Add translation to the image coordinates.
15948 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15949 (VolatileImageGraphics): Don't set clip here. The clip can either
15950 be null or whatever has been set in copy().
15952 2006-06-12 Keith Seitz <keiths@redhat.com>
15954 From Kyle Galloway <kgallowa@redhat.com>:
15955 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15956 (forCaught): Removed unused/unnecessary method.
15957 (forUncaught): Likewise.
15958 (matches): Implement.
15960 2006-06-12 Keith Seitz <keiths@redhat.com>
15962 From Kyle Galloway <kgallowa@redhat.com>:
15963 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15965 2006-06-12 Keith Seitz <keiths@redhat.com>
15967 From Kyle Galloway <kgallowa@redhat.com>:
15968 * gnu/classpath/jdwp/event/Event.java: Added constants for
15970 (getParameter): Changed parameter type from Class to int.
15971 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15972 Changed from Class type to constants.
15973 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15975 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15977 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15979 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15981 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15983 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15985 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15987 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15989 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15992 2006-06-12 Lillian Angel <langel@redhat.com>
15994 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15995 (StandaloneAppletWindow): Changed title of standalone window.
15997 2006-06-12 Lillian Angel <langel@redhat.com>
15999 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16000 (layoutContainer): Added missing selectedComponent assignment.
16002 2006-06-12 Lillian Angel <langel@redhat.com>
16004 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16005 (layoutContainer): Added check to prevent exception.
16007 2006-06-12 Tom Tromey <tromey@redhat.com>
16009 * java/lang/Thread.java (uncaughtException): Javadoc fix.
16011 2006-06-12 Mark Wielaard <mark@klomp.org>
16013 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16016 (lock): New method.
16017 (unlock): Likewise.
16018 (draw): Use lock() and unlock().
16020 (drawRenderedImage): Likewise.
16021 (drawImage): Likewise.
16022 (drawGlyphVector): Likewise.
16024 2006-06-12 Roman Kennke <kennke@aicas.com>
16026 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16027 (drawPixels): Include alpha in parameter list.
16028 (cairoFill): Include alpha in parameter list.
16029 (setComposite): Don't modify the color.
16030 (draw(Shape))): Use fill when the current composite has an alpha
16031 of != 1.0, so that the stroked shaped will be composited.
16032 (fill(Shape)): Call cairoFill() with alpha.
16033 (drawImage): Call drawPixels or drawSurface with alpha.
16034 (drawGlyphVector): When composite alpha is != 1.0, render the
16035 outline using fill() to enable compositing for text.
16036 (drawRaster): Call drawPixels with alpha.
16037 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16038 (nativeDrawSurface): Include alpha in parameter list.
16039 (drawSurface): Include alpha in parameter list. Pass it to
16040 nativeDrawSurface().
16041 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16042 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16044 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16045 (drawPixels): Handle possible alpha for compositing.
16046 (cairoFill): Likewise.
16047 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16048 (nativeDrawSurface): Handle possible alpha for compositing.
16050 2006-06-12 Mark Wielaard <mark@klomp.org>
16052 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16053 Notify data when completely done. Wait for worker thread to finish.
16054 Rethrow any pending exceptions.
16055 (exception): New field.
16056 (run): Store pending exception.
16058 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16060 * java/lang/management/ManagementPermission.java:
16063 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16065 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16067 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16069 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16070 Use String.charAt().
16072 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16074 * doc/tools.texinfo
16075 (Applet Tools): New chapter.
16076 (appletviewer Tool): New section.
16077 (gcjwebplugin): New section.
16079 2006-06-11 Mark Wielaard <mark@klomp.org>
16081 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16082 Takes GdkPixbufWriter.
16083 (GdkPixbufWriter): Implements Runnable.
16084 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16086 (DATADONE): New static final field.
16088 (write(byte[])): New method.
16090 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16091 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16092 Get dataOutputWriteID from writeClass.
16093 (stream_save_request): Change stream field to writer.
16094 (save_to_stream): Remove FIXME, call writer.
16095 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16098 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16101 Mention new VM interface and use of properties.
16102 * doc/vmintegration.texinfo:
16103 Update with new gnu.java.lang.management section.
16104 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16106 * java/lang/management/ManagementFactory.java:
16107 (getRuntimeMXBean()): Implemented.
16108 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16109 New VM interface file.
16111 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16114 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16115 debug code based on Configuration.DEBUG.
16116 Use logger instead of STDOUT and ot STDERR.
16117 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16118 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16119 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16120 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16121 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16122 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16123 * gnu/javax/crypto/pad/TBC.java: Likewise.
16124 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16125 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16126 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16127 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16128 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16129 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16130 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16131 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16132 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16133 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16134 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16135 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16136 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16137 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16138 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16139 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16140 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16141 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16142 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16143 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16144 * gnu/java/security/Properties.java: Likewise.
16145 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16146 * gnu/java/security/x509/X509CRL.java: Likewise.
16147 * gnu/java/security/x509/ext/Extension.java: Likewise.
16148 * gnu/java/security/util/Prime2.java: Likewise.
16149 * gnu/java/security/util/Base64.java: Likewise.
16150 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16151 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16152 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16153 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16154 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16155 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16156 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16157 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16158 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16159 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16160 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16161 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16162 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16163 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16164 * gnu/java/security/hash/Whirlpool.java: Likewise.
16166 2006-06-11 Mark Wielaard <mark@klomp.org>
16168 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16169 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16170 Remove unused variable glyph_index.
16172 2006-06-11 Mark Wielaard <mark@klomp.org>
16174 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16175 Don't recurse, return false if not an BufferedImage and no image
16177 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16178 end_gdk_drawing() to finally block.
16180 (drawRenderedImage): Likewise.
16181 (drawImage): Likewise.
16182 (drawGlyphVector): Likewise.
16184 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16186 * doc/tools.texinfo: Added text for new -cacert command.
16187 Re-structured sections.
16188 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16189 for -cacert command.
16190 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16191 (_CACERT): Likewise.
16192 (shutdownThread): New field.
16193 (Main): Install shutdown thread.
16194 (main): Uninstall shutdown thread.
16195 (start): Handle new -cacert command.
16196 (getParser): Likewise.
16197 (teardown): Increased visibility.
16198 (ShutdownHook): New inner class.
16199 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16201 2006-06-11 Sven de Marothy <sven@physto.se>
16203 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16204 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16205 (getOutline): Operate on the shape directly.
16206 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16207 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16208 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16209 (getGlyph renamed getGlyphs)
16210 * java/awt/geom/AffineTransform.java
16211 (getTranslateInstance): Set fields directly.
16212 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16213 (getGlyphs): Get all glyph codes at once.
16215 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16218 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16220 2006-06-11 Sven de Marothy <sven@physto.se>
16222 * java/awt/font/TextLayout.java
16223 (getLogicalHighlightShape): Add check.
16224 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16225 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16227 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16229 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16230 Check that every component of 'cn' starts with a valid Java identifier char.
16232 2006-06-10 Tom Tromey <tromey@redhat.com>
16234 * java/io/File.java (pathSeparator): Typo fix.
16236 2006-06-10 Mark Wielaard <mark@klomp.org>
16238 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16240 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16241 Mark all unused parameters.
16242 (cp_gtk_get_cairo_t): Removed.
16243 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16244 Don't mix declerations and statements.
16245 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16246 Mark all unused parameters.
16247 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16248 Get cairographics2d pointer directly.
16249 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16250 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16251 Use jlong to pass pointer.
16252 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16253 Mark all unused parameters.
16254 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16255 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16256 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16257 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16258 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16259 * include/java_io_VMFile.h: Regenerated.
16261 2006-06-10 Roman Kennke <kennke@aicas.com>
16263 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16264 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16265 instead of setClip(), so that an already present clip is intersected
16268 2006-06-10 Mark Wielaard <mark@klomp.org>
16270 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16271 Call getSize() to avoid accessor method.
16273 2006-06-10 Mark Wielaard <mark@klomp.org>
16275 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16276 Qualify ElementSpec.
16278 2006-06-10 Mark Wielaard <mark@klomp.org>
16280 * lib/.cvsignore: Add sun.
16281 * lib/Makefile.am (dist-hook): Likewise.
16283 2006-06-10 Roman Kennke <kennke@aicas.com>
16285 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16286 * gnu/java/awt/peer/gtk/CairoSurface.java
16287 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16288 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16289 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16290 * native/jni/gtk-peer/cairographics2d.h
16291 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16292 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16293 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16294 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16295 Changed method signatures and calls to pass native pointers directly
16296 into the JNI code, in order to avoid costly lookups on each
16298 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16299 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16300 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16301 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16304 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16307 * javax/swing/text/DefaultStyledDocument.java
16308 (ElementBuffer.insertContentTag):
16309 Do not recreate leaves and do not remove elements here.
16311 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16313 * javax/swing/text/html/HTMLDocument.java
16314 (HTMLReader.HiddenAction): Implemented.
16316 2006-06-10 Roman Kennke <kennke@aicas.com>
16318 * javax/swing/RepaintManager.java
16319 (getVolatileOffscreenBuffer): Store the created buffer.
16320 * javax/swing/JComponent.java
16321 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16322 for better performance.
16324 2006-06-10 Roman Kennke <kennke@aicas.com>
16326 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16327 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16329 (getRealBounds): Overridden to return the correct bounds.
16331 2006-06-10 Roman Kennke <kennke@aicas.com>
16333 * javax/swing/plaf/metal/MetalButtonUI.java
16334 (update): Fixed to paint the gradient under the correct conditions.
16335 (updateWidthGradient): Removed.
16336 (isToolbarButton): New helper method.
16337 (isDrawingGradient): New helper method.
16339 2006-06-09 Roman Kennke <kennke@aicas.com>
16341 * javax/swing/JTabbedPane.java
16342 (setSelectedIndex): Don't change the visibility of the components,
16343 this is done by the UI class.
16344 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16345 (TabbedPaneLayout.layoutContainer): Change visibility of component
16346 here, depending on the selected index. Only do this if the new
16347 selected component is not null. Some programs seem to expect
16349 (visibleComponent): New field.
16350 (getVisibleComponent): Changed to return visibleComponent field.
16351 (setVisibleComponent): Changed to set the visibility of
16352 the old and new visible component.
16354 2006-06-09 Roman Kennke <kennke@aicas.com>
16356 * javax/swing/JComponent.java
16357 (paintChildrenOptimized): Paint component with a new Graphics
16358 object to protect the other painting code from modifications
16359 done in that object, and avoid cleanup ops on possibly dispose()ed
16362 2006-06-09 Sven de Marothy <sven@physto.se>
16364 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16365 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16366 Use GTK locks while disposing (Xlib) surface.
16368 2006-06-09 Tom Tromey <tromey@redhat.com>
16370 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16371 (uninstall-local): Delete 'sun' directory.
16372 (glibj.zip): Include 'sun' classes.
16373 (clean-local): Delete 'sun' directory.
16374 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16376 2006-06-09 Roman Kennke <kennke@aicas.com>
16378 * gnu/java/awt/java2d/AbstractGraphics2D.java
16379 (drawImage): Fixed scaling.
16380 (fillShape): Removed offset handling.
16381 (fillShapeImpl): Limit scanlining to device bounds.
16382 (getSegments): Removed offset handling.
16383 * gnu/java/awt/java2d/PolyEdge.java
16384 (toString): Include isClip flag in output.
16386 2006-06-08 Sven de Marothy <sven@physto.se>
16388 * java/awt/font/TextLayout.java
16389 (getOutline): Allow null transform.
16391 2006-06-08 Sven de Marothy <sven@physto.se>
16393 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16394 (drawString): Use TextLayout instead of GlyphVector.
16396 2006-06-08 Sven de Marothy <sven@physto.se>
16398 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16399 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16400 New constructor for bidirectionality.
16401 (getGlyphMetrics): Return whitespace glyphs.
16402 (getLogicalBounds): Offset rectangles to correct positions.
16403 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16404 (getBaselineFor): Default to ROMAN_BASELINE.
16405 (GdkFontLineMetrics): Guess some values for underline and
16407 (layoutGlyphVector): Use bidirectionality.
16408 * java/awt/font/TextLayout.java: Implement, mostly.
16410 2006-06-09 Anthony Green <green@redhat.com>
16412 PR classpath/27888:
16413 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16414 * java/util/Collections.java (binarySearch): Use unsigned shift.
16415 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16417 2006-06-09 Tom Tromey <tromey@redhat.com>
16419 * tools/.cvsignore: Added .deps.
16421 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16423 PR classpath/27966:
16424 * gnu/javax/security/auth/login/ConfigFileParser.java
16425 (validateClassName): Quote '.' in regexp.
16427 2006-06-09 Tom Tromey <tromey@redhat.com>
16429 PR classpath/23863:
16430 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16432 * native/fdlibm/mprec.c: New version from newlib. Commented out
16433 some includes. Added <assert.h>.
16434 (_reent, _Bigint): New defines.
16435 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16436 (__ULong, __Long): New types.
16437 (_calloc_r): New function.
16438 (Balloc): Dynamically add new _freelist entries as needed.
16439 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16440 MAX_BIGNUMS to size _x[].
16441 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16442 _allocation_map, num. Added _max_k.
16444 2006-06-09 Roman Kennke <kennke@aicas.com>
16446 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16447 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16450 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16452 * java/awt/image/BufferedImage.java
16453 (BufferedImage(int, int, int)): Added API docs,
16454 (getProperty(String)): Return correct value for undefined properties,
16455 (getPropertyNames()): Added comments and removed FIXME.
16457 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16459 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16460 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16462 2006-06-09 Francis Kung <fkung@redhat.com>
16464 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16465 (getPreferredSize): Return correct height for null or empty
16468 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16470 * java/awt/datatransfer/DataFlavor.java
16471 (readExternal): Mark as stub,
16472 (writeExternal): Likewise,
16473 * java/awt/dnd/DropTargetContext.java
16474 (dropComplete): Mark as stub,
16475 (acceptDrag): Likewise,
16476 (rejectDrag): Likewise,
16477 (acceptDrop): Likewise,
16478 (rejectDrop): Likewise,
16479 (getCurrentDataFlavors): Likewise,
16480 (getTransferable): Likewise,
16481 * java/awt/dnd/DropTargetDropEvent.java
16482 (dropComplete): Mark as stub.
16484 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16486 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16487 (constructor): Do not lowercase the values.
16488 * javax/swing/text/html/HTMLDocument.java
16489 (HTMLReader.addSpecialElement): Implemented.
16490 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16492 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16494 On behalf of Matthew Wringe <mwringe@redhat.com>
16495 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16496 * gnu/javax/crypto/pad/ISO10126.java: New class.
16497 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16498 (getInstance): Added support for ISO-10126 scheme.
16499 (getNames): Likewise.
16500 Cache result for speed.
16502 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16504 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16505 flexible self-test by sub-classes.
16506 (test1BlockSize): New method.
16508 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16510 * javax/swing/plaf/basic/BasicLookAndFeel.java
16511 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16512 * javax/swing/plaf/basic/BasicScrollBarUI.java
16513 (installKeyboardActions): Implemented,
16514 (uninstallKeyboardActions): Implemented,
16515 (getInputMap): New method,
16516 (getActionMap): New method,
16517 (createActionMap): New method,
16518 (installUI): Call installKeyboardActions(),
16519 (uninstallUI): Call uninstallKeyboardActions().
16521 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16523 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16524 (getActionMap): Use correct key to store action map.
16526 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16528 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16529 (executeInstruction): Added NOT support.
16531 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16533 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16536 2006-06-08 Tom Tromey <tromey@redhat.com>
16538 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16541 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16543 * java/lang/management/RuntimeMXBean.java:
16546 2006-06-08 Lillian Angel <langel@redhat.com>
16548 * native/plugin/gcjwebplugin.cc:
16549 (NP_Shutdown): Freed whitelist_filename.
16551 2006-06-08 Lillian Angel <langel@redhat.com>
16553 * native/plugin/Makefile.am:
16554 Removed DATA_DIRECTORY.
16555 * native/plugin/gcjwebplugin.cc:
16556 Added new global fields for whitelist_file
16557 and data_directory. Removed WHITELIST_FILE.
16558 (NP_Initialize): Initialized new fields. Also,
16559 Changed to use new fields.
16560 (NP_Shutdown): Freed data_directory.
16561 (GCJ_New): Changed to use new fields.
16562 (plugin_ask_user_about_documentbase): Likewise.
16564 2006-06-08 Lillian Angel <langel@redhat.com>
16566 * native/plugin/Makefile.am:
16567 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16568 * native/plugin/gcjwebplugin.cc:
16569 Changed all instances of PLUGIN_DATA_DIRECTORY
16572 2006-06-08 Roman Kennke <kennke@aicas.com>
16574 * java/awt/LightweightDispatcher.java
16575 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16576 with convertPointToChild(). This is more efficient and avoids
16577 problems with getLocationOnScreen().
16578 (findTarget): Check for component beeing showing() early.
16579 Simplified AWTUtilities.convertPoint() to a simple substraction
16581 (convertPointToChild): New helper method.
16583 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16585 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16588 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16589 Lillian Angel <langel@redhat.com>
16591 * native/plugin/gcjwebplugin.cc
16592 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16593 Also, reset initialized field.
16595 2006-06-08 Lillian Angel <langel@redhat.com>
16597 * javax/swing/plaf/basic/BasicProgressBarUI.java
16598 (paintString): Fixed to paint string at the correct location.
16600 2006-06-08 Roman Kennke <kennke@aicas.com>
16602 * javax/swing/plaf/basic/BasicTreeUI.java
16603 (createDefaultActions): Added new actions.
16604 (TreePageAction.TreePageAction): Set action name.
16605 (TreePageAction.actionPerformed): Implemented.
16606 (TreePageAction.isEnabled): Implemented.
16607 (TreeToggleAction.TreePageAction): Set action name.
16608 (TreeToggleAction.actionPerformed): Implemented.
16609 (TreeToggleAction.isEnabled): Implemented.
16610 (TreeTraverseAction.TreeTraverseAction): Set action name.
16611 (TreeTraverseAction.actionPerformed): Use action name as command.
16612 (TreeTraverseAction.isEnabled): Implemented.
16614 2006-06-08 Roman Kennke <kennke@aicas.com>
16616 * javax/swing/plaf/basic/BasicTreeUI.java
16617 (installKeyboardActions): Rewritten to correctly install the UI
16618 input and action maps.
16619 (getActionMap): New helper method.
16620 (createDefaultActionMap): New helper method.
16621 (TreeHomeAction.TreeHomeAction()): Implemented.
16622 (TreeHomeAction.actionPerformed): Implemented.
16623 (TreeHomeAction.isEnabled): Implemented.
16624 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16625 (TreeIncrementAction.actionPerformed): Use action name as command.
16626 (TreeIncrementAction.isEnabled): Implemented.
16628 2006-06-08 Mark Wielaard <mark@klomp.org>
16631 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16632 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16635 2006-06-08 Mark Wielaard <mark@klomp.org>
16637 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16638 (attrs): Removed unused static.
16640 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16642 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16643 (getInputMap): New method,
16644 (getActionMap): New method,
16645 (createActionMap): New method,
16646 (installKeyboardActions): Implemented,
16647 (uninstallKeyboardActions): Implemented.
16649 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16651 * javax/swing/border/MatteBorder.java:
16652 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16654 (paintBorder): Added if-statement to abort painting early.
16656 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16659 * gnu/xml/dom/DomIterator.java:
16660 (successor): Changed expression.
16662 2006-06-08 Sven de Marothy <sven@physto.se>
16664 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16665 (defaultLayout): Do kerning.
16666 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16667 (getKerning): Correct class name, removed unused variable.
16669 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16671 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16672 libqtpeer.so unconditionally.
16674 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16676 * java/util/InputMismatchException.java:
16679 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16681 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16683 2006-06-07 Roman Kennke <kennke@aicas.com>
16685 * javax/swing/plaf/basic/BasicTreeUI.java
16686 (completeUIUninstall): Implemented.
16687 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16688 editing before uninstalling anything.
16689 (isToggleEvent): Implemented.
16690 (selectPathForEvent): Make use of isToggleEvent().
16691 (ComponentHandler.componentMoved): Implemented.
16692 (ComponentHandler.startTimer): Implemented.
16693 (ComponentHandler.getScrollPane): Implemented.
16694 (ComponentHandler.actionPerformed): Implemented.
16696 2006-06-07 Francis Kung <fkung@redhat.com>
16698 * javax/swing/JMenuBar.java:
16699 (getSubElements): Do not return null values.
16701 2006-06-07 Roman Kennke <kennke@aicas.com>
16704 * gnu/regexp/BacktrackStack.java
16705 * gnu/regexp/CharIndexed.java
16706 * gnu/regexp/CharIndexedCharArray.java
16707 * gnu/regexp/CharIndexedCharSequence.java
16708 * gnu/regexp/CharIndexedInputStream.java
16709 * gnu/regexp/CharIndexedString.java
16710 * gnu/regexp/CharIndexedStringBuffer.java
16711 * gnu/regexp/RE.java
16712 * gnu/regexp/REException.java
16713 * gnu/regexp/REFilterInputStream.java
16714 * gnu/regexp/REMatch.java
16715 * gnu/regexp/REMatchEnumeration.java
16716 * gnu/regexp/RESyntax.java
16717 * gnu/regexp/REToken.java
16718 * gnu/regexp/RETokenAny.java
16719 * gnu/regexp/RETokenBackRef.java
16720 * gnu/regexp/RETokenChar.java
16721 * gnu/regexp/RETokenEnd.java
16722 * gnu/regexp/RETokenEndOfPreviousMatch.java
16723 * gnu/regexp/RETokenEndSub.java
16724 * gnu/regexp/RETokenIndependent.java
16725 * gnu/regexp/RETokenLookAhead.java
16726 * gnu/regexp/RETokenLookBehind.java
16727 * gnu/regexp/RETokenNamedProperty.java
16728 * gnu/regexp/RETokenOneOf.java
16729 * gnu/regexp/RETokenPOSIX.java
16730 * gnu/regexp/RETokenRange.java
16731 * gnu/regexp/RETokenRepeated.java
16732 * gnu/regexp/RETokenStart.java
16733 * gnu/regexp/RETokenWordBoundary.java
16734 * gnu/regexp/UncheckedRE.java
16735 * gnu/java/util/regex/BacktrackStack.java
16736 * gnu/java/util/regex/CharIndexed.java
16737 * gnu/java/util/regex/CharIndexedCharArray.java
16738 * gnu/java/util/regex/CharIndexedCharSequence.java
16739 * gnu/java/util/regex/CharIndexedInputStream.java
16740 * gnu/java/util/regex/CharIndexedString.java
16741 * gnu/java/util/regex/CharIndexedStringBuffer.java
16742 * gnu/java/util/regex/RE.java
16743 * gnu/java/util/regex/REException.java
16744 * gnu/java/util/regex/REFilterInputStream.java
16745 * gnu/java/util/regex/REMatch.java
16746 * gnu/java/util/regex/REMatchEnumeration.java
16747 * gnu/java/util/regex/RESyntax.java
16748 * gnu/java/util/regex/REToken.java
16749 * gnu/java/util/regex/RETokenAny.java
16750 * gnu/java/util/regex/RETokenBackRef.java
16751 * gnu/java/util/regex/RETokenChar.java
16752 * gnu/java/util/regex/RETokenEnd.java
16753 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16754 * gnu/java/util/regex/RETokenEndSub.java
16755 * gnu/java/util/regex/RETokenIndependent.java
16756 * gnu/java/util/regex/RETokenLookAhead.java
16757 * gnu/java/util/regex/RETokenLookBehind.java
16758 * gnu/java/util/regex/RETokenNamedProperty.java
16759 * gnu/java/util/regex/RETokenOneOf.java
16760 * gnu/java/util/regex/RETokenPOSIX.java
16761 * gnu/java/util/regex/RETokenRange.java
16762 * gnu/java/util/regex/RETokenRepeated.java
16763 * gnu/java/util/regex/RETokenStart.java
16764 * gnu/java/util/regex/RETokenWordBoundary.java
16765 * gnu/java/util/regex/UncheckedRE.java
16766 Moved gnu.regexp classes to gnu.java.util.regex package.
16767 * java/util/regex/Matcher.java
16768 * java/util/regex/Pattern.java
16769 Adjusted import statements for new package name for gnu regexp.
16771 2006-06-07 Tom Tromey <tromey@redhat.com>
16773 PR classpath/27905:
16774 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16775 Added missing charsets.
16776 (charsetForName): Don't check 'extendedLoaded'.
16778 2006-06-07 Roman Kennke <kennke@aicas.com>
16781 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16782 (clip(Shape)): Implemented correctly, so that the current shape
16783 gets intersected by the parameter shape.
16785 2006-06-07 Lillian Angel <langel@redhat.com>
16787 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16788 (getTabBounds): If this method is called with a tab index
16789 that is not in the rects array, we need to re-layout the container
16792 2006-06-07 Lillian Angel <langel@redhat.com>
16794 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16795 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16796 * java/lang/String.java
16797 (codePointCount): Fixed check to match API. Shouldn't throw exception
16798 if end == count. end is 1 more than the endIndex, so end == count is
16801 2006-06-07 Gary Benson <gbenson@redhat.com>
16804 * native/jni/java-io/java_io_VMFile.c
16805 (Java_java_io_VMFile_toCanonicalForm): New method.
16806 * configure.ac: Added checks for lstat and readlink.
16807 * include/java_io_VMFile.h: Added new method.
16808 * vm/reference/java/io/VMFile.java: Use new method.
16809 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16810 * NEWS: Documented the above.
16811 * java/io/File.java: Javadoc fix.
16813 2006-06-07 Roman Kennke <kennke@aicas.com>
16816 * javax/swing/JTree.java
16817 (JTree()): Initialize with default model.
16818 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16819 on the updateUI() / setModel() order.
16820 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16822 * javax/swing/plaf/basic/BasicTreeUI.java
16823 (BasicTreeUI()): Initialize listeners in installListeners().
16824 (setModel): Complete editing on model change. Correctly resetup
16825 the listeners. Update the layout cache accordingly.
16826 (setShowRootHandles): Complete editing and update layout. Do not
16827 call back into the JTree, this could cause cycles.
16828 (prepareForUIInstall): Implemented. Moved some init code from
16829 installUI() to this method.
16830 (completeUIInstall): Implemented. Moved some init code from
16831 installUI() to this method.
16832 (createDefaultCellEditor): Check for type of renderer, and install
16833 with null renderer when not DefaultTreeCellRenderer.
16834 (updateLayoutCacheExpandedNodes): Added null check for tree root
16836 (updateRenderer): Call updateEditor().
16837 (installListeners): Initialize the listeners here. Added some null
16838 checks to avoid NPEs.
16839 (installUI): Moved some init code to prepareForUIInstall() and
16840 completeUIInstall().
16841 (completeEditing): Return immediately if editing component is null
16842 or if the setting is to not stop editing on complete editing.
16843 (checkForClickInExpandControl): Call handleExpandControlClick()
16844 instead of toggleExpandState() directly.
16845 (isLocationInExpandControl): Rewritten to correctly determine the
16846 expand click location.
16847 (MouseHandler.mousePressed): Rewritten to make better use of the
16848 instance methods of BasicTreeUI to handle the click.
16849 (PropertyHandler.propertyChange): Handle model and cell renderer
16851 * javax/swing/tree/DefaultTreeCellEditor.java
16852 (DefaultTreeCellEditor): Removed initialization of the icon. This
16853 is done so that the constructor can deal with null renderer as the
16854 RI does. Maybe this needs more fixing.
16855 * javax/swing/tree/TreePath.java
16856 (isDescendant): Fixed this method. The previous version did too
16857 much and compared the wrong things, which lead to a ClassCastException
16859 * javax/swing/tree/VariableHeightLayoutCache.java
16860 (update): Do nothing when model is null.
16861 (setModel): Clear the tables and update the layout. Added null
16862 check to prevent NPE.
16864 2006-06-07 Sven de Marothy <sven@physto.se>
16866 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16868 2006-06-07 Sven de Marothy <sven@physto.se>
16870 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16871 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16872 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16875 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16876 (getGlyphVector): Removed native method.
16877 (createGlyphVector, getStringBounds): Use new GV class.
16879 * include/Makefile.am
16880 * native/jni/gtk-peer/Makefile.am
16883 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16884 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16885 (getGlyphVector): Removed native method.
16887 2006-06-07 Chris Burdess <dog@gnu.org>
16889 * gnu/classpath/debug/TeeInputStream.java,
16890 gnu/classpath/debug/TeeOutputStream.java,
16891 gnu/classpath/debug/TeeReader.java,
16892 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16893 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16894 read more characters than absolutely necessary in tryRead method.
16896 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16898 * examples/gnu/classpath/examples/swing/Demo.java:
16899 (mkMenuBar): Put look and feel radio buttons into
16900 appropriate button group.
16902 2006-06-07 Chris Burdess <dog@gnu.org>
16904 * gnu/xml/stream/SAXParser.java,
16905 gnu/xml/stream/XMLParser.java: Add command line options for setting
16906 parsing parameters (for simpler debugging).
16907 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16908 closing output stream is propagated to application.
16910 2006-06-06 Mark Wielaard <mark@klomp.org>
16913 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16914 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16915 call disposeSurface.
16916 (disposeSurface): New native method.
16917 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16918 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16920 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16921 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16922 cairo_pattern_destroy.
16923 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16924 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16925 New function to destroy the surface.
16926 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16927 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16928 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16930 2006-06-06 Mark Wielaard <mark@klomp.org>
16932 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16935 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16937 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16938 (paint): If has focus, paint special background color,
16939 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16940 (FocusHandler.focusGained): Implemented,
16941 (FocusHandler.focusLost): Implemented.
16943 2006-06-06 Tom Tromey <tromey@redhat.com>
16945 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16947 (writeAttributeSet): Implemented.
16949 2006-06-06 Tom Tromey <tromey@redhat.com>
16951 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16953 (SpecialAction.end): Removed.
16954 (IsindexAction.end): Likewise.
16956 2006-06-06 Tom Tromey <tromey@redhat.com>
16958 * include/jni.h (JDK1_1InitArgs): New struct.
16959 (JDK1_1AttachArgs): Likewise.
16961 2006-06-06 Tom Tromey <tromey@redhat.com>
16963 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16965 (getUnresolvedName): New method.
16966 (getUnresolvedActions): New method.
16967 (getUnresolvedCerts): New method.
16969 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16971 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16972 (getColor): Removed debugging code.
16974 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16976 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16977 (getColor): Added support for "rgb(red, green, blue)" notation.
16978 (translateTag): Use Boolean.TRUE, not new Boolean().
16980 2006-06-06 Roman Kennke <kennke@aicas.com>
16983 * javax/swing/JTree.java
16984 (JTree(TreeModel)): Call updateUI() before setModel().
16985 (setModel): Don't call updateUI here.
16987 2006-06-06 Lillian Angel <langel@redhat.com>
16989 * native/plugin/gcjwebplugin.cc:
16990 Fixed failure message and commenting.
16991 (NP_Initialize): Added more comments.
16993 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16995 * javax/swing/JSplitPane.java
16996 (AccessibleJSplitPane): API doc fixes,
16997 (setDividerLocation): Likewise,
16998 * javax/swing/plaf/basic/BasicLookAndFeel.java
16999 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17000 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17001 (getInputMap): New method,
17002 (getActionMap): New method,
17003 (createActionMap): New method,
17004 (installKeyboardActions): Implemented,
17005 (uninstallKeyboardActions): Implemented.
17007 2006-06-06 Roman Kennke <kennke@aicas.com>
17010 * javax/swing/MenuSelectionManager.java
17011 (processKeyEvent): Added check to avoid
17012 ArrayIndexOutOfBoundsException.
17014 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17016 * gnu/javax/swing/text/html/htmlAttributeSet.java
17017 (getAttributeNames): Rewritten
17019 2006-06-06 Chris Burdess <dog@gnu.org>
17021 * gnu/xml/transform/TransformerImpl.java: Check type of created
17022 document (more cases).
17024 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17026 * gnu/javax/swing/text/html/htmlAttributeSet.java
17027 (clone): New method. (copyAttributes): New method.
17028 (getResolveParent): Comment fix. (getAttribute):
17029 Rewritten. (addAttribute): Rewritten.
17030 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17033 2006-06-06 Roman Kennke <kennke@aicas.com>
17036 * javax/swing/JMenuBar.java
17037 (processKeyBindingHelper): Added null check to prevent NPE.
17039 2006-06-06 Roman Kennke <kennke@aicas.com>
17041 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17042 (ShowSystemMenuAction): New class.
17043 (installKeyboardActions): Implemented.
17044 (uninstallKeyboardActions): Implemented.
17045 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17046 (installKeyboardActions): Overridden to remove showSystemMenu action.
17048 2006-06-06 Chris Burdess <dog@gnu.org>
17050 * gnu/xml/transform/TransformerImpl.java: Check type of created
17053 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17055 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17056 (getScreenDevices): Added explicit cast.
17058 2006-06-06 Roman Kennke <kennke@aicas.com>
17060 * javax/swing/plaf/basic/BasicTextUI.java
17061 (installKeyboardActions): Use shared input map. Correctly
17062 install the input/action maps in the component's input/action
17064 (getActionMap): New helper method for fetching an ActionMap from
17065 the UIManager or creating a default one if there is none supplied
17067 (createActionMap): Add the TransferHandler's actions here. Made
17069 (getInputMap): Leave out unnecessary method parameter. Load
17071 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17073 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17075 * configure.ac: Added missing [ to expression.
17077 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17079 * configure.ac: Added missing { to expression.
17081 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17083 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17084 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17085 * include/Makefile.am: Added
17086 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17087 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17088 (GdkGraphicsConfiguration): Rewritten.
17089 (getColorModel): Rewritten.
17090 (getColorModel(int)): Rewritten.
17091 (getBounds): Rewritten.
17092 (createCompatibleVolatileImage): Implemented.
17093 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17095 (getDefaultScreenDevice): Rewritten.
17096 (nativeGetDefaultScreenDevice): New method.
17097 (getScreenDevices): Rewritten.
17098 (nativeGetScreenDevices): New method.
17099 (nativeInitState): New method.
17100 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17102 (X11DisplayMode): New inner class.
17103 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17104 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17105 * native/jni/gtk-peer/gdkdisplay.h: New file.
17106 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17107 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17109 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17111 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17112 _nativeGetScreenDevices):
17114 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17115 _nativeGetDefaultScreenDevice):
17117 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17119 * configure.ac: Added check for Xrandr library.
17121 2006-06-06 Roman Kennke <kennke@aicas.com>
17123 * javax/swing/plaf/basic/BasicTableUI.java
17124 (getMaximumSize): Don't return null. Fixed calculation of
17126 (getMinimumSize): Don't return null. Fixed calculation of
17128 (getPreferredSize): Fixed calculation of with and height. Added
17130 (getHeight): New helper method.
17132 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17134 * javax/swing/JComponent.java
17135 (getInputMap(int)): Throw IllegalArgumentException for unknown
17136 condition argument, and added API docs,
17137 (getInputMap()): Added API docs.
17139 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17141 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17143 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17145 * javax/swing/JTable.java
17146 (AccessibleJTableHeaderCell.header): New field,
17147 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17148 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17149 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17150 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17151 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17152 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17153 (AccessibleJTable.getAccessibleAt): Reimplemented.
17155 2006-06-05 Sven de Marothy <sven@physto.se>
17157 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17158 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17159 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17160 (initFromVolatile): New method.
17161 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17162 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17164 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17165 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17166 (copyArea, drawVolatileImage): New methods.
17168 2006-06-05 Tania Bento <tbento@redhat.com>
17170 * javax/swing/JFrame.java
17171 (frameInit): Set background color and fixed layout parameters.
17173 2006-06-05 Tom Tromey <tromey@redhat.com>
17175 * NEWS: Mention VMURLConnection.
17177 2006-06-05 Lillian Angel <langel@redhat.com>
17179 * native/plugin/gcjwebplugin.cc:
17180 Added new field to keep track of initialization.
17181 (plugin_start_appletviewer): Fixed to return an error value, if
17182 an error was encountered when loading the appletviewer.
17183 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17185 (plugin_failed): New helper function. Shows a warning if the appletviewer
17186 has not been installed.
17187 (NP_Initialize): Added code to make sure this function is only called
17190 2006-06-05 Lillian Angel <langel@redhat.com>
17192 * native/plugin/Makefile.am:
17193 Fixed to use a set plugin directory in the .mozilla directory.
17194 All applet logs are now stored here, instead of /tmp.
17195 * native/plugin/gcjwebplugin.cc:
17196 Added new fields for security warning.
17197 (GCJ_NEW): Added code to generate a security warning for all pages
17198 that spawn an appletviewer. This warning asks the user if they trust
17199 the applet and if they would like to add it to a 'whitelist'. This
17200 whitelist keeps track of all the addresses the user would like
17201 to trust indefinitely.
17202 (plugin_user_trusts_documentbase): New helper function.
17203 (plugin_add_documentbase_to_whitelist): New helper function.
17204 (plugin_ask_user_about_documentbase): New helper function.
17205 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17207 (plugin_start_appletviewer): Likewise.
17208 (plugin_create_applet_tag): Reset all fields to null after they have been
17210 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17211 if channel_error has been set.
17212 (plugin_stop_appletviewer): Likewise.
17213 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17216 2006-06-05 Francis Kung <fkung@redhat.com>
17219 * gnu/java/awt/peer/gtk/GtkImage.java
17220 (getSource): Added check to determine if in
17221 errorLoading state.
17222 * gnu/java/awt/peer/gtk/GtkToolkit.java
17223 (createImage): Added check to prevent NPE.
17225 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17227 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17228 Create the ImageView, when applicable.
17229 * gnu/javax/swing/text/html/CombinedAttributes.java,
17230 javax/swing/text/html/ImageView.java: New files.
17232 2006-06-05 Roman Kennke <kennke@aicas.com>
17235 * javax/swing/text/GapContent.java
17236 (setPositionsInRange): Compare with startIndex and endIndex
17237 rather than start and end.
17238 (dumpMarks): Only dump real marks.
17240 2006-06-05 Sven de Marothy <sven@physto.se>
17242 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17243 (ComponentGraphics): Use 0,0 as clip origin.
17245 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17247 * java/util/Formattable.java,
17248 * java/util/FormattableFlags.java,
17249 * java/util/Formatter.java:
17252 2006-06-04 Tom Tromey <tromey@redhat.com>
17254 * javax/naming/Context.java (list): Genericized.
17255 (listBindings): Likewise.
17256 * javax/naming/Reference.java (addrs): Genericized.
17257 * javax/naming/InitialContext.java (myProps): Fixed type.
17258 (init): Genericized.
17260 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17262 * java/util/DuplicateFormatFlagsException.java,
17263 * java/util/FormatFlagsConversionMismatchException.java,
17264 * java/util/FormatterClosedException.java,
17265 * java/util/IllegalFormatCodePointException.java,
17266 * java/util/IllegalFormatConversionException.java,
17267 * java/util/IllegalFormatException.java,
17268 * java/util/IllegalFormatFlagsException.java,
17269 * java/util/IllegalFormatPrecisionException.java,
17270 * java/util/IllegalFormatWidthException.java,
17271 * java/util/MissingFormatArgumentException.java,
17272 * java/util/MissingFormatWidthException.java,
17273 * java/util/UnknownFormatConversionException.java,
17274 * java/util/UnknownFormatFlagsException.java:
17277 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17279 * java/lang/System.java:
17280 (getenv()): Handle cases where split only
17281 returns an array of size 1.
17283 2006-06-04 Sven de Marothy <sven@physto.se>
17285 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17286 (createVolatileImage): Pass peer to VolatileImage constructor.
17287 * java/awt/Component.java
17288 (createVolatileImage): Call peer method directly.
17290 2006-06-04 Sven de Marothy <sven@physto.se>
17292 * gnu/java/awt/peer/gtk/CairoSurface.java
17293 (getFlippedBuffer): New method.
17294 (getGtkImage): Renamed method.
17295 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17296 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17297 Renamed getSharedImage to getGtkImage.
17298 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17299 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17300 (getFlippedBuffer): New method
17301 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17302 Avoid window casts.
17303 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17305 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17306 (drawVolatile): Add casts.
17307 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17308 (getOutline): Add casts.
17309 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17310 Comment out unused prototype.
17311 (getPixels): Add appropriate cast and comment out unused variable.
17313 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17315 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17316 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17317 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17318 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17319 (getSystemInstance): Fix javadoc @link.
17320 (counter): Increased visibility.
17321 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17322 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17323 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17324 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17325 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17326 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17327 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17328 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17329 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17330 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17331 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17332 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17333 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17334 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17335 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17336 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17337 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17338 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17339 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17340 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17341 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17342 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17343 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17344 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17345 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17346 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17347 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17348 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17349 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17350 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17351 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17353 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17355 * gnu/java/security/PolicyFile.java: Updated copyright year.
17356 (logger): Increased visibility.
17357 * gnu/java/security/x509/Util.java: Updated copyright year.
17358 (hexDump): Fix javadoc @link.
17359 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17360 Removed unused import.
17361 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17362 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17363 * gnu/java/security/util/ExpirableObject.java: Likewise.
17364 (destroy): Likewise.
17365 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17366 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17367 Updated copyright year.
17368 (checkCRL): Fix javadoc @param.
17370 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17372 * java/lang/annotation/IncompleteAnnotationException.java:
17375 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17377 * java/lang/ProcessBuilder.java:
17379 (environment): Create as a copy.
17380 * java/lang/System.java:
17381 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17383 (EnvironmentMap.put(String,String)): Override superclass
17384 method with checks for nulls and non-Strings.
17386 2006-06-02 Sven de Marothy <sven@physto.se>
17388 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17389 (cairoPreserveClip, cairoResetClip): New methods.
17390 (setClip, clip): Reimplement.
17391 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17392 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17393 (cairoPreserveClip, cairoResetClip): New methods.
17395 2006-06-02 Sven de Marothy <sven@physto.se>
17397 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17398 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17399 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17401 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17402 (drawImage): Overloads for VolatileImage drawing.
17403 (drawVolatile): New method.
17404 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17405 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17406 (drawVolatile): New method.
17407 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17408 Unstub implementation.
17409 * include/Makefile.am
17410 * native/jni/gtk-peer/Makefile.am
17412 * native/jni/gtk-peer/gtkpeer.h
17415 2006-06-03 Roman Kennke <kennke@aicas.com>
17418 * javax/swing/plaf/basic/BasicTextUI.java
17419 (damageRange): Added null check to avoid NPE.
17421 2006-06-03 Roman Kennke <kennke@aicas.com>
17423 * javax/swing/text/PlainView.java
17424 (updateDamage): Check for valid longestLine and initialize if
17427 2006-06-03 Mark Wielaard <mark@klomp.org>
17429 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17432 2006-06-02 Sven de Marothy <sven@physto.se>
17435 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17436 (copyArea): Implement.
17437 (copyAreaImpl, getRealBounds): New methods.
17438 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17439 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17440 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17441 (copyAreaImpl, getRealBounds): Implement.
17442 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17443 (nativeCopyArea): Reimplement.
17445 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17447 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17448 (XTEST_LIBS): New, substitute.
17449 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17451 2006-06-02 Roman Kennke <kennke@aicas.com>
17454 * javax/swing/text/PlainView.java
17455 (updateDamage): Rewritten for correct repainting and revalidating.
17456 (findLongestLine): New helper method.
17457 (getLineLength): New helper method.
17459 2006-06-02 Sven de Marothy <sven@physto.se>
17461 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17462 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17463 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17464 (nativeCopyArea): Change stride parameter to use # of ints.
17465 (setPixels): Add checks.
17466 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17467 (ComponentGraphics): Set background, clip.
17468 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17469 (Cairographics2D): Don't set clip.
17470 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17473 2006-06-02 Lillian Angel <langel@redhat.com>
17476 * java/awt/DefaultKeyboardFocusManager.java
17477 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17478 to get the focused window.
17480 2006-06-01 Miriam Schuster <schmir11@web.de>
17482 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17483 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17485 2006-06-02 Roman Kennke <kennke@aicas.com>
17487 * javax/swing/JTable.java
17488 (columnSelectionChanged): Don't return when there's only one
17489 column (might still need repainting). Correctly calculate
17491 (valueChanged): Use return value of SwingUtilities.computeUnion
17494 2006-06-01 Keith Seitz <keiths@redhat.com>
17496 From Martin Platter <motse@complang.tuwien.ac.at>:
17497 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17498 (executeSet): Fix buffer underflow reading reference ID.
17499 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17500 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17501 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17502 (executeSuperclass): Handle case of Object with ID zero.
17504 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17506 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17507 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17508 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17509 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17510 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17511 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17512 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17513 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17514 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17515 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17516 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17518 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17520 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17521 (Command): Add the shutdown hook.
17522 (doCommand): Remove the shutdown hook.
17523 (ShutdownHook): New class.
17525 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17527 * tools/jarsigner.in: Use @VM_BINARY@.
17528 * tools/keytool.in: Likewise.
17530 2006-06-01 Sven de Marothy <sven@physto.se>
17532 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17533 (setColor): Update the cairo paint.
17535 2006-06-01 Mark Wielaard <mark@klomp.org>
17537 * java/util/logging/LogManager.java (createInstance): Always add
17538 original exception on warning.
17540 2006-06-01 Lillian Angel <langel@redhat.com>
17542 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17543 (prependCodebase): Fixed check. No dirname was ever considered to
17544 be a file, so every applet fell into the if-statement causing a lot
17545 of classloading problems with the applets.
17547 2006-06-01 Sven de Marothy <sven@physto.se>
17549 Patch submitted by Boris Dusek.
17550 * native/jni/qt-peer/qtmenupeer.cpp
17553 2006-06-01 Roman Kennke <kennke@aicas.com>
17555 * javax/swing/JTable.java
17556 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17557 why the behaviour is like it is.
17558 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17559 (AccessibleJTableHeader): New inner class.
17560 (AccessibleJTableHeaderCell): New inner class.
17561 (AccessibleJTable.lastSelectedRow): New field.
17562 (AccessibleJTable.lastSelectedColumn): New field.
17563 (AccessibleJTable.caption): New field.
17564 (AccessibleJTable.summary): New field.
17565 (AccessibleJTable.rowDescriptions): New field.
17566 (AccessibleJTable.columnDescriptions): New field.
17567 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17568 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17569 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17570 (AccessibleJTable.addAccessibleSelection): Implemented.
17571 (AccessibleJTable.removeAccessibleSelection): Implemented.
17572 (AccessibleJTable.clearAccessibleSelection): Implemented.
17573 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17574 (AccessibleJTable.valueChange): Implemented.
17575 (AccessibleJTable.tableRowsInserted): Implemented.
17576 (AccessibleJTable.tableRowsDeleted): Implemented.
17577 (AccessibleJTable.handleRowChange): New helper method.
17578 (AccessibleJTable.columnAdded): Implemented.
17579 (AccessibleJTable.columnMarginChanged): Implemented.
17580 (AccessibleJTable.columnMoved): Implemented.
17581 (AccessibleJTable.columnRemoved): Implemented.
17582 (AccessibleJTable.columnSelectionChanged): Implemented.
17583 (AccessibleJTable.handleColumnChange): New helper method.
17584 (AccessibleJTable.editingCanceled): Implemented.
17585 (AccessibleJTable.editingStopped): Implemented.
17586 (AccessibleJTable.getAccessibleRow): Implemented.
17587 (AccessibleJTable.getAccessibleColumn): Implemented.
17588 (AccessibleJTable.getAccessibleIndex): Implemented.
17589 (AccessibleJTable.getAccessibleCaption): Implemented.
17590 (AccessibleJTable.setAccessibleCaption): Implemented.
17591 (AccessibleJTable.getAccessibleSummary): Implemented.
17592 (AccessibleJTable.setAccessibleSummary): Implemented.
17593 (AccessibleJTable.getAccessibleRowCount): Implemented.
17594 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17595 (AccessibleJTable.getAccessibleAt): Implemented.
17596 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17597 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17598 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17599 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17600 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17601 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17602 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17603 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17604 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17605 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17606 (AccessibleJTable.isAccessibleSelected): Implemented.
17607 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17608 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17609 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17610 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17611 (getAccessibleContext): Register listeners for the accessibility
17612 class on the JTable.
17614 2006-06-01 Sven de Marothy <sven@physto.se>
17616 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17617 (setPaint): Scale +1 pixel larger.
17619 2006-06-01 Sven de Marothy <sven@physto.se>
17622 * gnu/java/awt/Buffers.java (getData): Reimplement.
17623 * gnu/java/awt/peer/gtk/CairoSurface.java
17624 (getElem, setElem): Call native methods.
17626 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17628 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17630 2006-06-01 Sven de Marothy <sven@physto.se>
17632 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17633 (drawImage): Check for zero size.
17634 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17635 (setFont): Declare new native method.
17636 (GdkTextLayout): Read some attributes.
17637 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17638 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17639 (setFont): New native method.
17641 2006-06-01 Sven de Marothy <sven@physto.se>
17643 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17644 (updateBufferedImage): Fix some errors.
17646 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17648 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17650 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17651 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17652 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17653 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17654 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17655 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17656 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17657 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17658 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17659 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17661 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17663 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17664 * javax/swing/JEditorPane.java: Likewise,
17665 * javax/swing/JFormattedTextField.java: Likewise,
17666 * javax/swing/JLayeredPane.java: Likewise,
17667 * javax/swing/JScrollPane.java: Likewise,
17668 * javax/swing/JSlider.java: Likewise,
17669 * javax/swing/JSpinner.java: Likewise,
17670 * javax/swing/JTree.java: Likewise,
17671 * javax/swing/JViewport.java: Likewise,
17672 * javax/swing/UIDefaults.java: Likewise,
17673 * javax/swing/UIManager.java: Likewise.
17675 2006-06-01 Sven de Marothy <sven@physto.se>
17677 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17678 (BufferedImageGraphics): Cache surfaces.
17679 (updateBufferedImage): Copy directly for certain color models.
17680 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17681 (drawImage): Reimplement.
17683 2006-06-01 Sven de Marothy <sven@physto.se>
17685 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17686 (setPixels): Don't swap, correct size.
17688 2006-05-31 Anthony Green <green@redhat.com>
17691 * java/net/InetSocketAddress.java: Defer getting the host
17692 name until somebody calls InetSocketAddress.getHostName().
17693 Fix "represenation" typo.
17695 2006-06-01 Sven de Marothy <sven@physto.se>
17697 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17698 (updateBufferedImage): Simplify.
17699 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17700 (getPixels): Don't swap.
17702 2006-06-01 Sven de Marothy <sven@physto.se>
17704 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17705 (setGradient): Reimplement.
17707 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17709 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17710 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17711 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17712 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17713 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17714 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17715 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17718 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17720 * javax/swing/table/JTableHeader.java
17721 (getColumnHeaderRenderer): New method,
17722 (getAccessibleColumnHeaderRenderer): Delegate part to new
17723 getColumnHeaderRenderer() method,
17724 (getLocale): Implemented.
17726 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17728 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17729 (cp_gtk_grab_current_drawable): Rename
17730 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17731 cp_gtk_grab_current_drawable, remove static declaration.
17732 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17734 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17735 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17736 Remove prototype of
17737 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17738 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17740 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17741 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17742 cp_gtk_grab_current_drawable here.
17744 2006-05-31 Sven de Marothy <sven@physto.se>
17746 Should fix PR 27835
17747 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17748 (updateBufferedImage): Keep within image bounds.
17750 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17751 Andreas Tobler <a.tobler@schweiz.ch>
17753 * configure.ac: Check for libXrender when the GTK peers are
17754 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17756 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17757 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17758 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17760 2006-05-31 Lillian Angel <langel@redhat.com>
17762 * javax/swing/plaf/basic/BasicProgressBarUI.java
17763 (paintString): Implemented to paint the string vertically.
17765 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17767 * javax/swing/JTable.java
17768 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17769 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17771 (AccessibleJTable.getAccessibleTable()): Likewise,
17772 (getAccessibleContext): Create new context if required.
17774 2006-05-31 Roman Kennke <kennke@aicas.com>
17776 * javax/swing/JTabbedPane.java
17777 (AccessibleJTabbedPane.stateChanged): Implemented.
17778 (Page.getAccessibleStateSet): Implemented.
17779 (Page.getAccessibleIndexInParent): Implemented.
17780 (getAccessibleContext): Add AccessibleJTabbedPane object
17781 as ChangeListener to the JTabbedPane.
17783 2006-05-31 Roman Kennke <kennke@aicas.com>
17785 * javax/swing/JMenuItem.java
17786 (getAccessibleContext): Register accessible object as ChangeListener
17788 (AccessibleJMenuItem.armed): New field.
17789 (AccessibleJMenuItem.focusOwner): New field.
17790 (AccessibleJMenuItem.pressed): New field.
17791 (AccessibleJMenuItem.selected): New field.
17792 (stateChanged): Implemented.
17794 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17796 * javax/swing/ListSelectionModel.java: Added API docs all over.
17798 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17800 * examples/gnu/classpath/examples/swing/FillRect.java
17801 (paintComponent): Optionally paint lines rather than rectangles.
17802 (createContent): Added option to test line painting.
17804 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17806 * javax/swing/event/EventListenerList.java
17807 (getListenerList): Updated API docs.
17809 2006-05-30 Sven de Marothy <sven@physto.se>
17811 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17812 (drawImage): Clip scaled image to dest rectangle.
17814 2006-05-30 Sven de Marothy <sven@physto.se>
17816 * gnu/java/awt/peer/gtk/CairoSurface.java:
17817 (CairoSurface): Convert pixels properly.
17818 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17819 Remove commented-out lines.
17821 2006-05-30 Sven de Marothy <sven@physto.se>
17823 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17824 (drawImage): Use Toolkit to convert to BufferedImage.
17825 * gnu/java/awt/peer/gtk/CairoSurface.java
17826 (CairoSurface(GtkImage)): New Constructor.
17827 (getBufferedImage): New method.
17828 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17829 Don't fill background - FIXME.
17830 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17831 Remove unused methods.
17832 * gnu/java/awt/peer/gtk/GtkImage.java:
17833 (pixbuflock): New field. Methods change to use this lock.
17834 * gnu/java/awt/peer/gtk/GtkToolkit.java
17835 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17837 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17838 (setPixels): Correct length in bytes.
17840 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17842 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17843 System.loadLibrary unconditionally.
17844 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17845 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17846 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17847 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17849 2006-05-30 Mark Wielaard <mark@klomp.org>
17851 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17852 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17853 Mark unused parameters, remove unused variables.
17855 2006-05-30 Sven de Marothy <sven@physto.se>
17857 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17858 (copyArea): Implemented.
17859 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17860 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17861 (copyAreaNative): New method.
17863 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17865 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17866 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17867 for non big endian systems.
17868 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17870 2006-05-30 Roman Kennke <kennke@aicas.com>
17872 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17873 * java/awt/TexturePaint.java
17874 (createContext): Implemented.
17876 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17878 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17881 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17883 * java/awt/Container.java:
17884 (removeAll): Reimplemented, added note.
17886 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17888 * java/awt/Container.java:
17889 (removeAll): Implemented different removal mechanism, added note.
17891 2006-05-30 Lillian Angel <langel@redhat.com>
17894 * java/awt/Component.java:
17895 (translateEvent): Added handling to translate WindowEvents
17896 * java/awt/Window.java:
17897 Removed unneeded imports.
17899 2006-05-30 Mark Wielaard <mark@klomp.org>
17901 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17904 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17906 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17908 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17910 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17911 (clearRect): Do not reuse the fg field, call updateColor.
17912 (drawRaster): Likewise.
17913 (setColor): Call updateColor.
17914 (updateColor): New method.
17916 2006-05-30 Mark Wielaard <mark@klomp.org>
17918 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17919 (PTR_TO_JLONG): Likewise.
17920 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17921 (getPointer): Use new conversion macros.
17922 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17923 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17924 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17926 (setNativeObject): Likewise.
17927 (getNativeObject): Likewise.
17928 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17929 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17931 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17932 Correctly cast XID and pointer values.
17933 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17934 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17935 Mark unused variables.
17936 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17938 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17939 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17940 Remove unused cairographics2d struct.
17941 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17942 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17943 Use new conversion macros.
17944 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17946 2006-05-30 Mark Wielaard <mark@klomp.org>
17948 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17950 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17952 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17953 (copy): Do not reuse the fd field.
17954 (setColor): Do not set the color if the parameter
17956 (translate(double, double): Rewritten to use
17957 AffineTransform.translate.
17959 2006-05-30 Sven de Marothy <sven@physto.se>
17961 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17962 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17963 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17965 * include/Makefile.am
17966 * native/jni/gtk-peer/Makefile.am
17968 * gnu/java/awt/peer/gtk/CairoSurface.java
17969 (getSharedGtkImage): New method.
17970 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17971 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17973 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17974 Support a non-xrender context.
17975 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17977 * gnu/java/awt/peer/gtk/GtkImage.java
17978 * include/gnu_java_awt_peer_gtk_GtkImage.h
17979 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17980 (initFromBuffer): New method.
17981 * native/jni/gtk-peer/gtkpeer.h:
17982 Remove declarations of previouslyremoved methods.
17984 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17986 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17988 2006-05-29 Mark Wielaard <mark@klomp.org>
17990 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17991 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17993 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17994 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17995 early. Remove unused return statement in void function.
17996 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17998 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17999 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18001 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18002 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18004 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18007 2006-05-29 Sven de Marothy <sven@physto.se>
18009 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18010 (setPixels): Remove superfluous return statement.
18012 2006-05-29 Sven de Marothy <sven@physto.se>
18014 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18015 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18016 * gnu/java/awt/peer/gtk/CairoSurface.java
18017 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18018 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18019 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18020 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18021 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18022 * native/jni/gtk-peer/cairographics2d.h
18023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18024 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18027 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18028 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18029 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18032 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18033 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18034 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18035 (releasePeerGraphicsResource): Moved to Font peer class.
18037 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18038 (createGraphics): Use new context classes.
18040 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18041 Use native BufferedImages where possible.
18043 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18044 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18045 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18046 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18047 renamed to cairoDrawGdkTextLayout.
18049 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18050 (getGraphics): Use ComponentGraphics context.
18051 (createImage): Use native BufferedImage.
18053 * gnu/java/awt/peer/gtk/GtkImage.java:
18054 * include/gnu_java_awt_peer_gtk_GtkImage.h
18055 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18056 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18057 Remove drawing methods.
18059 * gnu/java/awt/print/JavaPrinterGraphics.java:
18060 Use CairoSurface instead of GtkImage.
18062 * include/Makefile.am
18063 * native/jni/gtk-peer/Makefile.am
18064 Update for new files.
18066 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18067 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18068 Remove superfluous GtkImage code for GdkPixmaps.
18070 * native/jni/gtk-peer/gtkpeer.h
18071 Remove graphics2d structure.
18073 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18075 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18076 Do not reuse fg in the constructor.
18078 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18080 * java/io/ObjectStreamConstants.java: Added API docs.
18082 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18084 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18085 Take no action if this color is already set.
18087 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18089 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18091 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18092 Optionally paint with translation. (createContent): Added option
18093 to test painting with translation
18095 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18097 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18098 pattern to the default value when null.
18099 Pass field pattern, and not parameter with same name to createFileStream.
18101 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18103 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18104 New class implementing the OS bean.
18105 * gnu/java/lang/management/package.html:
18106 New file to document the gnu.java.lang.management package.
18107 * java/lang/management/ManagementFactory.java:
18108 New class to provide access to the OS bean.
18109 * java/lang/management/OperatingSystemMXBean.java:
18111 * java/lang/management/package.html:
18112 New file to document the java.lang.management package.
18114 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18116 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18119 (SECURITY): Likewise.
18120 (CACERTS): Likewise.
18121 (CACERTS_GKR): Likewise.
18122 (gkrCaCertsPathName): New field.
18123 (jksCaCertsPathName): Likewise.
18124 (selfSignedCertificate): Likewise.
18125 (start): Initialize trusted certificate key stores if -trustcacerts is
18127 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18128 (orderChain): Implemented.
18129 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18130 certificate key stores if -trustcacerts option is specified.
18131 (findTrustInCACerts): Removed.
18132 (getCertPathParameters): New method.
18133 (validate): New method.
18134 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18136 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18138 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18139 (PATTERN_KEY): Likewise.
18140 (DEFAULT_PATTERN): Likewise.
18141 (LIMIT_KEY): Likewise.
18142 (DEFAULT_LIMIT): Likewise.
18143 (COUNT_KEY): Likewise.
18144 (DEFAULT_COUNT): Likewise.
18145 (APPEND_KEY): Likewise.
18146 (DEFAULT_APPEND): Likewise.
18147 (FileHandler()): Use pattern value as set in logging.properties.
18148 Use constants defined above.
18149 (FileHandler(1)): Use constants defined above.
18150 (FileHandler(2)): Likewise.
18151 (FileHandler(3)): Likewise.
18152 (FileHandler(4)): Likewise.
18153 (createFileStream): Likewise.
18155 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18157 * java/util/logging/FileHandler.java: Reverted previous patch.
18158 * java/util/logging/LogManager.java: Likewise.
18160 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18162 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18163 (DEFAULT_PATTERN): Likewise.
18164 (FileHandler()): Use configured pattern property if any; otherwise use a
18165 default value as per RI documentation.
18166 * java/util/logging/LogManager.java (getStringProperty): New method.
18168 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18170 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18172 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18174 * configure.ac (FOUND_CACAO): New automake conditional.
18175 Add --enable-tool-wrappers.
18176 * NEWS: Introduce the --enable-tool-wrappers option.
18177 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18178 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18180 * tools/toolwrapper.c: New file.
18182 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18184 * java/awt/Graphics2D.java: Use full class name for
18185 PrinterJob in javadoc.
18187 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18189 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18190 (callMouseMethod): Likewise.
18192 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18194 * native/jni/java-net/java_net_VMURLConnection.c:
18195 Fix function declarations to specify unused parameters.
18196 * scripts/check_jni_methods.sh:
18197 Remove copies of the same function using uniq.
18199 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18201 * vm/reference/java/net/VMURLConnection.java:
18202 Make package-private and final.
18204 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18206 * examples/gnu/classpath/examples/swing/TableDemo.java
18207 (TModed): Added editor for the icons column.
18208 (createContent): Increase the row height by 2 px.
18210 2006-05-26 Tom Tromey <tromey@redhat.com>
18212 PR classpath/27685:
18213 * java/math/BigInteger.java (modPow): Correctly handle negative
18216 2006-05-26 Tom Tromey <tromey@redhat.com>
18218 * configure.ac: Check for magic.h and -lmagic.
18219 * vm/reference/java/net/VMURLConnection.java: New file.
18220 * include/java_net_VMURLConnection.h: New file.
18221 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18222 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18223 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18225 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18226 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18228 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18230 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18232 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18234 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18235 libjawtgnu.la libjawt.la.
18237 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18239 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18242 2006-05-25 Lillian Angel <langel@redhat.com>
18245 * java/awt/Window.java
18246 (Window): Moved code to helper.
18247 (addWindowFocusListener): New function. Handles focus
18248 listener code. Added code to handle focus lost/gained
18251 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18254 Make pkg-config check for GTK+ >= 2.8.
18256 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18258 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18259 (flush): Remove debugging printfs.
18261 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18263 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18264 (schedule_flush): New function.
18265 (end_drawing_operation): Call schedule_flush.
18267 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18269 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18270 paint performance demo.
18271 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18273 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18275 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18276 Cairo version requirement. Do not mention --enable-gtk-cairo
18278 * NEWS: Add entry for GdkGraphics2D.
18279 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18280 Cairo library and headers.
18281 * .externalToolBuilders/Configure.launch: Remove
18282 --enable-gtk-cairo from configure line.
18283 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18285 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18286 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18287 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18288 useGraphics2D references. Always assume Graphics2D is enabled.
18289 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18290 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18291 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18292 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18293 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18294 useGraphics2D references. Always assume Graphics2D is enabled.
18295 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18296 Graphics2D check. Always assume Graphics2D is enabled.
18297 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18298 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18299 (realize): Remove method.
18300 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18301 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18302 (isRealized): Remove method.
18303 (realize): Implement as a native method. Remove useGraphics2D
18304 references. Always assume Graphics2D is enabled.
18305 * gnu/java/awt/peer/gtk/GtkImage.java,
18306 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18307 GdkGraphics references with GdkGraphics2D references.
18308 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18309 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18310 useGraphics2D references. Always assume Graphics2D is enabled.
18311 * include/Makefile.am (GTKPEER_H_FILES): Remove
18312 gnu_java_awt_peer_gtk_GdkGraphics.h.
18313 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18314 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18315 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18316 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18317 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18318 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18319 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18320 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18321 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18322 (AM_LDFLAGS): Remove CAIRO_LIBS.
18323 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18324 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18326 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18328 2006-05-25 Lillian Angel <langel@redhat.com>
18330 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18331 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18332 Added check to prevent assertion error. If widget->window is null, then
18333 use the parent widget's window to set the cursor on.
18335 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18337 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18340 2006-05-24 Lillian Angel <langel@redhat.com>
18342 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18343 (prependCodeBase): Added check to determine if the documentbase
18344 points to a directory or a file.
18346 2006-05-24 Sven de Marothy <sven@physto.se>
18348 * java/awt/dnd/DragGestureRecognizer.java
18349 (resetRecognizer): Implement.
18350 (fireDragGestureRecognized): Implement.
18352 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18354 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18355 fixed source code formatting.
18357 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18359 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18361 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18363 Reported by Antony Balkisson.
18364 * javax/swing/JTable.java (selectAll): Return without action
18365 if the table is empty.
18367 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18369 * examples/gnu/classpath/examples/swing/TableDemo.java:
18370 (SliderCell): New inner class. (setCustomEditors,
18371 setInformativeHeaders): New fields. (createContent):
18373 * javax/swing/DefaultCellEditor.java
18374 (JComboBoxDelegate.shouldSelectCell): New method.
18375 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18376 * javax/swing/plaf/basic/BasicTableUI.java
18377 (MouseInputHandler.mouseClicked): Start editing on a single
18378 click if the cell editor is not a default cell editor.
18380 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18382 * javax/swing/naming/CompositeName.java,
18383 javax/swing/naming/CompoundName.java:
18386 2006-05-23 Archie Cobbs <archie@dellroad.org>
18388 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18391 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18393 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18394 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18395 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18396 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18397 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18398 * javax/swing/tree/ExpandVetoException.java: Likewise,
18399 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18400 * javax/swing/tree/RowMapper.java: Likewise,
18401 * javax/swing/tree/TreeNode.java: Likewise,
18402 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18403 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18405 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18407 * javax/swing/tree/DefaultTreeCellRenderer.java
18408 (DefaultTreeCellRenderer): Changed key for
18409 setBackgroundNonSelectionColor(),
18410 plus API docs all over.
18412 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18415 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18416 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18417 Initialise in constructor. (columnMoved): Cancel editing.
18418 (createDefaultEditors): Rewritten. (editCellAt):
18419 Just invert the value if this is a boolean cell.
18420 (initialiseLocalVars): Do not initialise renderer and editor tables.
18421 (setUI): Create editors and renderers here.
18423 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18425 * examples/gnu/classpath/examples/awt/Demo.java:
18426 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18427 instance as subframe.
18428 (ResolutionWindow): New inner class.
18429 (FullscreenWindow): New inner class.
18431 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18434 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18435 Set horizontal alignment to centered.
18437 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18439 * javax/accessibility/AccessibleContext.java
18440 (getAccessibleComponent): Fixed typo in docs,
18441 * javax/swing/JLabel.java:
18442 (AccessibleJLabel.getAccessibleName): Check for explicit
18444 * javax/swing/JTableHeader.java
18445 (AccessibleJTableHeaderEntry.columnIndex): New field,
18446 (AccessibleJTableHeaderEntry.parent): New field,
18447 (AccessibleJTableHeaderEntry.table): New field,
18448 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18450 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18452 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18453 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18454 (AccessibleJTableHeaderEntry.contains): Implemented,
18455 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18456 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18457 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18458 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18459 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18460 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18461 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18462 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18463 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18464 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18465 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18466 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18467 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18468 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18469 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18470 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18471 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18472 (AccessibleJTableHeaderEntry.getFont): Implemented,
18473 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18474 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18475 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18476 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18477 (AccessibleJTableHeaderEntry.getSize): Implemented,
18478 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18479 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18480 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18481 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18482 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18483 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18485 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18486 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18487 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18488 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18489 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18490 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18491 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18492 (AccessibleJTableHeaderEntry.setFont): Implemented,
18493 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18494 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18495 (AccessibleJTableHeaderEntry.setSize): Implemented,
18496 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18497 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18498 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18499 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18500 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18502 2006-05-22 Tom Tromey <tromey@redhat.com>
18506 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18508 * javax/swing/JLabel.java
18509 (AccessibleJLabel.getAccessibleName): New method (override),
18510 (setLabelFor): Fire 'labelFor' property change event before other
18513 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18515 * javax/swing/JLabel.java
18516 (AccessibleJLabel.getAccessibleRole): New method (override).
18518 2006-05-22 Tom Tromey <tromey@redhat.com>
18520 * resource/gnu/classpath/tools/serialver/messages.properties: New
18522 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18523 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18525 (classpath): Likewise.
18528 (addFileURL): New method.
18529 (getClassLoader): Likewise.
18530 (printMessage): Likewise.
18532 2006-05-22 Tom Tromey <tromey@redhat.com>
18534 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18536 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18538 * javax/swing/JTable.java (doLayout): In the column
18539 resize mode, only repaing the changed part of the table.
18540 (getLeftResizingBoundary): New method.
18542 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18544 * javax/naming/spi/InitialContextFactory.java,
18545 javax/naming/spi/InitialContextFactoryBuilder.java,
18546 javax/naming/spi/NamingManager.java,
18547 javax/naming/spi/ObjectFactory.java,
18548 javax/naming/spi/ResolveResult.java,
18549 javax/naming/spi/Resolver.java,
18550 javax/naming/spi/StateFactory.java: Documented.
18552 2006-05-21 Tom Tromey <tromey@redhat.com>
18554 PR classpath/27688:
18555 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18557 (initSet): Removed.
18558 (shouldExtract): Removed.
18560 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18561 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18564 (allItems): New field.
18565 (run): Initialize it.
18568 2006-05-22 Sven de Marothy <sven@physto.se>
18570 * java/nio/CharBuffer.java
18571 (wrap): Fix bounds checking.
18573 2004-08-26 Tom Tromey <tromey@redhat.com>
18575 * java/io/OutputStream.java
18576 (OutputStream): Implements Closeable, Flushable.
18578 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18580 * java/io/ObjectOutputStream.java:
18581 (writeObject(Object)): Added enum support.
18582 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18583 * java/io/ObjectStreamClass.java:
18584 (isEnum()): New package-private method.
18585 (setFlags(Class)): Added enum support.
18586 * java/io/ObjectStreamConstants.java:
18589 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18591 * java/io/ObjectInputStream.java:
18592 (parseContent(byte)): Added enum support.
18593 * java/io/ObjectStreamConstants.java:
18595 (TC_MAX): Changed to new maximum, TC_ENUM.
18597 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18599 * java/beans/beancontext/BeanContextSupport.java:
18600 (instantiateChild(String)): Implemented.
18602 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18604 * java/beans/beancontext/BeanContextSupport.java:
18605 (add(Object)): Add further documentation.
18606 (isEmpty()): Documented.
18607 (propertyChange(PropertyChangeEvent)): Implemented.
18608 (remove(Object)): Documented.
18609 (remove(Object,boolean)): Documented and implemented.
18610 (vetoableChange(PropertyChangeEvent)): Marked as
18611 implemented (only subclasses appear to need this).
18613 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18615 * java/beans/beancontext/BeanContextSupport.java:
18616 (add(Object)): Implement support for the child being
18617 a BeanContextChild.
18618 (avoidingGui()): Implemented.
18619 (dontUseGui()): Likewise.
18620 (needsGui()): Likewise.
18621 (okToUseGui()): Likewise.
18623 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18625 * javax/naming/Context.java,
18626 javax/naming/ContextNotEmptyException.java,
18627 javax/naming/Reference.java: Documented.
18629 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18631 * javax/swing/text/html/MinimalHTMLWriter.java
18632 (writeComponent, writeImage): Declare that the method
18633 may throw the IOException.
18635 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18638 * javax/naming/InitialContext.java (colon_list): Changed type to
18639 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18640 (merge): Rewritten.
18642 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18644 * javax/naming/InitialContext.java: Documented.
18646 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18648 * javax/naming/NameParser.java,
18649 javax/naming/NamingEnumeration.java,
18650 javax/naming/PartialResultException.java,
18651 javax/naming/SizeLimitExceededException.java,
18652 javax/naming/spi/ObjectFactory.java,
18653 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18655 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18657 * gnu/java/net/loader/JarURLLoader.java:
18658 Use Map.Entry instead of LinkedHashMap.Entry
18660 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18662 * javax/naming/Context.java: Documented.
18664 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18666 * javax/naming/Referenceable.java: Documented.
18667 * javax/naming/spi/NamingManager.java: Documented.
18669 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18671 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18672 to messages.properties.
18673 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18674 Renamed to messages.properties.
18675 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18677 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18678 Renamed from MessageBundle.properties.
18679 Added copyright notice.
18680 * resource/gnu/classpath/tools/keytool/messages.properties:
18682 * tools/gnu/classpath/tools/jarsigner/Messages.java
18683 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18684 (getFormattedString): Fixed a spelling mistake.
18685 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18687 2006-05-20 Sven de Marothy <sven@physto.se>
18689 * gnu/java/awt/font/opentype/NameDecoder.java
18691 (getName): Use getShort instead of getChar(), fix PS name.
18692 (decodeName): New method.
18693 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18694 (getSubFamilyName): Implement.
18695 (getPostScriptName): Use the NameDecoder class instead.
18696 (parsePSName): Removed.
18699 2006-05-20 Sven de Marothy <sven@physto.se>
18701 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18702 (getTrueTypeTable): New native method.
18703 (getPostScriptName): Reimplement.
18704 (parsePSName): New method.
18705 (getNumGlyphs): Implement.
18706 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18707 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18708 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18709 New function. File is now explicitly dependent on FT2.
18711 2006-05-20 Tom Tromey <tromey@redhat.com>
18713 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18714 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18716 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18717 (HandleFile): New class.
18718 (input, output, encoding, reversed): New fields.
18719 (createParser): New method.
18722 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18723 (notifyFile): Throws OptionException.
18725 2006-05-20 Tom Tromey <tromey@redhat.com>
18727 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18730 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18732 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18733 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18736 2006-05-20 Sven de Marothy <sven@physto.se>
18738 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18740 2006-05-20 Sven de Marothy <sven@physto.se>
18742 * gnu/java/awt/print/JavaPrinterJob.java
18743 (print): Use PostScriptGraphics2D.
18744 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18746 2006-05-20 Sven de Marothy <sven@physto.se>
18748 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18750 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18752 * gnu/java/security/OID.java: Updated copyright year.
18753 (OID): Removed unused Javadoc param tag.
18754 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18755 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18757 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18759 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18761 Added trace/debug statements.
18762 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18763 Entry. Also ensure that any previous entry for this alias is removed
18764 before a new one is added.
18765 (engineGetKey): Do not trace/log passwords.
18766 Trace key's class name only.
18767 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18768 Certificate Entry. Also ensure that previous entry for this alias is
18769 removed before a new one is added.
18770 (engineLoad): Do not trace/log passwords.
18771 (engineStore): Likewise.
18772 (engineSize): Use size of enumeration instead of collection size.
18774 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18776 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18777 (toString): New method.
18778 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18779 Do not trace/log passwords.
18780 Set masked to false before decoding envelope.
18781 Do not set payload to null.
18782 (encrypt): Set masked to true.
18783 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18784 Do not trace/log passwords.
18785 Set masked to false before decoding envelope.
18786 Do not set payload to null.
18787 Added trace/debug statements.
18788 (authenticate): Do not trace/log passwords.
18789 Set masked to true.
18790 Added trace/debug statements.
18791 (getMac): Added trace/debug statements.
18792 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18793 (remove(String)): Changed the signature to return a boolean.
18794 (toString): New method.
18795 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18797 (getCertificate): Likewise.
18798 (putCertificate): Likewise.
18800 Do not trace/log passwords.
18802 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18803 Do not trace/log passwords.
18804 Added more trace/logging statements.
18805 (putPrivateKey): Do not trace/log passwords.
18806 Trace only key's class name.
18808 (containsPublicKey): Formatting.
18809 (getPublicKey): Likewise.
18810 Trace only key's class name.
18811 (putPublicKey): Trace only key's class name.
18812 (containsCertPath): Formatting.
18813 (getCertPath): Likewise.
18814 (putCertPath): Likewise.
18815 (load): Do not trace/log passwords.
18818 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18819 (add): Do not set payload to null.
18820 Added trace/debug statements.
18821 (containsAlias): Added trace/debug statements.
18823 (remove(Entry)): Likewise.
18824 (remove(String)): Likewise.
18825 Changed the signature to return a boolean.
18826 Do not set payload to null unless really removed.
18827 (toString): New method.
18828 (decodeEnvelope): Clear entries before proceeding.
18829 (makeAliasList): Added trace/debug statements.
18830 Ensure only non-null aliases and alias-lists are added.
18831 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18832 (TYPES): New constant.
18833 (toString): New method.
18834 (defaultDecode): Add trace/debug statement.
18836 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18838 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18839 Increased visibility.
18840 (setup): Do not trace/log passwords.
18841 (parsed): Was not setting correct (rfc) field; fixed.
18842 (print1Chain): Formatting.
18843 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18844 Do not trace/log passwords.
18845 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18846 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18847 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18848 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18849 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18850 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18851 (orderChain): Added FIXME.
18852 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18853 Do not trace/log passwords.
18854 Removed commented out code.
18855 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18856 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18857 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18858 (setKeystoreURLParam): Likewise.
18859 (setKeystorePasswordParam): Do not trace/log passwords.
18860 (saveKeyStore): Likewise.
18862 2006-05-19 Roman Kennke <kennke@aicas.com>
18864 * gnu/java/awt/java2d/AbstractGraphics2D.java
18866 (pixel): Removed obsolete field.
18867 (draw(Shape)): Removed commented out code.
18868 (drawImage): Formatting.
18869 (drawString): Added optimization hook.
18870 (setPaint): Removed rawSetForeground().
18871 (getFontRenderContext): Return context with correct transform.
18872 (drawGlyphVector): Draw complete outline in one go.
18873 (copyArea): Added optimization hook.
18874 (clearRect): Added optimization hook.
18875 (drawImage): Added optimization hook.
18876 (fillShape): (Temporarily) Set antialiasing off by default for
18877 font rendering. Adjust the shape by some bits to improve rendering.
18878 Pass clip bounds to the render methods.
18879 (drawPixel): Removed.
18880 (rawSetPixel): Removed.
18881 (rawSetForeground): Removed.
18882 (rawDrawLine): Default impl calls standard pipeline.
18883 (rawDrawString): New method, calls standard pipeline for rendering.
18884 (rawClearRect): New method, calls standard pipeline for rendering.
18885 (rawFillRect): New method, calls standard pipeline for rendering.
18886 (rawDrawImage): New method, calls standard pipeline for rendering.
18887 (rawCopyArea): New method.
18888 (copyAreaImpl): New method.
18889 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18891 (fillShapeAntialias): Fixed AA rendering.
18892 (fillScanlineAA): Fixed AA rendering.
18893 (getSegments): Take offset into account.
18895 2006-05-19 Sven de Marothy <sven@physto.se>
18897 * javax/swing/text/AbstractWriter.java
18898 (getText): Fix parameters (start, length) not (start, end).
18900 2006-05-19 Tom Tromey <tromey@redhat.com>
18902 PR classpath/27444:
18903 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18904 Changed return type.
18905 * java/net/URLClassLoader.java (urlloaders): Removed.
18906 (addURLImpl): Updated.
18907 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18908 (indexSet): Likewise.
18909 (classPath): Changed type.
18910 (JarURLLoader): New constructor.
18911 (initialize): New method.
18912 (getResource): Use index set if it exists.
18913 (getClassPath): Updated.
18914 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18915 (prefixes): New field.
18916 (headers): Removed.
18917 (IndexListParser): Fill in prefixes.
18918 (clearAll): Clear prefixes.
18919 (getHeaders): Changed return type.
18921 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18923 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18924 (MouseInputHandler.mouseExitted): No nothing there.
18925 (MouseInputHandler.endDragging): Move column to the
18926 first/last position if released outside the horizontal
18929 2006-05-19 Lillian Angel <langel@redhat.com>
18931 * java/awt/font/GlyphVector.java
18932 (getGlyphCharIndex): Implemented.
18933 (getGlyphCharIndices): Implemented.
18934 (getGlyphOutline): Implemented.
18935 (getGlyphVisualBounds): Implemented.
18936 (getGlyphVisualBounds): Implemented.
18937 (getPixelBounds): Implemented.
18938 (getLayoutFlags): Implemented.
18940 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18942 * java/awt/LightweightDispatcher.java: Added field dragButton and
18943 documentation for it.
18944 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18945 added subexpression to if-clause in MOUSE_RELEASED case.
18947 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18949 * javax/swing/metal/MetalButtonUI.java:
18950 (update): Removed some subexpression from if-clause and call
18951 updateWithGradient.
18952 (updateWithGradient): New method.
18954 2006-05-19 Roman Kennke <kennke@aicas.com>
18956 * javax/swing/JComponent.java
18957 (findOverlapFreeParent): Implemented algorithm for finding
18958 overlapping in component hierarchy.
18960 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18962 * java/lang/Thread.java
18963 (contextClassLoaderIsSystemClassLoader): New field.
18964 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18965 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18966 and set contextClassLoaderIsSystemClassLoader.
18967 (Thread(ThreadGroup,Runnable,String,long)):
18968 Set contextClassLoaderIsSystemClassLoader.
18969 (createAnonymousThreadName): New method.
18970 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18971 and fixed security check.
18972 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18974 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18976 * javax/swing/plaf/basic/BasicToolBarUI.java:
18977 (createNonRolloverBorder): Rewritten.
18978 (createRolloverBorder): Rewritten.
18979 (setToNonRolloverBorder): Store old border instance in hashtable.
18980 (setToRolloverBorder): Store old border instance in hashtable, use
18981 AbstractButton instead of JButton in statements.
18982 (setBorderToNormal): Rewritten.
18983 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18984 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18985 ToolBar.nonrolloverBorder.
18987 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18989 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18990 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18992 2006-05-18 Lillian Angel <langel@redhat.com>
18994 * java/awt/font/GlyphMetrics.java
18995 (getLSB): Implemented.
18996 (getRSB): Implemented.
18998 2006-05-18 Lillian Angel <langel@redhat.com>
19000 * java/awt/font/GraphicAttribute.java:
19001 Documented entire class.
19002 (GraphicAttribute): Added check for alignment.
19003 (getBounds): Implemented.
19004 (getJustificationInfo): Implemented.
19006 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19008 * java/awt/LightweightDispatcher.java:
19009 (handleMouseEvent): Added note, added subexpression to if-statement.
19011 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19013 * javax/swing/plaf/basic/BasicToolBarUI.java:
19014 (navigateFocusedComp): Marked as stub.
19015 (createRolloverBorder): Create a different Border instance, added note.
19016 * javax/swing/plaf/metal/MetalBorders.java:
19017 (ButtonBorder): Added documentation.
19018 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19019 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19020 subexpression into if-else cascade, added note.
19022 2006-05-18 Lillian Angel <langel@redhat.com>
19024 * java/awt/font/ShapeGraphicAttribute.java:
19025 Documented entire class.
19026 (ShapeGraphicAttribute): Initialized bounds field.
19027 (draw): Implemented.
19028 (equals): Implemented.
19029 (getAdvance): Implemented.
19030 (getAscent): Implemented.
19031 (getBounds): Implemented.
19032 (getDescent): Implemented.
19033 (hashCode): Implemented.
19035 2006-05-18 Roman Kennke <kennke@aicas.com>
19037 * javax/swing/CellRendererPane.java
19038 (CellRendererPane): Set CellRendererPane to invisible.
19040 2006-05-18 Roman Kennke <kennke@aicas.com>
19042 * gnu/java/awt/peer/gtk/GdkGraphics.java
19043 (clipRect): Removed old intersection statement.
19045 2006-05-18 Roman Kennke <kennke@aicas.com>
19047 * gnu/java/awt/peer/gtk/GdkGraphics.java
19048 (clipRect): Don't use Rectangle.intersection() to avoid creating
19049 2 unnecessary Rectangle instances and fix a clipping problem.
19050 (computeIntersection): New helper method, adapted from SwingUtilities.
19052 2006-05-18 Roman Kennke <kennke@aicas.com>
19054 * javax/swing/JComponent.java
19055 (isCompletelyDirty): Removed.
19056 (paint): Don't mark children as clean, this is no longer necessary.
19057 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19058 painting when something overlaps the viewport (like a popup/menu).
19059 * javax/swing/RepaintManager.java
19060 (currentRepaintManagers): Made package private to avoid accessor
19062 (dirtyComponents): Made private.
19063 (dirtyComponentsWork): Made private.
19064 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19065 component-local not parent-local. Do not set flag in JComponent.
19066 (markCompletelyClean): Don't set JComponent flag.
19067 (isCompletelyDirty): Rewritten to return true when the complete
19068 component is marked dirty.
19069 (paintDirtyRegions): Improved parent-merging so that the merged-in
19070 components don't get painted too. 'Outsourced' the compilation
19071 of the repaint root components.
19072 (compileRepaintRoots): New helper method.
19074 2006-05-18 Roman Kennke <kennke@aicas.com>
19077 * javax/swing/text/GapContent.java
19078 (GapContentPosition(int)): Use adapted binarySearch method to
19079 allow for having a greater array than number of entries.
19080 (numMarks): New field, holds the end of the marks list.
19081 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19082 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19083 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19084 (setPositionsInRange): Changed signature to narrow the purpose and
19085 special cases inside. Reimplemented to crunch together equal marks.
19086 (adjustPositionsInRange): Added assertion to make sure we do
19087 not accidentally change the order of the mark. Added some debug
19088 output for a special case of which I don't know if it even exists.
19089 (resetMarksAtZero): Made impl simpler.
19090 (dumpMarks): New debug helper method.
19091 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19092 (binarySearch): New method. An adaption of Arrays.binarySearch()
19093 that allows for an maxIndex parameter.
19095 2006-05-18 Roman Kennke <kennke@aicas.com>
19097 * javax/swing/KeyboardManager.java
19098 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19100 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19102 * gnu/java/net/loader/JarURLLoader.java
19103 (JarURLLoader): Use a slightly more efficient URL constructor.
19105 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19107 * gnu/java/awt/print/JavaPrinterGraphics.java
19108 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19109 (drawImage(Image, int, int, ImageObserver)): Likewise,
19110 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19111 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19112 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19113 ImageObserver)): Likewise,
19114 (drawImage(Image, int, int, int, int, int, int, int, int,
19115 ImageObserver)): Likewise.
19117 2006-05-17 Tom Tromey <tromey@redhat.com>
19119 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19122 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19124 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19125 * javax/swing/border/BevelBorder.java: Likewise,
19126 * javax/swing/border/CompoundBorder.java: Likewise,
19127 * javax/swing/border/TitledBorder.java: Likewise.
19129 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19131 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19132 * javax/swing/table/DefaultTableModel.java: Likewise,
19133 * javax/swing/table/TableCellEditor.java: Likewise,
19134 * javax/swing/table/TableCellRenderer.java: Likewise.
19136 2006-05-17 Lillian Angel <langel@redhat.com>
19138 * java/awt/font/ImageGraphicAttribute.java:
19139 Documented entire class.
19140 (ImageGraphicAttribute): Changed to call this.
19141 (ImageGraphicAttribute): Implemented.
19142 (draw): Implemented.
19143 (equals): Implemented.
19144 (getAdvance): Implemented.
19145 (getAscent): Implemented.
19146 (getBounds): Implemented.
19147 (getDescent): Implemented.
19148 (hashCode): Implemented.
19149 * javax/swing/text/html/HTMLDocument.java
19150 (create): Removed. Sufficent enough for
19151 super to be called.
19152 (insert): Likewise.
19153 (insertUpdate): Likewise.
19154 (processHTMLFrameHyperlinkEvent): Marked as stub.
19155 (start): Removed FIXME.
19157 (start): Called super.
19158 (end): Called super.
19159 (getElement): removed unneeded code.
19160 (setParagraphAttribute): Removed. Sufficent enough
19161 for super to be called.
19162 (fireChangedUpdate): Likewise.
19163 (fireUndoableEditUpdate): Likewise.
19165 2006-05-17 Lillian Angel <langel@redhat.com>
19167 * java/awt/TexturePaint.java:
19168 Added documentation for class and all functions.
19169 (getTransparency): Implemented.
19171 2006-05-17 Roman Kennke <kennke@aicas.com>
19173 * java/awt/LightweightDispatcher.java
19174 (findTarget): Translate point to child components.
19176 2006-05-17 Roman Kennke <kennke@aicas.com>
19179 * javax/swing/text/GapContent.java
19180 (GapContentPosition): Do no more implement Comparable.
19181 (GapContentPosition.mark): Removed field.
19182 (GapContentPosition.index): New field to hold the index into
19183 the positions array.
19184 (GapContentPosition(int)): Rewritten to use the new indirection
19185 to the positions array.
19186 (GapContentPosition.compareTo): Removed.
19187 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19188 positionMarks array.
19189 (WeakPositionComparator): Removed obsolete class.
19190 (positions): Changed type to WeakHashMap.
19191 (positionMarks): New field, holds the marks of the positions.
19192 (GapContent): Initialize new fields.
19193 (createPosition): Rewritten to use the new indirection
19194 to the positions array.
19195 (getPositionsInRange): Rewritten to use the new indirection
19196 to the positions array.
19197 (setPositionsInRange): Rewritten to use the new indirection
19198 to the positions array.
19199 (adjustPositionsInRange): Rewritten to use the new indirection
19200 to the positions array.
19201 (insertMark): New helper method.
19202 (clearPositionReferences): Removed obsolete methods.
19204 2006-05-17 Lillian Angel <langel@redhat.com>
19206 * java/awt/GraphicsConfiguration.java
19207 (getImageCapabilities): Implemented.
19208 (getBufferCapabilities): Implemented.
19210 2006-05-17 Lillian Angel <langel@redhat.com>
19212 * javax/swing/plaf/basic/BasicSliderUI.java
19213 (focusGained): Implemented.
19214 (focusLost): Implemented.
19215 (paint): Added code to paint the focus.
19216 * javax/swing/plaf/metal/MetalSliderUI.java
19217 (paintThumb): Added code to set the thumbColor.
19218 (paintFocus): Implemented properly.
19220 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19223 * javax/naming/spi/NamingManager.java (getURLContext):
19224 Always search for the factory class in all possible places
19225 and use VMStackWalker.
19226 (forName): New method.
19228 2006-05-17 Roman Kennke <kennke@aicas.com>
19230 * java/awt/LightweightDispatcher.java
19231 (handleMouseEvent): Fixed search algorithm for finding the
19232 mouse event target.
19233 (findTarget): Fixed search algorithm for finding the
19234 mouse event target.
19236 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19238 * javax/naming/spi/NamingManager.java: Documented.
19240 2006-05-17 Mark Wielaard <mark@klomp.org>
19242 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19243 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19244 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19245 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19247 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19250 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19252 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19254 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19256 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19259 * java/awt/LightweightDispatcher.java:
19260 (handleMouseEvent): Moved assignment into switch-block, added notes.
19262 2006-05-16 Lillian Angel <langel@redhat.com>
19264 * javax/swing/text/StyleContext.java:
19265 Changed staticAttributeKeys to be a Hashtable.
19266 (getStaticAttribute): Implemented.
19267 (getStaticAttributeKey): Implemented.
19268 (readAttributeSet): Implemented.
19269 (writeAttributeSet): Added FIXME. Not sure how
19271 (readAttributes): Implemented.
19272 (writeAttributes): Implemented.
19273 (registerStaticAttibuteKey): Fixed to add key to
19276 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19278 * javax/swing/DefaultButtonModel.java
19279 (setGroup): Removed event notification.
19281 2006-05-16 Lillian Angel <langel@redhat.com>
19283 * javax/swing/plaf/basic/BasicComboBoxUI.java
19284 (installKeyboardActions): Implemented.
19285 (uninstallKeyboardActions): Implemented.
19286 * javax/swing/plaf/basic/BasicComboPopup.java
19287 (uninstallKeyboardActions): Removed FIXME. Nothing
19289 (installKeyboardActions): Likewise.
19290 * javax/swing/plaf/basic/BasicTextUI.java
19291 (uninstallKeyboardActions): Implemented.
19292 * javax/swing/plaf/basic/BasicTreeUI.java:
19293 Added field for hashColor.
19294 Marked stub methods.
19295 (getHashColor): Implemented to use field.
19296 (setHashColor): Likewise.
19297 (getRowX): Implemented.
19298 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19300 2006-05-16 Roman Kennke <kennke@aicas.com>
19303 * javax/swing/JTable.java
19304 (rowHeights): New field.
19305 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19306 in order to initialize rowHeights correctly.
19307 (tableChanged): Nullify rowHeights when model changes. Only
19308 create default columns from model when corresponding property
19309 is set. Sync table model with rowHeights as appropriate.
19310 (valueChanged): Call repaint with the correct rectangle.
19311 (rowAtPoint): Handle rowHeights.
19312 (getCellRect): Mostly rewritten. Check for boundaries
19313 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19314 Handle component orientation. Round correctly.
19315 (getRowHeight(int)): Implemented for variable row height.
19316 (setRowHeight(int,int)): Implemented for variable row height.
19317 (setRowHeight(int)): Nullify rowHeights.
19318 (setModel): Notify tableChanged().
19319 * javax/swing/plaf/basic/BasicTableUI.java
19320 (installDefaults): Create rendererPane in installUI.
19321 (installUI): Create and install rendererPane.
19322 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19324 (paint): Correctly handle rowMargin.
19326 2006-05-16 Tom Tromey <tromey@redhat.com>
19328 PR classpath/27563:
19329 * java/text/NumberFormat.java (getIntegerInstance): Use
19330 "integerFormat", not "numberFormat".
19332 2006-05-16 Lillian Angel <langel@redhat.com>
19334 * javax/swing/JPopupMenu.java
19335 (addMenuKeyListener): Implemented.
19336 (removeMenuKeyListener): Implemented.
19337 (getMenuKeyListeners): Implemented.
19338 * javax/swing/ProgressMonitor.java:
19339 Added new protected field.
19340 (getAccessibleContext): Implemented.
19342 2006-05-16 Lillian Angel <langel@redhat.com>
19344 * javax/swing/JFileChooser.java:
19345 Added new private field.
19346 (setDragEnabled): Implemented.
19347 (getDragEnabled): Implemented.
19349 2006-05-16 Lillian Angel <langel@redhat.com>
19351 * java/awt/Window.java
19352 (applyResourceBundle): Implemented.
19354 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19356 * javax/swing/DefaultButtonModel.java
19357 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19360 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19362 * javax/swing/JList.java (getSelectedValues):
19363 Ask the value for the indexed array element.
19365 2006-05-16 Roman Kennke <kennke@aicas.com>
19367 * javax/swing/JTable.java
19368 (valueChanged): Also repaint when table has only 1 row. Fixed
19369 repaint rectangle to span the entire changed rows.
19371 2006-05-16 Roman Kennke <kennke@aicas.com>
19374 * javax/swing/JOptionPane.java
19375 (startModal): Rewritten. The events are now dispatched, even
19376 when the event dispatch thread gets blocked by the call
19377 to this method. Also, mouse events get intercepted outside the
19380 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19382 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19383 (BorderListener.mouseDragged):Do not set cursor
19384 if the frame is being dragged.
19386 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19388 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19389 (BorderListener): Rewritten. (InternalFrameBorder):
19390 Made package private.
19391 (InternalFrameBorder.offset):
19392 Renamed to cornerSize, made package private.
19393 (bSize): Made package private.
19395 2006-05-16 Roman Kennke <kennke@aicas.com>
19397 * javax/swing/JMenu.java
19398 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19399 (AccessibleJMenu.getAccessibleChild): Implemented.
19400 (AccessibleJMenu.getAccessibleSelection): Implemented.
19401 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19402 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19403 (AccessibleJMenu.getAccessibleRole): Documented.
19404 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19405 (AccessibleJMenu.addAccessibleSelection): Implemented.
19406 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19407 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19408 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19409 (createPath): New helper method.
19411 2006-05-15 Tom Tromey <tromey@redhat.com>
19413 * java/text/MessageFormat.java (format): Now varargs.
19415 2006-05-15 Tom Tromey <tromey@redhat.com>
19417 * java/lang/Thread.java (State): Fixed typo.
19419 2006-05-15 Tom Tromey <tromey@redhat.com>
19421 * java/net/URLClassLoader.java: Moved inner classes to
19422 gnu.java.net.loader.
19423 (factoryCache): Changed type.
19424 (URL_LOADER_PREFIX): New constant.
19425 (URLClassLoader): Updated for new factoryCache.
19426 (addURLImpl): Use reflection to search for a loader.
19427 (findClass): Use getClass method on URLLoader.
19428 (getURLStreamHandler): Removed.
19429 * gnu/java/net/loader/URLLoader.java: New file, extracted
19430 from URLClassLoader.
19431 * gnu/java/net/loader/Resource.java: Likewise.
19432 * gnu/java/net/loader/FileResource.java: Likewise.
19433 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19434 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19435 * gnu/java/net/loader/JarURLResource.java: Likewise.
19436 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19437 * gnu/java/net/loader/RemoteResource.java: Likewise.
19438 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19440 2006-05-15 Sven de Marothy <sven@physto.se>
19442 * native/target/generic/target_generic_network.h:
19443 Add a pair of parenthesis.
19445 2006-05-15 Mark Wielaard <mark@klomp.org>
19447 * java/awt/Graphics2D.java: Remove PrinterJob import.
19449 2006-05-15 Mark Wielaard <mark@klomp.org>
19451 * doc/www.gnu.org/announce/20060515.wml: New file.
19452 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19453 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19455 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19457 * NEWS: Announce inclusion of gcjwebplugin.
19458 Announce inclusion of appletviewer.
19459 * INSTALL: Note gcjwebplugin dependencies.
19461 2006-05-15 Mark Wielaard <mark@klomp.org>
19463 * configure.ac (VERSION): Set to 0.91-generics.
19465 2006-05-15 Mark Wielaard <mark@klomp.org>
19467 * NEWS: Add release date and VMClassLoader.getBootPackages()
19470 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19472 * README: Added CACAO to list of VMs.
19474 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19476 * javax/swing/RepaintManager.java (paintDirtyRegions):
19477 Break loop as soon as the component repaint is merged
19478 with some parent. (ComponentComparator): Removed.
19479 (comparator): Removed.
19481 2006-05-15 Roman Kennke <kennke@aicas.com>
19483 * javax/swing/border/TitledBorder.java
19484 (paintBorderWithTitle): Fixed indentation.
19486 2006-05-15 Roman Kennke <kennke@aicas.com>
19488 * javax/swing/border/TitledBorder.java
19489 (layoutBorderWithTitle): Fetch border using getBorder() instead
19490 of using the border field directly. Allows for the use of
19491 an UI supplied border in the case when a null border was set.
19492 Fixed component orientation.
19493 (paintBorderWithTitle): Fetch border using getBorder() instead
19494 of using the border field directly. Allows for the use of
19495 an UI supplied border in the case when a null border was set.
19497 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19499 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19500 (contains): New method.
19502 2006-05-15 Tom Tromey <tromey@redhat.com>
19504 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19506 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19509 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19511 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19513 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19514 region. (paintDirtyRegions): Rewritten.
19516 2006-05-15 Tom Tromey <tromey@redhat.com>
19518 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19520 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19522 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19523 (run): Use MessageFormat.
19524 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19525 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19526 (writeFile): Use MessageFormat.
19528 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19530 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19531 instead of directly calling the class loader.
19533 2006-05-15 Tom Tromey <tromey@redhat.com>
19535 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19536 Removed old comment.
19537 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19538 Externalized strings.
19539 (getVersionString): Use MessageFormat.
19540 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19541 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19542 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19543 (getArgument): Use a MessageFormat.
19544 (handleLongOption): Likewise.
19547 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19550 * javax/swing/text/FieldView.java:
19551 (paint): Calculate intersection between clip and allocation area and
19552 set that as new clip.
19554 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19556 * javax/swing/text/JTextComponent.java: Marked stub methods.
19558 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19560 * javax/swing/JTable.java: Marked stub methods.
19562 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19564 * tools/gnu/classpath/tools/jarsigner/Main.java:
19565 Increased visibility of fields used by parser anonymous classes.
19566 (KEYTOOL_TOOL): New constant.
19567 (cmdLineParser): Changed type to ToolParser.
19568 (fileAndAlias): new field.
19569 (main): Don't catch OptionException.
19570 (processArgs): Removed validation checks; now handled by ToolParser.
19571 (getParser): Removed.
19572 (ToolParserCallback): New inner class.
19573 (ToolParser): Likewise.
19575 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19577 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19580 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19582 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19583 endResizingFrame): Do not repaint, unless in the outline mode.
19585 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19587 * javax/swing/JTabbedPane.java
19588 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19589 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19590 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19591 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19592 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19593 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19594 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19595 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19596 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19597 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19598 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19599 (Page.getAccessibleName): Implemented.
19601 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19603 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19604 Do not repaint nor revalidate here.
19606 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19608 * javax/swing/RepaintManager.java (addDirtyRegion):
19609 If there is a lightweight parent, recursively add the corresponding
19610 region of the parent instead.
19612 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19614 * java/awt/Graphics2D.java: Added some API doc comments.
19616 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19618 * javax/swing/JTabbedPane.java
19619 (paramString): Reimplemented,
19620 (getAccessibleContext): Added API docs.
19622 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19624 * javax/swing/JFileChooser.java
19625 (paramString): Reimplemented,
19626 (getAccessibleContext): Updated API docs,
19627 (AccessibleJFileChooser): Added API docs.
19629 2006-05-14 Tom Tromey <tromey@redhat.com>
19631 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19633 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19635 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19637 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19638 validation to JarParser.
19639 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19640 (run): Moved validation to JarParser. Don't throw OptionException.
19641 (initializeParser): Create a JarParser.
19642 (main): Don't catch OptionException.
19643 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19645 (validate): New method.
19646 (parse): Call it. Print '-help' in error message when long-only.
19648 2006-05-14 Tom Tromey <tromey@redhat.com>
19650 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19653 2006-05-15 Sven de Marothy <sven@physto.se>
19655 * gnu/java/awt/print/JavaPrinterGraphics.java:
19656 Sweeping changes I can't be bothered to document in detail.
19657 * gnu/java/awt/print/JavaPrinterJob.java
19658 (getPageAttributes): New method.
19659 (setPageable,cancel,isCancelled): Implement.
19661 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19663 * javax/swing/JCheckBoxMenuItem.java
19664 (requestFocus): Fixed typo in API docs,
19665 (paramString): Just call super.paramString(),
19666 (getAccessibleContext): Added API docs,
19667 (AccessibleJCheckBoxMenuItem): Likewise.
19669 2006-05-14 Tom Tromey <tromey@redhat.com>
19671 * tools/gnu/classpath/tools/jar/Indexer.java
19672 (writeCommandLineEntries): Simplify insertion.
19673 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19676 2006-05-14 Tom Tromey <tromey@redhat.com>
19678 PR classpath/27514:
19679 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19681 (JAR_INDEX_VERSION_KEY): Likewise.
19682 (IndexListParser): Updated.
19683 (getVersionInfo): Likewise.
19684 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19685 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19687 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19689 (ModeOption): New constructor.
19690 (parsed): Updated. Use setArchiveFile.
19691 (setArchiveFile): New method.
19692 (run): Handle no-argument case.
19693 (main): Emit --help message on option error.
19694 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19695 (createManifest): New method.
19696 (run): Updated. Throws OptionException. Correctly copy zip entry.
19697 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19699 (writeManifest): Removed.
19700 (outputStream): Now a JarOutputStream.
19701 (writeCommandLineEntries): Changed parameters. Updated callers.
19702 (run): Throws OptionException.
19703 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19704 * java/util/jar/Manifest.java (read): Typo fix.
19706 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19708 * javax/swing/JMenuItem.java
19709 (paramString): Fixed class name in API doc comment.
19711 2006-05-14 Tom Tromey <tromey@redhat.com>
19713 * native/plugin/.cvsignore: Updated.
19715 2006-05-14 Mark Wielaard <mark@klomp.org>
19717 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19720 2006-05-14 Chris Burdess <dog@gnu.org>
19722 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19723 nodes to be preserved during cloneNode.
19725 2006-05-14 Mark Wielaard <mark@klomp.org>
19728 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19729 inherited timeout on socket.
19731 2006-05-14 Lillian Angel <langel@redhat.com>
19733 * java/util/SimpleTimeZone.java: Reverted patch.
19734 (SimpleTimeZone): Throw exception if startMonth ==
19736 (SimpleTimeZone): Likewise.
19737 (checkRule): Rewritten to properly check all values (more
19739 This code is now more stable, at least less buggy than before.
19740 Fixed API documentation.
19741 (setStartRule): Moved checkRule call to end.
19742 (setStartRule): Likewise.
19743 (setEndRule): Likewise.
19744 (setEndRule): Likewise.
19746 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19748 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19751 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19754 * javax/swing/text/AbstractDocument.java:
19755 (insertString): Flipped if-expression and its blocks.
19757 (replace): Flipped if-expression and its blocks, added note, invoke
19758 insertString and remove instead of insertStringImpl and removeImpl.
19760 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19762 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19764 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19766 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19768 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19769 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19770 Increased visibility of fields used by parser anonymous classes.
19771 (processArgs): Removed.
19772 (getParser): New method.
19773 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19774 (setup): Mark (Eclipse) strings that need not be externalised.
19776 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19777 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19778 command line option parsing.
19779 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19780 Increased visibility of fields used by parser anonymous classes.
19781 (processArgs): Removed.
19782 (setup): set 'all' local field.
19783 (getParser): New method.
19784 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19785 Increased visibility of fields used by parser anonymous classes.
19786 (processArgs): Removed.
19787 (getParser): New method.
19788 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19789 (setNewKeyPassword): Fixed comments.
19790 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19791 Increased visibility of fields used by parser anonymous classes.
19792 (processArgs): Removed.
19793 (getParser): New method.
19794 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19796 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19797 Increased visibility of fields used by parser anonymous classes.
19798 (processArgs): Removed.
19799 (setup): Mark (Eclipse) strings that need not be externalised.
19800 (getParser): New method.
19801 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19802 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19803 Increased visibility of fields used by parser anonymous classes.
19804 (processArgs): Removed.
19805 (getParser): New method.
19806 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19807 (ATTRIBUTES_OPT): New constant.
19808 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19809 Increased visibility of fields used by parser anonymous classes.
19810 (processArgs): Removed.
19811 (setup): Mark (Eclipse) strings that need not be externalised.
19813 Reduced logging level.
19814 (getParser): New method.
19815 * tools/gnu/classpath/tools/keytool/Command.java
19816 (processArgs): Made it concrete.
19817 (getParser): New abstract method.
19818 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19820 2006-05-13 Casey Marshall <csm@gnu.org>
19822 Patch by Michael Barker <mike@middlesoft.co.uk>.
19823 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19824 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19825 gnu.java.nio.SocketChannelSelectionKeyImpl.
19826 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19827 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19829 * include/gnu_java_nio_VMChannel.h: new file.
19830 * java/nio/FileChannel.java (read,write): changed to call abstract
19832 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19833 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19834 `gnu_java_nio_VMChannel.c.'
19835 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19837 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19839 * javax/swing/text/AbstractDocument.java:
19840 (insertString): Flipped if-expression and its blocks.
19842 (replace): Flipped if-expression and its blocks, added note, invoke
19843 insertString and remove instead of insertStringImpl and removeImpl.
19845 2006-05-13 Tom Tromey <tromey@redhat.com>
19847 * java/nio/ByteBufferImpl.java (compact): Always set position.
19849 2006-05-13 Sven de Marothy <sven@physto.se>
19851 * gnu/java/awt/print/JavaPrinterGraphics.java
19852 (spoolPostScript): Use a faster writer.
19854 2006-05-13 Sven de Marothy <sven@physto.se>
19856 * gnu/java/awt/print/JavaPrinterGraphics.java
19857 (colorTripleHex): Reimplement better.
19859 2006-05-13 Sven de Marothy <sven@physto.se>
19861 * javax/swing/text/html/HTMLDocument.java
19862 (CharacterAction.start): Translate tag to StyleAttribute.
19863 (pushCharacterStyle): Push copy of attributes onto stack.
19864 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19867 2006-05-13 Sven de Marothy <sven@physto.se>
19869 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19870 * java/awt/print/PrinterJob.java
19871 (getPrinterJob): Return a JavaPrinterJob
19872 (setPrintService,getPrintService): Implement.
19873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19874 (getPixels): Gtk_threads_enter required.
19875 * gnu/java/awt/print/JavaPrinterGraphics.java
19876 * gnu/java/awt/print/JavaPrinterJob.java
19877 * gnu/java/awt/print/SpooledDocumet.java:
19880 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19882 * javax/swing/text/TextAction.java:
19883 (HorizontalMovementAction): New inner class.
19884 (VerticalMovementAction): New inner class.
19885 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19886 new inner classes to array 'defaultActions'.
19887 (SelectionBeginWordAction): New inner class.
19888 (SelectionEndWordAction): New inner class.
19889 (BeginWordAction): New inner class.
19890 (EndWordAction): New inner class.
19891 (PreviousWordAction.actionPerformed): Rewritten.
19892 (SelectLineAction): New inner class.
19893 (SelectWordAction): New inner class.
19894 (SelectionDownAction): Rewritten.
19895 (SelectionUpAction): Rewritten.
19896 (DownAction): Rewritten.
19897 (UpAction): Rewritten.
19898 (SelectionForwardAction): Rewritten.
19899 (SelectionBackwardAction): Rewritten.
19900 (ForwardAction): Rewritten.
19901 (BackwardAction): Rewritten.
19902 (BeginAction): New inner class.
19903 (EndAction): New inner class.
19904 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19905 Character.isISOControl.
19907 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19909 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19910 (WordFilter.getNextVisualPositionFrom): Added statement to check
19911 for variable pt not being null.
19913 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19915 * javax/swing/text/Utilities.java:
19916 (getNextWord): Fixed grammar in exception message.
19917 (getPreviousWord): Changed expression in first if-clause, added sub-
19918 expression to if-clause in while-loop.
19919 (getWordStart): Changed expression in if-clause.
19920 getNextVisualPositionFrom): Added package-private helper method.
19922 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19924 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19927 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19929 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19931 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19932 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19933 * tools/gnu/classpath/tools/jarsigner/Main.java:
19934 Increased visibility of fields used by parser anonymous classes.
19935 (HELP_PATH): Removed.
19936 (cmdLineParser): New field.
19937 (main): Handle JVM exit status.
19938 Handle command line parsing exceptions.
19939 (processArgs): Use getopt command line parser.
19940 (getParser): New method.
19941 (setupCommonParams): Removed checks now handled by processArgs().
19942 (setupSigningParams): Likewise.
19943 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19944 Reuse an existing message-bundle constant.
19946 2006-05-12 Tom Tromey <tromey@redhat.com>
19948 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19949 Explicitly specify class for synchronization.
19951 2006-05-12 Tom Tromey <tromey@redhat.com>
19953 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19955 2006-05-12 Sven de Marothy <sven@physto.se>
19957 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19958 * gnu/java/net/protocol/http/HTTPURLConnection.java
19959 (setConnectTimeout): New method.
19960 (getConnection): Add timeout parameter.
19961 * java/net/URLConnection.java
19962 (getConnectTimeout, setConnectTimeout): Implement.
19963 * native/target/generic/target_generic_network.h:
19964 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19966 2006-05-12 Sven de Marothy <sven@physto.se>
19968 * gnu/javax/print/CupsServer.java
19969 (CupsServer): Make the Cups host configurable.
19970 * java/lang/System.java: Document the system property.
19972 2006-05-12 Roman Kennke <kennke@aicas.com>
19974 * javax/swing/border/TitledBorder.java
19975 (paintBorder): Rewritten for simplicity and correctness.
19976 (layoutBorderWithTitle): New helper method.
19977 (paintBorderWithTitle): New helper method.
19978 (getBorderInsets): Rewritten.
19979 (getMinimumSize): Rewritten.
19980 (getRealJustification): Removed.
19981 (getMeasurements): Removed.
19982 (Measurements): Removed.
19984 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19986 * javax/swing/plaf/basic/BasicPanelUI.java
19987 (sharedUI): New field,
19988 (createUI): Return a shared instance rather than a new instance,
19989 (installUI): Reformatted and added API docs,
19990 (installDefaults): Install border if one is defined,
19991 (uninstallDefaults): Uninstall border.
19993 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19995 * javax/swing/JProgressBar.java: Updated API docs all over.
19997 2006-05-11 Lillian Angel <langel@redhat.com>
19999 * java/awt/ContainerOrderFocusTraversalPolicy.java
20000 (getComponentAfter): Should not throw exception if
20001 the ancestor is null. Added a check for this.
20002 Also, changed to use new helper function, we should
20003 iterate through all the components at least once.
20004 (getNextAvailableComponent): New helper function.
20005 (getPrevAvailableComponent): New helper function.
20006 (getComponentBefore): Should not throw exception if
20007 the ancestor is null. Added a check for this.
20008 Also, changed to use new helper function, we should
20009 iterate through all the components at least once.
20010 (getFirstComponent): Changed check to manually check
20011 fields. Calling accept() casts the object to a Component,
20012 so different values may be returned.
20013 (getLastComponent): Likewise.
20015 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20017 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20018 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20019 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20020 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20021 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20022 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20023 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20024 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20025 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20026 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20027 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20028 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20029 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20030 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20031 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20032 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20033 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20034 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20036 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20038 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20039 package-private, added field 'active'.
20040 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20041 cases to update field 'active'.
20042 (mouseDragged): Added documentation, added if-clause to update
20043 selection or caret position.
20044 (mouseClicked): Added early return when text component is disabled.
20045 (focusGained): Moved statements into an if-clause.
20046 (focusLost): Added subexpression to if-clause.
20047 (install): Preset value of 'active'.
20048 (paint): Added subexpression to if-clause.
20049 (isVisible): Extended return expression.
20050 * javax/swing/text/JTextComponent.java:
20051 (copy): Copy only if component is enabled.
20052 (cut): Cut only if component is enabled and editable.
20055 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20057 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20058 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20059 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20060 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20061 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20062 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20063 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20065 2006-05-11 Roman Kennke <kennke@aicas.com>
20067 * gnu/java/awt/font/GNUGlyphVector.java
20068 (GNUGlyphVector): Don't apply the font renderer context's
20071 2006-05-11 Mark Wielaard <mark@klomp.org>
20073 * java/util/logging/Logger.java (global): Initialize inside static
20076 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20078 * javax/swing/JFrame.java
20079 (EXIT_ON_CLOSE): Added note to API docs,
20080 (close_action): Renamed closeAction,
20081 (JFrame()): Change title to "",
20082 (JFrame(String)): Added API docs,
20083 (getAccessibleContext): Likewise,
20084 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20085 (processWindowEvent): Updated for renamed field,
20086 (setDefaultCloseOperation): Likewise, and updated API docs.
20088 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20090 * javax/swing/JFrame.java
20091 (paramString): Reimplemented,
20092 * javax/swing/SwingUtilities.java
20093 (convertWindowConstantToString): New method.
20095 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20097 * javax/swing/WindowConstants.java: Updated API docs.
20099 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20101 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20102 (createUI): Removed 'final' qualifier for parameter,
20103 (paint): Reformatted.
20105 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20107 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20108 (createUI): Removed 'final' qualifier on method argument.
20110 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20112 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20113 (getDefaultIcon): Removed this redundant method.
20115 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20117 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20118 (paint): Pass component size to paintFocus().
20120 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20122 * java/awt/Component.java:
20123 (dispatchEventImpl): Added comment.
20125 2006-05-11 Mark Wielaard <mark@klomp.org>
20127 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20128 Option constructor null argument to String.
20130 2006-05-11 Mark Wielaard <mark@klomp.org>
20132 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20133 Fully qualify PathIterator constants
20135 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20137 * java/awt/Component.java:
20138 (dispatchEventImpl): Added subexpression to if-clause.
20140 2006-05-11 Mark Wielaard <mark@klomp.org>
20142 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20145 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20147 * javax/swing/TransferHandler.java: Marked stub methods.
20149 2006-05-10 Roman Kennke <kennke@aicas.com>
20152 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20153 (installDefaults): Set background of content pane to null, if
20154 no custom color has been installed by the application yet.
20156 2006-05-10 Roman Kennke <kennke@aicas.com>
20159 * javax/swing/JRootPane.java
20160 (createContentPane): Don't set background to null.
20162 2006-05-10 Sven de Marothy <sven@physto.se>
20164 * java/awt/print/PrinterJob.java:
20165 (lookupPrintServices): Un-comment-out.
20167 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20169 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20170 (FILLER): New constant.
20171 (formatText(PrintStream,String,int)): New method.
20172 (formatText(PrintStream,String,int,Locale)): Likewise.
20173 (printHelp): Use formatText method.
20174 * tools/gnu/classpath/tools/getopt/Parser.java
20175 (MAX_LINE_LENGTH): New constant.
20176 (formatText(PrintStream,String)): New method.
20177 (formatText(PrintStream,String,Locale)): Likewise.
20178 (printHelp): New method.
20179 (printHelp(PrintStream)): Increased visibility to protected.
20180 Use formatText method.
20182 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20184 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20185 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20186 modify the lookup key.
20188 2006-05-10 Lillian Angel <langel@redhat.com>
20190 * java/util/SimpleTimeZone.java: Reverted patch.
20191 (SimpleTimeZone): Throw exception if startMonth ==
20193 (SimpleTimeZone): Likewise.
20194 (checkRule): Rewritten to properly check all values (more
20196 This code is now more stable, at least less buggy than before.
20197 Fixed API documentation.
20198 (setStartRule): Moved checkRule call to end.
20199 (setStartRule): Likewise.
20200 (setEndRule): Likewise.
20201 (setEndRule): Likewise.
20203 2006-05-10 Roman Kennke <kennke@aicas.com>
20205 * gnu/java/awt/peer/swing/SwingComponent.java:
20206 Some API comment fixlets.
20207 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20208 (createImage): Create a BufferedImage, not a Toolkit image.
20209 (paint): Removed bogus API comment.
20210 (prepareImage): Added checks to avoid NPE.
20211 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20212 (getInsets): Added check to avoid NPE.
20213 (handleMouseEvent): Added check to avoid NPE.
20214 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20215 Some API comment fixlets.
20216 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20217 Some API comment fixlets.
20218 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20219 Changed start_pos name to startPos.
20220 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20221 Some API comment fixlets.
20223 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20225 * java/awt/BasicStroke.java
20226 (equals): Fixed typo in HTML tag for API doc comment.
20228 2006-05-10 Gary Benson <gbenson@redhat.com>
20230 * java/lang/ThreadGroup.java (parent): Make package-private.
20231 * java/lang/SecurityManager.java (checkAccess(Thread)):
20232 Reference ThreadGroup.parent directly to avoid extra checks.
20233 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20236 2006-05-10 Roman Kennke <kennke@aicas.com>
20238 Reported by Ingo Proetel (proetel@aicas.com)
20239 * java/awt/EventDispatchThread.java
20240 (DEFAULT_PRIORITY): New constant field.
20241 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20242 system property for adjusting the priority of the event
20245 2006-05-10 Roman Kennke <kennke@aicas.com>
20247 Reported by Ingo Proetel (proetel@aicas.com)
20248 * java/awt/image/ColorModel.java
20249 (S_RGB_MODEL): New constant field.
20250 (getRGBDefault): Return constant SRGBColorModel.
20251 (SRGBColorModel): Specialized color model for sRGB.
20253 2006-05-10 Roman Kennke <kennke@aicas.com>
20255 * java/awt/ColorPaintContext.java
20256 (getRaster): Create Raster with (0,0) as source location.
20258 2006-05-10 Roman Kennke <kennke@aicas.com>
20260 * gnu/java/awt/java2d/AlphaCompositeContext.java
20261 (compose): Don't premultiply alpha to alpha itself.
20263 2006-05-10 Roman Kennke <kennke@aicas.com>
20265 * gnu/java/awt/java2d/AbstractGraphics2D.java
20266 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20267 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20269 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20270 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20271 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20273 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20274 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20276 (scale): Inverse transform by doing 1/scale instead of -scale.
20277 (drawImage(Image,int,int,ImageObserver)): Implemented.
20278 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20279 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20280 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20281 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20283 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20285 (fillScanline): Work on translated destination raster for
20286 correct compositin.
20287 (init): Fetch the clip after the destination raster is initialized.
20288 * gnu/java/awt/java2d/ImagePaint.java: New file.
20289 * gnu/java/awt/java2d/RasterGraphics
20290 (drawImage): Removed.
20292 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20294 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20295 Clarify option descriptions.
20296 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20297 uppercase for metasyntactic variables.
20299 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20302 * javax/swing/text/AbstractDocument.java:
20303 (insertString): Added more documentation, added argument check.
20304 (remove): Added more documentation.
20305 (removeImpl): Added argument check.
20306 (replace): Added more documentation, added argument check.
20308 2006-05-09 Tom Tromey <tromey@redhat.com>
20310 * tools/.cvsignore: Added appletviewer.
20312 2006-05-09 Tom Tromey <tromey@redhat.com>
20314 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20317 2006-05-09 Tom Tromey <tromey@redhat.com>
20319 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20320 Special case for '-J'. Use space instead of '='.
20321 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20324 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20326 * configure.ac: Add --disable-plugin and --with-vm options. Check
20327 for plugin support headers and libraries.
20328 * native/Makefile.am: Recurse into plugin directory.
20329 * native/plugin/.cvsignore: New file.
20330 * native/plugin/Makefile.am: New file.
20331 * native/plugin/gcjwebplugin.cc: New file.
20332 * tools/Makefile.am: Install appletviewer wrapper script.
20333 * tools/appletviewer.in: Replace VM location heuristic with
20334 VM_BINARY configure substitution.
20336 2006-05-09 Tom Tromey <tromey@redhat.com>
20338 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20339 an initial pass to look for short options. Added 'longOnly' option.
20340 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20342 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20343 options into final group. Added -J.
20344 (add): Insert new groups before final group.
20345 (printHelp): Updated.
20347 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20350 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20351 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20352 Expect -classpath option.
20353 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20354 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20356 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20357 (classLoader): New field. (loadClass, setClassPath):
20360 2006-05-09 Roman Kennke <kennke@aicas.com>
20362 * gnu/java/awt/java2d/RasterGraphics.java
20363 (RasterGraphics): Call init() and super().
20364 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20367 2006-05-09 Gary Benson <gbenson@redhat.com>
20369 * java/lang/Thread.java (Thread): Always perform threadgroup
20370 access checks on thread creation.
20372 2006-05-09 Chris Burdess <dog@gnu.org>
20374 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20375 be preserved during cloneNode.
20377 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20380 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20381 Do not demand all thrown exceptions to be an instance of RemoteException.
20383 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20385 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20386 Use hash-style comments.
20387 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20390 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20392 * javax/swing/JLabel.java
20393 (paramString): Added more attribute details,
20394 * javax/swing/SwingUtilities.java
20395 (convertHorizontalAlignmentCodeToString): New method,
20396 (convertVerticalAlignmentCodeToString): New method.
20398 2006-05-08 Tom Tromey <tromey@redhat.com>
20400 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20401 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20402 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20405 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20407 (run): Use ZipInputStream.
20408 (initSet): New method.
20409 (shouldExtract): Likewise.
20410 (run): Use new methods.
20411 * tools/gnu/classpath/tools/jar/Creator.java
20412 (writeCommandLineEntries): New overload.
20413 (writeFile): Use System.err for verbose.
20414 (writeManifest): New method.
20415 (writtenItems): New field.
20416 (writeFile): Update it.
20417 (writeCommandLineEntries): Return void. Call writeManifest.
20418 (addEntries): Don't add extra '/'.
20419 * NEWS: Mention jar.
20421 2006-05-08 Lillian Angel <langel@redhat.com>
20423 * gnu/java/net/IndexListParser.java: New class.
20424 * java/net/URLClassLoader.java
20425 (JarURLLoader): Fixed code to use new class.
20427 2006-05-08 Roman Kennke <kennke@aicas.com>
20429 * javax/swing/JComboBox.java
20430 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20431 (AccessibleJComboBox.getAccessibleChild): Implemented.
20432 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20433 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20434 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20435 (AccessibleJComboBox.getAccessibleAction): Implemented.
20436 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20437 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20438 (AccessibleJComboBox.doAccessibleAction): Implemented.
20439 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20440 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20441 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20442 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20443 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20445 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20447 * configure.ac: Add support for building appletviewer.
20448 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20450 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20452 * tools/appletviewer.c: New file.
20453 * tools/appletviewer.in: New file.
20454 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20456 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20458 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20459 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20461 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20463 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20465 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20467 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20469 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20470 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20472 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20474 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20476 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20478 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20480 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20482 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20485 2006-05-08 Tom Tromey <tromey@redhat.com>
20487 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20488 * tools/gnu/classpath/tools/jar/Action.java: New file.
20489 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20490 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20491 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20492 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20493 * tools/gnu/classpath/tools/jar/Main.java: New file.
20494 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20495 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20496 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20497 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20498 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20499 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20502 2006-05-08 Lillian Angel <langel@redhat.com>
20504 * java/net/URLClassLoader.java
20505 (JarURLLoader): Added check to make sure the INDEX.LIST file
20508 2006-05-08 Roman Kennke <kennke@aicas.com>
20510 * gnu/java/awt/java2d/AbstractGraphics2D.java
20511 (fill): Removed commented out code.
20512 (fillShape): Also determine the outline of the clip and feed
20513 it into the rendering method. Use new helper method for
20514 converting the shapes into lists of segments.
20515 (getUserBounds): Removed obsolete method.
20516 (rawFillShape): Respect the clip when rendering shapes.
20517 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20518 However, the implementation can't clip still.
20519 (getSegments): New helper method for converting a shape into
20520 a list of segments.
20521 (clipShape): Removed obsolete method.
20522 * gnu/java/awt/java2d/PolyEdge.java
20523 (isClip): New field.
20524 (PolyEdge): Added isField argument to constructor.
20526 2006-05-08 Roman Kennke <kennke@aicas.com>
20529 * javax/swing/JRootPane.java
20530 (createContentPane): Set background of the content pane to null,
20531 so that the content pane inherits its background from the
20534 2006-05-08 Roman Kennke <kennke@aicas.com>
20537 * javax/swing/ButtonGroup.java
20538 (add): Check if new button is selected and if so, deselect other
20539 buttons in the group.
20541 2006-05-08 Lillian Angel <langel@redhat.com>
20544 * java/net/URLClassLoader.java
20545 (JarURLLoader): Added code to go through
20546 META-INF/INDEX.LIST file to load all jars listed.
20548 2006-05-08 Roman Kennke <kennke@aicas.com>
20551 * javax/swing/ImageIcon.java
20552 (ImageIcon(URL)): Set description to URL.toString().
20554 2006-05-08 Roman Kennke <kennke@aicas.com>
20557 * javax/swing/JTable.java
20558 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20559 null when cell value is null.
20561 2006-05-08 Roman Kennke <kennke@aicas.com>
20564 * javax/swing/DefaultDesktopManager.java
20565 (closeFrame): Don't perform default close action on the frame
20566 to prevent endless loop.
20568 2006-05-08 Roman Kennke <kennke@aicas.com>
20571 * javax/swing/table/DefaultTableModel.java
20572 (addExtraRows): New helper method.
20573 (checkSize): New helper method.
20574 (setRowCount): Use addExtraRows helper method.
20575 (addColumn): Use addExtraRows helper method.
20576 (getColumnName): Check and adjust size if necessary using
20579 2006-05-08 Roman Kennke <kennke@aicas.com>
20582 * javax/swing/JTable.java
20583 (setValueAt): Allow setting values even when table is editable.
20585 2006-05-08 Tom Tromey <tromey@redhat.com>
20587 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20588 space to error message.
20590 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20592 * javax/swing/AbstractButton.java: Fixed comment typos.
20594 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20596 PR classpath/27435:
20597 * java/util/zip/DeflaterEngine.java:
20598 (deflateFast(boolean,boolean)): Empty buffer when full.
20600 2006-05-07 Sven de Marothy <sven@physto.se>
20603 * java/util/Calendar.java (setTimeZone): Force recalculation.
20605 2006-05-07 Sven de Marothy <sven@physto.se>
20608 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20609 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20611 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20613 PR classpath/27311:
20614 * gnu/java/text/StringFormatBuffer.java:
20615 (toString()): Implemented so we can see the contents.
20616 * java/text/DecimalFormat.java:
20617 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20618 Don't calculate the exponent when the number is 0 or less.
20619 Also, use log10 instead of log now it's available.
20621 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20623 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20624 Use instance's field creationDate not the constructor's argument.
20625 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20626 Removed unused imports.
20629 (decrypt): Added trace/debug/timing statements.
20630 (encrypt): Likewise.
20631 Use PRNG instead of instantiating every time a new SecureRandom.
20632 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20633 Removed unused imports.
20636 (verify): Added trace/debug/timing statements.
20637 (authenticate): Likewise.
20638 Use PRNG instead of instantiating every time a new SecureRandom.
20640 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20642 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20643 (THREAD_FORMAT): Likewise.
20644 (dateFormat): Added field.
20645 (threadFormat): Added field.
20646 (format): Initialize instance fields if null.
20647 Use StringBuilder instead of StringBuffer.
20649 2006-05-07 Roman Kennke <kennke@aicas.com>
20651 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20653 2006-05-07 Roman Kennke <kennke@aicas.com>
20655 * gnu/java/awt/java2d/AbstractGraphics2D.java
20656 (fillShape): Determine user space bounds of shape and feed them
20657 into the actual rendering pipeline.
20658 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20659 (rawSetForeground): Likewise.
20660 (getDestinationColorModel): Removed.
20661 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20662 (rawFillShape): Handle paint context.
20663 (fillScanline): Implement painting and compositing.
20664 (fillShapeAntialias): Handle paint context.
20665 (fillScanlineAA): Implemented preliminary antialiasing based on
20666 composite context. Not working yet.
20667 (fillScanlineAlpha): Removed.
20668 (init): Fetch destination raster.
20669 (getDestinationRaster): New abstract method.
20670 (updateRaster): New backend method.
20672 2006-05-07 Roman Kennke <kennke@aicas.com>
20674 * gnu/java/awt/java2d/AlphaCompositeContext.java
20675 (compose): Fixed loops, conditions and logic to make compositing
20678 2006-05-07 Roman Kennke <kennke@aicas.com>
20680 * java/awt/ColorPaintContext.java
20681 (ColorPaintContext): Fixed filling of the raster.
20683 2006-05-07 Sven de Marothy <sven@physto.se>
20686 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20687 * java/awt/Component.java (processMouseEvent):
20688 Do lightweight cursor handling.
20689 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20690 (endResizing,mouseMoved): Save and reset original cursor, not the
20693 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20696 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20697 getNodeDimensions): Mind the size of the node icon. (getRowX):
20698 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20699 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20700 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20701 (installDefaults): assign totalChildIndent. (installUI): Call
20702 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20703 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20706 2006-05-06 Sven de Marothy <sven@physto.se>
20709 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20710 Check for zero image sizes.
20712 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20715 * java/util/Calendar.java (clear(int)): Forced internal state
20716 completion before performing a field clearing.
20718 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20720 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20721 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20722 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20723 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20724 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20725 UnmodifiableMapEntry as part of their return value.
20727 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20729 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20730 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20731 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20732 Generate jarsigner and keytool scripts.
20733 * tools/keytool.in: New file (renamed from keytool.sh.in).
20734 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20735 * tools/.cvsignore: Replaced *.sh with *
20736 * configure.ac: Replaced tools/*.sh with tools/*.
20738 2006-05-05 Roman Kennke <kennke@aicas.com>
20740 * java/awt/image/ColorModel.java
20741 (getNormalizedComponents): Implemented.
20743 2006-05-05 Roman Kennke <kennke@aicas.com>
20745 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20746 (paint): Query the button model for it's state, not the
20749 2006-05-05 Roman Kennke <kennke@aicas.com>
20751 * javax/swing/JTable.java
20752 (tableChanged): Sync selection model with table model changes.
20754 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20756 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20757 if there are no visible nodes to paint.
20759 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20761 * javax/swing/JOptionPane.java: API doc updates.
20763 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20765 * javax/swing/JToolBar.java
20766 (paramString): Reimplemented.
20768 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20770 * javax/swing/JScrollBar.java
20771 (paramString): Reimplemented.
20773 2006-05-04 Tom Tromey <tromey@redhat.com>
20775 PR classpath/27375:
20776 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20777 (readEntries): Updated.
20778 (getEntries): Likewise.
20779 (getEntry): Likewise.
20780 (getInputStream): Likewise.
20782 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20784 * gnu/javax/imageio/jpeg/DCT.java,
20785 gnu/javax/imageio/jpeg/HuffmanTable.java,
20786 gnu/javax/imageio/jpeg/JPEGComponent.java,
20787 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20788 gnu/javax/imageio/jpeg/JPEGException.java,
20789 gnu/javax/imageio/jpeg/JPEGFrame.java,
20790 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20791 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20792 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20793 gnu/javax/imageio/jpeg/JPEGMarker.java,
20794 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20795 gnu/javax/imageio/jpeg/JPEGScan.java,
20796 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20797 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20799 2006-05-04 Lillian Angel <langel@redhat.com>
20801 * javax/swing/JLabel.java
20802 (JLabel): Pass in an empty string for the text parameter.
20803 (JLabel): Likewise.
20804 (JLabel): Likewise.
20806 2006-05-04 Roman Kennke <kennke@aicas.com>
20808 * javax/swing/plaf/basic/BasicButtonListener.java
20809 (mouseEntered): Fixed conditions for changing states.
20811 2006-05-04 Roman Kennke <kennke@aicas.com>
20813 * javax/swing/JOptionPane.java
20814 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20816 2006-05-04 Roman Kennke <kennke@aicas.com>
20818 * javax/swing/JLabel.java
20819 (AccessibleJLabel.getSelectedText): Return null instead of "".
20820 (AccessibleJLabel.getSelectionStart): Added comment why
20821 return -1 is correct here.
20822 (AccessibleJLabel.getSelectionEnd): Added comment why
20823 return -1 is correct here.
20824 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20826 (AccessibleJLabel.getCharCount): Added comment about what
20828 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20829 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20830 (paramString): Return super.paramString() here, this provides
20831 a more meaningful output.
20833 2006-05-04 Roman Kennke <kennke@aicas.com>
20835 * javax/swing/JComponent.java
20836 (paint): Added null check to avoid NPE when clip == null.
20838 2006-05-04 Roman Kennke <kennke@aicas.com>
20840 * javax/swing/AbstractButton.java
20841 (addImpl): New method. Installs an OverlayLayout if no
20842 other layout has been installed before.
20843 (setLayout): New method. Detect if a client app installs a custom
20846 2006-05-04 Roman Kennke <kennke@aicas.com>
20848 * javax/swing/table/DefaultTableCellRenderer.java
20849 (noFocusBorder): Fixed width of empty border to 1.
20850 (getTableCellRendererComponent): Don't change the colors for
20851 focuses cells. Fixed border for focused cells.
20853 2006-05-04 Roman Kennke <kennke@aicas.com>
20855 * javax/swing/JTable.java
20856 (moveToCellBeingEdited): Adjust bounding box of editing component
20857 to exactly cover the grid.
20858 * javax/swing/plaf/basic/BasicTableUI.java
20859 (paint): Paint grid to the bottom and right of the cells instead
20860 of left and top. Adjust bounding box of cells accordingly.
20861 * javax/swing/plaf/metal/MetalLookAndFeel.java
20862 (initComponentDefaults): Fixed color of JTable selection border.
20863 * javax/swing/plaf/metal/OceanTheme.java
20864 (addCustomEntriesToTable): Fixed color of JTable selection border.
20866 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20868 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20869 Use _alias instead of alias.
20871 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20874 Set version to 0.92-pre.
20876 Add space for 0.92 entries.
20878 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20880 * include/Makefile.am:
20881 Added rules for gnu.java.net.local.LocalSocketImpl.h
20882 * include/java_lang_VMSystem.h:
20883 Regenerated correctly.
20885 2006-05-03 Sven de Marothy <sven@physto.se>
20888 * java/awt/Image.java:
20889 (getScaledInstance): Default to AreaAveraging for "smooth",
20890 don't thrown an error on illegal flag values.
20891 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20893 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20895 * javax/swing/text/FieldView.java:
20896 (adjustAllocation): Added if-block to return null when shape argument
20898 * javax/swing/text/PlainView.java:
20899 (updateDamage): Added if-block to return early if a is null.
20901 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20903 * javax/swing/plaf/basic/BasicTextUI.java:
20904 (changeUpdate): Added note.
20905 (removeUpdate): Dito.
20906 (insertUpdate): Dito.
20907 (damageRange): Added if-block to return early.
20908 (modelToView): Added check of getVisibleEditorRect's return value.
20909 (getVisibleEditorRect): Return null instead of empty rectangle.
20910 * javax/swing/text/DefaultCaret.java:
20911 (clearHighlight): Removed if-clause to create a highlight entry if it
20912 did not exist before.
20913 * javax/swing/text/WrappedPlainView.java:
20914 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20915 removed 2nd part of if-expression.
20916 (WrappedLine.updateDamage): Added more documentation, added check
20917 whether allocation area rectangle is null.
20919 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20921 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20922 Reset to preferred sizes if the argument is negative.
20924 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20926 * javax/swing/JList.java: Added/updated API docs.
20928 2006-05-03 Lillian Angel <langel@redhat.com>
20930 * javax/swing/JComponent.java
20931 (getRoot): New private function. Gets the root appropriate
20932 for painting. If an applet exists as a parent, then it is returned.
20933 (paintDoubleBuffered): Changed to use new function.
20934 * javax/swing/RepaintManager.java
20935 (getRoot): New private function. Gets the root appropriate
20936 for painting. If an applet exists as a parent, then it is returned.
20937 (getOffscreenBuffer): Changed to use new function.
20938 * javax/swing/SwingUtilties.java
20939 (getRoot): Reverted last patch to return Window, even if
20942 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20944 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20945 a pair of one public keyring and one private keyring.
20946 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20947 (containsCertificate): Added logging.
20948 (getCertificate): Likewise.
20949 (putCertificate): Likewsie.
20952 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20953 (containsPrivateKey): Added logging.
20954 (getPrivateKey): Likewise.
20955 (putPrivateKey): Likewise.
20956 (containsPublicKey): Likewise.
20957 (getPublicKey): Likewise.
20958 (putPublicKey): Likewise.
20959 (containsCertPath): Likewise.
20960 (getCertPath): Likewise.
20961 (putCertPath): Likewise.
20965 2006-05-03 Roman Kennke <kennke@aicas.com>
20967 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20968 * java/awt/AlphaComposite.java
20969 (createContext): Implemented.
20971 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20973 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20974 Set the current color again after drawing the raster.
20976 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20978 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20979 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20981 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20983 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20984 Assign returned value to field handler.
20985 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20988 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20990 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20991 Return without action if there is no view in the viewport.
20992 * javax/swing/text/WrappedPlainView.java
20993 (WrappedLine.getPreferredSpan): If metrics == null, update
20995 * javax/swing/tree/DefaultTreeModel.java (constructors):
20996 Do not call setRoot, assign the root node directly.
20998 2006-05-02 Lillian Angel <langel@redhat.com>
21000 * javax/swing/SwingUtilities.java
21001 (getRoot): Should return the Applet if it exists.
21002 Only return the Window if an Applet has not been
21005 2006-05-02 Lillian Angel <langel@redhat.com>
21007 * gnu/javax/swing/text/html/parser/support/Parser.java
21008 (readAttributes): Reverted Audrius' last patch. There is
21009 a slight difference in code between the NUMTOKEN and SLASH case.
21011 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21013 * javax/swing/text/JTextComponent.java:
21014 (setText): Throw InternalError from catch-block.
21015 * javax/swing/text/GapContent.java:
21016 (removed): Removed if-expression, changed '>' to '>='.
21018 2006-05-02 Roman Kennke <kennke@aicas.com>
21020 * gnu/java/awt/java2d/AbstractGraphics2D.java
21021 (AA_SAMPLING): New constant.
21022 (alpha): New field. Used in the antialiasing renderer.
21023 (edgeTable): New field. Used in the antialiasing renderer.
21024 (AbstractGraphics2D): Initialize rendering hints wrt
21026 (draw): Clip after stroking. Commented out clipping for now,
21027 it seems to be buggy.
21028 (fill): Commented out clipping for now, it seems to be buggy.
21029 (setComposite): Don't create composite context.
21030 (setPaint): Only change paint when parameter is not null.
21031 (translate): Call setClip() so subclasses can update their clip
21033 (clip): Call setClip() so subclasses can update their clip
21035 (drawGlyphVector): Added clipping, but left it commented out
21036 because it's buggy.
21037 (getClipBounds): Returns null when clip is null.
21038 (drawLine): Call rawDrawLine with translation applied.
21039 (filLRect): Call rawFillRect with translation applied.
21040 (fillShape): Added support for anti-aliasing.
21041 (rawSetForeground(int,int,int)): New method.
21042 (rawFillShape): A couple of painting fixes.
21043 (fillScanline): Implemented to call rawDrawLine.
21044 (fillShapeAntialias): New method. Implements an anti-aliasing
21046 (fillScanlineAA): New method. Used for the anti-aliasing
21048 (fillScanlineAlpha): New method. Used for the anti-aliasing
21050 (init): Initialize clip with the device bounds.
21051 (updateOptimization): Fixed the optimization condition.
21053 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21055 * javax/swing/text/GapContent.java:
21056 (GapContent): Restrict size argument by 2.
21057 (insertString): Changed expression from >= to >.
21058 (remove): Changed right side of expression to 'length - 1', changed
21060 (getChars): Throw exception if where below 0.
21061 (replace): Replaced call to setPositionsInRange() with
21062 resetMarksAtZero(), removed note.
21064 2006-05-02 Roman Kennke <kennke@aicas.com>
21067 * javax/swing/MenuSelectionManager.java
21068 (setSelectedPath): Rewritten.
21070 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21072 * gnu/javax/swing/text/html/parser/support/Parser.java
21073 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21076 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21078 * tools/.cvsignore: Added keytool.sh.
21079 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21081 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21083 * doc/tools.texinfo: New file.
21084 * doc/Makefile.am: Generate tools documentation.
21086 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21088 * tools/keytool.sh.in: New file.
21089 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21090 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21091 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21092 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21093 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21094 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21095 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21096 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21097 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21098 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21099 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21100 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21101 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21102 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21103 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21104 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21105 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21106 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21108 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21110 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21111 resemble more closely man-page style text.
21112 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21113 Mark (Eclipse) strings that need not be externalised.
21114 (writeSF): Likewise.
21115 (writeDSA): Likewise.
21116 Use package-private Messages class to provide i18n-ready strings.
21118 Use package-private Messages class to provide i18n-ready strings.
21119 (updateEntry): Likewise.
21120 Mark (Eclipse) strings that need not be externalised.
21121 (finishSigning): Likewise.
21122 * tools/gnu/classpath/tools/jarsigner/Main.java:
21123 Mark (Eclipse) strings that need not be externalised.
21124 (main): Do not use constant strings as class name.
21125 Use package-private Messages class to provide i18n-ready strings.
21126 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21127 (processArgs): Do not use constant strings as class name.
21128 Mark (Eclipse) strings that need not be externalised.
21129 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21130 (start): Do not use constant strings as class name.
21131 (teardown): Likewise.
21133 (setupCommonParams): Do not use constant strings as class name.
21134 Use package-private Messages class to provide i18n-ready strings.
21135 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21136 (installNewProvider): Do not use constant strings as class name.
21138 (setupSigningParams): Do not use constant strings as class name.
21139 Use package-private Messages class to provide i18n-ready strings.
21140 Mark (Eclipse) strings that need not be externalised.
21141 (getCallbackHandler): Use CallbackUtil.
21142 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21143 Use package-private Messages class to provide i18n-ready strings.
21144 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21145 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21146 (verifySF): Likewise.
21147 (verifySFEntries): Do not use constant strings as class name.
21148 Use Boolean.valueOf instead of new Boolean().
21149 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21150 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21152 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21153 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21155 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21157 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21158 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21159 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21161 2006-05-01 Tom Tromey <tromey@redhat.com>
21163 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21165 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21166 (close): Synchronize.
21167 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21168 * java/nio/LongBufferImpl.java (compact): Rewrote.
21169 * java/nio/IntBufferImpl.java (compact): Rewrote.
21170 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21171 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21172 * java/nio/CharBufferImpl.java (compact): Rewrote.
21173 * gnu/java/nio/ChannelWriter.java: New file.
21174 * java/nio/channels/Channels.java (newWriter): Implemented.
21176 2006-05-01 Lillian Angel <langel@redhat.com>
21178 * java/util/SimpleTimeZone.java
21179 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21180 (SimpleTimeZone): Likewise.
21181 (checkRule): Rewritten to properly check all values (more efficently).
21182 This code is now more stable, at least less buggy than before. Fixed
21184 (setStartRule): Moved checkRule call to end.
21185 (setStartRule): Likewise.
21186 (setEndRule): Likewise.
21187 (setEndRule): Likewise.
21189 2006-05-01 Tom Tromey <tromey@redhat.com>
21191 * lib/.cvsignore: Added classes.2.
21193 2006-05-01 Tom Tromey <tromey@redhat.com>
21195 * java/util/jar/JarFile.java (provider): Now package-private.
21196 * java/lang/Enum.java (compareTo): Javadoc fix.
21197 * java/lang/Boolean.java (compareTo): Javadoc fix.
21199 2006-05-01 Lillian Angel <langel@redhat.com>
21201 * gnu/javax/swing/text/html/parser/support/Parser.java
21202 (readAttributes): Formatted function. Added handling for
21203 SLASH token. The value of an attribute may start with a slash
21204 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21205 We should not be skipping over these type of attributes.
21207 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21209 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21210 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21211 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21212 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21213 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21214 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21215 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21216 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21217 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21218 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21219 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21220 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21221 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21222 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21223 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21224 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21225 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21226 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21227 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21228 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21229 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21230 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21231 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21232 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21233 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21234 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21235 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21236 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21237 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21238 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21239 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21240 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21241 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21242 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21243 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21244 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21245 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21246 * include/gnu_java_awt_peer_qt_QMatrix.h,
21247 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21248 * include/gnu_java_awt_peer_qt_QPen.h,
21249 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21250 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21251 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21252 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21253 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21254 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21255 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21256 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21257 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21258 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21259 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21260 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21261 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21262 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21263 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21264 * include/gnu_java_awt_peer_qt_QtImage.h,
21265 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21266 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21267 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21268 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21269 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21270 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21271 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21272 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21273 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21274 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21275 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21276 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21277 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21278 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21279 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21280 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21281 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21282 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21283 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21284 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21285 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21286 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21287 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21288 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21289 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21290 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21291 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21292 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21293 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21294 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21295 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21296 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21297 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21298 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21299 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21300 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21301 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21302 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21303 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21304 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21305 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21306 * include/java_lang_VMProcess.h:
21308 * native/jni/java-lang/java_lang_VMProcess.c:
21309 Redirect when pipe_count is 2 not 3.
21311 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21313 * gnu/java/awt/font/FontDelegate.java,
21314 * gnu/java/awt/font/FontFactory.java,
21315 * gnu/java/awt/font/GNUGlyphVector.java,
21316 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21317 * gnu/java/awt/font/opentype/GlyphNamer.java,
21318 * gnu/java/awt/font/opentype/MacResourceFork.java,
21319 * gnu/java/awt/font/opentype/NameDecoder.java,
21320 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21321 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21322 * gnu/java/awt/font/opentype/Scaler.java,
21323 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21324 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21325 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21326 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21327 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21328 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21329 * gnu/java/awt/font/opentype/truetype/Zone.java,
21330 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21331 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21332 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21333 New files. Imported font framework from:
21334 http://www.brawer.ch/software/fonts/
21336 2006-04-30 Roman Kennke <kennke@aicas.com>
21338 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21339 (lastTabInRun): Fix calculation of the last tab in a run. This
21340 has caused painting problems sometimes, making the
21341 last tab painted incorrectly.
21343 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21346 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21347 Use for and not while to prevent the endless loop.
21349 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21351 * javax/swing/JList.java
21352 (paramString): Changed from public to protected.
21354 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21356 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21357 (printHelpAndExit): Re-factored to use the above method.
21359 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21361 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21362 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21363 * tools/gnu/classpath/tools/jarsigner/Main.java:
21364 Changed license to GPL + Exception.
21365 (handler): New field.
21366 (getCallbackHandler): New method.
21367 (setupSigningParams): Use above method.
21368 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21369 Changed license to GPL + Exception.
21370 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21371 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21372 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21373 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21375 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21377 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21378 (handleConfirmation): Use print instead of println.
21379 (handleConfirmation): When case is YES_NO_OPTION, print default option
21381 (handleLanguage): Use print instead of println.
21383 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21385 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21386 (putComponent): Handle O and OU components.
21387 (getDer): Use correct (it2) iterator.
21388 (readAttributeValue): Read next character and break if end-of-stream.
21390 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21392 * gnu/java/security/provider/Gnu.java (run):
21393 Add "RSA" as an alias to MD5withRSA.
21394 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21395 Always encode a NULL as the value of an algorithm parameters field.
21396 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21397 (encodePrivateKey): Added trace/log statements.
21398 (decodePrivateKey): Likewise.
21399 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21400 (setup): Added trace/log statements.
21401 (generate): Likewise.
21402 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21403 (toString): New method.
21404 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21406 (toString): New method.
21407 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21408 (getEncoded): Use defaultFormat.
21409 (toString): New method.
21410 * gnu/java/security/key/dss/DSSKey.java (toString):
21411 Include defaultFormat in string.
21412 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21413 Break if successfully decoded public key.
21414 (engineGeneratePrivate): Break if successfully decoded private key.
21416 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21418 * java/security/Security.java <clinit>: Add our Callback provider.
21419 * resource/java/security/classpath.security: Likewise
21421 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21424 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21425 Decide about scroll bars from the preferred view size, not
21427 * javax/swing/ViewportLayout.java (layoutContainer):
21428 Do not change returned preferred size. Do not treat JScrollPane
21431 2006-04-28 Sven de Marothy <sven@physto.se>
21433 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21434 * javax/swing/ProgressMonitor.java (actionPerformed):
21435 Avoid divide-by-zero.
21437 2006-04-28 Sven de Marothy <sven@physto.se>
21439 * javax/swing/JSpinner.java: Fix default text justification.
21440 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21442 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21444 * javax/swing/JList.java
21445 (getMinSelectionIndex): Return correct value, added API docs,
21446 (getMaxSelectionIndex): Added API docs.
21448 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21450 * javax/swing/JList.java
21451 (JList(Object[])): Pass new model directly to init(),
21452 (JList(Vector)): Likewise,
21453 (JList(ListModel)): Renamed argument and updated API docs,
21454 (init): Throw IllegalArgumentException for null argument,
21455 (setListData(Object[])): Delegate model creation,
21456 (setListData(Vector)): Likewise,
21457 (createListModel(Object[])): New private method,
21458 (createListModel(Vector)): New private method,
21459 (paramString): Implemented.
21461 2006-04-28 Tom Tromey <tromey@redhat.com>
21463 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21465 (isSynthetic): Likewise.
21466 (isAnnotation): Likewise.
21467 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21468 (isAnnotation): Likewise.
21469 (isEnum): Likewise.
21471 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21473 * javax/swing/text/View.java:
21474 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21477 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21479 * javax/swing/text/View.java:
21480 (getNextVisualPositionFrom): Rewritten.
21481 * javax/swing/text/CompositeView.java:
21482 (getNextEastWestVisualPositionFrom): Partly implemented.
21483 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21485 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21487 * javax/swing/JList.java
21488 (setFixedCellHeight): Use correct property name for event.
21490 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21492 * javax/swing/text/Utilities.java:
21493 (getNextWord): Use codePointAt instead of charAt, added note, changed
21494 if-expression, added throwing of exception.
21495 (getPreviousWord): Use codePointAt instead of charAt.
21497 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21499 * java/lang/StringBuilder.java
21500 (ensureCapacity, getChars, append(StringBuffer),
21501 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21502 insert(int,String), insert(int,char), trimToSize): Replaced
21503 System.arraycopy calls with VMSystem.arraycopy.
21505 2006-04-27 Tom Tromey <tromey@redhat.com>
21507 * java/awt/image/renderable/RenderableImageProducer.java
21508 (requestTopDownLeftRightResend): Implemented.
21510 (startProduction): Add new consumer.
21512 2006-04-27 Sven de Marothy <sven@physto.se>
21514 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21516 2006-04-27 Roman Kennke <kennke@aicas.com>
21518 * java/awt/LightweightDispatcher.java
21519 Dispatch events only to targets that have a mouselistener
21520 attached. Changed to also handle null targets.
21522 2006-04-27 Roman Kennke <kennke@aicas.com>
21524 * NEWS: Added entries about accessibility support and L&F
21525 window decorations.
21527 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21529 * javax/swing/text/Utilities.java:
21530 (getTabbedTextOffset): Introduced width variable, rewritten the check
21531 which ends the loop.
21532 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21535 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21537 * examples/gnu/classpath/examples/swing/TreeDemo.java
21538 (createContent): Added root visibility and selection listener demos.
21539 * javax/swing/JTree.java (setRootVisible): If false, unselect
21540 the root node, if it is selected.
21541 * javax/swing/plaf/basic/BasicTreeUI.java
21542 (TreeTraverseAction.actionPerformed): Do not select the root if it
21544 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21545 removeSelectionPaths): Reset lead to null if the current lead path is
21546 removed from selection.
21547 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21548 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21549 Return the same path regardless is root visible or not. (update):
21550 Reduce the identation if the root is not visible.
21551 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21552 Return the same path regardless is root visible or not. (update):
21553 Reduce the identation if the root is not visible.
21555 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21557 * javax/swing/plaf/basic/BasicTreeUI.java
21558 (TreeAction.actionPerformed):Newly obtain the current lead
21559 path that must stay visible.
21560 (TreeTraverseAction.actionPerformed):Rewritten.
21561 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21562 Do not treat root specially. (setModel): Assume the root node
21563 initially expanded.
21564 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21565 Do not treat root specially. (setModel): Assume the root node
21566 initially expanded.
21568 2006-04-26 Chris Burdess <dog@gnu.org>
21571 * javax/xml/datatype/DatatypeFactory.java: Use complete
21572 implementation resolution mechanism.
21574 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21576 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21578 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21579 Removed NoImplementException form the implemented method.
21581 2006-04-26 Tom Tromey <tromey@redhat.com>
21583 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21586 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21588 * javax/swing/DefaultListSelectionModel.java
21589 (clone): Initialise empty listener list,
21590 (setSelectionMode): Throw IllegalArgumentException for bad input.
21592 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21594 * javax/swing/DefaultListSelectionModel.java
21595 (clearSelection): Clear the Bitset.
21597 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21599 * javax/swing/JTree.java (setLeadSelectionPath):
21600 Repaint the new and old lead pathes.
21601 * javax/swing/plaf/basic/BasicTreeUI.java
21602 (FocusHandler): Repaint the lead row when focus changes.
21603 (PropertyChangeHandler): Use existing constants, not the
21604 string literals for the property names.
21605 (TreeIncrementAction): Shrink the selection when moving
21606 from the selection edge to the selection anchor.
21607 (TreeSelectionHandler.valueChanged): Repaint the
21608 new and old lead pathes.
21609 (paintRow): Treat row as focused only if it is the lead row.
21610 * javax/swing/tree/DefaultTreeCellRenderer.java
21611 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21612 (paint): Rewritten.
21613 * javax/swing/tree/DefaultTreeSelectionModel.java
21614 (addSelectionPath): Event construction fix (old and new lead were
21616 (addSelectionPaths): Likewise.
21617 * javax/swing/JComponent.java (setOpaque): Explained.
21618 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21620 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21623 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21625 * examples/gnu/classpath/examples/swing/TreeDemo.java
21626 (createContent): Call DefaultTreeModel.reload(), not the
21627 tree.repaint(). Expand the parent of the added node.
21628 * javax/swing/JTree.java (constructor): Do not call
21629 UpdateUI (and documented why). (treeDidChange):
21630 Added comment, excluding the misinterpretation of this method.
21631 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21632 focusListener, keyListener, mouseListener, propertyListener,
21633 selectionModelPropertyChangeListener, treeModelListener,
21634 treeSelectionListener): Made package private.
21635 (PropertyChangeHandler): If the model changes, install the
21636 listener on it. (installUI): Assign treeModel.
21637 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21638 comment, excluding misinterpretation.
21639 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21640 (reload(TreeNode)): Implemented.
21642 2006-04-25 Tom Tromey <tromey@redhat.com>
21644 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21645 * javax/swing/tree/VariableHeightLayoutCache.java
21646 (getVisiblePathsFrom): Genericized.
21647 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21650 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21652 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21653 If clicked on the other row, cancel the current editing session.
21655 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21657 * javax/swing/plaf/basic/BasicTreeUI.java
21658 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21659 (paintExpandControl): Always paint in one gap distance from the left
21660 border of the path bounds.
21661 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21662 into consideration.
21663 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21666 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21668 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21670 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21672 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21673 Allow slashes (/) in the unquoted parameter value.
21675 2006-04-25 Roman Kennke <kennke@aicas.com>
21677 * gnu/java/awt/java2d/AbstractGraphics2D.java
21678 (drawString(String,int,int)): Implemented.
21679 (drawString(String,float,float)): Implemented.
21680 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21681 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21682 (getFontRenderContext): Implemented.
21683 (drawGlyphVector): Implemented.
21684 (getFont): Implemented.
21685 (setFont): Don't change font setting when null.
21686 (getFontMetrics): Implemented.
21687 (fillShape): Re-written to fill call rawFillShape() with a list
21688 of the edges instead of double arrays.
21689 (rawFillShape): Implemented using a polygon scanline conversion.
21690 (fillScanline): New helper method.
21691 (init): Initialize foreground black. Set font.
21692 * gnu/java/awt/java2d/PolyEdge.java: New file.
21693 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21695 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21697 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21699 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21701 * javax/swing/JTable.java: Fixed API doc tags,
21702 * javax/swing/text/AsyncBoxView.java: Likewise,
21703 * javax/swing/text/FlowView.java: Likewise.
21705 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21707 * javax/swing/table/DefaultTableColumnModel.java
21708 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21710 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21712 * javax/swing/table/DefaultTableColumnModel.java
21713 (DefaultTableColumnModel): Set selection model field and add 'this' as
21715 (addColumn): Add 'this' as a PropertyChangeListener,
21716 (removeColumn): Remove column before firing event, and remove 'this' as
21717 a PropertyChangeListener,
21718 (setSelectionModel): Remove 'this' as a listener from old model,
21719 (propertyChange): Check for 'width' property rather than
21720 TableColumn.COLUMN_WIDTH_PROPERTY.
21722 2006-04-24 Chris Burdess <dog@gnu.org>
21725 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21726 attributes when no doctype exists.
21728 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21730 * javax/swing/event/ChangeEvent.java: Updated API docs,
21731 * javax/swing/event/ChangeListener.java: Likewise,
21732 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21733 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21734 * javax/swing/table/TableColumnModel.java: Likewise.
21736 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21738 * javax/swing/text/Utilities.java:
21739 (getBreakLocation): Introduced shift variable, added notes.
21740 * javax/swing/text/WrappedPlainView.java:
21741 (calculateBreakPosition): Decrease allocation area bounds by insets,
21742 added early return when allocation area is empty, provide start offset
21744 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21745 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21746 numLines after loop.
21747 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21748 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21749 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21750 decreasing variable end by one, changed break condition in while-loop,
21751 added check for return value.
21752 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21753 allocation area is empty.
21755 2006-04-24 Sven de Marothy <sven@physto.se>
21757 * gnu/java/awt/java2d/Segment.java: New file.
21758 * gnu/java/awt/java2d/CubicSegment.java: New file.
21759 * gnu/java/awt/java2d/QuadSegment.java: New file.
21760 * gnu/java/awt/java2d/LineSegment.java: New file.
21761 * java/awt/BasicStroke.java
21762 (start): New field.
21764 (createStrokedShape): Implemented.
21765 (solidStroke): New method.
21766 (dashedStroke): New method.
21767 (capEnds): New method.
21768 (convertPath): New method.
21769 (addSegments): New method.
21770 (capEnd): New method.
21771 (lineIntersection): New method.
21772 (joinSegments): New method.
21774 2006-04-24 Roman Kennke <kennke@aicas.com>
21776 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21779 (clip): Changed clip to be in user space not in target space.
21780 (isOptimized): Added flag to allow optimized drawing for
21781 primitive operations (e.g. for Swing).
21782 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21783 with the paint context etc.
21784 (draw): Clip the shape before drawing it.
21785 (fill): Clip the shape before drawing it.
21786 (setComposite): Update isOptimized flag.
21787 (setPaint): Likewise.
21788 (setStroke): Likewise.
21789 (translate): Update the clip.
21790 (rotate): Likewise.
21793 (transform): Likewise.
21794 (setTransform): Likewise.
21795 (clip): Added optimization for rectangle clips.
21796 (create): Implemented.
21797 (clone): New method.
21798 (setFont): Basic implementation.
21799 (setClip): Update opimization flag.
21800 (drawLine): Added possible optimization.
21801 (fillRect): Added possible optimization.
21802 (fillShape): Implemented shape-filling by filling the flattended
21803 shape using polygon fill.
21804 (drawPixel): Added basic painting.
21805 (rawSetPixel): Changed signature to only take coordinates.
21806 (rawSetForeground): New abstract method.
21807 (getUserBounds): Implemented default for this method.
21808 (rawDrawLine): New method.
21809 (rawFillRect): New method.
21810 (rawFillPolygon): New method.
21811 (init): New method.
21812 (updateOptimization): New method.
21813 (computeIntersection): New method.
21814 (updateClip): New method.
21815 (clipShape): New method.
21817 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21819 * java/lang/Package.java: Added compatibility constructor to ease
21820 VM interface migration.
21822 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21824 * java/lang/Class.java (getEnumConstants): Implemented without
21825 delegating to VMClass.
21826 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21828 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21830 * java/lang/ClassLoader.java (definePackage): Added argument to
21831 Package constructor.
21832 * java/lang/Package.java (Package): Added ClassLoader argument.
21833 (loader): New field.
21834 (getDeclaredAnnotations): Implemented without help from VMPackage.
21835 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21836 to Package constructor.
21837 * vm/reference/java/lang/VMPackage.java: Removed.
21839 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21841 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21842 (createContent): Added check box to swith between single and
21843 multiple selection.
21844 * javax/swing/JTree.java (leadSelectionPath): Removed.
21845 (addSelectionInterval): Explained. (getLeadSelectionPath):
21846 Request the path from model. (getPathsBetweenRows): Explained.
21847 (setLeadSelectionPath): Set the path in model.
21848 * javax/swing/plaf/basic/BasicTreeUI.java
21849 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21850 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21851 (MouseHandler.mousePressed): Call selectPathForEvent.
21853 2006-04-23 Roman Kennke <kennke@aicas.com>
21855 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21857 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21860 Mention changes to VMProcess and VMSystem.
21861 * doc/vmintegration.texinfo:
21862 Change documentation on VMProcess and VMSystem.
21863 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21864 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21865 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21866 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21867 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21868 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21869 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21870 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21871 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21872 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21873 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21874 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21875 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21876 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21877 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21878 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21879 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21880 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21881 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21882 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21883 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21884 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21885 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21886 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21887 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21888 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21889 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21890 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21891 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21892 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21893 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21894 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21895 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21896 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21897 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21898 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21899 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21900 * include/gnu_java_awt_peer_qt_QMatrix.h,
21901 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21902 * include/gnu_java_awt_peer_qt_QPen.h,
21903 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21904 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21905 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21906 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21907 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21908 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21909 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21910 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21911 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21912 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21913 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21914 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21915 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21916 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21917 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21918 * include/gnu_java_awt_peer_qt_QtImage.h,
21919 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21920 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21921 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21922 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21923 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21924 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21925 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21926 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21927 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21928 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21929 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21930 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21931 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21932 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21933 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21934 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21935 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21936 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21937 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21938 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21939 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21940 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21941 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21942 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21943 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21944 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21945 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21946 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21947 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21948 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21949 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21950 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21951 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21952 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21953 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21954 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21955 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21956 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21957 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21958 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21959 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21960 * include/java_lang_VMProcess.h,
21961 * include/java_lang_VMSystem.h:
21962 Regenerated with GCJ 4.1.
21964 2006-04-22 Casey Marshall <csm@gnu.org>
21966 Fixes PR classpath/27228.
21967 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21968 (initialize): also accept `DHParameterSpec.'
21969 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21970 handle a passed-in `DHParameterSpec' properly.
21971 (generate): don't check if the random exponent is less than `q -
21972 1' if no `q' was specified.
21974 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21976 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21977 Only repaint the patches, speficied in the passed event.
21978 (expandPath): Do nothing if the path is already expanded.
21979 (scrollPathToVisible): Only scroll to visible, do nothing else.
21980 * javax/swing/plaf/basic/BasicTreeUI.java
21981 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21982 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21983 (TreeTraverseAction.actionPerformed): Collapse the node on the
21984 action "selectParent". (selectPath): Rewritten.
21985 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21986 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21987 Do not reuse selection array.
21988 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21990 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21993 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21995 * javax/swing/tree/DefaultTreeSelectionModel.java
21996 (addSelectionPath): If the path cannot be added, set it.
21997 (addSelectionPaths): Call insureRowContinuity.
21998 (arePathsContiguous): Implemented.
21999 (canPathBeAdded): New private method.
22000 (canPathsBeAdded): Implemented.
22001 (canPathsBeRemoved): Implemented.
22002 (getPath): New private method.
22003 (insureRowContinuity): Implemented.
22004 (removeSelectionPath): Call insureRowContinuity.
22005 (removeSelectionPaths): Call insureRowContinuity.
22006 (resetRowSelection): Removed stub marking, not used in implementation
22007 (nothing to do there).
22008 (selectOne): New private method.
22009 (setSelectionMode) Call insureRowContinuity.
22010 (setSelectionPaths) Remove the current selection by clearing it.
22012 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
22014 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22015 parameters consistendly, documented some methods.
22016 * java/sql/Blob.java: Likewise.
22017 * java/sql/CallableStatement.java: Likewise.
22018 * java/sql/Clob.java: Likewise.
22019 * java/sql/Connection.java: Likewise.
22020 * java/sql/DatabaseMetaData.java: Likewise.
22021 * java/sql/Date.java: Likewise.
22022 * java/sql/Driver.java: Likewise.
22023 * java/sql/PreparedStatement.java: Likewise.
22024 * java/sql/ResultSet.java: Likewise.
22025 * java/sql/ResultSetMetaData.java: Likewise.
22026 * java/sql/SQLData.java: Likewise.
22027 * java/sql/SQLOutput.java: Likewise.
22028 * java/sql/SQLWarning.java: Likewise.
22029 * java/sql/Statement.java: Likewise.
22030 * java/sql/Time.java: Likewise.
22031 * java/sql/Timestamp.java: Likewise.
22033 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22035 * java/lang/reflect/AccessibleObject.java:
22036 Implemented AnnotatedElement.
22037 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22038 isAnnotationPresent): New methods.
22040 2006-04-21 Tom Tromey <tromey@redhat.com>
22042 PR classpath/27163:
22043 * gnu/java/net/protocol/ftp/FTPConnection.java
22044 (changeWorkingDirectory): Do nothing if path is empty.
22046 2006-04-21 Tom Tromey <tromey@redhat.com>
22049 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22050 case where no '/' appears in 'location'.
22052 2006-04-21 Tom Tromey <tromey@redhat.com>
22054 * java/security/Security.java (<clinit>): Add all default providers.
22055 * resource/java/security/classpath.security: Added comment.
22057 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22059 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22060 * javax/swing/SpinnerNumberModel.java: Likewise.
22062 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22064 * javax/swing/SpinnerDateModel.java
22065 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22066 checking to call compareTo() on start and end.
22068 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22070 * javax/swing/border/AbstractBorder.java: API doc updates,
22071 * javax/swing/border/BevelBorder.java: Likewise,
22072 * javax/swing/border/CompoundBorder.java: Likewise,
22073 * javax/swing/border/EtchedBorder.java: Likewise,
22074 * javax/swing/border/LineBorder.java: Likewise,
22075 * javax/swing/border/MatteBorder.java: Likewise,
22076 * javax/swing/border/TitledBorder.java: Likewise.
22078 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22080 * gnu/javax/crypto/cipher/Anubis.java:
22081 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22083 * gnu/javax/crypto/cipher/Blowfish.java:
22084 (selfTest): Likewise,
22085 * gnu/javax/crypto/cipher/Cast5.java:
22086 (selfTest): Likewise,
22087 * gnu/javax/crypto/cipher/Khazad.java:
22088 (selfTest): Likewise,
22089 * gnu/javax/crypto/cipher/Rijndael.java:
22090 (selfTest): Likewise,
22091 * gnu/javax/crypto/cipher/Serpent.java:
22092 (selfTest): Likewise,
22093 * gnu/javax/crypto/cipher/Square.java:
22094 (selfTest): Likewise,
22095 * gnu/javax/crypto/cipher/Twofish.java:
22096 (selfTest): Likewise,
22097 * gnu/javax/crypto/mac/UMac32.java:
22098 (selfTest): Likewise,
22099 * gnu/javax/crypto/prng/CSPRNG.java:
22100 (getSystemInstance): Likewise.
22102 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22104 * gnu/java/security/hash/Haval.java:
22105 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22107 * gnu/java/security/hash/MD2.java:
22108 (selfTest): Likewise,
22109 * gnu/java/security/hash/MD4.java:
22110 (selfTest): Likewise,
22111 * gnu/java/security/hash/MD5.java:
22112 (selfTest): Likewise,
22113 * gnu/java/security/hash/RipeMD128.java:
22114 (selfTest): Likewise,
22115 * gnu/java/security/hash/RipeMD160.java:
22116 (selfTest): Likewise,
22117 * gnu/java/security/hash/Sha160.java:
22118 (selfTest): Likewise,
22119 * gnu/java/security/hash/Sha256.java:
22120 (selfTest): Likewise,
22121 * gnu/java/security/hash/Sha384.java:
22122 (selfTest): Likewise,
22123 * gnu/java/security/hash/Sha512.java:
22124 (selfTest): Likewise,
22125 * gnu/java/security/hash/Tiger.java:
22126 (selfTest): Likewise,
22127 * gnu/java/security/hash/Whirlpool.java:
22128 (selfTest): Likewise.
22130 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22132 * javax/swing/plaf/basic/BasicTreeUI.java
22133 (PropertyChangeHandler.propertyChange): Set the row mapper
22134 for the selection model.
22135 * javax/swing/tree/AbstractLayoutCache.java
22136 (NodeDimensions.getNodeDimensions): Explained.
22137 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22138 Implemented. (setRowHeight): Invalidate sizes.
22139 * javax/swing/tree/DefaultTreeSelectionModel.java
22140 (addSelectionPath, addSelectionPaths): Update lead row.
22141 (removeSelectionPath, removeSelectionPaths): Do nothing if
22142 selection is empty.
22143 (clone): Only clone list selection model if it is not null.
22144 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22145 setSelectionPath, setSelectionPaths, toString): Implemented.
22146 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22147 Pass the empty rectangle. (isFixedRowHeight): New method.
22148 * javax/swing/tree/VariableHeightLayoutCache.java
22149 (NodeRecord.getBounds): Pass the empty rectangle.
22151 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22153 * gnu/java/security/Properties.java
22154 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22156 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22158 * gnu/classpath/jdwp/util/Value.java
22159 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22160 creating new Boolean instances.
22162 2006-04-20 Mark Wielaard <mark@klomp.org>
22164 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22165 PrivilegedAction. Access awt.toolkit through SystemProperties.
22167 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22169 * javax/swing/ActionMap.java: Removed unused imports,
22170 * javax/swing/DefaultListSelectionModel.java
22171 (clearSelection): Removed unused label,
22172 * javax/swing/JScrollPane.java: Removed unused imports,
22173 * javax/swing/UIManager.java: Likewise,
22174 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22176 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22178 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22179 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22180 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22181 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22182 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22184 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22186 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22187 * java/sql/Blob.java: Likewise,
22188 * java/sql/CallableStatement.java: Likewise,
22189 * java/sql/Clob.java: Likewise,
22190 * java/sql/Connection.java: Likewise,
22191 * java/sql/DatabaseMetaData.java: Likewise,
22192 * java/sql/Date.java: Likewise,
22193 * java/sql/Driver.java: Likewise,
22194 * java/sql/PreparedStatement.java: Likewise,
22195 * java/sql/ResultSet.java: Likewise,
22196 * java/sql/ResultSetMetaData.java: Likewise,
22197 * java/sql/SQLData.java: Likewise,
22198 * java/sql/SQLOutput.java: Likewise,
22199 * java/sql/SQLWarning.java: Likewise,
22200 * java/sql/Statement.java: Likewise,
22201 * java/sql/Time.java: Likewise,
22202 * java/sql/Timestamp.java: Likewise.
22204 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22206 * java/sql/DriverManager.java
22207 (setLoginTimeout): Use incoming argument,
22208 (setLogStream): Likewise,
22209 (println): Fix API doc comment.
22211 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22213 * javax/swing/JMenuItem.java
22214 (paramString): Updated API docs,
22215 (getAccessibleContext): Added API docs,
22216 (AccessibleJMenuItem.stateChanged): Marked as stub,
22217 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22218 * javax/swing/JSlider.java
22219 (paramString): Fix for API docs,
22220 * javax/swing/JToolTip.java
22221 (getAccessibleContext): Fix for API docs.
22223 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22225 * javax/swing/JRadioButtonMenuItem.java
22226 (paramString): Reimplemented,
22227 (getAccessibleContext): API docs added,
22228 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22230 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22232 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22234 * javax/swing/plaf/basic/BasicTreeUI.java
22235 (finish): Invalidate path bounds.
22236 (getMaxHeight): Set the row height to the layout cache.
22237 (startEditing): Do not request to recalculated
22238 row height and preferred size.
22239 * javax/swing/tree/DefaultTreeCellEditor.java
22240 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22242 * javax/swing/tree/FixedHeightLayoutCache.java:
22245 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22247 * javax/swing/JDesktopPane.java
22248 (paramString): Reimplemented,
22249 plus API doc updates in AccessibleJDesktopPane.
22251 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22253 * javax/swing/ImageIcon.java:
22254 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22255 (AccessibleImageIcon.getLocale): Declared exception and always return
22257 (getAccessibleContext): Updated API docs,
22258 plus updated API docs all over AccessibleImageIcon.
22260 2006-04-20 Roman Kennke <kennke@aicas.com>
22263 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22264 (paintText): Fetch the ascent only once. Add the ascent to
22265 the text rect also when tabs are disabled.
22267 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22269 * java/util/Locale.java (defaultLocale): Set to en_US per
22270 default and use user.country but prioritize user.region if
22272 (getLocale(String language, String country)): Renamed region to
22274 (getLocale(String language, String region, String variant)):
22276 (getAvailableLocales): Likewise.
22278 2006-04-20 Roman Kennke <kennke@aicas.com>
22281 * javax/swing/JList.java
22282 (JList()): Call init() with DefaultListModel instance.
22283 (JList(Object[])): Call init() with null.
22284 (JList(Vector)): Call init() with null.
22285 (JList(ListModel)): Call init() with model.
22286 (init): Changed to take the model as argument. Don't call
22287 setter methods and initialize stuff directly instead.
22288 (getCellBounds): Check if UI is null.
22290 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22292 * javax/swing/text/WrappedPlainView.java: Initialize
22293 WrappedLine.numLines with -1.
22294 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22295 numLines is -1 and reculcalate the value appropriately.
22296 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22297 allocation area is empty.
22299 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22301 * javax/swing/JTabbedPane.java
22302 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22303 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22304 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22305 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22306 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22307 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22308 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22309 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22310 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22311 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22312 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22313 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22314 (Page.getAccessibleStateSet): Likewise,
22315 (Page.getAccessibleIndexInParent): Likewise.
22317 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22319 * javax/swing/JProgressBar.java
22320 (paramString): Reimplemented.
22322 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22324 * javax/swing/JButton.java: Updated API docs all over.
22326 2006-04-19 Roman Kennke <kennke@aicas.com>
22328 * java/awt/Toolkit.java
22329 (getDefaultToolkit): Use system classloader to load the
22332 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22334 * javax/swing/text/DefaultCaret.java:
22335 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22336 instead of DefaultCaret.setDot.
22338 2006-04-19 Roman Kennke <kennke@aicas.com>
22340 * native/jni/java-net/local.c
22341 (local_read): Handle EINTR correctly.
22342 (local_write): Likewise.
22344 2006-04-19 Riccardo Mottola <multix@gmail.com>
22346 PR classpath/27062, PR classpath/25650:
22347 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22349 2006-04-19 Tom Tromey <tromey@redhat.com>
22351 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22352 value of 'pureMinutes'. PR classpath/27189.
22354 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22356 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22357 boot packages list from the META-INF/INDEX.LIST file if it exists.
22359 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22361 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22362 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22363 (ITERATION_COUNT): Removed modifiers.
22364 (PASSWORD): Likewise.
22366 (PASSWORD_ENCODING): New property.
22367 (DEFAULT_PASSWORD_ENCODING): New constant.
22368 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22369 material (bytes) before a password (chars).
22371 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22373 * javax/swing/JMenu.java
22374 (getAccessibleChildrenCount): Marked as stub,
22375 (getAccessibleChild): Likewise,
22376 (getAccessibleSelection): Likewise,
22377 (getAccessibleSelection(int)): Likewise,
22378 (isAccessibleChildSelected): Likewise,
22379 (getAccessibleSelectionCount): Likewise,
22380 (addAccessibleSelection): Likewise,
22381 (removeAccessibleSelection): Likewise,
22382 (clearAccessibleSelection): Likewise,
22383 (selectAllAccessibleSelection): Likewise.
22385 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22387 * javax/swing/JSplitPane.java
22388 (getAccessibleContext): Added API docs,
22389 (paramString): Reimplemented,
22390 (setOrientation): Updated API docs,
22391 (setResizeWeight): Added argument checking and event notification.
22393 2006-04-18 Casey Marshall <csm@gnu.org>
22395 Fixes PR classpath/25673
22396 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22397 property is set. Update JavaDoc to reflect this.
22399 2006-04-18 Lillian Angel <langel@redhat.com>
22401 * gnu/xml/dom/DomDocument.java
22402 (setCheckingCharacters): New function used to set
22403 checkingCharacters flag.
22404 * gnu/xml/dom/html2/DomHTMLParser.java
22405 (parseDocument): Added call to set checkingCharacters flag
22408 2006-04-18 Lillian Angel <langel@redhat.com>
22410 * gnu/xml/dom/DomDocument.java
22411 (checkNCName): Reverted last patch. Added check for colon at
22412 last position back in.
22414 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22416 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22418 * examples/gnu/classpath/examples/swing/Demo.java:
22419 (mkMenuBar): Added NavigationFilter demo.
22421 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22423 * javax/swing/JSeparator.java: Updated API docs all over, plus
22424 (setOrientation): Fire PropertyChangeEvent,
22425 (paramString): Reimplemented.
22427 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22429 * javax/swing/plaf/basic/BasicTextUI.java:
22430 (getNextVisualPositionFrom): Implemented.
22432 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22434 * javax/swing/JPanel.java: Updated API docs all over, plus
22435 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22436 double-buffer flag.
22438 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22440 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22442 * examples/gnu/classpath/examples/swing/Demo.java:
22443 (mkMenuBar): Added DocumenFilter demo.
22445 2006-04-18 Tom Tromey <tromey@redhat.com>
22447 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22449 2006-04-18 Mark Wielaard <mark@klomp.org>
22451 Reported by John Sullivan (johns@fsf.org)
22452 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22454 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22456 * javax/swing/JInternalFrame.java
22457 (JDesktopIcon.getAccessibleContext): Added API docs,
22458 (getDefaultCloseOperation): Likewise,
22459 (paramString): Added 'title' attribute,
22460 (setDefaultCloseOperation): Added API docs.
22462 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22464 * javax/swing/JSlider.java
22465 (paramString): Reimplemented.
22467 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22469 * javax/swing/JComboBox.java
22470 (paramString): Reimplemented,
22471 (getAccessibleContext): Added API docs,
22472 (AccessibleJComboBox.getAccessibleRole): Likewise.
22474 2006-04-18 Roman Kennke <kennke@aicas.com>
22476 * javax/swing/RepaintManager.java
22477 (dirtyComponentsWork): New field.
22478 (ComponentComparator): Use dirtyComponentsWork instead of
22480 (RepaintManager): Initialize new field.
22481 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22482 and work on the copy.
22484 2006-04-18 Roman Kennke <kennke@aicas.com>
22486 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22487 (setBounds): Call reshape().
22488 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22489 (SwingContainerPeer): Changed argument to be a Component
22490 instead a Container.
22491 (getInsets): Call insets().
22492 (handleMouseEvent): Added null check to avoid NPE.
22493 (handleMouseMotionEvent): Added null check to avoid NPE.
22495 2006-04-18 Roman Kennke <kennke@aicas.com>
22498 * javax/swing/JComponent.java
22499 (paintChildrenWithOverlap): When one child is not opaque, propagate
22500 the dirty rectangles to the next child.
22501 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22502 This actually didn't work right and probably gained nothing.
22504 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22506 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22507 (moveToCellBeingEdited): Do not clone the rectangle here.
22509 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22511 * javax/swing/plaf/basic/BasicSliderUI.java
22512 (getActionMap): Fixed lookup key,
22513 (createActionMap): Modified actions to fetch slider/ui from the event
22516 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22518 * java/lang/Enum.java: Documented.
22520 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22522 * gnu/java/lang/InstrumentationImpl.java:
22523 Moved from java.lang.
22524 * java/lang/InstrumentationImpl.java:
22526 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22527 Moved from java.lang.
22528 * vm/reference/java/lang/VMClassLoader.java:
22529 Corrected reference to InstrumentationImpl.
22530 * vm/reference/java/lang/VMInstrumentationImpl.java:
22533 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22535 * java/lang/annotation/Annotation.java:
22538 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22540 * javax/swing/JToolBar.java
22541 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22542 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22543 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22544 (getAccessibleContext): Likewise.
22546 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22549 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22551 * native/fdlibm/Makefile.am,
22552 native/jni/classpath/Makefile.am:
22553 Don't use -module and -version-info for convenience libraries LDFLAGS.
22554 Fixes libtool warnings.
22556 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22558 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22559 (installKeyboardActions): Marked as stub,
22560 (uninstallKeyboardActions): Likewise,
22561 * javax/swing/plaf/basic/BasicComboPopup.java:
22562 (installKeyboardActions): Marked as stub,
22563 (uninstallKeyboardActions): Likewise,
22564 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22565 (installKeyboardActions): Marked as stub,
22566 (uninstallKeyboardActions): Likewise,
22567 * javax/swing/plaf/basic/BasicLabelUI.java:
22568 (installKeyboardActions): Marked as stub,
22569 (uninstallKeyboardActions): Likewise,
22570 * javax/swing/plaf/basic/BasicListUI.java:
22571 (installKeyboardActions): Marked as stub,
22572 (uninstallKeyboardActions): Likewise,
22573 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22574 (installKeyboardActions): Marked as stub,
22575 (uninstallKeyboardActions): Likewise,
22576 * javax/swing/plaf/basic/BasicMenuUI.java:
22577 (installKeyboardActions): Marked as stub,
22578 (uninstallKeyboardActions): Likewise,
22579 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22580 (installKeyboardActions): Marked as stub,
22581 (uninstallKeyboardActions): Likewise,
22582 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22583 (installKeyboardActions): Marked as stub,
22584 (uninstallKeyboardActions): Likewise,
22585 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22586 (installKeyboardActions): Marked as stub,
22587 (uninstallKeyboardActions): Likewise,
22588 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22589 (installKeyboardActions): Marked as stub,
22590 (uninstallKeyboardActions): Likewise,
22591 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22592 (installKeyboardActions): Marked as stub,
22593 (uninstallKeyboardActions): Likewise,
22594 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22595 (installKeyboardActions): Marked as stub,
22596 (uninstallKeyboardActions): Likewise,
22597 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22598 (installKeyboardActions): Marked as stub,
22599 (uninstallKeyboardActions): Likewise,
22600 * javax/swing/plaf/basic/BasicTableUI.java:
22601 (installKeyboardActions): Marked as stub,
22602 (uninstallKeyboardActions): Likewise,
22603 * javax/swing/plaf/basic/BasicTextUI.java:
22604 (installKeyboardActions): Marked as stub,
22605 (uninstallKeyboardActions): Likewise,
22606 * javax/swing/plaf/basic/BasicToolBarUI.java:
22607 (installKeyboardActions): Marked as stub,
22608 (uninstallKeyboardActions): Likewise.
22610 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22612 * javax/swing/plaf/basic/BasicSliderUI.java
22613 (installKeyboardActions): Implemented,
22614 (uninstallKeyboardActions): Implemented,
22615 (scrollByBlock): Accept any value for direction,
22616 (scrollByUnit): Likewise,
22617 (getInputMap): New method,
22618 (getActionMap): New method,
22619 (createActionMap): New method.
22622 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22624 * doc/vmintegration.texinfo:
22627 2006-04-16 Tom Tromey <tromey@redhat.com>
22629 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22631 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22634 Mention generics additions to the VM interface.
22635 * doc/vmintegration.texinfo:
22636 Added information on VMClass 1.5 additions and
22639 2006-04-16 Casey Marshall <csm@gnu.org>
22641 * NEWS: add an entry mentioning local socket support.
22643 2006-04-16 Casey Marshall <csm@gnu.org>
22645 * configure.ac (--enable-local-sockets): new enable argument.
22646 (ENABLE_LOCAL_SOCKETS): new define.
22647 * native/jni/java-net/Makefile.am (local_sources): new variable.
22648 (lib_javanet_la_SOURCES): append `local_sources.'
22649 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22650 * native/jni/java-net/local.c,
22651 * native/jni/java-net/local.h,
22652 * include/gnu_java_net_local_LocalSocketImpl.h,
22653 * gnu/java/net/local/LocalServerSocket.java,
22654 * gnu/java/net/local/LocalSocket.java,
22655 * gnu/java/net/local/LocalSocketAddress.java,
22656 * gnu/java/net/local/LocalSocketImpl.java: new files.
22658 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22660 * javax/accessibility/AccessibleAction.java:
22661 (DECREMENT): Added field.
22662 (INCREMENT): Likewise.
22663 (TOGGLE_EXPAND): Likewise.
22664 * javax/accessibility/AccessibleRole.java:
22665 (EDITBAR): Added field.
22666 (FOOTER): Likewise.
22667 (HEADER): Likewise.
22668 (PARAGRAPH): Likewise.
22669 (PROGRESS_MONITOR): Likewise.
22671 * javax/accessibility/AccessibleState.java:
22672 (INDETERMINATE): Added field.
22673 (MANAGES_DESCENDANTS): Likewise.
22674 (TRUNCATED): Likewise.
22676 2006-04-14 Tom Tromey <tromey@redhat.com>
22678 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22680 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22683 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22685 * javax/swing/text/DefaultCaret.java:
22686 (getBypass): New method.
22687 (moveDot): Rewritten.
22688 (moveDotImpl): New method.
22689 (setDot): Rewritten.
22690 (setDotImpl): New method.
22691 (DefaultCaret.Bypass): New class.
22693 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22695 * javax/swing/text/AbstractDocument.java:
22696 (getBypass): New method.
22697 (insertString): Rewritten.
22698 (remove): Rewritten.
22699 (replace): Rewritten.
22700 (insertStringImpl): New method.
22701 (removeImpl): New method.
22702 (replaceImpl): New method.
22703 (AbstractDocument.Bypass): New class.
22705 2006-04-14 Casey Marshall <csm@gnu.org>
22707 Fixes PR classpath/24642
22708 * NEWS: add note about SecureRandom changes, and addition of
22710 * java/security/SecureRandom.java (isSeeded): new field.
22711 (setSeed, setSeed): set `isSeeded' to `true.'
22712 (nextBytes): seed this instance if `isSeeded' is false.
22713 (getSeed): call `generateSeed.'
22714 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22715 (generateSeed, generateSeed): new methods.
22716 * vm/reference/java/security/VMSecureRandom.java: new file.
22718 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22720 * javax/swing/text/FieldView.java:
22721 (paint): Apply clipping rectangle of the allocation area
22722 before painting the text.
22723 * javax/swing/text/DefaultHighlighter.java:
22724 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22725 compute union and intersection, calculate intersection with allocation
22726 area before painting, adjust x and width when painting multiple lines
22727 by the range of the allocation area.
22729 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22731 * javax/swing/text/DefaultHighlighter.java:
22732 (paintLayeredHighlights): Marked as stub.
22734 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22736 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22737 (propertyChanged): Added note, change color only if current background
22738 is a ColorUIResource instance.
22740 2006-04-14 Tom Tromey <tromey@redhat.com>
22742 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22746 2006-04-14 Tom Tromey <tromey@redhat.com>
22748 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22750 2006-04-14 Mark Wielaard <mark@klomp.org>
22752 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22753 thread group when exceptionHandler isn't set.
22754 * vm/reference/java/lang/VMThread.java (run): Use result of
22755 thread.getUncaughtExceptionHandler directly.
22757 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22759 * javax/swing/JSplitPane.java
22760 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22761 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22762 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22763 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22764 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22765 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22766 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22768 2006-04-10 Tom Tromey <tromey@redhat.com>
22770 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22771 Fixed parameter bounds.
22773 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22775 * gnu/javax/crypto/assembly/Assembly.java,
22776 * gnu/javax/crypto/assembly/Cascade.java,
22777 * gnu/javax/crypto/assembly/CascadeStage.java,
22778 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22779 * gnu/javax/crypto/assembly/Direction.java,
22780 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22781 * gnu/javax/crypto/assembly/ModeStage.java,
22782 * gnu/javax/crypto/assembly/Operation.java,
22783 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22784 * gnu/javax/crypto/assembly/Stage.java,
22785 * gnu/javax/crypto/assembly/Transformer.java,
22786 * gnu/javax/crypto/cipher/Square.java,
22787 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22788 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22789 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22790 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22791 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22792 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22793 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22794 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22795 * gnu/javax/crypto/jce/cipher/PBES2.java,
22796 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22797 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22798 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22799 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22800 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22801 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22802 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22803 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22804 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22805 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22806 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22807 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22808 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22809 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22810 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22811 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22812 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22813 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22814 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22815 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22816 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22817 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22818 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22819 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22820 * gnu/javax/crypto/pad/WrongPaddingException.java,
22821 * gnu/javax/crypto/prng/ICMGenerator.java,
22822 * gnu/javax/crypto/prng/IPBE.java,
22823 * gnu/javax/crypto/prng/PBKDF2.java,
22824 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22825 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22826 * gnu/javax/crypto/sasl/srp/IALG.java,
22827 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22828 Remove CVS revision tags.
22830 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22832 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22833 Removed debugging code.
22835 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22837 * javax/swing/JTree.java (getPreferredSize): Return the
22839 * javax/swing/ViewportLayout.java (layoutContainer):
22840 Do not manage the view size and location if the view is
22841 in the scroll pane. Also manage size and location for
22842 Scrollable, if it is not in the scroll pane.
22843 * javax/swing/plaf/basic/BasicTreeUI.java,
22844 * javax/swing/tree/FixedHeightLayoutCache.java,
22845 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22846 * gnu/javax/swing/tree/GnuPath.java: New file.
22848 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22850 * javax/swing/JToolBar.java
22851 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22853 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22855 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22856 (createCustomColoredPanel): Set background color as demo intends,
22857 changed custom selection color to red.
22858 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22859 Replaced various single variables with a Compound instance, added
22860 custom highlighter demo.
22861 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22863 (TextFieldDemo.Compound): New class.
22864 (createTextFieldCompound): New method.
22865 (createLeftAlignedPanel): Rewritten.
22866 (createRightAlignedPanel): Rewritten.
22867 (createCenteredPanel): Rewritten.
22868 (createCustomColoredPanel): Removed.
22869 (createCustomColoredPanel1): New method.
22870 (createCustomColoredPanel2): New method.
22871 (createCustomBordersPanel): New method.
22872 (createMiscPanel): Rewritten.
22873 (actionPerformed): Rewritten.
22874 (createContent): Add panels of new compounds to main panel, put
22875 main panel in a JScrollPane.
22876 * examples/gnu/classpath/examples/swing/Demo.java:
22877 (Demo): Put desktop in a scrollpane.
22878 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22879 method via reflection.
22881 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22883 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22884 (createUI): Return new instance rather than shared instance.
22886 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22888 * javax/swing/text/FieldView.java:
22889 (checkContainer): Call updateVisibility() at the end.
22891 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22893 * java/awt/event/MouseEvent.java:
22894 (paramString): Add value of 'consumed' variable in string.
22896 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22899 * javax/swing/JTextField.java: Removed scrollOffset variable.
22900 (JTextField): Moved up initialization of horizontalVisibility field.
22901 (getScrollOffset): Implemented.
22902 (setScrollOffset): Implemented.
22903 (getHorizonztalVisibility): Removed note.
22904 (scrollRectToVisible): New method.
22905 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22906 (checkContainer): New method.
22907 (updateVisibility): New method.
22908 (calculateHorizontalSpan): New method.
22909 (adjustAllocation): Removed unneeded local variables, added code
22910 to handle scrolling.
22911 (getPreferredSpan): Use new method calculateHorizontalSpan,
22912 avoid calculation by returning cached value cachedSpan.
22913 (paint): Added check whether the hosted component is a JTextField.
22914 (insertUpdate): Invalidate cached span value, update visibility
22916 (removeUpdate): Dito.
22917 (changeUpdate): Dito.
22919 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22921 * javax/swing/JInternalFrame.java
22922 (setTitle): Set old value to 'this.title', not 'title'.
22924 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22926 * javax/swing/JInternalFrame.java
22927 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22928 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22929 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22930 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22931 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22932 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22933 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22934 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22935 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22936 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22938 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22940 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22942 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22944 (JInternalFrame()): Use "" for default title,
22945 (getAccessibleContext): Updated API docs,
22946 (getDesktopIcon): Likewise,
22947 (getLayer): Check for layer in client properties, and return
22948 DEFAULT_LAYER if no setting is found,
22949 (getTitle): Updated API docs,
22950 (setDesktopIcon): Fire property change event.
22952 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22954 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22955 Mind that the presence of one scroll bar may cause the
22958 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22960 * gnu/regexp/REToken.java(unicodeAware): New field,
22961 (toLowerCase, toUpperCase): New methods.
22962 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22963 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22964 Use toLowerCase and toUpperCase defined in REToken instead of
22965 those defined in java.lang.Character.
22966 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22967 (initialize): Sets unicodeAware of the generated REToken to false if
22968 REG_ICASE_USASCII is set.
22969 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22970 to lower case and keep the original value.
22971 (matchOneString): Use the new method charEquals to compare characters.
22972 (charEquals): New method to compare characters.
22973 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22975 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22977 * javax/swing/event/InternalFrameEvent.java:
22978 (paramString): Implemented,
22979 updated API docs all over.
22981 2006-04-12 Casey Marshall <csm@gnu.org>
22983 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22984 (Generator.setup): call `fillBlock.'
22986 2006-04-12 Casey Marshall <csm@gnu.org>
22988 Fixes PR classpath/24481.
22989 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22990 initialize the adaptee.
22991 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22992 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22993 addRandomBytes): new methods.
22995 2006-04-12 Tom Tromey <tromey@redhat.com>
22997 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23000 2006-04-12 Lillian Angel <langel@redhat.com>
23002 * gnu/xml/dom/DomDocument.java
23003 (checkNCName): Removed unneeded part of check.
23004 * gnu/xml/dom/DomNode.java
23005 (dispatchEvent): Added code to grow ancestors array
23006 if needed. Changed checks to use depth of node instead.
23007 Fixes an infinite loop and segmentation fault.
23008 * gnu/xml/dom/html2/DomHTMLParser.java
23009 (handleEndTag): No need to use/make a copy of the node.
23010 Causes an infinite loop.
23012 2006-04-12 Tom Tromey <tromey@redhat.com>
23014 PR classpath/27131:
23015 * java/util/BitSet.java (get): Early return if to==from.
23017 2006-04-12 Mark Wielaard <mark@klomp.org>
23019 * java/security/SecureRandom.java (algorithm): New private field.
23020 (SecureRandom): Initialize algorithm.
23021 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23023 (getInstance): Call 3 argument constructor.
23024 (getAlgorithm): New method.
23026 2006-04-12 Mark Wielaard <mark@klomp.org>
23028 Port UncaughtExceptionHandler support from generics branch.
23029 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23031 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23033 * java/lang/Thread.java:
23034 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23035 Added docs and security check.
23036 (getUncaughtExceptionHandler()): Documented.
23037 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23038 Added docs and security check.
23039 (getDefaultUncaughtExceptionHandler()): Documented.
23040 (getId()): Documented.
23042 2006-04-12 Tom Tromey <tromey@redhat.com>
23044 * vm/reference/java/lang/VMThread.java (run): Use thread's
23046 * java/lang/Thread.java (defaultHandler): New field.
23047 (setDefaultUncaughtExceptionHandler,
23048 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23049 getUncaughtExceptionHandler): New methods.
23050 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23051 UncaughtExceptionHandler.
23052 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23054 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23056 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23057 buffer. Loop only once to determine Utf8 length when possible. Make
23058 the inner loop bounded by buf.length.
23059 (getUTFlength): New private method.
23060 (buf): New private field.
23062 2006-04-11 Lillian Angel <langel@redhat.com>
23064 * gnu/xml/dom/DomNodeIterator.java
23065 (nextNode): Moved line of code to avoid an infinite loop.
23066 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23067 (getCls): New function.
23068 (setCls): Likewise.
23069 (getSrc): Likewise.
23070 (setSrc): Likewise.
23071 * gnu/xml/dom/html2/DomHTMLDocument.java:
23072 Added DomHTMLEmbedElement to map.
23073 (getApplets): Added node name, 'embed'.
23074 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23076 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23077 (getJavaCode): New function.
23078 (setJavaCode): Likewise.
23079 (getObject): Likewise.
23080 (setObject): Likewise.
23081 (getJavaObject): Likewise.
23082 (setJavaObject): Likewise.
23083 (getJavaArchive): Likewise.
23084 (setJavaArchive): Likewise.
23085 (getJavaCodeBase): Likewise.
23086 (setJavaCodeBase): Likewise.
23087 (getJavaType): Likewise.
23088 (setJavaType): Likewise.
23089 (setMayscript): Likewise.
23090 (getMayscript): Likewise.
23091 (setScriptable): Likewise.
23092 (getScriptable): Likewise.
23093 * gnu/xml/dom/html2/DomHTMLParser.java
23094 (parseDocument): Should not check for well formedness
23095 when parsing an html document.
23096 * java/awt/Window.java
23097 (dispatchEvent): Added check to avoid NPE.
23099 2006-04-10 Tom Tromey <tromey@redhat.com>
23101 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23103 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23104 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23106 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23108 * javax/swing/plaf/basic/BasicTextUI.java:
23109 (getNextVisualPositionFrom): Marked as stub.
23111 2006-04-10 Roman Kennke <kennke@aicas.com>
23113 * javax/swing/plaf/basic/BasicLookAndFeel.java
23114 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23115 and create the defaults as strings constants.
23116 (loadSystemColors): Implemented stubbed method.
23118 2006-04-10 Tom Tromey <tromey@redhat.com>
23120 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23123 2006-04-10 Tom Tromey <tromey@redhat.com>
23125 * java/io/CharArrayWriter.java (append): Javadoc fix.
23126 (append): Likewise.
23128 2006-04-10 Tom Tromey <tromey@redhat.com>
23130 * javax/accessibility/AccessibleTextSequence.java: New file.
23131 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23133 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23134 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23135 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23136 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23137 * javax/accessibility/AccessibleExtendedText.java: New file.
23138 * javax/accessibility/AccessibleContext.java
23139 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23140 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23141 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23142 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23143 * javax/accessibility/AccessibleStreamable.java: New file.
23144 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23147 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23149 * javax/swing/tree/AbstractLayoutCache.java
23150 (getNodeDimensions, getRowsForPath): Implemented.
23151 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23152 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23154 2006-04-10 Roman Kennke <kennke@aicas.com>
23156 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23158 2006-04-10 Roman Kennke <kennke@aicas.com>
23160 * javax/swing/JInternalFrame.java
23161 (AccessibleJInternalFrame): Marked all stubbed methods as such
23162 by adding throws NotImplementedException.
23164 2006-04-10 Roman Kennke <kennke@aicas.com>
23166 * javax/swing/JFileChooser.java
23167 (getAccessibleContext): Don't create a new instance on each
23168 call, instead store the accessible context in the
23169 accessibleContext field.
23171 2006-04-10 Roman Kennke <kennke@aicas.com>
23173 * javax/swing/JComboBox.java
23174 (AccessibleJComboBox): Marked all stubbed methods as such
23175 by adding throws NotImplementedException.
23177 2006-04-10 Roman Kennke <kennke@aicas.com>
23179 * javax/swing/ActionMap.java
23180 (readObject): Removed.
23181 (writeObject): Removed.
23183 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23185 * javax/swing/tree/DefaultTreeSelectionModel.java
23186 (addSelectionPaths, setSelectionPaths): Call
23187 insureUniqueness. (clone, setRowMapper): Implemented.
23188 * TreePath (path): Marked final.
23190 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23192 * javax/swing/tree/DefaultTreeSelectionModel.java:
23193 Documented and autoformatted. (insureUniqueness):
23194 Removed stub marking.
23196 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23198 * javax/swing/SizeSequence.java
23199 (sizes): Don't initialise here,
23200 (SizeSequence(int, int)): Initialise sizes field,
23201 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23202 (setSize): Do nothing when index is out of bounds,
23203 (getIndex): Implemented,
23204 (setSizes): Reimplemented,
23205 (getSizes): Likewise,
23206 (insertEntries): Likewise,
23207 (removeEntries): Likewise,
23208 plus added API docs all over.
23210 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23212 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23213 one way message and retry after any IOException.
23215 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23217 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23218 Set the byte order.
23220 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23222 * org/omg/PortableServer/ServantLocatorPOA.java:
23223 (preinvoke, postinvoke): Remove default implementation.
23224 * org/omg/PortableServer/ServantActivatorPOA.java:
23225 (incarnate, etherealize): Remove default implementation.
23226 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23227 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23228 (make_object): Moved method from ObjectReferenceFactoryOperations.
23229 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23230 Removed unspecified interface.
23231 * org/omg/DynamicAny/_DynAnyStub.java:
23232 (_DynAnyStub(Delegate)): Removed constructor.
23233 * org/omg/DynamicAny/_DynArrayStub.java,
23234 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23235 * org/omg/DynamicAny/_DynEnumStub.java,
23236 * org/omg/DynamicAny/_DynFixedStub.java,
23237 * org/omg/DynamicAny/_DynSequenceStub.java,
23238 * org/omg/DynamicAny/_DynStructStub.java,
23239 * org/omg/DynamicAny/_DynUnionStub.java,
23240 * org/omg/DynamicAny/_DynValueStub.java:
23241 Extend from ObjectImpl and not from _DynAnyStub.
23242 (type, next, destroy, copy, rewind, assign, component_count,
23243 current_component, equal, from_any, get_any, get_boolean, get_char,
23244 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23245 get_reference, get_short, get_string, get_typecode, get_ulong,
23246 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23247 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23248 insert_long, insert_longlong, insert_octet, insert_reference,
23249 insert_short, insert_string, insert_typecode, insert_ulong,
23250 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23251 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23252 * org/omg/CosNaming/_BindingIteratorStub.java:
23253 (_BindingIteratorStub(Delegate)): Made package private.
23254 * org/omg/CosNaming/_NamingContextExtStub.java:
23255 (_NamingContextExtStub(Delegate)): Made package private.
23256 * org/omg/CosNaming/_NamingContextStub.java:
23257 (_NamingContextStub(Delegate)): Made package private.
23258 (throw4, throw5): Likewise.
23259 * gnu/CORBA/NamingService/NameParser.java (resolve):
23260 Adapt to package private constructor. Use _set_delegate instead.
23261 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23262 * org/omg/CORBA/ORB.java:
23263 (create_recursive_sequence_tc): Made abstract.
23264 (get_default_context): Likewise.
23265 * gnu/CORBA/OrbRestricted.java:
23266 (create_recursive_sequence_tc): New moved method.
23267 (get_default_context): Likewise.
23268 * org/omg/CORBA/ParameterMode.java:
23269 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23271 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23273 * gnu/CORBA/GIOP/MessageHeader.java (write):
23274 More informative exception.
23275 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23276 * gnu/CORBA/SocketRepository.java (get_socket):
23277 Removed debugging code.
23279 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23281 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23282 one way message, but ignore if EOF was received.
23283 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23284 Minor.EOF if the end of file is received instead of the header.
23286 2006-04-09 Roman Kennke <kennke@aicas.com>
23288 * javax/swing/plaf/metal/MetalRootPaneUI.java
23289 (MetalTitlePane.IconifyAction): New inner class.
23290 (MetalTitlePane.MaximizeAction): New inner class.
23291 (MetalTitlePane.createActions): Create iconifyAction and
23293 (MetalRootLayout.titlePane): New field.
23294 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23296 (MetalRootLayout.preferredLayoutSize): Changed to not make
23297 assumptions about the actual component order.
23298 (MetalRootLayout.layoutContainer): Changed to not make
23299 assumptions about the actual component order.
23300 (installWindowDecorations): Pass the titlePane as parameter to
23301 the MetalRootLayout constructor.
23302 (uninstallWindowDecorations): Changed to not make
23303 assumptions about the actual component order.
23305 2006-04-08 Roman Kennke <kennke@aicas.com>
23307 * javax/swing/plaf/metal/MetalRootPaneUI.java
23308 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23310 (MetalTitlePane.installListeners): Don't register a focus listener
23311 on the window. This is a potential memory leak and must be
23312 implemented on a different way. Install mouse listener here.
23313 (installWindowDecorations): Fixed assertion condition. Always
23314 insert the window decoration at index#1 in the layered
23317 2006-04-08 Roman Kennke <kennke@aicas.com>
23319 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23320 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23321 Only resize window if actual width or height value changes.
23322 Avoids nasty flicker when only setLocation() is beeing called
23325 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23327 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23328 exception if the magic sequence does not match.
23330 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23332 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23333 response for the one way messages.
23335 2006-04-08 Roman Kennke <kennke@aicas.com>
23337 * javax/swing/MenuSelectionManager.java
23338 (processKeyEvent): Implemented stub method.
23339 * javax/swing/JMenu.java
23340 (processKeyEvent): Implemented stub method.
23341 * javax/swing/JMenu.java
23342 (processKeyEvent): Implemented stub method.
23343 (processMenuKeyEvent): Implemented stub method.
23345 2006-04-08 Roman Kennke <kennke@aicas.com>
23347 * javax/swing/AbstractAction.java
23348 (readObject): Removed unneeded method.
23349 (writeObject): Removed unneeded method.
23351 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23353 * javax/swing/plaf/synth/SynthPainter.java:
23354 (paintSplitPaneDividerBorder): Removed.
23356 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23358 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23359 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23360 No longer constants.
23361 (static_initializer): Added to initialize above fields.
23362 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23363 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23364 (static_initializer): Added to initialize above fields.
23366 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23368 * java/awt/Dialog.java: Improved documentation all over.
23369 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23370 (Dialog(Dialog)): Likewise.
23372 2006-04-08 Mark Wielaard <mark@klomp.org>
23374 * java/util/jar/JarFile.java (provider): New static field.
23375 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23378 2006-04-08 Mark Wielaard <mark@klomp.org>
23381 * java/lang/StackTraceElement.java (toString): Don't add space
23382 between type and source indicator.
23384 2006-04-07 Casey Marshall <csm@gnu.org>
23386 Fixes PR classpath/24464
23387 * java/util/jar/JarFile.java (verify, verifyHashes,
23388 EntryInputStream.<init>): pass the Gnu provider directly to
23391 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23394 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23395 (DIGEST0): Use version 3 test vector.
23397 (S_box): New field: Version 3 S-box values.
23398 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23399 (transform): Formating.
23400 (padBuffer): Likewise.
23401 (getResult): Likewise.
23402 (selfTest): Likewise.
23404 2006-04-07 Tom Tromey <tromey@redhat.com>
23406 * java/util/InvalidPropertiesFormatException.java
23407 (serialVersionUID): New field.
23408 (readObject, writeObject): New methods.
23409 * java/util/Arrays.java (toString): Javadoc fixes.
23410 * java/net/URLConnection.java: Cleaned up imports.
23411 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23412 * java/lang/reflect/MalformedParameterizedTypeException.java
23413 (serialVersionUID): New field.
23414 * java/lang/reflect/GenericSignatureFormatError.java
23415 (serialVersionUID): New field.
23416 * java/lang/Class.java (Class): Javado fixes.
23417 (getComponentType): Likewise.
23418 (getGenericInterfaces): Likewise.
23419 (getTypeParameters): Likewise.
23420 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23421 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23423 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23425 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23428 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23430 * java/awt/Dialog.java
23431 (AccessibleAWTDialog): Added api docs
23432 (AccessibleAWTDialog.getAccessibleStateSet):
23433 Renamed from getAccessibleState.
23434 * java/awt/Frame.java
23435 (AccessibleAWTFrame): Added api docs
23436 (AccessibleAWTFrame.getAccessibleStateSet):
23437 Renamed from getAccessibleState.
23439 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23441 * java/awt/Dialog.java: Reformatted.
23443 2006-04-07 Lillian Angel <langel@redhat.com>
23445 * java/awt/Component.java
23446 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23447 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23449 2006-04-07 Tom Tromey <tromey@redhat.com>
23451 * java/beans/beancontext/BeanContextMembershipEvent.java
23452 (serialVersionUID): New field.
23453 * java/beans/beancontext/BeanContextServicesSupport.java
23454 (addBeanContextServicesListener): Synchronize.
23455 (addService): Implemented.
23456 (createBCSChild): Implemented.
23457 (BCSSChild): Added arguments.
23458 (fireServiceAdded): Implemented.
23459 (fireServiceRevoked): Implemented.
23460 (getCurrentServiceSelectors): Implemented.
23461 (hasService): Implemented.
23462 (removeBeanContextServicesListener): Implemented.
23463 (serviceAvailable): Implemented.
23464 (serviceRevoked): Implemented.
23465 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23467 (createBCSChild): Implemented.
23468 (BeanContextSupport):
23469 (addBeanContextMembershipListener): Synchronize.
23470 (fireChildrenAdded): Implemented.
23471 (fireChildrenRemoved): Implemented.
23472 (BeanContextSupport): Use default locale.
23473 (isEmpty): Implemented.
23474 (isDesignTime): Implemented.
23475 (size): Implemented.
23476 (toArray): Synchronized.
23477 (toArray): Likewise.
23478 (iterator): Likewise.
23479 (BCSIterator): Implemented.
23480 (bcsChildren): Implemented.
23481 (validatePendingAdd): Implemented.
23482 (validatePendingRemove): Likewise.
23483 (childJustAddedHook): Implemented.
23484 (childJustRemovedHook): Likewise.
23485 (classEquals): Likewise.
23486 (toArray): Mark as stub.
23487 (setDesignTime): Implemented.
23488 (copyChildren): Implemented.
23489 (containsKey): Implemented.
23490 (contains): Likewise.
23491 (containsAll): Likewise.
23492 (getResource): Implemented.
23493 (getResourceAsStream): Likewise.
23494 (removeBeanContextMembershipListener): Likewise.
23495 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23496 (serialVersionUID): New field.
23497 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23498 (serialVersionUID): New field.
23499 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23502 2006-04-06 Roman Kennke <kennke@aicas.com>
23505 * javax/swing/MenuSelectionManager.java
23506 (setSelectedPath): Search one more item in the loop.
23508 2006-04-06 Tom Tromey <tromey@redhat.com>
23510 * java/awt/image/renderable/RenderableImageProducer.java
23511 (image, context, consumers): New fields.
23512 (RenderableImageProducer): Implemented.
23513 (setRenderContext): Likewise.
23514 (addConsumer): Likewise.
23515 (isConsumer): Likewise.
23516 (removeConsumer): Likewise.
23517 (startProduction): Likewise.
23519 2006-04-06 Roman Kennke <kennke@aicas.com>
23521 * java/awt/Component.java
23522 (AccessibleAWTComponent.getBounds): Return the component
23523 bounds regardless of its showing state.
23524 (AccessibleAWTComponent.getLocation): Return the component
23525 location regardless of its showing state.
23526 (AccessibleAWTComponent.getSize): Return the component
23527 size regardless of its showing state.
23529 2006-04-06 Roman Kennke <kennke@aicas.com>
23531 * javax/swing/JRootPane.java
23532 (getAccessibleContext): New method. Provides an accessibleContext
23535 2006-04-06 Roman Kennke <kennke@aicas.com>
23537 * java/awt/Toolkit.java
23538 (initAccessibility): Use the 'gnu.classpath.home.url' property
23539 to determine the system confiuration directory.
23540 * java/awt/Component.java
23541 (dispatchEvent): Trigger Toolkit dispatching here.
23542 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23543 so it can't be overridden by subclasses and is performed in
23546 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23548 * javax/naming/Binding.java: Added API docs.
23549 * javax/naming/NameClassPair.java: Added API docs.
23550 (fullName): New field.
23551 (setNameInNamespace): New 1.5 method.
23552 (getNameInNamespace): Likewise.
23554 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23556 * javax/naming/CompositeName.java:
23557 (readObject): New deserialization method.
23558 (writeObject): New serialization method.
23560 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23562 * javax/security/auth/x500/X500Principal.java
23563 (readAttributeValue) Check for separator after quoted value was
23564 failing in all cases.
23566 2006-04-06 Mark Wielaard <mark@klomp.org>
23568 * java/lang/Class.java (getClassLoader): Don't do security check
23569 when loader is null.
23571 2006-04-06 Roman Kennke <kennke@aicas.com>
23573 * java/awt/Toolkit.java
23574 (getDefaultToolkit): Initialize accessibility after setting
23576 (initAccessibility): New helper method to setup accessibility.
23578 2006-04-06 Roman Kennke <kennke@aicas.com>
23580 * javax/swing/AbstractButton.java
23581 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23582 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23584 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23585 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23586 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23587 (AccessibleAbstractButton.getCharCount): Implemented stub.
23588 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23589 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23590 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23591 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23592 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23593 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23596 2006-04-06 Roman Kennke <kennke@aicas.com>
23598 * java/awt/Component.java
23599 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23600 state here. This is only done in JComponent.
23601 * javax/swing/JComponent.java
23602 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23604 (getNextFocusableComponent): Implemented stub method.
23605 (grabFocus): Implemented stub method.
23606 (unregisterKeyboardAction): Implemented stub method.
23607 (setNextFocusableComponent): Implemented stub method.
23608 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23609 This is a helper class for providing compatibility with the older
23612 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23615 * javax/naming/directory/BasicAttribute.java,
23616 * javax/naming/directory/BasicAttributes.java:
23617 (readObject): New deserialization method.
23618 (writeObject): New serialization method.
23620 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23622 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23623 (getErrorHandler): Made method abstract.
23624 (setErrorHanlder): Likewise.
23625 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23626 (getErrorHandler): Implement abstract method from superclass.
23627 (setErrorHandler): Likewise.
23628 (errorHandler): New field.
23629 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23630 (getErrorHandler): Implement abstract method from superclass.
23631 (setErrorHandler): Likewise.
23632 (errorHandler): New field.
23633 * javax/xml/XMLConstants.java: Corrected since tag.
23634 (XMLConstants): Added private constructor.
23635 * javax/xml/datatype/Duration.java: Corrected since tag.
23636 (multiply): Made method abstract.
23637 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23638 (DatatypeConstants): Added private constructor.
23639 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23640 (XPathConstants): Added private constructor.
23642 2006-04-05 Tom Tromey <tromey@redhat.com>
23644 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23646 2006-04-05 Tom Tromey <tromey@redhat.com>
23649 * lib/Makefile.am (compile-classes): Touch the output file.
23651 2006-04-05 Roman Kennke <kennke@aicas.com>
23653 * javax/swing/AbstractButton.java
23654 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23655 of the focused state. This is already done in AccessibleAWTComponent.
23657 2006-04-05 Roman Kennke <kennke@aicas.com>
23659 * javax/swing/JComponent.java
23660 (accessibleContext): Fixed API doc for this field.
23661 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23662 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23663 Implemented and added API docs.
23664 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23665 Implemented and added API docs.
23666 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23667 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23668 Implemented and added API docs.
23669 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23670 Implemented and added API docs.
23671 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23672 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23673 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23674 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23675 (AccessibleJComponent.getAccessibleStateSet): Simply return
23676 super here. Added comment about this.
23678 2006-04-05 Roman Kennke <kennke@aicas.com>
23680 * javax/swing/JComponent.java
23681 (AccessibleJComponent.addPropertyChangeListener): Install
23682 ContainerHandler and FocusHandler here.
23683 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23684 ContainerHandler and FocusHandler here.
23685 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23686 by super.getAccessibleChildrenCount().
23687 (AccessibleJComponent.getAccessibleChild): Replaced
23688 by super.getAccessibleChild().
23689 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23690 adding OPAQUE to the supported states.
23691 (AccessibleJComponent.getAccessibleName): Added titled border
23692 and label fallbacks.
23693 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23694 and label fallbacks.
23695 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23696 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23697 explaining why return null seems correct here.
23698 * javax/swing/JLabel.java
23699 (LABEL_PROPERTY): New constant.
23700 (setLabelFor): Store label in labeled component's client properties
23701 for the AccessibleJComponent to read.
23703 2006-04-05 Tom Tromey <tromey@redhat.com>
23705 * java/util/zip/ZipFile.java (available): Defer to super if
23706 entry's size is unknown.
23708 2006-04-05 Tom Tromey <tromey@redhat.com>
23710 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23711 property with mime.types name.
23712 * gnu/classpath/SystemProperties.java: Set
23713 gnu.classpath.mime.types.file if not already set.
23714 * java/net/URLConnection.java (defaultFactory): New field.
23715 (guessContentTypeFromStream): Mark as unimplemented.
23716 (getContentHandler): Updated with libgcj's implementation.
23717 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23720 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23724 * java/util/AbstractList.java (hasNext): Don't throw
23725 ConcurrentModificationException. Update Javadoc.
23726 (hasPrevious): Likewise.
23727 (nextIndex): Likewise.
23728 (previousIndex): Likewise.
23729 * java/util/HashMap.java (hasNext): Likewise.
23730 * java/util/Hashtable.java (hasNext): Likewise.
23731 * java/util/IdentityHashMap.java (hasNext): Likewise.
23732 * java/util/LinkedHashMap.java (hasNext): Likewise.
23733 * java/util/LinkedList.java (nextIndex): Likewise.
23734 (previousIndex): Likewise.
23735 (hasNext): Likewise.
23736 (hasPrevious): Likewise.
23737 * java/util/TreeMap.java (hasNext): Likewise.
23738 * java/util/WeakHashMap.java (hasNext): Likewise.
23740 2006-04-05 Roman Kennke <kennke@aicas.com>
23742 * javax/swing/AbstractButton.java
23743 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23744 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23745 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23746 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23747 (AccessibleAbstractButton.getAccessibleActionDescription):
23749 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23750 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23751 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23752 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23753 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23754 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23756 2006-04-05 Roman Kennke <kennke@aicas.com>
23758 * javax/swing/JComboBox.java
23759 (selectWithKeyChar): Implemented stubbed method.
23761 2006-04-05 Roman Kennke <kennke@aicas.com>
23763 * javax/swing/LookAndFeel.java
23764 (installProperty): New method. Allows primitive typed properties
23765 to be handled like UIResources.
23766 * javax/swing/AbstractButton.java
23767 (clientBorderPaintedSet): New field.
23768 (clientRolloverEnabledSet): New field.
23769 (clientIconTextGapSet): New field.
23770 (clientContentAreaFilledSet): New field.
23771 (setRolloverEnabled): Set the client field to true.
23772 (setBorderPainted): Likewise.
23773 (setIconTextGap): Likewise.
23774 (setContentAreaFilled): Likewise.
23775 (setUIProperty): New helper method.
23776 * javax/swing/JComponent.java
23777 (clientOpaqueSet): New field.
23778 (clientAutoscrollsSet): New field.
23779 (setAutoscrolls): Set the client field to true.
23780 (setOpaque): Likewise.
23781 (setUIProperty): New helper method.
23782 * javax/swing/JDesktopPane.java
23783 (clientDragModeSet): New field.
23784 (setDragMode): Set the client field to true.
23785 (setUIProperty): New helper method.
23786 * javax/swing/JSplitPane.java
23787 (clientDividerSizeSet): New field.
23788 (clientOneTouchExpandableSet): New field.
23789 (setDividerSize): Set the client field to true.
23790 (setOneTouchExpandable): Likewise.
23791 (setUIProperty): New helper method.
23792 * javax/swing/JTable.java
23793 (clientRowHeightSet): New field.
23794 (setRowHeight): Set the client field to true.
23795 (setUIProperty): New helper method.
23796 * javax/swing/JTree.java
23797 (clientRowHeightSet): New field.
23798 (clientScrollsOnExpandSet): New field.
23799 (clientShowsRootHandlesSet): New field.
23800 (setRowHeight): Set the client field to true.
23801 (setShowsRootHandles): Likewise.
23802 (setScrollsOnExpand): Likewise.
23803 (setUIProperty): New helper method.
23805 2006-04-05 Roman Kennke <kennke@aicas.com>
23807 * java/awt/Component.java
23808 (getFont): Don't request the font from the peer's graphics. The
23809 graphics should instead get the font from the Component, which might
23811 (getFocusCycleAncestor): Don't special case Window.
23812 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23813 to here. Correctly determine the focus cycle root.
23814 (transferFocusBackward): Likewise.
23815 (transferFocusUpCycle): Likewise.
23816 * java/awt/Container.java
23817 (transferFocusDownCycle): Moved implementation from
23818 DefaultKeyboardFocusManager to here.
23819 * java/awt/DefaultKeyboardFocusManager.java
23820 (focusPreviousComponent): Moved implementation to
23821 Component.transferFocusBackward().
23822 (focusNextComponent): Moved implementation to
23823 Component.nextFocus().
23824 (upFocusCycle): Moved implementation to
23825 Component.transferFocusUpCycle().
23826 (downFocusCycle): Moved implementation to
23827 Container.transferFocusDownCycle().
23829 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23831 * java/awt/image/ComponentSampleModel.java
23832 (equals): Implemented,
23833 (hashCode): Likewise.
23835 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23837 * java/lang/Class.java
23838 (cast): New method.
23840 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23842 * java/awt/image/ComponentSampleModel.java
23843 (getBankIndices): Return a copy of the array, not a reference to the
23845 (getBandOffsets): Likewise.
23847 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23849 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23851 2006-04-04 Tom Tromey <tromey@redhat.com>
23853 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23855 2006-04-04 Tom Tromey <tromey@redhat.com>
23857 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23858 (MimeTypeMapper): Initialize.
23859 (fillFromFile): New method.
23860 (main): New method.
23861 (mime_strings): Updated.
23863 2006-04-04 Tom Tromey <tromey@redhat.com>
23865 * lib/gen-classlist.sh.in: Correct handle generated files.
23867 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23869 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23870 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23871 * gnu/regexp/CharIndexedCharSequence.java: New file.
23872 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23873 gnu.regexp.CharIndexedCharSequence.
23874 * gnu/regexp/CharIndexedString.java: Likewise.
23875 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23876 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23877 using CharIndexedCharSequence. Use setAnchor when the input
23878 object is already a CharIndexed.
23879 * java/util/regex/Matcher.java(inputCharIndexed): New field
23880 to be used as a parameter of the RE#getMatch.
23882 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23884 * java/awt/image/SampleModel.java: Reformatted.
23886 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23888 * java/awt/image/ComponentSampleModel.java
23889 (ComponentSampleModel(int, int, int, int, int[])): Added API
23891 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23892 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23893 of the bandOffsets and bankIndices arguments, added API documentation,
23894 * java/awt/image/SampleModel.java
23895 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23896 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23897 less than or equal to zero, added API documentation.
23899 2006-04-04 Lillian Angel <langel@redhat.com>
23901 * java/util/zip/ZipFile.java
23902 (getInputStream): Fixed to return size of ZipEntry
23903 minus the total bytes read. This guarantees that the
23904 right value is returned even if some bytes have already
23907 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23909 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23910 Remove static modifier.
23912 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23914 * java/awt/image/ComponentSampleModel.java: Reformatted.
23916 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23918 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23919 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23920 retrieval instructions to javadoc header.
23921 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23922 compressionType field.
23923 * lib/Makefile.am (propertydirs): Add javax directory.
23924 (propertyfiles): Likewise.
23925 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23928 2006-04-03 Tom Tromey <tromey@redhat.com>
23930 PR classpath/26971:
23931 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23932 (BasicAttributeEnumeration.where): Initialize to 0.
23933 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23935 2006-04-03 Lillian Angel <langel@redhat.com>
23937 PR classpath/24596 and PR classpath/26930
23938 * java/util/zip/ZipFile.java
23939 (getInputStream): Override available function for
23940 InflaterInputStream instance.
23942 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23944 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23946 2006-04-03 Tom Tromey <tromey@redhat.com>
23948 * javax/security/auth/kerberos/ServicePermission.java: New file.
23949 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23950 * javax/security/auth/kerberos/KerberosKey.java: New file.
23951 * javax/security/auth/kerberos/KeyImpl.java: New file.
23952 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23953 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23955 2006-04-03 Sven de Marothy <sven@physto.se>
23957 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23958 non-GtkImage images.
23960 2006-04-03 Mark Wielaard <mark@klomp.org>
23962 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23963 as temporary file name.
23965 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23967 * INSTALL: Documented --with-glibj-zip option.
23969 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23971 Fixed all pscan warnings.
23973 * native/jni/classpath/jcl.c (JCL_ThrowException),
23974 native/jni/classpath/jcl.h (DBG),
23975 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23976 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23977 Use "%s" format in fprintf and snprintf explicitely when printing a single
23978 string to prevent format string exploits.
23980 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23981 definition. Included jcl.h instead.
23983 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23985 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23986 (provider): Made it protected.
23987 (providerInstalled): New field.
23988 (Main): Made it a 0-arguments constructor.
23989 Removed throws clasue.
23990 (main): Removed throws clause.
23991 Call processArgs(args) after constructing instance.
23992 Call teardown() before existing.
23993 (processArgs): Added javadoc.
23994 Reduced to throws Exception.
23996 (teardown): New method.
23997 (setupCommonParams): Added javadoc.
23998 Install designated provider if not already installed.
23999 (installNewProvider): New method.
24000 (setupSigningParams): Added javadoc.
24001 Instantiate the KeyStore using type only.
24002 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24003 Removed unused imports.
24004 (start): Reduced to throws Exception.
24005 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24006 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24007 Re-organized imports.
24008 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24009 Test ignoring case.
24010 (getNames): Add "dsa" as an algorithm provided by this Factory.
24011 (makeInstance): Construct IllegalArgumentException with 2 arguments.
24013 2006-04-03 Roman Kennke <kennke@aicas.com>
24015 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24016 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24017 Replaced g_free() with pango_item_free() to avoid problems
24018 with the allocator.
24020 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24023 * java/util/logging/Level.java (parse): Document.
24024 * java/util/logging/LogManager.java (rootLogger): Removed.
24025 (LogManager): Just set loggers to new HashMap.
24026 (getLogManager): Make synchronized. Create and init LogManager if it
24028 (static): Removed block.
24029 (MANAGER_PROPERTY): New private final string.
24030 (makeLogManager): Use new property string, move warning to
24031 createInstance() method.
24032 (CONFIG_PROPERTY): New private final string.
24033 (initLogManager): New method.
24034 (addLogger): Use Logger.root, not rootLogger.
24035 (findAncestor): Likewise.
24036 (readConfiguration): Move warning to createInstance() method.
24037 Add handlers directly to Logger.root. Warn about bad level values.
24038 (getClassProperty): Use new locateClass() method.
24039 (getInstanceProperty): Only catch specific newInstance Errors.
24040 (createInstance): Make private and takes a string to use in warning
24041 messages. Use new locateClass() method and generate appropriate
24043 (warn): New methods.
24044 (locateClass): Locates a class through the context class loader and
24045 system class loader as backup.
24046 * java/util/logging/Logger.java (root): New static final field.
24047 (Logger): Set parent to root.
24048 (setParent): Directly check root field.
24050 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24052 * java/util/Collections.java:
24053 (binarySearch(List, T)): Fixed signature.
24054 (unmodifiableList(List)): Likewise.
24055 (UnmodifiableList(List)): Fixed constructor.
24056 (UnmodifiableRandomAccessList(List)): Likewise.
24057 (unmodifiableMap(Map)): Fixed signature.
24058 (UnmodifiableMap(Map)): Fixed constructor.
24059 (unmodifiableSortedMap(Map)): Fixed signature.
24060 (UnmodifiableSortedMap(Map)): Fixed constructor.
24062 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24064 * java/io/ObjectOutputStream.java:
24065 (writeObject(Object)): Added enum support.
24066 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24067 * java/io/ObjectStreamClass.java:
24068 (isEnum()): New package-private method.
24069 (setFlags(Class)): Added enum support.
24070 * java/io/ObjectStreamConstants.java:
24073 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24075 * javax/swing/text/Segment.java:
24076 (setPosition): Make exception message more verbose.
24077 * javax/swing/text/WrappedPlainView.java:
24078 (insertUpdate): Removed unneeded repaint call.
24079 (changeUpdate): Dito.
24080 (removeUpdate): Dito.
24081 (WrappedLine.determineNumLines): Do not return numLines, break
24082 from loop if no new break point has been calculated.
24083 (WrappedLine.updateDamage): Rewritten.
24084 (WrappedLine.insertUpdate): Removed unneeded update code.
24085 (WrappedLine.removeUpdate): Removed unneeded update code, added
24088 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24090 * configure.ac (with-glibj-zip): Added new option.
24092 * examples/Makefile.am,
24094 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24095 in addition to classes in lib directory.
24097 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24099 * tools/gnu/classpath/tools/giop/GRMIC.java,
24100 tools/gnu/classpath/tools/giop/IorParser.java,
24101 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24102 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24103 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24104 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24105 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24106 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24107 tools/gnu/classpath/tools/rmi/RMIC.java,
24108 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24109 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24110 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24111 linking exception from the licensing header.
24112 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24113 Added licensing header.
24115 2006-04-02 Mark Wielaard <mark@klomp.org>
24117 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24118 (jarsigner): Removed.
24120 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24122 * configure.ac: don't check for isnan function.
24123 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24125 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24127 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24128 * tools/Makefile.am: Generate jarsigner shell script.
24129 * tools/jarsigner.sh.in: New template.
24130 * tools/.cvsignore: Added jarsigner.sh.
24132 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24134 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24135 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24136 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24137 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24138 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24139 Re-organised imports.
24141 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24143 PR classpath/25924:
24144 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24145 Handle case where alpha==0.
24147 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24150 * javax/swing/text/Utilities.java:
24151 (getTabbedTextOffset): Added check to decrement pos not below zero,
24152 changed '>' comparison to '>='.
24153 * javax/swing/text/WrappedPlainView.java:
24154 (lineHeight): New field.
24155 (calculateBreakPosition): Throw InternalError in catch block, removed
24156 unneeded brackets, use specific version of
24157 Utilities.getTabbedTextOffset.
24158 (paint): Set various properties neccessary for drawing.
24159 (WrappedLine.paint): Removed code to set field of outer class.
24160 (WrappedLine.modelToView): Removed unneeded expression from
24162 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24163 -1 from return statement, copy only a subset into the Segment, removed
24164 special handling of mark value - just return it, simplified
24165 incrementation of currLineStart.
24166 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24167 change to parent view.
24168 (WrappedLine.removeUpdate): Dito.
24170 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24172 * javax/swing/text/Segment.java:
24173 (toString): Return empty string when array is null.
24175 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24177 * javax/swing/plaf/basic/BasicTextUI.java:
24178 (damageRange): Use SwingUtilities.computeUnion to avoid
24179 unneccessary Rectangle instantiation.
24181 2006-04-01 Tom Tromey <tromey@redhat.com>
24183 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24185 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24187 * javax/swing/text/CompositeView.java: Fixed copyright header.
24188 * javax/swing/text/BoxView.java: Fixed copyright header.
24189 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24190 * javax/swing/text/Utilities.java: Fixed copyright header.
24192 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24194 * javax/swing/text/CompositeView.java:
24195 (modelToView): Throw BadLocationException when no child
24196 view can be found, restructed to throw exception as early
24198 (viewToModel): Use mutable allocation as argument for viewToModel
24199 call on child view.
24200 * javax/swing/text/BoxView.java:
24201 (getViewAtPoint): Call setBounds() r before method returns with
24202 suitable child view.
24203 * javax/swing/text/Utilities.java:
24204 (getPositionBelow): Added try-catch-block around modelToView call,
24205 added method return when BadLocationException was thrown.
24206 * javax/swing/text/WrappedPlainView.java:
24207 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24208 added note about meaning of rect.x and rect.width, removed unneeded
24209 checks, added code to not return the last possible document offset.
24211 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24213 * javax/swing/text/WrappedPlainView.java:
24214 (WrappedLine.viewToModel): Change < to <= in if-statement,
24215 removed addition of currLineStart to return value.
24216 * javax/swing/text/BoxView.java:
24217 (getViewAtPoint): Use copy instead of r for method call
24218 which modifies the second argument.
24220 2006-04-01 Mark Wielaard <mark@klomp.org>
24223 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24225 2006-03-31 Tom Tromey <tromey@redhat.com>
24227 * lib/split-for-gcj.sh: Updated for multi-field format.
24228 * lib/Makefile.am (CLEANFILES): Added classes.2.
24229 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24230 classes.2 using multiple fields.
24232 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24234 * javax/swing/JTable.java (columnSelectionChanged):
24235 Removed print statement.
24236 * javax/swing/DefaultListSelectionModel.java
24237 (addSelectionInterval, removeSelectionInterval):
24238 Fire the difference between selection. (setLeadSelectionIndex):
24239 Fire the difference and mark current and previous lead
24240 selection indexes for repaint.
24242 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24244 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24245 unnecessary copying.
24246 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24248 2006-03-31 Lillian Angel <langel@redhat.com>
24250 * java/awt/Component.java
24251 (translateEvent): oldKey should be the value of the
24254 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24256 * javax/swing/JTable.java (columnSelectionChanged):
24257 Treat second repaint parameter as width.
24259 2006-03-31 Lillian Angel <langel@redhat.com>
24262 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24263 (realize): New native function.
24264 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24265 Added new function declaration.
24266 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24267 (realize): New function.
24269 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24271 * javax/swing/text/GapContent.java:
24272 (replace): Move all Position instances from gap's end to
24273 it's start before increasing the gap start.
24274 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24275 (propertyChanged): Update the view only instead of
24276 indicating a document change.
24278 2006-03-31 Roman Kennke <kennke@aicas.com>
24280 * javax/swing/JTextField.java
24281 (fireActionPerformed): Put the textfields text in the action
24282 instead of the action name.
24284 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24286 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24287 Check for null jar-file argument.
24288 (setupSigningParams): Check for null alias argument.
24290 2006-03-31 Roman Kennke <kennke@aicas.com>
24292 * javax/swing/JComponent.java
24293 (paintChildren): Split up in two cases, depending on the
24294 optimizedDrawingEnabled flag.
24295 (paintChildrenWithOverlap): New method. Paints children when
24296 not optimizedDrawingEnabled. This implements better painting
24297 algorithm for overlapping components, so that the painted
24298 regions are minimized.
24299 (paintChildrenOptimized): New method. Paints children when
24300 when optimizedDrawingEnabled. This implements a painting
24301 algorithm that is optimized for the case when all children
24302 are guaranteed to be tiled.
24304 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24306 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24307 Attributes.putValue(String,String).
24308 (finishSigning): Likewise.
24309 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24310 (SIGNATURE_VERSION): Likewise.
24311 (readSFManifest): Use local string constant.
24312 (readMainSection): Likewise.
24313 (readVersionInfo): Likewise.
24314 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24315 Redefined using JarUtils constant.
24316 (SIGNATURE_VERSION): Likewise.
24317 (putValue(Name,String)): Made it private.
24319 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24321 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24322 New method. (clearSelection): Rewritten. (setSelectionInterval):
24323 Fire the difference between current and new selection.
24324 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24325 Only repaint the region, where selection has been changed.
24326 * javax/swing/plaf/basic/BasicTableUI.java
24327 (TableAction.actionPerformed): Do not change the column selection
24328 when only row selection change is wanted (and in reverse) and
24329 do not call the repaint() here.
24331 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24334 * javax/swing/DefaultComboBoxModel.java
24335 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24337 (addElement): Call list.addElement() rather than list.add(), and only
24338 update selected item if it is currently null,
24339 (removeElementAt): Update selected item, then remove the element.
24341 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24344 * java/awt/geom/Point2D.java
24345 (distanceSq(double, double)): Fixed order of arguments,
24346 (distanceSq(Point2D)): Likewise,
24347 (distance(double, double)): Likewise,
24348 (distance(Point2D)): Likewise.
24350 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24352 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24353 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24354 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24355 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24356 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24358 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24360 * javax.swing.JTable (constructor): Initialize column
24361 model column margin and table row margin before setting the
24362 table column model. (initialiseLocalVars): Do not call
24363 setIntercellSpacing.
24365 2006-03-30 Chris Burdess <dog@gnu.org>
24367 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24369 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24371 2006-03-30 Mark Wielaard <mark@klomp.org>
24374 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24375 adjust bounds. On resize invalidate and validate container.
24376 Always pass on ComponentEvents to Container super class.
24377 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24378 menuBar and pass to GtkWindowPeer super class.
24379 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24380 bounds and pass to GtkWindowPeer super class.
24381 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24382 New fields for local bounds.
24383 (getX, getY): New methods.
24384 (getWidth): Don't call into awtComponent.
24385 (getHeight): Likewise.
24386 (create): Cache local bounds.
24387 (setLocation): Documented, made protected and just call
24389 (setLocationUnlocked): Removed unused method.
24390 (setBoundsUnlocked): Likewise.
24391 (setBounds): Check whether bounds actually changed and cache local
24393 (setSize): Documented and made protected.
24394 (setResizable): Documented and cache local bounds.
24395 (postConfigureEvent): Update local bounds. Don't call awtComponent
24396 directly but post ComponentEvents.
24397 (show): Cache local bounds.
24398 (getBounds): Override to return cached bounds.
24400 2006-03-30 Lillian Angel <langel@redhat.com>
24402 * gnu/java/awt/peer/gtk/GdkGraphics.java
24403 (drawImage): Added check to prevent NPE.
24404 (drawImage): Likewise.
24405 (drawImage): Likewise.
24406 * java/awt/Choice.java
24407 (dispatchEventImpl): New function. selectedIndex was
24408 not being updated properly otherwise.
24410 2006-03-30 Roman Kennke <kennke@aicas.com>
24412 * javax/swing/JTabbedPane.java
24413 (removeTabAt): Removed debug code.
24415 2006-03-30 Roman Kennke <kennke@aicas.com>
24418 * javax/swing/plaf/basic/BasicTextUI.java
24419 (installKeyboardActions): Simply call getKeymap() and install this.
24420 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24422 2006-03-30 Roman Kennke <kennke@aicas.com>
24424 * javax/swing/JTabbedPane.java
24425 (removeTabAt): Adjust selection correctly when removing a tab
24426 before the selected tab. Also remove the component from the
24427 container, not only the tab object. Repaint and revalidate the
24428 component after the removal.
24429 (removeAll): Set selection to -1 before removing the tabs.
24431 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24433 * java/io/ObjectInputStream.java:
24434 (parseContent(byte)): Added enum support.
24435 * java/io/ObjectStreamConstants.java:
24437 (TC_MAX): Changed to new maximum, TC_ENUM.
24439 2006-03-29 Lillian Angel <langel@redhat.com>
24441 Partial fix for bug #26929
24442 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24443 (updateComponent): Removed. We want to clear the panel
24445 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24446 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24447 Should set the background to the saved background color.
24449 2006-03-29 Mark Wielaard <mark@klomp.org>
24451 Partial fix for bug #26848 (pack).
24452 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24453 Always show instances of Window.
24455 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24457 * javax/swing/JSlider.java
24458 (setPaintLabels): Only create standard labels if labelTable is null,
24459 * javax/swing/plaf/basic/BasicSliderUI.java
24460 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24461 "paintTicks" property change,
24462 (calculateThumbSize): Updated API docs,
24463 (calculateContentRect): Likewise,
24464 (calculateTrackBuffer): Take into account the lowest and highest
24465 labels when calculating buffer space,
24466 (calculateTrackRect): Include labels, if visible, in the calculation of
24467 the trackRect position,
24468 (calculateTickRect): Height is zero if ticks are not painted,
24469 (calculateLabelRect): Use max dimensions of actual labels,
24470 (getWidthOfHighValueLabel): Use preferred size,
24471 (getWidthOfLowValueLabel): Likewise,
24472 (getHeightOfHighValueLabel): Likewise,
24473 (getHeightOfLowValueLabel): Likewise,
24474 (drawInverted): Just return slider setting,
24475 (getHighestValueLabel): Updated API docs,
24476 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24477 to xPositionForValue() and yPositionForValue(),
24478 (paintHorizontalLabel): Removed full qualification of class name,
24479 (paintVerticalLabel): Likewise,
24480 (xPositionForValue): Reimplemented,
24481 (yPositionForValue): Reimplemented,
24482 * javax/swing/plaf/metal/MetalSliderUI.java
24483 (paintTrack): Made track one pixel longer.
24485 2006-03-29 Tom Tromey <tromey@redhat.com>
24488 * tools/Makefile.am (JCOMPILER): Added encoding options.
24489 * examples/Makefile.am (JCOMPILER): Added encoding options.
24491 2006-03-29 Gary Benson <gbenson@redhat.com>
24493 Partial fix for PR classpath/24895
24494 * java/io/FilePermission.java (implies): Canonicalize paths.
24496 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24499 * javax/swing/text/GapContent.java:
24500 (replace): Added call to resetMarksAtZero.
24502 2006-03-29 Roman Kennke <kennke@aicas.com>
24505 * javax/swing/plaf/basic/BasicMenuItemUI.java
24506 (cachedRect): New field.
24507 (BasicMenuItemUI): Initialize cachedRect field.
24508 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24509 to determine layout. Store maximum accelerator and text width
24510 in client properties of parent to allow correct alignment
24511 of accelerators among menu items of one menu.
24512 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24513 method. Align accelerators according to the values calculated
24514 in getPreferredMenuItemSize.
24515 (getAcceleratorString) New helper method.
24516 (layoutMenuItem): New helper method.
24518 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24520 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24521 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24522 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24524 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24525 readExternal, writeExternal): New methods.
24526 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24527 two stages, invokeCommon(Remote, ...) and
24528 invokeCommen(UnicastConnection, ...).
24529 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24530 also the ActivatableRef. toString(): Documented.
24531 * gnu/java/rmi/server/ActivatableRef.java,
24532 tools/gnu/classpath/tools/rmi/Persistent.java,
24533 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24534 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24535 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24536 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24537 tools/gnu/classpath/tools/rmi/RMID.java,
24538 tools/gnu/classpath/tools/rmi/RMID.txt,
24539 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24540 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24541 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24542 tools/gnu/classpath/tools/rmi/registry/package.html,
24543 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24544 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24546 * tools/README: Documented.
24547 * NEWS: Added entry about the activation.
24549 2006-03-29 Roman Kennke <kennke@aicas.com>
24552 * javax/swing/plaf/basic/BasicMenuItemUI.java
24553 (viewRect): New field.
24554 (textRect): New field.
24555 (accelRect): New field.
24556 (iconRect): New field.
24557 (arrowIconRect): New field.
24558 (checkIconRect): New field.
24559 (BasicMenuItemUI): Initialize new fields.
24560 (paintMenuItem): Rewritten to correctly layout and paint
24561 the menu item in a more straightforward way. Use cached rectangle
24562 objects for layout.
24563 (paintAccelerator): Pulled inside the paintMenuItem method.
24565 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24567 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24568 Do not use initCause with UnexpectedException.
24569 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24572 2006-03-29 Mark Wielaard <mark@klomp.org>
24574 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24575 (setCursorID): Removed unused static variable.
24577 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24579 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24581 2006-03-29 Mark Wielaard <mark@klomp.org>
24584 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24585 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24587 2006-03-28 Roman Kennke <kennke@aicas.com>
24589 * javax/swing/UIManager.java
24590 (installLookAndFeel): Implemented.
24591 (setInstalledLookAndFeels): Implemented.
24593 2006-03-28 Roman Kennke <kennke@aicas.com>
24595 * javax/swing/plaf/metal/MetalButtonUI.java
24596 (update): Paint gradient only when the background color
24597 is not a UIResource and if the button is neither armed nor
24598 pressed and if the button is contentAreaFilled.
24600 2006-03-28 Roman Kennke <kennke@aicas.com>
24602 * javax/swing/JLayeredPane.java
24603 (addImpl): Repaint added component.
24605 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24607 * java/util/regex/Matcher.java: Reverted.
24609 2006-03-28 Roman Kennke <kennke@aicas.com>
24611 * javax/swing/text/AsyncBoxView.java
24612 (setEstimatedMajorSpan): Made method protected.
24613 (getEstimatedMajorSpan): Made method protected.
24614 * javax/swing/text/BoxView.java
24615 (flipEastAndWestAtEnds): Fixed typo.
24616 * javax/swing/text/InternationalFormatter.java
24617 (getActions): Made method protected.
24618 * javax/swing/text/Position.java
24619 (Bias): Made class final.
24620 * javax/swing/text/html/HTML.java
24621 (MEDIA): Made field package private. Not specified.
24622 (NOBR): Made field package private. Not specified.
24623 * javax/swing/text/html/NullView.java
24624 Made class package private.
24625 * javax/swing/text/html/parser/Entity.java
24626 Made class non-serializable as specified.
24628 2006-03-28 Roman Kennke <kennke@aicas.com>
24630 * javax/swing/plaf/metal/MetalButtonUI.java
24631 (update): Don't paint gradient if the background color is
24632 no UIResource. Removed double getModel() call. Don't check for
24635 2006-03-28 Roman Kennke <kennke@aicas.com>
24637 * javax/swing/plaf/basic/BasicMenuItemUI.java
24638 (paint): Call paintMenuItem with the selectionBackground as
24640 (paintBackground): Fixed the condition and color for the background
24643 2006-03-28 Roman Kennke <kennke@aicas.com>
24645 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24646 (tabsOpaque): New field.
24647 (paintLeftTabBorder): Paint some parts only when the tabs are
24648 opaque. Determine the tab background using the paintLeftTabBorder()
24650 (paintRightTabBorder): Likewise.
24651 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24653 2006-03-27 Tom Tromey <tromey@redhat.com>
24655 PR classpath/25189:
24656 * java/lang/Enum.java (valueOf): Ensure that the named field
24657 is an enum constant.
24658 (compareTo): Check class of enum.
24660 2006-03-27 Tom Tromey <tromey@redhat.com>
24662 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24664 2006-03-27 Tom Tromey <tromey@redhat.com>
24666 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24668 (getModifiersInternal): Renamed from getModifiers.
24669 (getModifiers): New method.
24670 (isBridge): Likewise.
24671 (isSynthetic): Likewise.
24672 (isVarArgs): Likewise.
24673 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24675 (getModifiersInternal): Renamed from getModifiers.
24676 (getModifiers): New method.
24677 (isSynthetic): Likewise.
24678 (isEnumConstant): Likewise.
24679 * vm/reference/java/lang/reflect/Constructor.java
24680 (getModifiersInternal): Renamed from getModifiers.
24681 (getModifiers): New method
24682 (CONSTRUCTOR_MODIFIERS): New constant.
24683 (isSynthetic): New method.
24684 (isVarArgs): Likewise.
24685 * java/lang/reflect/Member.java (isSynthetic): New method.
24687 2006-03-28 Tom Tromey <tromey@redhat.com>
24689 * java/net/Proxy.java (TYPE): Added missing ";".
24691 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24693 * java/math/RoundingMode.java:
24694 Fixed serialization UID.
24695 * java/net/Proxy.java:
24698 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24700 * java/io/CharArrayWriter.java:
24701 (append(char)): Documented.
24702 (append(CharSequence)): Likewise.
24703 (append(CharSequence,int,int)): Likewise.
24705 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24707 * vm/reference/java/lang/reflect/Constructor.java
24708 (getTypeParameters): Check return value of getSignature for null.
24709 * vm/reference/java/lang/reflect/Method.java
24710 (getTypeParameters): Check return value of getSignature for null.
24712 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24714 * java/rmi/activation/ActivationGroup_Stub.java:
24717 2006-03-27 Tom Tromey <tromey@redhat.com>
24719 * java/io/CharArrayWriter.java (append): New overloads.
24721 2006-03-27 Lillian Angel <langel@redhat.com>
24723 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24724 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24725 Added check for colormap. Prevents assertion error.
24726 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24728 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24730 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24732 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24734 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24737 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24739 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24740 AC_MSG_ERROR instead of echoing the error message
24741 that no compiler has been found manually.
24743 2006-03-27 Roman Kennke <kennke@aicas.com>
24745 * javax/swing/RepaintManager.java
24746 (commitBuffer): Use simple drawImage() method instead of the
24749 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24751 * javax/swing/text/PlainView.java:
24752 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24753 for painting the selected line.
24755 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24757 * javax/swing/plaf/basic/BasicSliderUI.java
24758 (getThumbSize): Removed TODO and updated API docs.
24760 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24762 * javax/swing/text/DefaultCaret.java:
24763 (mouseClicked): Word selection rewritten.
24764 (paint): Draw line inside the bounding rectangle.
24765 (damage): Retrieve caret height from line height.
24767 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24769 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24771 Check for -help option.
24772 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24774 2006-03-27 Roman Kennke <kennke@aicas.com>
24776 * javax/swing/text/FieldView.java
24777 (getPreferredSpan): Don't include trailing newline in
24779 * javax/swing/text/PlainView.java
24780 (drawLine): Don't include trailing newline.
24781 (determineMaxLineLength): Don't include trailing newline.
24782 (getLineBuffer): Made method final.
24784 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24786 * javax/swing/JSlider.java
24787 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24788 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24789 NotImplementedException,
24790 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24792 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24794 * java/lang/ProcessBuilder.java:
24797 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24799 * gnu/java/net/protocol/http/Headers.java:
24800 Match layout of file on HEAD.
24801 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24803 * java/awt/datatransfer/DataFlavor.java
24806 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24808 * gnu/java/security/jce/hash/HavalSpi.java,
24809 * gnu/java/security/jce/hash/MD2Spi.java,
24810 * gnu/java/security/jce/hash/MD4Spi.java,
24811 * gnu/java/security/jce/hash/MD5Spi.java,
24812 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24813 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24814 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24815 * gnu/java/security/jce/hash/Sha160Spi.java,
24816 * gnu/java/security/jce/hash/Sha256Spi.java,
24817 * gnu/java/security/jce/hash/Sha384Spi.java,
24818 * gnu/java/security/jce/hash/Sha512Spi.java,
24819 * gnu/java/security/jce/hash/TigerSpi.java,
24820 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24821 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24822 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24823 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24824 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24825 * gnu/java/security/jce/sig/SignatureAdapter.java,
24826 * gnu/java/security/key/IKeyPairCodec.java,
24827 * gnu/java/security/key/IKeyPairGenerator.java,
24828 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24829 * gnu/java/security/key/dss/DSSKey.java,
24830 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24831 * gnu/java/security/key/dss/DSSPrivateKey.java,
24832 * gnu/java/security/key/dss/DSSPublicKey.java,
24833 * gnu/java/security/key/dss/FIPS186.java,
24834 * gnu/java/security/key/rsa/GnuRSAKey.java,
24835 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24836 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24837 * gnu/java/security/sig/ISignature.java,
24838 * gnu/java/security/sig/ISignatureCodec.java,
24839 * gnu/java/security/sig/dss/DSSSignature.java,
24840 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24841 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24842 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24843 * gnu/java/security/util/Util.java:
24844 Remove CVS revision tags.
24846 2006-03-26 Tom Tromey <tromey@redhat.com>
24848 * java/io/InputStream.java (InputStream): Implements Closeable.
24850 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24852 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24854 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24855 getAnchor): New methods.
24856 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24857 getAnchor): New methods.
24858 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24859 getAnchor): New methods.
24860 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24861 getAnchor): New methods.
24862 * gnu/regexp/REMatch.java(start1): New field.
24863 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24864 (match): set the starting position to start1[] instead of start[],
24865 (getMatchImpl): Set the found REMatch to the input,
24866 (makeCharIndexed): Made public.
24867 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24868 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24869 set the value of start[] copying from start1[].
24870 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24872 * java/util/regex/Matcher.java(inputCharIndexed): New field
24873 to be used as a parameter of the RE#getMatch.
24875 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24877 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24878 Documented the default jre spawning strategy (none).
24879 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24880 getSystem): Obtain the acticivation system from the
24881 DefaultActivationSystem.
24883 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24885 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24886 Ask user for keystore password if one was not provided.
24888 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24890 * tools/README: Added Security tools section.
24891 Documented the jarsigner tool.
24893 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24895 * javax/swing/JScrollBar.java
24896 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24897 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24898 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24899 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24900 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24901 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24902 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24903 (getAccessibleContext): Updated API docs.
24905 2006-03-25 Tom Tromey <tromey@redhat.com>
24907 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24908 change or if generator script changes.
24910 2006-03-25 Tom Tromey <tromey@redhat.com>
24912 * javax/naming/ldap/StartTlsRequest.java: New file.
24913 * javax/naming/ldap/StartTlsResponse.java: New file.
24915 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24917 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24918 to validate all components of a resource path.
24919 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24920 allowed to walk through every component of a resource path.
24922 2006-03-25 Michael Koch <konqueror@gmx.de>
24924 * NEWS: Added item for CLDR 1.3 update.
24926 2006-03-25 Michael Koch <konqueror@gmx.de>
24928 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24929 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24930 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24931 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24932 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24933 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24936 2006-03-25 Michael Koch <konqueror@gmx.de>
24938 * resource/gnu/java/locale/LocaleInformation_az.properties,
24939 resource/gnu/java/locale/LocaleInformation_bs.properties,
24940 resource/gnu/java/locale/LocaleInformation_byn.properties,
24941 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24942 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24943 resource/gnu/java/locale/LocaleInformation_gez.properties,
24944 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24945 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24946 resource/gnu/java/locale/LocaleInformation_haw.properties,
24947 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24948 resource/gnu/java/locale/LocaleInformation_kok.properties,
24949 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24950 resource/gnu/java/locale/LocaleInformation_sid.properties,
24951 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24952 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24953 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24954 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24955 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24956 resource/gnu/java/locale/LocaleInformation_syr.properties,
24957 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24958 resource/gnu/java/locale/LocaleInformation_tig.properties,
24959 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24960 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24961 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24962 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24963 resource/gnu/java/locale/LocaleInformation_wal.properties,
24964 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24967 2006-03-25 Michael Koch <konqueror@gmx.de>
24969 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24970 resource/gnu/java/locale/LocaleInformation_kn.properties,
24971 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24972 resource/gnu/java/locale/LocaleInformation_ko.properties,
24973 resource/gnu/java/locale/LocaleInformation_sl.properties,
24974 resource/gnu/java/locale/LocaleInformation_so.properties,
24975 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24976 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24977 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24978 resource/gnu/java/locale/LocaleInformation_sr.properties:
24979 Random fixes I forgot to commit before.
24981 2006-03-25 Michael Koch <konqueror@gmx.de>
24983 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24984 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24985 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24986 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24987 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24988 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24989 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24990 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24991 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24992 resource/gnu/java/locale/LocaleInformation_en.properties,
24993 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24994 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24995 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24996 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24997 resource/gnu/java/locale/LocaleInformation_fa.properties,
24998 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24999 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25000 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25001 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25002 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25003 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25004 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25005 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25006 resource/gnu/java/locale/LocaleInformation_pa.properties,
25007 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25008 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25009 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25010 resource/gnu/java/locale/LocaleInformation_sa.properties,
25011 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25012 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25013 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25014 Updated currency formats.
25016 2006-03-25 Roman Kennke <kennke@aicas.com>
25018 * javax/swing/text/AbstractDocument.java
25019 (getAttributeContext): Made method final.
25020 (getCurrentWriter): Likewise.
25021 (getEndPosition): Likewise.
25022 (getProperty): Likewise.
25023 (getStartPosition): Likewise.
25024 (putProperty): Likewise.
25025 (readLock): Likewise.
25026 (readUnlock): Likewise.
25027 (writeLock): Likewise.
25028 (writeUnlock): Likewise.
25030 2006-03-25 Roman Kennke <kennke@aicas.com>
25032 * javax/swing/InputMap.java
25033 (allKeys): Check if parent keys is null.
25034 * javax/swing/KeyboardManager.java
25035 (registerEntireMap): Also register map's parent keys.
25036 * javax/swing/plaf/metal/MetalRootPaneUI.java
25037 (propertyChange): Also call super.propertyChange().
25039 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25041 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25042 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25043 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25044 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25045 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25046 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25048 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25050 * gnu/java/util/jar/JarUtils.java: New file.
25051 * java/util/jar/Manifest.java (CRLF): Removed.
25052 (read_main_section): Likewise.
25053 (read_version_info): Likewise.
25054 (expect_header(String,BufferedReader)): Likewise.
25055 (expect_header(String,BufferedReader,String)): Likewise.
25056 (read_header_value): Likewise.
25057 (read_attributes): Likewise.
25058 (read_attribute): Likewise.
25059 (read_individual_sections): Likewise.
25060 (read_section_name): Likewise.
25061 (write_main_section): Likewise.
25062 (write_version_info): Likewise.
25063 (write_header): Likewise.
25064 (write_main_attributes): Likewise.
25065 (write_attribute_entry): Likewise.
25066 (write_individual_sections): Likewise.
25067 (write_entry_attributes): Likewise.
25068 (read): use JarUtils.
25071 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25073 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25076 (SignerInfo(BERReader)): Updated javadoc.
25078 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25080 (encode): New method.
25081 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25082 (PKCS7_DATA): Removed.
25085 (PKCS7SignedData(BERReader)): Updated javadoc.
25087 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25089 (encode): New method.
25090 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25091 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25092 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25093 (decodePrivateKey): Decode x from an OCTET STRING.
25094 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25095 (toString): New method.
25096 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25098 (toString): New method.
25099 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25100 (toString): New method.
25101 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25103 2006-03-25 Roman Kennke <kennke@aicas.com>
25105 * java/util/GregorianCalender.java
25106 (computeTime): Fix comparison to correctly calculate the
25109 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25112 * java/awt/Window.java:
25113 (setFocusCycleRoot): New overriden method.
25114 (isFocusCycleRoot): Likewise.
25115 (getFocusCycleRootAncestor): Likewise.
25116 * java/awt/Container.java:
25117 (getFocusTraversalPolicy): Check also for anchestor == null.
25119 2006-03-25 Mark Wielaard <mark@klomp.org>
25121 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25122 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25125 2006-03-24 Tom Tromey <tromey@redhat.com>
25127 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25129 (writeChar): Removed useless cast.
25130 (writeChars(String)): Implemented.
25131 (writeDouble): Rewrote.
25132 (writeFloat): Likewise.
25133 (writeUTF): Implemented.
25134 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25137 2006-03-24 Roman Kennke <kennke@aicas.com>
25139 * javax/swing/JButton.java
25140 (def): Replaced field with defaultCapable field.
25141 (is_def): Removed field.
25142 (JButton): Initialize defaultCapable with true.
25143 (isDefaultButton): Documented and implemented method by querying
25144 the button's root pane if present.
25145 (isDefaultCapable): Changed def field to defaultCapable.
25146 Added documentation.
25147 (paramString): Call isDefaultButton() instead of accessing field,
25149 (setDefaultCapable): Changed def field to defaultCapable.
25150 Added documentation.
25151 * javax/swing/JRootPane.java
25152 (setDefaultButton): Only change the default button if the
25153 new button is defaultCapable.
25154 * javax/swing/plaf/basic/BasicRootPaneUI.java
25155 (DefaultPressAction): New class.
25156 (DefaultReleaseAction): New class.
25157 (installKeyboardActions): Implemented.
25158 (uninstallKeyboardActions): Implemented.
25159 (propertyChange): Implemented.
25160 * javax/swing/plaf/metal/MetalBorders.java
25161 (ButtonBorder.paintBorder): 'Outsourced' default theme
25162 painting to paintDefaultButtonBorder().
25163 (ButtonBorder.paintDefaultButtonBorder): New helper method
25164 to paint the border in the default theme. This also fixes
25165 painting of the border for default buttons.
25166 (ButtonBorder.paintOceanButtonBorder): Added support for
25167 default button painting. Fixed border for pressed/default state.
25168 * javax/swing/plaf/metal/MetalButtonUI.java
25169 (update): Only paint gradient when in OceanTheme and when the
25170 button is not armed.
25172 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25174 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25175 Inherit from Activator.
25177 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25179 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25180 Print debug message if debug flag is set.
25181 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25182 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25183 detail, do not call iniCause(). (exportClass): New method.
25184 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25185 Ignore null (bootstrap) class loader.
25186 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25187 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25188 visibility to protected.
25189 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25190 (toStub): New method.
25191 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25192 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25193 Explained property java.rmi.activation.port.
25195 2006-03-24 Tom Tromey <tromey@redhat.com>
25197 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25198 * gnu/java/locale/.cvsignore: New file.
25199 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25200 * java/util/Locale.java (getAvailableLocales): Clone result.
25201 (getISOCountries): Likewise.
25202 (getISOLanguages): Likewise.
25203 * scripts/generate-locale-list.sh: Make class public. Added new
25205 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25206 (getLocaleCount): Likewise.
25207 * java/text/Collator.java (getInstance): Javadoc typo fix.
25208 (getAvailableLocales): Wrote.
25210 2006-03-24 Roman Kennke <kennke@aicas.com>
25212 * javax/swing/JTabbedPane.java
25213 (getSelectedComponent): Return null when no component is
25216 2006-03-24 Mark Wielaard <mark@klomp.org>
25218 * NEWS: Add cursor and selection improvements.
25220 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25222 * java/awt/Component.java
25223 (getAccessibleName): Just return accessibleName,
25224 * javax/swing/AbstractButton.java
25225 (getAccessibleStateSet): Mark as stub,
25226 (getAccessibleName): Implemented,
25227 (getAcessibleIcon): Mark as stub,
25228 (getAccessibleRelationSet): Likewise,
25229 (getAccessibleAction): Likewise,
25230 (getAccessibleValue): Likewise,
25231 (getAccessibleActionCount): Likewise,
25232 (getAccessibleActionDescription): Likewise,
25233 (doAccessibleAction): Likewise,
25234 (getCurrentAccessibleValue): Likewise,
25235 (setCurrentAccessibleValue): Likewise,
25236 (getMinimumAccessibleValue): Likewise,
25237 (getMaximumAccessibleValue): Likewise,
25238 (getAccessibleText): Likewise,
25239 (getIndexAtPoint): Likewise,
25240 (getCharacterBounds): Likewise,
25241 (getCharCount): Likewise,
25242 (getCaretPosition): Likewise,
25243 (getAtIndex): Likewise,
25244 (getAfterIndex): Likewise,
25245 (getBeforeIndex): Likewise,
25246 (getCharacterAttribute): Likewise,
25247 (getSelectionStart): Likewise,
25248 (getSelectionEnd): Likewise,
25249 (getSelectedText): Likewise,
25250 (getTextRectangle): Likewise,
25251 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25252 (getIconTextGap): Added @since 1.4,
25253 (setContentAreaFilled): Reordered code to make event sequence match
25254 reference implementation,
25255 * javax/swing/JButton.java
25256 (getSelectedObjects): Removed,
25257 *javax/swing/JComponent.java
25258 (getAccessibleName): Call super.
25260 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25262 * javax/swing/JProgressBar.java
25263 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25264 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25265 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25266 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25267 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25268 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25269 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25270 (getAccessibleContext): Added API docs.
25272 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25274 * javax/swing/plaf/basic/BasicTextUI.java:
25275 (FocusListener.focusLost): Put current selection into the system
25278 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25280 * java/awt/Component.java:
25281 (processMouseEvent): Remove call to consume event.
25282 (dispatchEventImpl): Handle specific events first, do focus request
25283 only when mouse event was not yet consumed.
25284 * javax/swing/text/DefaultCaret.java:
25285 (mousePressed): Rewritten.
25286 (setDot): Changed order of operations.
25289 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25291 * javax/swing/JComponent.java
25292 (AccessibleJComponent.changeSupport): Removed field,
25293 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25294 (AccessibleJComponent.addPropertyChangeListener): Call super,
25295 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25296 * javax/swing/JSlider.java
25297 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25298 (AccessibleJSlider.getAccessibleRole): Likewise,
25299 (AccessibleJSlider.getAccessibleValue): Likewise,
25300 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25301 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25302 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25303 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25304 (getAccessibleContext): Added API docs.
25306 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25308 * gnu/java/rmi/activation/ActivationSystemTransient.java
25309 (debug): Made public. (constructor): Made protected.
25310 (activate, getActivationDesc): Throw more informative exceptions.
25311 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25313 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25315 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25317 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25319 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25320 system, passed in the activation descriptor field.
25321 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25322 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25323 to package private final. (equals): Compare uid, not the system.
25324 (hashCode): Forward to uid.hashCode(). toString(): New method.
25325 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25326 Rewritten. (equals): Compare UID only. toString(): New method.
25327 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25328 UID (space). (hashCode, toString): Rewritten.
25329 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25330 New method. (invoke): Treat null as an empty array for parameters.
25331 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25332 Include count, do not include the static machineId.
25334 2006-03-23 Tom Tromey <tromey@redhat.com>
25336 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25338 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25340 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25341 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25342 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25343 (force): New field. (setForce): New method. (compile): Handle -force.
25344 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25345 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25347 2006-03-23 Roman Kennke <kennke@aicas.com>
25349 * javax/swing/JTabbedPane.java
25350 (Page.getBackground): Return the JTabbedPane's background,
25351 rather than the page's component background.
25352 (Page.getForeground): Return the JTabbedPane's foreground,
25353 rather than the page's component foreground.
25354 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25355 (uninstallUI): Don't set colors to null.
25356 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25357 (paintTabBackground): Correctly determine the tab background.
25358 (getUnselectedBackground): New helper method to
25359 handle the UI property 'TabbedPane.unselectedBackground'
25362 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25364 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25365 (BorderListener.showingResizeCursor): New field.
25366 (BorderListener.mouseMoved, BorderListner.mouseExited):
25369 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25371 * javax/swing/JComboBox.java
25372 (selectWithKeyChar): Mark as stub,
25373 * javax/swing/JFileChooser.java
25374 (setDragEnabled): Mark as stub,
25375 (getDragEnabled): Likewise,
25376 * javax/swing/JSlider.java
25377 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25378 (AccessibleJSlider.getAccessibleRole): Likewise,
25379 (AccessibleJSlider.getAccessibleValue): Likewise,
25380 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25381 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25382 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25383 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25384 * javax/swing/UIManager.java
25385 (installLookAndFeel): Mark as stub,
25386 (setInstalledLookAndFeels): Likewise.
25388 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25390 * javax/swing/filechooser/UnixFileSystemView.java
25391 (getSystemDisplayName): Mark as stub,
25392 (getSystemIcon): Likewise,
25393 (getSystemTypeDescription): Likewise.
25395 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25397 * javax/swing/tree/AbstractLayoutCache.java
25398 (getNodeDimensions): Mark as stub,
25399 (getPreferredHeight): Likewise,
25400 (getPreferredWidth): Likewise,
25401 (getRowsForPaths): Likewise,
25402 (isFixedRowHeight): Likewise,
25403 * javax/swing/tree/DefaultTreeModel.java
25404 (reload()): Mark as stub,
25405 (reload(TreeNode)): Likewise,
25406 (nodeStructureChanged): Likewise,
25407 * javax/swing/tree/DefaultTreeSelectionModel.java
25408 (clone): Mark as stub,
25409 (setRowMapper): Likewise,
25410 (setSelectionPaths): Likewise,
25411 (isRowSelected): Likewise,
25412 (resetRowSelection): Likewise,
25413 (insureRowContinuity): Likewise,
25414 (arePathsContiguous): Likewise,
25415 (canPathsBeAdded): Likewise,
25416 (canPathsBeRemoved): Likewise,
25417 (notifyPathChange): Likewise,
25418 (updateLeadIndex): Likewise,
25419 (insureUniqueness): Likewise,
25420 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25422 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25424 2006-03-22 Tom Tromey <tromey@redhat.com>
25426 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25428 (getStaticAttributeKey): Likewise.
25429 (readAttributeSet): Likewise.
25430 (writeAttributeSet): Likewise.
25431 (readAttributes): Likewise.
25432 (writeAttributes): Likewise.
25433 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25435 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25437 (fireChangedUpdate): Likewise.
25440 (handleEndOfLineString): Likewise.
25441 (textAreaContent): Likewise.
25442 (preContent): Likewise.
25443 (addSpecialElement): Likewise.
25444 (setInnerHTML): Likewise.
25445 (setOuterHTML): Likewise.
25446 (insertBeforeStart): Likewise.
25447 (insertBeforeEnd): Likewise.
25448 (insertAfterEnd): Likewise.
25449 (insertAfterStart): Likewise.
25450 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25451 Mark all methods as stub.s
25452 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25454 (paintHorizontalSeparators): Likewise.
25455 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25457 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25459 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25461 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25464 2006-03-22 Mark Wielaard <mark@klomp.org>
25466 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25468 2006-03-22 Mark Wielaard <mark@klomp.org>
25471 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25472 Takes GtkImage, x and y coordinates.
25473 (gtkWidgetSetCursorUnlocked): Likewise.
25474 (GtkComponentPeer): Set cursor when set.
25475 (setCursor): Handle GtkCursor.
25476 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25478 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25479 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25480 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25481 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25483 2006-03-23 Roman Kennke <kennke@aicas.com>
25486 * gnu/java/security/Registry.java
25487 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25488 * gnu/javax/crypto/pad/PadFactory.java
25489 (getInstance): For PKCS#5, also return PKCS#7 pad
25491 (getNames): Added PKCS#5.
25492 * javax/crypto/KeyGenerator.java
25493 (getInstance): Initialize key generator before returning
25496 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25498 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25499 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25500 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25501 if COMMENTS is set.
25503 2006-03-22 Tom Tromey <tromey@redhat.com>
25505 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25506 (getBoolean): Likewise.
25507 (getString): Likewise.
25508 (getIcon): Likewise.
25510 2006-03-22 Mark Wielaard <mark@klomp.org>
25513 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25514 (GLightweightPeer(Component)): Install MouseListener.
25515 (setCursor): Implement.
25516 (mouseEntered): New method.
25518 2006-03-22 Tom Tromey <tromey@redhat.com>
25520 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25522 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25524 (getFontForState): Likewise.
25525 (getInsets): Added 'result' argument.
25526 (getPainter): Renamed.
25528 2006-03-22 Tom Tromey <tromey@redhat.com>
25530 * javax/swing/plaf/synth/SynthPainter.java
25531 (paintScrollBarThumbBackground): Added 'orientation' argument.
25532 (paintScrollBarThumbBorder): Likewise.
25533 (paintSliderThumbBackground): Likewise.
25534 (paintSliderThumbBorder): Likewise.
25535 (paintTabbedPaneTabBackground): Added 'index' argument.
25536 (paintTabbedPaneTabBorder): Likewise.
25538 2006-03-22 Tom Tromey <tromey@redhat.com>
25540 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25541 (toString): New method.
25543 2006-03-22 Tom Tromey <tromey@redhat.com>
25545 * doc/hacking.texinfo (Source Code Style Guide): Mention
25546 NotImplementedException.
25547 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25548 (flushBefore): Mark as stub.
25550 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25552 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25555 (writeBit): Likewise.
25556 (writeChars): Likewise.
25557 (writeUTF): Likewise.
25558 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25561 * java/net/URLConnection.java (getContent): Mark as stub.
25562 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25563 * java/awt/TexturePaint.java (createContext): Mark as stub.
25564 (getTransparency): Mark as stub.
25565 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25566 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25567 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25569 (getImageCapabilities): Likewise.
25570 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25571 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25572 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25574 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25575 (getAdvanceBetween): Likewise.
25576 (getLayout): Likewise.
25577 (insertChar): Likewise.
25578 (getLineBreakIndex): Likewise.
25579 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25580 (getAdvance): Likewise.
25581 (getAscent): Likewise.
25582 (getDescent): Likewise.
25583 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25584 (insertChar): Likewise.
25585 (nextLayout): Likewise.
25586 (nextLayout): Likewise.
25587 (nextOffset): Likewise.
25588 (nextOffset): Likewise.
25589 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25590 (equals): Likewise.
25591 (getAdvance): Likewise.
25592 (getAscent): Likewise.
25593 (getBounds): Likewise.
25594 (getDescent): Likewise.
25595 (hashCode): Likewise.
25596 (ImageGraphicAttribute): Likewise.
25597 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25598 (getJustificationInfo): Likewise.
25599 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25600 (getGlyphCharIndices): Likewise.
25601 (getGlyphOutline): Likewise.
25602 (getGlyphPixelBounds): Likewise.
25603 (getLayoutFlags): Likewise.
25604 (getPixelBounds): Likewise.
25605 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25606 (getRSB): Likewise.
25607 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25608 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25609 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25611 (resetRecognizer): Likewise.
25612 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25614 (getNativesForFlavor): Likewise.
25615 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25616 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25618 (getRegion): Likewise.
25619 (createUI): Likewise.
25620 (initialize): Likewise.
25621 (uninitialize): Likewise.
25622 (getDefaults): Likewise.
25624 (shouldUpdateStyleOnAncestorChanged): Likewise.
25625 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25627 (getPreferredSize): Likewise.
25628 (getMaximumSize): Likewise.
25629 (paintText): Likewise.
25630 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25632 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25634 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25636 * java/io/ObjectStreamConstants.java: Added since tag.
25637 (PROTOCOL_VERSION_1): Added javadoc.
25638 (PROTOCOL_VERSION_2): Likewise.
25639 * java/io/ObjectOutputStream.java:
25640 (setDefaultProtocolVersion): Removed.
25641 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25643 2006-03-21 Lillian Angel <langel@redhat.com>
25645 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25646 (BMPInfoHeader): Removed debug lines.
25647 * gnu/javax/imageio/bmp/EncodeRLE4.java
25648 (encode): Implemented.
25649 (uncompress): New function implemented to
25650 uncompress the image before encoding.
25651 * gnu/javax/imageio/bmp/EncodeRLE8.java
25652 (encode): Implemented.
25653 (uncompress): New function implemented to
25654 uncompress the image before encoding.
25656 2006-03-21 Roman Kennke <kennke@aicas.com>
25658 * javax/swing/text/html/FormView.java
25659 (getImageData): New helper method.
25661 2006-03-21 Tom Tromey <tromey@redhat.com>
25663 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25665 (Unsafe): Now final.
25667 2006-03-21 Roman Kennke <kennke@aicas.com>
25669 * javax/swing/text/html/FormView.java
25670 (MouseEventListener): New inner class.
25672 2006-03-21 Roman Kennke <kennke@aicas.com>
25674 * javax/swing/text/html/ListView.java: New file.
25676 2006-03-21 Tom Tromey <tromey@redhat.com>
25678 * java/text/Bidi.java: Completed.
25680 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25682 * javax/swing/JTable.java:
25683 (columnAtPoint): Removed the null check, this method should throw a NPE
25684 if the argument is null.
25686 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25688 * javax/swing/text/DefaultHighlighter.java:
25689 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25691 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25693 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25694 the textcomponent having a selection.
25695 (clearSelection): Clear 'componentWithSelection' variable.
25696 (handleSelection): Clear selection of current component having a
25697 selection before setting a new selection in another component.
25698 (mouseDragged): Only react on left mouse button.
25699 (mouseClicked): Only react on left mouse button.
25701 2006-03-21 Roman Kennke <kennke@aicas.com>
25703 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25704 (paintContentBorderTopEdge): Implemented.
25705 (paintContentBorderBottomEdge): Implemented.
25706 (paintContentBorderLeftEdge): Implemented.
25707 (paintContentBorderRightEdge): Implemented.
25708 (isLastTabInRun): New helper method.
25710 2006-03-21 Roman Kennke <kennke@aicas.com>
25712 * javax/swing/JTabbedPane.java
25713 (Page.getForeground): Fall back to returning the tabbed pane's
25714 foreground if no foreground has been exclicitly set.
25716 2006-03-21 Roman Kennke <kennke@aicas.com>
25718 * javax/swing/plaf/metal/MetalComboBoxButton.java
25719 (setEnabled): Update colors of button correctly.
25720 * javax/swing/plaf/metal/MetalComboBoxUI.java
25721 (MetalPropertyChangeListener.propertyChange): Update the colors
25722 of the list and the button when any of the color properties
25723 of the ComboBox change.
25725 2006-03-21 Roman Kennke <kennke@aicas.com>
25727 * javax/swing/plaf/basic/BasicButtonUI.java
25728 (uninstallDefaults): Only nullify button colors if they are
25729 not UIResource instances.
25731 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25733 * javax/swing/JComponent.java
25734 (AccessibleJComponent.getAccessibleDescription): Call super,
25735 * javax/swing/JToolTip.java: API doc updates all over, plus
25736 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25737 (AccessibleJToolTip.getAccessibleRole): Implemented,
25738 (getAccessibleContext): Implemented,
25739 (paramString): Reimplemented,
25740 (setComponent): Fire PropertyChangeEvent,
25741 (setTipText): Likewise.
25743 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25745 * java/util/Formatter.java:
25746 Make the class final.
25748 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25750 * java/lang/System.java:
25751 (nanoTime()): Documented.
25752 * java/lang/Thread.java:
25753 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25754 Added docs and security check.
25755 (getUncaughtExceptionHandler()): Documented.
25756 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25757 Added docs and security check.
25758 (getDefaultUncaughtExceptionHandler()): Documented.
25759 (getId()): Documented.
25760 (Thread.State): Documented.
25761 * vm/reference/gnu/classpath/Unsafe.java:
25763 (getUnsafe()): Updated to handle security.
25765 2006-03-20 Tom Tromey <tromey@redhat.com>
25767 * java/lang/System.java:
25768 (nanoTime()): Implemented.
25769 * java/lang/Thread.java:
25770 (getId()): Implemented.
25771 * java/util/AbstractMap.java:
25772 (SimpleImmutableEntry): New 1.6 class.
25773 (BasicMapEntry): Modified to be SimpleEntry.
25774 * java/util/Collections.java:
25775 Modified to use SimpleEntry.
25776 * java/util/EnumMap.java: Likewise.
25777 * java/util/HashMap.java: Likewise.
25778 * java/util/Hashtable.java: Likewise.
25779 * java/util/TreeMap.java: Likewise.
25780 * vm/reference/gnu/classpath/Unsafe.java:
25781 New class to handle low-level facilities for concurrency.
25782 * vm/reference/java/lang/VMSystem.java:
25783 (nanoTime()): Implemented.
25785 2006-03-20 Tom Tromey <tromey@redhat.com>
25787 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25788 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25789 (CertStoreSpi): Updated throws clause.
25790 * java/security/cert/CertPathValidatorSpi.java: Added import for
25792 (engineValidate): Updated 'throws' clause.
25793 * java/security/cert/PKIXParameters.java: Javadoc fix.
25794 * java/security/cert/X509CertSelector.java
25795 (setAuthorityKeyIdentifier): Javadoc fix.
25797 2006-03-20 Tom Tromey <tromey@redhat.com>
25799 * .classpath: Build gnu.javax.swing.plaf.
25801 2006-03-20 Lillian Angel <langel@redhat.com>
25803 * gnu/javax/imageio/bmp/BMPDecoder.java:
25804 Removed unneeded import.
25805 * gnu/javax/imageio/bmp/BMPEncoder.java:
25807 * gnu/javax/imageio/bmp/BMPFileHeader.java
25808 (BMPFileHeader): New constructor used to create info header
25809 for an output stream.
25810 (write): Fixed indexes.
25811 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25812 Initialized writerSpiNames field.
25813 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25815 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25817 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25818 Change visibility for fields.
25819 (BMPInfoHeader): New constructor used to create
25820 file header for an output stream.
25821 (intToDWord): New method. Converts an int to a
25823 (intToWord): New method. Converts an int to a word.
25824 * gnu/javax/imageio/bmp/DecodeBF32.java:
25825 Removed unneeded imports.
25826 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25828 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25830 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25832 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25834 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25836 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25838 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25840 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25842 * javax/imageio/ImageIO.java:
25845 2006-03-20 Roman Kennke <kennke@aicas.com>
25847 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25848 (TabbedPaneLayout.normalizeTabRuns): New method.
25849 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25850 (paintTabBorder): Replaced if-else chain with switch.
25851 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25853 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25855 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25857 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25859 (paintTabBackground): Fetch background color from the TabbedPane.
25860 Fixed painting and improved by not using fillPolygon, and instead
25861 using fillRectangle. Replaced if-else chain with switch.
25862 (calculateMaxTabHeight): Added overridden method with FIXME.
25863 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25865 (paintContentBorderTopEdge): Added stub with FIXME.
25866 (paintContentBorderBottomEdge): Added stub with FIXME.
25867 (paintContentBorderLeftEdge): Added stub with FIXME.
25868 (paintContentBorderRightEdge): Added stub with FIXME.
25870 2006-03-20 Roman Kennke <kennke@aicas.com>
25872 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25873 (tabsOpaque): New field.
25874 (installDefaults): Fetch tabsOpaque property from UIManager.
25875 (paintTab): Fill tab background when tabsOpaque property is true.
25876 * javax/swing/plaf/basic/BasicLookAndFeel.java
25877 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25879 2006-03-20 Roman Kennke <kennke@aicas.com>
25881 * javax/swing/JTabbedPane.java
25882 (Pane.getBackground): When no background was explicitly set, return
25883 the JTabbedPane's background.
25885 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25887 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25888 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25889 * org/omg/CORBA/BAD_INV_ORDER.java,
25890 * org/omg/CORBA/BAD_CONTEXT.java,
25891 * org/omg/CORBA/BAD_OPERATION.java,
25892 * org/omg/CORBA/BAD_PARAM.java,
25893 * org/omg/CORBA/BAD_QOS.java,
25894 * org/omg/CORBA/BAD_TYPECODE.java,
25895 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25896 * org/omg/CORBA/COMM_FAILURE.java,
25897 * org/omg/CORBA/CurrentHolder.java,
25898 * org/omg/CORBA/DATA_CONVERSION.java,
25899 * org/omg/CORBA/FREE_MEM.java,
25900 * org/omg/CORBA/IMP_LIMIT.java,
25901 * org/omg/CORBA/INITIALIZE.java,
25902 * org/omg/CORBA/INTERNAL.java,
25903 * org/omg/CORBA/INTF_REPOS.java,
25904 * org/omg/CORBA/INVALID_ACTIVITY.java,
25905 * org/omg/CORBA/INVALID_TRANSACTION.java,
25906 * org/omg/CORBA/INV_FLAG.java,
25907 * org/omg/CORBA/INV_IDENT.java,
25908 * org/omg/CORBA/INV_OBJREF.java,
25909 * org/omg/CORBA/INV_POLICY.java,
25910 * org/omg/CORBA/MARSHAL.java,
25911 * org/omg/CORBA/NO_RESOURCES.java,
25912 * org/omg/CORBA/NO_MEMORY.java,
25913 * org/omg/CORBA/NO_IMPLEMENT.java,
25914 * org/omg/CORBA/NO_PERMISSION.java,
25915 * org/omg/CORBA/NO_RESPONSE.java,
25916 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25917 * org/omg/CORBA/OBJ_ADAPTER.java,
25918 * org/omg/CORBA/ParameterModeHolder.java,
25919 * org/omg/CORBA/PolicyError.java,
25920 * org/omg/CORBA/PolicyErrorHolder.java,
25921 * org/omg/CORBA/PolicyHolder.java,
25922 * org/omg/CORBA/PolicyListHolder.java,
25923 * org/omg/CORBA/REBIND.java,
25924 * org/omg/CORBA/TIMEOUT.java,
25925 * org/omg/CORBA/TRANSACTION_MODE.java,
25926 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25927 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25928 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25929 * org/omg/CORBA/TRANSIENT.java,
25930 * org/omg/CORBA/TypeCodeHolder.java,
25931 * org/omg/CORBA/UNKNOWN.java,
25932 * org/omg/CORBA/UnionMember.java,
25933 * org/omg/CORBA/UnknownUserException.java,
25934 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25935 * org/omg/CORBA/WrongTransactionHolder.java,
25936 * org/omg/IOP/IOR.java,
25937 * org/omg/IOP/IORHolder.java,
25938 * org/omg/IOP/MultipleComponentProfileHolder.java,
25939 * org/omg/IOP/ServiceContextHolder.java,
25940 * org/omg/IOP/ServiceContextListHolder.java,
25941 * org/omg/IOP/TaggedComponentHolder.java,
25942 * org/omg/IOP/TaggedProfileHolder.java,
25943 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25944 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25945 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25946 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25947 Made class final, various javadoc fixlets.
25948 * org/omg/CORBA/CompletionStatus.java,
25949 * org/omg/CORBA/PERSIST_STORE.java,
25950 * org/omg/CORBA/ValueMember.java,
25951 * org/omg/PortableInterceptor/ForwardRequest.java,
25952 * org/omg/PortableInterceptor/InvalidSlot.java,
25953 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25954 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25955 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25956 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25957 * org/omg/IOP/Encoding.java,
25958 * org/omg/IOP/TaggedComponent.java,
25959 * org/omg/IOP/TaggedProfile.java: Made class final.
25960 * org/omg/CORBA/SystemException.java: Made class abstract.
25961 * org/omg/CORBA/UserException.java: Made class abstract.
25962 (UserException): Now protected.
25963 (UserException(String)): Likewise.
25964 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25965 (typecode): Removed unused private variable.
25967 2006-03-20 Chris Burdess <dog@gnu.org>
25970 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25972 2006-03-20 Roman Kennke <kennke@aicas.com>
25974 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25975 (paintTabArea): Look up tab run indices in tabRuns array instead
25976 of using the index directly.
25978 2006-03-20 Roman Kennke <kennke@aicas.com>
25980 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25981 (paintTab): Fixed painting.
25982 (paintText): Fixed text painting.
25983 (paintFocusIndicator): Fixed painting of the focus rectangle.
25984 (paintContentBorder): Fixed painting of the content area.
25986 2006-03-20 Mark Wielaard <mark@klomp.org>
25988 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25989 static lock Object field.
25990 (produce): Synchronize on pixbufLock when calling initState(),
25991 pumpBytes() and pumpDone().
25992 (finalize): Likewise when calling finish().
25993 (GdkPixbufWriter.write): Likewise when calling streamImage().
25994 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25995 when calling loadPixbuf. Chain exception.
25996 (GtkImage(byte[])): Likewise when calling loadImageFromData.
25997 (GtkImage(URL)): Likewise.
25998 (GtkImage(int,int)): Likewise when calling createPixmap().
25999 (GtkImage(GtkImage,int,int,int)): Likewise when calling
26000 createScaledPixmap().
26001 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26002 (setImage): Likewise when calling createPixmap() and setPixels().
26003 (getSource): Likewise when calling getPixels().
26004 (flush): Likewise when calling freePixmap().
26005 (finalize): Likewise.
26006 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26007 drawPixelsScaledFlipped().
26008 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26009 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26010 gdk_threads_enter/leave().
26011 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26012 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26013 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26014 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26015 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26016 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26017 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26018 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26019 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26020 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26021 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26022 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26023 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26025 2006-03-20 Roman Kennke <kennke@aicas.com>
26027 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26028 (calculateTabHeight): Not need to use SwingUtilities here.
26029 (getTabInsets): Do not rotate insets.
26031 2006-03-20 Roman Kennke <kennke@aicas.com>
26033 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26034 (paint): Make sure the layout is valid before painting.
26035 (paintTabArea): Made tab painting more straightforward and efficient.
26037 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26039 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26040 (getScrollableUnitIncrement): Rewritten.
26041 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26042 (getScrollableUnitIncrement): Rewritten.
26043 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26044 (ROWS_PER_WHEEL_CLICK): New field.
26045 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26047 2006-03-20 Roman Kennke <kennke@aicas.com>
26049 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26050 (paint): Make sure the layout is valid before painting.
26051 (paintTabArea): Made tab painting more straightforward and efficient.
26053 2006-03-20 Roman Kennke <kennke@aicas.com>
26055 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26056 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26058 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26059 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26060 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26061 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26062 bounds here. That is moved into layoutContainer().
26063 (calculateSize): Correctly respect insets. Made code slightly more
26064 clear and efficient.
26065 (calculateTabRects): Rewritten completely. The old code was
26066 not quite right and unstable in some situations.
26067 (layoutContainer): Moved layout of tabbed pane's subcomponents
26069 (tabRunsDirty): New field.
26070 (rolloverTab): New field.
26071 (tabForCoordinate): Rewritten for simplicity and correctness.
26072 (setRolloverTab): New method.
26073 (getRolloverTab): New method.
26075 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26077 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26078 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26079 (getScrollableUnitIncrement
26080 * javax/swing/Scrollable.java: Documented.
26081 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26082 (MouseWheelHandler):Rewritten.
26084 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26086 * doc/vmintegration.texinfo:
26087 Updated with gnu.classpath.Unsafe
26089 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26092 Updated with VMArray and Unsafe changes.
26094 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26096 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26097 (getScrollableUnitIncrement): Rewritten.
26098 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26099 (getScrollableUnitIncrement): Rewritten.
26100 (getScrollableBlockIncrement): Rewritten.
26101 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26102 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26103 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26104 New field. (installListeners): Install wheel listeners.
26105 (uninstallListeners): Uninstall wheel listeners.
26106 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26107 of the MouseWheelListener. (installListeners): Do not install wheel
26108 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26110 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26112 * vm/reference/gnu/classpath/Unsafe.java:
26114 (getUnsafe()): Updated to handle security.
26116 2006-03-19 Tom Tromey <tromey@redhat.com>
26118 * vm/reference/gnu/classpath/Unsafe.java:
26119 New class to handle low-level facilities for concurrency.
26121 2006-03-19 Mark Wielaard <mark@klomp.org>
26123 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26124 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26125 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26126 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26128 2006-03-19 Mark Wielaard <mark@klomp.org>
26130 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26132 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26134 2006-03-19 Michael Koch <konqueror@gmx.de>
26136 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26137 resource/gnu/java/locale/LocaleInformation_am.properties,
26138 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26139 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26140 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26141 resource/gnu/java/locale/LocaleInformation_bg.properties,
26142 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26143 resource/gnu/java/locale/LocaleInformation_ca.properties,
26144 resource/gnu/java/locale/LocaleInformation_cs.properties,
26145 resource/gnu/java/locale/LocaleInformation_cy.properties,
26146 resource/gnu/java/locale/LocaleInformation_da.properties,
26147 resource/gnu/java/locale/LocaleInformation_de.properties,
26148 resource/gnu/java/locale/LocaleInformation_dv.properties,
26149 resource/gnu/java/locale/LocaleInformation_el.properties,
26150 resource/gnu/java/locale/LocaleInformation_en.properties,
26151 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26152 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26153 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26154 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26155 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26156 resource/gnu/java/locale/LocaleInformation_es.properties,
26157 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26158 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26159 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26160 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26161 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26162 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26163 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26164 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26165 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26166 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26167 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26168 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26169 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26170 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26171 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26172 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26173 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26174 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26175 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26176 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26177 resource/gnu/java/locale/LocaleInformation_fa.properties,
26178 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26179 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26180 resource/gnu/java/locale/LocaleInformation_fi.properties,
26181 resource/gnu/java/locale/LocaleInformation_fr.properties,
26182 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26183 resource/gnu/java/locale/LocaleInformation_ga.properties,
26184 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26185 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26186 resource/gnu/java/locale/LocaleInformation_hr.properties,
26187 resource/gnu/java/locale/LocaleInformation_hu.properties,
26188 resource/gnu/java/locale/LocaleInformation_id.properties,
26189 resource/gnu/java/locale/LocaleInformation_is.properties,
26190 resource/gnu/java/locale/LocaleInformation_it.properties,
26191 resource/gnu/java/locale/LocaleInformation_ja.properties,
26192 resource/gnu/java/locale/LocaleInformation_kk.properties,
26193 resource/gnu/java/locale/LocaleInformation_kl.properties,
26194 resource/gnu/java/locale/LocaleInformation_km.properties,
26195 resource/gnu/java/locale/LocaleInformation_ky.properties,
26196 resource/gnu/java/locale/LocaleInformation_lo.properties,
26197 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26198 resource/gnu/java/locale/LocaleInformation_lt.properties,
26199 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26200 resource/gnu/java/locale/LocaleInformation_lv.properties,
26201 resource/gnu/java/locale/LocaleInformation_mk.properties,
26202 resource/gnu/java/locale/LocaleInformation_mn.properties,
26203 resource/gnu/java/locale/LocaleInformation_mr.properties,
26204 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26205 resource/gnu/java/locale/LocaleInformation_ms.properties,
26206 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26207 resource/gnu/java/locale/LocaleInformation_mt.properties,
26208 resource/gnu/java/locale/LocaleInformation_nb.properties,
26209 resource/gnu/java/locale/LocaleInformation_nl.properties,
26210 resource/gnu/java/locale/LocaleInformation_nn.properties,
26211 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26212 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26213 resource/gnu/java/locale/LocaleInformation_pa.properties,
26214 resource/gnu/java/locale/LocaleInformation_pl.properties,
26215 resource/gnu/java/locale/LocaleInformation_pt.properties,
26216 resource/gnu/java/locale/LocaleInformation_ru.properties,
26217 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26218 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26219 resource/gnu/java/locale/LocaleInformation_sa.properties,
26220 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26221 resource/gnu/java/locale/LocaleInformation_sk.properties,
26222 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26223 resource/gnu/java/locale/LocaleInformation_sv.properties,
26224 resource/gnu/java/locale/LocaleInformation_sw.properties,
26225 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26226 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26227 resource/gnu/java/locale/LocaleInformation_te.properties,
26228 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26229 resource/gnu/java/locale/LocaleInformation_th.properties,
26230 resource/gnu/java/locale/LocaleInformation_ti.properties,
26231 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26232 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26233 resource/gnu/java/locale/LocaleInformation_tr.properties,
26234 resource/gnu/java/locale/LocaleInformation_tt.properties,
26235 resource/gnu/java/locale/LocaleInformation_uk.properties,
26236 resource/gnu/java/locale/LocaleInformation_ur.properties,
26237 resource/gnu/java/locale/LocaleInformation_uz.properties,
26238 resource/gnu/java/locale/LocaleInformation_zh.properties,
26239 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26240 More updates for CLDR 1.3.
26242 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26244 * doc/vmintegration.texinfo:
26245 Updated to include VMArray.
26246 * include/Makefile.am:
26247 Replace java_lang_reflect_Array.h with
26248 java_lang_reflect_VMArray.h
26249 * include/java_lang_reflect_VMArray.h:
26250 New autogenerated header.
26251 * include/java_lang_reflect_Array.h:
26253 * java/lang/reflect/Array.java:
26254 (newInstance(Class,int)): Calls VMArray.
26255 (createMultiArray(Class,int[],int)): Likewise.
26256 (createObjectArray(Class,int)): Removed.
26257 * native/jni/java-lang/Makefile.am:
26258 Replaced java_lang_reflect_Array.c with
26259 java_lang_reflect_VMArray.c
26260 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26261 Renamed from java_lang_reflect_Array.c.
26262 * vm/reference/java/lang/reflect/VMArray.java:
26263 (createObjectArray(Class,int)): Native method moved
26264 from java.lang.reflect.Array.
26266 2006-03-19 Roman Kennke <kennke@aicas.com>
26268 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26269 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26271 * examples/gnu/classpath/examples/swing/Demo.java
26272 (mkButtonBar): Hook up theme editor.
26273 (mkMenuBar): Hook up theme editor.
26275 2006-03-19 Roman Kennke <kennke@aicas.com>
26277 * javax/swing/plaf/basic/BasicFileChooserUI.java
26278 (ApproveSelectionAction.actionPerformed): Added case for when
26279 nothing has been selected but the user has typed a filename
26280 into the textfield.
26281 (getFileName): Return the value of the text field.
26283 2006-03-19 Roman Kennke <kennke@aicas.com>
26285 * javax/swing/JColorChooser.java
26286 (createDialog): Create JDialog instead of ModalDialog. Make this
26287 dialog modal by calling setModal(true).
26288 (ModalDialog): Removed unnecessary inner class.
26290 2006-03-19 Tom Tromey <tromey@redhat.com>
26292 * java/awt/font/NumericShaper.java: Rewrote.
26294 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26296 * javax/swing/plaf/basic/BasicTableUI.java:
26297 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26298 New field. MouseInputHandler.mouseWheelMoved): New method.
26299 (installListeners): Register MouseInputHandler as
26300 wheel listener also.
26302 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26305 * javax/swing/ViewportLayout.java (layoutContainer):
26306 If Scrollable tracks dimension, set view size to the port size.
26307 If port is larger than the view, move the view to the top/left.
26309 2006-03-19 Roman Kennke <kennke@aicas.com>
26311 * javax/swing/MenuSelectionManager.java
26312 (isComponentPartOfCurrentMenu): Also consider the first element
26313 in a menu selection list. Make a isDescendentFrom check instead
26314 of simple equals to also catch sub components.
26316 2006-03-19 Roman Kennke <kennke@aicas.com>
26318 * javax/swing/JComboBox.java
26319 (actionPerformed): Fetch selected item directly from the editor
26320 instead of trying to get it from the event.
26322 2006-03-19 Roman Kennke <kennke@aicas.com>
26324 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26325 (listener): Removed field.
26326 (BasicComboBoxEditor): Removed initialization of listener field.
26327 (addActionListener): Add listener directly to editor.
26328 (removeActionListener): Remove listener directly from editor.
26329 (ComboBoxEditorListener): Removed class.
26330 * javax/swing/plaf/basic/BasicComboBoxUI.java
26331 (getPreferredSize): Fixed to return the minimumSize.
26332 (getMinimumSize): Improved code for more clearness.
26333 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26334 (rectangleForCurrentValue): Correctly respect insets.
26335 (getDefaultSize): Return preferredSize here. Dont override height
26337 (getDisplaySize): Moved around code for more clearness. Added
26338 handling of prototype renderer.
26339 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26340 arrowButton bounds since the former depends on the latter.
26341 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26342 (MetalComboBoxButton): Make button rollover disabled.
26343 (isFocusTraversable): Return false unconditionally.
26344 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26345 (EditorTextField): New class. Fixes the size properties.
26346 (MetalComboBoxEditor): Create instance of EditorTextField.
26347 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26348 (getMinimumSize): Fixed editable size.
26350 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26352 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26354 2006-03-18 Roman Kennke <kennke@aicas.com>
26356 * javax/swing/plaf/metal/MetalToolBarUI.java
26357 (update): Added overridden method to support OceanTheme.
26359 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26361 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26362 Activate the cell editing on character keystroke.
26364 2006-03-18 Mark Wielaard <mark@klomp.org>
26366 * java/awt/Component.java (eventTypeEnabled): Handle
26367 MouseEvent.MOUSE_WHEEL.
26368 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26369 New callback method.
26370 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26371 (AWT_MOUSE_WHEEL): New constant.
26372 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26373 (postMouseWheelEventID): New static variable.
26374 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26375 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26376 (button_number): Renamed to ...
26377 (button_number_direction): variable to hold button number or scroll
26379 (component_button_press_cb): Use button_number_direction.
26380 (component_scroll_cb): New static callback function.
26382 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26384 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26385 Return without action.
26387 2006-03-18 Mark Wielaard <mark@klomp.org>
26389 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26390 Don't cast graphics object to GdkGraphics.
26391 (updateComponent): Likewise.
26393 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26395 * examples/gnu/classpath/examples/swing/TableDemo.java
26396 (TModel.getColumnClass): Set second column to Icon.
26397 (TModel.isCellEditable): Say icons are not editable.
26398 (createContent): Fill the in second column with some icons from
26401 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26403 * examples/gnu/classpath/examples/swing/Demo.java
26404 (mkButtonBar): Set maximal button bar height to the preferred height.
26406 2006-03-18 Roman Kennke <kennke@aicas.com>
26408 * javax/swing/plaf/basic/BasicComboPopup.java
26409 (show): Substract insets from scroller width.
26410 (getPopupHeightForRowCount): If height==0, return a default of 100
26411 instead for empty ComboBoxes.
26413 2006-03-18 Roman Kennke <kennke@aicas.com>
26415 * javax/swing/plaf/basic/BasicLookAndFeel.java
26416 (PopupHelper.autoClosePopups): Removed field.
26417 (PopupHelper.mousePressed): Removed processing of registered
26419 (registerForAutoClose): Removed unneeded method.
26420 (autoClosePopups): Removed unneeded method.
26421 (registerForAutoClose): Removed unneeded method.
26423 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26425 * javax.swing.JTable.java (TableTextField): Set border.
26426 (moveToCellBeingEdited): Do not adjust the editor boundaries
26428 2006-03-18 Michael Koch <konqueror@gmx.de>
26430 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26431 resource/gnu/java/locale/LocaleInformation_af.properties,
26432 resource/gnu/java/locale/LocaleInformation_am.properties,
26433 resource/gnu/java/locale/LocaleInformation_ar.properties,
26434 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26435 resource/gnu/java/locale/LocaleInformation_be.properties,
26436 resource/gnu/java/locale/LocaleInformation_bg.properties,
26437 resource/gnu/java/locale/LocaleInformation_bn.properties,
26438 resource/gnu/java/locale/LocaleInformation_ca.properties,
26439 resource/gnu/java/locale/LocaleInformation_cs.properties,
26440 resource/gnu/java/locale/LocaleInformation_cy.properties,
26441 resource/gnu/java/locale/LocaleInformation_da.properties,
26442 resource/gnu/java/locale/LocaleInformation_de.properties,
26443 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26444 resource/gnu/java/locale/LocaleInformation_dz.properties,
26445 resource/gnu/java/locale/LocaleInformation_en.properties,
26446 resource/gnu/java/locale/LocaleInformation_eo.properties,
26447 resource/gnu/java/locale/LocaleInformation_es.properties,
26448 resource/gnu/java/locale/LocaleInformation_et.properties,
26449 resource/gnu/java/locale/LocaleInformation_eu.properties,
26450 resource/gnu/java/locale/LocaleInformation_fa.properties,
26451 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26452 resource/gnu/java/locale/LocaleInformation_fi.properties,
26453 resource/gnu/java/locale/LocaleInformation_fo.properties,
26454 resource/gnu/java/locale/LocaleInformation_fr.properties,
26455 resource/gnu/java/locale/LocaleInformation_ga.properties,
26456 resource/gnu/java/locale/LocaleInformation_gl.properties,
26457 resource/gnu/java/locale/LocaleInformation_gu.properties,
26458 resource/gnu/java/locale/LocaleInformation_he.properties,
26459 resource/gnu/java/locale/LocaleInformation_hi.properties,
26460 resource/gnu/java/locale/LocaleInformation_hr.properties,
26461 resource/gnu/java/locale/LocaleInformation_hu.properties,
26462 resource/gnu/java/locale/LocaleInformation_hy.properties,
26463 resource/gnu/java/locale/LocaleInformation_id.properties,
26464 resource/gnu/java/locale/LocaleInformation_is.properties,
26465 resource/gnu/java/locale/LocaleInformation_it.properties,
26466 resource/gnu/java/locale/LocaleInformation_ja.properties,
26467 resource/gnu/java/locale/LocaleInformation_ka.properties,
26468 resource/gnu/java/locale/LocaleInformation_km.properties,
26469 resource/gnu/java/locale/LocaleInformation_ko.properties,
26470 resource/gnu/java/locale/LocaleInformation_lo.properties,
26471 resource/gnu/java/locale/LocaleInformation_lt.properties,
26472 resource/gnu/java/locale/LocaleInformation_lv.properties,
26473 resource/gnu/java/locale/LocaleInformation_mk.properties,
26474 resource/gnu/java/locale/LocaleInformation_mr.properties,
26475 resource/gnu/java/locale/LocaleInformation_ms.properties,
26476 resource/gnu/java/locale/LocaleInformation_mt.properties,
26477 resource/gnu/java/locale/LocaleInformation_nb.properties,
26478 resource/gnu/java/locale/LocaleInformation_nl.properties,
26479 resource/gnu/java/locale/LocaleInformation_nn.properties,
26480 resource/gnu/java/locale/LocaleInformation_om.properties,
26481 resource/gnu/java/locale/LocaleInformation_pl.properties,
26482 resource/gnu/java/locale/LocaleInformation_ps.properties,
26483 resource/gnu/java/locale/LocaleInformation_pt.properties,
26484 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26485 resource/gnu/java/locale/LocaleInformation_ro.properties,
26486 resource/gnu/java/locale/LocaleInformation_ru.properties,
26487 resource/gnu/java/locale/LocaleInformation_sk.properties,
26488 resource/gnu/java/locale/LocaleInformation_sl.properties,
26489 resource/gnu/java/locale/LocaleInformation_so.properties,
26490 resource/gnu/java/locale/LocaleInformation_sq.properties,
26491 resource/gnu/java/locale/LocaleInformation_sr.properties,
26492 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26493 resource/gnu/java/locale/LocaleInformation_sv.properties,
26494 resource/gnu/java/locale/LocaleInformation_sw.properties,
26495 resource/gnu/java/locale/LocaleInformation_ta.properties,
26496 resource/gnu/java/locale/LocaleInformation_te.properties,
26497 resource/gnu/java/locale/LocaleInformation_th.properties,
26498 resource/gnu/java/locale/LocaleInformation_tr.properties,
26499 resource/gnu/java/locale/LocaleInformation_uk.properties,
26500 resource/gnu/java/locale/LocaleInformation_uz.properties,
26501 resource/gnu/java/locale/LocaleInformation_vi.properties,
26502 resource/gnu/java/locale/LocaleInformation_zh.properties,
26503 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26504 Updated to use the new localized strings for currencies, languages,
26505 variants, territories, etc.
26507 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26509 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26510 (start, end): Added comment about the negative values of them,
26511 (finish): Saves the input text in matchedCharIndexed,
26512 (toString): If the start or end index is out of bounds of the
26513 matched text, get the substring from matchedCharIndexed.
26514 Added special handlings in case start/end index < -1,
26515 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26516 Added special handlings in case start/end index < -1,
26517 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26518 found match, but keep the index as the original match.
26519 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26520 found match, but keep the index as the original match.
26521 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26522 in case start/end index < -1.
26524 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26526 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26529 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26531 * javax/swing/text/DefaultCaret.java:
26532 (mouseClicked) Use setDot() and moveDot() instead of
26533 JTextComponent.select().
26535 2006-03-17 Roman Kennke <kennke@aicas.com>
26537 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26538 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26539 border painting for the Ocean theme.
26540 (MetalComboBoxEditor): Create editor directly instead of going
26543 2006-03-17 Roman Kennke <kennke@aicas.com>
26545 * javax/swing/text/JTextComponent.java
26546 (JTextComponent): Make text components opaque.
26548 2006-03-17 Roman Kennke <kennke@aicas.com>
26550 * javax/swing/plaf/metal/MetalComboBoxUI.java
26551 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26553 (MetalPropertyChangeListener.propertyChange): Update focusable
26554 flag according to the enable and editable state.
26555 (editablePropertyChanged): Removed unnecessary code.
26556 (getMinimumSize): Rewritten to correctly compute the
26557 size, respecting the insets of the components and the icon,
26558 the visual properties of the combobox, etc.
26559 (configureEditor): Update listeners correctly.
26560 (unconfigureEditor): Update listeners correctly.
26561 (layoutComboBox): Implemented.
26563 2006-03-17 Roman Kennke <kennke@aicas.com>
26565 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26566 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26567 instead of Flush3DBorder.
26568 (paintBorder): Fixed border painting.
26569 (editorBorderInsets): Fixed border's insets.
26571 2006-03-17 Roman Kennke <kennke@aicas.com>
26573 * javax/swing/plaf/metal/MetalComboBoxButton.java
26574 (rendererPane): Documented.
26575 (MetalComboBoxButton): Set enabled flag from ComboBox.
26576 Set focusable flag from ComboBox's enabled flag.
26577 (isFocusTraversable): Make button focus traversable if
26578 ComboBox is not editable but enable.
26579 (paintComponent): Fixed painting to correctly adjust
26580 the boxes of the renderer and button.
26582 2006-03-17 Roman Kennke <kennke@aicas.com>
26584 * javax/swing/plaf/basic/BasicButtonUI.java
26585 (installDefaults): Only install UI margin if installed margin.
26586 is null or a UIResource.
26587 (uninstallDefaults): Only uninstall margin if it's
26590 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26592 * javax/swing/text/DefaultCaret.java:
26593 (mouseClicked) Use setDot() and moveDot() instead of
26594 JTextComponent.select().
26596 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26598 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26599 inner classes into package-private inner classes, added actions
26600 for caret movement and selection to the next and previous word
26601 and an action which selects the whole text.
26603 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26605 * javax/swing/Spring.java: Uncomment springdebug methods and
26606 rename them toString.
26607 * javax/swing/SpringLayout.java: Likewise.
26609 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26611 * javax/swing/text/FieldView.java:
26612 (viewToModel): Added call to adjust allocation area.
26614 2006-03-17 Roman Kennke <kennke@aicas.com>
26616 * javax/swing/plaf/basic/BasicComboBoxUI.java
26617 (mouseListener): Removed field.
26618 (buttonBackground): Removed field.
26619 (buttonShadow): Removed field.
26620 (buttonDarkShadow): Removed field.
26621 (buttonHighlight): Removed field.
26622 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26623 (installUI): Initialize and configure renderer and editor here.
26624 (uninstallUI): Close popup before uninitializing.
26625 Message popup that we are uninitializing. Clear layout.
26626 (installDefaults): Install UI border. Don't install colors.
26627 (installListeners): Install listeners fetched from the popup.
26628 Remove handling of mouseListener.
26629 (uninstallDefaults): Uninstall border. Don't handle colors.
26630 (uninstallListeners): Don't handle mouseListener. Uninstall
26631 listener from the popup.
26632 (createMouseListener): Removed method.
26633 (createRenderer): Create UIResource.
26634 (installComponents): Cleaned up.
26635 (uninstallComponents): Only remove renderer when it is
26637 (addEditor): Remove editor before adding new one.
26638 Fetch editor from comboBox.
26639 (removeEditor): Only do something when editor != null. Unconfigure
26640 editor before removing.
26641 (configureEditor): Add key listener. Call comboBox.configureEditor.
26642 (unconfigureEditor): Removed key listener.
26643 (configureArrowButton): Only handle when arrowButton != null.
26644 Add mouse listeners to arrow button.
26645 (unconfigureArrowButton): Remove listeners.
26646 (createArrowButton): Don't handle colors here.
26647 (setPopupVisible): Don't handle focus here.
26648 (paint): Only paint when comboBox is not editable. Update
26650 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26651 (getMinimumSize): Respect insets here.
26652 (getMaximumSize): Return preferredSize with width of 32767.
26653 (getInsets): Return ComboBox insets.
26654 (paintCurrentValue): Paint using currentValuePane.
26655 Install correct colors. Don't revalidate.
26656 (paintCurrentValueBackground): Implemented.
26657 (getDefaultSize): Reimplemented using a default renderer.
26658 (getDisplaySize): Reimplemented to use renderer.
26659 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26660 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26661 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26662 (FocusHandler.focusGained): Don't invalidate minimumSize.
26663 (FocusHandler.focusLost): Don't invalidate minimumSize.
26664 Only close popup if focus change is not temporary.
26665 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26666 Reconfigure editor if not null.
26667 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26668 editor if necessary.
26669 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26670 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26671 (MouseHandler): Removed unnecessary class.
26673 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26675 * examples/gnu/classpath/examples/swing/Demo.java:
26676 (Demo): Set default closing operation to shutdown the runtime.
26678 2006-03-17 Roman Kennke <kennke@aicas.com>
26680 * javax/swing/plaf/basic/BasicComboPopup.java
26681 (BasicComboPopup): Create listeners here.
26682 Configure components here.
26683 (show): Correctly calculate bounds using computePopupBounds().
26684 Make scroller fixed-size. Removed special autocloser handling.
26685 (hide): Rewritten to use MenuSelectionHandler.
26686 (createList): Don't set selection mode here.
26687 (configureList): Correctly install colors and fonts and selectionMode.
26688 (createScroller): Set scrollpane policies.
26689 (configureScroller): Make scroller and scrollbar not-focusable.
26690 (configurePopup): Make popup opaque and borderPainted.
26691 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26692 (delegateFocus): Implemented.
26693 (convertMouseEvent): Implemented.
26694 (updateListBoxSelectionForEvent): Implemented to also handle
26696 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26697 Only open popup on left mouse-click.
26698 (InvocationMouseHandler.mouseReleased): Rewritten.
26699 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26700 support autoscrolling.
26701 (ItemHandler.itemStateChanged): Implemented to sync selection with
26703 (ListMouseHandler.mouseReleased): Fetch selected index directly
26705 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26707 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26708 When model changes, then update listeners correctly.
26709 (uninstallListeners): Don't uninstall list listeners.
26710 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26712 (syncSelection): New helper method.
26714 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26716 * javax/swing/text/PlainView.java:
26717 (drawLine): Rewritten.
26718 (drawSelectedText): Corrected last argument for
26719 Utilities.drawTabbedText() call.
26720 (paint): Store start and end of selection in object variables,
26721 store constant values of for-loop in local variables.
26722 * javax/swing/text/Utilities.java:
26723 (drawTabbedText): Add 'pixelWidth' to the return value, store
26724 constant value of for-loop in local variable.
26726 2006-03-17 Roman Kennke <kennke@aicas.com>
26728 * javax/swing/plaf/basic/BasicComboPopup.java
26729 (BasicComboPopup): Create listeners here.
26730 Configure components here.
26731 (show): Correctly calculate bounds using computePopupBounds().
26732 Make scroller fixed-size. Removed special autocloser handling.
26733 (hide): Rewritten to use MenuSelectionHandler.
26734 (createList): Don't set selection mode here.
26735 (configureList): Correctly install colors and fonts and selectionMode.
26736 (createScroller): Set scrollpane policies.
26737 (configureScroller): Make scroller and scrollbar not-focusable.
26738 (configurePopup): Make popup opaque and borderPainted.
26739 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26740 (delegateFocus): Implemented.
26741 (convertMouseEvent): Implemented.
26742 (updateListBoxSelectionForEvent): Implemented to also handle
26744 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26745 Only open popup on left mouse-click.
26746 (InvocationMouseHandler.mouseReleased): Rewritten.
26747 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26748 support autoscrolling.
26749 (ItemHandler.itemStateChanged): Implemented to sync selection with
26751 (ListMouseHandler.mouseReleased): Fetch selected index directly
26753 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26755 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26756 When model changes, then update listeners correctly.
26757 (uninstallListeners): Don't uninstall list listeners.
26758 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26760 (syncSelection): New helper method.
26762 2006-03-17 Roman Kennke <kennke@aicas.com>
26764 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26765 (noFocusBorder): Make border with insets of (1,1,1,1).
26766 (BasicComboBoxRenderer): Make renderer opaque.
26767 No need to explicitly set alignment.
26768 (getListCellRendererComponent): Rewritten to correctly initialize
26771 2006-03-17 Roman Kennke <kennke@aicas.com>
26773 * javax/swing/JPopupMenu.java
26774 (setVisible): Handle JPopupMenu opening and closing via
26775 the MenuSelectionHandler.
26777 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26779 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26780 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26781 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26783 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26784 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26785 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26786 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26787 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26788 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26789 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26790 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26791 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26792 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26794 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26796 * java/rmi/activation/Activatable.java: Implemented.
26797 java/rmi/activation/ActivationDesc.java: Implemented.
26798 java/rmi/activation/ActivationGroup.java: Implemented.
26799 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26800 java/rmi/activation/ActivationID.java: Implemented.
26801 java/rmi/activation/ActivationSystem.java: Implemented.
26802 * gnu/java/rmi/server/UnicastServerRef.java
26803 (exportObject, incommingMessageCall): Documented.
26804 * java/rmi/activation/package.html: Documented.
26805 * java/rmi/server/ObjID.java (objNum, space): Made package
26807 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26808 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26810 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26811 gnu/java/rmi/activation/BidiTable.java: New file.
26812 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26813 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26814 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26816 2006-03-17 Mark Wielaard <mark@klomp.org>
26818 * java/security/BasicPermission.java (BasicPermission): Check
26819 name equals empty string to force NullPointerException.
26821 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26824 Commit patch by Caolan McNamara <caolanm@redhat.com>
26825 * javax/swing/Spring.java: Complete implementation
26826 * javax/swing/SpringLayout.java: Likewise.
26828 2006-03-16 Keith Seitz <keiths@redhat.com>
26830 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26832 (run): Remove catch clause for InterruptedException. It is no
26835 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26837 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26838 (getFontMetrics): Handle monospaced fonts specially.
26840 2006-03-16 Keith Seitz <keiths@redhat.com>
26842 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26843 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26844 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26845 Don't suspend the current thread unless it is not part of the JDWP
26848 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26850 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26852 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26853 font metrics through toolkit.
26854 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26856 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26857 (getFontMetrics): To calculate Java logical ascent and descent
26858 values, average Pango ink and logical values.
26860 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26862 * java/lang/Character.java: Updated header comment.
26864 2006-03-16 Tom Tromey <tromey@redhat.com>
26866 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26868 * javax/sound/sampled/FloatControl.java: Now abstract.
26869 * javax/sound/sampled/EnumControl.java: Now abstract.
26870 * javax/sound/sampled/CompoundControl.java: Now abstract.
26871 * javax/sound/sampled/BooleanControl.java: Now abstract.
26873 2006-03-16 Tom Tromey <tromey@redhat.com>
26875 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26877 2006-03-16 Roman Kennke <kennke@aicas.com>
26879 * java/util/zip/ZipFile.java
26880 (openFile): New helper method.
26881 (ZipFile): Use new openFile method to ensure the proper
26882 exception is thrown. This applies for all overloaded constructors.
26884 2006-03-16 Roman Kennke <kennke@aicas.com>
26886 * java/text/DateFormatSymbols.java
26887 (setAmPmStrings): Added null check and throw NPE.
26888 (setEras): Likewise.
26889 (setLocalPatternChars): Likewise.
26890 (setMonths): Likewise.
26891 (setShortMonths): Likewise.
26892 (setShortWeekdays): Likewise.
26893 (setWeekdays): Likewise.
26894 (setZoneStrings): Likewise.
26896 2006-03-16 Roman Kennke <kennke@aicas.com>
26898 * javax/swing/DefaultDesktopManager.java
26899 (iconifyFrame): Repaint after removing the frame.
26900 (removeIconFor): Repaint after removing the icon.
26902 2006-03-16 Roman Kennke <kennke@aicas.com>
26904 * javax/swing/JInternalFrame.java
26905 (remove): Respect the rootPaneCheckingEnabled flag here.
26907 2006-03-16 Roman Kennke <kennke@aicas.com>
26909 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26910 Moved from examples into gnu.javax.swing.. namespace.
26911 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26912 Moved to gnu.javax.swing.. namespace.
26913 * examples/gnu/classpath/examples/swing/Demo.java:
26914 (themesMenu): New field. Used to disable theme switch in
26916 (mkMenuBar): Added L&F menu.
26917 (ChangeThemeAction.actionPerformed): Only switch theme when
26919 (ChangeLAFAction): New class used for changing themes.
26920 * javax/swing/UIManager.java
26921 (installed): Added GNU L&F as installed L&F.
26923 2006-03-16 Mark Wielaard <mark@klomp.org>
26925 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26926 * examples/gnu/classpath/examples/icons/badge.png: Added.
26927 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26928 from icon directory.
26930 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26932 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26934 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26935 * examples/gnu/classpath/examples/awt/Demo.java: Add
26936 AnimationApplet demo.
26937 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26940 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26943 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26945 (handleEvent): Likewise.
26946 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26948 (beginNativeRepaint): Remove method.
26949 (endNativeRepaint): Likewise.
26950 (handleEvent): Call paintComponent and updateComponent.
26951 (paintComponent): New method.
26952 (updateComponent): Likewise.
26953 (repaint): Return early if width or height is less than one.
26954 (postExposeEvent): Remove isInRepaint reference.
26955 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26957 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26958 from GtkWindowPeer.
26959 (postMouseEvent): Likewise.
26960 (postExposeEvent): Likewise.
26961 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26962 Override to do nothing.
26963 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26964 from GtkWindowPeer.
26965 (postMouseEvent): Likewise.
26966 (postExposeEvent): Likewise.
26967 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26968 paint and update handling from GtkComponentPeer.
26969 (updateComponent): Override to call paintComponent.
26970 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26971 gdk_flush calls with schedule_flush calls.
26972 (flush): New function.
26973 (schedule_flush): Likewise.
26975 2006-03-15 Tom Tromey <tromey@redhat.com>
26977 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26979 (BCSIterator): Likewise.
26980 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26982 (BCSSProxyServiceProvider): Likewise.
26983 (BCSSServiceProvider): Likewise.
26985 2006-03-15 Tom Tromey <tromey@redhat.com>
26987 * javax/sound/midi/Track.java (Track): New constructor.
26988 (events): Now package-private.
26989 * javax/sound/midi/MidiUnavailableException.java
26990 (MidiUnavailableException): Removed invalid constructors.
26991 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26992 * javax/sound/midi/InvalidMidiDataException.java
26993 (InvalidMidiDataException): Removed invalid constructors.
26994 * javax/sound/midi/Sequencer.java (hashCode): Now final.
26995 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26996 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26997 (SYSTEM_EXCLUSIVE): Removed.
26998 (getDataLength): Updated.
26999 * javax/sound/midi/MidiDevice.java (Info): Now protected.
27000 (equals): Now final
27001 (getName): Now final.
27002 (getVendor): Now final.
27003 (getDescription): Likewise.
27004 (hashCode): Likewise.
27005 (getVersion): Likewise.
27006 (toString): Likewise.
27007 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27008 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27009 (getEarlyReflectionDelay): Likewise.
27010 (getEarlyReflectionIntensity): Likewise.
27011 (getLateReflectionDelay): Likewise.
27012 (getLateReflectionIntensity): Likewise.
27013 (toString): Likewise.
27014 * javax/sound/sampled/Port.java (toString): Now final.
27015 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27016 (getLine): Likewise.
27017 (getType): Likewise.
27018 * javax/sound/sampled/Mixer.java (Info): Now protected.
27019 (getDescription): Now final.
27020 (getName): Likewise.
27021 (getVendor): Likewise.
27022 (getVersion): Likewise.
27023 (toString): Likewise.
27024 * javax/sound/sampled/Control.java: Now abstract.
27025 (Type.toString): Now final.
27027 2006-03-15 Keith Seitz <keiths@redhat.com>
27029 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27030 of this redundant variable.
27031 (LineTable): Assert that the number of line numbers and the number of
27032 code indicies is the same.
27034 2006-03-15 Tom Tromey <tromey@redhat.com>
27036 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27038 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27040 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27041 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27042 * java/util/zip/Inflater.java (end): Not deprecated.
27043 * java/util/zip/Deflater.java (end): Not deprecated.
27044 * java/text/Bidi.java (Bidi): Now final.
27045 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27047 2006-03-15 Keith Seitz <keiths@redhat.com>
27049 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27050 (Location): Index is a long, not an int.
27051 (getMethod): New method.
27052 (getIndex): New method.
27053 (toString): New method.
27055 2006-03-15 Tom Tromey <tromey@redhat.com>
27057 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27058 * java/awt/image/LookupOp.java (filter): Now final.
27059 (getBounds2D): Likewise.
27060 (getPoint2D): Likewise.
27061 (getTable): Likewise.
27062 (getRenderingHints): Likewise.
27063 * java/awt/image/ConvolveOp.java (filter): Now final.
27064 (getBounds2D): Likewise.
27065 (getKernel): Likewise.
27066 (getPoint2D): Likewise.
27067 (getRenderingHints): Likewise.
27068 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27069 (getMatrix): Likewise.
27070 (getBounds2D): Likewise.
27071 (getRenderingHints): Likewise.
27072 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27073 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27075 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27077 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27079 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27081 2006-03-15 Keith Seitz <keiths@redhat.com>
27083 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27085 (matches): Implement.
27087 2006-03-15 Keith Seitz <keiths@redhat.com>
27089 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27091 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27093 2006-03-15 Tom Tromey <tromey@redhat.com>
27095 * java/lang/StrictMath.java (signum): New methods.
27097 2006-03-15 Tom Tromey <tromey@redhat.com>
27099 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27101 2006-03-15 Lillian Angel <langel@redhat.com>
27104 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27105 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27106 Added check to avoid segmentation fault.
27108 2006-03-15 Lillian Angel <langel@redhat.com>
27110 * java/awt/Container.java
27111 (getComponentAt): Fixed documentation.
27112 (getComponentAt): Likewise.
27114 2006-03-15 Roman Kennke <kennke@aicas.com>
27116 * javax/swing/JComponent.java
27117 (dragBuffer): New field.
27118 (dragBufferInitialized): New field.
27119 (paint): Added facility for buffered dragging of components.
27120 (initializeDragBuffer): New method.
27121 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27123 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27124 (BorderListener.mouseDragged): Turn on buffered dragging.
27125 (BorderListener.mouseReleased): Turn off buffered dragging.
27127 2006-03-15 Lillian Angel <langel@redhat.com>
27129 * java/awt/Container.java
27130 (getComponentAt): Fixed documentation.
27131 (getComponentAt): Likewise.
27132 (findComponentAt): Likewise.
27133 (findComponentAt): Likewise.
27135 2006-03-15 Roman Kennke <kennke@aicas.com>
27137 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27138 (PropertyChangeHandler.propertyChange): Call enableActions().
27139 Fixed 'iconable' property name.
27141 2006-03-15 Chris Burdess <dog@gnu.org>
27144 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27146 2006-03-15 Roman Kennke <kennke@aicas.com>
27148 * examples/gnu/classpath/examples/swing/Demo.java:
27149 (desktop): New field.
27150 (mkMenuBar): Added new subdemos.
27151 (mkButtonWorld): Removed.
27152 (CheckCellRenderer): Moved to ListDemo.
27153 (LabelCellRenderer): Moved to ListDemo.
27154 (mkTreeWorld): Moved to TreeDemo.
27155 (mkDesktopWorld): Removed.
27156 (mkTabWorld): Moved to TabbedPaneDemo.
27157 (mkTabbedPane): Removed.
27158 (Demo): Replaced 'worlds' tabbed pane with desktop.
27159 (PopupAction): Made class non-static.
27160 (PopupAction.actionPerformed): Bring up subdemos in internal
27162 (mkButtonBar): Added new demos.
27163 (createDesktop): New method.
27164 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27165 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27166 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27167 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27168 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27170 2006-03-15 Lillian Angel <langel@redhat.com>
27172 * java/awt/Container.java
27173 (getComponentAt): Fixed mistake in comments.
27174 (getComponentAt): Likewise.
27175 (locate): Likewise. Also, handled lightweight components.
27176 Heavyweights take precedence over lightweights, so we should
27177 iterate through the heavyweights first.
27179 2006-03-15 Lillian Angel <langel@redhat.com>
27181 * java/awt/Container.java
27182 (getComponentAt): Added API documentation.
27183 (getComponentAt): Likewise.
27184 (locate): Likewise. Also, removed lines to ignore
27185 invisible components.
27186 (findComponentAt): Added API documentation.
27187 (findComponentAt): Added API documentation.
27188 (findComponentForMouseEvent): Removed, never used.
27190 2006-03-15 Roman Kennke <kennke@aicas.com>
27192 * javax/swing/Popup.java
27193 (LightweightPopup.show): Repaint the panel after showing it.
27195 2006-03-15 Lillian Angel <langel@redhat.com>
27197 * java/awt/Component.java
27198 (show): repaint should only be called if the component
27199 isShowing and isLightweight.
27201 2006-03-15 Roman Kennke <kennke@aicas.com>
27203 * javax/swing/JInternalFrame.java
27204 (setClosable): Made this property bound.
27205 (setResizable): Made this property bound.
27206 (setIconifiable): Made this property bound.
27207 (setMaximizable): Made this property bound.
27209 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27211 * javax/swing/table/TableColumn.java
27212 (sizeWidthToFit): Implemented.
27214 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27216 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27217 (setIdentifier): Fire required PropertyChangeEvent,
27218 (setCellEditor): Likewise.
27220 2006-03-15 Roman Kennke <kennke@aicas.com>
27222 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27223 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27224 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27225 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27226 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27227 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27228 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27229 * examples/gnu/classpath/examples/swing/TableDemo.java,
27230 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27231 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27232 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27233 * examples/gnu/classpath/examples/swing/Demo.java:
27234 Cleaned up. Reworked handling of Sub-demos to load lazily.
27235 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27236 New interface. Used for loading the subdemos lazily.
27238 2006-03-15 Roman Kennke <kennke@aicas.com>
27240 * javax/swing/plaf/basic/BasicToolBarUI.java
27241 (PropertyListener.propertyChange): Added null check to avoid NPE.
27243 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27245 * javax/swing/table/TableColumn.java
27246 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27248 (minWidth): Likewise,
27249 (preferredWidth): Likewise,
27250 (maxWidth): Likewise,
27251 (headerRenderer): Likewise,
27252 (cellRenderer): Likewise,
27253 (cellEditor): Likewise,
27254 (changeSupport): Likewise,
27255 (firePropertyChange(String, Object, Object)): Removed,
27256 (firePropertyChange(String, int. int)): Likewise,
27257 (firePropertyChange(String, boolean, boolean)): Likewise,
27258 (setModelIndex): Fire property change,
27259 (setHeaderValue): Call changeSupport directly to generate event,
27260 (setHeaderRenderer): Likewise,
27261 (setCellRenderer): Likewise,
27262 (setWidth): Likewise,
27263 (setPreferredWidth): Likewise,
27264 (setMinWidth): Likewise,
27265 (setMaxWidth): Likewise,
27266 (createDefaultHeaderRenderer): Added API docs.
27268 2006-03-14 Roman Kennke <kennke@aicas.com>
27270 * examples/gnu/classpath/examples/swing/Demo.java
27271 Removed static initializer.
27272 (mkMenuBar): Made method non-static. Added themes menu.
27273 (ChangeThemeAction): New inner class, used to change themes.
27275 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27277 * javax/swing/table/TableColumn.java
27278 (setMaxWidth): Updated width and preferredWidth if necessary,
27279 (getMaxWidth): Updated API docs.
27281 2006-03-14 Roman Kennke <kennke@aicas.com>
27283 * javax/swing/plaf/basic/BasicSliderUI.java
27284 (TrackListener.mouseDragged): Only process event when slider is
27286 (TrackListener.mouseReleased): Only process event when slider is
27288 (TrackListener.mousePressed): Only process event when slider is
27291 2006-03-14 Roman Kennke <kennke@aicas.com>
27293 * NEWS: Added note about OceanTheme support.
27295 2006-03-14 Roman Kennke <kennke@aicas.com>
27297 * javax/swing/plaf/metal/MetalIconFactory.java
27298 (HorizontalSliderThumbIcon.gradientMask): New field
27299 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27301 (VerticalSliderThumbIcon.gradientMask): New field
27302 (VerticalSliderThumbIcon.paintIcon): Added support for the
27304 * javax/swing/plaf/metal/MetalUtils.java
27305 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27306 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27308 2006-03-14 Mark Wielaard <mark@klomp.org>
27311 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27312 of handleMouseEvent.
27313 (handleMouseEvent): Return boolean to indicate whether we handled the
27314 event by passing it to a lightweight.
27316 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27318 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27319 * org/omg/PortableServer/ServantActivatorPOA.java,
27320 * org/omg/PortableServer/ServantLocatorPOA.java:
27321 Make class abstract and minor api docs fixlets.
27322 * org/omg/PortableServer/ForwardRequest.java,
27323 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27324 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27325 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27326 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27327 * org/omg/PortableServer/POAPackage/NoServant.java,
27328 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27329 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27330 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27331 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27332 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27333 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27334 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27335 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27336 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27337 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27339 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27341 * NEWS: Added entry about printing support.
27343 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27345 * javax/swing/table/TableColumn.java
27346 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27347 (isResizable): Likewise,
27348 (setWidth): Likewise,
27349 (getWidth): Likewise,
27350 (setPreferredWidth): Likewise,
27351 (getPreferredWidth): Likewise,
27352 (setMinWidth): Check for negative argument and update width and
27353 preferredWidth if necessary,
27354 (getMinWidth): Updated API docs.
27356 2006-03-14 Lillian Angel <langel@redhat.com>
27358 * java/awt/Container.java
27359 (addImpl): Removed call to repaint. No need to repaint here.
27361 2006-03-14 Roman Kennke <kennke@aicas.com>
27363 * javax/swing/plaf/metal/MetalSliderUI.java
27364 (paintTrack): Added OceanTheme support.
27366 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27368 * javax/swing/table/TableColumn.java
27369 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27370 (isResizable): Updated API docs.
27372 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27374 * javax/swing/LookAndFeel.java: Updated API docs.
27376 2006-03-14 Roman Kennke <kennke@aicas.com>
27378 * javax/swing/plaf/metal/MetalUtils.java
27379 (paintGradient): Added support for 'masked' gradients.
27380 (paintHorizontalGradient): Likewise.
27381 (paintVerticalGradient): Likewise.
27382 * javax/swing/plaf/metal/MetalIconFactory.java
27383 (RadioButtonIcon.gradientMask): New field.
27384 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27386 2006-03-14 Mark Wielaard <mark@klomp.org>
27389 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27391 (removeActionListener): Add listener to ComboBoxEditorListener.
27392 (removeActionListener): Remove listener from ComboBoxEditorListener.
27393 (ComboBoxEditorListener): New static helper class.
27395 2006-03-14 Roman Kennke <kennke@aicas.com>
27397 * javax/swing/plaf/metal/MetalBorders.java
27398 (getToolBarButtonBorder): Don't create a UIResource border
27400 * javax/swing/plaf/metal/MetalToolBarUI.java
27401 (installUI): New overridden method. Installs the rollover property.
27402 (uninstallUI): New overridden method. Resets the rollover property.
27403 * javax/swing/plaf/metal/MetalUtils.java
27404 (paintGradient): Fetch Float values from the UIManager. Adjusted
27405 method signatures accordingly.
27406 (paintHorizontalGradient): Adjusted signature to accept float
27408 (paintVerticalGradient): Adjusted signature to accept float
27410 * javax/swing/plaf/metal/OceanTheme.java
27411 (addCustomEntriesToTable): Added missing UIDefaults entries,
27412 except of Icons. Fixed gradient entries to use Float instead
27415 2006-03-14 Roman Kennke <kennke@aicas.com>
27417 * javax/swing/JInternalFrame.java
27418 (JInternalFrame): Make JInternalFrame opaque.
27419 * javax/swing/JToolBarFrame.java
27420 (JToolBar): Make JToolBar opaque.
27422 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27424 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27425 * javax/swing/tree/TreePath.java: Likewise.
27427 2006-03-13 Tom Tromey <tromey@redhat.com>
27429 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27431 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27432 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27434 2006-03-13 Keith Seitz <keiths@redhat.com>
27436 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27437 (executeMethods): Output number of methods.
27439 2006-03-13 Roman Kennke <kennke@aicas.com>
27441 * javax/swing/plaf/basic/BasicButtonUI.java
27442 (uninstallDefaults): Only uninstall border if it's a UIResource.
27443 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27444 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27445 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27446 (installUI): Don't touch the opaque flag of the glassPane and
27447 the frame. Don't invalidate.
27448 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27449 (installUI): Don't touch the opaque flag of the glassPane.
27450 * javax/swing/plaf/basic/BasicMenuBarUI.java
27451 (properyChangeListener): Made field private.
27452 (ChangeHandler): Made class private.
27453 (ContainerHandler): Made class private.
27454 (PropertyChangeHandler): Made class private.
27455 * javax/swing/plaf/basic/BasicMenuUI.java
27456 (MenuHandler): Made class private.
27457 (PropertyChangeHandler): Removed unneeded class.
27458 (MenuDragMouseHandler): Made class private.
27459 (MenuKeyHandler): Made class private.
27460 * javax/swing/plaf/basic/BasicPanelUI.java
27461 (installDefaults): Made method protected. Don't set opaque
27463 * javax/swing/plaf/basic/BasicScrollBarUI.java
27464 (TrackListener.shouldScroll): Made method private.
27465 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27466 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27467 Made constructor package private.
27468 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27469 (cellBorder): Made field private.
27470 * javax/swing/plaf/basic/BasicTextUI.java
27471 (installDefaults): Don't make component opaque.
27472 * javax/swing/plaf/basic/BasicToolBarUI.java
27473 (createNonRollOverBorder): Don't create UIResource border.
27474 (createRollOverBorder): Don't create UIResource border.
27475 (installComponents): Moved setRolloverBorders call here.
27476 (installDefaults): Moved setRolloverBorders call from here.
27477 (installUI): Don't make toolbar opaque.
27478 (setBorderToNonRollover): Handle AbstractButton instead of
27480 (uninstallComponents): Don't nullify class fields here.
27482 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27484 * javax/swing/SwingUtilities.java
27485 (calculateInnerArea): handle null component, and replace
27486 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27489 2006-03-13 Roman Kennke <kennke@aicas.com>
27491 * javax/swing/JColorChooser.java
27492 (updateUI): Don't call revalidate().
27493 * javax/swing/JComboBox.java
27494 (updateUI): Don't call invalidate().
27495 * javax/swing/JDesktopPane.java
27496 (updateUI): Don't call invalidate().
27497 * javax/swing/JFileChooser.java
27498 (updateUI): Don't call revalidate().
27499 * javax/swing/JMenu.java
27500 (updateUI): Don't call invalidate().
27501 * javax/swing/JMenuBar.java
27502 (updateUI): Don't call invalidate().
27503 * javax/swing/JMenuItem.java
27504 (updateUI): Don't call invalidate().
27505 * javax/swing/JOptionPane.java
27506 (updateUI): Don't call invalidate().
27507 * javax/swing/JPopupMenu.java
27508 (updateUI): Don't call invalidate().
27509 * javax/swing/JProgressBar.java
27510 (updateUI): Don't call invalidate().
27511 * javax/swing/JScrollBar.java
27512 (updateUI): Don't call invalidate() and repaint().
27513 * javax/swing/JScrollPane.java
27514 (updateUI): Rewritten to be like the other updateUI()
27516 * javax/swing/JSlider.java
27517 (updateUI): Don't call invalidate() and repaint().
27518 * javax/swing/JSplitPane.java
27519 (updateUI): Don't call invalidate() and repaint().
27520 * javax/swing/JTabbedPane.java
27521 (updateUI): Don't call invalidate().
27522 * javax/swing/JTable.java
27523 (updateUI): Don't call revalidate() and repaint().
27524 * javax/swing/JToolBar.java
27525 (updateUI): Don't call revalidate() and repaint().
27526 * javax/swing/JToolTip.java
27527 (updateUI): Don't call revalidate() and repaint().
27529 2006-03-13 Roman Kennke <kennke@aicas.com>
27531 * javax/swing/SwingUtilities.java
27532 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27533 menus and non-Swing components is improved.
27534 (updateComponentTreeUIImpl): New helper method.
27535 (replaceUIActionMap): Added check for uiActionMap==parent to
27537 (replaceUIInputMap): Added check for uiInputMap==parent to
27540 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27542 * gnu/classpath/debug/Component.java:
27543 (IPP) New component for IPP debugging.
27544 (EVERYTHING): Adapted to include IPP.
27545 * javax/print/PrintServiceLookup.java:
27546 (registerServiceProvider): New method.
27547 (registerService): Likewise.
27548 (lookupPrintServices): Likewise.
27549 (lookupMultiDocPrintServices): Likewise.
27550 (lookupDefaultPrintService): Likewise.
27551 (static_initializer): Likewise.
27552 (printServiceLookups): New field for found service providers.
27553 (printServices): New field for application registered providers.
27554 (systemProvider): New field for the system provider.
27555 * javax/print/ServiceUI.java: New file.
27556 * javax/print/package.html: Added more usage content.
27557 * javax/print/event/package.html: Likewise.
27558 * javax/print/attribute/package.html: Likewise.
27559 * javax/print/attribute/standard/package.html: Likewise.
27560 * gnu/javax/print/PrintUriException.java,
27561 gnu/javax/print/PrintFlavorException.java,
27562 gnu/javax/print/PrinterDialog.java,
27563 gnu/javax/print/PrintAttributeException.java,
27564 gnu/javax/print/CupsPrintServiceLookup.java,
27565 gnu/javax/print/CupsServer.java,
27566 gnu/javax/print/CupsPrintService.java,
27567 gnu/javax/print/CupsMediaMapping.java,
27568 gnu/javax/print/CupsIppOperation.java:
27569 New implementation files of the Java Print Service API.
27570 * gnu/javax/print/ipp/IppValueTag.java,
27571 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27572 gnu/javax/print/ipp/IppStatusCode.java,
27573 gnu/javax/print/ipp/IppUtilities.java,
27574 gnu/javax/print/ipp/IppResponse.java,
27575 gnu/javax/print/ipp/IppException.java,
27576 gnu/javax/print/ipp/IppPrintService.java,
27577 gnu/javax/print/ipp/IppRequest.java,
27578 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27579 gnu/javax/print/ipp/IppDelimiterTag.java,
27580 gnu/javax/print/ipp/DocPrintJobImpl.java:
27581 New files of the IPP client implementation.
27582 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27583 gnu/javax/print/ipp/attribute/StatusMessage.java,
27584 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27585 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27586 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27587 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27588 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27589 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27590 New attribute syntax/role files of the printing implementation.
27591 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27592 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27593 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27594 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27595 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27596 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27597 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27598 gnu/javax/print/ipp/attribute/supported/
27599 OrientationRequestedSupported.java,
27600 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27601 gnu/javax/print/ipp/attribute/supported/
27602 MultipleDocumentHandlingSupported.java,
27603 gnu/javax/print/ipp/attribute/supported/
27604 MultipleDocumentJobsSupported.java,
27605 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27606 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27607 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27608 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27609 gnu/javax/print/ipp/attribute/supported/
27610 GeneratedNaturalLanguageSupported.java,
27611 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27612 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27613 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27614 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27615 New supported attribute files.
27616 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27617 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27618 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27619 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27620 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27621 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27622 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27623 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27624 New printer description attribute files.
27625 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27626 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27627 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27628 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27629 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27630 gnu/javax/print/ipp/attribute/job/JobId.java,
27631 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27632 gnu/javax/print/ipp/attribute/job/JobUri.java,
27633 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27634 New job description attribute files.
27635 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27636 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27637 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27638 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27639 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27640 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27641 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27642 gnu/javax/print/ipp/attribute/defaults/
27643 MultipleDocumentHandlingDefault.java,
27644 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27645 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27646 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27647 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27648 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27649 New default printing attribute files.
27650 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27651 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27652 * examples/gnu/classpath/examples/print/Demo.java:
27653 New demo application of the current implemented functionality.
27655 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27657 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27658 java/rmi/activation/ActivationDesc.java.java,
27659 java/rmi/activation/ActivationGroup.java,
27660 java/rmi/activation/ActivationID.java,
27661 java/rmi/activation/ActivationMonitor.java,
27662 java/rmi/activation/ActivationSystem.java,
27663 java/rmi/activation/package.html: Documenting.
27665 2006-03-13 Roman Kennke <kennke@aicas.com>
27667 * javax/swing/JInternalFrame.java
27668 (setSelected): Repaint frame when it is showing and the selection
27671 2006-03-13 Roman Kennke <kennke@aicas.com>
27673 * javax/swing/AbstractButton.java
27674 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27677 2006-03-13 Roman Kennke <kennke@aicas.com>
27679 * javax/accessibility/AccessibleContext.java
27680 (getAccessibleRelationSet): Return empty set instead of null.
27682 2006-03-13 Roman Kennke <kennke@aicas.com>
27684 * javax/swing/ImageIcon.java
27685 (loadImage): Remove completed images from the MediaTracker. This
27686 avoids a potential memory leak.
27688 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27690 * javax/print/MultiDocPrintService.java,
27691 * javax/print/MultiDocPrintJob.java,
27692 * javax/print/MultiDoc.java: Added and enhanced documentation.
27694 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27696 * java/rmi/activation/ActivationID.java (uid): New field.
27697 (writeExternal, readExternal): New methods.
27698 (equals, hashCode): Rewritten.
27699 * java/rmi/activation/ActivationInstantiator.java,
27700 * java/rmi/activation/ActivationSystem.java,
27701 * java/rmi/activation/Activator.java,
27702 * java/rmi/activation/Activatable.java,
27703 * java/rmi/activation/ActivationGroup.java,
27704 * java/rmi/activation/ActivationGroupDesc.java:
27705 Documented and autoformatted.
27706 * java/rmi/activation/package.html: Added content.
27708 2006-03-12 Chris Burdess <dog@gnu.org>
27711 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27712 encoding are specified.
27714 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27716 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27717 (changeEvent): Initialise in fireStateChange(),
27718 (setSelectedIndex): Check if change is made before firing event,
27719 (clearSelection): Delegate to setSelectedIndex(),
27720 (fireStateChanged): Initialise changeEvent if necessary,
27721 * javax/swing/SingleSelectionModel.java: API docs all over.
27723 2006-03-11 Tom Tromey <tromey@redhat.com>
27725 * java/util/zip/InflaterInputStream.java: Reverted previous
27728 2006-03-11 Mark Wielaard <mark@klomp.org>
27730 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27733 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27735 * javax/swing/event/TreeSelectionEvent.java
27736 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27737 not one of the added/removed paths,
27738 (cloneWithSource): Reformatted.
27740 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27742 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27743 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27745 2006-03-10 Casey Marshall <csm@gnu.org>
27748 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27750 (doFinal, update): new methods.
27751 (init, init, init, init): initialize `state' after trying the
27752 implementation, which can throw an exception.
27753 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27756 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27758 * gnu/regexp/BacktrackStack.java: New file.
27759 * gnu/regexp/RE.java(findMatch): New method.
27760 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27761 REMatchList): Removed. (backtrackStack): New field.
27762 * gnu/regexp/REToken.java(match): Changed from an abstract
27763 method to an ordinary method defined with the new method
27764 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27765 findFixedLengthMatches, backtrack, toString): New methods.
27766 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27767 * gnu/regexp/RETokenBackRef.java: Likewise.
27768 * gnu/regexp/RETokenChar.java: Likewise.
27769 * gnu/regexp/RETokenEnd.java: Likewise.
27770 * gnu/regexp/RETokenEndSub.java: Likewise.
27771 * gnu/regexp/RETokenIndependent.java: Likewise.
27772 * gnu/regexp/RETokenLookAhead.java: Likewise.
27773 * gnu/regexp/RETokenLookBehind.java: Likewise.
27774 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27775 * gnu/regexp/RETokenPOSIX.java: Likewise.
27776 * gnu/regexp/RETokenRange.java: Likewise.
27777 * gnu/regexp/RETokenStart.java: Likewise.
27778 * gnu/regexp/RETokenWordBoundary.java: Likewise
27779 * gnu/regexp/RETokenOneOf.java: Rewriten.
27780 * gnu/regexp/RETokenRepeated.java: Rewriten.
27782 2006-03-10 Roman Kennke <kennke@aicas.com>
27784 * javax/swing/plaf/metal/MetalBorders.java
27785 (RolloverButtonBorder.paintBorder): Only call super here.
27786 * javax/swing/plaf/metal/MetalButtonListener.java
27787 (propertyChange): Only call super here.
27788 * javax/swing/plaf/metal/MetalButtonUI.java
27789 (update): Changed condition from isOpaque() to isContentAreaFilled()
27790 for the gradient fill.
27791 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27792 (paintText): API doc fix. Makes paintText not deprecated as specified
27793 but adds comment that this is obsolete.
27794 * javax/swing/plaf/metal/MetalUtils.java
27795 (fillMetalPattern): Fixed condition so that the Java2D is not
27796 used when the noGraphics2D property is set.
27798 2006-03-10 Roman Kennke <kennke@aicas.com>
27800 * javax/swing/plaf/metal/MetalLookAndFeel.java
27801 (createDefaultTheme): Set OceanTheme as default metal theme.
27803 2006-03-10 Roman Kennke <kennke@aicas.com>
27805 * javax/swing/text/WrappedPlainView.java
27806 (metrics): Made field package private to avoid accessor method.
27807 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27808 The drawLine (righly) interprets the y parameter as the baseline.
27809 * javax/swing/text/Utilities.java
27810 (getBreakLocation): Don't consider the offset. The returned value
27811 for getTabbedTextOffset is already relative to the offset.
27813 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27815 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27816 (dateFormat): Made private.
27817 (put): Replace only the last occurance and the value.
27818 (putAll): Save one iteration. Clarified documentation.
27820 2006-03-10 Tom Tromey <tromey@redhat.com>
27822 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27824 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27827 2006-03-10 Lillian Angel <langel@redhat.com>
27829 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27830 (comboboxgroup_get_widget): New function.
27831 (removed): Fixed to use new function to get the correct widget.
27832 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27833 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27836 2006-03-10 Lillian Angel <langel@redhat.com>
27838 * java/awt/GridBagLayout.java
27839 (ArrangeGrid): Added checks to determine if component
27840 is placed last in a row or column. If so, the location
27841 of the last component should be used to get the location
27842 of the current component.
27844 2006-03-10 Lillian Angel <langel@redhat.com>
27846 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27847 (nativeSetCheckboxGroup): No need to use new function here.
27848 Should just pass in pointer.
27850 2006-03-10 Lillian Angel <langel@redhat.com>
27852 * java/awt/GridBagLayout.java
27853 (distributeSizeAndWeight): Change else if to else. This
27854 allows for components to be added to a new row when
27855 their gridheight is REMAINDER.
27857 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27859 * java/rmi/activation/ActivationDesc.java,
27860 java/rmi/activation/ActivationGroupID.java,
27861 java/rmi/activation/Activator.java,
27862 java/rmi/server/Operation.java,
27863 java/rmi/server/RemoteServer.java: Documented and formatted.
27865 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27867 * javax/swing/JToggleButton.java: Fixed API doc tags,
27868 * javax/swing/OverlayLayout.java: Likewise.
27870 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27872 * javax/swing/DefaultCellEditor.java
27873 (cancelCellEditing): Removed spurious API doc tag.
27875 2006-03-10 Lillian Angel <langel@redhat.com>
27877 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27878 (create): Put checkbox widget into an event box so it paints properly.
27879 (connectSignals): Fixed to use new function.
27880 (nativeSetCheckboxGroup): Likewise.
27881 (gtkToggleButtonSetActive): Likewise.
27882 (gtkWidgetModifyFont): Likewise.
27883 (gtkButtonSetLabel): Likewise.
27884 (combobox_get_widget): New function.
27886 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27888 * javax/swing/text/rtf/package.html: New file.
27890 2006-03-10 Roman Kennke <kennke@aicas.com>
27892 * javax/swing/plaf/metal/OceanTheme.java
27893 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27894 * javax/swing/plaf/metal/MetalScrollBarUI.java
27895 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27896 (paintThumbHorizontal): Added handling of OceanTheme.
27897 (paintThumbVertical): Added handling of OceanTheme.
27899 2006-03-10 Roman Kennke <kennke@aicas.com>
27901 Reported by Fridjof Siebert <siebert@aicas.com>
27902 * java/awt/MediaTracker.java
27903 (removeImage): Only set prev to e when the the images of the
27904 entries are not the same. This avoids a potentially corrupt list.
27906 2006-03-10 Chris Burdess <dog@gnu.org>
27909 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27910 checking while reindenting.
27912 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27914 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27916 2006-03-09 Tom Tromey <tromey@redhat.com>
27918 PR classpath/26585:
27919 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27920 subdir. Added README.
27921 (install-data-local): Removed.
27922 (uninstall-local): Likewise.
27923 (EXTRA_DIST): Removed.
27925 2006-03-09 Tom Tromey <tromey@redhat.com>
27927 PR classpath/26623:
27928 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27930 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27932 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27934 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27936 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27938 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27940 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27942 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27944 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27946 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27948 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27949 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27951 2006-03-09 Keith Seitz <keiths@redhat.com>
27953 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27954 (executeVariableTable): Use VMMethod instead of reflection.
27955 (executeLineTable): Likewise.
27956 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27957 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27958 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27959 (getLineTable): Removed. Now resides in VMMethod.
27960 (getVarTable): Likewise.
27961 (getAllClassMethods): New method.
27963 2006-03-09 Keith Seitz <keiths@redhat.com>
27965 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27966 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27967 (ThreadStartEvent): Likewise.
27968 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27969 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27970 (ConditionalFilter): Likewise.
27971 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27972 (ExceptionOnlyFilter): Likewise.
27973 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27974 (FieldOnlyFilter): Likewise.
27975 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27976 (getSize): Likewise.
27977 (StepFilter): Likewise.
27978 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27979 * gnu/classpath/jdwp/transport/JdwpPacket.java
27980 (JdwpPacket): Likewise.
27981 (fromBytes): Likewise.
27982 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27983 (JdwpReplyPacket): Likewise.
27984 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27985 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27986 (getReferenceType): Likewise.
27987 (newObjectId): Likewise.
27988 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27989 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27990 (getFrames): Fix typo in parameter name and update javadoc.
27991 (getClassMethod): Update javadoc.
27993 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
27995 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27996 * javax/swing/event/TreeSelectionListener.java: Likewise.
27998 2006-03-09 Lillian Angel <langel@redhat.com>
28000 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28001 (getHScrollbarHeight): Fixed property name.
28002 (getVScrollbarHeight): Likewise.
28004 2006-03-09 Lillian Angel <langel@redhat.com>
28006 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28007 (get_widget): New function.
28008 (gtkWidgetSetParent): Changed to use new function.
28009 (gtkWidgetSetCursorUnlocked): Likewise.
28010 (gtkWidgetSetSensitive): Likewise.
28011 (gtkWidgetRequestFocus): Likewise.
28012 (gtkWindowGetLocationOnScreen): Likewise.
28013 (gtkWidgetGetDimensions): Likewise.
28014 (gtkWidgetGetPreferredDimensions): Likewise.
28015 (setNativeBounds): Likewise.
28016 (gtkWidgetGetBackground): Likewise.
28017 (gtkWidgetGetForeground): Likewise.
28018 (gtkWidgetSetBackground): Likewise.
28019 (gtkWidgetSetForeground): Likewise.
28020 (setVisibleNativeUnlocked): Likewise.
28021 (isEnabled): Likewise.
28022 (isRealized): Likewise.
28023 (setNativeEventMask): Likewise.
28025 2006-03-09 Lillian Angel <langel@redhat.com>
28028 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28029 (create): Added combobox widget to an event box.
28030 (connectSignals): Added call to choice_get_widget to get the
28031 combobox out of the event box.
28032 (append): Likewise.
28033 (nativeRemoveAll): Likewise.
28034 (nativeRemove): Likwise.
28035 (nativeAdd): Likewise.
28036 (selectNative): Likewise.
28037 (choice_get_widget): New function.
28038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28039 (create): Added list scroll window widget to an event box.
28040 (connectSignals): Changed call to use new function to get the
28041 correct widget out of the event box.
28042 (getWidgetModifyFont): Likewise.
28043 (getWidgetRequestFocus): Likewise.
28044 (append): Likewise.
28046 (delItems): Likewise.
28047 (select): Likewise.
28048 (deselect): Likewise.
28049 (getSize): Likewise.
28050 (getSelectedIndexes): Likewise.
28051 (makeVisible): Likewise.
28052 (setMultipleMode): Likewise.
28053 (list_get_widget): New function.
28054 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28055 (create): Added scrollpane to an eventbox.
28056 (setScrollPosition): Changed call to use new function to get the
28057 correct widget out of the event box.
28058 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28059 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28060 (getHScrollbarHeight): Likewise.
28061 (getVScrollbarWidth): Likewise.
28062 (setPolicy): Likewise.
28063 (scrollpane_get_widget): New function.
28064 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28065 (connectSignals): Changed call to use new function to get the
28066 correct widget out of the event box.
28067 (create): Added scrollbar to an eventbox.
28068 (setLineIncrement): Changed call to use new function to get the
28069 correct widget out of the event box.
28070 (setPageIncrement): Likewise.
28071 (setBarValues): Likewise.
28072 (scrollbar_get_widget): New function.
28073 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28074 (create): Added text area scroll window widget to an event box.
28075 (connectSignals): Changed call to use new function to get the
28076 correct widget out of the event box.
28077 (insert): Likewise.
28078 (replaceRange): Likewise.
28079 (gtkWidgetModifyFont): Likewise.
28080 (gtkWidgetRequestFocus): Likewise.
28081 (getHScrollbarHeight): Likewise.
28082 (getVScrollbarWidth): Likewise.
28083 (getCaretPosition): Likewise.
28084 (setCaretPosition):Likewise.
28085 (getSelectionStart): Likewise.
28086 (getSelectionEnd): Likewise.
28087 (select): Likewise.
28088 (setEditable): Likewise.
28089 (getText): Likewise.
28090 (setText): Likewise.
28091 (textarea_get_widget): New function.
28093 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28095 * java/rmi/dgc/VMID.java:
28096 (equals, hashCode, static initializer): Rewritten.
28097 * java/rmi/dgc/package.html: Documented.
28099 2006-03-09 Mark Wielaard <mark@klomp.org>
28101 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28103 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28104 (canCache): Likewise.
28105 (GtkClipboard): Take String argument.
28106 (getInstance): Removed.
28107 (getClipboardInstance, getSelectionInstance): New static methods.
28108 (setSystemContents): Make synchronized. Takes boolean argument.
28109 (initNativeState): Add clipboard and selection.
28110 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28111 (announceClipboardChange, announcePrimaryChange): New static field.
28112 (announce): Take GtkClipboard as argument.
28113 (run): Check which clipboard to announce change for.
28114 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28116 (GtkSelection): Take GtkClipboard as argument.
28117 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28118 clipboard argument.
28119 (requestMimeTypes): Likewise.
28120 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28122 * java/awt/Toolkit.java (getSystemSelection): Document.
28123 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28124 (cp_gtk_selection_instance): New var.
28125 (current_selection, owner): Removed.
28126 (clipboard_owner_change_cb): Use clipboard argument.
28127 (initNativeState): Store clipboard and selection instances. Cache
28128 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28130 (clipboard_get_func): Use clipboard argument.
28131 (clipboard_clear_func): Likewise. Always call method.
28132 (advertiseContent): Don't cache method ids here. Check whether to
28133 use clpboard or selection. Don't set owner or current_selection.
28134 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28135 (requestText, requestImage, requestURIs, requestBytes): Use extra
28136 boolean argument to select clipboard.
28137 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28138 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28139 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28140 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28142 2006-03-09 Keith Seitz <keiths@redhat.com>
28144 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28145 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28146 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28147 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28148 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28149 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28150 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28151 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28152 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28154 2006-03-09 Mark Wielaard <mark@klomp.org>
28156 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28157 bounds for index is valid.
28158 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28160 (getCellBounds): Update documentation.
28162 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28164 * .classpath: added exclude pattern on source folders
28165 (Makefiles, README and .cvsignore)
28167 2006-03-08 Michael Koch <konqueror@gmx.de>
28169 * java/net/Proxy.java (NO_PROXY): Made final.
28170 (equals): Likewise.
28171 (hashCode): Likewise.
28173 2006-03-08 Keith Seitz <keiths@redhat.com>
28175 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28176 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28177 (getClassMethod): New method.
28179 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28181 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28183 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28185 * java/rmi/server/ObjID.java: Documented and autoformatted.
28187 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28190 * tools/Makefile.am (install-data-local,
28191 uninstall-local): Install/uninstall the tools/README only.
28192 * tools/gnu/classpath/tools/giop/README: Updated.
28193 * tools/README: New file.
28195 2006-03-08 Lillian Angel <langel@redhat.com>
28197 * java/awt/GridBagLayout.java
28198 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28199 then the next item should be set to current_y (not 0).
28201 2006-03-08 Lillian Angel <langel@redhat.com>
28203 * java/awt/GridBagLayout.java
28204 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28205 in the bottom-most spot of the column, we need to place that component
28206 at the y-location of the other components in that row. If there are
28207 no other components in that row, then place it at y = 0.
28209 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28211 * javax/swing/ProgressMonitor.java: Updated API docs,
28212 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28214 2006-03-08 Michael Koch <konqueror@gmx.de>
28216 * java/net/InetSocketAddress.java
28217 (InetSocketAddress(String,int,resolve)): New private contructor.
28218 (InetSocketAddress(String,int)): Use new private constructor.
28219 (createUnresolved): New method.
28221 2006-03-07 Michael Koch <konqueror@gmx.de>
28223 * gnu/java/net/DefaultProxySelector.java,
28224 java/net/Proxy.java, java/net/ProxySelector.java:
28227 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28229 * java/rmi/server/UID.java (constructor): Assign last and time fields
28232 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28234 * java/rmi/server/UID.java: New file (replacing).
28236 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28238 * java/util/jar/Manifest.java: Removed unused imports.
28239 (CRLF): New constant.
28240 (read): Added method documentation.
28241 Use UTF-8 encoding instead of 8859_1.
28242 (write): Added method documentation.
28243 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28244 (write_main_section): Replace PrintWriter arg with OutputStream.
28245 Replace JarException with IOException.
28246 (write_version_info): Likewise.
28247 (write_main_attributes): Likewise.
28248 (write_attribute_entry): Likewise.
28249 (write_individual_sections): Likewise.
28250 (write_entry_attributes): Likewise.
28251 (write_header): Replace PrintWriter arg with OutputStream.
28254 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28256 * javax/swing/tree/DefaultMutableTreeNode.java
28257 (getFirstChild): Updated API docs,
28258 (getLastChild): Likewise,
28259 (getChildAfter): Likewise,
28260 (getChildBefore): Likewise,
28261 (isNodeSibling): Return true if node == this,
28262 (getSiblingCount): Updated API docs,
28263 (getNextSibling): Likewise,
28264 (getPreviousSibling): Likewise,
28265 (isLeaf): Likewise,
28266 (getFirstLeaf): Likewise,
28267 (getLastLeaf): Likewise,
28268 (getNextLeaf): Implemented,
28269 (getPreviousLeaf): Implemented.
28271 2006-03-07 Tom Tromey <tromey@redhat.com>
28273 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28274 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28275 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28276 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28279 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28281 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28282 (clone): Reimplemented,
28283 (add): Throw IllegalArgumentException if child is an ancestor,
28284 (remove(int)): Set child's parent to null,
28285 (remove(MutableTreeNode)): Check arguments and set child's parent to
28287 (insert): Check allowsChildren flag, check for null argument, and
28288 check for a node that is an ancestor,
28289 (getIndex): Throw IllegalArgumentException for null argument,
28290 (setAllowsChildren): If setting to false, remove existing children,
28291 (removeAllChildren): Set parent to null for removed children.
28293 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28295 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28298 2006-03-06 Tom Tromey <tromey@redhat.com>
28300 * java/lang/StrictMath.java (ulp): New methods.
28301 * java/lang/Math.java (ulp): New methods.
28303 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28305 * gnu/java/rmi/server/UnicastRef.java,
28306 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28308 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28310 * gnu/java/rmi/server/CombinedClassLoader.java
28311 (findClass, findLibrary, findResouce, findResources): check
28312 all loaders in array.
28314 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28317 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28318 (RefProtector): new inner class. (dirty): Rewritten.
28319 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28320 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28321 new methods. (readExternal): Create LeaseRenewingTask if non local.
28322 * gnu/java/rmi/server/UnicastServer.java (objects):
28323 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28324 (getExported): New method.
28325 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28327 2006-03-06 Mark Wielaard <mark@klomp.org>
28329 * doc/www.gnu.org/announce/20060306.wml: New file.
28330 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28331 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28333 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28335 * javax/swing/plaf/metal/MetalLookAndFeel.java
28336 (initComponentDefaults): Use Boolean.TRUE for
28337 'CheckBoxMenuItem.borderPainted'.
28339 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28341 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28342 (dateFormat): Made private.
28343 (put): Replace only the last occurance and the value.
28344 (putAll): Reimplemented with the put method.
28346 2006-03-06 Lillian Angel <langel@redhat.com>
28349 * java/awt/List.java
28350 (preferredSize): Return the size of the list if the peer is
28352 * gnu/java/awt/peer/gtk/GtkListPeer.java
28353 (preferredSize): Code was returning the minimum size of the
28354 list. Added adjustment to the width of the list so it is a
28357 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28359 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28360 (getRequestProperty): Remove duplicated null check.
28361 * java/net/URLConnection.java:
28362 (URLConnection): Javadoc fix.
28363 (addRequestProperty): Likewise.
28364 (getDefaultRequestProperty): Likewise.
28365 (getHeaderField): Likewise.
28366 (getHeaderFieldDate): Likewise.
28367 (getHeaderFieldKey): Likewise.
28368 (getHeaderFields): Likewise.
28369 (getRequestProperties): Likewise.
28370 (getRequestProperty): Likewise.
28371 (setDefaultRequestProperty): Likewise.
28372 (setRequestProperty): Likewise.
28374 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28376 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28377 * examples/gnu/classpath/examples/swing/Demo.java:
28378 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28380 (mkMenuBar): Added entry for text area example.
28382 2006-03-06 Tom Tromey <tromey@redhat.com>
28384 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28385 (FORMATTED_TEXT_FIELD): Likewise.
28387 2006-03-06 Tom Tromey <tromey@redhat.com>
28389 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28391 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28393 * examples/gnu/classpath/examples/swing/Demo.java:
28394 (mkMenuBar): Added menu entry that will display the VM's name,
28395 version and distributor.
28397 2006-03-06 Tom Tromey <tromey@redhat.com>
28399 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28401 (getName): Likewise.
28403 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28405 * java/util/jar/Manifest.java: Removed unused imports.
28406 (CRLF): New constant.
28407 (read): Added method documentation.
28408 Use UTF-8 encoding instead of 8859_1.
28409 (write): Added method documentation.
28410 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28411 (write_main_section): Replace PrintWriter arg with OutputStream.
28412 Replace JarException with IOException.
28413 (write_version_info): Likewise.
28414 (write_main_attributes): Likewise.
28415 (write_attribute_entry): Likewise.
28416 (write_individual_sections): Likewise.
28417 (write_entry_attributes): Likewise.
28418 (write_header): Replace PrintWriter arg with OutputStream.
28421 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28424 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28425 API doc tag warnings,
28426 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28428 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28430 * gnu/java/net/protocol/file/Connection.java (unquote):
28431 Update position in buffer after decoding a unicode character
28432 outside of the basic plane.
28434 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28436 * java/net/URI.java
28437 (quote): Pass Unicode characters outside the basic plane through.
28439 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28441 * javax/swing/plaf/basic/BasicTextUI.java:
28442 (damageRange): Rewritten if-expressions to correctly identify the
28445 2006-03-06 Mark Wielaard <mark@klomp.org>
28447 * configure.ac: Set version to 0.90-generics.
28450 2006-03-06 Mark Wielaard <mark@klomp.org>
28452 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28453 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28454 (isnan): Define explicitly isnan if it is not a macro.
28456 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28458 * javax/swing/text/GapContent.java:
28459 (insertString): Throw exception when argument is below
28462 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28464 * javax/swing/text/PlainDocument.java:
28465 (insertUpdate): Extended if-expression, added
28466 code to generate another Element when newly inserted characters
28467 and old ones will be on the same line.
28469 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28471 * javax/swing/text/DefaultCaret.java:
28472 (mouseDragged): Do selection when shift is pressed.
28473 (mouseClicked): Implemented.
28475 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28477 * javax/swing/text/PlainDocument.java: Fix copyright header,
28479 (insertUpdate): Do not copy the whole document any more, added some
28480 more variables to prevent needless method calls.
28482 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28484 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28485 is required on Darwin.
28486 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28487 (AM_CFLAGS): Likewise.
28489 2006-03-06 Mark Wielaard <mark@klomp.org>
28491 * NEWS: Add updates for 0.90 release.
28493 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28495 * javax/swing/text/GapContent.java:
28496 (insertString): Throw exception when argument is below
28499 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28502 * javax/swing/filechooser/FileFilter.java:
28503 (accept): Fixed API doc tag,
28504 (getDescription): Likewise,
28505 * javax/swing/filechooser/FileView.java:
28506 (isTraversable): Fixed API doc tag.
28508 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28510 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28511 added API docs all over.
28513 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28515 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28516 and corrected a bad API doc tag.
28518 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28520 * javax/swing/undo/StateEditable.java
28521 (restoreState): Fixed bad API doc tag,
28522 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28523 AbstractUndoableEdit.java,
28524 * javax/swing/undo/UndoableEditSupport.java
28525 (createCompoundEdit): Fixed bad API doc tag,
28526 * javax/swing/undo/UndoManager.java
28527 (editToBeUndone): Fixed bad API doc tag,
28528 (editToBeRedone): Likewise.
28530 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28532 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28533 * javax/swing/FocusManager.java: Likewise.
28536 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28539 * javax/swing/plaf/metal/MetalComboBoxButton.java
28540 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28541 JList)): Fixed API doc tag,
28542 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28543 (createLayout): Fixed API doc warning.
28545 2006-03-05 Tom Tromey <tromey@redhat.com>
28547 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28548 ClassHelper.getUserName.
28549 * vm/reference/java/lang/reflect/Method.java (toString): Use
28550 ClassHelper.getUserName.
28551 (getUserTypeName): Removed.
28552 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28553 * vm/reference/java/lang/reflect/Field.java (toString): Use
28554 ClassHelper.getUserName.
28556 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28559 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28560 Allows directories as valid resources.
28562 2006-03-05 Mark Wielaard <mark@klomp.org>
28564 * configure.ac (VERSION): Set to 0.90-pre-generics.
28565 * Merge with CVS trunk from classpath-0_90-branch-point.
28567 2006-03-04 Tom Tromey <tromey@redhat.com>
28569 * javax/swing/SpringLayout.java (Constraints): New constructor.
28570 * javax/swing/Spring.java (width): New method.
28571 (height): Likewise.
28574 2006-03-04 Mark Wielaard <mark@klomp.org>
28576 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28577 existing connection from pool before returning.
28579 2006-03-04 Mark Wielaard <mark@klomp.org>
28581 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28582 exceptions thrown by handlers while cleaning up and rethrow original
28585 2006-03-04 Tom Tromey <tromey@redhat.com>
28587 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28589 (findConstructor): Likewise.
28590 (instantiateClass): Likewise.
28592 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28594 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28595 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28596 lease value and not always the default one.
28597 (LeaseRecord): Remember the array of objects, marked as dirty.
28598 java/rmi/dgc/Lease.java: Boilerplate fix.
28600 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28602 * java/util/jar/Attributes.java (putValue): Made it public and updated
28603 method documentation.
28605 2006-03-04 Mark Wielaard <mark@klomp.org>
28607 * java/awt/Container.java (remove(int)): Always call removeNotify()
28608 on removed Component.
28610 2006-03-04 Mark Wielaard <mark@klomp.org>
28612 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28613 * javax/swing/JEditorPane.java (setText): Check for empty String
28614 with equals(), not equality (==).
28616 2006-03-04 Mark Wielaard <mark@klomp.org>
28618 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28619 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28621 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28623 * javax/swing/text/GapContent.java
28624 (getArray): Mark as final.
28626 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28628 * javax/swing/text/StyleConstants.java
28629 (CharacterConstants.Background): Marked final,
28630 (CharacterConstants.BidiLevel): Likewise,
28631 (CharacterConstants.Bold): Likewise,
28632 (CharacterConstants.ComponentAttribute): Likewise,
28633 (CharacterConstants.Family): Likewise,
28634 (CharacterConstants.Size): Likewise,
28635 (CharacterConstants.Foreground): Likewise,
28636 (CharacterConstants.IconAttribute): Likewise,
28637 (CharacterConstants.Italic): Likewise,
28638 (CharacterConstants.StrikeThrough): Likewise,
28639 (CharacterConstants.Subscript): Likewise,
28640 (CharacterConstants.Superscript): Likewise,
28641 (CharacterConstants.Underline): Likewise,
28642 (ColorConstants.Foreground): Likewise,
28643 (ColorConstants.Background): Likewise,
28644 (FontConstants.Bold): Likewise,
28645 (FontConstants.Family): Likewise,
28646 (FontConstants.Italic): Likewise,
28647 (FontConstants.Size): Likewise,
28648 (ParagraphConstants.Alignment): Likewise,
28649 (ParagraphConstants.FirstLineIndent): Likewise,
28650 (ParagraphConstants.LeftIndent): Likewise,
28651 (ParagraphConstants.LineSpacing): Likewise,
28652 (ParagraphConstants.Orientation): Likewise,
28653 (ParagraphConstants.RightIndent): Likewise,
28654 (ParagraphConstants.SpaceAbove): Likewise,
28655 (ParagraphConstants.SpaceBelow): Likewise,
28656 (ParagraphConstants.TabSet): Likewise.
28658 2006-03-03 Tom Tromey <tromey@redhat.com>
28660 * javax/net/ssl/SSLException.java: Added missing @since.
28663 2006-03-03 Tom Tromey <tromey@redhat.com>
28665 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28666 (serialVersionUID): New field.
28668 2006-03-03 Tom Tromey <tromey@redhat.com>
28670 * java/security/spec/InvalidKeySpecException.java
28671 (InvalidKeySpecException): New constructors.
28672 * java/security/cert/CertificateParsingException.java
28673 (CertificateParsingException): New constructors.
28674 * java/security/cert/CertificateEncodingException.java
28675 (CertificateEncodingException): New constructors.
28676 * java/security/cert/CertificateException.java (CertificateException):
28678 * java/security/cert/CRLException.java (CRLException): New
28681 2006-03-03 Tom Tromey <tromey@redhat.com>
28683 * java/security/SignatureException.java (SignatureException): New
28685 * java/security/ProviderException.java (ProviderException): New
28687 * java/security/NoSuchAlgorithmException.java
28688 (NoSuchAlgorithmException): New constructors.
28689 * java/security/KeyStoreException.java (KeyStoreException): New
28691 * java/security/KeyManagementException.java (KeyManagementException):
28693 * java/security/InvalidKeyException.java (InvalidKeyException): New
28695 * java/security/KeyException.java (KeyException): New constructors.
28696 * java/security/InvalidAlgorithmParameterException.java
28697 (InvalidAlgorithmParameterException): New constructors.
28698 * java/security/DigestException.java (DigestException): New
28700 * java/security/GeneralSecurityException.java
28701 (GeneralSecurityException): New constructors.
28703 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28705 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28707 * javax/swing/event/DocumentEvent.java: Likewise,
28708 * javax/swing/event/EventListenerList.java: Likewise,
28709 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28710 * javax/swing/event/MenuKeyEvent.java: Likewise,
28711 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28712 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28713 * javax/swing/event/TreeModelEvent.java: Likewise,
28714 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28715 * javax/swing/event/UndoableEditEvent.java: Likewise.
28717 2006-03-03 Tom Tromey <tromey@redhat.com>
28719 * java/awt/Insets.java (set): New method.
28720 (equals): Added @since.
28722 2006-03-03 David Daney <ddaney@avtrex.com>
28724 * gnu/java/net/protocol/http/HTTPURLConnection.java
28725 (getRequestProperties): Rewrote.
28726 (addRequestProperty): Rewrote.
28727 (getHeaderFields): Rewrote.
28728 (getHeaderField): Rewrote.
28729 (getHeaderFieldKey): Rewrote.
28730 (getHeaderField): Removed useless cast.
28731 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28732 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28734 (notifyHeaderHandlers): Use new Headers interface.
28736 2006-03-03 Tom Tromey <tromey@redhat.com>
28738 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28739 * javax/naming/spi/ResolveResult.java,
28740 javax/naming/event/NamingExceptionEvent.java,
28741 javax/naming/event/NamingEvent.java,
28742 javax/naming/directory/SearchResult.java,
28743 javax/naming/directory/SearchControls.java,
28744 javax/naming/directory/SchemaViolationException.java,
28745 javax/naming/directory/NoSuchAttributeException.java,
28746 javax/naming/directory/ModificationItem.java,
28747 javax/naming/directory/InvalidSearchFilterException.java,
28748 javax/naming/directory/InvalidSearchControlsException.java,
28749 javax/naming/directory/InvalidAttributesException.java,
28750 javax/naming/directory/InvalidAttributeIdentifierException.java,
28751 javax/naming/directory/AttributeModificationException.java,
28752 javax/naming/directory/AttributeInUseException.java,
28753 javax/naming/TimeLimitExceededException.java,
28754 javax/naming/SizeLimitExceededException.java,
28755 javax/naming/PartialResultException.java,
28756 javax/naming/Reference.java,
28757 javax/naming/ServiceUnavailableException.java,
28758 javax/naming/OperationNotSupportedException.java,
28759 javax/naming/NotContextException.java,
28760 javax/naming/NoPermissionException.java,
28761 javax/naming/NoInitialContextException.java,
28762 javax/naming/NameNotFoundException.java,
28763 javax/naming/NameAlreadyBoundException.java,
28764 javax/naming/NameClassPair.java,
28765 javax/naming/MalformedLinkException.java,
28766 javax/naming/LinkLoopException.java,
28767 javax/naming/LinkException.java,
28768 javax/naming/LimitExceededException.java,
28769 javax/naming/InvalidNameException.java,
28770 javax/naming/InterruptedNamingException.java,
28771 javax/naming/InsufficientResourcesException.java,
28772 javax/naming/ContextNotEmptyException.java,
28773 javax/naming/ConfigurationException.java,
28774 javax/naming/CannotProceedException.java,
28775 javax/naming/CommunicationException.java,
28776 javax/naming/Binding.java,
28777 javax/naming/AuthenticationNotSupportedException.java,
28778 javax/naming/AuthenticationException.java: Added serialVersionUID.
28780 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28782 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28784 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28786 * javax/swing/event/TableModelListener.java: Updated API docs.
28788 2006-03-03 Mark Wielaard <mark@klomp.org>
28790 * java/awt/Component.java (addNotify): Expand documentation.
28792 2006-03-03 Mark Wielaard <mark@klomp.org>
28794 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28795 Always call setParentAndBounds().
28796 (setComponentBounds): Always call setBounds().
28797 (setBounds): Call setVisible().
28798 (setVisible): If no pixels are showing then don't make it visible.
28799 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28800 to call setParentAndBounds() anymore.
28802 2006-03-03 Roman Kennke <kennke@aicas.com>
28804 * javax/swing/JInternalFrame.java
28805 (JInternalFrame): Set frame invisible.
28806 (show): Reformatted.
28807 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28808 (installDefaults): Do not set invisible here.
28810 2006-03-03 Roman Kennke <kennke@aicas.com>
28812 * java/awt/Toolkit.java
28813 (getScreenInsets): Return (0,0,0,0) here.
28815 2006-03-03 Roman Kennke <kennke@aicas.com>
28817 * javax/swing/text/FlowView.java
28818 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28819 (FlowStrategy.getLogicalView): Made method protected.
28821 2006-03-03 Chris Burdess <dog@gnu.org>
28823 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28824 gnu/xml/validation/relaxng/AttributePattern.java,
28825 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28826 gnu/xml/validation/relaxng/ChoicePattern.java,
28827 gnu/xml/validation/relaxng/DataPattern.java,
28828 gnu/xml/validation/relaxng/Define.java,
28829 gnu/xml/validation/relaxng/ElementPattern.java,
28830 gnu/xml/validation/relaxng/EmptyPattern.java,
28831 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28832 gnu/xml/validation/relaxng/Grammar.java,
28833 gnu/xml/validation/relaxng/GrammarException.java,
28834 gnu/xml/validation/relaxng/GrammarValidator.java,
28835 gnu/xml/validation/relaxng/GroupPattern.java,
28836 gnu/xml/validation/relaxng/InterleavePattern.java,
28837 gnu/xml/validation/relaxng/ListPattern.java,
28838 gnu/xml/validation/relaxng/NSNameNameClass.java,
28839 gnu/xml/validation/relaxng/NameClass.java,
28840 gnu/xml/validation/relaxng/NameNameClass.java,
28841 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28842 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28843 gnu/xml/validation/relaxng/Param.java,
28844 gnu/xml/validation/relaxng/Pattern.java,
28845 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28846 gnu/xml/validation/relaxng/RefPattern.java,
28847 gnu/xml/validation/relaxng/TextPattern.java,
28848 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28849 builder and data model.
28850 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28851 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28852 gnu/xml/validation/xmlschema/AttributeUse.java,
28853 gnu/xml/validation/xmlschema/ComplexType.java,
28854 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28855 gnu/xml/validation/xmlschema/Particle.java,
28856 gnu/xml/validation/xmlschema/ValidationException.java,
28857 gnu/xml/validation/xmlschema/XMLSchema.java,
28858 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28859 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28860 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28861 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28862 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28863 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28864 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28865 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28866 W3C XML Schema builder and schema components.
28867 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28868 XML Schema namespace URIs.
28870 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28872 * NEWS: Add entry for --enable-collections.
28873 * configure.ac: Add --enable-collections option.
28874 * lib/Makefile.am (collections.jar): New target.
28875 (glibj_DATA): Add $(COLLECTIONS).
28876 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28877 configure substitution.
28878 (classpath): Read from command line.
28879 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28881 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28883 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28885 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28887 * javax/swing/event/ListSelectionEvent.java
28888 (toString): Implemented,
28889 plus updated API docs all over.
28891 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28893 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28895 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28897 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28899 * gnu/java/rmi/dgc/DGCImpl.java,
28900 java/rmi/dgc/DGC.java,
28901 java/rmi/dgc/Lease.java: Formatted and commented.
28903 2006-03-03 Roman Kennke <kennke@aicas.com>
28905 * NEWS: Added comment about text highlighting and copy+paste
28908 2006-03-03 Roman Kennke <kennke@aicas.com>
28910 * javax/swing/JTabbedPane.java
28911 (remove(int)): Call super.remove(int) instead of remove(Component).
28912 Avoids a stack overflow.
28914 2006-03-03 Roman Kennke <kennke@aicas.com>
28916 * javax/swing/JTable.java
28917 (distributeSpillResizing): Avoid ArithmeticException by checking
28920 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28922 * javax/swing/text/package.html: Added package description.
28924 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28926 * javax/swing/CellRendererPane.java: Minor API doc fix,
28927 * javax/swing/ComboBoxModel.java: Updated API docs.
28929 2006-03-03 Chris Burdess <dog@gnu.org>
28932 * gnu/xml/stream/EntityReferenceImpl.java,
28933 gnu/xml/stream/FilteredEventReader.java,
28934 gnu/xml/stream/SAXParser.java,
28935 gnu/xml/stream/XIncludeFilter.java,
28936 gnu/xml/stream/XMLEventAllocatorImpl.java,
28937 gnu/xml/stream/XMLEventFactoryImpl.java,
28938 gnu/xml/stream/XMLEventImpl.java,
28939 gnu/xml/stream/XMLEventReaderImpl.java,
28940 gnu/xml/stream/XMLEventWriterImpl.java,
28941 gnu/xml/stream/XMLInputFactoryImpl.java,
28942 gnu/xml/stream/XMLOutputFactoryImpl.java,
28943 gnu/xml/stream/XMLParser.java,
28944 javax/xml/stream/EventFilter.java,
28945 javax/xml/stream/Location.java,
28946 javax/xml/stream/StreamFilter.java,
28947 javax/xml/stream/XMLEventFactory.java,
28948 javax/xml/stream/XMLEventReader.java,
28949 javax/xml/stream/XMLEventWriter.java,
28950 javax/xml/stream/XMLInputFactory.java,
28951 javax/xml/stream/XMLOutputFactory.java,
28952 javax/xml/stream/XMLReporter.java,
28953 javax/xml/stream/XMLResolver.java,
28954 javax/xml/stream/XMLStreamConstants.java,
28955 javax/xml/stream/XMLStreamReader.java,
28956 javax/xml/stream/events/EntityDeclaration.java,
28957 javax/xml/stream/events/EntityReference.java,
28958 javax/xml/stream/events/XMLEvent.java,
28959 javax/xml/stream/util/EventReaderDelegate.java,
28960 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28961 StAX API as specified in JWSDP 2.0.
28962 * gnu/xml/stream/EndEntityImpl.java,
28963 gnu/xml/stream/LocationImpl.java,
28964 gnu/xml/stream/StartEntityImpl.java,
28965 gnu/xml/stream/XMLStreamReaderImpl.java,
28966 javax/xml/stream/XMLFilter.java,
28967 javax/xml/stream/XMLIterator.java,
28968 javax/xml/stream/events/EndEntity.java,
28969 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28971 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28973 * javax/swing/CellEditor.java: API doc updates,
28974 * javax/swing/DefaultCellEditor.java: Likewise.
28976 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28978 * javax/swing/AbstractListModel.java:
28979 (AbstractListModel): Added API docs,
28980 (fireContentsChanged): Minor API doc correction,
28981 (fireIntervalAdded): Likewise,
28982 (fireIntervalRemoved): Likewise.
28984 2006-03-03 Roman Kennke <kennke@aicas.com>
28986 * NEWS: Added paragraph about Swing improvements.
28988 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28990 * javax/swing/AbstractAction.java: Updated API docs all over,
28991 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28992 (stopCellEditing): Minor API doc correction,
28993 * javax/swing/UnsupportedLookAndFeelException.java
28994 (UnsupportedLookAndFeelException): Changed argument name, updated API
28997 2006-03-03 Roman Kennke <kennke@aicas.com>
28999 * javax/swing/plaf/metal/MetalUtils.java
29000 (fillMetalPattern): Added switch to not use Graphics2D methods,
29001 even if they are available.
29003 2006-03-03 Roman Kennke <kennke@aicas.com>
29005 * javax/swing/plaf/basic/BasicHTML.java
29006 (isHTMLString): Check for string beeing null.
29007 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29008 (BasicInternalFrameListener.internalFrameActivated): Implemented.
29009 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29010 (InternalFrameLayout): Don't touch the glass pane here.
29011 (installUI): Fix handling of glass pane.
29012 * javax/swing/plaf/basic/BasicLabelUI.java
29016 (BasicLabelUI): Initialize new fields.
29017 (getPreferredSize): Avoid creating new Rectangles by using
29018 SwingUtilities method.
29019 (paint): Avoid creating new Rectangles by reusing
29020 new fields. Added some preliminary handling of HTML inside the
29022 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29023 (uninstallComponents): Clear HTML renderer.
29024 (propertyChange): Check for HTML text and install renderer if
29026 * javax/swing/plaf/basic/BasicListUI.java
29027 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29029 * javax/swing/plaf/basic/BasicTextUI.java
29030 (RootView.getStartOffset): Implemented.
29031 (RootView.getEndOffset): Implemented.
29032 (RootView.getDocument): Implemented.
29034 2006-03-03 Roman Kennke <kennke@aicas.com>
29036 * javax/swing/text/DefaultStyledDocument.java
29037 (ElementBuffer.inserUpdate): Added check for zero-length
29039 * javax/swing/text/DefaultStyledDocument.java
29040 (setIndex): Improved exception message.
29041 * javax/swing/text/TableView.java
29042 Made class abstract.
29043 (TableRow.replace): Probably extend columnRequirements
29045 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29046 of super.layoutMajorAxis.
29047 (columnRequirements): Made field package private.
29048 (TableView): Do not load any child views here.
29049 (layoutColumns): Implemented this method.
29050 (updateColumnRequirements): New helper method.
29051 * javax/swing/text/Utilities.java
29052 (getBreakLocation): Also take offset into account when
29053 finding end location.
29054 * javax/swing/text/html/HTMLDocument.java
29055 (HTMLReader.parseStack): New field.
29056 (HTMLReader.blockOpen): Properly handle p-implied tags.
29057 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29058 (HTMLReader.addContent): Insert p-implied when adding content to
29060 * javax/swing/text/html/HTMLEditorKit.java
29061 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29062 ParagraphView for TD tags. Print out warning for tags that don't have
29063 matching view yet and create NullView for them.
29064 (read): Only set document base when document != null.
29065 * javax/swing/text/html/HTMLTableView.java:
29068 2006-03-03 Roman Kennke <kennke@aicas.com>
29070 * javax/swing/plaf/basic/BasicHTML.java
29071 (HTMLRootView): New inner class.
29072 (createHTMLView): Embed view inside a HTMLRootView.
29074 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29076 * gnu/java/net/protocol/jar/Connection.java:
29077 (connect): Throw FileNotFoundException.
29078 (getInputStream): Remove duplicated code.
29080 2006-03-03 Roman Kennke <kennke@aicas.com>
29082 * javax/swing/RepaintManager.java
29083 (commitBuffer): Added null check for clip.
29085 2006-03-02 Lillian Angel <langel@redhat.com>
29087 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29088 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29089 to use GtkWidget instead of GTKMenu.
29091 2006-03-02 Lillian Angel <langel@redhat.com>
29093 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29094 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29095 use the submenu to get the list of children. This now works
29096 in the same way as addItem.
29098 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29100 * java/lang/StringBuilder.java:
29101 (codePointAt): New method.
29102 (codePointBefore): Likewise.
29103 (codePointCount): Likewise.
29104 (trimToSize): Likewise.
29106 2006-03-02 Tom Tromey <tromey@redhat.com>
29108 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29110 2006-03-02 Tom Tromey <tromey@redhat.com>
29112 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29113 (getProviderInstance):
29115 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29117 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29118 Fix regression caused by move to VM variant.
29119 PR classpath/22926.
29121 2006-03-01 Tom Tromey <tromey@redhat.com>
29123 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29124 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29125 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29126 imports for javadoc.
29127 (getProxyClass): Javadoc fixes.
29128 (getProxyData): Likewise.
29129 (generateProxyClass): Likewise.
29130 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29131 (setOut): Likewise.
29132 (setErr): Likewise.
29133 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29134 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29136 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29138 (getModifiers): Likewise.
29139 (getDeclaredClasses): Javadoc fix.
29140 (getDeclaredFields): Likewise.
29141 (getDeclaredMethods): Likewise.
29142 (getDeclaredConstructors): Likewise.
29143 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29146 2006-03-01 Tom Tromey <tromey@redhat.com>
29148 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29149 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29150 (getVersion): Javadoc fix.
29152 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29153 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29155 2006-03-01 David Daney <ddaney@avtrex.com>
29157 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29158 as relative if it contains a colon but no protocol handler can be
29161 2006-03-01 Roman Kennke <kennke@aicas.com>
29163 * javax/swing/text/AbstractDocument.java
29164 (LeafElement.LeafElement): Handle delta with respect to content
29165 length not document length.
29166 * javax/swing/text/CompositeView.java
29167 (getViewIndex): Handle bias correctly.
29168 * javax/swing/text/DefaultCaret.java
29169 (paint): Align caret position to document bounds to avoid trouble
29170 when removing large portions of content.
29171 * javax/swing/text/DefaultStyledDocument.java
29172 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29173 (ElementBuffer.createFracture): Copy old childs attribute. The
29174 ElementSpec usually doesn't carry attribute information.
29175 Use pos instead of offset.
29176 (ElementBuffer.insertFracture): Use pos instead of offset.
29177 (createDefaultRootElement): Don't use create* and instead directly
29178 instantiate the elements.
29179 (handleInsertAfterNewline): Compare the paragraphs startOffset
29180 rather than previous paragraphs endOffset.
29181 * javax/swing/text/JTextComponent.java
29182 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29184 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29186 * javax/swing/text/PlainView.java
29187 (damageLineRange): Avoid creating new Rectangle by using
29189 * javax/swing/text/View.java
29190 (forwardUpdate): Correct the use of bias.
29191 (modelToView): Avoid new Rectangles by using SwingUtilities.
29192 (dump): Made (temprorarily) protected for use in BasicTextUI.
29193 (dump(int)): Dump out the element of the view.
29195 2006-03-01 Lillian Angel <langel@redhat.com>
29197 * NEWS: javax.imageio.plugins.bmp implementation.
29199 2006-03-01 Lillian Angel <langel@redhat.com>
29201 * javax/imageio/ImageWriteParam.java:
29202 Added documentation for fields.
29203 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29204 New class implemented.
29206 2006-03-01 Tom Tromey <tromey@redhat.com>
29208 * NEWS: Mention java.util.prefs update.
29210 2006-03-01 Tom Tromey <tromey@redhat.com>
29212 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29213 * java/nio/charset/UnmappableCharacterException.java:
29214 (serialVersionUID): New field.
29215 * java/nio/charset/MalformedInputException.java:
29216 (serialVersionUID): New field.
29217 * java/nio/charset/CoderMalfunctionError.java:
29218 (serialVersionUID): New field.
29219 * java/nio/charset/CharacterCodingException.java:
29220 (serialVersionUID): New field.
29221 * java/nio/channels/UnsupportedAddressTypeException.java:
29222 (serialVersionUID): New field.
29223 * java/nio/channels/UnresolvedAddressException.java:
29224 (serialVersionUID): New field.
29225 * java/nio/channels/OverlappingFileLockException.java:
29226 (serialVersionUID): New field.
29227 * java/nio/channels/NotYetConnectedException.java:
29228 (serialVersionUID): New field.
29229 * java/nio/channels/NotYetBoundException.java
29230 (serialVersionUID): New field.
29231 * java/nio/channels/NonWritableChannelException.java
29232 (serialVersionUID): New field.
29233 * java/nio/channels/NonReadableChannelException.java
29234 (serialVersionUID): New field.
29235 * java/nio/channels/NoConnectionPendingException.java
29236 (serialVersionUID): New field.
29237 * java/nio/channels/IllegalSelectorException.java
29238 (serialVersionUID): New field.
29239 * java/nio/channels/IllegalBlockingModeException.java
29240 (serialVersionUID): New field.
29241 * java/nio/channels/FileLockInterruptionException.java
29242 (serialVersionUID): New field.
29243 * java/nio/channels/ConnectionPendingException.java
29244 (serialVersionUID): New field.
29245 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29247 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29249 * java/nio/channels/ClosedByInterruptException.java
29250 (serialVersionUID): New field.
29251 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29253 * java/nio/channels/AsynchronousCloseException.java
29254 (serialVersionUID): New field.
29255 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29257 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29258 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29259 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29261 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29262 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29263 Javadoc fix. Added import.
29264 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29265 (validOps): Likewise.
29266 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29267 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29268 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29269 * java/nio/channels/Channels.java: Added import.
29270 * java/nio/channels/FileChannel.java (lock): Typo fix.
29271 (tryLock): Likewise.
29273 2006-03-01 Tom Tromey <tromey@redhat.com>
29275 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29277 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29278 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29280 (putSpi): Likewise.
29281 (newNode): Likewise.
29283 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29284 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29286 (systemRoot): Use it.
29287 (userPreferences): New field.
29288 (userRoot): Use it.
29290 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29292 * java/util/ResourceBundle.java
29293 (tryBundle): Catch and ignore all Exceptions.
29295 2006-02-28 Roman Kennke <kennke@aicas.com>
29297 * javax/swing/plaf/basic/BasicScrollBarUI.java
29298 (getPreferredSize): Fixed add a fixed space between the buttons
29299 instead of something related to min/max.
29300 (installComponents): Create and install buttons here.
29301 (installDefaults): Don't create buttons here.
29302 * javax/swing/plaf/metal/MetalScrollBarUI.java
29303 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29304 (getPreferredSize): New method.
29306 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29308 * examples/gnu/classpath/examples/swing/Demo.java
29309 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29310 connected 'Spinner' action to SpinnerDemo,
29311 (mkCheckbox): Removed,
29312 (mkRadio): Likewise,
29313 (mkSpinner): Likewise,
29314 (mkToggle): Likewise,
29315 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29316 connected 'Spinner' action to SpinnerDemo.
29318 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29320 * javax/print/ServiceUIFactory.java: Added documentation to class.
29322 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29325 * javax/swing/DefaultListSelectionModel.java:
29326 (addSelectionInterval): Return early if either of the arguments is -1.
29327 (removeSelectionInterval): Likewise.
29328 (setSelectionInterval): Likewise.
29330 2006-02-28 Lillian Angel <langel@redhat.com>
29332 * javax/swing/text/DefaultFormatter.java
29333 (stringToValue): Added NPE check.
29335 2006-02-28 Roman Kennke <kennke@aicas.com>
29338 * javax/swing/JList.java
29339 (getPreferredScrollableViewportSize): Restored specified behaviour.
29340 * javax/swing/plaf/metal/MetalFileChooserUI.java
29341 (createList): Set filelist panel's preferredSize, so that it doesn't
29342 get size into infinity for big lists.
29344 2006-02-28 Lillian Angel <langel@redhat.com>
29346 * javax/swing/ViewportLayout.java
29347 (layoutContainer): Should not extend container to be
29348 minimum size. Mauve test shows that the preferred size
29349 and the size of the viewport can be set smaller than
29352 2006-02-28 Lillian Angel <langel@redhat.com>
29355 * javax/swing/JList.java
29356 (getPreferredScrollableViewportSize): Added a check to determine
29357 if orientation is VERTICAL_WRAP. If it is, we should only
29360 2006-02-28 Lillian Angel <langel@redhat.com>
29363 * javax/swing/ViewportLayout.java:
29364 Patch submitted by Audrius Meskauskas
29365 (addLayoutComponent): Added documentation.
29366 (removeLayoutComponent): Likewise.
29367 (preferredLayoutSize): Likewise.
29368 (minimumLayoutSize): Likewise.
29369 (layoutContainer): Fixed code, so view is set
29370 to the right position when inside a scrollpane.
29372 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29374 * java/math/BigInteger.java:
29375 Committed patch by Rafael:
29376 developer.classpath.org/pipermail/classpath-patches/
29377 2006-February/000473.html
29378 (signum): Return early 0 if words == null and ival == 0.
29379 (readObject): Handle special case of magnitude.length or signum being
29381 (writeObject): If signum is zero return a zero-sized byte[].
29383 2006-02-28 Lillian Angel <langel@redhat.com>
29385 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29386 (create): Initially set the directory to the current working directory.
29387 (setDirectory): Removed else-if. No need for this check.
29389 2006-02-28 Tom Tromey <tromey@redhat.com>
29391 * .project: Run java builder before header generation.
29393 2006-02-28 Tom Tromey <tromey@redhat.com>
29395 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29397 * gnu/java/util/prefs/EventDispatcher.java: New file.
29398 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29399 (NodeWriter): Specify UTF-8.
29400 (writeHeader): Emit DOCTYPE.
29401 * java/util/prefs/Preferences.java (getFactory): Add cause to
29403 (exportNode): Documented.
29404 (exportSubtree): Likewise.
29405 (importPreferences): Likewise.
29406 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29407 (writeObject): Likewise.
29408 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29409 (writeObject): Likewise.
29410 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29411 (nodeListeners): New field.
29412 (preferenceListeners): Likewise.
29413 (addNodeChangeListener): Implemented.
29414 (addPreferenceChangeListener): Likewise.
29415 (removeNodeChangeListener): Likewise.
29416 (removePreferenceChangeListener): Likewise.
29417 (fire): New methods.
29419 (remove): Likewise.
29420 (purge): Likewise. Fixed synchronization.
29421 (removeNode): Fixed synchronization.
29422 (getNode): Fire event.
29423 (flushNode): Fixed synchronization.
29425 2006-02-28 Roman Kennke <kennke@aicas.com>
29427 * javax/swing/text/BranchElement.java
29428 (startOffset): New field.
29429 (endOffset): New field.
29430 (BranchElement): Initialize new fields.
29431 (getEndOffset): Rewritten to possibly return cached values
29432 if element has no children.
29433 (getStartOffset): Rewritten to possibly return cached values
29434 if element has no children.
29435 * javax/swing/text/LeafElement.java
29436 (startDelta): New field.
29437 (endDelta): New field.
29438 (LeafElement): Handle possible delta of start/endOffset when
29439 these parameters lie outside the document range.
29440 (getStartOffset): Handle possible startDelta.
29441 (getEndOffset): Handle possible startDelta.
29443 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29445 * NEWS: Added line about Unicode 4.0.0 support.
29447 2006-02-28 Roman Kennke <kennke@aicas.com>
29449 * javax/swing/SwingUtilities.java
29450 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29452 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29454 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29456 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29458 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29459 Amended class documentation.
29460 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29462 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29463 a BIT STRING construct.
29464 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29466 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29468 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29469 a BIT STRING construct.
29470 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29471 (engineVerify): Added logging.
29473 2006-02-28 Roman Kennke <kennke@aicas.com>
29475 * java/awt/Component.java
29476 (dispatchEventImpl): Let the Toolkit dispatch global events.
29477 * java/awt/Container.java
29478 (dispatchEventImpl): Let the LightweightDispatcher handle events
29480 * java/awt/EventQueue.java
29481 (dispatchEvent): Don't do the global event dispatching here. This
29482 is moved to the Component.
29483 (globalDispatchEvent): Moved this method to Toolkit.
29484 * java/awt/LightweightDispatcher.java
29485 (instances): New field.
29486 (getInstance): New method. Delivers an instance of
29487 LightweightDispatcher.
29488 (LightweightDispatcher): Made default constructor private.
29489 (dispatchEvent): New method. Replaces the eventDispatched method.
29490 This now returns true when the event was actually dispatched.
29491 (eventDispatched): Replaced by dispatchEvent.
29492 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29493 received the last MOUSE_RELEASED.
29494 * java/awt/Toolkit.java
29495 (Toolkit): Don't register LightweightDispatcher as global event
29497 (globalDispatchEvent): Moved here from EventQueue.
29499 2006-02-27 David Daney <ddaney@avtrex.com>
29502 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29504 (getRequestProperties): Rewrote.
29506 2006-02-27 David Daney <ddaney@avtrex.com>
29509 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29511 (ChunkedInputStream): Extend InputStream.
29513 (headers): Moved to top of class.
29514 (constructor): Save referenct to in.
29515 (read(byte[])): Removed method.
29516 (read(byte[], int, int)): Made synchronized and throw IOException
29517 on error parsing chunk header.
29518 (available): New method.
29519 (close): New method.
29521 2006-02-27 David Daney <ddaney@avtrex.com>
29523 * gnu/java/net/protocol/http/HTTPURLConnection.java
29524 (imports): Cleaned up.
29525 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29526 (constructor): ... Here, using SystemProperties instead of System.
29528 2006-02-27 Lillian Angel <langel@redhat.com>
29530 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29531 (setDirectory): GtkFileChooser requires an absolute directory
29532 name. Added a check to make the directory passed to nativeSetDirectory
29535 2006-02-27 Roman Kennke <kennke@aicas.com>
29537 * javax/swing/SwingUtilities.java
29538 (computeIntersection): Changed to store result in rect, instead of
29539 creating new Rectangle instances. Fixed API docs accordingly.
29540 (computeUnion): Changed to store result in rect, instead of
29541 creating new Rectangle instances. Fixed API docs accordingly.
29543 2006-02-27 Roman Kennke <kennke@aicas.com>
29545 * javax/swing/JViewport.java
29546 (static_init): Changed default scrollmode to BLIT.
29547 (paintSimple): Added some clipping to avoid painting problems.
29548 (paintBlit): Added some clipping to avoid painting problems.
29550 2006-02-27 Roman Kennke <kennke@aicas.com>
29552 * javax/swing/JComponent.java
29553 (rectCache): Made field static to save memory.
29554 (getVisibleRect): Don't use rectCache and create new Rectangle
29556 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29557 (repaint(long,int,int,int,int)): Directly call
29558 RepaintManager.addDirtyRegion(). The visibleRect check is now
29559 performed in the RepaintManager.
29561 2006-02-27 Roman Kennke <kennke@aicas.com>
29563 * javax/swing/RepaintManager.java
29564 (currentRepaintManagers): Made field private.
29565 (rectCache): New field.
29566 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29567 component. Changed Rectangle handling to avoid unnecessary new
29568 Rectangle instances.
29569 (getOffscreenBuffer): Create buffer with size of the root window.
29570 Respect the maximum buffer size here.
29571 (commitBuffer): Align the regions so that they are inside the buffer
29572 image and inside the clip. This avoids problems with a bug in GTKImage.
29573 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29575 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29577 * native/fdlibm/e_acos.c,
29578 * native/fdlibm/e_asin.c,
29579 * native/fdlibm/e_atan2.c,
29580 * native/fdlibm/e_cosh.c,
29581 * native/fdlibm/e_exp.c,
29582 * native/fdlibm/e_fmod.c,
29583 * native/fdlibm/e_hypot.c,
29584 * native/fdlibm/e_log.c,
29585 * native/fdlibm/e_log10.c,
29586 * native/fdlibm/e_rem_pio2.c,
29587 * native/fdlibm/e_remainder.c,
29588 * native/fdlibm/e_sinh.c,
29589 * native/fdlibm/e_sqrt.c,
29590 * native/fdlibm/k_cos.c,
29591 * native/fdlibm/k_sin.c,
29592 * native/fdlibm/k_tan.c,
29593 * native/fdlibm/s_atan.c,
29594 * native/fdlibm/s_cbrt.c,
29595 * native/fdlibm/s_ceil.c,
29596 * native/fdlibm/s_copysign.c,
29597 * native/fdlibm/s_cos.c,
29598 * native/fdlibm/s_expm1.c,
29599 * native/fdlibm/s_fabs.c,
29600 * native/fdlibm/s_finite.c,
29601 * native/fdlibm/s_floor.c,
29602 * native/fdlibm/s_log1p.c,
29603 * native/fdlibm/s_rint.c,
29604 * native/fdlibm/s_scalbn.c,
29605 * native/fdlibm/s_sin.c,
29606 * native/fdlibm/s_tan.c,
29607 * native/fdlibm/s_tanh.c:
29608 Fixed to call our macros rather than __HI and __LO.
29609 * native/fdlibm/fdlibm.h:
29610 Reintroduced previous extraction code.
29611 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29612 (GET_HIGH_WORD(i,d)): Readded.
29613 (GET_LOW_WORD(i,d)): Readded.
29614 (INSERT_WORDS(d,ix0,ix1)): Readded.
29615 (SET_HIGH_WORD(d,i)): Readded.
29616 (SET_LOW_WORD(d,i)): Readded.
29617 * native/jni/gtk-peer/gthread-jni.c:
29618 Use Glib macros to convert integers/pointers portably.
29620 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29622 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29623 as the fallback SPI.
29624 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29625 ones referencing GNU-CRYPTO classes.
29626 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29627 (engineValidate): Use GNU-CRYPTO class.
29628 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29629 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29630 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29631 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29632 * gnu/java/security/provider/DSAParameters: Likewise.
29633 * gnu/java/security/provider/DSASignature: Likewise.
29634 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29635 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29636 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29637 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29638 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29639 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29640 * gnu/java/security/provider/MD2withRSA: Likewise.
29641 * gnu/java/security/provider/MD4withRSA: Likewise.
29642 * gnu/java/security/provider/MD5: Likewise.
29643 * gnu/java/security/provider/MD5withRSA: Likewise.
29644 * gnu/java/security/provider/RSA: Likewise.
29645 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29646 * gnu/java/security/provider/SHA: Likewise.
29647 * gnu/java/security/provider/SHA1PRNG: Likewise.
29648 * gnu/java/security/provider/SHA1withRSA: Likewise.
29649 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29651 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29653 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29654 (engineGeneratePublic): Added logging.
29655 (engineGeneratePrivate): Likewise.
29656 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29657 (encodePublicKey): Added logging.
29658 Clarified in method documentation that params is optional, but is
29659 always NULL if present.
29660 (decodePublicKey): Added logging.
29661 Handle optional NULL element.
29663 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29665 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29667 2006-03-03 Tom Tromey <tromey@redhat.com>
29669 * java/awt/MenuBar.java (shortcuts): Genericized.
29671 2006-03-03 Tom Tromey <tromey@redhat.com>
29673 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29675 (getListenerType): Likewise.
29676 * java/beans/Introspector.java (getBeanInfo): Genericized.
29677 * java/beans/DefaultPersistenceDelegate.java (initialize):
29680 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29682 * java/math/BigDecimal.java:
29683 (precision): Fixed overflow problem with large numbers.
29684 (longValueExact): New method.
29685 (intValueExact): Likewise.
29686 (byteValueExact): Likewise.
29687 (shortValueExact): Likewise.
29689 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29691 * java/math/BigDecimal.java:
29692 (remainder(BigDecimal)): New method.
29693 (divideAndRemainder(BigDecimal)): Likewise.
29694 (divideToIntegralValue(BigDecimal)): Likewise.
29695 (floor): New implementation method.
29697 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29699 * java/math/BigDecimal.java:
29700 (divide(BigDecimal, int, RoundingMode)): New method.
29701 (divide(BigDecimal, RoundingMode)): Likewise.
29702 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29703 when the new scale is < 0.
29704 (setScale(int, RoundingMode)): New method.
29707 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29709 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29710 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29711 (add(BigDecimal, MathContext)): New method.
29712 (subtract(BigDecimal, MathContext)): Likewise.
29713 (precision): Fixed to correctly handle BigIntegers with more than 19
29715 (pow(int, MathContext)): New method.
29717 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29719 * java/math/BigDecimal.java: Added @throws clause to constructors.
29720 (mathContext): Removed this unneeded field.
29721 (BigDecimal(int, MathContext)): New constructor.
29722 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29723 (multiply(BigDecimal, MathContext)): New method.
29724 (negate(MathContext)): Likewise.
29725 (plus(MathContext)): Likewise.
29726 (numDigitsInLong): Fixed to properly handle negatives.
29728 2006-02-25 Chris Burdess <dog@gnu.org>
29730 * gnu/java/net/CRLFInputStream.java,
29731 gnu/java/net/LineInputStream.java: Streams that use mark
29732 capabilities on the underlying stream do not expose mark
29733 functionality themselves.
29734 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29737 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29739 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29740 option flags passed to match methods.
29741 (MF_FIND_ALL): New flag.
29742 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29743 do not try other possibilties once a match is found.
29744 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29745 so that all possibilities can be found.
29746 (match): Rewritten using new methods matchMinimum and _match.
29747 (_match): New method which performs a depth-first recursive search.
29748 (matchMinimum): New method.
29749 (initVisited), (visitedContains), (addVisited): New methods for
29750 manipulating an array of icharacter positions which _match has
29753 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29755 * java/math/BigDecimal.java:
29756 (BigDecimal(long, MathContext)): New constructor.
29757 (BigDecimal(BigInteger, MathContext)): Likewise.
29758 (BigDecimal(String, MathContext)): Likewise.
29759 (BigDecimal(double, MathContext)): Likewise.
29760 (round): Fixed a typo where the precision field was used instead of a
29761 call to the precision method, and also store the new precision in the
29762 returned BigDecimal.
29763 (abs(MathContext)): New method.
29765 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29767 * java/math/BigDecimal.java
29768 (toBigInteger): Fixed problem where this method couldn't handle
29769 negative values for scale.
29770 (toBigIntegerExact): New method.
29771 (stripTrailingZeros): Likewise.
29773 2006-02-24 David Daney <ddaney@avtrex.com>
29776 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29778 (Pool): New inner class.
29779 (timeLastUsed): New field.
29780 (setPool): Changed parameter type to Pool.
29781 (release): Moved pool management logic to new class Pool.
29782 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29784 (maxConnections) : Removed.
29785 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29786 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29788 2006-02-24 Lillian Angel <langel@redhat.com>
29790 * java/awt/Container.java:
29791 Added new field. True if Container has been cleared and
29792 heavyweights need to be repainted.
29793 (paint): Fixed comment. Fixed to use backCleared and
29795 (update): Set backCleared to true after the background
29796 of the container has been cleared.
29798 2006-02-24 Lillian Angel <langel@redhat.com>
29800 * java/awt/TextField.java
29801 (addNotify): Added call to super.
29803 2006-02-24 Lillian Angel <langel@redhat.com>
29805 * java/awt/Component.java
29806 (reshape): Reverted last patch. Should have check here.
29807 (addNotify): Added check. If parent is lightweight, then
29808 initialize listener on the parent.
29809 (HeavyweightInLightweightListener): New class.
29811 2006-02-24 Roman Kennke <kennke@aicas.com>
29813 * javax/swing/plaf/basic/BasicComboPopup.java
29814 (show): Register the popup with the autocloser after it has been
29815 opened completely, by putting the registration on the eventqueue.
29817 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29819 * gnu/java/security/prng/BasePRNG.java:
29820 (clone()): Added cast of buffer to byte[].
29821 * gnu/javax/crypto/mac/TMMH16.java:
29822 (clone()): Fixed casting of cloned arrays.
29823 * native/fdlibm/fdlibm.h:
29824 Added missing defines from old fdlibm.h needed by Darwin.
29825 (GET_FLOAT_WORD(i,d)): Re-added.
29826 (SET_FLOAT_WORD(d,i)): Re-added.
29828 2006-02-24 Roman Kennke <kennke@aicas.com>
29830 * java/awt/Container.java:
29831 (dispatcher): Removed field.
29832 (dispatchEventImpl): Removed lightweight dispatching.
29833 (addNotifyContainerChildren): Removed LightweightDispatcher
29835 (LightweightDispatcher): Removed class.
29836 * java/awt/LightweightDispatcher.java: New class.
29837 * java/awt/Toolkit.java
29838 (Toolkit): Install LightweightDispatcher in global listener
29841 2006-02-24 Chris Burdess <dog@gnu.org>
29844 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29847 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29849 * NEWS: Mentions the VMMath runtime changes.
29850 * doc/vmintegration.texinfo: Updated to include
29853 2006-02-24 Roman Kennke <kennke@aicas.com>
29855 * javax/swing/plaf/basic/BasicLookAndFeel.java
29856 (PopupHelper.autoClosePopups): New field.
29857 (PopupHelper.mousePressed): Also autoclose any registered popups.
29858 (PopupHelper.registerForAutoClose): New method.
29859 (PopupHelper.autoClosePopups): New method.
29860 (popupHelper): Changed type of field to PopupHelper.
29861 (registerForAutoClose): New method.
29862 * javax/swing/plaf/basic/BasicComboPopup.java
29863 (show): Register this popup for autoclosing.
29865 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29867 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29868 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29869 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29871 2006-02-24 Roman Kennke <kennke@aicas.com>
29873 Reported by Ingo Proetel <proetel@aicas.com>
29874 * java/util/logging/LogManager.java
29875 (addLogger): Search the parent loggers for log level
29876 configuration and inherit that.
29877 (readConfiguration): Provide minimal default configuration
29878 if no configuration can be found otherwise.
29880 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29882 * java/math/BigDecimal.java:
29883 (toString): Fixed a problem where the negative sign was being displayed
29884 twice in the exponent.
29885 (toEngineeringString): New method.
29886 (toPlainString): Likewise.
29889 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29891 * java/math/BigDecimal.java:
29892 (toString): Rewrote this method to behave as specified. Added API
29893 comments to explain behaviour.
29894 (scaleByPowerOfTen): New method.
29896 2006-02-23 Roman Kennke <kennke@aicas.com>
29898 * javax/swing/JRootPane.java
29899 (isOptimizedDrawingEnabled): Implemented to return true
29900 when the glassPane is not visible.
29902 2006-02-23 Roman Kennke <kennke@aicas.com>
29904 * javax/swing/plaf/basic/BasicLookAndFeel.java
29905 (PopupHelper): New inner class.
29906 (popupHelper): New field.
29907 (initialize): New method.
29908 (uninitialize): New method.
29909 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29910 (mouseInputListener): Removed field.
29911 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29912 handling of GlassPane.
29913 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29914 handling of GlassPane.
29915 (MouseInputHandler): Removed class.
29917 2006-02-23 Roman Kennke <kennke@aicas.com>
29919 * java/awt/AWTEvent.java
29920 (eventIdToMask): New utility method.
29921 * java/awt/EventQueue.java
29922 (dispatchEvent): Also globally dispatch events via the toolkit.
29923 (globalDispatchEvent): New method.
29924 * java/awt/Toolkit.java
29925 (awtEventListeners): New field.
29926 (Toolkit()): Initialize new field.
29927 (createComponent): Create GLightweightPeer here.
29928 (addAWTEventListener): Implemented and documented.
29929 (removeAWTEventListener): Implemented and documented.
29930 (getAWTEventListeners): Implemented and documented both method
29932 * java/awt/event/AWTEventListenerProxy.java
29933 (eventDispatched): Don't filter events here.
29935 2006-02-23 Chris Burdess <dog@gnu.org>
29938 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29939 gnu/xml/dom/JAXPFactory.java,
29940 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29941 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29942 implement DocumentBuilderFactory.get/setFeature methods.
29944 2006-02-23 Lillian Angel <langel@redhat.com>
29946 * gnu/java/awt/peer/GLightweightPeer.java
29947 (repaint): Scott's proposed fix. Send repaint to the
29948 component's parent.
29949 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29950 (setBounds): Removed next_parent, not needed. Removed
29951 lightweightChild, we always need to compensate for the
29953 * java/awt/Component.java
29954 (setBounds): Removed check. Caused lots of problems, because some
29955 components were not being invalidated. Components should be
29956 invalidated when they are resized or moved, and in some cases,
29957 when a parent is resized/moved, the components do not know
29958 about it and do not adjust.
29959 * java/awt/Graphics.java
29960 (hitClip): Scott's proposed fix. Added check to handle a
29963 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29965 * javax/print/attribute/standard/MediaSize.java:
29966 (media): Field renamed to mediaName for serialization.
29967 (MediaSize): Adapted to new fieldname.
29968 (getMediaSizeName): Likewise.
29969 * javax/print/attribute/HashAttributeSet.java:
29970 (interfaceName): Field renamed to myInterface for serialization.
29971 (HashAttributeSet): Adapted to the new fieldname.
29973 (addAll): Likewise.
29974 (addInternal): Likewise.
29975 (attributeMap): Made transient.
29976 (readObject): New serialization method.
29977 (writeObject): Likewise.
29978 * javax/print/attribute/AttributeSetUtilities.java:
29979 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29980 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29981 (SynchronizedAttributeSet.addAll): Likewise.
29982 (SynchronizedAttributeSet.clear): Likewise.
29983 (SynchronizedAttributeSet.containsKey): Likewise.
29984 (SynchronizedAttributeSet.containsValue): Likewise.
29985 (SynchronizedAttributeSet.equals): Likewise.
29986 (SynchronizedAttributeSet.get): Likewise.
29987 (SynchronizedAttributeSet.hashCode): Likewise.
29988 (SynchronizedAttributeSet.isEmpty): Likewise.
29989 (SynchronizedAttributeSet.remove): Likewise.
29990 (SynchronizedAttributeSet.size): Likewise.
29991 (SynchronizedAttributeSet.toArray): Likewise.
29992 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29993 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29994 (UnmodifiableAttributeSet.addAll): Likewise.
29995 (UnmodifiableAttributeSet.clear): Likewise.
29996 (UnmodifiableAttributeSet.containsKey): Likewise.
29997 (UnmodifiableAttributeSet.containsValue): Likewise.
29998 (UnmodifiableAttributeSet.equals): Likewise.
29999 (UnmodifiableAttributeSet.get): Likewise.
30000 (UnmodifiableAttributeSet.hashCode): Likewise.
30001 (UnmodifiableAttributeSet.isEmpty): Likewise.
30002 (UnmodifiableAttributeSet.remove): Likewise.
30003 (UnmodifiableAttributeSet.size): Likewise.
30004 (UnmodifiableAttributeSet.toArray): Likewise.
30005 * javax/print/attribute/standard/MediaPrintableArea.java:
30006 (width): Field renamed to w for serialization.
30007 (height): Field renamed to h for serialization.
30008 (MediaPrintableArea): Adapted to the new fieldnames.
30009 (MediaPrintableArea): Likewise.
30010 (equals): Likewise.
30011 (hashCode): Likewise.
30012 (getHeight): Likewise.
30013 (getWidth): Likewise.
30015 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30017 * include/java_lang_VMMath.h:
30018 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30019 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30020 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30021 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30022 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30023 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30024 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30025 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30026 * java/lang/Math.java:
30027 (cbrt(double)): Implemented.
30028 (cosh(double)): Implemented.
30029 (expm1(double)): Implemented.
30030 (hypot(double,double)): Implemented.
30031 (log10(double)): Implemented.
30032 (log1p(double)): Implemented.
30033 (signum(double)): Implemented.
30034 (signum(float)): Implemented.
30035 (sinh(double)): Implemented.
30036 (tanh(double)): Implemented.
30037 * native/fdlibm/Makefile.am:
30038 Added new files from fdlibm 5.3.
30039 * native/fdlibm/e_acos.c,
30040 * native/fdlibm/e_asin.c,
30041 * native/fdlibm/e_atan2.c,
30042 * native/fdlibm/e_exp.c,
30043 * native/fdlibm/e_fmod.c,
30044 * native/fdlibm/e_log.c,
30045 * native/fdlibm/e_rem_pio2.c,
30046 * native/fdlibm/e_remainder.c,
30047 * native/fdlibm/e_scalb.c,
30048 * native/fdlibm/e_sqrt.c,
30049 * native/fdlibm/k_cos.c,
30050 * native/fdlibm/k_rem_pio2.c,
30051 * native/fdlibm/k_sin.c,
30052 * native/fdlibm/k_tan.c,
30053 * native/fdlibm/s_atan.c,
30054 * native/fdlibm/s_ceil.c,
30055 * native/fdlibm/s_copysign.c,
30056 * native/fdlibm/s_cos.c,
30057 * native/fdlibm/s_fabs.c,
30058 * native/fdlibm/s_finite.c,
30059 * native/fdlibm/s_floor.c,
30060 * native/fdlibm/s_rint.c,
30061 * native/fdlibm/s_scalbn.c,
30062 * native/fdlibm/s_sin.c,
30063 * native/fdlibm/s_tan.c,
30064 * native/fdlibm/w_acos.c,
30065 * native/fdlibm/w_asin.c,
30066 * native/fdlibm/w_atan2.c,
30067 * native/fdlibm/w_acos.c,
30068 * native/fdlibm/w_exp.c,
30069 * native/fdlibm/w_fmod.c,
30070 * native/fdlibm/w_log.c,
30071 * native/fdlibm/w_pow.c,
30072 * native/fdlibm/w_remainder.c,
30073 * native/fdlibm/w_sqrt.c:
30074 Updated to fdlibm 5.3.
30075 * native/fdlibm/e_cosh.c,
30076 * native/fdlibm/e_hypot.c,
30077 * native/fdlibm/e_log10.c,
30078 * native/fdlibm/e_sinh.c,
30079 * native/fdlibm/s_cbrt.c,
30080 * native/fdlibm/s_expm1.c,
30081 * native/fdlibm/s_log1p.c,
30082 * native/fdlibm/s_tanh.c,
30083 * native/fdlibm/w_cosh.c,
30084 * native/fdlibm/w_hypot.c,
30085 * native/fdlibm/w_log10.c,
30086 * native/fdlibm/w_sinh.c:
30087 Imported from fdlibm 5.3.
30088 * native/fdlibm/fdlibm.h:
30089 Imported from fdlibm 5.3 with Classpath additions.
30090 * native/fdlibm/namespace.h:
30091 Updated from new math_symbols file.
30092 * native/jni/java-lang/java_lang_VMMath.c:
30093 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30094 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30095 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30096 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30098 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30099 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30100 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30101 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30102 * scripts/math_symbols:
30103 Added tanh, expm1, log10 and log1p.
30104 * vm/reference/java/lang/VMMath.java:
30105 (cbrt(double)): Implemented.
30106 (cosh(double)): Implemented.
30107 (expm1(double)): Implemented.
30108 (hypot(double,double)): Implemented.
30109 (log10(double)): Implemented.
30110 (log1p(double)): Implemented.
30111 (sinh(double)): Implemented.
30112 (tanh(double)): Implemented.
30114 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30116 * javax/print/DocFlavor.java: Added documentation all over.
30117 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30118 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30119 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30120 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30121 (URL.TEXT_HTML_HOST): Likewise.
30122 (URL.TEXT_PLAIN_HOST): Likewise.
30123 (hostEncoding): Initialize with host default charset encoding.
30124 (mediaSubtype): Made transient.
30125 (mediaType): Likewise.
30126 (params): Made transient. Changed type to TreeMap.
30127 (className): Removed, changed to myClassName.
30128 (myClassName): New field as defined in serialized form.
30129 (DocFlavor): Adapted to new variable types, names.
30130 (parseMimeType): Reimplemented.
30131 (getParameter): Search with lowercase name.
30132 (getRepresentationClassName): Adapted to changed variable name.
30133 (hashCode): Likewise.
30134 (toString): Reimplemented.
30135 (readObject): New method for serialization.
30136 (writeObject): Likewise.
30138 2006-02-23 Roman Kennke <kennke@aicas.com>
30140 * javax/swing/RepaintManager.java
30141 (commitBuffer): Clip the repaint area with the current clip.
30143 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30145 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30146 (DEFAULT_PRIME_SIZE): Made public.
30147 (DEFAULT_EXPONENT_SIZE): Likewise.
30148 (setup): Handle DHParameterSpec as well.
30149 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30150 defaultFormat instead of Raw.
30151 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30152 (checkIsConstructed): Removed.
30153 (checkIsBigInteger): Likewise.
30154 (decodePublicKey): Use DerUtil.
30155 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30156 (checkIsConstructed): Removed.
30157 (checkIsBigInteger): Likewise.
30158 (decodePrivateKey): Use DerUtil.
30159 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30161 Added mappings for AlgorithmParameters.DH and
30162 AlgorithmParameterGenerator.DH.
30163 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30164 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30165 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30166 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30168 (engineGeneratePublic): Likewise.
30169 * gnu/java/security/util/DerUtil.java: New file.
30170 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30171 Include only valid RSA PKCS1 (v1.5) signature names.
30172 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30173 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30174 (checkIsConstructed): Likewise.
30175 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30176 (checkIsConstructed): Removed.
30177 (checkIsBigInteger): Likewise.
30178 (decodeSignature): Use DerUtil.
30179 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30180 (checkIsConstructed): Removed.
30181 (checkIsBigInteger): Likewise.
30182 (decodePublicKey): Use DerUtil.
30183 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30184 (checkIsConstructed): Removed.
30185 (checkIsBigInteger): Likewise.
30186 (decodePrivateKey): Use DerUtil.
30187 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30188 (checkIsConstructed): Removed.
30189 (checkIsBigInteger): Likewise.
30190 (decodePublicKey): Use DerUtil.
30191 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30192 (checkIsConstructed): Removed.
30193 (checkIsBigInteger): Likewise.
30194 (decodePrivateKey): Use DerUtil.
30195 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30196 (DEFAULT_MODULUS_LENGTH): Made it public.
30197 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30198 defaultFormat instead of Raw.
30199 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30200 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30201 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30203 (engineGeneratePublic): Likewise.
30204 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30206 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30208 * java/math/BigDecimal.java:
30209 (BigDecimal(char[], int, int, MathContext)): New constructor.
30210 (BigDecimal(char[], MathContext)): Likewise.
30211 (BigDecimal(char[])): Likewise.
30212 (BigDecimal(char[], int, int)): Likewise.
30213 (BigDecimal(String)): Fixed handling of exponent and scale.
30215 2006-02-22 Mark Wielaard <mark@klomp.org>
30217 * java/awt/Checkbox.java (setState): Check that state actually changed
30218 before calling peer.
30219 (dispatchEventImpl): Set new state if ItemEvent.
30220 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30221 (create): Set currentState.
30222 (setState): Make synchronized, check and set currentState before
30223 calling gtkToggleButtonSetActive.
30224 (postItemEvent): Make synchronized, check and set currentState before
30226 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30227 (postItemEventID): Method now takes boolean.
30228 (item_toggled_cb): Likewise.
30230 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30232 * javax/swing/text/DefaultHighlighter.java:
30233 (changeHighlight): Added code to minimize the damaged area.
30235 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30237 * javax/swing/text/PlainView.java:
30238 (getPreferredSpan): Added missing 'break'.
30239 statement which corrects an unwanted fall through.
30240 (updateDamage): Update maxLineLength correctly when text is
30241 removed, call preferenceChanged accordingly.
30242 (viewToModel): Restrict line number to be within 0 and the
30243 number of elements-1.
30245 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30247 * javax/swing/text/Utilities.java:
30248 (getPositionAbove): Prefer first value by changing comparison
30250 (getPositionBelow): Dito.
30252 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30254 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30255 behavior when magic caret position is null.
30257 2006-02-22 Roman Kennke <kennke@aicas.com>
30259 * javax/swing/JTextField.java
30260 (isValidateRoot): New method.
30262 2006-02-22 Roman Kennke <kennke@aicas.com>
30264 * javax/swing/JEditorPane.java
30265 (getPreferredSize): Rewritten to behave like the reference impl.
30266 (getScrollableTracksViewportWidth): Likewise.
30267 (getScrollableTracksViewportHeight): Likewise.
30269 2006-02-22 Roman Kennke <kennke@aicas.com>
30271 * javax/swing/RepaintManager.java
30272 (addInvalidComponent): Also consider the component itself.
30274 2006-02-22 Mark Wielaard <mark@klomp.org>
30276 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30277 qualify AbstractDocument.AttributeContext.
30278 (blockOpen): Likewise.
30280 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30282 * java/math/BigDecimal.java:
30283 (mathContext): New field.
30284 (precision): Likewise.
30285 (BigDecimal(int)): New constructor.
30286 (BigDecimal(long)): Likewise.
30287 (BigDecimal(BigInteger)): Added API docs.
30288 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30289 and added API docs.
30290 (plus): New method.
30292 (precision): Likewise.
30293 (valueOf): Likewise.
30294 (numDigitsInLong): New implementation method.
30296 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30298 * java/math/MathContext.java: New class.
30299 * java/math/RoundingMode: New Enum.
30301 2006-02-21 Mark Wielaard <mark@klomp.org>
30303 * java/awt/Component.java (translateEvent): Translate
30304 AdjustmentEvents to 1.0 Events.
30305 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30306 Call setValue() before processing event.
30307 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30308 whether we are currently changing and being called back from the
30309 Scrollbar component.
30310 (setBarValues): New native method.
30311 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30312 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30313 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30314 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30315 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30317 2006-02-21 Roman Kennke <kennke@aicas.com>
30319 * javax/swing/text/View.java
30320 (setParent): Set child parent to null when disconnecting
30321 the view from the View hierarchy.
30323 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30325 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30327 2006-02-21 Roman Kennke <kennke@aicas.com>
30329 * javax/swing/text/WrappedPlainView.java
30330 (calculateBreakPosition): Changed to use the view's allocation instead
30331 of the container's preferredSize.
30333 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30335 * java/awt/CardLayout.java:
30336 (first): Updated api documentation.
30339 (previous): Likewise.
30340 (show): Clarified api docs. Return if name is null. Throw
30341 IllegalArgumentException if layout of container is not this.
30342 (gotoComponent): Updated api documentation. Throw
30343 IllegalArgumentException if layout of container is not this.
30345 2006-02-21 Roman Kennke <kennke@aicas.com>
30347 * javax/swing/text/NavigationFilter.java
30348 (getNextVisualPositionFrom): New method.
30350 2006-02-21 Roman Kennke <kennke@aicas.com>
30352 * javax/swing/plaf/basic/BasicTextUI.java
30353 (RootView.setView): Call setParent() on the view with this as
30354 argument instead of null.
30355 (setView): Don't set root view's parent here.
30357 2006-02-21 Roman Kennke <kennke@aicas.com>
30359 * javax/swing/text/AbstractDocument.java
30360 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30361 the resolving parent.
30362 (AbstractElement.getResolveParent): Fixed to handle possible null
30364 * javax/swing/text/BoxView.java
30365 (childReqs): New field.
30366 (paint): Added debugging code (commented out).
30367 (getPreferredSpan): Rewritten to use new update* methods.
30368 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30369 for the minor axis and preferredSpan for the major axis.
30370 (getMinimumSpan): Rewritten to use new update* methods.
30371 (baselineRequirements): Rewritten to avoid creation of
30372 unnecessary SizeRequirements objects.
30373 (baselineLayout): Rewritten to use new update* methods.
30374 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30375 unnecessary SizeRequirements objects.
30376 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30377 unnecessary SizeRequirements objects.
30378 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30380 (layoutMajorAxis): Rewritten to use new update* methods.
30381 (layoutMinorAxis): Rewritten to use new update* methods.
30382 (getChildRequirements): Replaced by the update* methods.
30383 (getAlignment): Use update* methods.
30384 (updateChildRequirements): New methods. Updates the child requirements
30386 (updateRequirements): New methods. Updates the BoxView requirements
30388 * javax/swing/text/DefaultStyledDocument.java
30389 (ElementBuffer.insert): Added warning for illegal replacement operation.
30390 * javax/swing/text/FlowView.java
30391 (layoutRow): When offset doesn't change, return -1.
30392 (LogicalView): Now subclasses BoxView.
30393 (loadChildren): Let the CompositeView.setParent() load the children
30394 of the logicalView.
30395 (calculateMinorRequirements): New overridden method.
30396 * javax/swing/text/GlyphView.java
30397 (DefaultGlyphPainter.paint): Fixed typo.
30398 (startOffset): Made field private.
30399 (endOffset): Made field private.
30400 (paint): Call getStartOffset() and getEndOffset() instead of the
30402 (isStrikeThrough): Fixed typo.
30403 (breakView): Use Utilities.getBreakLocation() to determine best
30405 (changedUpdate): Call preferencedChange on this instead of parent.
30406 (removeUpdate): Call preferencedChange on this instead of parent.
30407 * javax/swing/text/ParagraphView.java
30408 (Row.getAlignment): For Y_AXIS, call super.
30409 (getAlignment): Likewise.
30410 * javax/swing/text/Utilities.java
30411 (getBreakLocation): Set Segment object directly on the BreakIterator.
30412 * javax/swing/text/html/HTML.java
30413 (Attribute): Made class non-serializable and final as specified.
30414 (Attribute(String)): Made constructor private.
30415 (Attribute.compareTo): Removed.
30416 (Attribute.equals): Removed.
30417 (Attribute.hashCode): Removed.
30418 (Tag): Made class non-comparable and non-serializable as specified.
30419 (Tag.compareTo): Removed.
30420 (Tag.equals): Removed.
30421 (Tag.hashCode): Removed.
30422 * javax/swing/text/html/HTMLDocument.java
30423 (HTMLReader.blockOpen): Add tag as name attribute to element.
30424 * javax/swing/text/html/HTMLEditorKit.java
30425 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30427 * javax/swing/text/html/InlineView.java
30428 (setPropertiesFromAttributes): Call super.
30429 * javax/swing/text/html/NullView.java: New class.
30431 2006-02-21 Roman Kennke <kennke@aicas.com>
30434 * javax/swing/text/GapContent.java
30435 (GapContentPosition): Made class private.
30436 (InsertUndo): Made class private.
30437 (UndoRemove): Made class private.
30438 (WeakPositionComparator): New inner class.
30439 (positions): Made field private.
30440 (createPosition): Clear up GC'ed positions before creating
30441 a new one. Store position as WeakReference.
30442 (getPositionsInRange): Changed to handle WeakReference
30444 (setPositionsInRange): Changed to handle WeakReference
30446 (adjustPositionsInRange): Changed to handle WeakReference
30448 (dumpPositions): Handle WeakReference positions.
30449 (clearPositionReferences): New method.
30451 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30453 * javax/swing/plaf/basic/BasicTextUI.java:
30454 (paint): Remove unneccessary part of the if-expression.
30455 (damageRange): Added case where the range spans multiple lines.
30456 * javax/swing/text/DefaultCaret.java:
30457 (clearHighlight): New method.
30458 (handleHighlight): Removed unneccessary part of the if-expression.
30459 (setDot): Use clearHighlight method.
30460 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30462 (paint): Prevented calling size() on every loop iteration, fixed
30463 calculation of allocation area bounds.
30464 (getHighlights): Implemented.
30465 (removeHighlight): Mark damaged area in textcomponent.
30466 (addHighlight): Mark damaged area in textcomponent.
30467 (changeHighlight): Mark damaged area in textcomponent.
30468 (DefaultHighlighter.HighlightEntry): Made it a real
30469 Highlighter.Highlight implementation.
30470 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30473 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30475 * java/util/zip/ZipConstants.java
30476 (LOCSIG): Change type to long.
30477 (EXTSIG): Likewise.
30478 (CENSIG): Likewise.
30479 (ENDSIG): Likewise.
30480 * java/util/zip/ZipOutputStream.java
30481 (writeLeInt(long)): New method.
30483 2006-02-21 Michael Koch <konqueror@gmx.de>
30485 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30487 2006-02-20 Mark Wielaard <mark@klomp.org>
30489 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30490 (begin_drawing_operation): Output stacktrace and return on bad cairo
30492 (end_drawing_operation): Likewise. And reset cairo_t.
30494 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30496 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30497 in backward selection action.
30499 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30501 * java/lang/reflect/Proxy.java:
30502 (ProxyData.getProxyData): Skipped overriding of core methods.
30503 (ProxyData.isCoreObjectMethod): New method.
30505 2006-02-20 Mark Wielaard <mark@klomp.org>
30507 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30509 2006-02-20 Roman Kennke <kennke@aicas.com>
30511 * javax/swing/text/html/Option.java: New class.
30513 2006-02-20 Lillian Angel <langel@redhat.com>
30515 * java/swt/Window.java
30516 (show): Calling show() on the owned windows caused problems.
30517 Changed back to get the peer and call setVisible.
30519 2006-02-20 Roman Kennke <kennke@aicas.com>
30521 * javax/swing/plaf/basic/BasicTextUI.java
30522 (damageRange): Implemented this method.
30524 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30526 * javax/swing/text/GapContent.java:
30527 (shiftGapEndUp): Corrected new mark value.
30528 * javax/swing/text/AbstractDocument.java:
30529 (remove): Changed order of operations.
30531 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30533 * javax/swing/text/GapContent.java:
30534 (shiftGapEndUp): Reverted.
30535 * javax/swing/text/AbstractDocument.java:
30536 (remove): Reverted.
30538 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30540 * javax/swing/text/GapContent.java:
30541 (shiftGapEndUp): Corrected new mark value.
30542 * javax/swing/text/AbstractDocument.java:
30543 (remove): Changed order of operations.
30545 2006-02-20 Mark Wielaard <mark@klomp.org>
30547 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30549 (insert): Likewise.
30550 (addNotify): Add the item after addNotifying it.
30551 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30552 there is a peer. Use getParent() and setParent() to manipulate parent
30554 (add(Menu)): Use getParent() and setParent() to manipulate parent
30555 field. Call addNotify() and addMenu() when there is a peer.
30556 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30557 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30558 when there is a peer.
30559 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30560 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30561 (setFont): Call setFont(Font).
30562 (setFont(Font)): Document. Only set font when not null.
30563 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30565 (connectSignals): Likewise.
30566 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30568 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30570 (postMenuActionEvent): Document.
30571 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30573 (addItem): Document. Made private.
30574 (addTearOff): Made private.
30575 (connectSignals): New protected overridden method.
30576 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30577 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30578 (create): Document.
30579 (addMenu): Made private, take GtkMenuPeer as argument and document.
30580 (GtkMenuBarPeer): Document.
30581 (nativeSetHelpMenu): Removed.
30582 (addHelpMenu): Implement.
30583 (delMenu): Document.
30584 (addMenu): Implement.
30585 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30586 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30587 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30588 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30591 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30593 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30594 Expect that proxy interfaces may have different class loaders.
30595 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30596 * java/rmi/registry/Registry.java,
30597 * java/rmi/server/UnicastRemoteObject.java:
30598 Documented about proxy stubs.
30599 * gnu/java/rmi/server/CombinedClassLoader.java,
30600 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30601 * NEWS: Added entry.
30603 2006-02-19 Mark Wielaard <mark@klomp.org>
30605 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30606 Parent and Bounds of our children if either or parent is showing, or
30607 we are a Window and are showing ourselves now.
30609 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30611 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30613 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30614 Another stub name fix.
30616 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30618 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30619 Call convertStubName. (convertStubName): New method.
30620 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30621 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30622 (convertStubName): New method.
30623 (getMethodHashCode):
30624 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30625 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30627 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30629 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30631 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30633 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30635 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30637 * javax/swing/JViewport.java (paintBackingStore): If the component has
30638 not been scrolled, only repaint the buffer part, indicated by
30639 the parameter graphics clip.
30641 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30643 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30645 (writePrivateKey): Likewise.
30646 (writeKey): New method.
30647 (getKeyType): Likewise.
30648 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30650 (readPrivateKey): Likewise.
30651 (getKeyPairCodec): New method.
30652 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30653 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30654 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30655 (RSA_PSS_ENCODING): Likewise..
30656 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30657 (RSA_PSS_SIG): Redefined using other constants.
30658 (RSA_PKCS1_V1_5_SIG): Likewise.
30659 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30660 * gnu/java/security/util/FormatUtil.java: New file.
30661 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30662 (getInstance): Let RSASignatureFactory handle RSA signature names.
30663 (getNames): Handle new RSA signature (with format) names.
30664 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30665 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30667 (name): Include hash algorithm name.
30668 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30669 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30670 (RSAPSSSignature): Call constructor with IMessageDigest.
30671 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30672 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30674 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30676 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30677 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30678 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30679 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30680 hash algorithm name to exception.
30681 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30682 * gnu/java/security/key/KeyPairCodecFactory.java
30683 (names): New class field.
30684 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30685 (getInstance(String,String)): New method.
30686 (getInstance(String,int)): New method.
30687 (getInstance(byte[])): Removed.
30688 (getInstance(Key)): Handle new formats.
30689 (getNames): Likewise.
30690 (getEncodingName(int)): Moved to FormatUtil.
30691 (getEncodingShortName(int)): Likewise.
30692 (getRawCodec(String)): New method.
30693 (getX509Codec(String)): Likewise.
30694 (getPKCS8Codec(String)): Likewise.
30695 (getRawCodec(Key)): Likewise.
30696 (getX509Codec(Key)): Likewise.
30697 (getPKCS8Codec(Key)): Likewise.
30698 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30699 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30700 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30701 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30702 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30703 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30704 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30705 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30706 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30708 2006-02-18 Mark Wielaard <mark@klomp.org>
30710 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30712 (NoDragGestureRecognizer): New static class.
30713 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30714 Toolkit doesn't support drag and drop.
30716 2006-02-18 Mark Wielaard <mark@klomp.org>
30718 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30719 (AbstractAction(String)): Just call putValue() for NAME.
30720 (putValue): Nothing to do is old and new value are both null.
30722 2006-02-18 Mark Wielaard <mark@klomp.org>
30724 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30725 through getContentPane().
30726 (preferredLayoutSize): Likewise.
30728 2006-02-18 Mark Wielaard <mark@klomp.org>
30730 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30731 actually set before painting.
30733 2006-02-18 Mark Wielaard <mark@klomp.org>
30735 * javax/swing/text/html/HTMLDocument.java (addContent):
30736 Fully qualify AbstractDocument.AttributeContext and
30737 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30739 2006-02-18 Mark Wielaard <mark@klomp.org>
30741 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30742 (getRepresentationClassFromMime): Add exception cause to
30743 IllegalArgumentException.
30745 2006-02-17 Lillian Angel <langel@redhat.com>
30747 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30748 Removed unneeded import.
30749 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30750 Removed unneeded imports.
30751 * java/awt/BorderLayout.java:
30752 Fixed comment, this is not yet handled in the JDK 1.5.
30753 * java/awt/Container.java:
30754 Removed unneeded import.
30756 2006-02-17 Lillian Angel <langel@redhat.com>
30758 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30759 (setBounds): Removed check. Coordinates should always be changed
30760 to incorporate the parent's coordinates.
30761 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30762 (setMenuBar): Added checks. Don't validate component if it has
30763 not been validated yet, it will be validated later. Only validate
30764 if it has already been validated, in that case it needs to be
30766 * java/awt/Window.java
30767 (show): Added check. If the window is visible, then bring it to the
30768 front. Otherwise, iterate through all its children windows and show them.
30769 No need to do both.
30771 2006-02-17 Roman Kennke <kennke@aicas.com>
30773 * javax/swing/text/html/ParagraphView.java: New file.
30775 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30777 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30778 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30779 same location where was the initial text.
30780 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30782 2006-02-17 Chris Burdess <dog@gnu.org>
30784 Fixes PRs 26319, 26320, 26321, 26322, 26325
30785 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30786 rethrowing exception.
30787 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30788 1.1-style prefix unbinding in 1.0 document" error for xmlns
30789 prefixes, not xmlns attributes. Fix a problem with empty namespace
30790 stack at the end of a document. Permit parameter entity references
30791 in element and attribute-list definition name area. Corrected
30792 normalisation of whitespace character entity references in CDATA
30793 attribute values. Fixed number of characters read following a
30794 reset when detecting end of character data with characters after a
30795 Unicode surrogate pair.
30797 2006-02-17 Roman Kennke <kennke@aicas.com>
30799 * javax/swing/text/html/HTMLEditorKit.java
30800 (HTMLFactory.create): Create InlineView for content tags.
30801 * javax/swing/text/html/HTMLDocument.java
30802 (HTMLReader.flush): Call create() on first flush and insert
30803 on subsequent flushes.
30805 2006-02-17 Roman Kennke <kennke@aicas.com>
30807 * javax/swing/text/AbstractDocument.java
30808 (BranchElement.getStartOffset): Implemented workaround for wrong
30810 (BranchElement.getEndOffset): Implemented workaround for wrong
30812 (ElementBuffer.split): Use createBranchElement() instead of
30813 new BranchElement().
30814 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30815 new BranchElement().
30816 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30817 instead of new BranchElement().
30818 (createDefaultRoot): Use createBranchElement() and createLeafElement
30819 instead of the constructors.
30820 (create): Rewritten.
30822 2006-02-17 Keith Seitz <keiths@redhat.com>
30824 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30825 (SIZE): New constant.
30826 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30827 (executeIDsizes): Use SIZE constant.
30828 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30829 (SIZE): New constant.
30831 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30833 * javax/swing/JTable.java (IconCellRenderer): Set the component
30834 text to empty string. (createDefaultRenderers): Register
30835 IconCellRenderer also for ImageIcon.
30836 (getCellEditor(int, int), getCellRenderer(int, int)):
30837 Use model index for data model and column index for column model.
30838 (getColumnClass): Convert to model index before requesting class
30841 2006-02-17 Roman Kennke <kennke@aicas.com>
30843 * javax/swing/text/html/HTMLDocument.java
30844 (createDefaultRoot): Implemented.
30845 (createLeafElement): Implemented.
30846 (createBranchElement): Implemented.
30847 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30848 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30849 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30850 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30851 (HTMLReader.blockOpen): Add name attribute with the current tag.
30852 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30854 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30856 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30858 * javax/swing/table/JTableHeader.java: Documenting related methods.
30860 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30863 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30864 (connect): Changed to use SystemProperties.
30865 (getInputStream): Try changeWorkingDirectory to figure out if
30866 url is a directory, if not use retrieve.
30867 (getOutputStream): Don't worry about directories, simply always
30870 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30872 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30873 (ActiveModeDTP): Mark accept thread as daemon.
30875 2006-02-17 Michael Koch <konqueror@gmx.de>
30877 * tools/.cvsignore: Ignore tools.zip.
30879 2006-02-16 Keith Seitz <keiths@redhat.com>
30881 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30882 Set the ID's reference.
30883 (<clinit>): Remove comments for field, method, and frame ID types,
30884 which will not be handled by VMIdManager.
30886 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30888 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30889 Use model index, not the column number.
30890 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30891 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30892 movement by painting draggingHeaderRect.
30893 * NEWS: Added entry about JTable columns.
30895 2006-02-16 Keith Seitz <keiths@redhat.com>
30897 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30898 default size of eight bytes.
30899 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30900 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30901 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30902 (executeIDsizes): Use new static methods.
30903 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30906 2006-02-16 David Daney <ddaney@avtrex.com>
30909 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30910 return value with 0xff.
30912 2006-02-16 Keith Seitz <keiths@redhat.com>
30914 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30915 (matches): Use Iterator instead of ListIterator.
30917 2006-02-16 Keith Seitz <keiths@redhat.com>
30919 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30920 processor thread for easier debugging.
30921 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30924 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30926 * javax/swing/JTable.java
30927 (TableColumnPropertyChangeHandler.propertyChange): Return without
30928 action if table header resizing column in not null. (doLayout):
30929 Only repaint the header if it is not null.
30930 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30931 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30932 Rewritten. (MouseInputHandler.endResizing): New method.
30934 2006-02-16 Roman Kennke <kennke@aicas.com>
30936 * javax/swing/text/html/InlineView.java: New file.
30938 2006-02-16 Roman Kennke <kennke@aicas.com>
30940 * javax/swing/JTabbedPane.java
30941 (AccessibleJTable.getAccessibleChild): Implemented to return
30942 the Page instance for the specified index.
30943 (Page): Changed to implement Accessible and extend
30945 (Page.getAccessibleContext): New method.
30946 (Page.getAccessibleRole): New method.
30947 (Page.getAccessibleStateSet): New method.
30948 (Page.getAccessibleIndexInParent): New method.
30949 (Page.getAccessibleChildrenCount): New method.
30950 (Page.getAccessibleChild): New methdod.
30951 (Page.getLocale): New method.
30953 2006-02-16 Roman Kennke <kennke@aicas.com>
30955 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30956 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30957 tabCount gets greater than tabRuns.length.
30958 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30959 when tabCount gets greater than tabRuns.length.
30960 (paintTabArea): Don't set tabCount == runCount.
30962 2006-02-16 Roman Kennke <kennke@aicas.com>
30964 * javax/swing/plaf/basic/BasicTextUI.java
30965 (installUI): Moved installation of PropertyChangeListener
30966 to installListeners(). Call modelChanged() after everything is
30968 (installListeners): Install PropertyChangeListener here.
30969 (uninstallUI): Moved uninstallation of PropertyChangeListener
30970 to uninstallListeners.
30971 (uninstallListeners): Uninstall PropertyChangeListener here.
30973 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30975 * javax/swing/JTable.java (doLayout):
30976 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30978 javax/swing/plaf/basic/BasicTableHeaderUI.java
30979 (MouseInputHandler.mouseDragged): Do not repaint the header.
30981 2006-02-16 Roman Kennke <kennke@aicas.com>
30983 * javax/swing/JViewport.java
30984 (static_initializer): Set default scrollMode to backingstore.
30986 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30988 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30989 returned by getCellRect. To not translate the component.
30991 2006-02-16 Roman Kennke <kennke@aicas.com>
30993 * javax/swing/JComponent.java
30994 (rectCache): Made field non-static to avoid nasty interferences.
30995 (computeVisibleRect): Avoid creation of new Rectangles and double
30996 calculations on ints by using Swing.computeIntersection() instead
30997 of Rectangle2D.intersect().
30998 (repaint): Interect the dirty region with the visible rectangle
30999 of this component to avoid unnecessary painting.
31001 2006-02-16 Gary Benson <gbenson@redhat.com>
31003 * java/lang/Thread.java (stop): Add a missing access check.
31005 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
31007 * javax/swing/text/JTextComponent.java:
31008 (replaceSelection): Added code to update the magic caret position.
31009 * javax/swing/text/DefaultEditorKit.java: Added code to update
31010 the magic caret position of the text component in all relevant
31011 movement actions, make use of the magic caret position in up
31012 and down movements and selections, simplified some actions
31015 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31017 * gnu/java/lang/CharData.java: Regenerated from
31018 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31019 and scripts/unicode-muncher.pl.
31020 * java/lang/Character.java:
31021 (PrivateUseCharacters): New private static class.
31022 (UnassignedCharacters): Likewise.
31023 (blocks): Changed from char[] to char[][] to reflect the changes in
31024 gnu/java/lang/CharData. There is now one char[] per Unicode code
31027 (numValue): Likewise.
31030 (direction): Likewise.
31031 (readChar): Replaced this method with new method readCodePoint.
31032 (readCodePoint): New method.
31033 (isLowerCase(char)): Redirected to new isLowerCase(int).
31034 (isLowerCase(int)): New method.
31035 (isUpperCase(char)): Redirected to new isUpperCase(int).
31036 (isUpperCase(int)): New method.
31037 (isTitleCase(char)): Redirected to new isTitleCase(int).
31038 (isTitleCase(int)): New method.
31039 (isDigit(char)): Redirected to new isDigit(int).
31040 (isDigit(int)): New method.
31041 (isDefined(char)): Redirected to new isDefined(int).
31042 (isDefined(int)): New method.
31043 (isLetter(char)): Redirected to new isLetter(int).
31044 (isLetter(int)): New method.
31045 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31046 (isLetterOrDigit(int)): New method.
31047 (isJavaIdentifierStart(char)): Redirected to new
31048 isJavaIdentifierStart(int).
31049 (isJavaIdentifierStart(int)): New method.
31050 (isJavaIdentifierPart(char)): Redirected to new
31051 isJavaIdentifierPart(int).
31052 (isJavaIdentifierPart(int)): New method.
31053 (isUnicodeIdentifierStart(char)): Redirected to new
31054 isUnicodeIdentifierStart(int).
31055 (isUnicodeIdentifierStart(int)): New method.
31056 (isUnicodeIdentifierPart(char)): Redirected to new
31057 isUnicodeIdentifierPart(int).
31058 (isUnicodeIdentifierPart(int)): New method.
31059 (isIdentifierIgnorable(char)): Redirected to new
31060 isIdentifierIgnorable(int).
31061 (isIdentifierIgnorable(int)): New method.
31062 (toLowerCase(char)): Changed access to lower to correspond with new
31063 char[][] type of lower.
31064 (toLowerCase(int)) New method.
31065 (toUpperCase(char)): Changed access to upper to correspond with new
31066 char[][] type of upper.
31067 (toUpperCase(int)): New method.
31068 (toTitleCase(int)): New method.
31069 (digit(char, int)): Replaced call to readChar with call to
31070 readCodePoint and changed access to numValue to reflect new char[][]
31072 (digit(int, int)): New method.
31073 (getNumericValue(char)): Changed access to numValue to reflect new
31074 char[][] type of numValue.
31075 (getNumericValue(int)): New method.
31076 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31077 (isSpaceChar(int)): New method.
31078 (isWhitespace(char)): Redirected to new isWhitespace(int).
31079 (isWhitespace(int)): New method.
31080 (isISOControl(char)): Redirected to new isISOControl(int).
31081 (isISOControl(int)): New method.
31082 (getType(char)): Redirected to new getType(int).
31083 (getType(int)): New method.
31084 (getDirectionality(char)): Redirected to new getDirectionality(int).
31085 (getDirectionality(int)): New method.
31086 (isMirrored(char)): Changed call to readChar to readCodePoint.
31087 (isMirrored(int)): New method.
31088 * java/lang/String.java:
31089 (upperCaseExpansion): Changed access to Character.direction to reflect
31090 new char[][] type of direction.
31091 (offsetByCodePoints): New method.
31092 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31093 4.0.0 which introduced supplementary character assignments.
31095 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31097 * javax/swing/JTable.java,
31098 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31099 javax/swing/table/DefaultTableModel.java: Documented.
31101 2006-02-15 Lillian Angel <langel@redhat.com>
31103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31104 Removed duplicate methods.
31106 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31108 * javax/swing/JTable.java (distributeSpillResizing): New method.
31109 (doLayout): Use distributeSpillResizing when resizing.
31110 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31111 Rewritten. (installListeners): Add mouse motion listener.
31112 (uninstallListeners): Remove mouse motion listener.
31114 2006-02-15 Lillian Angel <langel@redhat.com>
31116 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31117 (setVisible): Removed method.
31118 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31119 (setLocation): New method.
31120 (setLocationUnlocked): New method.
31121 (show): Changed to use setLocation instead of setBounds.
31122 * java/awt/Component.java
31123 (show): Should call peer.show(), not peer.setVisible(), so the
31124 location of the component is correctly set.
31125 (preferredSize): Added curly braces so else statements are
31126 properly associated with if's.
31127 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31128 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31130 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31131 LocationUnlocked): New function.
31132 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31133 Added declarations for Java_gnu_java_awt_peer_gtk_
31134 GtkWindowPeer_nativeSetLocation and
31135 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31136 _nativeSetLocationUnlocked.
31138 2006-02-15 Mark Wielaard <mark@klomp.org>
31140 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31141 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31142 Downcast gtk_plug_new result when used.
31144 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31146 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31147 Call assignNewHandle() after writing Proxy class.
31149 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31152 * java/io/ObjectInputStream.java (readClassDescriptor):
31153 Class doesn't have to be abstract for first_nonserial.
31155 2006-02-15 Roman Kennke <kennke@aicas.com>
31157 * javax/swing/JInternalFrame.java
31158 (setClosed): Call dispose to actually make the frame invisible
31161 2006-02-15 Roman Kennke <kennke@aicas.com>
31163 * javax/swing/JInternalFrame.java
31164 (dispose): Call setVisible(false) instead of hide.
31165 (doDefaultCloseOperation): Likewise.
31167 2006-02-15 Roman Kennke <kennke@aicas.com>
31169 * javax/swing/JComponent.java
31170 (paintChildren): Also check for the visibility of a child component
31171 to avoid artifacts.
31172 (repaint): Simply add this component to the RepaintManager rather than
31173 trying to do useless optimization here.
31175 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31177 * javax/swing/JSpinner.java
31178 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31179 PropertyChangeListener,
31180 (DefaultEditor.getSpinner): Updated API docs,
31181 (DefaultEditor.dismiss): Likewise,
31182 (DefaultEditor.getTextField): Likewise,
31183 (DefaultEditor.layoutContainer): Likewise,
31184 (DefaultEditor.minimumLayoutSize): Likewise,
31185 (DefaultEditor.preferredLayoutSize): Likewise,
31186 (DefaultEditor.propertyChange): Implemented,
31187 (DefaultEditor.stateChanged): Implemented,
31188 (DefaultEditor.removeLayoutComponent): Updated API docs,
31189 (DefaultEditor.addLayoutComponent): Likewise,
31190 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31191 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31192 (NumberEditor.getFormat): Implemented,
31193 (NumberEditor.getModel): Updated API docs,
31194 (NumberEditorFormatter): New static inner class,
31195 (ListEditor.getModel): Updated API docs,
31196 (DateEditor.dateFormat): Removed,
31197 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31198 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31199 (DateEditor.init): Removed,
31200 (DateEditor.getFormat): Reimplemented,
31201 (DateEditorFormatter): New static inner class,
31202 (ModelListener): New inner class,
31203 (model): Updated API docs,
31204 (editor): Likewise,
31205 (listener): Removed,
31206 (JSpinner()): Updated API docs,
31207 (JSpinner(SpinnerModel)): Set up ModelListener,
31208 (setEditor): Fire property change,
31209 (getModel): Updated API docs,
31210 (setModel): Removed check for null editor,
31211 (setValue): Updated API docs,
31212 (getUIClassID): Updated API docs,
31213 (createEditor): Handle SpinnerListModel case,
31214 * javax/swing/plaf/basic/BasicSpinnerUI.java
31215 (createUI): Updated API docs,
31216 (createPropertyChangeListener): Added FIXME,
31217 (installDefaults): Set text field border to null,
31218 (DefaultLayoutManager): Updated API docs,
31219 (DefaultLayoutManager.layoutContainer): Modified layout,
31220 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31221 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31222 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31223 (DefaultLayoutManager.addLayoutComponent): Likewise,
31224 (DefaultLayoutManager.minSize): Renamed prefSize,
31225 (DefaultLayoutManager.setBounds): Reformatted,
31226 (DefaultLayoutManager.editor): Added API docs,
31227 (DefaultLayoutManager.next): Likewise,
31228 (DefaultLayoutManager.previous): Likewise,
31229 * javax/swing/plaf/metal/MetalLookAndFeel.java
31230 (initComponentDefaults): Added entry for 'Spinner.border',
31231 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31233 2006-02-15 Chris Burdess <dog@gnu.org>
31235 * gnu/xml/validation/datatype/BooleanType.java,
31236 gnu/xml/validation/datatype/ByteType.java,
31237 gnu/xml/validation/datatype/DateTimeType.java,
31238 gnu/xml/validation/datatype/DateType.java,
31239 gnu/xml/validation/datatype/DecimalType.java,
31240 gnu/xml/validation/datatype/DoubleType.java,
31241 gnu/xml/validation/datatype/DurationType.java,
31242 gnu/xml/validation/datatype/FloatType.java,
31243 gnu/xml/validation/datatype/GDayType.java,
31244 gnu/xml/validation/datatype/GMonthDayType.java,
31245 gnu/xml/validation/datatype/GMonthType.java,
31246 gnu/xml/validation/datatype/GYearMonthType.java,
31247 gnu/xml/validation/datatype/GYearType.java,
31248 gnu/xml/validation/datatype/IntType.java,
31249 gnu/xml/validation/datatype/IntegerType.java,
31250 gnu/xml/validation/datatype/LongType.java,
31251 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31252 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31253 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31254 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31255 gnu/xml/validation/datatype/NegativeIntegerType.java,
31256 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31257 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31258 gnu/xml/validation/datatype/PositiveIntegerType.java,
31259 gnu/xml/validation/datatype/ShortType.java,
31260 gnu/xml/validation/datatype/SimpleType.java,
31261 gnu/xml/validation/datatype/TimeType.java,
31262 gnu/xml/validation/datatype/TypeBuilder.java,
31263 gnu/xml/validation/datatype/UnsignedByteType.java,
31264 gnu/xml/validation/datatype/UnsignedIntType.java,
31265 gnu/xml/validation/datatype/UnsignedLongType.java,
31266 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31267 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31268 minInclusive facets use the value space of the base type, and
31271 2006-02-15 Mark Wielaard <mark@klomp.org>
31273 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31274 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31275 gtk_plug_new() returns a GtkWindow.
31277 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31279 * javax/swing/SpinnerNumberModel.java
31280 (getNextValue): Check for null maximum,
31281 (getPreviousValue): Check for null minimum.
31283 2006-02-15 Roman Kennke <kennke@aicas.com>
31285 * javax/swing/plaf/basic/BasicTableUI.java
31286 (paint): Paint vertical and horizontal lines one pixel shifted
31289 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31291 * java/util/zip/ZipFile.java
31292 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31293 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31294 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31295 (readEntries): Rewritten to use PartialInputStream.
31296 (locBuf, checkLocalHeader): Removed.
31297 (getInputStream): Rewritten to use new PartialInputStream.
31298 (PartialInputStream): Rewritten to do buffering.
31300 2006-02-15 Michael Koch <konqueror@gmx.de>
31302 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31303 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31304 Make sure the embedded window gets no decorations.
31305 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31306 (window_get_frame_extents): Return early of the window has no
31309 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31311 * examples/gnu/classpath/examples/swing/TableDemo.java
31312 (TModel, createContent): Explain which value appears in the header.
31313 * javax/swing/JTable.java (setColumnModel): Only set the
31314 column header value if the getHeaderValue() returns null.
31316 2006-02-14 Mark Wielaard <mark@klomp.org>
31319 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31320 (getErrorImage): New static method.
31321 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31322 (bufferedImageOrError): Renamed to ...
31323 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31324 Returns GtkImage.getErrorImage() when argument null.
31325 (createImage(String)): Always use imageOrError.
31326 (createImage(URL)): Likewise.
31327 (createImage(ImageProducer)): Likewise.
31328 (createImage(byte[],int,int)): Likewise.
31330 2006-02-14 Roman Kennke <kennke@aicas.com>
31332 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31334 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31335 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31336 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31337 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31338 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31340 2006-02-14 Roman Kennke <kennke@aicas.com>
31342 * javax/swing/text/AsyncBoxView.java
31343 (ChildState.locator): Removed wrong field.
31344 (ChildState): Removed initialization of removed field.
31345 (locator): Changed access modifier to be protected as specified.
31347 2006-02-14 Roman Kennke <kennke@aicas.com>
31349 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31350 * javax/swing/Timer.java: Some small reindention.
31351 (task): Made package private to avoid synthetic accessor method.
31353 2006-02-14 Roman Kennke <kennke@aicas.com>
31355 * javax/swing/SwingUtilities.java
31356 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31359 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31361 * examples/gnu/classpath/examples/swing/TableDemo.java:
31362 Making the columns variable width.
31363 * javax/swing/JTable.java (distributeSpill, doLayout):
31364 Call getPreferredSize and not getSize().
31366 2006-02-14 Roman Kennke <kennke@aicas.com>
31368 * javax/swing/DefaultCellEditor.java
31369 (DefaultCellEditor): API doc fixlet.
31371 2006-02-14 Roman Kennke <kennke@aicas.com>
31373 * javax/swing/JViewport.java
31374 (isPaintRoot): New field.
31375 (repaint): Only call super here. Also added a comment regarding
31376 the diversion from the JDK.
31377 (paintBlit): Implemented real blitting.
31378 (paintImmediately2): New method. Overrides the same package private
31379 method in JComponent.
31381 2006-02-14 Roman Kennke <kennke@aicas.com>
31383 * javax/swing/plaf/basic/BasicTableUI.java
31384 (paint): Check for boundary cases when determining the painting
31387 2006-02-14 Mark Wielaard <mark@klomp.org>
31389 * java/awt/Menu.java (add): Always set parent of item to this. Call
31390 addNotify() on item when we have a MenuPeer already.
31391 (insert): Always adjust parent for item. Call addNotify() on item if
31392 we already have a peer.
31393 (remove(int)): Always clear item parent. Call removeNotify() on item
31396 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31398 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31399 row == getRowCount().
31401 2006-02-14 Lillian Angel <langel@redhat.com>
31403 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31404 (setVisible): New method to override super. Need to set the
31405 native bounds of the component, so it appears at the
31408 2006-02-14 Mark Wielaard <mark@klomp.org>
31410 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31411 (remove): If menu component is the current MenuBar remove it,
31412 otherwise call super.remove().
31413 * java/awt/MenuBar.java (frame): Remove field.
31414 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31416 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31418 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31419 to NameServicePersistent.
31420 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31421 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31423 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31425 * NEWS: Updated tool status.
31426 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31427 (constructor, bind, rebind): Rewritten.
31428 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31429 * tools/gnu/classpath/tools/giop/README: Updated.
31430 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31431 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31432 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31433 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31434 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31437 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31439 * javax/swing/JComponent.java
31440 (getListeners): Check for PropertyChangeListener.class and delegate to
31441 getPropertyChangeListeners() for that case.
31443 2006-02-13 Roman Kennke <kennke@aicas.com>
31445 * javax/swing/plaf/basic/BasicTableUI.java
31446 (paint): Determine the cells that need painting based on the
31447 current clip. Use getCellRect() for calculating the cell
31450 2006-02-13 Roman Kennke <kennke@aicas.com>
31452 * javax/swing/JTable.java
31453 (rectCache): New field.
31454 (getCellRect): Returns cached Rectangle instance.
31456 2006-02-13 Roman Kennke <kennke@aicas.com>
31458 * javax/swing/JLayeredPane.java
31459 (removeAll): New method. Avoid potential memory leak.
31460 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31463 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31465 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31466 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31468 2006-02-13 Tom Tromey <tromey@redhat.com>
31470 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31471 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31473 2006-02-13 Roman Kennke <kennke@aicas.com>
31475 * javax/swing/RepaintManager.java
31476 (offscreenBuffers): New field.
31477 (doubleBuffer): Removed field.
31478 (repaintUnderway): New field.
31479 (commitRequests): New field.
31480 (RepaintManager): Initialize new fields.
31481 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31483 (getOffscreenBuffer): Returns the offscreen buffer for the
31484 corresponding root component.
31485 (commitBuffer): New method.
31486 (commitRemainingBuffers): New method.
31487 * javax/swing/JComponent.java
31488 (paint): Call paintDoubleBuffered with the current clip.
31489 (paintImmediately2): Don't paint on screen here.
31490 (paintDoubleBuffered): Rewritten for real double buffering.
31491 (paintSimple): Draw to screen in this method.
31493 2006-02-13 Roman Kennke <kennke@aicas.com>
31495 * javax/swing/JRootPane.java
31496 (JRootPane): Set opaque property to true.
31498 2006-02-13 Tom Tromey <tromey@redhat.com>
31500 * .classpath: Updated for external/relaxngDatatype.
31502 2006-02-13 Chris Burdess <dog@gnu.org>
31504 * gnu/xml/stream/UnicodeReader.java,
31505 gnu/xml/validation/datatype/Annotation.java,
31506 gnu/xml/validation/datatype/AnySimpleType.java,
31507 gnu/xml/validation/datatype/AnyType.java,
31508 gnu/xml/validation/datatype/AnyURIType.java,
31509 gnu/xml/validation/datatype/AtomicSimpleType.java,
31510 gnu/xml/validation/datatype/Base64BinaryType.java,
31511 gnu/xml/validation/datatype/BooleanType.java,
31512 gnu/xml/validation/datatype/ByteType.java,
31513 gnu/xml/validation/datatype/DateTimeType.java,
31514 gnu/xml/validation/datatype/DateType.java,
31515 gnu/xml/validation/datatype/DecimalType.java,
31516 gnu/xml/validation/datatype/DoubleType.java,
31517 gnu/xml/validation/datatype/DurationType.java,
31518 gnu/xml/validation/datatype/EntitiesType.java,
31519 gnu/xml/validation/datatype/EntityType.java,
31520 gnu/xml/validation/datatype/EnumerationFacet.java,
31521 gnu/xml/validation/datatype/Facet.java,
31522 gnu/xml/validation/datatype/FloatType.java,
31523 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31524 gnu/xml/validation/datatype/GDayType.java,
31525 gnu/xml/validation/datatype/GMonthDayType.java,
31526 gnu/xml/validation/datatype/GMonthType.java,
31527 gnu/xml/validation/datatype/GYearMonthType.java,
31528 gnu/xml/validation/datatype/GYearType.java,
31529 gnu/xml/validation/datatype/HexBinaryType.java,
31530 gnu/xml/validation/datatype/IDRefType.java,
31531 gnu/xml/validation/datatype/IDRefsType.java,
31532 gnu/xml/validation/datatype/IDType.java,
31533 gnu/xml/validation/datatype/IntType.java,
31534 gnu/xml/validation/datatype/IntegerType.java,
31535 gnu/xml/validation/datatype/LanguageType.java,
31536 gnu/xml/validation/datatype/LengthFacet.java,
31537 gnu/xml/validation/datatype/ListSimpleType.java,
31538 gnu/xml/validation/datatype/LongType.java,
31539 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31540 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31541 gnu/xml/validation/datatype/MaxLengthFacet.java,
31542 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31543 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31544 gnu/xml/validation/datatype/MinLengthFacet.java,
31545 gnu/xml/validation/datatype/NCNameType.java,
31546 gnu/xml/validation/datatype/NMTokenType.java,
31547 gnu/xml/validation/datatype/NMTokensType.java,
31548 gnu/xml/validation/datatype/NameType.java,
31549 gnu/xml/validation/datatype/NegativeIntegerType.java,
31550 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31551 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31552 gnu/xml/validation/datatype/NormalizedStringType.java,
31553 gnu/xml/validation/datatype/NotationType.java,
31554 gnu/xml/validation/datatype/PatternFacet.java,
31555 gnu/xml/validation/datatype/PositiveIntegerType.java,
31556 gnu/xml/validation/datatype/QNameType.java,
31557 gnu/xml/validation/datatype/ShortType.java,
31558 gnu/xml/validation/datatype/SimpleType.java,
31559 gnu/xml/validation/datatype/StringType.java,
31560 gnu/xml/validation/datatype/TimeType.java,
31561 gnu/xml/validation/datatype/TokenType.java,
31562 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31563 gnu/xml/validation/datatype/Type.java,
31564 gnu/xml/validation/datatype/TypeBuilder.java,
31565 gnu/xml/validation/datatype/TypeLibrary.java,
31566 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31567 gnu/xml/validation/datatype/UnionSimpleType.java,
31568 gnu/xml/validation/datatype/UnsignedByteType.java,
31569 gnu/xml/validation/datatype/UnsignedIntType.java,
31570 gnu/xml/validation/datatype/UnsignedLongType.java,
31571 gnu/xml/validation/datatype/UnsignedShortType.java,
31572 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31573 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31574 RELAX NG datatype library implementation for XML Schema Datatypes.
31576 2006-02-13 Chris Burdess <dog@gnu.org>
31582 external/Makefile.am,
31583 external/relaxngDatatype/.cvsignore,
31584 external/relaxngDatatype/Makefile.am,
31585 external/relaxngDatatype/README.txt,
31586 external/relaxngDatatype/copying.txt,
31587 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31588 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31589 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31590 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31591 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31592 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31593 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31594 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31595 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31596 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31598 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31599 datatypes library API.
31601 2006-02-13 Mark Wielaard <mark@klomp.org>
31603 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31605 (gtkWidgetModifyFont(Font)): New protected helper method.
31606 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31607 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31608 protected and document.
31609 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31611 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31613 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31615 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31616 (setFont): Removed method. Done in GtkMenuComponent.
31617 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31618 abstract and protected.
31619 (setFont): Made private, add implementation.
31620 (setFont(Font)): Implemented.
31621 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31622 Made protected and document.
31623 (create): Made protected.
31624 (setFont): Removed method. Done in GtkMenuComponent.
31625 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31626 (gtkWidgetModifyFont): Made protected and document.
31627 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31628 Removed, similar to GtkGenericPeer super class implementation.
31629 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31630 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31631 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31634 2006-02-13 Mark Wielaard <mark@klomp.org>
31636 * java/lang/Math.java (static): Explicitly call
31637 System.loadLibrary("javalang").
31639 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31641 * javax/print/StreamPrintServiceFactory.java: New file.
31643 2006-02-13 Tom Tromey <tromey@redhat.com>
31645 * tools/.cvsignore: Added Makefile.
31647 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31649 * java/awt/print/PrinterGraphics.java: Reformatted.
31650 * java/awt/print/Paper.java: Likewise.
31651 * java/awt/print/PageFormat.java: Likewise.
31652 * java/awt/print/Pageable.java: Likewise.
31654 2006-02-13 Lillian Angel <langel@redhat.com>
31656 * java/awt/BorderLayout.java
31657 (layoutContainer): Rewrote part of this function to
31658 properly set the bounds of the components.
31659 (setBounds): Removed method, not needed.
31661 2006-02-13 Roman Kennke <kennke@aicas.com>
31663 * javax/swing/text/DefaultStyledDocument.java
31664 (ElementBuffer.clone): Fixed replace call.
31665 (clone): Removed method.
31667 2006-02-13 Roman Kennke <kennke@aicas.com>
31669 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31671 2006-02-13 Roman Kennke <kennke@aicas.com>
31673 * java/rmi/server/UnicastRemoteObject.java
31674 (exportObject(Remote)): Forward method call to export(Remote,int).
31676 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31678 * include/Makefile.am:
31679 Swapped Math.h for VMMath.h
31680 * include/java_lang_Math.h:
31682 * include/java_lang_VMMath.h:
31683 New autogenerated header for the new class.
31684 * java/lang/Math.java:
31685 (sin(double)): Changed to link to VMMath.
31686 (cos(double)): Changed to link to VMMath.
31687 (tan(double)): Changed to link to VMMath.
31688 (asin(double)): Changed to link to VMMath.
31689 (acos(double)): Changed to link to VMMath.
31690 (atan(double)): Changed to link to VMMath.
31691 (atan2(double)): Changed to link to VMMath.
31692 (exp(double)): Changed to link to VMMath.
31693 (log(double)): Changed to link to VMMath.
31694 (sqrt(double)): Changed to link to VMMath.
31695 (pow(double,double)): Changed to link to VMMath.
31696 (IEEEremainder(double,double)): Changed to link to VMMath.
31697 (ceil(double)): Changed to link to VMMath.
31698 (floor(double)): Changed to link to VMMath.
31699 (rint(double)): Changed to link to VMMath.
31700 * native/jni/java-lang/Makefile.am:
31701 Replaced java_lang_Math.c with java_lang_VMMath.c
31702 * native/jni/java-lang/java_lang_Math.c:
31704 * native/jni/java-lang/java_lang_VMMath.c:
31705 Renamed from java_lang_Math.c.
31706 * vm/reference/java/lang/VMMath.java:
31708 (sin(double)): New native method.
31709 (cos(double)): New native method.
31710 (tan(double)): New native method.
31711 (asin(double)): New native method.
31712 (acos(double)): New native method.
31713 (atan(double)): New native method.
31714 (atan2(double)): New native method.
31715 (exp(double)): New native method.
31716 (log(double)): New native method.
31717 (sqrt(double)): New native method.
31718 (pow(double,double)): New native method.
31719 (IEEEremainder(double,double)): New native method.
31720 (ceil(double)): New native method.
31721 (floor(double)): New native method.
31722 (rint(double)): New native method.
31724 2006-02-13 Lillian Angel <langel@redhat.com>
31726 * java/awt/Component.java
31727 (repaint): No need to call isShowing, it is done in the other repaint call.
31728 (repaint): Likewise.
31729 (repaint): Likewise.
31731 2006-02-13 Lillian Angel <langel@redhat.com>
31733 * java/awt/Component.java
31734 (repaint): Reverted last change.
31735 (repaint): Likewise.
31736 (repaint): Likewise.
31738 2006-02-13 Lillian Angel <langel@redhat.com>
31740 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31741 (handleEvent): Made more efficent by handling paint event and
31742 setting the clip for the graphics.
31743 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31744 (handleEvent): Likewise.
31745 * java/awt/Component.java
31746 (repaint): No need to call isShowing, it is done in the other repaint call.
31747 (repaint): Likewise.
31748 (repaint): Likewise.
31750 2006-02-13 Roman Kennke <kennke@aicas.com>
31752 * javax/swing/text/AbstractDocument.java
31753 (setParent): Added API docs. Call setParent(null) on children before
31754 disconnecting this view from the View hierarchy.
31756 2006-02-13 Roman Kennke <kennke@aicas.com>
31758 * javax/swing/text/AbstractDocument.java
31759 (readUnlock): Don't attempt to unlock when the current threads also
31760 holds a write lock.
31762 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31764 * javax/swing/plaf/metal/MetalBorders.java
31765 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31766 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31768 (Flush3DBorder.borderInsets): New field,
31769 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31770 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31771 null insets argument, and populate result from borderInsets,
31772 (PaletteBorder.borderInsets): New field,
31773 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31774 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31775 null insets argument, and populate result from borderInsets,
31776 (InternalFrameBorder.borderInsets): New field,
31777 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31779 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31780 for null insets argument, and populate result from borderInsets,
31781 (MenuItemBorder.borderInsets): Initialise to correct value.
31783 2006-02-13 Roman Kennke <kennke@aicas.com>
31785 * javax/swing/text/AsyncBoxView.java: New file.
31787 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31790 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31791 was moved to a new method parseCharClass.
31792 (parseCharClass): New method originally in initialize. Added parsing
31793 of nested character classes.
31794 (ParseCharClassResult): New inner class used as a return value of
31796 (getCharExpression),(getNamedProperty): Made static.
31797 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31798 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31799 nested character classes.
31800 (RETokenOneOf): New constructor accepting the Vector addition.
31801 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31802 stands for only one character.
31803 (match): Added the processing of the Vector addition.
31804 (matchN), (matchP): Do not check next token if addition is used.
31806 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31808 * AUTHORS: add self.
31810 2006-02-12 Tom Tromey <tromey@redhat.com>
31812 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31813 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31814 (securityContext): Likewise.
31817 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31821 * gnu/java/net/protocol/file/Connection.java (unquote):
31822 Convert Unicode characters outside basic plane to UTF-8,
31823 rather than throwing an exception.
31825 2006-02-12 Tom Tromey <tromey@redhat.com>
31827 * javax/sound/sampled/LineEvent.java (readObject): New method.
31828 (writeObject): Likewise.
31829 (serialVersionUID): New field.
31831 2006-02-12 Mark Wielaard <mark@klomp.org>
31833 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31834 Silently ignores null listener.
31835 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31836 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31837 array for null propertyName.
31839 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31841 * java/rmi/MarshalledObject.java: Added api docs to the class.
31842 * java/rmi/Remote.java: Added interface api docs.
31843 * java/rmi/package.html: Added package description.
31844 * java/rmi/AccessException.java: Minor api doc fixes.
31845 * java/rmi/NoSuchObjectException.java: Likewise.
31846 * java/rmi/AlreadyBoundException.java: Likewise.
31847 * java/rmi/RemoteException.java: Likewise.
31848 * java/rmi/NotBoundException.java: Likewise.
31849 * java/rmi/RMISecurityException.java: Likewise.
31850 * java/rmi/StubNotFoundException.java: Likewise.
31852 2006-02-12 Mark Wielaard <mark@klomp.org>
31854 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31855 q() to get EventQueue.
31856 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31857 (enableQueue): Remove static method.
31858 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31859 Don't call GtkGenericPeer.enableQueue().
31861 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31863 * java/rmi/MarshalledObject.java: Reformatted.
31864 * java/rmi/Naming.java: Likewise.
31866 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31868 * java/io/InputStream.java
31869 (read(byte[],int,int)): Changed argument validation to prevent
31870 integer overflow. Remove redundant check.
31872 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31875 * java/io/InputStreamReader.java
31876 (InputStreamReader(InputStream)): Use SystemProperties.
31877 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31878 Throw NullPointerException if in is null.
31879 Added maxBytesPerChar initialisation.
31880 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31881 Throw NullPointerException if in is null.
31883 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31885 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31886 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31887 (GnuDHPublicKey): New constructor.
31888 (getEncoded): Removed.
31889 (valueOf): Added support for ASN.1 encoding.
31890 (getEncoded(int)): Likewise.
31891 (equals): New method.
31892 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31893 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31894 (GnuDHPrivateKey(5)): New constructor.
31895 (getEncoded): Removed.
31896 (valueOf): Added support for ASN.1 encoding.
31897 (getEncoded(int)): Likewise.
31898 (equals): New method.
31899 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31900 (PREFERRED_ENCODING_FORMAT): New constant.
31901 (DEFAULT_ENCODING_FORMAT): Likewise.
31902 (preferredFormat): New field.
31903 (setup): Handle preferred encoding format identifier.
31904 (generate): Call constructors with format identifier.
31905 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31906 (GnuDHKey): Added an int argument.
31907 (getEncoded): New method.
31908 (getFormat): New implementation.
31909 (getEncoded(int)): New abstract method.
31910 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31911 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31912 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31913 key-pair generator and key-factory.
31914 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31915 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31916 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31917 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31918 (invokeConstructor): New method.
31919 (getConcreteClass): Likewise.
31920 (getConcreteCtor): Likewise.
31921 (invokeValueOf): Likewise.
31922 (getValueOfMethod): Likewise.
31923 (engineGeneratePublic): Add support for DH keys.
31924 (engineGeneratePrivate): Likewise.
31925 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31926 (decodeDHPublicKey(byte[])): Likewise.
31927 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31928 (decodeDHPrivateKey(byte[])): Likewise.
31930 2006-02-11 Mark Wielaard <mark@klomp.org>
31932 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31934 (repaint): Immediately post to queue when tm <= 0, otherwise call
31935 RepaintTimerTask.schedule().
31936 (RepaintTimerTask): Make static.
31937 (RepaintTimerTask.repaintTimer): New static final field.
31938 (RepaintTimerTask.awtComponent): New field.
31939 (schedule): New static method.
31941 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31943 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31944 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31945 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31946 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31947 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31949 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31951 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31953 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31954 (engineGeneratePublic): Added support for raw key-specifications.
31955 (engineGeneratePrivate): Likewise.
31956 (decodeDSSPublicKey): New method.
31957 (decodeRSAPublicKey): Likewise.
31958 (decodeDSSPrivateKey): Likewise.
31959 (decodeRSAPrivateKey): Likewise.
31960 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31961 (encodePrivateKey): Throw InvalidParameterException.
31962 (decodePublicKey): Likewise.
31963 (decodePrivateKey): Likewise.
31964 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31965 (encodePublicKey): Likewise.
31966 (encodePrivateKey): Likewise.
31967 (decodePublicKey): Likewise.
31968 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31969 (encodePrivateKey): Likewise.
31970 (decodePublicKey): Likewise.
31971 (decodePrivateKey): Likewise.
31972 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31973 (encodePublicKey): Likewise.
31974 (encodePrivateKey): Likewise.
31975 (decodePublicKey): Likewise.
31977 2006-02-10 Roman Kennke <kennke@aicas.com>
31979 * javax/swing/text/StyleContext.java
31980 (registerStaticAttributeKey): New static method.
31982 2006-02-10 Roman Kennke <kennke@aicas.com>
31984 * javax/swing/text/DefaultStyledDocument.java
31985 (ElementBuffer.clone): New method.
31987 2006-02-10 Roman Kennke <kennke@aicas.com>
31989 * javax/swing/text/ParagraphView.java
31990 (findOffsetToCharactersInString): New method.
31991 (getClosestPositionTo): New method.
31992 (getPartialSize): New method.
31993 (getTabBase): New method.
31994 (adjustRow): New method.
31995 (breakView): New method.
31996 (getBreakWeight): New method.
31998 2006-02-10 Roman Kennke <kennke@aicas.com>
32000 * javax/swing/text/GapContent.java
32001 (updateUndoPositions): New method.
32002 * javax/swing/text/StringContent.java
32003 (updateUndoPositions): New method.
32005 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
32007 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32009 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32010 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32011 Added support for encoded key specifications.
32012 (engineGeneratePrivate): Likewise.
32013 (engineGetKeySpec): Likewise.
32014 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32016 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32018 * javax/swing/text/Utilities.java:
32019 (getTabbedTextOffset): Fixed usage of variable p0.
32020 (getPositionAbove): Rewritten.
32021 (getPositionBelow): Rewritten.
32023 2006-02-09 Roman Kennke <kennke@aicas.com>
32025 * javax/swing/text/BoxView.java
32026 (getAxis): Added @since tag.
32027 (setAxis): Added @since tag.
32028 (layoutChanged): Added @since tag.
32029 (isLayoutValid): Added @since tag.
32030 (paint): Don't call setSize here. This is done in RootView already.
32031 (getMaximumSpan): Reimplemented to return the requirements'
32032 maximum size. Added API docs.
32033 (getMinimumSpan): New method.
32034 (layout): Fixed layout order.
32035 (modelToView): Call layout instead of setSize here.
32036 (getResizeWeight): New method.
32037 (getChildAllocation): New method.
32038 (forwardUpdate): New method.
32039 (viewToModel): New method.
32040 (flipEastEndWestEnds): New method.
32041 * javax/swing/text/CompositeView.java
32042 (modelToView): Made this method more robust by returning a default
32043 location if it's not possible to calculate one via the children.
32044 This default location returns the left or right edge of this
32046 (createDefaultLocation): New helper method.
32047 * javax/swing/text/IconView.java
32048 (modelToView): Don't throw BadLocationException. This should
32049 really only be thrown if the position is outside the document
32050 model, not if it's outside the view's boundary.
32052 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32054 * tools/Makefile.am: Handle rmi and giop folders separately.
32056 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32058 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32059 * javax/swing/SpinnerNumberModel.java: Likewise.
32061 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32063 * javax/swing/SpinnerDateModel.java: Removed tabs,
32064 * javax/swing/SpinnerNumberModel.java: Likewise.
32066 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32068 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32069 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32071 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32074 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32075 (isRedirect): Removed, moved to Response.java.
32076 (connect): If error condition redirect responseSink to errorSink.
32077 (getInputStream): If error condition throw IOException, for the error
32078 codes 404 and 410 throw a FileNotFoundException.
32079 * gnu/java/net/protocol/http/Response.java (isError): New method.
32080 (isRedirect): New method, moved from HTTPURLConnection.java.
32082 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32084 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32085 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32086 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32088 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32090 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32091 AbstractMethodGenerator.
32092 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32093 tools/gnu/classpath/tools/rmi/RMIC.java,
32094 tools/gnu/classpath/tools/rmi/RMIC.txt,
32095 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32096 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32097 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32098 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32099 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32100 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32102 * NEWS: Corrected entry about the tools.
32104 2006-02-09 Lillian Angel <langel@redhat.com>
32106 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32107 (handleEvent): Added more to check to prevent assertion errors.
32108 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32109 (handleEvent): Likewise.
32110 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32111 (handleEvent): Likewise.
32113 2006-02-09 Mark Wielaard <mark@klomp.org>
32115 * javax/swing/JTable.java (tableChanged): Interpret null event as
32116 "everything changed".
32118 2006-02-09 Roman Kennke <kennke@aicas.com>
32120 * javax/swing/text/DefaultCaret.java
32121 (DocumentHandler.removeUpdate): When update policy is
32122 'on eventqueue', and the update doesn't come from the
32123 event queue, check if the current dot location is still
32125 (moveDot): Make sure the new dot location is valid.
32126 (setDot): Set the mark the same as the dot.
32128 2006-02-09 Roman Kennke <kennke@aicas.com>
32130 * javax/swing/text/AbstractDocument.java
32131 (remove): Perform all operations within a write lock and in the
32134 2006-02-09 Mark Wielaard <mark@klomp.org>
32136 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32137 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32138 creater than min, adjusting page_size if necessary.
32139 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32141 2006-02-09 Lillian Angel <langel@redhat.com>
32143 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32144 (handleEvent): Added code to handle PaintEvent.UPDATE.
32145 Sun does not call update(Graphics g) on Panels.
32146 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32147 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32148 Sun does not call update(Graphics g) on Panels.
32150 2006-02-09 Roman Kennke <kennke@aicas.com>
32152 * javax/swing/text/BoxView.java
32153 (myAxis): Made field private.
32154 (xLayoutValid): Replaced by layoutValid array.
32155 (yLayoutValid): Replaced by layoutValid array.
32156 (layoutValid): New field.
32157 (spansX): Replaced by spans array.
32158 (spansY): Replaced by spans array.
32159 (spans): New field.
32160 (offsetsX): Replaced by offsets array.
32161 (offsetsY): Replaced by offsets array.
32162 (offsets): New field.
32163 (requirements): New field.
32164 (BoxView): Initialize new fields.
32165 (layoutChanged): Rewritten to use the layoutValid array.
32166 (isLayoutValid): Rewritten to use the layoutValid array.
32167 (replace): Use the new arrays.
32168 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32169 instead of baselineRequirements.
32170 (baselineRequirements): Rewritten to calculate baseline requirements.
32171 (baselineLayout): Rewritten to calculate baseline layout.
32172 (childAllocation): Use new arrays.
32173 (layout): Rewritten. Only update the layout if necessary.
32174 (layoutMajorAxis): Directly set layoutValid.
32175 (layoutMinorAxis): Directly set layoutValid. Use cached size
32177 (getWidth): Use new span array.
32178 (getHeight): Likewise.
32179 (setSize): Rewritten to simply call layout().
32180 (validateLayout): Removed unneeded method.
32181 (getSpan): Use new arrays.
32182 (getOffset): Use new arrays.
32183 (getAlignment): Use cached requirements if possible.
32184 (preferenceChanged): Use new arrays.
32185 * javax/swing/text/FlowView.java
32186 (FlowStrategy.insertUpdate): Do nothing here.
32187 (FlowStrategy.removeUpdate): Do nothing here.
32188 (FlowStrategy.changedUpdate): Do nothing here.
32189 (FlowStrategy.layoutRow): Rewritten.
32190 (FlowStrategy.createView): Rewritten.
32191 (FlowStrategy.adjustRow): New method.
32192 (LogicalView.getViewIndex): Fixed condition for finding child
32194 (layoutDirty): New field indicating the state of the layout.
32195 (FlowView): Initialize new field.
32196 (loadChildren): Set parent on logical view so that preferenceChanges
32197 get propagated upwards.
32198 (layout): Rewritten to match the specs.
32199 (insertUpdate): Set layout to dirty.
32200 (removeUpdate): Set layout to dirty.
32201 (changedUpdate): Set layout to dirty.
32202 * javax/swing/text/GlyphView.java
32203 (getBreakWeight): Rewritten to use the Utilities class. Commented
32204 out though because that is broken.
32205 (insertUpdate): Call preferenceChanged on this object instead of
32207 * javax/swing/text/ParagraphView.java
32208 (Row.loadChildren): Overridden to be a noop to prevent initial
32209 creation of child views. This is carried out by the flow layout.
32210 * javax/swing/text/View.java
32211 (getPreferredSpan): Added API docs.
32212 (getResizeWeight): Added API docs.
32213 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32215 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32216 resizable instead of Integer.MAX_VALUE.
32217 (getAlignment): Added API docs.
32218 (replace): Added API docs.
32219 (forwardUpdate): Rewritten to only notify child views that need to
32222 2006-02-09 Roman Kennke <kennke@aicas.com>
32224 * javax/swing/plaf/basic/BasicTextUI.java
32225 (RootView.paint): Call setSize() before painting the view.
32227 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32230 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32231 flag which enables backslash escape in a replacement.
32232 (getReplacement): New public static method.
32233 (substituteImpl),(substituteAllImpl): Use getReplacement.
32234 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32235 * java/util/regex/Matcher.java(appendReplacement)
32236 Use RE#getReplacement.
32237 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32239 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32241 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32242 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32243 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32244 (PREFERRED_ENCODING_FORMAT): New constant.
32245 (DEFAULT_ENCODING_FORMAT): Likewise.
32246 (preferredFormat): New field.
32247 (setup): Add support for preferred encoding format.
32248 (generate): Call key constructors with explicit format identifier.
32249 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32250 Call constructor with 3 arguments..
32251 (GnuRSAPublicKey(3)): New constructor.
32252 (valueOf): Added support for ASN.1 format.
32253 (getEncoded): Likewise.
32254 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32255 Call constructor with 5 arguments.
32256 (GnuRSAPrivateKey(5)): New constructor.
32257 (GnuRSAPrivateKey(9)): New constructor.
32258 (valueOf): Added support for ASN.1 format.
32259 (getEncoded): Likewise.
32260 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32261 (GnuRSAKey): Modified constructor.
32262 (getFormat): Return preferred format identifier.
32263 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32264 (decodePrivateKey): Fixed documentation.
32265 Check Version field.
32266 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32267 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32269 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32270 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32271 (engineGeneratePublic): Added support for RSA.
32272 (engineGeneratePrivate): Likewise.
32274 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32276 * java/net/URLConnection.java:
32277 (setAllowUserInteraction): Throw IllegalStateException if connected.
32278 (getRequestProperty): Document return value if key is null.
32279 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32280 (getRequestProperty): Return null if key is null.
32281 (getRequestProperties): Throw IllegalStateException if connected.
32282 (setRequestProperty): Call super method for exception tests.
32283 (addRequestProperty): Likewise.
32285 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32287 * gnu/java/net/protocol/http/Request.java:
32288 (Request): Remove initialization of removed field.
32289 (requestBodyNegotiationThreshold): Removed now unused field.
32290 (setRequestBodyNegotiationThreshold): Remove now unused method.
32291 (dispatch): Do not use 'Expect 100-continue' header if content-length
32292 is over a treshold. If user specified 'Expect 100-continue' still
32293 initialize the expectingContinue variable.
32295 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32297 * javax/swing/SpinnerNumberModel.java
32298 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32299 maximum and minimum to take null values,
32300 (setValue): Only fire ChangeEvent if new value is different to old
32302 (setMinimum): Fixed test for updating value,
32303 (setMaximum): Likewise,
32304 (setStepSize): Likewise.
32306 2006-02-08 Tom Tromey <tromey@redhat.com>
32308 * tools/.cvsignore: Added Makefile.in.
32310 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32312 * java/rmi/server/RemoteRef.java,
32313 java/rmi/server/RemoteStub.java: Commented.
32315 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32317 * javax/swing/SpinnerDateModel.java
32318 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32320 (getPreviousValue): Check result against start, not end,
32321 (setValue): Check that value actually changes before firing
32324 2006-02-08 Lillian Angel <langel@redhat.com>
32326 * java/awt/Choice.java
32327 (select): Fixed up code, added some checks to prevent errors.
32328 (dispatchEventImpl): Removed. This function is not needed. It
32329 causes several assertion errors.
32331 2006-02-08 Roman Kennke <kennke@aicas.com>
32333 * javax/swing/text/PlainView.java
32334 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32335 drawing unnecessary characters.
32337 2006-02-08 Lillian Angel <langel@redhat.com>
32339 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32340 (handleEvent): Fixed check to determine if height or
32341 width is less than 1.
32343 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32345 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32347 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32349 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32350 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32351 Documenting the code generator.
32352 * gnu/CORBA/IOR.java (toStringFormatted,
32353 CodeSet_component.toStringFormatted): New methods.
32354 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32355 * tools/gnu/classpath/tools/giop/README: Rewritten.
32356 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32357 (printHelpAndExit): Removed.
32358 *tools/gnu/classpath/tools/giop/IorParser.java,
32359 tools/gnu/classpath/tools/giop/IorParser.txt,
32360 tools/gnu/classpath/tools/giop/NameService.java,
32361 tools/gnu/classpath/tools/giop/NamingService.txt,
32362 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32363 NEWS: Added note about GIOP tools.
32365 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32367 * .classpath: New source patch (tools).
32368 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32369 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32370 * tools/gnu/classpath/tools/Makefile.am,
32371 tools/gnu/classpath/tools/giop/GRMIC.java
32372 tools/gnu/classpath/tools/giop/GRMIC.txt,
32373 tools/gnu/classpath/tools/giop/README,
32374 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32375 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32376 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32377 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32378 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32379 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32380 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32381 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32382 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32383 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32384 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32385 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32387 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32389 * java/awt/BasicStroke.java: Updated API docs all over,
32390 * java/awt/doc-files/capjoin.png: New file.
32392 2006-02-07 Lillian Angel <langel@redhat.com>
32394 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32395 (handleEvent): Added check. Should not paint or update the
32396 component if it's width and height are both 0.
32398 2006-02-07 Roman Kennke <kennke@aicas.com>
32400 * javax/swing/text/AbstractDocument.java
32401 (insertString): Enclose locking/unlocking in try-finally block
32402 and also keep locked while notifying the listeners.
32404 2006-02-07 Roman Kennke <kennke@aicas.com>
32406 * javax/swing/text/GlyphView.java
32407 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32409 (getStartOffset): Return element boundary if startOffset < 0.
32410 (getEndOffset): Return element boundary if endOffset < 0.
32411 (createFragment): Set startOffset and endOffset fields of fragment
32412 if one of p0 or p1 is not at the element boundary.
32414 2006-02-07 Roman Kennke <kennke@aicas.com>
32416 * javax/swing/CellRendererPane.java
32417 (paintComponent): Enclosed painting in try finally to properly
32418 clean up even when throwing an exception.
32420 2006-02-07 Roman Kennke <kennke@aicas.com>
32422 * javax/swing/UIManager.java
32423 (listeners): Made this an instance of
32424 java.beans.PropertyChangeSupport instead of the obsoleted
32425 SwingPropertyChangeSupport.
32427 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32429 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32430 of actions "delete-next" and "delete-previous", added new TextAction
32431 implementations for "selection-begin", "selection-begin-line",
32432 "selection-end" and "selection-end-line".
32434 2006-02-07 Roman Kennke <kennke@aicas.com>
32436 * javax/swing/plaf/basic/BasicTextUI.java
32437 (paint): Acquire read lock on the document before calling
32439 (paintSafely): Added comment about what this method does.
32440 (paintBackground): Implemented to actually paint the background.
32441 (update): Overridden to _not_ paint the background. This is done
32442 in paintBackground in this UI.
32444 2006-02-07 Roman Kennke <kennke@aicas.com>
32446 * javax/swing/text/View.java
32447 (forwardUpdate): Don't notify newly added child views as specified.
32449 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32451 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32453 2006-02-07 Roman Kennke <kennke@aicas.com>
32455 * javax/swing/text/DefaultStyledDocument.java
32456 (ElementBuffer.insert): Only register change when the element
32459 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32461 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32463 (getEncodingShortName): Likewise.
32464 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32465 (PKCS8_FORMAT): Likewise.
32466 (ASN1_FORMAT): Likewise.
32467 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32468 constructor with 5 arguments.
32469 (DSSPublicKey(5)): New constructor.
32470 (valueOf): Handle ASN.1 encoding.
32471 (getEncoded): Likewise.
32472 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32473 constructor with 5 arguments.
32474 (DSSPrivateKey(5)): New constructor.
32475 (valueOf): Handle ASN.1 encoding.
32476 (getEncoded): Likewise.
32477 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32478 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32479 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32480 (PREFERRED_ENCODING_FORMAT): New constant.
32481 (DEFAULT_ENCODING_FORMAT): Likewise.
32482 (preferredFormat): New field.
32483 (setup): Handle preferred format ID.
32484 (generate): Use new ctors with 5 arguments.
32485 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32486 ID as an additional argument.
32487 (defaultFormat): new field.
32488 (getFormat): Returns the preferred format as a short string.
32489 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32490 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32492 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32493 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32495 (initialize(int,boolean,SecureRandom)): Likewise.
32496 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32497 writeLength() instead of write().
32498 return buf.length + 1 instead of buf.length.
32500 2006-02-07 Roman Kennke <kennke@aicas.com>
32502 * javax/swing/plaf/basic/BasicTextUI.java
32503 (RootView.preferenceChange): Changed view parameter to view so
32504 that it doesn't hide a field of that class.
32505 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32506 (RootView.modelToView): Removed unnecessary cast from View to View.
32507 (PropertyChangeHandler): Made inner class private.
32508 (updateHandler): Made field private.
32509 (getVisibleEditorRect): Removed unneeded local variable that
32510 shadowed a field with the same name and purpose.
32512 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32514 * javax/swing/text/JTextComponent.java:
32515 (getSelectedText): Calculate offset and use that as
32518 2006-02-07 Roman Kennke <kennke@aicas.com>
32520 * javax/swing/JTextPane.java
32521 (setCharacterAttributes): Replace input attributes when
32524 2006-02-07 Roman Kennke <kennke@aicas.com>
32526 * java/awt/Component.java
32527 (firePropertyChange(String,byte,byte)): Made method public.
32528 (firePropertyChange(String,char,char)): Made method public.
32529 (firePropertyChange(String,short,short)): Made method public.
32530 (firePropertyChange(String,long,long)): Made method public.
32531 (firePropertyChange(String,float,float)): Made method public.
32532 (firePropertyChange(String,double,double)): Made method public.
32534 2006-02-06 Tom Tromey <tromey@redhat.com>
32536 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32538 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32540 2006-02-06 Anthony Green <green@redhat.com>
32542 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32544 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32546 * .settings/org.eclipse.jdt.core.prefs:
32547 Force a line split on extends and implements.
32548 Force a white-space after unary operators.
32549 Don't force a new-line after @params.
32550 Add new-line at end-of-file.
32551 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32553 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32555 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32557 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32559 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32561 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32563 * gnu/java/security/provider/EncodedKeyFactory.java
32564 (ID_DSA): Redefined in terms of Registry constant.
32565 (ID_DSA): Redefined in terms of Registry constant.
32566 (ID_DH): Redefined in terms of Registry constant.
32567 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32568 (PKCS8_ENCODING): Likewise.
32569 (ASN1_ENCODING): Likewise.
32570 (RAW_ENCODING_SHORT_NAME): Likewise.
32571 (X509_ENCODING_SORT_NAME): Likewise.
32572 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32573 (ASN1_ENCODING_SHORT_NAME): Likewise.
32574 (X509_ENCODING_ID): Likewise.
32575 (PKCS8_ENCODING_ID): Likewise.
32576 (ASN1_ENCODING_ID): Likewise.
32577 (DSA_OID_STRING): Likewise.
32578 (RSA_OID_STRING): Likewise.
32579 (DH_OID_STRING): Likewise.
32581 2006-02-06 Roman Kennke <kennke@aicas.com>
32583 * javax/swing/text/GlyphView.java:
32584 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32585 Only fill background if there is a background set on the view.
32586 Call Utilities.drawTabbedText with the baseline height, rather than
32587 the upper left corner of the view rectangle.
32588 (getBackground): Return null if no background is set.
32589 * javax/swing/text/GlyphView.java:
32590 (setPropertiesFromAttributes): Use null for background when no
32591 background is set. StyleConstants.getBackground() doesn't work
32592 for this, because it returns Color.BLACK in that case.
32594 2006-02-06 Roman Kennke <kennke@aicas.com>
32596 * java/awt/Container.java
32597 (changeSupport): Removed duplicate (from Component) field.
32598 (addPropertyChangeListener): Call super.
32600 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32602 * java/util/regex/Matcher.java(matches):
32603 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32605 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32608 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32609 * gnu/regexp/CharIndexedCharArray.java
32610 (lookBehind),(length): Implemented.
32611 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32612 * gnu/regexp/CharIndexedString.java: Likewise.
32613 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32614 * gnu/regexp/REToken.java(getMaximumLength): New method.
32615 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32617 (initialize): Parse (?<=X), (?<!X), (?>X).
32618 (getMaximumLength): Implemented.
32619 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32620 * gnu/regexp/RETokenChar.java: Likewise.
32621 * gnu/regexp/RETokenEnd.java: Likewise.
32622 * gnu/regexp/RETokenEndSub.java: Likewise.
32623 * gnu/regexp/RETokenLookAhead.java: Likewise.
32624 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32625 * gnu/regexp/RETokenOneOf.java: Likewise.
32626 * gnu/regexp/RETokenPOSIX.java: Likewise.
32627 * gnu/regexp/RETokenRange.java: Likewise.
32628 * gnu/regexp/RETokenRepeated.java: Likewise.
32629 * gnu/regexp/RETokenStart.java: Likewise.
32630 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32631 * gnu/regexp/RETokenIndependent.java: New file.
32632 * gnu/regexp/RETokenLookBehind.java: New file.
32634 2006-02-06 Roman Kennke <kennke@aicas.com>
32636 * java/awt/Component.java
32637 (firePropertyChange(String,byte,byte)): New method.
32638 (firePropertyChange(String,char,char)): New method.
32639 (firePropertyChange(String,short,short)): New method.
32640 (firePropertyChange(String,long,long)): New method.
32641 (firePropertyChange(String,float,float)): New method.
32642 (firePropertyChange(String,double,double)): New method.
32644 2006-02-06 Roman Kennke <kennke@aicas.com>
32646 * javax/swing/JComponent.java
32647 (AccessibleJComponent.changeSupport): Changed to be a
32648 java.beans.PropertyChangeSupport rather than
32649 SwingPropertyChangeSupport.
32650 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32652 (changeSupport): Removed unneeded field.
32653 (removePropertyChangeListener): Removed unneeded methods.
32654 (addPropertyChangeListener): Removed unneeded methods.
32655 (getPropertyChangeListeners): Removed unneeded methods.
32656 (firePropertyChange(String,boolean,boolean)): Changed to simply
32657 call super. Added specnote.
32658 (firePropertyChange(String,char,char)): Changed to simply
32659 call super. Added specnote.
32660 (firePropertyChange(String,int,int)): Changed to simply
32661 call super. Added specnote.
32662 (firePropertyChange(String,byte,byte)): Removed.
32663 (firePropertyChange(String,Object,Object)): Removed.
32664 (firePropertyChange(String,double,double)): Removed.
32665 (firePropertyChange(String,float,float)): Removed.
32666 (firePropertyChange(String,long,long)): Removed.
32667 (firePropertyChange(String,short,short)): Removed.
32669 2006-02-06 Roman Kennke <kennke@aicas.com>
32671 * javax/swing/event/SwingPropertyChangeSupport.java
32672 (listeners): Removed field.
32673 (propertyListeners): Removed field.
32674 (source): Removed field.
32675 (SwingPropertyChangeSupport()): Removed initialization of removed
32677 (addPropertyChangeListener): Removed methods.
32678 (removePropertyChangeListener): Removed methods.
32679 (getPropertyChangeListeners): Removed methods.
32680 (firePropertyChange): Removed methods.
32681 (hasListeners): Removed methods.
32683 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32686 * java/net/InetAddress.java
32687 (readResolve): Implemented.
32689 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32692 * java/io/ObjectInputStream.java
32693 (readNextBlock()): Handle TC_RESET.
32695 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32697 * javax/print/attribute/standard/Compression.java,
32698 * javax/print/attribute/standard/Finishings.java,
32699 * javax/print/attribute/standard/JobMediaSheets.java,
32700 * javax/print/attribute/standard/JobSheets.java,
32701 * javax/print/attribute/standard/JobState.java,
32702 * javax/print/attribute/standard/JobStateReason.java,
32703 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32704 * javax/print/attribute/standard/PrintQuality.java,
32705 * javax/print/attribute/standard/Media.java,
32706 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32707 * javax/print/attribute/standard/PrinterStateReason.java,
32708 * javax/print/attribute/standard/PDLOverrideSupported.java:
32709 (getName): Make method final.
32710 (getCategory): Likewise.
32711 * javax/print/attribute/standard/MediaSize.java:
32712 (getName): Make method final.
32713 (getCategory): Likewise.
32714 (ISO): Added private default constructor.
32718 (Engineering): Likewise.
32720 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32722 * native/jni/java-net/javanet.c (_javanet_connect):
32723 Throw ConnectException instead of IOException if connection failed.
32724 * native/jni/java-net/javanet.h:
32725 Add a define for java.net.ConnectException
32727 2006-02-05 Mark Wielaard <mark@klomp.org>
32730 reported by Egon Willighagen <egon.willighagen@gmail.com>
32731 * javax/swing/DefaultListCellRenderer.java
32732 (getListCellRendererComponent): Turn null value into empty string.
32734 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32736 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32737 a Unicode block if the name starts with "In".
32738 (UnicodeBlockHandler): New inner class.
32740 2006-02-04 Roman Kennke <kennke@aicas.com>
32742 * java/awt/Container.java
32743 (getComponentZOrder): New method.
32744 (setComponentZOrder): New method.
32745 * javax/swing/JLayeredPane.java
32746 (setPosition): Reimplemented to use setComponentZOrder().
32747 (getIndexOf): Reimplemented to use getComponentZOrder().
32748 (addImpl): Pass layerContraint to super call. Important for possibly
32749 installed layout managers.
32750 (swapComponents): Remove unneeded method.
32752 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32754 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32755 DSAKeyPairGenerator.
32756 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32757 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32759 Surround call to adaptee in a try/catch.
32760 (initialize((DSAParams,SecureRandom)): New method.
32761 (initialize(int,boolean,SecureRandom)): New method.
32762 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32763 KeyPairGenerator rather than KeyPairGeneratorSpi.
32764 (KeyPairGeneratorAdapter): Call super with algorithm name.
32766 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32768 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32769 (getDefaultPRNG): New method.
32770 (parseO): Use method above.
32771 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32772 (getDefaultPRNG): New method.
32773 (createO): Use method above.
32774 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32775 (nextByte): Use above field.
32776 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32777 * gnu/java/security/sig/rsa/RSA.java: New class field.
32778 (newR): Use above field
32779 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32780 (encode): Use field.above.
32781 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32782 (getDefaultPRNG): new method.
32783 (nextRandomBytes): Use above method.
32784 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32785 * gnu/java/security/sig/BaseSignature.java: Likewise.
32786 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32787 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32788 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32789 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32790 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32791 (getDefaultPRNG): new method.
32792 (nextRandomBytes): Use above method.
32793 (STRICT_DEFAULTS): new class field.
32794 (USE_DEFAULTS): more documentation to clarify behavior.
32795 (setup): amended to handle new attribute.
32796 * gnu/java/security/util/PRNG.java: New file.
32798 2006-02-03 Lillian Angel <langel@redhat.com>
32800 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32801 chooser field should be protected, not package-private.
32803 2006-02-03 Lillian Angel <langel@redhat.com>
32805 * javax/swing/text/DefaultStyledDocument.java
32806 (changeUpdate): Cleaned up code.
32808 (insertUpdate): Set offset to be equal to pos after
32809 insertContentTag call.
32810 (insertContentTag): If paragraph has no children, should use
32811 replace instead of Edit.
32812 (insertFracture): Moved around code to prevent any exception. Also,
32813 left side of tree should not be recreated if it has already been
32814 edited. In that case, we should only be creating a new right branch
32816 (getEditForParagraphAndIndex): No need to check index. We should
32817 use the same edit for each paragraph.
32819 2006-02-03 Mark Wielaard <mark@klomp.org>
32821 * javax/swing/event/SwingPropertyChangeSupport.java
32822 (propertyListeners): Change type to HashMap.
32823 (SwingPropertyChangeSupport): Allocate HashMap.
32825 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32827 * java/security/KeyPairGenerator.java (getInstance): Test for
32828 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32830 2006-02-02 Roman Kennke <kennke@aicas.com>
32832 * javax/swing/RepaintManager.java
32833 Made fields private.
32834 (RepaintWorker.run): Enclosed work stuff in try finally block in
32835 order to clean up correctly if invalidation or painting fails,
32836 otherwise we would get no more RepaintWorkers onto the EventQueue.
32837 Also, now the RepaintWorker is marked 'dead' only after it has
32838 finished its work, avoid more than one RepaintWorker on the queue.
32839 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32840 instead of hierarchy depths.
32841 (workDirtyComponents): Removed unused field.
32842 (repaintOrder): Removed unused field.
32843 (workRepaintOrder): Removed unused field.
32844 (workInvalidComponents): Removed unused field.
32845 (RepaintManager()): Removed initialization of removed fields.
32846 (addInvalidComponent): Fine tuned synchronization.
32847 (removeInvalidComponent): Fine tune synchronization.
32848 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32849 synchronization. Don't manager repaintOrder here.
32850 (insertRepaintOrder): Removed method.
32851 (markCompletelyClean): Fine tuned synchronization.
32852 (validateInvalidComponents): Dont use a working copy of the
32853 invalidComponents list, instead fine tuned synchronization on this
32854 list. Also, don't search validateRoot, this is already done in
32855 addInvalidComponent().
32856 (paintDirtyRegions): Compute repaint order here, based on size of
32857 damaged regions. Fine tuned synchronization. Avoid use of working
32858 copies of dirtyComponent.
32860 2006-02-02 Lillian Angel <langel@redhat.com>
32862 * javax/swing/text/DefaultStyledDocument.java
32863 (insertUpdate): JoinNextDirection should push the
32864 'next' paragraph on the stack.
32866 2006-02-02 Lillian Angel <langel@redhat.com>
32868 * javax/swing/text/DefaultStyledDocument.java
32869 (insertUpdate): Rewrote code for Originate. This prevents
32870 leaves being created multiple times. If it is on the last
32871 ElementSpec, the leaves need to be created right then;
32872 otherwise, only a branch is created.
32873 (insertContentTag): Rewrote to add new leaf directly if
32874 this is a branch with no children. Otherwise, it
32875 recreates the remainder of the tree as before.
32877 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32879 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32880 for making a list of REMatch instances.
32881 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32882 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32883 (match): Rewritten using REMatchList.
32884 (matchRest): Rewritten using REMatchList.
32886 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32888 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32889 (friendsMove): Call repaint() only after endOfGame is assigned.
32891 2006-02-02 Mark Wielaard <mark@klomp.org>
32893 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32894 * java/util/AbstractCollection.java (toString): Only use Iterator,
32895 check whether collection contains itself.
32897 2006-02-01 Casey Marshall <csm@gnu.org>
32899 Partial fix for PR classpath/25143.
32900 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32901 (<init>): fill in `algName,' derive `algOid' from `algName.'
32902 (getOid): new method.
32903 (encode): embed NULL value for parameters if `params' is `null.'
32905 2006-02-01 Casey Marshall <csm@gnu.org>
32907 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32908 <monoman@gmail.com>.
32909 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32910 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32912 2006-02-01 Casey Marshall <csm@gnu.org>
32914 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32915 * gnu/java/security/der/DERValue.java
32916 (getLength, getEncoded, getEncodedLength): throw an exception,
32917 don't initialize `encoded' to a bogus value.
32918 (toString): return a more helpful string.
32920 Partial fix for PR classpath/25144.
32921 * gnu/java/security/der/DERWriter.java (write): if the value is
32922 the pseudo-value used for CONSTRUCTED, write the encoded value
32925 2006-02-01 Tom Tromey <tromey@redhat.com>
32927 * java/security/Security.java (loadProviders): Use system class
32930 2006-02-01 Mark Wielaard <mark@klomp.org>
32932 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32933 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32934 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32935 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32936 (UnicodeCategoriesHandler): New private static class.
32938 2006-02-01 Lillian Angel <langel@redhat.com>
32940 * javax/swing/text/DefaultStyledDocument.java:
32941 Removed unneeded fields.
32942 (insertUpdate): Removed field initialization.
32943 (insertContentTag): Rewrote part of function. Still
32946 2006-02-01 Lillian Angel <langel@redhat.com>
32948 * javax/swing/text/DefaultStyledDocument.java
32949 (insertParagraph): Cleaned up code.
32950 (insertFirstContentTag): Fixed call to recreateLeaves.
32951 (insertContentTag): Added check to code to determine where
32952 content should be inserted with respect to next element.
32953 (createFracture): Removed check, recreateLeaves is called in
32954 other places when needed.
32955 (recreateLeaves): Added new parameter for paragraph instead
32956 of checking the stack. Removed editing for newBranch, replaced
32957 with a replace call.
32959 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32961 * doc/unicode/Blocks-4.0.0.txt: New file.
32962 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32963 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32964 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32965 but replaced some 1.5-only features (such as enum).
32967 2006-01-31 Roman Kennke <kennke@aicas.com>
32969 * javax/swing/text/PasswordView.java
32970 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32972 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32975 2006-01-31 Roman Kennke <kennke@aicas.com>
32977 * javax/swing/JTextField.java
32978 (getPreferredSize): Also include textfield's insets in width
32981 2006-01-31 Roman Kennke <kennke@aicas.com>
32983 * javax/swing/plaf/basic/BasicTextUI.java
32984 (getPreferredSize): Include the textcomponent's insets in
32987 2006-01-31 Roman Kennke <kennke@aicas.com>
32989 * javax/swing/table/DefaultTableCellRenderer.java
32990 (getTableCellRendererComponent): Moved setting of the value into
32991 setValue(). Removed (bogus) special handling of JTextField values.
32992 (setValue): Made ?: statement more clear by rewriting it
32995 2006-01-31 Roman Kennke <kennke@aicas.com>
32997 * javax/swing/JLayeredPane.java
32998 (insertIndexForLayer): Fixed algorithm to correctly determine
32999 inser index for positions >= 0.
33000 (addImpl): Fixed API docs for the index parameter.
33002 2006-01-31 Mark Wielaard <mark@klomp.org>
33004 * java/net/URI.java (getURIGroup): Check for null to see whether
33005 group actually exists.
33007 2006-01-31 Lillian Angel <langel@redhat.com>
33009 * javax/swing/text/DefaultStyledDocument.java
33010 (changeUpdate): Fixed calls to split to incorporate
33012 (insertParagraph): Likewise. Uses 0 as editIndex
33013 because inserting into a new paragraph.
33014 (insertContentTag): Fixed check to use
33015 recreateLeaves. Added a FIXME comment.
33016 (split): Added a new parameter for edits.
33018 2006-01-31 Roman Kennke <kennke@aicas.com>
33020 * javax/swing/plaf/basic/BasicRootPaneUI.java
33021 (installDefaults): Don't install a background color here.
33023 2006-01-31 Lillian Angel <langel@redhat.com>
33025 * javax/swing/text/DefaultStyledDocument.java
33026 (insert): Removed comment.
33027 (insertUpdate): Added comment.
33028 (recreateLeaves): Removed call to push newBranch onto the
33029 stack. This does not need to be done here.
33031 2006-01-31 Chris Burdess <dog@gnu.org>
33033 * gnu/xml/stream/SAXParser.java,
33034 gnu/xml/stream/UnicodeReader.java,
33035 gnu/xml/stream/XIncludeFilter.java,
33036 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33037 only resolved the system ID not the stream. Make some utility methods
33038 public and static for use by other private XML APIs.
33039 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33040 called without throwing IllegalStateException.
33041 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33044 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33047 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33048 for an invalid index and return null for a skipped group.
33050 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33053 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33054 (NamedProperty): New inner class.
33055 (getNamedProperty): New method.
33056 (getRETokenNamedProperty): New Method.
33057 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33058 * gnu/regexp/RETokenNamedProperty.java: New file.
33060 2006-01-31 Roman Kennke <kennke@aicas.com>
33062 * javax/swing/plaf/PlainView.java
33063 (paint): Call drawLine with baseline coordinates.
33064 (drawLine): Documented and indented this method.
33065 (drawUnselecetedText): Documented and indented this method.
33066 * javax/swing/plaf/text/Utilites.java
33067 (drawTabbedText): The coordinates denote the baseline of the text
33068 not the upper left corner.
33070 2006-01-31 Roman Kennke <kennke@aicas.com>
33072 * javax/swing/plaf/basic/BasicTextUI.java
33073 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33074 UIManager. Added FIXME regarding the implementation of this method.
33076 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33078 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33079 (ButtonDemo): Move content initialisation to new method,
33080 (initFrameContent): New method,
33081 (main): Call initFrameContent(),
33082 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33083 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33084 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33085 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33086 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33088 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33090 * examples/gnu/classpath/examples/swing/Demo.java
33091 (Demo): Set frame size,
33092 (mkButtonBar): Removed stacked sub-panels.
33094 2006-01-30 Lillian Angel <langel@redhat.com>
33096 * javax/swing/text/DefaultStyledDocument.java:
33098 (insert): Initialized fields. Removed call to addEdit,
33099 and created ElementEdit instead.
33100 (insertUpdate): Added check for fracturing. If the
33101 fracturing was not successful, we should push the
33102 last element back on the stack.
33103 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33104 Also, changed replace calls to use Edit.
33105 (insertFirstContentTag): Removed unneeded check and fixed call
33107 (insertContent): Fixed check to use new fields. Added code in
33108 to check if leaves overlap.
33109 (createFracture): Fixed call to recreateLeaves.
33110 (recreateLeaves): Fixed code and cleaned it up a bit.
33111 (insertFracture): Set fracNotCreated field.
33112 (addEdit): Removed, this method is not needed.
33114 2006-01-30 Roman Kennke <kennke@aicas.com>
33116 * javax/swing/JRootPane.java
33117 (RootLayout.prefSize): Removed caching for preferredSize.
33118 (RootLayout.invalidateLayout): Likewise.
33119 (RootLayout.preferredLayoutSize): Likewise.
33121 2006-01-30 Roman Kennke <kennke@aicas.com>
33124 * javax/swing/JFrame.java
33125 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33126 * javax/swing/plaf/metal/MetalRootPaneUI.java
33127 (MetalFrameBorder): New inner class, provides the border for
33128 top level containers with L&F decorations.
33129 (MetalTitlePane): New inner class, provides the title pane for
33130 top level containers with L&F decorations.
33131 (MetalRootLayout): New inner class. Used to layout the root pane
33132 when L&F window decorations are enabled.
33133 (installUI): New method. Handles window decorations.
33134 (uninstallUI): New method. Handles window decorations.
33135 (propertyChange): Handles window decorations.
33136 (installWindowDecorations): New method. Handles window
33138 (uninstallWindowDecorations): New method. Handles window
33140 * javax/swing/plaf/metal/MetalLookAndFeel.java
33141 (getSupportsWindowDecorations): Overridden to return true.
33143 2006-01-30 Mark Wielaard <mark@klomp.org>
33145 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33146 IllegalArgumentException when orientation is illegal.
33147 (JProgressBar(int, int, int)): Likewise and throw exception.
33148 (setOrientation): Likewise.
33150 2006-01-30 Roman Kennke <kennke@aicas.com>
33152 * javax/swing/ViewportLayout.java
33153 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33155 2006-01-30 Mark Wielaard <mark@klomp.org>
33157 * javax/swing/JProgressBar.java (orientation): Always set by
33159 (JProgressBar(int)): Document default on 'illegal' value.
33160 (JProgressBar(int, int, int)): Likewise and set orientation to
33161 HORIZONTAL when 'illegal'.
33162 (setOrientation): Likewise.
33164 2006-01-30 Roman Kennke <kennke@aicas.com>
33166 * javax/swing/plaf/basic/BasicListUI.java
33167 (ListDataHandler.contentsChanged): Update the
33168 updateLayoutStateNeeded flag.
33169 (ListDataHandler.intervalAdded): Update the
33170 updateLayoutStateNeeded flag.
33171 (ListDataHandler.intervalRemoved): Update the
33172 updateLayoutStateNeeded flag.
33173 (PropertyChangeHandler.propertyChange): Correctly update the
33174 listeners on new list model.
33175 (maybeUpdateLayoutState): Don't consider the validation state
33178 2006-01-30 Mark Wielaard <mark@klomp.org>
33180 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33183 2006-01-30 Roman Kennke <kennke@aicas.com>
33185 * javax/swing/JLayeredPane.java
33186 (insertIndexForLayer): Fixed algorithm to correctly insert
33187 components within different layers and -1 position.
33189 2006-01-30 Mark Wielaard <mark@klomp.org>
33191 * doc/api/Makefile.am (create_html): Add -validhtml.
33193 2006-01-30 Roman Kennke <kennke@aicas.com>
33195 * javax/swing/JLayeredPane.java
33196 (insertIndexForLayer): Fixed algorithm to correctly insert
33197 components within same layer and -1 position.
33199 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33202 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33203 New execution flag.
33204 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33205 implicit RETokenEnd at the end of the regexp chain.
33206 Do not select the longest match, but select the first match.
33207 (match): Do not take care of REMatch.empty.
33208 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33209 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33210 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33211 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33212 Do not take care of REMatch.empty. Set and check REMatch.empty
33213 when trying to match the single token.
33215 2006-01-30 Mark Wielaard <mark@klomp.org>
33217 * java/awt/Cursor.java (toString): Include name and type.
33219 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33221 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33223 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33225 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33228 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33229 Consider the validation state of the list.
33231 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33233 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33235 * java/beans/XMLDecoder.java:
33236 (setExceptionListener): Use shared DefaultExceptionListener
33238 * java/beans/Encoder.java:
33239 (setExceptionListener): Use shared DefaultExceptionListener
33242 2006-01-29 Roman Kennke <kennke@aicas.com>
33244 * javax/swing/ScrollPaneLayout.java
33245 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33247 2006-01-29 Mark Wielaard <mark@klomp.org>
33249 * java/net/SocketPermission.java (setActions): Trim and lower case
33252 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33254 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33255 incorrectly failing primality test for some known primes. Fixed.
33256 (passFermatLittleTheorem): Removed.
33257 (passMillerRabin): Removed.
33258 (isProbablePrime): Cache primes that pass the primality tests.
33259 Use BigInteger.isProbablePrime(int) for primality tests.
33260 (debugBI): New static debugging method.
33262 2006-01-28 Roman Kennke <kennke@aicas.com>
33264 * javax/swing/plaf/basic/BasicListUI.java
33265 (updateLayoutState): Removed unneeded special case for VERTICAL.
33267 2006-01-28 Roman Kennke <kennke@aicas.com>
33269 * javax/swing/plaf/basic/BasicListUI.java
33270 (getCellBounds): Determine correct list width when having a
33271 layoutOrientation of VERTICAL.
33272 (maybeUpdateLayoutState): Don't consider the validation state of
33275 2006-01-28 Mark Wielaard <mark@klomp.org>
33277 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33278 * java/awt/print/NoPrinterJob.java: New (fake) class.
33279 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33281 2006-01-28 Mark Wielaard <mark@klomp.org>
33283 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33285 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33287 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33288 (addChildren): New method.
33290 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33292 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33293 constructor for cloning purposes.
33294 (clone): New implementation that ensures cloning.
33295 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33296 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33299 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33301 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33302 Call updateCurrentVisiblePath.
33304 2006-01-27 Roman Kennke <kennke@aicas.com>
33306 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33308 2006-01-27 Roman Kennke <kennke@aicas.com>
33310 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33311 (createContent): Only create new content if we don't have one
33313 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33314 (createContent): Only create new content if we don't have one
33316 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33317 (createContent): Only create new content if we don't have one
33319 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33320 (createContent): Only create new content if we don't have one
33322 * examples/gnu/classpath/examples/swing/SliderDemo.java
33323 (createContent): Only create new content if we don't have one
33325 * examples/gnu/classpath/examples/swing/TableDemo.java
33326 (createContent): Only create new content if we don't have one
33328 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33329 (createContent): Only create new content if we don't have one
33332 2006-01-27 Lillian Angel <langel@redhat.com>
33334 * javax/swing/text/DefaultStyledDocument.java
33335 (insertFirstContentTag): Removed check, not needed. This
33336 still needs to be fixed for some cases. Added call to
33338 (createFracture): Added call to recreateLeaves.
33339 (recreateLeaves): New method used to recreate all the
33340 leaves after the initial insertion. This still needs
33342 (handleInsertAfterNewline): Removed else, not needed.
33344 2006-01-27 Roman Kennke <kennke@aicas.com>
33346 * javax/swing/JLayeredPane.java
33347 (inserIndexForLayer): Fixed direction of search.
33349 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33351 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33352 node into nodeStates.
33354 2006-01-27 Roman Kennke <kennke@aicas.com>
33356 * javax/swing/JLayeredPane.java
33357 (FRAME_CONTENT_LAYER): Made field final.
33358 (componentToLayer): Made field private.
33359 (rectCache): Removed field.
33360 (layers): Removed field.
33361 (JLayeredPane()): Removed initialization of removed fields.
33362 (getLayer): Rewritten to make use of client properties in
33363 JComponents and to be more straighforward.
33364 (static getLayer): Rewritten to make use of client properties in
33366 (layerToRange): Removed method.
33367 (incrLayer): Removed method.
33368 (decrLayer): Removed method.
33369 (highestLayer): Rewritten to be more straightforward.
33370 (lowestLayer): Rewritten to be more straightforward.
33371 (getPosition): Rewritten to be more straightforward.
33372 (getComponentsInLayer): Rewritten to be more straightforward.
33373 (getComponentCountInLayer): Rewritten to be more straightforward.
33374 (getIndexOf): Rewritten to be more straightforward.
33375 (inserIndexForLayer): Rewritten to be more straightforward.
33376 (remove): Rewritten to be more straightforward.
33377 (setLayer): Rewritten to be more straightforward.
33378 (addImpl): Rewritten to be more straightforward.
33379 (putLayer): Rewritten to be more straightforward.
33381 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33383 * java/lang/Character.java:
33384 (offsetByCodePoints(CharSequence, int, int)): New API method.
33385 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33386 (toChars): Throw the Exception that the docs say we throw.
33387 (codePointAt): Fixed an off-by-one error in the bounds of the if
33389 * java/lang/String.java:
33390 (String(int[], int, int)): New API constructor.
33392 2006-01-27 Lillian Angel <langel@redhat.com>
33394 * javax/swing/text/DefaultStyledDocument.java
33395 (insert): Moved this loop to insertUpdate.
33396 (insertUpdate): Likewise. Fixed variable
33397 names. Incremented pos if new paragraph
33399 (split): Changed edits to use replace instead. Prevents
33401 (insertFirstContentTag): Removed else.
33402 (insertContentTag): Implemented else for JoinNextDirection.
33403 (createFracture): Fixed up code, still not fully complete.
33404 (insertFracture): Fixed to use return value from
33405 recreateAfterFracture.
33406 (recreateAfterFracture): Changed to return an array of the
33407 elements to be added. This prevents an assertion error.
33408 (contains): New function checks if an element is already in
33409 the Vector. Vector's contain function was not enough to use.
33410 (addAddedElement): Changed to use new contains function.
33411 (addAddedElements): Likewise.
33412 (addRemovedElement): Likewise.
33413 (addRemovedElements): Likewise.
33415 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33418 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33419 If no user class loaders found on the stack, return the thread
33420 context class loader. (currentClassLoader): Explained.
33422 2006-01-27 Roman Kennke <kennke@aicas.com>
33424 * java/awt/Container.java
33425 (swapComponents): Removed unspecified method.
33426 * javax/swing/JLayeredPane.java
33427 (setPosition): Reimplemented correctly.
33428 (swapComponents): New helper method.
33430 2006-01-27 Mark Wielaard <mark@klomp.org>
33432 * configure.ac: Set version to 0.21-pre.
33434 2006-01-27 Roman Kennke <kennke@aicas.com>
33437 * javax/swing/JComponent.java
33438 (findOverlapFreeParent): Improved the algorithm to make better use
33439 of the optimizedDrawingEnabled flag.
33440 * javax/swing/JLayeredPane.java
33441 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33442 * javax/swing/JViewport.java
33443 (computeBlit): Fixed check to decide if blitting is possible or not,
33444 so that it doesn't blit if nothing was scrolled (in order to
33445 update the buffer when the view updates itself).
33447 2006-01-27 Roman Kennke <kennke@aicas.com>
33449 * javax/swing/plaf/metal/MetalFileChooserUI.java
33450 (createList): Don't set scrollbar policy.
33452 2006-01-27 Roman Kennke <kennke@aicas.com>
33454 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33455 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33456 Fixed to also handle non-Swing toplevel containers.
33457 (PopupMenuHandler.popupMenuWillBecomeVisible):
33458 Fixed to also handle non-Swing toplevel containers.
33459 * javax/swing/Popup.java
33460 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33463 2006-01-27 Roman Kennke <kennke@aicas.com>
33465 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33466 (InternalFramePropertyChangeListener): Don't implement
33467 VetoableChangeListener.
33468 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33469 (internalFrameVetoableChangeListener): Removed unneeded field.
33470 (installListeners): Don't install vetoableChangeListener.
33471 * javax/swing/event/DocumentEvent.java
33472 (EventType): Made class final.
33474 2006-01-27 Roman Kennke <kennke@aicas.com>
33476 * javax/swing/SwingUtilities.java
33477 (calculateInsetArea): Removed unneeded method. The method
33478 calculateInnerArea has the same purpose and is actually specified.
33479 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33480 * javax/swing/plaf/basic/BasicMenuItemUI.java
33481 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33482 of SwingUtilities.calculateInsetArea().
33484 2006-01-27 Roman Kennke <kennke@aicas.com>
33486 * javax/swing/plaf/basic/BasicTreeUI.java
33487 (installDefaults): Removed requestFocusInWindow() call.
33488 * javax/swing/JComponent.java
33489 (requestFocusInWindow(boolean)): Made method protected.
33490 (printComponent): Made method protected.
33491 (printChildren): Made method protected.
33492 (printComponent): Made method protected.
33493 (printBorder): Made method protected.
33495 2006-01-27 Roman Kennke <kennke@aicas.com>
33497 * javax/swing/AbstractButton.java
33498 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33500 * javax/swing/ImageIcon.java
33501 (component): Made field final.
33502 (tracker): Made field final.
33503 * javax/swing/JApplet.java
33504 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33505 * javax/swing/JCheckBox.java
33506 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33508 * javax/swing/JDialog.java
33509 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33510 * javax/swing/JFrame.java
33511 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33512 * javax/swing/JLayeredPane.java
33513 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33515 (DEFAULT_LAYER): Made field final.
33516 (PALETTE_LAYER): Made field final.
33517 (MODAL_LAYER): Made field final.
33518 (POPUP_LAYER): Made field final.
33519 (DRAG_LAYER): Made field final.
33520 * javax/swing/JMenu.java
33521 (ActionChangeListener): Made class private.
33522 * javax/swing/JOptionPane.java
33523 (UNITITIALIZED_VALUE): Made field final.
33524 * javax/swing/JPanel.java
33525 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33526 * javax/swing/JPopupMenu.java
33527 (ActionChangeListener): Made class private.
33528 * javax/swing/JTree.java
33529 (paramString): Made method protected.
33530 * javax/swing/JViewport.java
33531 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33532 * javax/swing/JWindow.java
33533 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33534 * javax/swing/RepaintManager.java
33535 (RepaintWorker): Made class private.
33537 2006-01-27 Roman Kennke <kennke@aicas.com>
33539 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33540 (handleEvent): Removed debug statement.
33542 2006-01-27 Roman Kennke <kennke@aicas.com>
33544 * java/awt/Component.java
33545 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33546 more than it helps.
33548 2006-01-26 Lillian Angel <langel@redhat.com>
33550 * javax/swing/text/DefaultStyledDocument.java
33551 (createFracture): Commented out a known problem,
33554 2006-01-26 Lillian Angel <langel@redhat.com>
33556 * javax/swing/text/DefaultStyledDocument.java
33557 (ElementBuffer): Added fields.
33558 (remove): Initialized pos.
33559 (change): Likewise.
33560 (insert): Likewise.
33561 (insertUpdate): Incremented pos. Fixed check, createFracture should
33562 be called on first tag if it is not ContentType.
33563 (insertFirstContentTag): Reworked to use proper offsets and
33564 set offset accordingly. This might need more work in the future.
33565 (insertContentTag): Likewise. Fixed to use pos, instead of
33567 (createFracture): Fixed to recreate other leaves. Still needs
33569 (insertFracture): Reimplemented.
33570 (recreateAfterFracture): New method.
33571 (getParagraphElement): Reimplemented, more efficent.
33573 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33575 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33576 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33577 ordering for little-endian arms without VFP.
33579 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33582 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33584 2006-01-26 Mark Wielaard <mark@klomp.org>
33586 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33587 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33588 Add trailing zeros to the fraction of the decimal with the smallest
33591 2006-01-26 Roman Kennke <kennke@aicas.com>
33593 * javax/swing/text/html/ObjectView.java: New file.
33595 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33597 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33598 Call startEditing when appropriate.
33599 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33600 (startEditing): Always edit if directly ordered from
33601 MouseHandler.mousePressed.
33602 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33603 New field. (createTreeCellEditor): Set click count to start.
33604 (getTreeCellEditorComponent): Assing realEditor directly.
33606 2006-01-25 Casey Marshall <csm@gnu.org>
33608 Merging GNU Crypto and Jessie.
33610 * NEWS: mention the merge in the 0.21 notes.
33611 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33612 (SSL_RECORD_LAYER): new constants.
33613 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33615 * resource/java/security/classpath.security: add new providers.
33616 * gnu/javax/crypto/assembly/Assembly.java,
33617 gnu/javax/crypto/assembly/Cascade.java,
33618 gnu/javax/crypto/assembly/CascadeStage.java,
33619 gnu/javax/crypto/assembly/CascadeTransformer.java,
33620 gnu/javax/crypto/assembly/DeflateTransformer.java,
33621 gnu/javax/crypto/assembly/Direction.java,
33622 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33623 gnu/javax/crypto/assembly/ModeStage.java,
33624 gnu/javax/crypto/assembly/Operation.java,
33625 gnu/javax/crypto/assembly/PaddingTransformer.java,
33626 gnu/javax/crypto/assembly/Stage.java,
33627 gnu/javax/crypto/assembly/Transformer.java,
33628 gnu/javax/crypto/assembly/TransformerException.java,
33629 gnu/javax/crypto/cipher/Anubis.java,
33630 gnu/javax/crypto/cipher/BaseCipher.java,
33631 gnu/javax/crypto/cipher/Blowfish.java,
33632 gnu/javax/crypto/cipher/Cast5.java,
33633 gnu/javax/crypto/cipher/CipherFactory.java,
33634 gnu/javax/crypto/cipher/DES.java,
33635 gnu/javax/crypto/cipher/IBlockCipher.java,
33636 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33637 gnu/javax/crypto/cipher/Khazad.java,
33638 gnu/javax/crypto/cipher/NullCipher.java,
33639 gnu/javax/crypto/cipher/Rijndael.java,
33640 gnu/javax/crypto/cipher/Serpent.java,
33641 gnu/javax/crypto/cipher/Square.java,
33642 gnu/javax/crypto/cipher/TripleDES.java,
33643 gnu/javax/crypto/cipher/Twofish.java,
33644 gnu/javax/crypto/cipher/WeakKeyException.java,
33645 gnu/javax/crypto/jce/GnuCrypto.java,
33646 gnu/javax/crypto/jce/GnuSasl.java,
33647 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33648 gnu/javax/crypto/jce/cipher/AESSpi.java,
33649 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33650 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33651 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33652 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33653 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33654 gnu/javax/crypto/jce/cipher/DESSpi.java,
33655 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33656 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33657 gnu/javax/crypto/jce/cipher/PBES2.java,
33658 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33659 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33660 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33661 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33662 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33663 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33664 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33665 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33666 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33667 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33668 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33669 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33670 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33671 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33672 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33673 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33674 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33675 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33676 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33677 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33678 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33679 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33680 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33681 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33682 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33683 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33684 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33685 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33686 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33687 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33688 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33689 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33690 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33691 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33692 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33693 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33694 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33695 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33696 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33697 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33698 gnu/javax/crypto/jce/mac/MacAdapter.java,
33699 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33700 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33701 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33702 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33703 gnu/javax/crypto/jce/mac/OMacImpl.java,
33704 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33705 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33706 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33707 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33708 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33709 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33710 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33711 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33712 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33713 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33714 gnu/javax/crypto/jce/params/DEREncodingException.java,
33715 gnu/javax/crypto/jce/params/DERReader.java,
33716 gnu/javax/crypto/jce/params/DERWriter.java,
33717 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33718 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33719 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33720 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33721 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33722 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33723 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33724 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33725 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33726 gnu/javax/crypto/key/GnuSecretKey.java,
33727 gnu/javax/crypto/key/IKeyAgreementParty.java,
33728 gnu/javax/crypto/key/IncomingMessage.java,
33729 gnu/javax/crypto/key/KeyAgreementException.java,
33730 gnu/javax/crypto/key/KeyAgreementFactory.java,
33731 gnu/javax/crypto/key/OutgoingMessage.java,
33732 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33733 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33734 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33735 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33736 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33737 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33738 gnu/javax/crypto/key/dh/ElGamalSender.java,
33739 gnu/javax/crypto/key/dh/GnuDHKey.java,
33740 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33741 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33742 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33743 gnu/javax/crypto/key/dh/RFC2631.java,
33744 gnu/javax/crypto/key/srp6/SRP6Host.java,
33745 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33746 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33747 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33748 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33749 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33750 gnu/javax/crypto/key/srp6/SRP6User.java,
33751 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33752 gnu/javax/crypto/key/srp6/SRPKey.java,
33753 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33754 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33755 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33756 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33757 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33758 gnu/javax/crypto/keyring/BaseKeyring.java,
33759 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33760 gnu/javax/crypto/keyring/CertPathEntry.java,
33761 gnu/javax/crypto/keyring/CertificateEntry.java,
33762 gnu/javax/crypto/keyring/CompressedEntry.java,
33763 gnu/javax/crypto/keyring/EncryptedEntry.java,
33764 gnu/javax/crypto/keyring/Entry.java,
33765 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33766 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33767 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33768 gnu/javax/crypto/keyring/IKeyring.java,
33769 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33770 gnu/javax/crypto/keyring/IPublicKeyring.java,
33771 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33772 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33773 gnu/javax/crypto/keyring/MeteredInputStream.java,
33774 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33775 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33776 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33777 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33778 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33779 gnu/javax/crypto/keyring/Properties.java,
33780 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33781 gnu/javax/crypto/mac/BaseMac.java,
33782 gnu/javax/crypto/mac/HMac.java,
33783 gnu/javax/crypto/mac/HMacFactory.java,
33784 gnu/javax/crypto/mac/IMac.java,
33785 gnu/javax/crypto/mac/MacFactory.java,
33786 gnu/javax/crypto/mac/MacInputStream.java,
33787 gnu/javax/crypto/mac/MacOutputStream.java,
33788 gnu/javax/crypto/mac/OMAC.java,
33789 gnu/javax/crypto/mac/TMMH16.java,
33790 gnu/javax/crypto/mac/UHash32.java,
33791 gnu/javax/crypto/mac/UMac32.java,
33792 gnu/javax/crypto/mode/BaseMode.java,
33793 gnu/javax/crypto/mode/CBC.java,
33794 gnu/javax/crypto/mode/CFB.java,
33795 gnu/javax/crypto/mode/CTR.java,
33796 gnu/javax/crypto/mode/EAX.java,
33797 gnu/javax/crypto/mode/ECB.java,
33798 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33799 gnu/javax/crypto/mode/ICM.java,
33800 gnu/javax/crypto/mode/IMode.java,
33801 gnu/javax/crypto/mode/ModeFactory.java,
33802 gnu/javax/crypto/mode/OFB.java,
33803 gnu/javax/crypto/pad/BasePad.java,
33804 gnu/javax/crypto/pad/IPad.java,
33805 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33806 gnu/javax/crypto/pad/PKCS7.java,
33807 gnu/javax/crypto/pad/PadFactory.java,
33808 gnu/javax/crypto/pad/SSL3.java,
33809 gnu/javax/crypto/pad/TBC.java,
33810 gnu/javax/crypto/pad/TLS1.java,
33811 gnu/javax/crypto/pad/WrongPaddingException.java,
33812 gnu/javax/crypto/prng/ARCFour.java,
33813 gnu/javax/crypto/prng/CSPRNG.java,
33814 gnu/javax/crypto/prng/Fortuna.java,
33815 gnu/javax/crypto/prng/ICMGenerator.java,
33816 gnu/javax/crypto/prng/IPBE.java,
33817 gnu/javax/crypto/prng/PBKDF2.java,
33818 gnu/javax/crypto/prng/PRNGFactory.java,
33819 gnu/javax/crypto/prng/UMacGenerator.java,
33820 gnu/javax/crypto/sasl/AuthInfo.java,
33821 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33822 gnu/javax/crypto/sasl/ClientFactory.java,
33823 gnu/javax/crypto/sasl/ClientMechanism.java,
33824 gnu/javax/crypto/sasl/ConfidentialityException.java,
33825 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33826 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33827 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33828 gnu/javax/crypto/sasl/InputBuffer.java,
33829 gnu/javax/crypto/sasl/IntegrityException.java,
33830 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33831 gnu/javax/crypto/sasl/NoSuchUserException.java,
33832 gnu/javax/crypto/sasl/OutputBuffer.java,
33833 gnu/javax/crypto/sasl/SaslEncodingException.java,
33834 gnu/javax/crypto/sasl/SaslInputStream.java,
33835 gnu/javax/crypto/sasl/SaslOutputStream.java,
33836 gnu/javax/crypto/sasl/SaslUtil.java,
33837 gnu/javax/crypto/sasl/ServerFactory.java,
33838 gnu/javax/crypto/sasl/ServerMechanism.java,
33839 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33840 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33841 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33842 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33843 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33844 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33845 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33846 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33847 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33848 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33849 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33850 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33851 gnu/javax/crypto/sasl/plain/PlainClient.java,
33852 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33853 gnu/javax/crypto/sasl/plain/PlainServer.java,
33854 gnu/javax/crypto/sasl/srp/CALG.java,
33855 gnu/javax/crypto/sasl/srp/ClientStore.java,
33856 gnu/javax/crypto/sasl/srp/IALG.java,
33857 gnu/javax/crypto/sasl/srp/KDF.java,
33858 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33859 gnu/javax/crypto/sasl/srp/SRP.java,
33860 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33861 gnu/javax/crypto/sasl/srp/SRPClient.java,
33862 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33863 gnu/javax/crypto/sasl/srp/SRPServer.java,
33864 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33865 gnu/javax/crypto/sasl/srp/ServerStore.java,
33866 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33867 gnu/javax/net/ssl/Base64.java,
33868 gnu/javax/net/ssl/EntropySource.java,
33869 gnu/javax/net/ssl/NullManagerParameters.java,
33870 gnu/javax/net/ssl/PrivateCredentials.java,
33871 gnu/javax/net/ssl/SRPManagerParameters.java,
33872 gnu/javax/net/ssl/SRPTrustManager.java,
33873 gnu/javax/net/ssl/StaticTrustAnchors.java,
33874 gnu/javax/net/ssl/provider/Alert.java,
33875 gnu/javax/net/ssl/provider/AlertException.java,
33876 gnu/javax/net/ssl/provider/Certificate.java,
33877 gnu/javax/net/ssl/provider/CertificateRequest.java,
33878 gnu/javax/net/ssl/provider/CertificateType.java,
33879 gnu/javax/net/ssl/provider/CertificateVerify.java,
33880 gnu/javax/net/ssl/provider/CipherSuite.java,
33881 gnu/javax/net/ssl/provider/ClientHello.java,
33882 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33883 gnu/javax/net/ssl/provider/CompressionMethod.java,
33884 gnu/javax/net/ssl/provider/Constructed.java,
33885 gnu/javax/net/ssl/provider/ContentType.java,
33886 gnu/javax/net/ssl/provider/Context.java,
33887 gnu/javax/net/ssl/provider/DiffieHellman.java,
33888 gnu/javax/net/ssl/provider/DigestInputStream.java,
33889 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33890 gnu/javax/net/ssl/provider/Enumerated.java,
33891 gnu/javax/net/ssl/provider/Extension.java,
33892 gnu/javax/net/ssl/provider/Extensions.java,
33893 gnu/javax/net/ssl/provider/Finished.java,
33894 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33895 gnu/javax/net/ssl/provider/Handshake.java,
33896 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33897 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33898 gnu/javax/net/ssl/provider/Jessie.java,
33899 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33900 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33901 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33902 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33903 gnu/javax/net/ssl/provider/KeyPool.java,
33904 gnu/javax/net/ssl/provider/MacException.java,
33905 gnu/javax/net/ssl/provider/OverflowException.java,
33906 gnu/javax/net/ssl/provider/PRNG.java,
33907 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33908 gnu/javax/net/ssl/provider/Random.java,
33909 gnu/javax/net/ssl/provider/RecordInput.java,
33910 gnu/javax/net/ssl/provider/RecordInputStream.java,
33911 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33912 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33913 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33914 gnu/javax/net/ssl/provider/SSLHMac.java,
33915 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33916 gnu/javax/net/ssl/provider/SSLRandom.java,
33917 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33918 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33919 gnu/javax/net/ssl/provider/SSLSocket.java,
33920 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33921 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33922 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33923 gnu/javax/net/ssl/provider/SecurityParameters.java,
33924 gnu/javax/net/ssl/provider/ServerHello.java,
33925 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33926 gnu/javax/net/ssl/provider/Session.java,
33927 gnu/javax/net/ssl/provider/SessionContext.java,
33928 gnu/javax/net/ssl/provider/Signature.java,
33929 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33930 gnu/javax/net/ssl/provider/TLSHMac.java,
33931 gnu/javax/net/ssl/provider/TLSRandom.java,
33932 gnu/javax/net/ssl/provider/Util.java,
33933 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33934 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33935 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33936 gnu/javax/security/auth/Password.java,
33937 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33938 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33939 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33940 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33941 gnu/javax/security/auth/callback/GnuCallbacks.java,
33942 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33943 gnu/java/security/Registry.java,
33944 gnu/java/security/Properties.java,
33945 gnu/java/security/hash/BaseHash.java,
33946 gnu/java/security/hash/HashFactory.java,
33947 gnu/java/security/hash/Haval.java,
33948 gnu/java/security/hash/IMessageDigest.java,
33949 gnu/java/security/hash/MD2.java,
33950 gnu/java/security/hash/MD4.java,
33951 gnu/java/security/hash/MD5.java,
33952 gnu/java/security/hash/RipeMD128.java,
33953 gnu/java/security/hash/RipeMD160.java,
33954 gnu/java/security/hash/Sha160.java,
33955 gnu/java/security/hash/Sha256.java,
33956 gnu/java/security/hash/Sha384.java,
33957 gnu/java/security/hash/Sha512.java,
33958 gnu/java/security/hash/Tiger.java,
33959 gnu/java/security/hash/Whirlpool.java,
33960 gnu/java/security/jce/hash/HavalSpi.java,
33961 gnu/java/security/jce/hash/MD2Spi.java,
33962 gnu/java/security/jce/hash/MD4Spi.java,
33963 gnu/java/security/jce/hash/MD5Spi.java,
33964 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33965 gnu/java/security/jce/hash/RipeMD128Spi.java,
33966 gnu/java/security/jce/hash/RipeMD160Spi.java,
33967 gnu/java/security/jce/hash/Sha160Spi.java,
33968 gnu/java/security/jce/hash/Sha256Spi.java,
33969 gnu/java/security/jce/hash/Sha384Spi.java,
33970 gnu/java/security/jce/hash/Sha512Spi.java,
33971 gnu/java/security/jce/hash/TigerSpi.java,
33972 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33973 gnu/java/security/jce/prng/HavalRandomSpi.java,
33974 gnu/java/security/jce/prng/MD2RandomSpi.java,
33975 gnu/java/security/jce/prng/MD4RandomSpi.java,
33976 gnu/java/security/jce/prng/MD5RandomSpi.java,
33977 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33978 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33979 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33980 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33981 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33982 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33983 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33984 gnu/java/security/jce/prng/TigerRandomSpi.java,
33985 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33986 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33987 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33988 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33989 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33990 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33991 gnu/java/security/jce/sig/SignatureAdapter.java,
33992 gnu/java/security/key/IKeyPairCodec.java,
33993 gnu/java/security/key/IKeyPairGenerator.java,
33994 gnu/java/security/key/KeyPairCodecFactory.java,
33995 gnu/java/security/key/KeyPairGeneratorFactory.java,
33996 gnu/java/security/key/dss/DSSKey.java,
33997 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33998 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33999 gnu/java/security/key/dss/DSSPrivateKey.java,
34000 gnu/java/security/key/dss/DSSPublicKey.java,
34001 gnu/java/security/key/dss/FIPS186.java,
34002 gnu/java/security/key/rsa/GnuRSAKey.java,
34003 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34004 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34005 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34006 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34007 gnu/java/security/prng/BasePRNG.java,
34008 gnu/java/security/prng/EntropySource.java,
34009 gnu/java/security/prng/IRandom.java,
34010 gnu/java/security/prng/LimitReachedException.java,
34011 gnu/java/security/prng/MDGenerator.java,
34012 gnu/java/security/prng/PRNGFactory.java,
34013 gnu/java/security/prng/RandomEvent.java,
34014 gnu/java/security/prng/RandomEventListener.java,
34015 gnu/java/security/sig/BaseSignature.java,
34016 gnu/java/security/sig/ISignature.java,
34017 gnu/java/security/sig/ISignatureCodec.java,
34018 gnu/java/security/sig/SignatureFactory.java,
34019 gnu/java/security/sig/dss/DSSSignature.java,
34020 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34021 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34022 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34023 gnu/java/security/sig/rsa/EMSA_PSS.java,
34024 gnu/java/security/sig/rsa/RSA.java,
34025 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34026 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34027 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34028 gnu/java/security/util/Base64.java,
34029 gnu/java/security/util/ExpirableObject.java,
34030 gnu/java/security/util/Prime2.java,
34031 gnu/java/security/util/Sequence.java,
34032 gnu/java/security/util/SimpleList.java,
34033 gnu/java/security/util/Util.java,
34034 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34035 new files imported from GNU Crypto and Jessie.
34037 2006-01-25 Tom Tromey <tromey@redhat.com>
34039 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34040 Fixed calculation of number of bytes to read.
34041 (size, count, meta, eof): Document.
34043 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34045 * java/lang/Character.java:
34046 (codePointCount(char[], int, int)): New API method.
34047 (codePointCount(CharSequence, int, int)): Likewise.
34049 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34052 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34054 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34055 action if not editing.
34056 * javax/swing/plaf/basic/BasicTreeUI.java
34057 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34058 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34059 (EditorUpdateTimer): Removed.
34060 (TreeAction.actionPerformed): Stop and not cancel the current editing
34061 when starting editing another node.
34062 (editorTimer, newVal): Removed.
34063 (cancelEditing): Do not send the cancel message.
34064 (completeEditing): Obtain the edited value from the editor.
34065 (finish): New method.
34066 (paintRow): Do not paint the editing component here.
34067 (startEditing, stopEditing): Rewritten.
34068 * javax/swing/tree/DefaultTreeCellEditor.java
34069 (DefaultTextField): Added SVUID.
34070 (EditorContainer): Rewritten.
34071 (RealEditorListener): New inner class.
34072 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34073 (constructor): Add cell editor listener. Do not instantiate timer.
34074 (actionPerformed): Return without action.
34075 (cancelCellEditing): Rewritten.
34076 (createTreeCellEditor): Add cell editor listener to the editor.
34077 (getCellEditorValue): Request the value from the realEditor.
34078 (isCellEditable): Removed timer management.
34079 (prepareForEditing): Remove all components befor adding the
34081 (startEditingTimer): Start only if it is not null.
34082 (stopCellEditing): Rewritten.
34083 (stopEditingTimer): New method.
34084 (valueChanged): Do not configure editing component here.
34086 2006-01-25 Roman Kennke <kennke@aicas.com>
34088 * javax/swing/text/html/FormView.java: New file.
34090 2006-01-25 Roman Kennke <kennke@aicas.com>
34092 * javax/swing/JSplitPane.java
34093 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34094 has been set in order to set an initial layout.
34095 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34096 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34097 layout of the right component.
34098 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34099 dividerLocation to the size of the left component.
34100 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34102 (setDividerLocation): Don't validate the location here. Sometimes
34103 the divider needs to be set to an invalid location.
34104 (startDragging): Don't revalidate and repaint here.
34105 (finishDraggingTo): Don't repaint here. Also, don't call
34106 dragDividerTo() here.
34107 * javax/swing/plaf/basic/BasicLookAndFeel.java
34108 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34111 2006-01-25 Roman Kennke <kennke@aicas.com>
34113 * javax/swing/JSplitPane.java
34114 (addImpl): Removed invalidate() and layout() call.
34115 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34116 (PropertyHandler.propertyChange): Remove layoutContainer() and
34119 2006-01-25 Roman Kennke <kennke@aicas.com>
34122 * native/Makefile.am
34123 * native/jni/classpath/Makefile.am
34124 * native/jni/classpath/jcl.c
34125 * native/jni/classpath/jcl.h
34126 * native/jni/classpath/native_state.c
34127 * native/jni/gtk-peer/Makefile.am
34128 * native/jni/java-io/Makefile.am
34129 * native/jni/java-io/java_io_VMFile.c
34130 * native/jni/java-io/java_io_VMObjectStreamClass.c
34131 * native/jni/java-lang/Makefile.am
34132 * native/jni/java-net/Makefile.am
34133 * native/jni/java-net/java_net_VMInetAddress.c
34134 * native/jni/java-net/javanet.c
34135 * native/jni/java-net/javanet.h
34136 * native/jni/java-nio/Makefile.am
34137 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34138 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34139 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34140 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34141 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34142 * native/jni/java-util/Makefile.am
34143 * native/jni/java-util/java_util_VMTimeZone.c
34144 * native/jni/midi-dssi/Makefile.am
34145 * native/jni/xmlj/Makefile.am
34146 * native/target/Makefile.am
34147 * native/target/Linux/target_native_math.h
34148 * native/target/Linux/target_native_memory.h
34149 * native/target/Linux/Makefile.am
34150 * native/target/Linux/target_native_io.h
34151 * native/target/Linux/target_native_math_float.h
34152 * native/target/Linux/target_native_math_int.h
34153 * native/target/generic/target_generic.c
34154 * native/target/generic/target_generic_io.c
34155 * native/target/generic/target_generic_math.h
34156 * native/target/generic/target_generic_memory.h
34157 * native/target/generic/target_generic_misc.c
34158 * native/target/generic/target_generic_network.c
34159 * native/target/generic/Makefile.am
34160 * native/target/generic/target_generic.h
34161 * native/target/generic/target_generic_file.h
34162 * native/target/generic/target_generic_io.h
34163 * native/target/generic/target_generic_math_float.h
34164 * native/target/generic/target_generic_math_int.h
34165 * native/target/generic/target_generic_misc.h
34166 * native/target/generic/target_generic_network.h:
34167 Reverted target native related changes back to the state of the
34169 * native/target/MinGW/.cvsignore
34170 * native/target/MinGW/Makefile.am
34171 * native/target/MinGW/target_native.h
34172 * native/target/MinGW/target_native_file.h
34173 * native/target/MinGW/target_native_io.h
34174 * native/target/MinGW/target_native_math.h
34175 * native/target/MinGW/target_native_memory.h
34176 * native/target/MinGW/target_native_misc.h
34177 * native/target/MinGW/target_native_network.h
34178 * native/target/RTEMS/.cvsignore
34179 * native/target/RTEMS/Makefile.am
34180 * native/target/RTEMS/target_native.h
34181 * native/target/RTEMS/target_native_file.h
34182 * native/target/RTEMS/target_native_io.h
34183 * native/target/RTEMS/target_native_math.h
34184 * native/target/RTEMS/target_native_memory.h
34185 * native/target/RTEMS/target_native_misc.h
34186 * native/target/RTEMS/target_native_network.h
34187 * native/target/SunOS/.cvsignore
34188 * native/target/SunOS/Makefile.am
34189 * native/target/SunOS/target_native.h
34190 * native/target/SunOS/target_native_file.h
34191 * native/target/SunOS/target_native_io.h
34192 * native/target/SunOS/target_native_math.h
34193 * native/target/SunOS/target_native_memory.h
34194 * native/target/SunOS/target_native_misc.h
34195 * native/target/SunOS/target_native_network.h
34196 * native/target/embOS/.cvsignore
34197 * native/target/embOS/Makefile.am
34198 * native/target/embOS/target_native.h
34199 * native/target/embOS/target_native_file.h
34200 * native/target/embOS/target_native_io.c
34201 * native/target/embOS/target_native_io.h
34202 * native/target/embOS/target_native_math.h
34203 * native/target/embOS/target_native_memory.h
34204 * native/target/embOS/target_native_misc.h
34205 * native/target/embOS/target_native_network.h
34206 * native/target/posix/.cvsignore
34207 * native/target/posix/Makefile.am
34208 * native/target/posix/target_posix.c
34209 * native/target/posix/target_posix.h
34210 * native/target/posix/target_posix_file.c
34211 * native/target/posix/target_posix_file.h
34212 * native/target/posix/target_posix_io.c
34213 * native/target/posix/target_posix_io.h
34214 * native/target/posix/target_posix_math.c
34215 * native/target/posix/target_posix_math.h
34216 * native/target/posix/target_posix_memory.c
34217 * native/target/posix/target_posix_memory.h
34218 * native/target/posix/target_posix_misc.c
34219 * native/target/posix/target_posix_misc.h
34220 * native/target/posix/target_posix_network.c
34221 * native/target/posix/target_posix_network.h:
34224 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34226 * javax/print/PrintService.java,
34227 * javax/print/DocPrintJob.java,
34228 * javax/print/CancelablePrintJob.java:
34229 Added and enhanced api documentation for class and methods.
34231 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34233 * javax/print/SimpleDoc.java: Make class final.
34234 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34235 * javax/print/attribute/DateTimeSyntax.java:
34236 (toString): New overridden method.
34237 * javax/print/attribute/standard/JobStateReasons.java:
34238 (add): Use the super.add method to avoid recursion.
34239 * javax/print/attribute/standard/PrinterStateReasons.java:
34240 (put): Use the super.put method to avoid recursion.
34242 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34244 * java/beans/XMLEncoder.java:
34245 (writeExpression): Added early return (fixes PR #25941).
34246 (setExceptionListener, anonymous Class): Removed printStackTrace
34248 * java/beans/Encoder: Removed unused imports.
34249 (setupDefaultPersistenceDelegates): Removed unneccessary
34250 PersistenceDelegates for subclasses.
34251 * java/beans/PersistenceDelegate:
34252 (initialize): Use local variable as first argument as it was
34254 * java/beans/DefaultPersistenceDelegate:
34255 (initialize): Added call to superclass' implementation, added
34258 2006-01-24 Tom Tromey <tromey@redhat.com>
34260 * java/util/regex/PatternSyntaxException.java: Added @since.
34261 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34262 * java/util/regex/MatchResult.java: New file.
34264 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34266 * javax/swing/text/StringContent.java: Added API docs all over, plus
34267 minor reformatting.
34269 2006-01-24 Gary Benson <gbenson@redhat.com>
34271 * java/net/SocketPermission.java: Implemented serialization.
34273 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34275 * javax/swing/text/StringContent.java
34276 (remove): Modified argument check to prevent removal of last character,
34277 (getChars): Removed null argument check to allow NullPointerException,
34279 (checkLocation): Added API docs and white space.
34281 2006-01-23 Lillian Angel <langel@redhat.com>
34283 * javax/swing/text/DefaultStyledDocument.java
34284 (insertUpdate): Should only call createFracture with
34285 StartTagType. Added check.
34286 (insertContentTag): Should use the tags length for splitting.
34287 Also, added a check to determine if current's start and end offset are
34288 equal to the offset and endOffset. If so, only one leaf element
34290 (createFracture): Removed FIXME. This function is complete.
34291 (split): Added calls to replace. Changed so the child is
34292 added immediately to the paragraph. Prevents NPEs.
34294 2006-01-23 Mark Wielaard <mark@klomp.org>
34296 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34298 2006-01-23 Tom Tromey <tromey@redhat.com>
34300 * gnu/java/security/x509/X509Certificate.java (parse):
34301 Unconditionally read value; for version==1 case when reading
34304 2006-01-23 Roman Kennke <kennke@aicas.com>
34306 * javax/swing/plaf/synth/ColorType.java,
34307 * javax/swing/plaf/synth/Region.java,
34308 * javax/swing/plaf/synth/SynthConstants.java,
34309 * javax/swing/plaf/synth/SynthContext.java
34310 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34311 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34312 * javax/swing/plaf/synth/SynthPainter.java,
34313 * javax/swing/plaf/synth/SynthStyle.java,
34314 * javax/swing/plaf/synth/SynthStyleFactory.java,
34315 * javax/swing/plaf/synth/package.html:
34316 New files. Added the public API and framework classes for the
34317 Synth look and feel.
34319 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34321 * javax/swing/text/Segment.java: API docs all over.
34323 2006-01-23 Lillian Angel <langel@redhat.com>
34325 * javax/swing/text/DefaultStyledDocument.java
34326 (split): Should not use createLeafElement and createBranchElement here.
34327 We should just instaniate the LeafElements and BranchElements instead
34328 to avoid the case where create*Element is overridden.
34330 2006-01-23 Lillian Angel <langel@redhat.com>
34332 * javax/swing/text/DefaultStyledDocument.java
34333 (insertFirstContentTag): Moved check outside of if-statement.
34334 This should be checked before creating the new leaf element.
34335 (insertFracture): Fixed check to prevent an NPE. The previous
34336 leaf should only be recreated if it has been created by
34337 insertFirstContentTag. Also, fixed up code: if the endOffset is
34338 greater than the offset, then we need to create a temp leaf
34339 as a place holder. Otherwise, the leaf elements should be
34342 2006-01-23 Gary Benson <gbenson@redhat.com>
34344 * java/net/SocketPermission.java: Almost completely rewritten.
34346 2006-01-23 Lillian Angel <langel@redhat.com>
34348 * javax/swing/text/DefaultStyledDocument.java
34349 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34351 2006-01-23 Lillian Angel <langel@redhat.com>
34353 * javax/swing/text/DefaultStyledDocument.java:
34354 Formatted ElementBuffer and added new fields.
34355 (remove): Added check to determine if length is 0.
34356 (insertFirstContentTag): Initialized firstCreated to the element that is created
34357 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34358 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34359 that have been recreated.
34360 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34361 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34362 FIXME tags to the lines that need to be rewritten.
34364 2006-01-23 Mark Wielaard <mark@klomp.org>
34366 * examples/Makefile.am: Add support for fastjar.
34368 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34370 * gnu/regexp/REToken.java(empty): Made Cloneable.
34371 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34372 Use separate methods matchN and matchP depending on the
34374 (matchN): New method used when negative. Done as before.
34375 (matchP): New method used when not negative. Each token is
34376 tried not by itself but by a clone of it.
34378 2006-01-23 Chris Burdess <dog@gnu.org>
34381 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34382 class to avoid getLength method contention.
34383 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34385 2006-01-23 Chris Burdess <dog@gnu.org>
34387 * native/jni/java-util/Makefile.am: Include library required
34388 explicitly by BSD systems.
34389 * native/target/generic/target_generic_misc.h: Remove old commented
34391 * native/target/generic/target_generic_network.h: Fallbacks (to
34392 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34394 2006-01-22 Tom Tromey <tromey@redhat.com>
34396 * native/target/posix/.cvsignore: Added .deps.
34398 2006-01-22 Mark Wielaard <mark@klomp.org>
34401 reported by James Damour <James.Damour@corp.request.com>
34402 * java/awt/Container.java (addImpl): Use empty string as name when
34403 null constraints for LayoutManager.addLayoutComponent().
34405 2006-01-22 Chris Burdess <dog@gnu.org>
34408 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34409 representing current directory as base for relative URLs.
34411 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34414 * gnu/regexp/REMatch.java(empty): New boolean indicating
34415 an empty string matched.
34416 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34418 (initialize): Support back reference \10, \11, and so on.
34419 (parseInt): renamed from getEscapedChar and returns int.
34420 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34421 when an empty string matched. Fixed a bug of the case where
34422 an empty string matched. Added special handling of {0}.
34423 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34424 when an empty string matched. Fixed the case insensitive matching.
34426 2006-01-21 Roman Kennke <kennke@aicas.com>
34428 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34429 (paint): Added painting of border if one is installed.
34431 2006-01-21 Roman Kennke <kennke@aicas.com>
34433 PR classpath/25843:
34434 * javax/swing/plaf/basic/BasicBorders.java
34435 (getSplitPaneDividerBorder): Use new border constructor
34437 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34438 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34439 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34440 colors are fetched dynamically in the paintBorder method.
34441 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34443 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34445 * javax/swing/plaf/basic/BasicLookAndFeel.java
34446 (initComponentDefaults): Added default for SplitPaneDivider.border.
34447 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34448 (tmpBorder): Removed unneeded inner class.
34449 (BasicSplitPaneDivider): Removed setting of border.
34450 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34452 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34453 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34454 to get behaviour right.
34455 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34456 implementation. This must be rewritten since the layout now works
34457 slightly different (basically, it shouldn't modify the sizes[]
34458 here but instead the dividerLocation.
34459 (dividerLocation): New field.
34460 (installDefaults): Initialize border on divider.
34461 (uninstallDefaults): Only remove background color and border from
34462 splitPane if they are instances of UIDefaults (== not set by
34464 (setDividerLocation): Set the dividerLocation field instead of
34465 doing stunt acts here.
34466 (getDividerLocation): Return dividerLocation field.
34467 (getMinimumDividerLocation): Fixed calculation of minimum location.
34469 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34472 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34474 * lib/Makefile.am: Likewise.
34476 2006-01-21 Roman Kennke <kennke@aicas.com>
34478 * javax/swing/PopupFactory.java
34479 (getPopup): If there is no Swing root found in any way, use a
34480 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34481 for the Swing AWT peers.
34483 2006-01-20 Tom Tromey <tromey@redhat.com>
34485 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34486 Read response body for redirect.
34488 2006-01-20 Chris Burdess <dog@gnu.org>
34490 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34493 2006-01-20 Lillian Angel <langel@redhat.com>
34495 * javax/swing/text/DefaultStyledDocument.java
34496 (pad): Removed, not needed.
34497 (printElements): Likewise.
34498 (printEdit): Likewise.
34500 2006-01-20 Roman Kennke <kennke@aicas.com>
34502 * javax/swing/text/DefaultFormatter.java
34503 (DefaultFormatter): Don't set a value class.
34505 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34507 * javax/swing/DefaultCellEditor.java: Commented.
34509 2006-01-19 Roman Kennke <kennke@aicas.com>
34511 * javax/swing/JOptionPane.java
34512 Added cast to Frame for JDialog constructor.
34514 2006-01-19 Roman Kennke <kennke@aicas.com>
34516 * javax/swing/JWindow.java
34517 (JWindow(Window)): Fixed to accept null owner argument.
34518 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34520 * javax/swing/SwingUtilities.java
34521 (getOwnerFrame): Owner parameter and return value are fixed to
34522 be of type Window for compatibity with the above JWindow
34524 * javax/swing/JDialog.java
34525 (JDialog): Added cast to Frame to make sure the correct constructor
34527 * javax/swing/JFileChooser.java
34528 (createDialog): Added cast to Frame for JDialog constructor.
34530 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34532 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34534 2006-01-19 Roman Kennke <kennke@aicas.com>
34536 * javax/swing/JWindow.java: Added API docs to the constructors.
34538 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34540 * javax/swing/JTable.java: Commenting method headers.
34541 (EditorUpdateTimer): Removed.
34543 2006-01-19 Roman Kennke <kennke@aicas.com>
34545 * javax/swing/JDialog.java
34546 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34547 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34548 SwingUtilities.getOwnerFrame() with the owner argument.
34549 * javax/swing/JFileChooser.java
34550 (showOpenDialog(Component)): Call pack() on the dialog instead of
34551 setting a fixed height.
34552 (showSaveDialog()): Likewise.
34553 (showDialog()): Likewise.
34554 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34555 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34557 * javax/swing/JWindow.java
34558 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34559 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34561 * javax/swing/SwingUtilities.java
34562 (getOwnerFrame): Changed to take a owner parameter that is returned
34563 as owner frame when not null.
34565 2006-01-19 Roman Kennke <kennke@aicas.com>
34567 * gnu/java/awt/peer/swing/SwingFramePeer.java
34568 (handleMouseEvent): Fixed handling of mouse events.
34569 (handleMouseMotionEvent): Fixed handling of mouse events.
34571 2006-01-19 Roman Kennke <kennke@aicas.com>
34573 * native/target/generic/target_generic_misc.c:
34574 (targetGenericMisc_formatString): Added missing method.
34576 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34578 * m4/acinclude.m4: Test also for ecj found before exiting configure
34579 with no javac found error message.
34581 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34584 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34585 \0123, \x1B, \u1234.
34586 (getEscapedChar): New method.
34587 (CharExpression): New inner class.
34588 (getCharExpression): New Method.
34589 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34590 RE_UNICODE_CHAR): New syntax bits.
34592 2006-01-19 Roman Kennke <kennke@aicas.com>
34594 * native/target/Makefile.am: Fixed so that posix stuff is really
34595 only built when requested.
34597 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34599 * javax/swing/JTable.java (editingStopped, editingCancelled):
34600 Repaint the edited cell.
34601 (setValueAt): Do not add the value object to this container.
34602 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34603 (editingStopped): Use editingRow, editingColumn and not
34604 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34605 (doLayout): Move the editor component, if present, into the new
34606 location and call repaint(). (moveToCellBeingEdited): new method.
34607 (TableTextField): new inner class.
34608 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34609 (setValueAt): Repaint the changed segment.
34610 (createDefaultEditors): Implemented.
34611 (BooleanCellRenderer): Center the checkbox and use the default foreground
34612 and background colors.
34613 * javax/swing/plaf/basic/BasicTableUI.java
34614 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34615 (paint): No need to allocate rectangle for each cell.
34616 * javax/swing/DefaultCellEditor.java: Rewritten.
34617 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34618 Use TableDemo.java table example.
34619 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34621 2006-01-19 Roman Kennke <kennke@aicas.com>
34623 * configure.ac: Added/fixed --enable-posix-layer option to enable
34624 build of posix layer.
34625 * native/target/Makefile.am: Added build for posix layer.
34627 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34629 * configure.ac: Set TARGET to Linux per default.
34630 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34632 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34633 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34636 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34638 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34639 what looked like proprietary documentation with original or new one.
34640 * java/security/spec/PSSParameterSpec.java: Likewise.
34641 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34642 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34643 * java/security/AlgorithmParameterGenerator.java: Likewise.
34644 * java/security/AlgorithmParameters.java: Likewise.
34645 * java/security/Identity.java: Likewise.
34646 * java/security/IdentityScope.java: Likewise.
34647 * java/security/KeyFactory.java: Likewise.
34648 * java/security/KeyPairGenerator.java: Likewise.
34649 * java/security/MessageDigest.java: Likewise.
34650 * java/security/Policy.java: Likewise.
34651 * java/security/ProtectionDomain.java: Likewise.
34652 * java/security/Security.java: Likewise.
34653 * java/security/Signature.java: Likewise.
34654 * java/security/SignatureSpi.java: Likewise.
34655 * java/security/SignedObject.java: Likewise.
34656 * java/security/Signer.java: Likewise.
34658 2006-01-18 Roman Kennke <kennke@aicas.com>
34660 * configure.ac: Added --enable-posix-layer option to enable
34661 build of the posix target layer.
34663 2006-01-18 Roman Kennke <kennke@aicas.com>
34665 * native/jni/java-net/java_net_VMInetAddress.c
34666 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34669 2006-01-18 Roman Kennke <kennke@aicas.com>
34671 * native/jni/java-util/java_util_VMTimeZone.c:
34672 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34673 to use target native layer.
34674 (jint_to_charbuf): Removed unneeded helper function.
34676 2006-01-18 Roman Kennke <kennke@aicas.com>
34678 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34679 Removed unnecessary include.
34680 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34681 Reorganized includes to only include sys/* headers when available.
34682 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34683 (get_pagesize): Return 0 when nothing else works.
34684 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34685 Replaced munmap() and strerror() with corresponding target macros.
34686 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34687 Replaced strerror() with corresponding target macro.
34688 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34689 Replaced strerror() with corresponding target macro.
34690 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34691 (Java_java_nio_VMDirectByteBuffer_allocate):
34692 Replaced malloc() with the corresponding target macro.
34693 (Java_java_nio_VMDirectByteBuffer_free):
34694 Replaced free() with the corresponding target macro.
34695 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34696 Add index to pointer when assigning the value.
34697 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34698 Replaced memcpy with corresponding target macro. Add index when
34699 doing the memcpy, not when fetching the pointer.
34700 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34701 Replaced memcpy with corresponding target macro.
34702 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34703 Replaced memmove with the corresponding target macro.
34705 2006-01-17 Tom Tromey <tromey@redhat.com>
34707 PR classpath/20198:
34708 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34709 (JarURLLoader): Likewise.
34710 (addURLImpl): Canonicalize file URLs.
34712 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34714 * configure.ac: Set TARGET.
34715 * native/Makefile.am, native/jni/classpath/Makefile.am,
34716 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34717 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34718 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34719 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34720 native/target/Linux/Makefile.am,
34721 native/target/generic/Makefile.am,
34722 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34723 and target stuff linked in and link it against lib*.so libraries.
34725 2006-01-17 Roman Kennke <kennke@aicas.com>
34727 * native/jni/java-net/javanet.c:
34728 (_javanet_connect): Changed type of some local variables to jint.
34729 Fixed error handling to throw a SocketTimeoutException if the
34730 connection attempt times out.
34731 (_javanet_bind): Changed type of some local variables to jint.
34732 (_javanet_accept): Likewise.
34733 (_javanet_recvfrom): Likewise.
34734 (_javanet_sendto): Fixed error handling to throw a
34735 PortUnreachableException when connection is refused.
34736 (_javanet_get_option): Changed type of some local variables to jint.
34737 Implemented SOCKOPT_SO_BROADCAST.
34738 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34739 target native macro.
34740 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34741 target native macro.
34742 * native/jni/java-net/javanet.h:
34743 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34744 SOCKOPT_SO_BROADCAST.
34746 2006-01-17 Lillian Angel <langel@redhat.com>
34748 * javax/swing/text/DefaultStyledDocument.java
34749 (insert): Cleaned up loop. No need to make so many calls
34750 to getAddedElements and getRemovedElements.
34751 (insertFracture): Removed unneeded array.
34753 2006-01-17 Lillian Angel <langel@redhat.com>
34755 * javax/swing/text/JTextComponent.java
34756 (AccessibleJTextComponent): Implemented.
34757 (getCaretPosition): Implemented.
34758 (getSelectedText): Implemented.
34759 (getSelectionStart): Implemented.
34760 (getSelectionEnd): Implemented.
34761 (getSelectionEnd): Implemented.
34762 (getCharCount): Implemented.
34763 (insertTextAtIndex): Implemented.
34764 (getTextRange): Implemented.
34765 (delete): Implemented.
34766 (cut): Implemented.
34767 (paste): Implemented.
34768 (replaceText): Implemented.
34769 (selectText): Implemented.
34771 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34773 * javax/swing/text/DefaultStyledDocument.java:
34774 (pad): New debugging method.
34775 (printElements): Likewise.
34776 (printPendingEdits): Likewise.
34777 (printElement): Likewise.
34778 (Edit): Improved docs, moved this class to be an inner class of
34779 ElementBuffer since it only applies within that scope. Changed added
34780 and removed to be Vectors instead of arrays because we need to be able
34781 to add to them after construction.
34782 (ElementBuffer): Updated docs with link to article that helped in this
34783 classes implementation.
34784 (ElementBuffer.Edit.getRemovedElements): New method.
34785 (ElementBuffer.Edit.getAddedElements): Likewise.
34786 (ElementBuffer.Edit.addRemovedElement): Likewise.
34787 (ElementBuffer.Edit.addRemovedElements): Likewise.
34788 (ElementBuffer.Edit.addAddedElement): Likewise.
34789 (ElementBuffer.Edit.addAddedElements): Likewise.
34790 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34792 (ElementBuffer.getEditForParagraphAndIndex): New method.
34793 (ElementBuffer.removeUpdate): Changed type of paragraph to
34794 BranchElement. Corrected style of adding the edit to use the new Edit
34796 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34797 the new Edit facilities.
34798 (ElementBuffer.split): Likewise.
34799 (ElementBuffer.insertParagraph): Likewise.
34800 (ElementBuffer.insertContentTag): Likewise.
34801 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34802 not just the root and the first one. Apply the structural changes to
34803 the tree at the same time as updating the DocumentEvent.
34804 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34805 handling of EndTags as the first ElementSpec. Instead have to handle
34806 ContentTags as a special case if they are the first ElementSpec and if
34807 not have to fracture the tree.
34808 (ElementBuffer.createFracture): New method. May not be complete yet.
34809 Added FIXME indicating what may remain to be done.
34810 (ElementBuffer.insertFirstContentTag): New method.
34811 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34812 be done. Changed the adding of edits to use the new Edit facilities.
34813 Removed the adding of edits for Elements that weren't in the tree prior
34815 (insertUpdate): Removed incorrect condition for setting a StartTag's
34816 direction to JoinNextDirection.
34817 * javax/swing/text/StyleContent.java:
34818 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34819 that was causing an ArrayOutOfBoundsException.
34821 2006-01-17 Roman Kennke <kennke@aicas.com>
34823 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34824 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34825 exception messages a little.
34826 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34827 alternative implementation for systems without filesystems.
34828 Replaced snprintf with the corresponding target native macro.
34829 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34830 Only do something when we have a filesystem.
34831 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34832 alternative implementation for systems without filesystems.
34833 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34834 alternative implementation for systems without filesystems.
34835 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34836 alternative implementation for systems without filesystems.
34837 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34838 Only do something when we have a filesystem.
34839 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34840 Only do something when we have a filesystem.
34841 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34842 alternative implementation for systems without filesystems.
34843 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34844 Replaced ssize_t variables with jint. Provided
34845 alternative implementation for systems without filesystems.
34846 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34847 Replaced ssize_t variables with jint. Provided
34848 alternative implementation for systems without filesystems.
34849 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34850 Replaced ssize_t variables with jint. Provided
34851 alternative implementation for systems without filesystems.
34852 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34853 Only do something when we have a filesystem.
34854 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34855 Replaced ssize_t variables with jint. Provided
34856 alternative implementation for systems without filesystems.
34857 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34858 to use the corresponding target native macro.
34859 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34860 to use the corresponding target native macro.
34862 2006-01-17 Lillian Angel <langel@redhat.com>
34864 * javax/swing/text/DefaultTextUI.java:
34865 Added deprecated tag.
34866 * javax/swing/text/JTextComponent.java
34867 (AccessibleJTextComponent): Fixed API doc and
34868 partiall9 implemented.
34869 (getCaretPosition): Fixed API doc and implemented.
34870 (getSelectedText): Fixed API doc.
34871 (getSelectionStart): Likewise.
34872 (getSelectionEnd): Likewise.
34873 (caretUpdate): Fixed API doc and
34874 partially implemented.
34875 (getAccessibleStateSet): Likewise.
34876 (getAccessibleRole): Fixed API doc and implemented.
34877 (getAccessibleEditableText): Implemented.
34878 (getAccessibleText): Fixed API doc and implemented.
34879 (insertUpdate): Fixed API doc.
34880 (changedUpdate): Likewise.
34881 (getIndexAtPoint): Likewise.
34882 (getRootEditorRect): Removed.
34883 (getCharacterBounds): Fixed API doc.
34884 (getCharCount): Likewise.
34885 (getCharacterAttribute): Likewise.
34886 (getAtIndex): Likewise.
34887 (getAfterIndex): Likewise.
34888 (getBeforeIndex): Likewise.
34889 (getAccessibleActionCount): Added function stub.
34890 (getAccessibleActionDescription): Added function,
34891 partially implemented.
34892 (doAccessibleAction): Added function stub.
34893 (setTextContents): Likewise.
34894 (insertTextAtIndex): Likewise.
34895 (delete): Likewise.
34898 (replaceText): Likewise.
34899 (selectText): Likewise.
34900 (setAttributes): Likewise.
34901 (getAccessibleContext): Implemented.
34903 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34906 * gnu/regexp/RETokenRange.java(constructor):
34907 Keep lo and hi as they are.
34908 (match): Changed the case insensitive comparison.
34910 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34912 * gnu/regexp/RETokenChar.java(chain):
34913 Do not concatenate tokens whose insens flags are diffent.
34915 2006-01-17 Roman Kennke <kennke@aicas.com>
34917 * native/target/generic/target_generic_network.c:
34918 (targetGenericNetwork_receive): Fixed signature to match the
34919 corresponding .h file.
34920 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34921 to match the corresponding .h file.
34923 2006-01-17 Roman Kennke <kennke@aicas.com>
34925 * native/jni/classpath/jcl.c:
34926 (JCL_malloc): Replaced calls to malloc with the corresponding
34927 target layer macro.
34928 (JCL_free): Replaced calls to free with the corresponding
34929 target layer macro.
34930 * native/jni/classpath/native_state.c:
34931 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34932 calloc with the corresponding target layer macro.
34933 (remove_node): Replaced calls to free with the corresponding
34934 target layer macro.
34935 (add_node): Replaced calls to malloc with the corresponding
34936 target layer macro.
34938 2006-01-17 Roman Kennke <kennke@aicas.com>
34940 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34941 (getFieldReference): Use MALLOC/FREE macros for portability instead
34942 of direct call to malloc() and free().
34944 2006-01-17 Roman Kennke <kennke@aicas.com>
34946 * native/jni/classpath/jcl.c: Added missing imports.
34947 (JCL_realloc): Fixed signature to include oldsize. This is needed
34948 for some targets. Make this function use the MEMORY_REALLOC macro
34950 * native/jni/classpath/jcl.h
34951 (JCL_realloc): Adjusted signature.
34952 * native/jni/java-io/java_io_VMFile.c:
34953 (Java_java_io_VMFile_create): Use target layer macro for handling
34954 errno, for portability.
34955 (Java_java_io_VMFile_length): Release filename string in error cases
34957 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34958 version of JCL_realloc.
34959 * native/jni/java-net/java_net_VMInetAddress.c:
34960 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34961 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34962 * native/jni/java-net/javanet.c:
34963 (_javanet_bind): Make errorstr variable const to avoid compiler
34965 (_javanet_set_option): Fixed typo.
34966 (_javanet_get_option): Fixed typo.
34967 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34968 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34969 error_string variable const to avoid compiler warning.
34970 * native/target/generic/target_generic_file.h:
34971 Replaced // comments with /* */ comments to avoid compiler warnings.
34972 Added some spaces to make code better readable.
34973 * native/target/generic/target_generic_memory.h:
34974 Replaced // comments with /* */ comments to avoid compiler warnings.
34975 * native/target/generic/target_generic_misc.c:
34976 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34977 compiler warnings due to use of varargs.
34978 * native/target/generic/target_generic_misc.h:
34979 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34980 compiler warnings due to use of varargs.
34981 * native/target/generic/target_generic_network.h:
34982 Replaced // comments with /* */ comments to avoid compiler warnings.
34983 (targetGenericNetwork_receive): Fixed signature to use signed chars
34984 for buffer parameter to avoid warning when passing a jbyte to the
34987 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34989 * javax/swing/text/StyleConstants.java
34990 (getAlignment): Removed isDefined() check, so that resolving parent is
34992 (getBackground): Likewise, plus changed default value to Color.BLACK,
34993 (getBidiLevel): Removed isDefined() check,
34994 (getComponent): Likewise,
34995 (getFirstLineIndent): Likewise,
34996 (getFontFamily): Likewise,
34997 (getFontSize): Likewise,
34998 (getForeground): Likewise,
34999 (getIcon): Likewise,
35000 (getLeftIndent): Likewise,
35001 (getLineSpacing): Likewise,
35002 (getRightIndent): Likewise,
35003 (getSpaceAbove): Likewise,
35004 (getSpaceBelow): Likewise,
35005 (getTabSet): Likewise,
35006 (isBold): Likewise,
35007 (isItalic): Likewise,
35008 (isStrikeThrough): Likewise,
35009 (isSubscript): Likewise,
35010 (isSuperscript): Likewise,
35011 (isUnderline): Likewise.
35013 2006-01-17 Gary Benson <gbenson@redhat.com>
35015 * java/lang/System.java (setSecurityManager): Catch
35016 ClassNotFoundException not Throwable.
35018 2006-01-16 Anthony Green <green@redhat.com>
35021 * gnu/java/net/protocol/http/Request.java
35022 (createResponseBodyStream): Remove Content-Encoding for
35023 compressed streams.
35025 2006-01-16 Chris Burdess <dog@gnu.org>
35027 * gnu/xml/stream/XMLParser.java,
35028 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35029 XMLStreamWriter arguments for conformance to the XML specifications.
35030 * gnu/xml/transform/Stylesheet.java,
35031 gnu/xml/transform/Template.java,
35032 gnu/xml/transform/TransformerImpl.java,
35033 gnu/xml/xpath/LangFunction.java,
35034 gnu/xml/xpath/Selector.java: better handling of template priorities;
35035 fix indents when pretty-printing; recursive tests for xml:lang.
35036 * gnu/xml/util/XHTMLWriter.java,
35037 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35039 2006-01-16 Roman Kennke <kennke@aicas.com>
35041 * native/target/MinGW/.cvsignore: New file.
35042 * native/target/RTEMS/.cvsignore: New file.
35043 * native/target/SunOS/.cvsignore: New file.
35044 * native/target/embOS/.cvsignore: New file.
35045 * native/target/posix/.cvsignore: New file.
35047 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35049 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35051 2006-01-16 Roman Kennke <kennke@aicas.com>
35053 * configure.ac: Include new target native directories in build.
35055 2006-01-16 Roman Kennke <kennke@aicas.com>
35057 * native/target/generic/target_generic_file.h: Added missing
35059 * native/target/generic/target_generic_network.c: Fixed several
35060 typos and includes.
35061 * native/target/generic/target_generic_network.h: Likewise.
35063 2006-01-16 Roman Kennke <kennke@aicas.com>
35065 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35066 to include the new targets.
35067 * native/target/posix/Makefile.am: Fixed filenames.
35069 2006-01-16 Roman Kennke <kennke@aicas.com>
35071 * native/target/Makefile.am: Include new targets.
35072 * native/target/Linux/Makefile.am: Include new memory layer.
35073 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35074 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35075 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35076 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35077 * native/target/generic/Makefile.am: Include new memory and math
35079 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35081 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35084 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35085 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35087 2006-01-16 Roman Kennke <kennke@aicas.com>
35089 * native/target/generic/target_generic_network.c: Fixed typo.
35090 * native/target/generic/target_generic_network.h: Fixed typo.
35092 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35094 * doc/vmintegration.texinfo: Updated subsection of the
35095 java.lang.InstrumentationImpl documentation.
35097 2006-01-16 Roman Kennke <kennke@aicas.com>
35099 * native/target/RTEMS/target_native.h,
35100 * native/target/RTEMS/target_native_file.h,
35101 * native/target/RTEMS/target_native_io.h,
35102 * native/target/RTEMS/target_native_math.h,
35103 * native/target/RTEMS/target_native_memory.h,
35104 * native/target/RTEMS/target_native_misc.h,
35105 * native/target/RTEMS/target_native_network.h:
35106 New files. Implement the target native layer for the RTEMS platform.
35108 2006-01-16 Roman Kennke <kennke@aicas.com>
35110 * native/target/SunOS/target_native.h,
35111 * native/target/SunOS/target_native_file.h,
35112 * native/target/SunOS/target_native_io.h,
35113 * native/target/SunOS/target_native_math.h,
35114 * native/target/SunOS/target_native_memory.h,
35115 * native/target/SunOS/target_native_misc.h,
35116 * native/target/SunOS/target_native_network.h:
35117 New files. Implement the target native layer for the SunOS platform.
35119 2006-01-16 Roman Kennke <kennke@aicas.com>
35121 * native/target/MinGW/target_native.h,
35122 * native/target/MinGW/target_native_file.h,
35123 * native/target/MinGW/target_native_io.h,
35124 * native/target/MinGW/target_native_math.h,
35125 * native/target/MinGW/target_native_memory.h,
35126 * native/target/MinGW/target_native_misc.h,
35127 * native/target/MinGW/target_native_network.h:
35128 New files. Implement the target native layer for the MinGW
35131 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35134 * javax/swing/DefaultCellEditor.java
35135 (delegate): Assign new instance immediately.
35136 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35137 (getTableCellEditorComponent): Rewritten.
35138 (prepareAsJTextField):New method (add listener only once).
35139 * javax/swing/JTable.java
35140 (editingCanceled): Rewritten.
35141 (editingStopped ): Rewritten.
35142 (rowAtPoint): Mind row margin.
35143 (getCellRect): Mind row margin.
35144 (getDefaultEditor): Removing JTextComponent border.
35145 (editCellAt): Rewritten.
35146 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35147 Activate editing mode by the mouse clicks.
35148 (getMaximumSize): Mind row margin.
35149 (getPreferredSize): Mind row margin.
35150 (TableAction): Added 'stop editing' command.
35152 2006-01-16 Roman Kennke <kennke@aicas.com>
35154 * jni/java-io/java_io_VMFile.c
35155 (Java_java_io_VMFile_list): Use new 4 argument version of
35156 TARGET_NATIVE_FILE_READ_DIR macro.
35157 * target/Linux/target_native_io.h: Fixed comment at #endif.
35158 * target/Linux/target_native_memory.h: New file. Contains
35159 portability macros for memory operations.
35160 * target/generic/target_generic.c: New file. Contains some functions
35162 * target/generic/target_generic.h: Use posix target and shorter macro
35163 names if CP_NEW is set.
35164 * target/generic/target_generic_file.h: Use posix target and shorter
35165 macro names if CP_NEW is set.
35166 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35167 * target/generic/target_generic_io.c: New file. Contains some
35168 functions for IO portability.
35169 * target/generic/target_generic_io.h: Use posix target and shorter
35170 macro names if CP_NEW is set.
35171 * target/generic/target_generic_misc.c: New file. Contains some
35172 functions for miscallaneaous portability issues.
35173 * target/generic/target_generic_misc.h: Use posix target and shorter
35174 macro names if CP_NEW is set.
35175 * target/generic/target_generic_network.c: New file. Contains some
35176 functions for networking portability.
35177 * target/generic/target_generic_network.h: Use posix target and
35178 shorter macro names if CP_NEW is set.
35179 * target/posix/Makefile.am,
35180 * target/posix/target_posix.c,
35181 * target/posix/target_posix.h,
35182 * target/posix/target_posix_file.c,
35183 * target/posix/target_posix_file.h,
35184 * target/posix/target_posix_io.c,
35185 * target/posix/target_posix_io.h,
35186 * target/posix/target_posix_math.c,
35187 * target/posix/target_posix_math.h,
35188 * target/posix/target_posix_memory.c,
35189 * target/posix/target_posix_memory.h,
35190 * target/posix/target_posix_misc.c,
35191 * target/posix/target_posix_misc.h,
35192 * target/posix/target_posix_network.c,
35193 * target/posix/target_posix_network.h:
35194 New files. This implements the target native layer macros for
35195 Posix-like systems.
35197 2006-01-16 Gary Benson <gbenson@redhat.com>
35199 * java/net/SocketPermission.java (implies): Fix action checks.
35201 2006-01-16 Roman Kennke <kennke@aicas.com>
35203 * native/target/generic/target_generic_math_float.h: Removed. This
35204 file has been replaced by target_generic_math.h.
35205 * native/target/generic/target_generic_math_int.h: Removed. This
35206 file has been replaced by target_generic_math.h.
35207 * native/target/generic/target_generic_math.h: New file. Replaces
35208 the old _int and _float versions.
35209 * native/target/Linux/target_native_math_float.h: Removed. This
35210 file has been replaced by target_native_math.h.
35211 * native/target/Linux/target_native_math_int.h: Removed. This
35212 file has been replaced by target_native_math.h.
35213 * native/target/Linux/target_native_math.h: New file. Replaces
35214 the old _int and _float versions.
35215 * native/target/Linux/Makefile.am: Adjusted for the changed
35217 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35218 instead of target_native_math_int.h.
35219 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35221 * native/target/generic/target_generic_file.h: Likewise.
35223 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35225 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35227 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35229 * javax/swing/text/SimpleAttributeSet.java
35230 (SimpleAttributeSet()): Initialise storage directly,
35231 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35232 NullPointerException,
35233 (containsAttribute): If key is found locally, don't check resolving
35234 parent if the value doesn't match,
35235 (getAttribute): Removed redundant instanceof and cast.
35237 2006-01-16 Gary Benson <gbenson@redhat.com>
35239 * java/lang/System.java (setSecurityManager): Ensure policy
35240 files are loaded before a security manager is put in place.
35242 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35244 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35246 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35248 * javax/print/attribute/standard/MediaSize.java:
35249 (static_initializer): Added comment.
35250 (MediaSize): Added javadoc to mention cache registration.
35251 (MediaSize): Likewise.
35252 (MediaSize): Likewise.
35253 (MediaSize): Likewise.
35255 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35258 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35259 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35260 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35261 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35263 (toString): Added method implementation.
35264 (LoginModuleControlFlag.toString): Removed class name from result.
35265 * javax/security/auth/login/Configuration.java: Updated copyright year.
35266 (getConfig(): replaced calls to NullConfiguration with
35269 2006-01-15 Tom Tromey <tromey@redhat.com>
35271 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35272 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35273 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35274 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35275 (setPersistenceDelegate): Likewise.
35277 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35279 * javax/print/attribute/standard/PrinterStateReasons.java:
35280 (printerStateReasonSet): Genericize the return type.
35282 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35284 * javax/swing/table/DefaultTableCellRenderer.java
35285 (getTableCellRendererComponent): Render null as the empty cell.
35287 2006-01-14 Anthony Green <green@redhat.com>
35289 * java/net/ServerSocket.java (accept): Remove bogus
35291 (implAccept): Add FIXME comment.
35293 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35296 * javax/print/Doc.java: Added and enhanced documentation.
35297 * javax/print/SimpleDoc.java: New file.
35299 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35301 * javax/print/attribute/standard/MediaSize.java:
35302 (Other.TABLOID): New MediaSize added in 1.5
35304 2006-01-14 Chris Burdess <dog@gnu.org>
35306 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35307 correctly when I/O and runtime exceptions occur during parsing.
35309 2006-01-13 Roman Kennke <kennke@aicas.com>
35311 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35312 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35313 * gnu/java/awt/peer/swing/SwingComponent.java,
35314 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35315 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35316 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35317 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35318 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35319 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35320 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35321 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35322 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35323 * gnu/java/awt/peer/swing/SwingToolkit.java,
35324 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35325 * gnu/java/awt/peer/swing/package.html:
35326 New files. Implemented some basic AWT peers based on Swing.
35328 2006-01-13 Roman Kennke <kennke@aicas.com>
35330 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35332 2006-01-13 Roman Kennke <kennke@aicas.com>
35334 * java/awt/MenuComponent.java: Reformatted to better match our
35337 2006-01-13 Roman Kennke <kennke@aicas.com>
35339 * java/awt/Frame.java: Reformatted to better match our
35342 2006-01-13 Roman Kennke <kennke@aicas.com>
35344 * java/awt/MenuBar.java
35345 (accessibleContext): Removed unnecessary field. This is already
35346 defined in MenuComponent.
35347 (setHelpMenu): Renamed the peer variable to myPeer because it was
35348 hiding a field of MenuComponent.
35349 (addNotify): Removed unnecessary cast.
35351 2006-01-13 Roman Kennke <kennke@aicas.com>
35353 * java/awt/MenuBar.java: Reformatted to better match our
35356 2006-01-13 Roman Kennke <kennke@aicas.com>
35358 * java/awt/MenuBar.java
35359 (frame): New field.
35360 (removeNotify): Clear frame field when beeing removed from the
35362 * java/awt/Frame.java
35363 (setMenuBar): Store a reference of the frame in the MenuBar.
35364 * java/awt/MenuComponent.java
35365 (postEvent): Implemented to forward the call to the parent until
35366 a parent can handle the event.
35367 (dispatchEvent): Moved handling of old style events from
35368 dispatchEventImpl() to here.
35369 (dispatchEventImpl): Moved handling of old style events to
35372 2006-01-13 Roman Kennke <kennke@aicas.com>
35374 * java/awt/Component.java
35375 (dispatchEvent): Moved handling of old style events from
35376 dispatchEventImpl() to this method.
35377 (translateEvent): Removed unnecessary cast.
35378 (dispatchEventImpl): Moved handling of old style events to
35381 2006-01-13 Lillian Angel <langel@redhat.com>
35383 * javax/swing/text/DefaultStyledDocument.java
35384 (createDefaultRoot): Removed FIXME.
35385 (setLogicalStyle): Added fireUndoableEditUpdate call and
35388 2006-01-13 Lillian Angel <langel@redhat.com>
35390 * javax/swing/text/DefaultStyledDocument.java
35391 (Edit): New inner class.
35392 (changeUpdate): Changed addEdit call to add a new
35393 instance of Edit to the edits Vector, so addEdits can
35396 (insertParagraph): Likewise.
35397 (insertFracture): Likewise.
35398 (insertContentTag): Likewise.
35399 (insert): Added loop to go through edits Vector and perform
35400 addEdit on each object.
35402 2006-01-13 Chris Burdess <dog@gnu.org>
35404 * gnu/xml/transform/AbstractNumberNode.java,
35405 gnu/xml/transform/ApplyImportsNode.java,
35406 gnu/xml/transform/ApplyTemplatesNode.java,
35407 gnu/xml/transform/AttributeNode.java,
35408 gnu/xml/transform/CallTemplateNode.java,
35409 gnu/xml/transform/ChooseNode.java,
35410 gnu/xml/transform/CommentNode.java,
35411 gnu/xml/transform/CopyNode.java,
35412 gnu/xml/transform/CopyOfNode.java,
35413 gnu/xml/transform/DocumentFunction.java,
35414 gnu/xml/transform/ElementNode.java,
35415 gnu/xml/transform/ForEachNode.java,
35416 gnu/xml/transform/IfNode.java,
35417 gnu/xml/transform/LiteralNode.java,
35418 gnu/xml/transform/MessageNode.java,
35419 gnu/xml/transform/OtherwiseNode.java,
35420 gnu/xml/transform/ParameterNode.java,
35421 gnu/xml/transform/ProcessingInstructionNode.java,
35422 gnu/xml/transform/Stylesheet.java,
35423 gnu/xml/transform/Template.java,
35424 gnu/xml/transform/TemplateNode.java,
35425 gnu/xml/transform/TextNode.java,
35426 gnu/xml/transform/TransformerImpl.java,
35427 gnu/xml/transform/ValueOfNode.java,
35428 gnu/xml/transform/WhenNode.java,
35429 gnu/xml/xpath/NodeTypeTest.java,
35430 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35431 with-param parameters when template does not define parameters; apply
35432 conflict resolution for templates; strip whitespace on documents
35433 retrieved via document() function; allow node() to match document
35436 2006-01-13 Mark Wielaard <mark@klomp.org>
35438 * doc/www.gnu.org/announce/20060113.wml: New file.
35439 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35440 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35442 2006-01-13 Lillian Angel <langel@redhat.com>
35444 * javax/swing/text/DefaultStyledDocument.java:
35445 Removed unused fields.
35446 (insert): Removed unused fields.
35447 (endEdit): Removed, not needed.
35448 (insertUpdate): Removed call to endEdit.
35449 (prepareContentInsertion): Removed, not needed.
35450 (insertContentTag): Removed call to prepareContentInsertion.
35451 (printElements): Removed, not needed.
35452 (attributeSetsAreSame): Removed, not needed.
35454 2005-01-13 Mark Wielaard <mark@klomp.org>
35456 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35457 Duplicate of toString(int, StringBuilder).
35459 2005-01-13 Mark Wielaard <mark@klomp.org>
35461 * configure.ac: Set version to 0.20.
35462 * NEWS: Add entries for all the new work done.
35464 2005-01-13 Mark Wielaard <mark@klomp.org>
35466 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35468 2005-01-13 Mark Wielaard <mark@klomp.org>
35470 * java/util/regex/Pattern.java (Pattern): Chain REException.
35472 2006-01-13 Chris Burdess <dog@gnu.org>
35474 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35476 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35478 * java/security/Security.java
35479 (getProperty): Added hack to skip security check when trusted
35480 code is direct caller.
35482 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35484 * java/io/PrintStream.java
35485 (line_separator, PrintStream(OutputStream,boolean)): Use
35488 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35490 * gnu/java/nio/charset/Provider.java: Added comment about its
35491 special relation with CharsetProvider.
35493 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35494 its special relation with CharsetProvider.
35496 * java/nio/charset/spi/CharsetProvider.java
35497 (CharsetProvider): Add special case to skip security check for
35498 built in providers.
35500 2005-01-13 Mark Wielaard <mark@klomp.org>
35502 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35503 name, accel, mnemonic and command are defined before setting.
35505 2005-01-12 Mark Wielaard <mark@klomp.org>
35507 * javax/swing/plaf/metal/MetalFileChooserUI.java
35508 (FileRenderer.getListCellRendererComponent): Set empty name and null
35509 icon when File is null.
35511 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35513 * gnu/java/rmi/server/UnicastRef.java (newCall):
35514 Throw ConnectException after catching IOException.
35516 2006-01-12 Lillian Angel <langel@redhat.com>
35518 * javax/swing/text/DefaultStyledDocument.java
35519 (insertUpdate): Removed unneeded check.
35521 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35523 * javax/swing/text/DefaultStyledDocument.java:
35524 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35525 and we haven't come immediately after a fracture, adjust the Element
35526 offsets. Added comment explaining the situation.
35527 (insert): Return early if no ElementSpecs passed in. Removed redundant
35528 call to insertUpdate. Fired the UndoableEditUpdate.
35530 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35533 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35534 character classes within a subexpression.
35536 2006-12-12 Lillian Angel <langel@redhat.com>
35538 * javax/swing/text/DefaultStyledDocument.java
35539 (insertUpdate): Added check to check if attribute set is
35541 (insertUpdate): Added check to determine if last character
35542 is a newline. If it is, we should not be fracturing.
35543 (insert): Added check to determine if attribute set is empty.
35544 If it is, insertUpdate should not be called.
35546 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35548 * configure.ac: Check for isnan.
35550 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35553 2006-01-12 Chris Burdess <dog@gnu.org>
35555 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35556 1.1 character ranges.
35558 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35560 * javax/swing/TransferHandler.java:
35561 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35562 gnu/testlet/javax/swing/JTextField/CopyPaste.
35564 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35566 * resource/Makefile.am: Install
35567 logging.properties into $(prefix)/lib.
35568 * resource/Makefile.am (securitydir): Changed to
35569 $(prefix)/lib/security.
35571 2006-01-12 Roman Kennke <kennke@aicas.com>
35573 * javax/swing/JTextField.java
35574 (createDefaultModel): Moved installation of the filterNewlines
35575 property to setDocument().
35576 (setDocument): New method. Installs the filterNewlines property
35579 2006-01-12 Chris Burdess <dog@gnu.org>
35581 * gnu/xml/dom/DomNode.java,
35582 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35584 * gnu/xml/xpath/NameTest.java,
35585 gnu/xml/xpath/NamespaceTest.java,
35586 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35588 * gnu/xml/transform/MessageNode.java: Use standard logging system
35589 for outputting messages.
35591 2006-01-12 Tom Tromey <tromey@redhat.com>
35593 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35594 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35595 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35596 (static initializer): Removed cache code.
35597 (checkCacheFor, addToCache): Removed.
35598 (getAllByName): Removed cache code.
35599 (lookup_time): Removed.
35600 (InetAddress): Updated.
35602 2006-01-12 Chris Burdess <dog@gnu.org>
35604 * gnu/xml/dom/DomDocument.java,
35605 gnu/xml/dom/DomElement.java,
35606 gnu/xml/dom/DomNode.java,
35607 gnu/xml/stream/XMLParser.java,
35608 gnu/xml/transform/Bindings.java,
35609 gnu/xml/transform/ElementAvailableFunction.java,
35610 gnu/xml/transform/ElementNode.java,
35611 gnu/xml/transform/FunctionAvailableFunction.java,
35612 gnu/xml/transform/NamespaceProxy.java,
35613 gnu/xml/transform/StreamSerializer.java,
35614 gnu/xml/transform/Stylesheet.java,
35615 gnu/xml/transform/TransformerImpl.java,
35616 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35617 document and element nodes; correct coalescing semantics when parsing;
35618 attribute-sets can only refer to top-level variables and parameters;
35619 fix namespace retrieval during element-available and
35620 function-available functions; implement xsl:fallback for extension
35621 elements; tokenize whitespace correctly during whitespace stripping;
35622 correct following and previous node axes selectors.
35624 2006-01-12 Roman Kennke <kennke@aicas.com>
35626 * java/util/Hashtable.java
35627 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35628 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35630 2006-01-12 Lillian Angel <langel@redhat.com>
35632 * javax/swing/text/GapContent.java
35633 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35635 2006-01-12 Mark Wielaard <mark@klomp.org>
35637 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35638 Throw UnknowHostException when name could not be resolved.
35640 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35642 * java/net/URL.java
35643 (static, getURLStreamHandler): Use SystemProperties.
35645 2006-01-12 Mark Wielaard <mark@klomp.org>
35647 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35648 Use packet.getLength().
35649 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35650 (nativeReceive): Check whether the receiver wants zero bytes.
35652 2006-01-12 Mark Wielaard <mark@klomp.org>
35654 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35655 other side orderly closed connection.
35656 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35657 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35658 when end of stream reached.
35660 2006-01-12 Mark Wielaard <mark@klomp.org>
35662 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35664 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35665 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35666 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35667 * native/jni/java-net/javanet.c: Likewise.
35669 2006-01-12 Mark Wielaard <mark@klomp.org>
35671 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35672 PR classpath/23863.
35674 2006-01-11 Chris Burdess <dog@gnu.org>
35676 * gnu/xml/transform/AttributeNode.java,
35677 gnu/xml/transform/ElementNode.java,
35678 gnu/xml/transform/LiteralNode.java,
35679 gnu/xml/transform/StreamSerializer.java,
35680 gnu/xml/transform/StrippingInstruction.java,
35681 gnu/xml/transform/Stylesheet.java,
35682 gnu/xml/transform/TransformerImpl.java,
35683 gnu/xml/transform/ValueOfNode.java,
35684 gnu/xml/xpath/Expr.java,
35685 gnu/xml/xpath/LocalNameFunction.java,
35686 gnu/xml/xpath/NameFunction.java,
35687 gnu/xml/xpath/NameTest.java,
35688 gnu/xml/xpath/NamespaceUriFunction.java,
35689 gnu/xml/xpath/NodeTypeTest.java,
35690 gnu/xml/xpath/SubstringFunction.java,
35691 javax/xml/namespace/QName.java: don't determine element namespace
35692 from namespace aliases when specified; better namespace handling
35693 when serializing elements; don't create HTML meta element unless
35694 head element exists; correct encoding of CDATA sections containing
35695 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35696 default encoding for HTML output; rewrite of XSLT
35697 strip-space/preserve-space handling; correct doctype-public and
35698 doctype-system output attributes; insert generated doctype before
35699 document element; fixed result tree whitespace stripping
35700 algorithm; fixed semantics of XPath name, local-name, and
35701 namespace-uri functions; name tests handle XML/XMLNS namespaces
35702 correctly; fixed semantics of processing-instruction node test.
35703 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35706 2006-01-11 Lillian Angel <langel@redhat.com>
35708 * javax/swing/text/DefaultStyledDocument.java
35709 (insertFracture): Added calls to addEdit for each time a structure
35710 is changed. addEdit is called on the newBranch, previous, and parent
35713 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35715 * javax/swing/text/DefaultStyledDocument.java:
35716 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35717 This will have been taken care of in insertFracture. Added a comment
35718 explaining that we need to add edits to the DocumentEvent and that
35719 this may be the place to do it.
35721 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35723 * javax/swing/text/DefaultStyledDocument.java:
35724 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35725 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35726 elementStack when there is a start tag with JoinNextDirection.
35728 2006-01-11 Roman Kennke <kennke@aicas.com>
35730 Reported by: Fridjof Siebert <siebert@aicas.com>
35731 * java/util/Hashtable.java
35732 (KEYS): Removed unneeded field.
35733 (VALUES): Removed unneeded field.
35734 (ENTRIES): Removed unneeded field.
35735 (keys): Return a KeyEnumerator instance.
35736 (elements): Returns a ValueEnumerator instance.
35737 (toString): Use an EntryIterator instance.
35738 (keySet): Return a KeyIterator instance.
35739 (values): Return a ValueIterator instance.
35740 (entrySet): Return an EntryIterator instance.
35741 (hashCode): Use EntryIterator instance.
35742 (rehash): Changed this loop to avoid redundant reads and make
35743 it obvious that null checking is not needed.
35744 (writeObject): Use EntryIterator instance.
35745 (HashIterator): Removed class.
35746 (Enumerator): Removed class.
35747 (EntryIterator): New class.
35748 (KeyIterator): New class.
35749 (ValueIterator): New class.
35750 (EntryEnumerator): New class.
35751 (KeyEnumerator): New class.
35752 (ValueEnumerator): New class.
35754 2006-01-11 Lillian Angel <langel@redhat.com>
35756 * javax/swing/text/DefaultStyledDocument.java
35757 (toString): Shouldn't append the '>' character here.
35758 (createDefaultRoot): Should not set the resolve parent. This
35759 causes problems when comparing attribute sets.
35761 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35763 * javax/swing/text/DefaultStyledDocument.java:
35764 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35766 (ElementBuffer.insertFracture): New method.
35767 (ElementBuffer.insertContentTag): Removed unnecessary case for
35768 JoinFractureDirection - this only applies to start tags, not content
35770 (insertUpdate): Corrected conditions for setting direction to
35773 2006-01-10 Roman Kennke <kennke@aicas.com>
35775 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35776 * ChangeLog-2005: New File.
35778 2006-01-10 Roman Kennke <kennke@aicas.com>
35780 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35781 (get): Release the array with the correct pointer.
35782 (put): Release the array with the correct pointer. Copy the array
35783 around _before_ releasing it.
35785 2006-01-10 Roman Kennke <kennke@aicas.com>
35787 * javax/swing/ViewportLayout.java
35788 (layoutContainer): Fixed condition, to avoid ClasscastException.
35790 2006-01-10 Roman Kennke <kennke@aicas.com>
35792 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35793 (MouseHandler.mousePressed): Fixed indendation.
35794 (MouseHandler.mouseDragged): Fixed indendation.
35796 2006-01-10 Roman Kennke <kennke@aicas.com>
35798 * javax/swing/plaf/basic/BasicLookAndFeel.java
35799 (playSound): Added @since 1.4 to the API docs.
35801 2006-01-10 Roman Kennke <kennke@aicas.com>
35803 * javax/swing/plaf/basic/BasicListUI.java
35804 (maybeUpdateLayoutState): Also update the layout state, if the
35805 list has been invalidated since the last update.
35807 2006-01-10 Roman Kennke <kennke@aicas.com>
35809 * javax/swing/plaf/ComponentUI.java
35810 (update): Fixed indendation.
35812 2006-01-10 Roman Kennke <kennke@aicas.com>
35814 * javax/swing/ViewportLayout.java
35815 (layoutContainer): Fixed condition, so that Scrollable components
35816 are always forced to have to Viewport size, when they
35817 return true for getScrollableTracksViewportHeight() and ..Width().
35819 2006-01-10 Roman Kennke <kennke@aicas.com>
35821 * javax/swing/RepaintManager.java
35822 (validateInvalidComponents): Fixed condition to avoid NPE.
35824 2006-01-10 Roman Kennke <kennke@aicas.com>
35826 * javax/swing/JViewport.java:
35827 (static_initializer): Removed unused variable myScrollMode.
35829 2006-01-10 Roman Kennke <kennke@aicas.com>
35831 * javax/swing/JTabbedPane.java:
35832 Cleared API docs a little.
35834 2006-01-10 Roman Kennke <kennke@aicas.com>
35836 * java/util/StringTokenizer.java
35837 (StringTokenizer(String, String, boolean)):
35838 Don't trigger NPE here for conformance with the spec.
35840 2006-01-10 Roman Kennke <kennke@aicas.com>
35842 * java/util/ArrayList.java
35843 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35845 2006-01-10 Roman Kennke <kennke@aicas.com>
35847 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35848 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35849 field to avoid NPE.
35851 2006-01-10 Roman Kennke <kennke@aicas.com>
35853 * native/jni/java-net/javanet.c
35854 (_javanet_shutdownOutput): Replaced strerror() with
35855 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35856 (_javanet_shutdownInput): Replaced strerror() with
35857 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35859 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35861 * java/beans/EventSetDescriptor.java: Reformatted and
35864 2006-01-10 Roman Kennke <kennke@aicas.com>
35866 * java/lang/SecurityManager.java
35867 Fully qualified AWT class references in API docs.
35869 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35871 * java/beans/EventSetDescriptor.java:
35872 (getGetListenerMethod): New method.
35874 2006-01-10 Mark Wielaard <mark@klomp.org>
35876 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35878 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35881 * java/util/Hashtable.java
35882 (contains): Call equals on existing value.
35883 (containsKey, get, put, remove): Call equals on existing key.
35884 (getEntry): Call equals on existing entry.
35886 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35889 * java/util/AbstractMap.java
35890 (equals(Object,Object)): Test for identity first.
35891 * java/util/WeakHashMap.java
35892 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35893 (WeakBucket.WeakEntry.toString): Fixed string representation of
35895 (internalGet): Use helper method to determine equality.
35897 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35899 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35902 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35904 * javax/swing/text/PlainDocument.java:
35905 (insertUpdate): Handle special case of an insertion immediately
35906 following a newline character.
35908 2006-01-09 Roman Kennke <kennke@aicas.com>
35910 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35911 (connect): Added stream parameter to _connect() call.
35912 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35913 (connect): Added stream parameter to _connect() call.
35914 * native/jni/java-net/javanet.c
35915 (_javanet_create_localfd): Added stream parameter. Look up
35916 fd field based on the stream parameter either in SocketImpl or
35917 in DatagramSocketImpl.
35918 (_javanet_connect): Added stream parameter. Call create_localfd
35919 using this stream parameter. Set localPort field either in
35920 SocketImpl or in DatagramSocketImpl, depending on the stream
35922 * native/jni/java-net/javanet.c
35923 (_javanet_connect): Added stream parameter.
35925 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35927 * javax.management.Attribute.java: Grammar and
35930 2006-01-09 Mark Wielaard <mark@klomp.org>
35932 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35933 exception when channel is not readable or writable.
35934 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35935 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35936 there is enough space to mmap().
35938 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35940 * java/beans/Introspector.java:
35941 (getBeanInfo(Class, int)): New method.
35942 (getBeanInfo(Class, Class): Moved common code in a new method.
35943 (merge): New method.
35945 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35947 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35949 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35951 * javax/swing/text/DefaultStyledDocument.java:
35952 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35953 inlined this method because it needs to change the value of the
35954 finalStartTag and finalStartDirection variables.
35955 (checkForInsertAfterNewline): Removed this method.
35956 (handleInsertAfterNewline): Added case for making the start tag's
35957 direction JoinNextDirection.
35959 2006-01-09 Lillian Angel <langel@redhat.com>
35961 * javax/swing/plaf/basic/BasicTreeUI.java:
35963 (setRowHeight): Row height is set to the max height of
35964 all the nodes, or 20 as a default value.
35965 (getPathBounds): Cleaned up code.
35966 (getMaxHeight): New helper function that gets the max
35967 height of all the rows.
35968 (getClosestPathForLocation): Fixed to use getMaxHeight.
35969 (updateCachedPreferredSize): Likewise.
35970 (installUI): Shouldn't expand tree on startup.
35971 (getNodeDimensions): Fixed to use getMaxHeight.
35973 2006-01-09 Mark Wielaard <mark@klomp.org>
35975 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35976 argument is negative.
35978 2006-01-08 Mark Wielaard <mark@klomp.org>
35980 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35982 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35984 * javax.management.Attribute.java: New file.
35986 2006-01-09 Roman Kennke <kennke@aicas.com>
35988 * java/net/DatagramSocketImpl.java
35989 (localPort): Renamed to localport for correct access from native
35992 2006-01-09 Roman Kennke <kennke@aicas.com>
35994 * javax/swing/Popup.java
35995 (LightweightPopup.hide): Repaint the layered pane when popup is
35998 2006-01-09 Roman Kennke <kennke@aicas.com>
36000 * java/awt/Container.java
36001 (remove): Don't repaint the container here.
36003 2006-01-08 Tom Tromey <tromey@redhat.com>
36005 * java/lang/InheritableThreadLocal.java: Organized imports.
36007 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
36010 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36011 when an empty string matched an empty token.
36013 2006-01-08 Chris Burdess <dog@gnu.org>
36015 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36016 content models from external entities.
36017 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36018 attempting to continue with unpaired surrogates.
36019 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36020 resolving entities with character entity references; better
36021 checking of valid character ranges; don't report an error for URI
36022 fragments in notation declarations; check unbound namespace
36023 prefixes for elements and attributes, including XML 1.1 unbinding
36024 syntax; namespace-aware checking of attribute duplicates.
36026 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36028 * java/beans/Statement.java: Doc fixes.
36029 (doExecute): Workaround for Class.forName call.
36030 (toString): Made output look more like on the JDK.
36031 * java/beans/Expression.java: Doc fixes.
36032 (toString): Made output look more like on the JDK.
36033 * java/beans/PersistenceDelegate.java,
36034 java/beans/DefaultPersistenceDelegate.java,
36035 java/beans/Encoder.java,
36036 java/beans/XMLEncoder.java: New file.
36037 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36038 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36039 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36040 gnu/java/beans/encoder/Context.java,
36041 gnu/java/beans/encoder/GenericScannerState.java,
36042 gnu/java/beans/encoder/IgnoringScannerState.java,
36043 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36044 gnu/java/beans/encoder/ObjectId.java,
36045 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36046 gnu/java/beans/encoder/ReportingScannerState.java,
36047 gnu/java/beans/encoder/Root.java,
36048 gnu/java/beans/encoder/ScanEngine.java,
36049 gnu/java/beans/encoder/ScannerState.java,
36050 gnu/java/beans/encoder/StAXWriter.java,
36051 gnu/java/beans/encoder/Writer.java: New file.
36052 * gnu/java/beans/encoder/elements/Array_Get.java,
36053 gnu/java/beans/encoder/elements/Element.java,
36054 gnu/java/beans/encoder/elements/List_Set.java,
36055 gnu/java/beans/encoder/elements/Array_Set.java,
36056 gnu/java/beans/encoder/elements/NullObject.java,
36057 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36058 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36059 gnu/java/beans/encoder/elements/StringReference.java,
36060 gnu/java/beans/encoder/elements/ClassResolution.java,
36061 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36062 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36063 gnu/java/beans/encoder/elements/ObjectReference.java,
36064 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36065 gnu/java/beans/encoder/elements/List_Get.java,
36066 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36068 2006-01-08 Chris Burdess <dog@gnu.org>
36070 * java/lang/Character.java (toChars,toCodePoint): Correct these
36071 methods to use algorithms from Unicode specification.
36073 2006-01-08 Mark Wielaard <mark@klomp.org>
36075 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36077 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36080 * examples/Makefile.am: Corrected DESTDIR install paths.
36082 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36084 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36085 ASCII character (line 46).
36087 2006-01-07 Roman Kennke <kennke@aicas.com>
36089 * javax/swing/text/TableView.java: New file.
36091 2006-01-07 Chris Burdess <dog@gnu.org>
36093 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36094 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36095 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36096 available; correct handling of unparsed entity references;
36097 absolutize all base URIs; remove commented out code.
36099 2006-01-07 Chris Burdess <dog@gnu.org>
36101 * gnu/xml/stream/SAXParser.java,
36102 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36103 URI of the current event.
36105 2006-01-07 Chris Burdess <dog@gnu.org>
36107 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36110 2006-01-07 Chris Burdess <dog@gnu.org>
36112 * gnu/xml/stream/SAXParser.java,
36113 gnu/xml/stream/XIncludeFilter.java,
36114 gnu/xml/stream/XMLParser.java: Updated documentation.
36116 2006-01-07 Chris Burdess <dog@gnu.org>
36118 * AUTHORS: add self.
36120 2006-01-06 Casey Marshall <csm@gnu.org>
36122 * AUTHORS: add myself.
36124 2006-01-06 Casey Marshall <csm@gnu.org>
36127 * javax/crypto/CipherInputStream.java (logger): new constant.
36128 (cipher): make final.
36129 (outLength, inBuffer, inLength): removed.
36130 (isStream): make final.
36131 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36133 (<init>): call `super,' not `this;' remove `inBuffer' and
36134 `outBuffer' initialization; init `eof;' add debug logging.
36135 (<init>): call `this' with a new null cipher.
36136 (available): fix javadoc to reflect the real semantics; if we
36137 don't have a buffer, call `nextBlock.'
36138 (close): synchronize.
36139 (read): synchronize; fix testing for buffered data.
36140 (read): synchronize; add `skip' semantics if first argument is
36141 `null;' decrypt stream cipher data only if there is any; fix tests
36143 (skip): stop using `available' to see how many data are buffered.
36144 (nextBlock): simplify to use cipher-allocated output buffers
36145 instead of internally allocated ones.
36147 2006-01-06 Tom Tromey <tromey@redhat.com>
36149 * java/lang/String.java (codePointCount): Fixed javadoc.
36151 2006-01-06 Tom Tromey <tromey@redhat.com>
36153 * java/lang/String.java (contains): Added @since.
36155 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36158 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36159 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36160 when an empty string matched an empty token.
36162 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36165 * gnu/java/util/WeakIdentityHashMap.java: New file.
36166 * java/lang/InheritableThreadLocal.java
36167 (newChildThread): Modified to remove key indirection.
36168 * java/lang/Thread.java
36169 (locals): Changed type to WeakIdentityHashMap.
36170 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36172 * java/lang/ThreadLocal.java
36173 (key, Key): Removed.
36174 (get, set): Changed to use "this" instead of "key".
36176 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36178 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36180 * native/fdlibm/java-assert.h: Removed file.
36182 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36183 Replaced use of JvAssert by assert.
36185 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36187 * javax/swing/text/DefaultCaret.java:
36188 (setDot): Fixed paramater to Math.max to be this.dot and not the
36191 2006-01-05 Roman Kennke <kennke@aicas.com>
36193 * javax/swing/plaf/basic/BasicListUI.java
36194 (getCellHeight): New helper method.
36195 (getCellBounds): Use new helper method for determining the cell
36197 (paint): Don't call list.indexToLocation() but instead call
36198 directly into the same UI method.
36199 (locationToIndex): Fixed calculation of # visible rows and handling
36201 (indexToLocation): Fixed calculation of # visible rows and handling
36204 2006-01-05 Roman Kennke <kennke@aicas.com>
36206 * javax/swing/plaf/metal/MetalFileChooserUI.java
36207 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36208 in the file chooser.
36210 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36212 * javax/swing/JTextPane.java:
36213 (replaceSelection): If the document is an AbstractDocument, use replace
36214 rather than remove and insert.
36215 * javax/swing/event/EventListenerList.java:
36216 (getListeners): Reversed the order of the listeners to match the
36217 reference implementation.
36218 * javax/swing/text/AbstractDocument.java:
36219 (insertString): Add the UndoableEdit from the content.insertString call
36220 to the DocumentEvent.
36221 (DefaultDocumentEvent.toString): Implemented.
36222 * javax/swing/text/DefaultCaret.java:
36223 (setDot): Make sure dot is > 0 and less than the length of the
36225 * javax/swing/text/DefaultStyledDocument.java:
36226 (ElementBuffer.insertUpdate): Set the modified tag of the document
36227 event when we get start and end tags. This ensures that we create the
36228 proper BranchElements in endEdit().
36229 (ElementBuffer.insertUpdate): Added FIXME to handle
36230 JoinFractureDirection case.
36231 (insertUpdate): Added code to check if we're inserting immediately
36232 after a newline and to handle this case (create start and end tags).
36233 Only change the direction of the first and last tags if they are of
36235 (checkForInsertAfterNewline): New helper method.
36236 (handleInsertAfterNewline): Likewise.
36237 * javax/swing/text/View.java:
36238 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36241 2006-01-05 Mark Wielaard <mark@klomp.org>
36243 * newsitems.txt: Add fosdem meeting.
36244 * events/events.wml: Likewise.
36245 * events/fosdem06.wml: New file.
36247 2006-01-05 Lillian Angel <langel@redhat.com>
36249 * javax/swing/text/GapContent.java
36250 (createPosition): No positions should be created inside the
36251 gap. Fixed check to ensure this does not happen.
36253 2006-01-05 Roman Kennke <kennke@aicas.com>
36255 * javax/swing/RepaintManager.java
36256 (validateInvalidComponents): Search for the validate root
36257 and start validating there.
36259 2006-01-05 Roman Kennke <kennke@aicas.com>
36261 * javax/swing/plaf/basic/BasicListUI.java
36262 (ComponentHandler): Removed unneeded class.
36263 (ListDataHandler.contentsChanged): Revalidate instead of calling
36265 (ListDataHandler.intervalAdded): Revalidate instead of calling
36267 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36269 (PropertyChangeHandler.propertyChange): Or flags together instead
36270 of adding them. Don't call damageLayout().
36271 (componentListener): Removed unnecessary field.
36272 (damageLayout): Removed unnecessary method.
36273 (installListeners): Don't install unnecessary listeners.
36274 (uninstallListeners): Dito.
36275 (getPreferredSize): Don't ask for the real list height and
36276 calculate with the previously calculated list height.
36277 (locationToIndex): Renamed list parameter to l so that it doesn't
36278 shadow the field with the same name.
36279 (indexToLocation): Renamed list parameter to l so that it doesn't
36280 shadow the field with the same name.
36282 2006-01-04 Tom Tromey <tromey@redhat.com>
36284 * include/.cvsignore: Ignore config-int.h.
36286 2006-01-04 Roman Kennke <kennke@aicas.com>
36288 * javax/swing/plaf/basic/BasicListUI.java
36289 (getPreferredSize): Rewritten to match the specs.
36291 2006-01-04 Roman Kennke <kennke@aicas.com>
36293 * javax/swing/JFileChooser.java
36294 (showOpenDialog): Set fixed width on the dialog.
36295 (showSaveDialog): Set fixed width on the dialog.
36296 (showDialog): Set fixed width on the dialog.
36298 2006-01-04 Roman Kennke <kennke@aicas.com>
36300 * javax/swing/plaf/basic/BasicListUI.java
36301 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36302 Adjusted iteration to not use visibleRowCount and instead iterate
36303 over the real number of elements in cellHeights.
36304 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36305 Adjusted iteration to not use visibleRowCount and instead iterate
36306 over the real number of elements in cellHeights.
36308 2006-01-04 Roman Kennke <kennke@aicas.com>
36310 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36311 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36312 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36314 2006-01-04 Roman Kennke <kennke@aicas.com>
36316 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36317 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36319 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36320 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36322 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36324 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36325 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36326 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36327 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36328 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36329 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36330 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36331 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36333 2006-01-04 Lillian Angel <langel@redhat.com>
36335 * javax/swing/plaf/metal/MetalFileChooserUI.java
36336 (propertyChange): Fixed to change the combo box label
36337 appropriately. Also, fixed to set the textfield's text
36339 (editFile): Fixed size of editing field.
36340 (installComponents): Correctly aligned all panels.
36341 (installStrings): Fixed to set the label's text
36342 appropriately depending on the dialog type.
36344 2006-01-04 Lillian Angel <langel@redhat.com>
36348 * javax/swing/JTree.java
36349 (JTree): Because some L&F defaults have been updated,
36350 the selectionMode for the tree needed to be set to SINGLE.
36351 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36352 Initialized accessoryPanel.
36353 * javax/swing/plaf/metal/MetalFileChooserUI.java
36354 (installComponents): Added accessoryPanel to the filechooser.
36356 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36358 * configure.ac: Added AX_CREATE_STDINT_H
36360 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36362 * m4/ax_create_stdint_h.m4: New file.
36364 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36365 typedefs. Removed stdint.h and inttypes.h includes.
36367 2006-01-03 Mark Wielaard <mark@klomp.org>
36369 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36370 register keyboard action when accelerator is not null.
36371 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36372 re-register accelerator if not null.
36373 (installKeyboardActions): Only put accelerator in map when not null.
36375 2006-01-04 Lillian Angel <langel@redhat.com>
36377 * javax/swing/plaf/basic/BasicLookAndFeel.java
36378 (initComponentDefaults): Removed unneeded default.
36379 * javax/swing/plaf/metal/MetalLookAndFeel.java
36380 (initComponentDefaults): Added and fixed several defaults.
36382 2006-01-04 Roman Kennke <kennke@aicas.com>
36384 * javax/swing/plaf/basic/BasicHTML.java: New class.
36386 2006-01-03 Tom Tromey <tromey@redhat.com>
36388 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36389 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36391 2006-01-03 Mark Wielaard <mark@klomp.org>
36393 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36395 2006-01-03 Mark Wielaard <mark@klomp.org>
36397 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36398 Always call createDefaultTheme().
36399 (createDefaultTheme): Check whether theme is still null.
36401 2006-01-03 Mark Wielaard <mark@klomp.org>
36403 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36404 Color.WHITE if null.
36406 2006-01-03 Lillian Angel <langel@redhat.com>
36408 * javax/swing/plaf/metal/MetalLookAndFeel.java
36409 (getDescription): Fixed to return the correct string.
36411 (getName): Likewise.
36412 (getDefaults): Added check to avoid NPE.
36413 (getAcceleratorForeground): Likewise.
36414 (getAcceleratorSelectedForeground): Likewise.
36415 (getBlack): Likewise.
36416 (getControl): Likewise.
36417 (getControlDarkShadow): Likewise.
36418 (getControlDisabled): Likewise.
36419 (getControlHighlight): Likewise.
36420 (getControlInfo): Likewise.
36421 (getControlShadow): Likewise.
36422 (getControlTextColor): Likewise.
36423 (getControlTextFont): Likewise.
36424 (getDesktopColor): Likewise.
36425 (getFocusColor): Likewise.
36426 (getHighlightedTextColor): Likewise.
36427 (getInactiveControlTextColor): Likewise.
36428 (getInactiveSystemTextColor): Likewise.
36429 (getMenuBackground): Likewise.
36430 (getMenuDisabledForeground): Likewise.
36431 (getMenuForeground): Likewise.
36432 (getMenuSelectedBackground): Likewise.
36433 (getMenuSelectedForeground): Likewise.
36434 (getMenuTextFont): Likewise.
36435 (getPrimaryControl): Likewise.
36436 (getPrimaryControlDarkShadow): Likewise.
36437 (getPrimaryControlHighlight): Likewise.
36438 (getPrimaryControlInfo): Likewise.
36439 (getPrimaryControlShadow): Likewise.
36440 (getSeparatorBackground): Likewise.
36441 (getSeparatorForeground): Likewise.
36442 (getSubTextFont): Likewise.
36443 (getSystemTextColor): Likewise.
36444 (getSystemTextFont): Likewise.
36445 (getTextHighlightColor): Likewise.
36446 (getUserTextColor): Likewise.
36447 (getUserTextFont): Likewise.
36448 (getWhite): Likewise.
36449 (getWindowBackground): Likewise.
36450 (getWindowTitleBackground): Likewise.
36451 (getWindowTitleFont): Likewise.
36452 (getWindowTitleForeground): Likewise.
36453 (getWindowTitleInactiveBackground): Likewise.
36454 (getWindowTitleInactiveForeground): Likewise.
36456 2006-01-03 Mark Wielaard <mark@klomp.org>
36458 * javax/swing/JTextArea.java
36459 (JTextArea(Document,text,int,int)): Only call setText() when text is
36462 2006-01-03 Lillian Angel <langel@redhat.com>
36464 * javax/swing/plaf/basic/BasicFileChooserUI.java
36465 (installStrings): Fixed installation of defaults that
36466 were changed in BasicLookAndFeel.
36467 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36468 (installDefaults): Fixed installation of defaults that
36469 were changed in BasicLookAndFeel.
36471 2006-01-03 Lillian Angel <langel@redhat.com>
36473 * javax/swing/plaf/basic/BasicLookAndFeel.java
36474 (initComponentDefaults): Fixed several defaults that differed
36477 2006-01-03 Lillian Angel <langel@redhat.com>
36479 * javax/swing/tree/DefaultTreeSelectionModel.java
36480 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36482 2006-01-03 Lillian Angel <langel@redhat.com>
36484 * javax/swing/AbstractAction.java
36485 (AbstractAction): Fixed to pass in null. Should not be
36486 an empty string. Removed TODO comment.
36487 (AbstractAction): Removed TODO comment.
36488 * javax/swing/JList.java
36489 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36490 * javax/swing/JMenuItem.java
36491 (JMenuItem): Set all defaults if the action passed in is not null.
36492 * javax/swing/JProgressBar.java
36493 (JProgressBar): Added check to prevent NPE.
36495 2006-01-03 Lillian Angel <langel@redhat.com>
36497 * javax/swing/plaf/basic/BasicListUI.java
36498 (getPreferredSize): The JDK adds some extra space to
36499 the list, so we should as well.
36500 * javax/swing/plaf/metal/MetalFileChooserUI.java
36501 (getPreferredSize): Should only take the fileListPanel's
36502 width into account when getting the size. Also, the buttonPanel's
36503 size should not be checked, since it is in the bottomPanel already.
36504 (getMinimumSize): Likewise.
36506 2006-01-03 Lillian Angel <langel@redhat.com>
36508 * javax/swing/JList.java
36509 (init): visibleRowCount should be 7, like the JDK.
36510 * javax/swing/plaf/metal/MetalFileChooserUI.java
36511 (installComponents): No need to add the fileFilterCombo
36512 to a panel. It can be added to the row directly.
36514 2006-01-03 Lillian Angel <langel@redhat.com>
36516 PR classpath/25480 PR classpath/25478
36517 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36518 (updateViewport): Made changes suggested by
36520 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36521 Removed unneeded import.
36522 (createList): Removed comment, JList wrapping
36524 (getPreferredSize): Made changes suggested by
36525 Chris Lansdown. Uses fileListPanel, instead
36527 (getMinimumSize): Uses fileListPanel, instead
36529 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36530 (paintFocus): Fixed height.
36532 2006-01-03 Roman Kennke <kennke@aicas.com>
36534 * javax/swing/plaf/basic/BasicListUI.java
36535 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36537 2006-01-03 Roman Kennke <kennke@aicas.com>
36539 * javax/swing/plaf/basic/BasicListUI.java
36540 (locationToIndex): Special case for when variable cell heights
36541 are possible. (cellHeights is used instead of cellHeight).
36542 (indexToLocation): Special case for when variable cell heights
36543 are possible. (cellHeights is used instead of cellHeight).
36545 2006-01-03 Roman Kennke <kennke@aicas.com>
36547 * javax/swing/text/DefaultStyledDocument.java
36548 (ElementBuffer.remove): New method.
36549 (ElementBuffer.removeUpdate): New method.
36550 (removeUpdate): New method.
36552 2006-01-03 Roman Kennke <kennke@aicas.com>
36555 (dist-hook): Preserve attributes of Java sources when copying to
36558 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36560 * AUTHORS: Added self.
36561 * java/security/Security.java (getProvider): Ensures provider's name is
36562 not null, not an empty string, and is trimmed before usage.
36564 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36566 * gnu/CORBA/Poa/AOM.java (add):
36567 Changed parameter Object into gnuServantObject.
36568 (Obj.object): Changed type to gnuServantObject.
36569 (findObject): Rewritten.
36571 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36573 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36574 buffering. Ability has gone in Qt-4.1.x.
36576 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36577 to have the right include flags.
36579 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36581 * java/security/MessageDigest.java (getInstance(String,String)):
36582 Use trimmed copy of provider name.
36583 * gnu/java/security/Engine.java
36584 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36585 service and algorithm names.
36587 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36589 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36590 localhost is null or is an empty string. Trim hostname before