1 2007-03-27 Keith Seitz <keiths@redhat.com>
4 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
5 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
6 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
7 (executeGetValues): Use Value type.
8 (exectureSetValues): Ditto.
9 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
10 (executeGetValues): Use Value type.
11 (executeSetValues): Ditto.
12 (invokeMethod): Record method return type.
13 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
14 (executeGetValues): Use Value type.
15 (executeSetValues): Ditto.
16 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
17 (executeGetValues): Use Value type.
18 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
19 (executeGetValues): Use Value type.
20 (executeSetValues): Ditto.
21 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
23 (getResultType): New Method.
24 (setResultType): Ditto.
25 * gnu/classpath/jdwp/util/Value.java: Remove.
26 * gnu/classpath/jdwp/value: New Package.
27 * gnu/classpath/jdwp/value/Value.java: New file.
28 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
29 * gnu/classpath/jdwp/value/ByteValue.java: New file.
30 * gnu/classpath/jdwp/value/CharValue.java: New file.
31 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
32 * gnu/classpath/jdwp/value/FloatValue.java: New file.
33 * gnu/classpath/jdwp/value/IntValue.java: New file.
34 * gnu/classpath/jdwp/value/LongValue.java: New file.
35 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
36 * gnu/classpath/jdwp/value/ShortValue.java: New file.
37 * gnu/classpath/jdwp/value/StringValue.java: New file.
38 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
39 * gnu/classpath/jdwp/value/VoidValue.java: New file.
41 2007-02-28 Keith Seitz <keiths@redhat.com>
42 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
43 (executeSet): Check if VM has capability for field access
44 or modification events.
45 * gnu/classpath/jdwp/processor/MethodCommandSet.java
46 (executeByteCodes): Check if VM has capability and
48 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
49 (executeMonitorInfo): Likewise.
50 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
51 (executeSourceDebugExtension): Likewise.
52 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
53 (executePopFrames): Likewise.
54 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
55 (executeOwnedMonitors): Likewise.
56 (executeCurrentContendedMonitor): Likewise.
57 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
58 (executeCapabilities): Rewrite using new VMVirtualMachine
60 (executeRedefineClasses): Check if VM has capability and
62 (executeSetDefaultStratum): Likewise.
63 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
64 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
65 (canWatchFieldModification): New class constant.
66 (canWatchFieldAccess): Likewise.
67 (canGetBytecodes): Likewise.
68 (canGetSyntheticAttribute): Likewise.
69 (canGetOwnedMonitorInfo): Likewise.
70 (canGetCurrentContendedMonitor): Likewise.
71 (canGetMonitorInfo): Likewise.
72 (canRedefineClasses): Likewise.
73 (canAddMethod): Likewise.
74 (canUnrestrictedlyRedefineClasses): Likewise.
75 (canPopFrames): Likewise.
76 (canUseInstanceFilters): Likewise.
77 (canGetSourceDebugExtension): Likewise.
78 (canRequestVMDeathEvent): Likewise.
79 (canSetDefaultStratum): Likewise.
80 (redefineClasses): New method.
81 (setDefaultStratum): Likewise.
82 (getSourceDebugExtension): Likewise.
83 (getBytecodes): Likewise.
84 (getMonitorInfo): Likewise.
85 (getOwnedMonitors): Likewise.
86 (getCurrentContendedMonitor): Likewise.
87 (popFrames): Likewise.
89 2007-02-28 Keith Seitz <keiths@redhat.com>
90 * gnu/classpath/jdwp/processor/MethodCommandSet.java
91 (executeLineTable): Use ReferenceTypeId instead of
93 (executeVariableTable): Likewise.
94 (executeVariableTableWithGeneric): Fix error message.
95 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
96 (executeSignatureWithGeneric): Fix error message.
97 (executeFieldWithGeneric): Likewise.
98 (executeMethodsWithGeneric): Likewise.
99 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
100 (executeGetValues): Use ThreadId instead of ObjectId.
101 (executeSetValues): Likewise.
102 (executeThisObject): Likewise.
104 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
105 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
106 * gnu/classpath/jdwp/util/NullObject.java: New class.
107 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
108 (getObjectId): Handle null object.
109 (get): Handle objectId of 0.
111 2007-02-22 Keith Seitz <keiths@redhat.ecom>
112 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
113 (getAllLoadedClassesCount): Remove.
114 (getAllLoadedClasses): Return a Collection.
115 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
116 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
117 now returns Collection.
118 (executeAllClasses): Likewise.
119 Get size of return from Colleciton instead of calling
120 getAllLoadedClassesCount.
122 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
123 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
124 (executeGetValues): Pass a signature byte to VMFrame.getValue.
125 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
128 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
129 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
130 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
131 (executeSetValues): Ditto.
132 (executeThisObject): Ditto.
133 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
134 and a constructor used to create VMFrames.
135 (getThread): New method.
136 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
137 Changed to take a long instead of a ByteBuffer to pass the frameID.
139 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
140 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
142 2007-03-26 Tom Tromey <tromey@redhat.com>
144 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
145 (rmid Tool): Likewise.
147 2007-03-25 Dalibor Topic <robilad@kaffe.org>
149 * doc/cp-tools.texinfo: Fix node ordering.
151 2007-03-19 Matthias Klose <doko@ubuntu.com>
153 * doc/Makefile.am: Build a gcjh(1) man page.
154 * doc/cp-tools.texinfo: Add documentation for gcjh.
156 2007-03-26 Stepan Kasal <skasal@redhat.com>
158 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
160 (getParser): Use new field.
162 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
164 * resource/com/sun/tools/javac/messages.properties
165 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
166 messages for when --with-ecj-jar is not specified.
167 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
168 * tools/Makefile.am: Build com.sun.tools.javac package
170 * configure, doc/api/Makefile.in, doc/Makefile.in,
171 examples/Makefile.in, external/jsr166/Makefile.in,
172 external/Makefile.in, external/relaxngDatatype/Makefile.in,
173 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
174 include/Makefile.in, lib/Makefile.in, Makefile.in,
175 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
176 native/jni/classpath/Makefile.in,
177 native/jni/gconf-peer/Makefile.in,
178 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
179 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
180 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
181 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
182 native/jni/midi-dssi/Makefile.in,
183 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
184 native/jni/xmlj/Makefile.in, native/Makefile.in,
185 native/plugin/Makefile.in, resource/Makefile.in,
186 scripts/Makefile.in, tools/Makefile.in: Regenerate.
187 * tools/classes/com/sun/tools/javac: New directory.
188 * tools/classes/com/sun/tools/javac/Main.class,
189 tools/classes/com/sun/tools/javac/Messages.class: New files.
191 2007-03-16 Tom Tromey <tromey@redhat.com>
193 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
196 2007-03-16 Tom Tromey <tromey@redhat.com>
198 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
199 (printClass): Added filename argument.
200 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
201 (printClass): Added filename argument.
202 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
203 (printClass): Use user's file name.
204 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
205 (printClass): Use user's file name.
206 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
208 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
210 (writeHeaders): Use a HashMap.
211 (run): Put class name into HashMap for writeHeaders.
213 2007-03-02 Mario Torre <neugens@limasoftware.net>
216 committed for Petteri Räty <betelgeuse@gentoo.org>
217 * configure.ac: fix broken build for gcj browser plugin
219 2007-02-20 Jakub Jelinek <jakub@redhat.com>
221 * java/util/Date.java (parse): Properly parse 09:01:02 as
222 hours/minutes/seconds, not as hours/minutes/year.
223 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
224 {start,end}TimeMode constructor by calling shorter constructor,
225 set {start,end}TimeMode fields after it returns.
226 (setStartRule): Don't adjust startTime into WALL_TIME. Set
227 startTimeMode to WALL_TIME.
228 (endStartRule): Similarly.
229 (getOffset): Handle properly millis + dstOffset overflowing into the
230 next day. Adjust startTime resp. endTime based on startTimeMode
232 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
234 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
235 If non-null, set up aliases0 and don't put anything into
237 (defaultZone): Call getTimeZone instead of timezones().get.
238 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
239 getTimeZoneInternal instead of timezones().get.
240 (parseTime): Parse correctly hour:minute.
241 (getTimeZoneInternal): New private method.
242 (getTimeZone): Do the custom ID checking first, canonicalize
243 ID for custom IDs as required by documentation. Call
244 getTimeZoneInternal to handle the rest.
245 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
246 (getAvailableIDs(File,String,ArrayList)): New private method.
247 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
248 * gnu/java/util/ZoneInfo.java: New file.
250 2007-02-20 Matthias Klose <doko@ubuntu.com>
252 * doc/Makefile.am: Add rules to build and install man pages
254 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
255 Rename, prefix files with "cp-".
256 * doc/cp-tools.texinfo: Add markup for man page generation,
257 add documentation for command line options for gjar, gjavah,
258 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
259 doc/texi2pod.pl: New, taken from the GCC sources.
261 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
264 * javax/management/MBeanInfo.java (MBeanInfo):
265 Use clone to duplicate the arrays in order to
266 preserve the array type.
268 2007-02-16 Andrew Haley <aph@redhat.com>
270 * gnu/java/lang/management/MemoryMXBeanImpl.java,
271 javax/management/MBeanServerDelegate.java: Use
272 gnu.javax.management.ListenerData rather than
273 gnu.classpath.ListenerData.
274 * gnu/javax/management/ListenerData.java: Move here from
275 gnu/classpath/ListenerData.java.
277 2007-02-14 Jakub Jelinek <jakub@redhat.com>
278 Andrew Haley <aph@redhat.com>
280 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
282 2007-02-09 Tom Tromey <tromey@redhat.com>
285 * configure: Rebuilt.
286 * configure.ac: Also check for jack/jack.h.
288 2007-02-09 Jakub Jelinek <jakub@redhat.com>
290 * java/util/TimeZone.java: Handle default (one hour) daylight
293 2007-02-09 Jakub Jelinek <jakub@redhat.com>
296 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
297 just Rule lines, in the other everything else. Pass 0 instead of
298 $savings as second argument to parseRule when parsing the start
300 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
302 2007-02-07 Chris Burdess <dog@gnu.org>
305 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
306 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
307 SAXSources without a backing URL or stream.
310 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
311 LSParser if implementation does not support asynchronous.
312 * gnu/xml/stream/XMLParser.java,
313 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
314 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
315 protocol handler problems.
317 2007-02-06 Tom Tromey <tromey@redhat.com>
320 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
321 (printClass): Always print a header.
323 2007-02-05 Andrew Haley <aph@redhat.com>
326 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
327 (printClass): Replace '/' in filenames with '_'.
328 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
329 (printClass): Likewise.
331 2007-02-05 Tom Tromey <tromey@redhat.com>
333 * java/net/Proxy.java (equals): Handle case where address==null.
334 (hashCode): Likewise.
335 (toString): Likewise.
337 2007-01-31 Tom Tromey <tromey@redhat.com>
339 * resource/gnu/classpath/tools/jar/messages.properties
340 (Main.Stdin): New message.
341 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
343 (readNames): New method.
346 2007-01-26 Andrew Haley <aph@redhat.com>
348 * java/lang/SecurityManager.java: Load and initialize
349 java.security.Security.
351 2007-01-26 Tom Tromey <tromey@redhat.com>
353 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
354 'volatile' after field type.
356 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
358 * java/util/Arrays.java (binarySearch): Change comparison order.
360 2007-01-17 Tom Tromey <tromey@redhat.com>
362 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
363 (PathOptionGroup): Set default boot class path.
365 2006-12-14 Andrew Haley <aph@redhat.com>
367 * tools/gnu/classpath/tools/jar/Creator.java: Close the
370 2006-10-12 Andrew Haley <aph@redhat.com>
372 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
373 * java/lang/ThreadLocal.java: Likewise.
375 2006-09-13 Andrew Haley <aph@redhat.com>
377 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
378 Revert previous gcj-specific disabling of checks.
379 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
381 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
384 2006-09-13 Andrew Haley <aph@redhat.com>
386 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
388 (Iterator.remove()): Decrement index after removing element.
390 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
392 * javax/net/ssl/SSLSocketFactory.java (getDefault):
393 Chain exception cause.
395 2006-12-11 Roman Kennke <kennke@aicas.com>
397 * .classpath: Include ASM in Eclipse classpath.
399 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
401 * gnu/java/lang/management/BeanImpl.java:
402 (translate(String)): Trim strings of whitespace.
403 * javax/management/MBeanAttributeInfo.java:
404 (MBeanAttributeInfo(String,String,Method,Method)):
405 Use Class.getName() for normal (non-parameterized) cases.
406 * javax/management/MBeanConstructorInfo.java:
407 (MBeanConstructorInfo(String, Constructor)):
409 * javax/management/MBeanOperationInfo.java:
410 (MBeanOperationInfo(String, Method)):
413 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
415 * java/lang/Class.java:
416 (getClasses()): Return Class<?>[].
417 (internalGetClasses()): Likewise.
418 (getConstructor(Class<?>...)): Add type parameter
420 (getDeclaredConstructor(Class<?>...)): Likewise.
421 (getDeclaredClasses()): Return Class<?>[].
422 (getDeclaredClasses(boolean)): Likewise.
423 (getDeclaredConstructors()): Return Constructor<?>[].
424 (getDeclaredConstructors(boolean)): Likewise.
425 (getDeclaredMethod(String,Class<?>...)): Add type
426 parameter to parameters.
427 (getInterfaces()): Return Class<?>[].
428 (getMethods(String,Class<?>...)): Add type
429 parameter to parameters.
430 * java/text/CollationKey.java:
432 * java/text/DecimalFormatSymbols.java:
435 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
437 * gnu/java/lang/management/BeanImpl.java:
438 (translate(String)): Handle Map and List as
439 Strings of the form "java.util.Map<K,V>" and
441 * javax/management/MBeanAttributeInfo.java:
442 (MBeanAttributeInfo(String,String,Method,Method)):
443 Use generic parameter and return types.
444 * javax/management/MBeanConstructorInfo.java:
445 (MBeanConstructorInfo(String, Constructor)):
446 Use generic parameter types.
447 * javax/management/MBeanOperationInfo.java:
448 (MBeanOperationInfo(String, Method)):
449 Use generic parameter and return types.
451 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
453 * gnu/java/lang/management/BeanImpl.java:
454 (translate(String)): Comment out code for using type
455 variables for Map and List.
456 * java/lang/Thread.java:
457 (Thread(ThreadGroup,Runnable,String,long)): Fix
458 incrementation of totalThreadsCreated to be prior to use.
460 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
462 * javax/management/MBeanServerFactory.java:
463 (createMBeanServer(String)): Added security check.
464 (findMBeanServer(String)): Likewise.
465 (newMBeanServer(String)): Likewise.
466 (releaseMBeanServer(String)): Likewise.
467 * javax/management/MBeanServerPermission.java:
470 2006-12-08 David Daney <ddaney@avtrex.com>
472 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
475 2006-12-08 David Daney <ddaney@avtrex.com>
477 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
479 2006-12-08 David Daney <ddaney@avtrex.com>
481 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
483 (HTTPConnection): Handle NumberFormatException in properties parsing.
484 (Pool.get): Set timeout on reused sockets.
485 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
487 (HTTPURLConnection): Cleanup properties handling.
488 (getConnection): Use both connection and read timeouts.
489 (setConnectTimeout): Removed.
490 (setReadTimeout): New method.
491 * java/net/URLConnection.java (timeout): Renamed to...
492 (connectTimeout): ... connectTimeout throughout.
493 (readTimeout): New field.
494 (getReadTimeout): New method.
495 (setReadTimeout): New method.
497 2006-12-08 Tania Bento <tbento@redhat.com>
499 * java/awt/ScrollPane.java
500 (doLayout): Change the location of the scrollpane's child
503 2006-12-08 David Daney <ddaney@avtrex.com>
505 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
507 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
508 SocketTimeoutException if a blocking socket timesout.
509 (Java_gnu_java_nio_VMChannel_readScattering): Same.
510 (Java_gnu_java_nio_VMChannel_read__I): Same.
511 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
512 (Java_gnu_java_nio_VMChannel_connect6): Same.
514 2006-12-08 Mark Wielaard <mark@klomp.org>
516 * configure.ac (VERSION): Set to 0.93-generics.
517 * NEWS: Add release date.
519 2006-12-08 Tania Bento <tbento@redhat.com>
521 * java/awt/ScrollPane.java
522 (getScrollPosition): Throw NullPointerException if scrollpane
524 (setScrollPosition(int, int)): Throw NullPointerException if
525 scrollpane does have a child. Check that both ints are within
526 the allowed bounds; If they are not, scroll to the closest allowed
529 2006-12-07 Roman Kennke <kennke@aicas.com>
531 * javax/swing/JEditorPane.java
532 (EditorKitMapping): New inner helper class.
533 (editorKits): New static field for caching editor kit instances.
534 (static_initiazer): Initialize static mappings here.
535 (createEditorKitForContentType): Try to use cached instance.
536 Use correct classloader for loading.
537 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
539 (getEditorKitForContentType): Store the fetched editor kit.
540 Fallback to createDefaultEditorKit().
541 (init): Don't clean the static registry here.
542 (registerEditorKitForContentType(String,String,ClassLoader)):
544 (registerEditorKitForContentType(String,String)): Delegate to
545 the other version of this method with the thread's context
548 2006-12-07 Mark Wielaard <mark@klomp.org>
550 * examples/gnu/classpath/examples/swing/HtmlDemo.java
551 (setPage): Don't convert URL to String for setPage().
553 2006-12-07 Mark Wielaard <mark@klomp.org>
555 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
557 2006-12-07 Mark Wielaard <mark@klomp.org>
559 * tools/Makefile.am: Explicitly define and use bootclasspath as
562 2006-12-07 Mark Wielaard <mark@klomp.org>
564 * javax/swing/JEditorPane.java (createEditorKitForContentType):
565 Always load from system class loader.
567 2006-12-07 Mark Wielaard <mark@klomp.org>
569 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
571 (URL(URL,String,URLStreamHandler)): Call new constructor.
572 (URL(URL,String)): Likewise.
573 (URL(String)): Likewise.
575 2006-12-07 Tom Tromey <tromey@redhat.com>
578 * INSTALL: Don't mention --with-asm.
579 * tools/external/README: New file.
580 * tools/toolwrapper.c (main): Don't use ASM_JAR.
581 * tools/gjavah.in: Don't use PATH_TO_ASM.
582 * tools/grmic.in: Likewise.
583 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
585 (javah, rmic): Removed variables.
586 (bin_PROGRAMS): Updated.
587 (gappletviewer_CFLAGS): Don't define ASM_JAR.
588 (gjarsigner_CFLAGS): Likewise.
589 (gkeytool_CFLAGS): Likewise.
590 (gjar_CFLAGS): Likewise.
591 (gnative2ascii_CFLAGS): Likewise.
592 (gserialver_CFLAGS): Likewise.
593 (grmiregistry_CFLAGS): Likewise.
594 (gtnameserv_CFLAGS): Likewise.
595 (gorbd_CFLAGS): Likewise.
596 (grmid_CFLAGS): Likewise.
597 (gjavah_CFLAGS): Likewise.
598 (grmic_CFLAGS): Likewise.
599 (bin_SCRIPTS): Updated.
600 (TOOLS_JAVA_FILES): Updated.
601 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
602 * configure.ac: Removed --with-asm. Always build gjavah.
604 2006-12-06 Roman Kennke <kennke@aicas.com>
606 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
608 * examples/gnu/classpath/examples/swing/HtmlDemo.java
609 (LoadActionListener): Call setPage() helper method.
610 (createContent): Register tweaked editor kit. For FormSubmitEvents
611 call submitForm(), otherwise setPage().
612 (postData): Helper method for posting form data.
613 (setPage): Helper method for navigating to a new URL.
614 (submitForm): Helper method for submitting a form.
615 * examples/gnu/classpath/examples/swing/forms.html:
616 Added text/password fields and select boxes.
617 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
619 2006-12-06 Roman Kennke <kennke@aicas.com>
621 * javax/swing/text/html/FormView.java
622 (SubmitThread.postData): Implemented.
623 (SubmitThread.run): Pass data to postData().
624 (actionPerformed): Reset form when reset button is activated.
625 (createComponent): Add support for select lists and comboboxes.
626 Don't set value of text and password fields here, this is done
627 now in HTMLDocument for consistency.
628 (getElementFormData): Add support for fetching form data from
629 select lists and comboboxes as well as textareas.
630 (getSelectData): New helper method. Fetches form data from
632 (getTextAreaData): New helper method. Fetches form data from
634 (resetForm): New helper method. Resets the entire form.
635 * javax/swing/text/html/HTMLDocument.java
636 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
637 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
638 (HTMLReader.FormAction.setModel): Initialize text and password
639 values here. Also, use the resetable special models.
640 Group radio buttons into ButtonGroup for exclusive selection.
641 (HTMLReader.FormTagAction): New class. Handles FORM tags.
642 (HTMLReader.buttonGroups): New field.
643 (HTMLReader.numOptions): New field.
644 (HTMLReader.option): New field.
645 (HTMLReader.selectModel): New field.
646 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
647 (HTMLReader.handleText): Handle OPTION text.
648 (HTMLReader.initTags): Map FORM tags to FormTagAction.
649 (HTMLReader.textAreaContent): Set initial content.
650 * javax/swing/text/html/Option.java
651 (Option): Make copy of attribute set. Initialize selected state.
652 (getValue): Fetch value from attribute set.
653 * javax/swing/text/html/ResetableModel.java: New interface.
654 * javax/swing/text/html/ResetablePlainDocument.java: New class.
655 Supports resetting the state.
656 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
657 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
658 * javax/swing/text/html/SelectListModel.java: Likewise.
660 2006-12-06 Roman Kennke <kennke@aicas.com>
662 * javax/swing/text/DefaultCaret.java
663 (appear): Adjust visibility here.
664 (setDotImpl): Don't adjust visibility here.
665 (moveDotImpl): Don't adjust visibility here.
667 2006-12-06 Roman Kennke <kennke@aicas.com>
669 * gnu/java/awt/peer/gtk/AsyncImage.java
670 (Loader.run): Synchronize on the AsyncImage to avoid threading
672 (addObservers): Check for obs==null outside and synchronize on
673 this inside to avoid locking issues.
674 (checkImage): New helper method.
675 (notifyObservers): Check that the correct lock is held and
676 remove actual locking.
677 * gnu/java/awt/peer/gtk/GtkToolkit.java
678 (checkImage): Added special handling for AsyncImages.
680 2006-12-06 Roman Kennke <kennke@aicas.com>
682 * examples/gnu/classpath/examples/swing/Demo.java
683 (getIcon): Made package private.
684 * examples/gnu/classpath/examples/swing/HtmlDemo.java
685 (hyperlinkUpdate): Convert URL to string.
687 2006-12-06 Mark Wielaard <mark@klomp.org>
689 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
692 2006-12-06 Roman Kennke <kennke@aicas.com>
694 * examples/gnu/classpath/examples/icons/back.png,
695 * examples/gnu/classpath/examples/icons/reload.png:
696 New icons for the HTML browser.
697 * examples/gnu/classpath/examples/swing/HtmlDemo.java
698 (history): New field. Manages the browsing history.
699 (HtmlDemo): Initialize history.
700 (createContent): Set location and add history. Add toolbar.
701 (createToolBar): New helper method.
702 (main): Make default size bigger.
703 * examples/gnu/classpath/examples/swing/frame1.html,
704 * examples/gnu/classpath/examples/swing/frame2.html,
705 * examples/gnu/classpath/examples/swing/frame3.html,
706 * examples/gnu/classpath/examples/swing/frame4.html,
707 * examples/gnu/classpath/examples/swing/frames.html,
708 * examples/gnu/classpath/examples/swing/tables.html:
710 * examples/gnu/classpath/examples/swing/welcome.html
711 Add a couple of links and new test pages.
713 2006-12-06 Roman Kennke <kennke@aicas.com>
715 * javax/swing/JEditorPane.java
716 (getStream): Buffer the stream for efficiency.
717 (setPage): Don't scroll the view at this point.
718 * javax/swing/plaf/basic/BasicTextUI.java
719 (RootView.paint): Call RootView's setSize to get synchronization.
720 (RootView.setSize): Synchronize to prevent race in layout code.
721 * javax/swing/text/AbstractDocument.java
722 (notifyListeners): New field.
723 (fireChangedUpdate): Track notifyListener field.
724 (fireRemoveUpdate): Track notifyListener field.
725 (fireIndertUpdate): Track notifyListener field.
726 (writeLock): Check notifyListener and throw IllegalStateException.
727 * javax/swing/text/View.java
728 (preferenceChanged): Create local var for better thread safety and
731 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
733 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
734 lightweight component, not just for non-Panel components.
735 (addImpl): Do not call doLayout.
736 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
737 (setNativeBounds): Ensure widget parent is a GtkFixed before
738 calling gtk_fixed_move.
739 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
740 (setNativeBounds): Likewise.
741 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
742 (setNativeBounds): Likewise.
744 2006-12-06 Roman Kennke <kennke@aicas.com>
746 * javax/swing/text/html/TableView.java
747 (RowView.layoutMajorAxis): Check column index for invalid value.
748 (updateGrid): Check column index for invalid value.
750 2006-12-06 Roman Kennke <kennke@aicas.com>
752 * javax/swing/text/html/BlockView.java
753 (getAlignment): Align blocks horizontally by the superclass.
754 * javax/swing/text/html/HTMLEditorKit.java
755 (HTMLFactory.create): Replace equals comparison by == for efficiency.
756 Add mapping for misplaced tr, td and th tags. Include object mapping.
757 * javax/swing/text/html/TableView.java
758 (RowView.replace): Invalidate grid early.
759 (gridValid): Initialize with false.
760 (create): Only create RowView and CellView for correctly placed
761 tags. Avoid unnecessary casts.
762 (getAlignment): Removed.
763 (replace): Invalidate grid early.
765 2006-12-06 Francis Kung <fkung@redhat.com>
767 * java/awt/geom/RectangularShape.java
768 (getBounds): Remove empty rectangle check.
770 2006-12-06 Ben Konrath <bkonrath@redhat.com>
773 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
774 newValue are the same.
775 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
777 2006-12-06 Tania Bento <tbento@redhat.com>
779 * javax/swing/border/CompoundBorder.java:
780 (isBorderOpaque): If inside border is null, return true if outside
781 border is opaque, false otherwise; if outside border is null, return
782 true if inside border is opaque, false otherwise; if inside or
783 outside border are both not null, then return true only if both the
784 inside and outside border are opaque, false otherwise.
786 2006-12-06 Tania Bento <tbento@redhat.com>
788 * javax/swing/border/CompoundBorder.java:
789 (isBorderOpaque): If inside and outside border both have a null
792 2006-12-06 Chris Burdess <dog@gnu.org>
795 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
796 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
798 2006-12-06 Chris Burdess <dog@gnu.org>
801 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
804 2006-12-06 Chris Burdess <dog@gnu.org>
807 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
808 discover schema factory implementation class.
810 2006-12-05 Francis Kung <fkung@redhat.com>
812 * java/awt/BasicStroke.java
813 (capEnd): Prevent division by zero.
814 * java/awt/geom/Arc2D.java
815 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
816 (ArcIterator.currentSegment): Handle a negative extent.
818 2006-12-05 Francis Kung <fkung@redhat.com>
820 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
821 (constructor): Handle translated subimages properly, ie, if the image's
822 0,0 position is not the data buffer's first element.
824 2006-12-05 Roman Kennke <kennke@aicas.com>
826 * gnu/java/awt/peer/gtk/AsyncImage.java
827 (Loader.run): Nullify observers after loading.
828 (observers): Made package private.
829 (addObserver): Check for null observers field. Create local
830 variable for thread safety.
831 (getHeight): Use addObserver() for checking state of field
832 and notifying observer when necessary.
833 (getWidth): Use addObserver() for checking state of field
834 and notifying observer when necessary.
835 (getProperty): Use addObserver() for checking state of field
836 and notifying observer when necessary.
837 (notifyObservers): Check for null observers field. Create local
838 variable for thread safety.
840 2006-12-05 Roman Kennke <kennke@aicas.com>
842 * javax/swing/text/html/HTMLEditorKit.java
843 (HTMLFactory.create): Removed debug output.
844 * javax/swing/text/html/InlineView.java
845 (getBreakWeight): Likewise.
846 * javax/swing/text/html/StyleSheet.java
848 (ListPainter.paint): Removed debug output.
850 2006-12-05 Roman Kennke <kennke@aicas.com>
852 * javax/swing/text/html/BlockView.java
853 (painter): Made package visible.
854 * javax/swing/text/html/StyleSheet.java
855 (translateBorder): New helper method.
856 (translateHTMLToCSS): Add mappings for border attributes.
857 * javax/swing/text/html/TableView.java
858 Made class subclass of BlockView to get CSS goodness.
859 (CellView.rowSpan): New field.
860 (CellView.setPropertiesFromAttributes): Fetch rowspan.
861 (RowView.overlap): New field.
862 (RowView.rowIndex): New field.
863 (RowView.layoutMajorAxis): Skip overlapping cells.
864 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
865 (numColumns): New field.
866 (tmpRect): New field.
867 (TableView): Initialize tmpRect.
868 (calculateColumnRequirements): Adjusted and fixed for multirows.
869 (getAlignment): Overridden to center tables.
870 (paint): Overridden to fix clipping.
871 (getStyleSheet): Made protected.
872 (layoutMajorAxis): Invalidate rows.
873 (setPropertiesFromAttributes): Made protected and call super.
874 (updateGrid): Update the overlapping information for multirows.
876 2006-12-05 Roman Kennke <kennke@aicas.com>
878 * gnu/java/awt/peer/gtk/AsyncImage.java
879 (addObserver): Check for null and ignore null observers.
880 (getWidth): Check for null and ignore null observers.
881 (getHeight): Check for null and ignore null observers.
882 (getProperty): Check for null and ignore null observers.
884 2006-12-05 Francis Kung <fkung@redhat.com>
886 * java/awt/BasicStroke.java
887 (capEnd): Prevent division by zero.
888 * java/awt/geom/Arc2D.java
889 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
890 (ArcIterator.currentSegment): Handle a negative extent.
892 2006-12-05 Francis Kung <fkung@redhat.com>
894 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
895 (constructor): Handle translated subimages properly, ie, if the image's
896 0,0 position is not the data buffer's first element.
898 2006-12-05 Roman Kennke <kennke@aicas.com>
900 * javax/swing/text/html/ImageView.java
901 (imageUpdate): Use spans field to determine if the CSS width/height
902 are set. Call safePreferenceChanged to protect view structure
903 from threading issues.
904 (spans): Made package private.
905 (ImageView): Initialize loadOnDemand with false.
906 (loadImage): Call Toolkit.prepareImage() to make sure we have
907 our Observer registered.
908 (safePreferenceChanged): New helper method. Calls preferenceChanged
909 in a thread safe environment.
911 2006-12-05 Roman Kennke <kennke@aicas.com>
913 * NEWS: Add entry about improved HTML support.
915 2006-12-05 Roman Kennke <kennke@aicas.com>
917 * javax/swing/text/html/ImageView.java
918 (ImageView): Initialize spans array here.
919 (setPropertiesFromAttributes): Moved init of spans array to
922 2006-12-05 Roman Kennke <kennke@aicas.com>
924 * javax/swing/text/html/BlockView.java
925 (painter): Made package visible.
926 * javax/swing/text/html/StyleSheet.java
927 (translateBorder): New helper method.
928 (translateHTMLToCSS): Add mappings for border attributes.
929 * javax/swing/text/html/TableView.java
930 Made class subclass of BlockView to get CSS goodness.
931 (CellView.rowSpan): New field.
932 (CellView.setPropertiesFromAttributes): Fetch rowspan.
933 (RowView.overlap): New field.
934 (RowView.rowIndex): New field.
935 (RowView.layoutMajorAxis): Skip overlapping cells.
936 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
937 (numColumns): New field.
938 (tmpRect): New field.
939 (TableView): Initialize tmpRect.
940 (calculateColumnRequirements): Adjusted and fixed for multirows.
941 (getAlignment): Overridden to center tables.
942 (paint): Overridden to fix clipping.
943 (getStyleSheet): Made protected.
944 (layoutMajorAxis): Invalidate rows.
945 (setPropertiesFromAttributes): Made protected and call super.
946 (updateGrid): Update the overlapping information for multirows.
948 2006-12-05 Roman Kennke <kennke@aicas.com>
950 * javax/swing/text/html/HTMLEditorKit.java
951 (HTMLFactory.create): Removed debug output.
952 * javax/swing/text/html/InlineView.java
953 (getBreakWeight): Likewise.
954 * javax/swing/text/html/StyleSheet.java
956 (ListPainter.paint): Removed debug output.
958 2006-12-06 Roman Kennke <kennke@aicas.com>
960 * javax/swing/text/html/BlockView.java
961 (getAlignment): Align blocks horizontally by the superclass.
962 * javax/swing/text/html/HTMLEditorKit.java
963 (HTMLFactory.create): Replace equals comparison by == for efficiency.
964 Add mapping for misplaced tr, td and th tags. Include object mapping.
965 * javax/swing/text/html/TableView.java
966 (RowView.replace): Invalidate grid early.
967 (gridValid): Initialize with false.
968 (create): Only create RowView and CellView for correctly placed
969 tags. Avoid unnecessary casts.
970 (getAlignment): Removed.
971 (replace): Invalidate grid early.
974 2006-12-06 Roman Kennke <kennke@aicas.com>
976 * javax/swing/text/html/TableView.java
977 (RowView.layoutMajorAxis): Check column index for invalid value.
978 (updateGrid): Check column index for invalid value.
980 2006-12-06 Roman Kennke <kennke@aicas.com>
982 * javax/swing/JEditorPane.java
983 (getStream): Buffer the stream for efficiency.
984 (setPage): Don't scroll the view at this point.
985 * javax/swing/plaf/basic/BasicTextUI.java
986 (RootView.paint): Call RootView's setSize to get synchronization.
987 (RootView.setSize): Synchronize to prevent race in layout code.
988 * javax/swing/text/AbstractDocument.java
989 (notifyListeners): New field.
990 (fireChangedUpdate): Track notifyListener field.
991 (fireRemoveUpdate): Track notifyListener field.
992 (fireIndertUpdate): Track notifyListener field.
993 (writeLock): Check notifyListener and throw IllegalStateException.
994 * javax/swing/text/View.java
995 (preferenceChanged): Create local var for better thread safety and
998 2006-12-06 Roman Kennke <kennke@aicas.com>
1000 * examples/gnu/classpath/examples/icons/back.png,
1001 * examples/gnu/classpath/examples/icons/reload.png:
1002 New icons for the HTML browser.
1003 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1004 (history): New field. Manages the browsing history.
1005 (HtmlDemo): Initialize history.
1006 (createContent): Set location and add history. Add toolbar.
1007 (createToolBar): New helper method.
1008 (main): Make default size bigger.
1009 * examples/gnu/classpath/examples/swing/frame1.html,
1010 * examples/gnu/classpath/examples/swing/frame2.html,
1011 * examples/gnu/classpath/examples/swing/frame3.html,
1012 * examples/gnu/classpath/examples/swing/frame4.html,
1013 * examples/gnu/classpath/examples/swing/frames.html,
1014 * examples/gnu/classpath/examples/swing/tables.html:
1016 * examples/gnu/classpath/examples/swing/welcome.html
1017 Add a couple of links and new test pages.
1019 2006-12-06 Roman Kennke <kennke@aicas.com>
1021 * examples/gnu/classpath/examples/swing/Demo.java
1022 (getIcon): Made package private.
1023 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1024 (hyperlinkUpdate): Convert URL to string.
1026 2006-12-06 Roman Kennke <kennke@aicas.com>
1028 * javax/swing/text/DefaultCaret.java
1029 (appear): Adjust visibility here.
1030 (setDotImpl): Don't adjust visibility here.
1031 (moveDotImpl): Don't adjust visibility here.
1033 2006-12-06 Roman Kennke <kennke@aicas.com>
1035 * javax/swing/text/html/FormView.java
1036 (SubmitThread.postData): Implemented.
1037 (SubmitThread.run): Pass data to postData().
1038 (actionPerformed): Reset form when reset button is activated.
1039 (createComponent): Add support for select lists and comboboxes.
1040 Don't set value of text and password fields here, this is done
1041 now in HTMLDocument for consistency.
1042 (getElementFormData): Add support for fetching form data from
1043 select lists and comboboxes as well as textareas.
1044 (getSelectData): New helper method. Fetches form data from
1046 (getTextAreaData): New helper method. Fetches form data from
1048 (resetForm): New helper method. Resets the entire form.
1049 * javax/swing/text/html/HTMLDocument.java
1050 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1051 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1052 (HTMLReader.FormAction.setModel): Initialize text and password
1053 values here. Also, use the resetable special models.
1054 Group radio buttons into ButtonGroup for exclusive selection.
1055 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1056 (HTMLReader.buttonGroups): New field.
1057 (HTMLReader.numOptions): New field.
1058 (HTMLReader.option): New field.
1059 (HTMLReader.selectModel): New field.
1060 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1061 (HTMLReader.handleText): Handle OPTION text.
1062 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1063 (HTMLReader.textAreaContent): Set initial content.
1064 * javax/swing/text/html/Option.java
1065 (Option): Make copy of attribute set. Initialize selected state.
1066 (getValue): Fetch value from attribute set.
1067 * javax/swing/text/html/ResetableModel.java: New interface.
1068 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1069 Supports resetting the state.
1070 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1071 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1072 * javax/swing/text/html/SelectListModel.java: Likewise.
1074 2006-12-06 Roman Kennke <kennke@aicas.com>
1076 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1078 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1079 (LoadActionListener): Call setPage() helper method.
1080 (createContent): Register tweaked editor kit. For FormSubmitEvents
1081 call submitForm(), otherwise setPage().
1082 (postData): Helper method for posting form data.
1083 (setPage): Helper method for navigating to a new URL.
1084 (submitForm): Helper method for submitting a form.
1085 * examples/gnu/classpath/examples/swing/forms.html:
1086 Added text/password fields and select boxes.
1087 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1089 2006-12-07 Mark Wielaard <mark@klomp.org>
1091 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1092 private constructor.
1093 (URL(URL,String,URLStreamHandler)): Call new constructor.
1094 (URL(URL,String)): Likewise.
1095 (URL(String)): Likewise.
1097 2006-12-07 Mark Wielaard <mark@klomp.org>
1099 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1100 Always load from system class loader.
1102 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1105 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1106 newValue are the same.
1107 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1109 2006-12-06 Chris Burdess <dog@gnu.org>
1112 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1113 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1115 2006-12-06 Chris Burdess <dog@gnu.org>
1118 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1121 2006-12-056 Chris Burdess <dog@gnu.org>
1124 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1125 discover schema factory implementation class.
1127 2006-12-05 Roman Kennke <kennke@aicas.com>
1129 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1130 asynchronous loading of images.
1131 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1132 (drawImage): Fetch real image from possibly AsyncImage.
1133 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1134 (drawImage): Fetch real image from possibly AsyncImage.
1135 * gnu/java/awt/peer/gtk/GtkToolkit.java
1136 (createImage(URL)): Create async image.
1137 (imageOrError): Made method static for easy access from AsyncImage.
1138 (prepareImage): For async images, register the observer to the
1141 2006-12-05 Roman Kennke <kennke@aicas.com>
1143 (paintComponent): Include paint area from event.
1144 (updateComponent): Include paint area from event.
1146 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1148 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1149 lightweight component, not just for non-Panel components.
1150 (addImpl): Do not call doLayout.
1151 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1152 (setNativeBounds): Ensure widget parent is a GtkFixed before
1153 calling gtk_fixed_move.
1154 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1155 (setNativeBounds): Likewise.
1156 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1157 (setNativeBounds): Likewise.
1159 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1161 * java/awt/Component.java (getFontImpl): Return a default font if
1162 topmost parent's font is null.
1164 2006-12-04 Mark Wielaard <mark@klomp.org>
1166 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1167 Remove debug output.
1169 2006-12-04 Roman Kennke <kennke@aicas.com>
1171 * java/awt/font/TextLayout.java
1172 (hitTestChar): Fixed conditions for inclusion of range.
1173 Use layout information in the run for more efficiency.
1175 2006-12-04 Roman Kennke <kennke@aicas.com>
1177 * javax/swing/text/GlyphView.java
1178 (J2DGlyphPainter): New inner class.
1179 (checkPainter): For Java2D capable environments create
1182 2006-12-04 Roman Kennke <kennke@aicas.com>
1184 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1185 (FreeTypeGlyphVector): Don't filter control chars here.
1186 (getGlyphs): Filter control chars and replace them by
1189 2006-12-04 Roman Kennke <kennke@aicas.com>
1191 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1192 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1194 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1196 * gnu/java/lang/management/BeanImpl.java:
1197 (translate(String)): Don't assume the list uses "E",
1198 just use the first and only type variable.
1199 * java/lang/management/ManagementFactory.java:
1200 (getPlatformMBeanServer()): Register logging bean.
1201 * javax/management/openmbean/OpenType.java:
1202 (OpenType(String,String,String)): Actually use
1203 the string created to handle arrays.
1205 2006-12-04 Mark Wielaard <mark@klomp.org>
1207 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1208 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1210 2006-12-04 Mark Wielaard <mark@klomp.org>
1212 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1214 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1215 (JCL_thread_interrupted): Only take JNIEnv.
1216 (vm_channel_class): New static variable.
1217 (initID): Set vm_channel_class.
1218 Wrap all reads() and writes() in do-while blocks that check
1221 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1223 * gnu/javax/management/Server.java:
1224 Make map final and initialise it.
1225 (unregisterMBean(ObjectName)): Match against
1226 delegate's object name and not the instance.
1227 * java/lang/management/ManagementFactory.java:
1228 Added constant fields.
1229 (getPlatformMBeanServer()): Implemented.
1230 * javax/management/MBeanServerFactory.java: New file.
1232 2006-12-04 Roman Kennke <kennke@aicas.com>
1234 * javax/swing/text/BoxView.java
1235 (paint): Replaced painting algorithm with more simple and more
1236 reliable painting of the box.
1237 * javax/swing/text/html/BlockView.java
1238 (PositionInfo): New inner class. Stores additional CSS
1239 positioning information.
1240 (positionInfo): New field.
1241 (BlockView): Initialize positionInfo field.
1242 (fetchLayoutInfo): New helper method. Fetches additional
1243 CSS positioning information.
1244 (layoutMajorAxis): Perform additional CSS layout.
1245 (layoutMinorAxis): Perform additional CSS layout.
1246 (positionView): New helper method.
1247 (replace): Overridden to fetch additional layout information.
1248 * javax/swing/text/html/CSS.java
1249 (Attribute.POSITION): New field.
1250 (Attribute.LEFT): New field.
1251 (Attribute.RIGHT): New field.
1252 (Attribute.TOP): New field.
1253 (Attribute.BOTTOM): New field.
1254 (getValue): Create Length for left, right, top and bottom
1257 2006-12-04 Roman Kennke <kennke@aicas.com>
1259 * gnu/javax/swing/text/html/parser/support/Parser.java
1260 (Sgml): Consume any whitespace that immediately follows
1262 (parseDocument): Consume any initial whitespace.
1264 2006-12-03 Mark Wielaard <mark@klomp.org>
1266 * gnu/javax/management/Server.java (beans): Initialize.
1267 (registerMBean): Don't initialize beans.
1269 2006-12-03 Mark Wielaard <mark@klomp.org>
1271 * java/util/logging/LogManager.java (getLevelProperty): Check
1272 whether value is null before passing to Level.parse().
1274 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1276 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1277 whether given a null lock and lockOwner.
1279 2006-12-03 Mark Wielaard <mark@klomp.org>
1281 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1282 (PageLoader.page): Made package local.
1283 (PageLoader.run): Don't reset loader.
1284 (PageLoader.cancel): New method.
1285 (loading): Renamed to loader.
1286 (getPage): Return loader.page.
1287 (setPage): Always set loader. Never reset to null.
1289 2006-12-03 Mark Wielaard <mark@klomp.org>
1291 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1293 (isLastChild): Return false when path is null.
1295 2006-12-03 Mark Wielaard <mark@klomp.org>
1297 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1298 to currentPaintArea.
1299 (paintComponent): Work with local reference to currentPaintArea.
1300 (updateComponent): Likewise.
1301 (coalescePaintEvent): Set currentPaintArea.
1303 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1305 * javax/management/MBeanServerBuilder.java: New file.
1307 2006-12-01 Mark Wielaard <mark@klomp.org>
1309 * java/text/DecimalFormat.java (parse): Always increment parsing
1310 index and adjust pos result.
1312 2006-12-01 Roman Kennke <kennke@aicas.com>
1314 * javax/swing/text/html/HTML.java
1315 (Attribute.DYNAMIC_CLASS): New field.
1316 (Attribute.PSEUDO_CLASS): New field.
1317 * javax/swing/text/html/HTMLDocument.java
1318 (HTMLReader.CharacterAction.start): Initialize anchor with link
1320 (updateSpecialClass): New helper method. Updates the dynamic
1321 or pseudo class for anchor tags.
1322 * javax/swing/text/html/HTMLEditorKit.java
1323 (LinkController.lastAnchorElement): New field. For tracking
1324 enter/exit of anchors.
1325 (LinkController.activateLink): Set pseudo class to 'visited'.
1326 (LinkController.mouseMoved): Added support for tracking
1327 the 'hover' dynamic class.
1328 * javax/swing/text/html/InlineView.java
1329 (changedUpdate): Fetch new properties.
1330 * javax/swing/text/html/StyleSheet.java
1331 (attributeSetToMap): New helper method.
1332 (getRule): Also append dynamic and pseudo class to key.
1333 (resolveStyle): Resolve style based generally on all attributes.
1334 * javax/swing/text/html/TableView.java
1335 (RowView.layoutMajorAxis): Make sure the grid is valid.
1336 (updateGrid): Made package private.
1337 * gnu/javax/swing/text/html/css/Selector.java
1338 (calculateSpecificity): Added support for dynamic and pseudo classes.
1339 (matches): Changed to operate on general attributes.
1340 Added support for dynamic and pseudo classes.
1342 2006-12-01 Mario Torre <neugens@limasoftware.net>
1344 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1345 fractional portion in a separate method.
1346 Also fixes the handling of decimal separator and its associated field.
1347 (handleFractionalPart): new method, needed to relax a bit
1350 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1352 * java/beans/beancontext/BeanContextServicesSupport.java:
1353 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1354 Class)): Implemented.
1355 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1356 Class, Object)): Implemented.
1357 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1358 Object, Object)): Implemented.
1359 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1361 (initialiseBeanContextResources()): Implemented.
1362 (releaseBeanContextResoures()): Implemented.
1364 2006-12-01 Mark Wielaard <mark@klomp.org>
1366 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1368 2006-12-01 Roman Kennke <kennke@aicas.com>
1370 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1371 handling border styles.
1372 * gnu/javax/swing/text/html/css/BorderWidth.java
1373 (isValid): New method.
1374 * gnu/javax/swing/text/html/css/Length.java
1375 (isValid): New method.
1376 * javax/swing/text/html/CSS.java
1377 (addInternal): Added shorthand parsing for border, padding and
1379 (parseBackgroundShorthand): Added API docs.
1380 (parsePaddingShorthand): New method. Handles padding shorthand
1382 (parseMarginShorthand): New method. Handles margin shorthand
1384 (parseBorderShorthand): New method. Handles border shorthand
1386 * javax/swing/text/html/StyleSheet.java
1387 (translateHTMLToCSS): Set specific padding attributes.
1388 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1389 These shorthands are now handled in CSS.
1390 (BoxPainter.paint): Exclude the outer margin.
1392 2006-12-01 Roman Kennke <kennke@aicas.com>
1394 * gnu/javax/swing/text/html/css/Length.java
1395 (emBase): New field.
1396 (exBase): New field.
1397 (isFontEMRelative): New field.
1398 (isFontEXRelative): New field.
1399 (Length): Recognize and setup EM and EX relative values.
1400 (getValue): Handle EM and EX relative values.
1401 (isEMRelative): New method.
1402 (isEXRelative): New method.
1403 (setEMBase): New method.
1404 (setEXBase): New method.
1405 (setFontBases): New method.
1406 * gnu/javax/swing/text/html/parser/support/Parser.java
1407 (_handleEmptyTag): Use new isBlock() helper method.
1408 (_handleEndTag_remaining): Use new isBlock() helper method.
1409 (_handleStartTag): Consume whitespace after block start tag.
1410 (Comment): Consume whitespace after a comment.
1411 (isBlock): New helper method.
1412 (readAttributes): Consider all characters in unquoted attribute
1414 * javax/swing/text/html/BlockView.java
1415 (layoutMinorAxis): Use cached span value.
1416 (paint): Added debug code (commented out).
1417 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1418 * javax/swing/text/html/CSSBorder.java
1419 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1421 (getBorderWidth): Set the EM and EX base on the length values.
1422 * javax/swing/text/html/HTMLDocument.java
1423 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1424 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1425 (HTMLReader.inImpliedParagraph): Removed.
1426 (HTMLReader.inParagraph): Removed.
1427 (HTMLReader.parseStack): New field.
1428 (HTMLReader.addContent): Use new paragraph handling.
1429 (HTMLReader.addSpecialElement): Use new paragraph handling.
1430 (HTMLReader.blockClose): Use new paragraph handling.
1431 (HTMLReader.blockOpen): Use new paragraph handling.
1432 (HTMLReader.inImpliedParagraph): New helper method.
1433 (HTMLReader.inParagraph): New helper method.
1434 * javax/swing/text/html/ImageView.java
1435 (attributes): New field. Caches view attributes.
1436 (spans): New field. Caches CSS spans.
1437 (getAttributes): Correctly setup CSS view attributes.
1438 (getPreferredSpan): Use caches spans.
1439 (getStyleSheet): Use the view's getDocument() method.
1440 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1441 (updateSize): Use cached spans.
1442 * javax/swing/text/html/ParagraphView.java
1443 (setPropertiesFromAttributes): Setup EM and EX.
1444 * javax/swing/text/html/StyleSheet.java
1445 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1446 (getEMBase): New helper method.
1447 (getEXBase): New helper method.
1448 * javax/swing/text/html/TableView.java
1449 (width): New field. Caches the table width.
1450 (calculateMinorAxisRequirements): Use caches span.
1451 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1452 (updateGrid): Correctly setup EM/EX.
1454 2006-11-30 Roman Kennke <kennke@aicas.com>
1456 * javax/swing/text/html/FormSubmitEvent.java: New class.
1457 * javax/swing/text/html/FormView.java
1458 (SubmitThread): New class for submitting data in a separate thread.
1459 (actionPerformed): Fetch the actual for data.
1460 (addData): New helper method.
1461 (getElementFormData): New helper method.
1462 (getFormData): New helper method.
1463 (getInputFormData): New helper method.
1464 (submitData): Implemented.
1465 * javax/swing/text/html/FrameView.java
1466 (createComponent): Add this as hyperlink listener.
1467 Set the target document as frame document.
1468 (getTopEditorPane): New helper method.
1469 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1470 (handleHyperlinkEvent): New helper method.
1471 (handleFormSubmitEvent): New helper method.
1472 * javax/swing/text/html/HTMLDocument.java
1473 (HTMLReader.BaseAction.start): Track the base target.
1474 (HTMLReader.BaseAction.end): Removed.
1475 (baseTarget): New field.
1476 (frameDocument): New field.
1477 (getBaseTarget): New property accessor.
1478 (isFrameDocument): New property accessor.
1479 (processHTMLFrameHyperlinkEvent): Implemented.
1480 (setFrameDocument): New property accessor.
1481 (updateFrame): New helper method.
1482 (updateFrameSet): New helper method.
1483 * javax/swing/text/html/HTMLEditorKit.java
1484 (LinkController.createHyperlinkEvent): Handle frame documents.
1485 (autoFormSubmission): New field.
1486 (HTMLEditorKit): Set autoFormSubmission to true.
1487 (isAutoFormSubmission): New property accessor.
1488 (setAutoFormSubmission): New property accessor.
1490 2006-11-30 Roman Kennke <kennke@aicas.com>
1492 * javax/swing/text/ElementIterator.java
1493 (ElementRef): New inner class.
1494 (currentDepth): Removed.
1495 (currentElement): Removed.
1496 (previousItem): Removed.
1497 (stack): New field. Holds the iteration stack.
1499 (ElementIterator(Document)): Removed init of removed fields.
1500 (ElementIterator(Element)): Removed init of removed fields.
1501 (current): Changed to stack based algorithm.
1502 (deepestLeaf): New helper method.
1503 (depth): Changed to stack based algorithm.
1504 (first): Changed to stack based algorithm.
1505 (next): Changed to stack based algorithm.
1506 (previous): Changed to stack based algorithm.
1508 2006-11-30 Francis Kung <fkung@redhat.com>
1510 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1511 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1513 2006-11-30 Francis Kung <fkung@redhat.com>
1515 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1516 (draw): Set transform in buffered composite.
1517 (drawComposite): Do not transform bounds; round bounds.
1518 (drawGlyphVector): Set transform in buffered composite.
1519 (drawRenderedImage): Set transform in buffered composite.
1520 (fill): Set transform in buffered composite.
1521 (updateBufferedImage): Fix scanline & height calculations.
1522 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1523 (createPath): Simplify width & height calculation.
1524 (drawImage): Also transform width & height.
1526 2006-11-30 Roman Kennke <kennke@aicas.com>
1528 * javax/swing/text/html/FrameSetView.java: New class. Implements
1530 * javax/swing/text/html/FrameView.java: New class. Implements
1532 * javax/swing/text/html/HTMLDocument.java:
1533 (HTMLReader.addSpecialElement): Only add one artificial space.
1534 * javax/swing/text/html/HTMLEditorKit.java
1535 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1536 * gnu/javax/swing/text/html/parser/support/Parser.java
1537 (_handleEmptyTag): Also consume whitespace after frame tags.
1539 2006-11-30 Gary Benson <gbenson@redhat.com>
1541 * java/lang/Thread.java: Javadoc fixes.
1543 2006-11-29 Tom Tromey <tromey@redhat.com>
1546 * java/lang/Class.java (getAnnotations): Rewrote.
1548 2006-11-29 Tania Bento <tbento@redhat.com>
1550 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1551 (parseParams): Unescape 'val' before putting it into the Map.
1552 (unescapeString): New private method.
1554 2006-11-29 Tom Tromey <tromey@redhat.com>
1556 * tools/gnu/classpath/tools/getopt/package.html: New file.
1558 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1560 * javax/swing/plaf/metal/MetalIconFactory.java
1561 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1562 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1564 2006-11-29 Mario Torre <neugens@limasoftware.net>
1566 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1567 with the default international currency sign \u00A4.
1568 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1569 table for string formatting.
1570 (formatInternal): likewise.
1571 (scanNegativePattern): likewise.
1572 (applyPattern): likewise.
1573 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1574 Locale is immutable and does not need clone.
1576 2006-11-29 Francis Kung <fkung@redhat.com>
1578 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1579 (drawLine): Remove hard-coded pixel shifting.
1581 2006-11-29 Roman Kennke <kennke@aicas.com>
1583 * java/awt/Component.java
1584 (isShowing): Simplified condition code and avoid unnecessary
1586 (coalesceEvents): Always coalesce paint events and let the peer
1587 figure out the expanding of the repaint area.
1588 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1589 (currentPaintEvents): Removed. Replaced by paintArea.
1590 (paintArea): New field. Tracks the dirty area.
1591 (SwingComponentPeer): Removed init of currentPaintEvents.
1592 (coalescePaintEvent): Simplified to only union the dirty regions.
1593 (handleEvent): Paint dirty region that was tracked in paintArea.
1594 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1595 (paintArea): New field. Tracks the dirty region.
1596 (coalescePaintEvent): Implemented to track the dirty region.
1597 (paintComponent): Use the dirty region in paintArea. Protect
1598 state by putting the paint and dispose code in a try-finally.
1599 (updateComponent): Use the dirty region in paintArea. Protect
1600 state by putting the paint and dispose code in a try-finally.
1602 2006-11-29 Roman Kennke <kennke@aicas.com>
1604 * java/awt/font/TextLayout.java
1605 (getVisualHighlightShape): Removed debug output.
1607 2006-11-28 Andrew Haley <aph@redhat.com>
1609 * vm/reference/sun/reflect/misc/ReflectUtil.java
1610 (checkPackageAccess): Implement.
1612 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1614 * native/jni/java-lang/java_lang_VMDouble.c:
1615 (parseDoubleFromChars) New function. Factored out from ...
1616 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1617 (dtoa_toString): New function. Factored out from ...
1618 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1619 Changed conversion mode to 2, as modes 0 and 1 don't round
1620 as the API spec demands. Invoke conversion function as often
1621 as necessary with growing precision until a reversible
1622 representation of the double in form of a string is reached.
1624 2006-11-28 Roman Kennke <kennke@aicas.com>
1626 * javax/swing/JComponent.java
1627 (putClientProperty): Do not fire event when both old and new
1630 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1632 * java/lang/Enum.java:
1633 Make name and ordinal final.
1635 2006-11-27 Casey Marshall <csm@gnu.org>
1637 * java/util/jar/JarEntry.java (certs): removed.
1638 (jarfile): new field.
1639 (getCertificates): read the certificates from the containing JarFile.
1640 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1641 fill in 'certs,' fill in 'jarfile' for the entry.
1642 (getEntry): likewise.
1644 2006-11-27 Francis Kung <fkung@redhat.com>
1646 * java/awt/image/WritableRaster.java
1647 (createChild): Implemented.
1649 2006-11-27 Roman Kennke <kennke@aicas.com>
1651 * java/awt/font/TextLayout.java
1652 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1653 (getVisualHighlightShape): Implemented.
1654 (layoutRuns): Fixed boundary so that the last run is also laid out.
1655 (left): New helper method.
1656 (right): New helper method.
1658 2006-11-27 Roman Kennke <kennke@aicas.com>
1660 * java/awt/font/TextLayout.java
1661 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1662 (getCaretShape(TextHitInfo)): Use natural bounds.
1663 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1664 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1665 above with DEFAULT_CARET_POLICY.
1666 (getCaretShapes(int)): Use natural bounds.
1668 2006-11-27 Roman Kennke <kennke@aicas.com>
1670 * java/awt/font/TextLayout.java
1671 (Run.font): New field.
1672 (Run.location): New field.
1673 (Run.Run): Initialize font.
1674 (font): Removed field. This is moved into Run as the actual font
1675 is something run-specific.
1676 (TextLayout(String,Font,FontRenderContext)): Set font on the
1677 single runs. Layout the runs here.
1678 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1679 (findRunAtIndex): New helper method.
1680 (getCaretInfo): Implemented.
1681 (layoutRuns): New helper method.
1682 (toString): Don't put font in output string.
1684 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1686 * AUTHORS: Added Jeroen Fritjers.
1688 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1690 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1691 for FieldPosition to be null.
1692 Check if the factional part is just 0 and can be omitted from the
1694 (scanNegativePattern): Fixed index out of bound exception when searching
1695 for international currency symbol in negative pattern.
1697 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1699 * java/beans/beancontext/BeanContextSupport.java:
1700 (readObject(ObjectInputStream)): Implemented.
1701 (writeObject(ObjectOutputStream)): Likewise.
1702 (BCSChild.getTargetChild()): Added.
1703 (bcsPreDeserializationHook()): Implemented.
1704 (bcsPreSerializationHook()): Likewise.
1705 (childDeserializedHook(Object,BCSChild)): Likewise.
1706 (isSerializing()): Likewise.
1707 (readChildren(ObjectInputStream)): Likewise.
1708 (writeChildren(ObjectOutputStream)): Likewise.
1710 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1711 Ian Lance Taylor <ian <at> airs.com>
1712 Paolo Bonzini <bonzini <at> gnu.org>
1716 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1717 increased portability. Likewise, use -f instead of -e.
1719 2006-11-26 Mark Wielaard <mark@klomp.org>
1721 * lib/Makefile.am (propertydirs): Removed.
1722 (resources): Explicitly create all dirs.
1724 2006-11-26 Mark Wielaard <mark@klomp.org>
1726 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1728 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1730 * native/target/.cvsignore,
1731 native/target/generic/.cvsignore,
1732 native/target/Linux/.cvsignore:
1733 Removed no longer used files.
1735 * native/target: Removed no longer used directory.
1737 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1741 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1742 (Java_gnu_java_nio_VMSelector_select):
1743 Use strerror if strerror_r is not available.
1745 Reported by: Michael Franz <mvfranz@gmail.com>,
1746 Riccardo Mottola <zuse@libero.it>
1748 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1752 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1753 STRICT_WARNING_CFLAGS since it caused the build to fail
1756 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1758 * doc/vmintegration.texinfo: Update VM Threading Model section.
1760 2006-11-26 Tom Tromey <tromey@redhat.com>
1762 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1764 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1766 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1767 Conditionally include ifaddrs.h.
1768 (getif_address): Updated conditional.
1769 (getif_index): Likewise.
1770 * configure.ac: Check for ifaddrs.h.
1772 2006-11-25 Mark Wielaard <mark@klomp.org>
1774 * java/io/File.java (list): Return empty list for unreadable dirs.
1776 2006-11-25 Mark Wielaard <mark@klomp.org>
1778 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1779 Synchronize on font peer.
1780 (setFont): Likewise.
1781 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1783 (getTextMetrics): Likewise.
1785 2006-11-25 Roman Kennke <kennke@aicas.com>
1787 * javax/swing/text/GapContent.java
1788 (getPositionsInRange): Rewritten to use the more efficient
1789 binary search searchFirst() and avoid an NPE that was caused
1792 2006-11-25 Mark Wielaard <mark@klomp.org>
1794 * javax/swing/text/CompositeView.java (modelToView): Never return
1797 2006-11-25 Mark Wielaard <mark@klomp.org>
1799 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1800 Check whether rowView instanceof RowView.
1801 (updateGrid): Likewise.
1803 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1806 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1807 * java/text/NumberFormat.java (format): all format methods, fixed
1808 FieldPosition argument should never be null.
1809 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1810 method is not final.
1811 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1813 * AUTHORS: added my name to the file.
1815 2006-11-25 Mark Wielaard <mark@klomp.org>
1817 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1818 getChildAllocation() returning null.
1820 2006-11-25 Mark Wielaard <mark@klomp.org>
1822 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1823 Use clazzIndex for id substring.
1825 2006-11-25 Mark Wielaard <mark@klomp.org>
1827 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1828 it is still running.
1830 2006-11-25 Mark Wielaard <mark@klomp.org>
1833 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1836 2006-11-24 Tania Bento <tbento@redhat.com>
1838 * java/awt/font/TextHitInfo.java
1839 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1840 (beforeOffset): Decreased first parameter by 1.
1842 2006-11-24 Francis Kung <fkung@redhat.com>
1844 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1845 (constructor): Check sample model when setting fastCM flag.
1846 (updateBufferedImage): Check scanline and sample model offsets before
1847 copying data directly into the image data buffer.
1849 2006-11-24 Francis Kung <fkung@redhat.com>
1851 * gnu/java/awt/java2d/QuadSegment.java
1852 (offsetSubdivided): Handle special straight-line cases.
1854 2006-11-24 Roman Kennke <kennke@aicas.com>
1856 * java/awt/dnd/DropTarget.java
1857 (DropTargetAutoScroller.HYSTERESIS): New constant.
1858 (DropTargetAutoScroller.DELAY): New constant.
1859 (DropTargetAutoScroller.inner): New field. A cached
1861 (DropTargetAutoScroller.outer): New field. A cached
1863 (DropTargetAutoScroller.timer): New field. The actual timer.
1864 (DropTargetAutoScroller.DropTargetAutoScroller):
1866 (DropTargetAutoScroller.actionPerformed): Implemented.
1867 (DropTargetAutoScroller.stop): Implemented.
1868 (DropTargetAutoScroller.updateLocation): Implemented.
1869 (clearAutoscroll): Stop the autoscroller before nullifying it.
1870 (createDropTargetAutoScroller): Don't set the field here,
1871 only return a new instance.
1872 (dragEnter): Only do something when active. Initialize
1874 (dragExit): Only do something when active. Stop auto scrolling.
1875 (dragOver): Only do something when active. Update auto scrolling.
1876 (drop): Only do something when active. Update auto scrolling.
1877 (dropActionChanged): Only do something when active. Update
1879 (initializeAutoScrolling): Check if component is an instance
1880 of Autoscroll, otherwise do nothing.
1881 (setActive): Disable autoscrolling when deactivating.
1882 (setComponent): When component is set to null, disable autoscrolling.
1884 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1886 * java/beans/beancontext/BeanContextServicesSupport.java
1887 (getChildBeanContextServicesListener): Implemented.
1889 2006-11-23 Roman Kennke <kennke@aicas.com>
1891 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1892 (createGraphics): Use constructor to create new instance of
1893 BufferedImageGraphics.
1894 * java/awt/Toolkit.java
1895 (getDefaultToolkit): Really try to get a real toolkit. Only
1896 use HeadlessToolkit if no other is available.
1897 * gnu/java/awt/peer/gtk/GtkToolkit.java
1898 (checkHeadless): New helper method. Checks for headless environment
1899 and throws HeadlessException if appropriate.
1900 (createButton): Check for headless.
1901 (createCanvas): Check for headless.
1902 (createCheckbox): Check for headless.
1903 (createCheckboxMenuItem): Check for headless.
1904 (createChoice): Check for headless.
1905 (createDialog): Check for headless.
1906 (createDragGestureRecognizer): Check for headless.
1907 (createDragSourceContextPeer): Check for headless.
1908 (createEmbeddedWindow): Check for headless.
1909 (createFileDialog): Check for headless.
1910 (createFrame): Check for headless.
1911 (createCheckbox): Check for headless.
1912 (createLabel): Check for headless.
1913 (createList): Check for headless.
1914 (createMenu): Check for headless.
1915 (createMenuBar): Check for headless.
1916 (createMenuItem): Check for headless.
1917 (createPanel): Check for headless.
1918 (createPopupMenu): Check for headless.
1919 (createScrollbar): Check for headless.
1920 (createScrollPane): Check for headless.
1921 (createTextArea): Check for headless.
1922 (createTextField): Check for headless.
1923 (createWindow): Check for headless.
1925 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1927 * java/beans/beancontext/BeanContextSupport.java
1928 (deserialize): Implemented,
1929 (serialize): Implemented.
1931 2006-11-23 Roman Kennke <kennke@aicas.com>
1933 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1934 (createGraphics): Try to use Cairo graphics if available.
1936 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1938 * java/beans/beancontext/BeanContextSupport.java
1939 (toArray): Added API docs,
1940 (toArray(Object[])): Added API docs, removed NotImplementedException.
1942 2006-11-22 Tania Bento <tbento@redhat.com>
1944 * javax/swing/JRootPane.java
1945 (setLayeredPane): Added documentation; throw
1946 IllegalComponentStateException if layered pane parameter is null.
1948 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1950 * java/beans/beancontext/BeanContextSupport.java
1951 (avoidingGui): Removed NotImplementedException.
1953 2006-11-22 Francis Kung <fkung@redhat.com>
1955 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1956 (drawGlyphVector): Clip updated area to glyph bounds.
1957 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1958 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1959 x-coordinate and y-coordinate pixel shifting.
1960 (shifted): Removed method.
1961 (shiftX): New method, recognising scaling transforms.
1962 (shiftY): New method, recognising scaling transforms.
1963 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1965 2006-11-22 Roman Kennke <kennke@aicas.com>
1967 * java/awt/font/TextLayout.java
1968 (hash): New field. Caches the hash code.
1969 (hashCode): Implemented.
1971 2006-11-22 Roman Kennke <kennke@aicas.com>
1973 * java/awt/image/ImageFilter.java
1974 Reformat whole class.
1975 (getFilterInstance): Don't touch the consumer field. Don't check
1977 (imageComplete): Don't check consumer.
1978 (setColorModel): Don't check consumer.
1979 (setDimensions): Don't check consumer.
1980 (setHints): Don't check consumer.
1981 (setPixels): Don't check consumer.
1982 (setProperties): Pass the original property too.
1983 * java/awt/image/IndexColorModel.java
1984 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1985 transparent pixel by calling the new helper method.
1986 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1987 transparent pixel by calling the new helper method.
1988 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1989 transparent pixel by calling the new helper method.
1990 (coerceData): Removed. This is not needed.
1991 (getAlpha): Simply return value from color map. The transparent
1992 pixel has to be there.
1993 (setTransparentPixel): New helper method. Inserts the transparent
1995 * java/awt/image/RGBImageFilter.java
1996 Reformat whole class.
1997 (convertColorModelToDefault): Removed. No longer needed.
1998 (filterIndexColorModel): Don't handle transparent pixels
2000 (filterRGBPixels): Set pixels on consumer already.
2001 (makeColor): Removed. No longer needed.
2002 * java/awt/image/ReplicateScaleFilter.java
2003 (replicatePixels): Removed.
2004 (setDimension): Correctly compute destination size, avoid double
2006 (setPixels): Avoid double calculations. Fixed some boundary cases.
2007 (setupSources): New helper method.
2008 * java/awt/image/SampleModel.java
2009 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2011 * java/awt/image/SinglePixelPackedSampleModel.java
2012 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2013 This is not needed as the superclass already copies line
2015 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2016 removed some checks that the RI also doesn't perform. Call
2017 DataBuffer.setElem().
2019 2006-11-22 Roman Kennke <kennke@aicas.com>
2021 * java/awt/text/TextLayout.java
2022 (getLogicalRangesForVisualSelection): Implemented.
2024 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2026 * sun/reflect/annotation/AnnotationParser.java,
2027 * sun/reflect/annotation/AnnotationType.java,
2028 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2029 * sun/reflect/annotation/ExceptionProxy.java:
2031 * sun/misc/ServiceConfigurationError.java,
2032 * sun/misc/Service.java:
2035 2006-11-21 Roman Kennke <kennke@aicas.com>
2037 * java/awt/text/TextLayout.java
2038 (Run.isLeftToRight): New helper method.
2039 (logicalToVisual): New field. Maps logical indices to visual
2041 (visualToLogical): New field. Maps visual indices to logical
2043 (TextLayout): Setup mappings.
2044 (setupMappings): New method for setting up the mappings.
2045 (getCharacterLevel): Reorganized code.
2046 (getNextLeftHit(int)): Implemented.
2047 (getNextLeftHit(int,CaretPolicy)): New method.
2048 (getNextLeftHit(TextHitInfo)): Implemented.
2049 (getNextRightHit(int)): Implemented.
2050 (getNextRightHit(int,CaretPolicy)): New method.
2051 (getNextRightHit(TextHitInfo)): New method.
2052 (getVisualOtherHit): Implemented.
2053 (checkHitInfo): New helper methods for checking parameters.
2054 (hitToCaret): New helper method. Maps hit infos to caret locations.
2055 (caretToHit): New helper method. Maps caret locations to hit infos.
2056 (isCharacterLTR): New helper method.
2057 (CaretPolicy.getStrongCaret): Implemented.
2059 2006-11-21 Francis Kung <fkung@redhat.com>
2061 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2062 (draw): Include stroke width when calculating bounds.
2063 (updateBufferedImage): Round bounds more generously, handle negative
2064 height/width values, and clip more intelligently.
2065 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2066 (createPath): Add shortcut optimization for lines.
2067 (draw): Include stroke width when calculating bounds.
2068 (drawLine): Delegate to main draw() method.
2069 (drawRect): Likewise.
2070 (fillRect): Delegate to main fill() method.
2071 (findStrokedBounds): New method.
2072 (setCustomPaint): Round bounds more generously.
2073 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2074 (drawLine): Removed.
2075 (drawRect): Removed.
2076 (fillRect): Removed.
2078 2006-11-21 Francis Kung <fkung@redhat.com>
2080 * gnu/java/awt/java2d/TexturePaintContext.java
2081 (getRaster): Handle negative coordinate values.
2082 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2083 (setPaint): Moved custom paint processing to a new method.
2084 (setPaintPixels): Added x, y parameters.
2085 (getRealBounds): Added documentation.
2086 (copy): Copy clipping information.
2087 (drawLine): Process custom paints.
2088 (setCustomPaint): New method.
2089 (fill): Process custom paints.
2090 (drawGlyphVector): Process custom paints.
2091 (drawRect): Process custom paints.
2092 (draw): Process custom paints.
2093 * gnu/java/awt/peer/gtk/CairoSurface.java
2094 (cairoCM_opaque): New constant.
2095 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2096 (argb32): Removed constant.
2097 (rgb32): Removed constant.
2098 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2099 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2100 (updateBufferedImage): Transform to device-space before updating.
2101 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2102 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2104 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2105 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2106 source at designated x, y origin.
2108 2006-11-21 Roman Kennke <kennke@aicas.com>
2110 * java/awt/text/TextLayout.java
2111 (Run): New inner helper class.
2112 (length): New field.
2113 (naturalBounds): New field.
2114 (offset): New field.
2115 (runIndices): Removed. This is now encapsulate in a Run object.
2116 (runs): Changed to Run[].
2117 (string): Changed to char[].
2118 (totalAdvance): New field. Caches advance value.
2119 (TextLayout(String,Font,FontRenderContext)): Change to store
2120 string as char[] and run layout as Run[]. Clean out empty
2122 (TextLayout(TextLayout,int,int)): Change to store
2123 string as char[] and run layout as Run[].
2124 (clone): Call private constructor for maximum efficiency.
2125 (determineWhitespace): Adapted to use char[] data.
2126 (draw): Adapted to use Run objects.
2127 (getAdvance): Cache computed total advance.
2128 (getBlackBoxBounds): Adapted to use Run objects.
2129 (getCaretInfo): Use natural layout bounds.
2130 (getCharacterCount): Return length field.
2131 (getLogicalHighlightShape): Adapted to use Run objects.
2132 (getNaturalBounds): New helper method. Calculates and returns the
2133 natural bounds of this text layout.
2134 (getOutline): Adapted to use Run objects.
2135 (getStringProperties): Adapted to use char[] data.
2136 (getVisibleAdvance): Adapted to use char[] and Run data.
2137 (handleJustify): Adapted to use char[] and Run data.
2138 (hitTestChar(float,float,Rectangle2D)): Implemented.
2139 (hitTestChar(float,float)): Use natural bounds.
2140 (setCharIndices): Adapted to use char[] and Run data.
2141 (toString): Adapted to use char[] and Run data.
2142 * java/text/Bidi.java
2143 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2145 2006-11-21 Roman Kennke <kennke@aicas.com>
2147 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2148 Removed. This is now an inner class in GdkFontPeer.
2149 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2150 (drawString(float,float)): Use text layout cache from
2152 (getFontMetrics): Delegate to GdkFontPeer.
2153 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2154 (getGlyphCodes): Also check array size.
2155 (getGlyphPositions): Also check array size.
2156 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2157 (GdkFontLineMetrics.fm): Removed.
2158 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2159 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2160 (GdkFontLineMetrics.underlineOffset): Removed.
2161 (GdkFontLineMetrics.underlineThickness): Removed.
2162 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2163 FontMetrics argument. Don't init removed fields.
2164 (GdkFontLineMetrics.getAscent): Return font peer's field.
2165 (GdkFontLineMetrics.getDescent): Return font peer's field.
2166 (GdkFontLineMetrics.getHeight): Return font peer's field.
2167 (GdkFontLineMetrics.getLeading): Return font peer's field.
2168 (GdkFontLineMetrics.getNumChars): Reformat.
2169 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2170 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2171 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2172 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2173 (GdkFontMetrics): Moved class in here as inner class.
2174 Make it use the font peer's fields and for the char(s) width
2175 and string width method, use TextLayout to measure the actual widths.
2176 (ascent): New field.
2178 (DEFAULT_CTX): New constant field.
2179 (descent): New field.
2180 (FONT_METRICS_ASCENT): New constant.
2181 (FONT_METRICS_DESCENT): New constant.
2182 (FONT_METRICS_HEIGHT): New constant.
2183 (FONT_METRICS_MAX_ADVANCE): New constant.
2184 (FONT_METRICS_MAX_ASCENT): New constant.
2185 (FONT_METRICS_MAX_DESCENT): New constant.
2186 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2187 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2188 (height): New field.
2189 (maxAdvance): New field.
2190 (maxAscent): New field.
2191 (maxDescent): New field.
2192 (metrics): New field. Stores a FontMetrics for this font.
2193 (textLayoutCache): New field. Caches TextLayout instances.
2194 (underlineOffset): New field.
2195 (underlineThickness): New field.
2196 (cinit): Don't initialize resource bundle.
2197 (GdkFontPeer): Setup the metrics.
2198 (getFontMetrics): Return stored metrics if possible.
2199 (getLineMetrics): Adapt to new constructor.
2200 (initFont): New helper method.
2201 (setupMetrics): New helper method.
2202 * gnu/java/awt/peer/gtk/GtkToolkit.java
2203 (LRUCache): Made class a static class.
2204 (getFontMetrics): Delegate to GdkFontPeer.
2205 * native/jni/gtk-peer/gdkfont.h
2206 Added new constant defines.
2207 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2208 (getFontMetrics): Rewritten to fetch the font metrics from
2211 2006-11-20 Tania Bento <tbento@redhat.com>
2213 * javax/swing/ButtonGroup.java:
2214 (setSelected): Select the ButtonModel if all conditions
2217 2006-11-20 Tania Bento <tbento@redhat.com>
2219 * javax/swing/JSlider.java:
2220 (updateLabelUIs): Removed casting.
2222 2006-11-20 Mark Wielaard <mark@klomp.org>
2224 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2225 (bundle): New static final String field.
2226 (getLocalizedMessage): Initialize messages when still null.
2227 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2228 (set): Use RE.getLocalizedMessage().
2230 (setLineSeparator): Likewise.
2232 2006-11-20 Roman Kennke <kennke@aicas.com>
2234 * javax/swing/text/html/StyleSheet.java
2235 (linked): New field.
2236 (styleSheet): Replaced by linked.
2237 (addStyleSheet): Use an arraylist for simplicity.
2238 (getRule): Removed useless instantiation.
2239 (getStyleSheets): Convert array list to array.
2240 (removeStyleSheet): Use an arraylist for simplicity.
2241 (resolveStyle): Include styles from linked lists.
2243 2006-11-20 Roman Kennke <kennke@aicas.com>
2245 * javax/swing/text/BoxView.java
2246 (BoxView): Initialize with invalid req's.
2247 (forwardUpdate): Trigger repaint when children changed the
2249 (getResizeWeight): Return resizable when the pref differs from
2250 the min or the pref differs from the max size.
2251 (layoutMajorAxis): Actually sum up the preferred sizes.
2252 (paint): Made binary search more robust.
2253 (replace): Let arrays shrink when needed.
2254 (replaceLayoutArray): Let arrays shrink when needed.
2255 (setAxis): Trigger preferenceChanged.
2256 * javax/swing/text/CompositeView.java
2257 (getInsideAllocation): Call insets method to take account
2258 of overriding subclasses.
2259 * javax/swing/text/DefaultStyledDocument.java
2260 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2261 (ElementBuffer.insertUpdate): Only remove the found element, not
2263 * javax/swing/text/GlyphView.java
2264 (insertUpdate): Pass null in preferenceChanged.
2265 (removeUpdate): Pass null in preferenceChanged.
2266 (changedUpdate): Pass null in preferenceChanged.
2267 * javax/swing/text/Utilities.java
2268 (drawTabbedText): Avoid single calls to charWidth() and instead
2269 call charsWidth() on whole chunks.
2270 * javax/swing/text/html/HTMLDocument.java
2271 (BlockElement.getName): Fall back to super when necessary.
2272 (RunElement.getName): Fall back to super when necessary.
2273 (HTMLReader.MAX_THRESHOLD): New constant field.
2274 (HTMLReader.GROW_THRESHOLD): New constant field.
2275 (HTMLReader.theshold): New field.
2276 (HTMLReader.HTMLReader): Fetch threshold from document.
2277 (HTMLReader.addContent): Sucessivly grow the threshold.
2278 (createLeafElement): Don't create two elemens and don't set
2280 * javax/swing/text/html/TableView.java
2281 (RowView.replace): Invalidate grid.
2282 (gridValid): Made package private.
2283 (layoutMinorAxis): Mark all rows as invalid.
2284 (replace): Invalidate grid.
2286 2006-11-20 Roman Kennke <kennke@aicas.com>
2288 * javax/swing/text/AbstractDocument.java
2289 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2290 (DefaultDocumentEvent.modified): Made private.
2291 (DefaultDocumentEvent.THRESHOLD): New constant field.
2292 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2294 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2295 exceeding threshold.
2296 (DefaultDocumentEvent.getChange): Use iterative approach
2297 when we have no hashmap yet.
2298 (documentCV): Removed.
2299 (numWriters): Renamed from numWritersWaiting.
2300 (createPosition): Reformat.
2301 (getCurrentWriter): Synchronized.
2302 (readLock): Implement more straightforward.
2303 (readUnlock): Implement more straightforward.
2304 (writeLock): Implement more straightforward.
2305 (writeUnlock): Implement more straightforward.
2306 (remove): Write-lock here.
2307 (removeImpl): Don't write-lock here.
2309 2006-11-20 Roman Kennke <kennke@aicas.com>
2311 * javax/swing/JEditorPane.java
2312 (setPage): Set priority on loading thread.
2314 2006-11-20 Roman Kennke <kennke@aicas.com>
2316 * javax/swing/plaf/basic/BasicTextUI.java
2317 (RootView.paint): Avoid allocation.
2318 (cachedInsets): New field. Caches an Insets instance.
2319 (getNextVisualPositionFrom): Read-lock the document to avoid
2320 thread nastiness. Push allocation.
2321 (getPreferredSize): Push fake allocation when not yet laid out.
2322 (getVisibleEditorRect): Use cached insets.
2323 (viewToModel): Read-lock the document to avoid
2324 thread nastiness. Push allocation.
2326 2006-11-20 Roman Kennke <kennke@aicas.com>
2328 * javax/swing/text/StyleContext.java
2329 (attributeSetPool): Synchronize this map.
2330 (addAttribute): Synchronize this method.
2331 (addAttributes: Synchronize this method.
2332 (readObject): Install synchronized map on target object.
2333 (removeAttribute): Synchronize this method.
2334 (removeAttributes): Synchronize this method.
2335 (removeAttributes): Synchronize this method.
2337 2006-11-20 Roman Kennke <kennke@aicas.com>
2339 * javax/swing/text/GapContent.java
2340 (GapContentPosition.GapContentPosition): Removed constructor.
2341 (Mark): Made subclass of WeakReference to refer directly to
2342 the associated position.
2343 (Mark.refCount): Removed.
2344 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2345 New constructor. Used to reference a position and register the
2347 (Mark.Mark(index)): Call super and don't adjust mark offset.
2348 (Mark.compareTo): Removed.
2349 (Mark.equals): Removed.
2350 (Mark.getOffset): Return at least null. Removed assert.
2351 (Mark.getPosition): New helper method.
2352 (garbageMarks): New field.
2353 (positions): Removed.
2354 (searchMark): New field.
2355 (GapContent): Removed init of positions map.
2356 (addImpl): New helper method.
2357 (adjustPositionsInRange): Removed.
2358 (compare): New helper method.
2359 (createPosition): Rewritten for new datastructures. This now
2360 performs a much more efficient binary search for finding
2361 a position at the requested offste.
2362 (garbageCollect): Rewritten to collect unused marks.
2363 (getPositionsInRange): Adjusted for new data structures.
2364 (removeImpl): New helper method.
2365 (replace): Use new addImpl() and removeImpl() helper method for
2366 correctly adjusting the positions and gap.
2367 (search): Rewritten. Implements a more suitable binary search.
2368 (searchFirst): New helper method.
2369 (setPositionsInRange): Removed.
2370 (shiftEnd): Update the marks here.
2371 (shiftGap): Update the marks here.
2372 (shiftGapEndUp): Update the marks here.
2373 (shiftGapStartDown): Update the marks here.
2375 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2377 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2378 digest algorithm implementations.
2379 (readSignatures): Parse the manifest once and reuse that data.
2380 Add support for line breaks.
2381 (verifyHashes): Use the parsed manifest entry.
2382 (readManifestEntry): Removed.
2384 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2386 * java/beans/beancontext/BeanContextServicesSupport.java:
2387 Added more documentation.
2388 (addService(Class,BeanContextServiceProvider,boolean)):
2389 Synchronized over global hierarchy lock.
2390 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2391 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2392 (childJustRemovedHook(Object,BCSChild)): Implemented.
2393 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2395 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2396 Added revocation-only listeners.
2397 (getBeanContextServicesPeer()): Implemented.
2398 (getCurrentServiceClasses(Class)): Synchronized over global
2400 (getCurrentServiceSelectors(Class)): Synchronized over global
2401 hierarchy lock, and fixed FIXME.
2402 (getService(BeanContextChild,Object,Class,Object,
2403 BeanContextServiceRevokedListener)): Implemented.
2404 (hasService(Class)): Synchronized over global hierarchy lock.
2405 (releaseService(BeanContextChild,Object,Object)): Implemented.
2406 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2407 * java/beans/beancontext/BeanContextSupport.java:
2408 (remove(Object, boolean)): Documentation correction.
2410 2006-11-19 Roman Kennke <kennke@aicas.com>
2412 * javax/swing/JEditorPane.java
2413 (PageStream): New inner class.
2414 (PageLoader): New inner class.
2415 (loading): New field.
2416 (setPage): Implemented asynchronous loading.
2417 * javax/swing/text/DefaultStyledDocument.java
2418 (ElementBuffer.create): New helper method.
2419 (create): Use new ElementBuffer method instead of hack.
2420 * javax/swing/text/html/HTMLDocument.java
2421 (HTMLReader.flushImpl): New helper method.
2422 (HTMLReader.addContent): Use flushImpl().
2423 (HTMLReader.blockClose): Added null check.
2424 (HTMLReader.flush): Use flushImpl().
2425 * javax/swing/text/html/HTMLEditorKit.java
2426 (createDefaultDocument): Set load priority to 4 and token threshold
2428 * javax/swing/text/html/TableView.java
2429 (insertUpdate): Overridden to provide correct view factory.
2430 (removeUpdate): Overridden to provide correct view factory.
2431 (changedUpdate): Overridden to provide correct view factory.
2433 2006-11-19 Roman Kennke <kennke@aicas.com>
2435 * javax/swing/text/BoxView.java
2436 (clipRect): New field.
2437 (tmpRect): New field.
2438 (layout): Reorganized code. Now uses layoutAxis() helper method.
2439 (layoutAxis): New helper method.
2440 (paint): Optimized by using cached Rectangle objects and
2441 a binary search for child views inside the clip.
2442 * javax/swing/text/CompositeView.java
2443 (insideAllocation): Made private and initialized in constructor.
2444 (getInsideAllocation): Removed initialization block for
2445 insideAllocation field. Avoid unnecessary allocations.
2446 * javax/swing/text/GlyphView.java
2447 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2448 The remaining stuff (background, underline and striking) is
2449 done in the GlpyhView itself. Avoid unnecessary allocations.
2450 (cached): A cached Segment instance.
2451 (getText): Return cached segment.
2452 (paint): Paint underline, strike and background here. Avoid
2455 2006-11-19 Roman Kennke <kennke@aicas.com>
2457 * javax/swing/text/html/StyleSheet.java
2458 (getFontSize): Removed debug output.
2459 (ListPainter.tmpRect): New field.
2460 (ListPainter.paint): Align bullet vertically centered to
2461 the first line of the paragraph.
2463 2006-11-17 Roman Kennke <kennke@aicas.com>
2465 * gnu/javax/swing/text/html/css/CSSParser.java
2466 (parseDeclaration): Trim string before reporting.
2467 * gnu/javax/swing/text/html/css/FontSize.java
2469 (isRelative): New field.
2470 (sizeIndex): New field.
2471 (FontSize): Initialize new fields.
2472 (getValue): Changed to call getValue(int).
2473 (getValue(int)): New method. Implements relative font sizes.
2474 (isRelative): New method.
2475 (mapAbsolute): Store index.
2476 (mapEM): New helper method.
2477 (mapLarger): New helper method.
2478 (mapPercent): New helper method.
2479 (mapRelative): New helper method.
2480 (mapSmaller): New helper method.
2481 (mapValue): New helper method.
2482 * javax/swing/text/html/CSS.java
2483 (parseBackgroundShorthand): Create CSSColor directly.
2484 * javax/swing/text/html/StyleSheet.java
2485 (addRule): Invalidate resolved styles.
2486 (getFont): Call new getFontSize() method to resolve relative
2488 (getFontSize): New helper method. Resolves relative font sizes.
2489 (translateHTMLToCSS): Create CSS objects directly.
2491 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2493 * gnu/java/util/regex/RETokenNamedProperty.java:
2494 (getHandler(String)): Add support for 'all'.
2496 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2498 * gnu/javax/management/Server.java:
2499 Initial implementation of a GNU management server.
2500 * javax/management/MBeanPermission.java,
2501 * javax/management/MBeanRegistration.java,
2502 * javax/management/MBeanTrustPermission.java:
2505 2006-11-17 Mark Wielaard <mark@klomp.org>
2507 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2509 2006-11-17 Gary Benson <gbenson@redhat.com>
2511 * java/net/DatagramSocket.java (getLocalAddress, connect,
2512 receive): Perform security check on address not hostname.
2514 2006-11-16 Roman Kennke <kennke@aicas.com>
2516 * gnu/javax/swing/text/html/parser/support/Parser.java
2517 (_handleText): Fixed condition for consuming whitespace.
2518 Removed validator check, this is superfluous now.
2520 2006-11-16 Roman Kennke <kennke@aicas.com>
2522 * gnu/javax/swing/text/html/css/CSSParser.java
2523 (parseRuleset): Support 'combined' selectors.
2524 (main): Adapt callback for combined selectors support.
2525 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2526 (startStatement): Take selector array as argument, to
2527 support combined selectors.
2528 * javax/swing/text/html/BlockView.java
2529 (calculateMinorAxisRequirements): Fetch and apply alignment.
2530 * javax/swing/text/html/StyleSheet.java
2531 (CSSStyle): Inverted the constants for correct precedence.
2532 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2534 (CSSStyleSheetParserCallback.style): Removed.
2535 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2536 (CSSStyleSheetParserCallback.end): Push multiple styles.
2537 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2539 2006-11-16 Roman Kennke <kennke@aicas.com>
2541 * javax/swing/text/FlowView.java
2542 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2543 * javax/swing/text/GlyphView.java
2544 (tabExpander): New field.
2546 (breakView): Set tabX on broken view.
2547 (getPartialSpan): Let the painter fetch the span.
2548 (getTabbedSpan): Update the tab expander field. Maybe trigger
2550 (getTabExpander): Simply return the stored expander.
2551 * javax/swing/text/Utilities.java
2552 (getTabbedTextOffset): Made algoritm a little smarter and more
2554 (getTabbedTextWidth): Don't add single char widths, instead add
2555 chunks of characters.
2556 * javax/swing/text/html/ParagraphView.java
2557 (calculateMinorAxisRequirements): Adjust margin only when the
2558 CSS span is not fixed.
2560 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2562 * java/beans/beancontext/BeanContextSupport.java
2563 (getChildBeanContextMembershipListener): Implemented,
2564 (getChildPropertyChangeListener): Implemented,
2565 (getChildSerializable): Implemented,
2566 (getChildVetoableChangeListener): Implemented,
2567 (getChildVisibility): Implemented,
2568 (setDesignTime): Use same property name as Sun's implementation.
2570 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2572 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2573 * java/beans/Statement.java
2574 (toString): Updated to match reference implementation.
2576 2006-11-15 Roman Kennke <kennke@aicas.com>
2578 * javax/swing/text/html/HTMLEditorKit.java
2579 (InsertHTMLTextAction.actionPerformed): Also try inserting
2580 the alternate tag. Adjust the selection accordingly.
2581 (InsertHTMLTextAction.adjustSelection): New helper method.
2582 Adjusts the selection after an insertion.
2583 (insertAtBoundary): Delegate to deprecated method.
2584 (insertAtBoundry): Implemented missing method.
2585 (tryInsert): New helper method.
2586 (defaultActions): Implemented to fill the array with
2587 a couple of InsertHTMLTextActions.
2589 2006-11-15 Roman Kennke <kennke@aicas.com>
2591 * javax/swing/text/html/ImageView.java
2592 (Observer): New class. Observes image loading.
2593 (haveHeight): New field.
2594 (haveWidth): New field.
2595 (height): New field.
2598 (imageIcon): New field.
2599 (loading): New field.
2600 (observer): New field.
2601 (reloadImage): New field.
2602 (reloadProperties): New field.
2603 (ImageView): Initialize observer and some flags.
2604 (getImage): Update the image state and return the image.
2605 (loadImage): New helper method. Actually starts loading.
2606 (paint): Rewritten to paint the image directly, not via Icon.
2607 (reloadImage): Rewritten. Loads the image and its properties.
2608 (renderIcon): Removed. No more necessary.
2609 (setPropertiesFromAttributes): Don't nullify image here.
2610 Added comment about missing impl.
2611 (setSize): Added comment about missing impl.
2612 (updateSize): New helper method. Updates the size attributes.
2613 (updateState): New helper method. Makes sure the image
2614 and its properties are valid.
2616 2006-11-15 Roman Kennke <kennke@aicas.com>
2618 * gnu/javax/swing/text/html/parser/support/Parser.java
2619 (_handleEndTag_remaining): Consume whitespace after a closing
2622 2006-11-15 Roman Kennke <kennke@aicas.com>
2624 * javax/swing/text/html/HTMLDocument.java
2625 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2627 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2629 (HTMLReader.parseStack): Removed.
2630 (HTMLReader.blockClose): Simply call addContent() with ' '
2631 instead of doing more complicated stuff. Removed parseStack
2633 (HTMLReader.blockOpen): Removed parseStack handling.
2634 (getInsertingReader): Removed parseStack init.
2635 * gnu/javax/swing/text/html/parser/htmlValidator.java
2636 (closeTag): Return true only when the tag actually should be
2638 * gnu/javax/swing/text/html/parser/support/Parser.java
2639 (_handleEndTag): Only actually close the tag when the validator
2642 2006-11-15 Roman Kennke <kennke@aicas.com>
2644 * javax/swing/text/html/CSS.java
2645 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2647 * javax/swing/text/html/StyleSheet.java
2648 (BoxPainter.bottomPadding): New field.
2649 (BoxPainter.leftPadding): New field.
2650 (BoxPainter.rightPadding): New field.
2651 (BoxPainter.topPadding): New field.
2652 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2654 (BoxPainter.getInset): Recognize and include the padding.
2655 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2656 javax/swing/text/html/TableView.java
2657 (RowView.calculateMajorAxisRequirements): Adjust req's for
2659 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2660 (cellSpacing): New field.
2661 (columnRequirements): Made package private to avoid accessor method.
2662 (calculateMinorAxisRequirements): Include cellSpacing.
2663 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2664 (layoutMajorAxis): Likewise.
2665 (layoutColumns): Respect cellSpacing.
2666 (setParent): Overridden to fetch the CSS attributes when view gets
2668 (setPropertiesFromAttributes): New method. Fetches the cell
2669 spacing from the CSS attributes.
2671 2006-11-15 Roman Kennke <kennke@aicas.com>
2673 * gnu/javax/swing/text/html/parser/support/Parser.java
2674 (_handleText): Consume whitespace directly before a closing tag.
2675 (restOfTag): Consume whitespace directly after opening.
2676 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2677 (preprocess): Don't perform array boundary checking by
2678 catch AIOOBE, instead check the boundary in loop condition.
2679 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2680 (TAG_CLOSE): New constants. Describes the token pattern for
2683 2006-11-14 Roman Kennke <kennke@aicas.com>
2685 * javax/swing/text/html/ImageView.java
2686 (getPreferredSpan): Use CSS length values.
2687 * javax/swing/text/html/TableView.java
2688 (CellView.calculateMajorAxisRequirements): Overridden to
2689 set the maximum reqs to maximum.
2690 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2692 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2693 the total column reqs.
2694 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2695 the total column reqs.
2696 * gnu/javax/swing/text/html/css/CSSColor.java
2697 (convertValue): Catch NumberFormatExceptions for more robustness.
2698 * gnu/javax/swing/text/html/css/FontSize.java
2699 (mapPixels): Actually map px values. Catch NFE for more robustness.
2701 2006-11-14 Roman Kennke <kennke@aicas.com>
2703 * gnu/java/awt/font/autofit/AxisHints.java,
2704 * gnu/java/awt/font/autofit/Constants.java,
2705 * gnu/java/awt/font/autofit/GlyphHints.java,
2706 * nu/java/awt/font/autofit/Latin.java,
2707 * nu/java/awt/font/autofit/LatinAxis.java,
2708 * gnu/java/awt/font/autofit/LatinMetrics.java,
2709 * gnu/java/awt/font/autofit/Scaler.java,
2710 * gnu/java/awt/font/autofit/Script.java,
2711 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2712 * gnu/java/awt/font/autofit/Segment.java,
2713 * gnu/java/awt/font/autofit/Width.java:
2714 New classes. This is some skeleton stuff for the FreeType-alike
2716 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2717 * gnu/java/awt/font/opentype/OpenTypeFont.java
2718 (unitsPerEm): Made field public.
2719 (getRawGlyphOutline): New method. Fetches the raw outline.
2720 * gnu/java/awt/font/opentype/Scaler.java
2721 (getRawGlyphOutline): New method. Fetches the raw outline.
2722 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2723 (loadGlyph): New method. This is used to load raw outlines.
2724 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2725 (getRawOutline): New method. Fetches the raw outline.
2726 * gnu/java/awt/font/opentype/truetype/Zone.java:
2729 2006-11-14 Roman Kennke <kennke@aicas.com>
2731 * javax/swing/RepaintManager.java
2732 (RepaintManager): Fetch the default state for the double buffering
2733 from a system property gnu.swing.doublebuffering.
2735 2006-11-14 Roman Kennke <kennke@aicas.com>
2737 * javax/swing/plaf/basic/BasicLabelUI.java
2738 (cachedInsets): New field.
2739 (getFontMetrics): New helper method. Fetches the font metrics
2740 from the component or the toolkit.
2741 (getPreferredSize): Use getFontMetrics() helper method for
2742 fetching the font metrics.
2743 (paint): Use getFontMetrics() helper method for
2744 fetching the font metrics. Only paint if icon or text
2745 are != null. Use cached insets.
2746 (paintDisabledText): Don't store/restore color object. The
2747 JComponent painting mechanism takes care of this by calling
2749 (paintEnabledText): Don't store/restore color object. The
2750 JComponent painting mechanism takes care of this by calling
2753 2006-11-14 Roman Kennke <kennke@aicas.com>
2755 * gnu/java/awt/peer/GLightweightPeer.java
2756 (handleEvent): Try to do something reasonable and trigger painting
2757 for the lightweight component.
2758 (getFontMetrics): Fetch and return a font metrics object from
2761 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2763 * gnu/java/util/regex/RETokenNamedProperty.java:
2764 (getHandler(String)): Add support for 'all'.
2766 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2768 * AUTHORS: Add myself.
2770 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2772 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2773 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2774 Roman Kennke's entry.
2776 2006-11-13 Roman Kennke <kennke@aicas.com>
2778 * java/awt/image/IndexColorModel.java
2779 (createCompatibleSampleModel): Implemented missing method.
2781 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2783 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2784 from big endian systems correctly.
2786 2006-11-11 Roman Kennke <kennke@aicas.com>
2788 * gnu/javax/swing/text/html/css/CSSColor.java
2789 (isValidColor): New helper method. Checks strings if they
2790 form a valid color value.
2791 * gnu/javax/swing/text/html/css/Length.java
2792 (Length): Catch number format exceptions.
2793 * javax/swing/text/html/CSS.java
2794 (addInternal): New method. Checks for shorthand CSS attributes
2796 (parseBackgroundShorthand): New method. Parses the background
2797 shorthand attribute.
2798 * javax/swing/text/html/HTMLDocument.java
2799 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2800 (HTMLReader.LinkAction.start): Implemented to load the linked
2802 (HTMLReader.LinkAction.end): Removed. This is not needed.
2803 * javax/swing/text/html/StyleSheet.java
2804 (CSSStyleSheetParserCallback.declaration): Push declaration
2805 through CSS.addInternal() to parse shorthand attributes.
2806 (addCSSAttribute): Push declaration through CSS.addInternal()
2807 to parse shorthand attributes.
2808 (importStyleSheet): Implemented. This adds a stylesheet from
2810 * javax/swing/text/html/TableView.java
2811 (calculateColumnRequirements): Increase column index for
2812 non CellView children to avoid endless loop.
2813 * javax/swing/text/CompositeView.java
2814 (setParent): Comparen with numChildren not with real arraylength.
2816 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2818 * java/beans/beancontext/BeanContextSupport.java
2819 (getChildBeanContextChild): Implemented.
2821 2006-11-10 Roman Kennke <kennke@aicas.com>
2823 * javax/swing/text/View.java
2824 (updateLayout): Only repaint when needed.
2826 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2828 * java/util/Collections.java
2829 (sort(List)): Minor API doc addition,
2830 (sort(List, Comparator)): Likewise.
2832 2006-11-10 David Fu <fchoong@netbeans.jp>
2834 * javax/swing/text/html/HTMLWriter.java
2835 (traverse): Removed Classpath specific handling of implied
2837 (traverseHtmlFragment): Removed Classpath specific handling of
2840 2006-11-10 Roman Kennke <kennke@aicas.com>
2842 * javax/swing/text/ParagraphView.java
2843 (Row.getMaximumSize): Removed. This method is not necessary.
2844 * javax/swing/text/html/TableView.java
2845 (CellView): Moved attribute init to setPropertiesFromAttributes().
2846 (setPropertiesFromAttributes): Fetch attributes here.
2847 (RowView.RowView): Documented.
2848 (RowView.getMaximumSpan): Overridden to restrict the max span
2850 (RowView.layoutMajorAxis): Correctly layout the spans.
2851 (columnWidths): New field. Stores the width attributes of
2853 (calculateColumnRequirements): Added support for relative
2854 (== percent) width attributes.
2855 (calculateMajorAxisRequirements): Removed.
2856 (calculateMinorAxisRequirements): Removed unnecessary code.
2857 (getMaximumSpan): Overridden to restrict the table's width.
2858 (layoutColumns): Documented. Implement more clever table layout,
2859 i.e. for relative columns etc.
2860 (layoutMinorAxis): Don't mark rows invalid.
2861 (updateGrid): Added docs. Initialize column widths.
2863 2006-11-09 Roman Kennke <kennke@aicas.com>
2865 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2866 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2867 Implement basic headless toolkit.
2868 * java/awt/Toolkit.java
2869 (getDefaultToolkit): Check headless property and create
2870 headless toolkit when true.
2872 2006-11-09 Ingo Proetel <proetel@aicas.com>
2873 2006-11-09 Roman Kennke <kennke@aicas.com>
2875 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2876 (SwingButton.button): New field.
2877 (SwingButton.SwingButton): Added constructor.
2878 (SwingButton.isShowing): Access button field instead of
2879 the surrounding class.
2880 (SwingButton.getParent): Access button field instead of
2881 the surrounding class.
2882 (SwingButtonPeer): Call new SwingButton constructor.
2883 * gnu/java/awt/peer/swing/SwingComponent.java:
2884 Several documentation updates.
2885 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2886 (currentPaintEvents): New field.
2887 (peerFont): New field.
2888 (SwingComponentPeer): Initialize currentPaintEvents fields.
2889 (coalescePaintEvents): Implemented.
2890 (dispose): Unregister peer from heavyweight list of its container.
2891 (getGraphics): Fetch graphics from parent component.
2892 (handleEvent): Discard paint event if its coalesced.
2893 (init): Register component with its container for proper painting.
2894 (paint): Call peerPaint().
2895 (peerPaint): Added argument that indicates if we should update.
2896 Call paint or update on the actual AWT component.
2897 (peerPaintComponent): New method. Paints the peer (Swing) component.
2898 (setFont): Set peerFont field.
2899 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2900 (backbuffer): New field.
2901 (focusOwner): New field.
2902 (heavyweightDescendents): New field.
2903 (SwingContainerPeer): Take Container as argument. Don't call init
2905 (addHeavyweightDescendent): New method.
2906 (getFocusOwner): New helper method.
2907 (getInsets): Delegate to insets().
2908 (handleKeyEvent): Dispatch event to focus owner.
2909 (handleMouseEvent): Dispatch to child component.
2910 (isDoubleBuffering): New helper method.
2911 (peerPaint): Overridden to implement container painting with
2913 (peerPaintChildren): New method. Paints the descendents of this
2915 (removeHeavyweightDescendent): New helper method.
2916 * gnu/java/awt/peer/swing/SwingFramePeer.java
2917 (peerPaint): Removed.
2918 (peerPaintComponent): Overridden to paint the menu bar.
2919 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2920 (SwingLabel.label): New field.
2921 (SwingLabel.SwingLabel): Added constructor with Label argument.
2922 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2923 the actual AWT component.
2924 (SwingLabel.getParent): Implemented to fetch the parent from
2926 (SwingLabel.isShowing): Access the label field.
2927 (SwingLabelPeer): Set alignment from label.
2928 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2929 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2931 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2932 Don't be a lighweight peer.
2933 (SwingPanelPeer): Call init.
2934 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2935 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2936 (SwingTextField.textField): New field.
2937 (SwingTextField.SwingTextField): New constructor.
2938 (SwingTextField.isShowing): Access field not enclosing class.
2939 (SwingTextField.getGraphics): New method.
2940 (SwingTextField.getParent): New method.
2941 (SwingTextFieldPeer): Call new constructor.
2942 (select): Renamed arguments.
2943 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2944 (SwingWindowPeer): Call init.
2946 2006-11-09 Tania Bento <tbento@redhat.com>
2948 * javax/swing/JLabel.java
2949 (JLabel(Icon)): Changed documentation; Changed text to null.
2950 (JLabel(Icon,int)): Likewise.
2951 (JLabel(text)): Changed documenation.
2952 (JLabel(text,int)): Likewise.
2953 (JLabel(text,Icon,int)): Changed documentation; Throw
2954 IllegalArgumentException if int is not one of LEFT, RIGHT,
2955 CENTER, LEADING or TRAILING.
2957 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2959 * java/beans/beancontext/BeanContextSupport.java
2960 (BeanContextSupport): Use correct dtime default,
2961 (BeanContextSupport(BeanContext)): Likewise,
2962 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2964 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2965 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2967 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2969 * java/beans/beancontext/BeanContextSupport.java
2970 (getBeanContextPeer): Implemented.
2972 2006-11-09 Roman Kennke <kennke@aicas.com>
2974 * javax/swing/text/html/BlockView.java
2975 (cssHeight): Removed.
2976 (cssWidth): Removed.
2977 (cssSpans): New field. Replaces the two fields above.
2978 (BlockView): Allocate cssSpans array.
2979 (layoutMinorAxis): Fetch and use child span, not this view's span.
2980 (setCSSSpan): Adjusted to use cssSpans array.
2981 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2983 2006-11-09 Roman Kennke <kennke@aicas.com>
2985 * javax/swing/text/html/InlineView.java
2986 (nowrap): New field.
2987 (getBreakWeight): Add support for nowrap.
2988 (setPropertiesFromAttributes): Fetch the nowrap setting.
2990 2006-11-09 Roman Kennke <kennke@aicas.com>
2992 * gnu/javax/swing/text/html/css/CSSParser.java
2993 (parseRuleset): Use new Selector class.
2994 (parseValue): Parse multiple anys, not only one.
2995 (main): Allow stylesheet be specified on the command line.
2996 Use new Selector class.
2997 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2998 (startStatement): Use Selector class.
2999 * gnu/javax/swing/text/html/css/CSSScanner.java
3000 (readName): Actually read a character in the loop to avoid
3002 * gnu/javax/swing/text/html/css/Length.java
3003 (getValue): Only multiply when we have a percentage value.
3004 * gnu/javax/swing/text/html/css/Selector.java:
3005 New class. Provides handling of CSS selectors.
3006 * javax/swing/text/html/StyleSheet.java
3007 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3008 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3009 (CSSStyle.PREC_NORM): New constant field.
3010 (CSSStyle.PREC_UA): New constant field.
3011 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3012 (CSSStyle.precedence): New field.
3013 (CSSStyle.priority): Removed.
3014 (CSSStyle.selector): New field.
3015 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3017 (CSSStyle.compareTo): Adjusted to use the precedence and
3018 specificity of the selector.
3019 (CSSStyleSheetParserCallback.precedence): New field.
3020 (CSSStyleSheetParserCallback.selector): Removed.
3021 (CSSStyleSheetParserCallback.style): New field.
3022 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3023 Initialize with precedence.
3024 (CSSStyleSheetParserCallback.declaration): Don't look up
3025 existing rule, simply create new one.
3026 (CSSStyleSheetParserCallback.endStatement): Append style
3028 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3030 (css): Changed to be ArrayList.
3031 (addRule): Create parser with author-normal precendence.
3032 (getRule): Fixed implementation.
3033 (loadRules): Create parser with UA precendence.
3034 (resolveStyle): Use Selector class for resolving and matching
3036 (translateHTMLToCSS): Added mappings for a couple of HTML
3039 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3042 * java/beans/SimpleBeanInfo.java
3043 (loadImage): Check for nulls.
3045 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3047 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3048 (getpeername): Added 16 byte offset to memcpy operation.
3050 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3052 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3053 (getsockname): Added 16 byte offset to memcpy operation.
3055 2006-11-08 Mark Wielaard <mark@klomp.org>
3058 * java/io/OutputStreamWriter.java
3059 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3060 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3062 2006-11-08 Roman Kennke <kennke@aicas.com>
3064 * javax/swing/text/html/HTMLEditorKit.java
3065 (getParser): Use plain HTML_401F DTD.
3066 * javax/swing/text/html/HTMLDocument.java
3067 (HTMLReader.print): Removed method and all calls to it.
3068 (HTMLReader.printBuffer): Removed method and all calls to it.
3069 (HTMLReader.inImpliedParagraph): New field.
3070 (HTMLReader.inParagraph): New field.
3071 (HTMLReader.addContent): Create implied p-tag if necessary.
3072 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3073 (HTMLReader.blockClose): Close implied p-tag if necessary.
3074 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3075 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3077 2006-11-08 Roman Kennke <kennke@aicas.com>
3079 * javax/swing/text/html/HTMLEditorKit.java
3080 (HTMLFactory.create): Removed mapping for TD tag. This
3081 is done in TableView.
3082 * javax/swing/text/html/TableView.java:
3083 Implemented from scratch.
3085 2006-11-07 Roman Kennke <kennke@aicas.com>
3087 * gnu/javax/swing/text/html/parser/support/Parser.java
3088 (_handleText): Check if text content is actually allowed before
3089 passing empty text fragments on to the parser callbacks.
3091 2006-11-07 Mark Wielaard <mark@klomp.org>
3093 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3097 2006-11-07 Tania Bento <tbento@redhat.com>
3099 * java/awt/FlowLayout.java
3100 (getSize): If parent does not have a component, then a
3101 different formula is used to calcuate the width.
3103 2006-11-07 Roman Kennke <kennke@aicas.com>
3105 * javax/swing/text/html/HTMLEditorKit.java
3106 (HTMLFactory.create): Include ListView.
3107 * javax/swing/text/html/ListView.java
3108 (paint): Removed comment.
3109 * javax/swing/text/html/StyleSheet.java
3110 (CSSStyle.priority): New field.
3111 (CSSStyle.CSSStyle(int)): New constructor with priority.
3112 (CSSStyle.compareTo): New method. Used for sorting the styles.
3113 (CSSStyleSheetParserCallback.declaration): Store the style
3114 with the complete selector.
3115 (ListPainter.attributes): Renamed as field.
3116 (ListPainter.styleSheet): New field.
3117 (ListPainter.type): New field.
3118 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3119 (ListPainter.paint): Provide simplistic implementation.
3120 (getListPainter): Pass StyleSheet to constructor.
3121 (resolveStyle): Fixed CSS style resolving.
3123 2006-11-07 Roman Kennke <kennke@aicas.com>
3125 * gnu/javax/swing/text/html/css/BorderWidth.java:
3126 New class. Handles CSS border width values.
3127 * gnu/javax/swing/text/html/css/Length.java
3128 (floatValue): Made protected so that BorderWidth can access it.
3129 * javax/swing/text/html/CSS.java
3130 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3131 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3132 (Attribute.BORDER_LEFT_COLOR): New static field.
3133 (Attribute.BORDER_LEFT_STYLE): New static field.
3134 (Attribute.BORDER_RIGHT_COLOR): New static field.
3135 (Attribute.BORDER_RIGHT_STYLE): New static field.
3136 (Attribute.BORDER_TOP_COLOR): New static field.
3137 (Attribute.BORDER_TOP_STYLE): New static field.
3138 (getValue): Added some mappings for the border color and
3139 border width values.
3140 * javax/swing/text/html/CSSBorder.java: New class. Implements
3142 * javax/swing/text/html/StyleSheet.java
3143 (BoxPainter.background): New field.
3144 (BoxPainter.border): New field.
3145 (BoxPainter.bottomInset): Documented.
3146 (BoxPainter.leftInset): Documented.
3147 (BoxPainter.rightInset): Documented.
3148 (BoxPainter.topInset): Documented.
3149 (BoxPainter.BoxPainter): Added support for borders and background.
3150 (BoxPainter.getInset): Add border insets.
3151 (BoxPainter.paint): Implemented. Paints the background and the
3153 (addRule): Be less picky about parse and IO exceptions.
3154 (getBoxPainter): Adjust to new BoxPainter constructor.
3156 2006-11-07 Andreas <a.tobler@schweiz.org>
3158 * examples/Makefile.am: Add rule to install the *.html files we use
3161 2006-11-06 Francis Kung <fkung@redhat.com>
3163 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3164 (fillRect): Handle custom composites.
3165 (drawRenderedImage): Handle custom composites.
3166 (drawImage): Handle custom composites.
3167 (createBuffer): New method.
3168 (drawLine): Handle custom composites.
3169 (drawComposite): New method.
3170 (fill): Handle custom composites.
3171 (getNativeCM): New method.
3172 (drawGlyphVector): Handle custom composites.
3173 (drawRect): Handle custom composites.
3174 (draw): Handle custom composites.
3175 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3176 (drawComposite): Unset composite during draw call, to prevent parent
3177 from handling composite again.
3178 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3179 (getBufferCM): Added comments.
3180 (getNativeCM): Made abstract.
3181 (setComposite): Removed comments.
3183 2006-11-06 Roman Kennke <kennke@aicas.com>
3185 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3186 Fixed initial window size and start document.
3188 2006-11-06 Roman Kennke <kennke@aicas.com>
3190 * javax/swing/text/html/HTMLDocument.java
3191 (HTMLReader.addSpecialElement): Removed comment about
3193 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3194 of htmlAttributeSet.
3195 * javax/swing/text/html/parser/DocumentParser.java
3196 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3197 of htmlAttributeSet.
3198 * javax/swing/text/html/parser/ParserDelegator.java
3199 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3200 of htmlAttributeSet.
3201 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3202 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3203 of htmlAttributeSet.
3204 * gnu/javax/swing/text/html/parser/support/Parser.java
3205 (getAttributes): Return a SimpleAttributeSet.
3206 (restOfTag): Don't set resolving parent here.
3208 2006-11-06 Tania Bento <tbento@redhat.com>
3210 * java/awt/TextComponent.java
3211 (setSelectionStart): Added check.
3213 2006-11-06 Tania Bento <tbento@redhat.com>
3215 * java/awt/TextField.java
3216 (minimumSize(int)): Check if minimum size has been previously
3217 set and changed values of Dimension returned if peer == null.
3218 (preferredSize(int)): Check if preferred size has been previously
3219 set and changed values of Dimension returned if peer == null.
3221 2006-11-06 Roman Kennke <kennke@aicas.com>
3223 * javax/swing/JTree.java
3224 (TreeModelHandler.treeNodesRemoved): Implemented.
3225 (TreeModelHandler.treeStructureChanged): Implemented.
3226 (nodeStates): Made package private.
3228 2006-11-06 Francis Kung <fkung@redhat.com>
3231 * javax/swing/JTree.java
3232 (clearSelectionPathStates): New private method to clean up nodeStates.
3233 (removeSelectionPath): Call clearSelectionPathStates().
3234 (removeSelectionPaths): Call clearSelectionPathStates().
3235 (removeSelectionRow): Call clearSelectionPathStates().
3236 (setSelectionPath): Call clearSelectionPathStates().
3237 (setSelectionPaths): Call clearSelectionPathStates().
3238 (setSelectionRow): Call clearSelectionPathStates().
3240 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3243 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3245 2006-11-06 Roman Kennke <kennke@aicas.com>
3247 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3248 Changed to implement a minimalistic browser.
3249 * examples/gnu/classpath/examples/swing/forms.html,
3250 * examples/gnu/classpath/examples/swing/textstyles.html,
3251 * examples/gnu/classpath/examples/swing/welcome.html:
3252 Some example content.
3254 2006-11-06 Roman Kennke <kennke@aicas.com>
3256 * javax/swing/text/ComponentView.java
3257 (setParent): Lock the document and repaint the hosting
3259 * javax/swing/text/FlowView.java
3260 (FlowStrategy.createView): Removed comment.
3261 (FlowView): Initialize span with Short.MAX_VALUE.
3262 (getFlowStart): Return 0 unconditionally.
3263 (layout): Moved code around to make it more readable.
3264 (loadChildren): Always set the parent.
3265 * javax/swing/text/GlyphView.java
3266 (DefaultGlyphPainter.fontMetrics): New field.
3267 (DefaultGlyphPainter.getAscent): Use new helper method to
3268 synchronize the font metrics.
3269 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3270 to synchronize the font metrics.
3271 (DefaultGlyphPainter.getDescent): Use new helper method to
3272 synchronize the font metrics.
3273 (DefaultGlyphPainter.getHeight): Use new helper method to
3274 synchronize the font metrics.
3275 (DefaultGlyphPainter.getSpan): Use new helper method to
3276 synchronize the font metrics.
3277 (DefaultGlyphPainter.modelToView): Use new helper method to
3278 synchronize the font metrics.
3279 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3280 font metrics caching.
3281 (DefaultGlyphPainter.viewToModel): Use new helper method to
3282 synchronize the font metrics. Fixed view to model mapping.
3283 * javax/swing/text/View.java
3284 (removeAll): Pass null to replace().
3285 (setParent): Only reparent children that have this view as parent.
3287 2006-11-05 Mark Wielaard <mark@klomp.org>
3289 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3290 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3291 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3293 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3295 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3296 Remove gnu_java_nio_channels_FileChannelImpl.c.
3298 2006-11-03 Roman Kennke <kennke@aicas.com>
3300 * javax/swing/text/html/BlockView.java
3301 (attributes): New field.
3302 (cssHeight): New field.
3303 (cssWidth): New field.
3304 (painter): New field.
3305 (calculateMajorAxisRequirements): Overridden to account for
3307 (calculateMinorAxisRequirements): Overridden to account for
3309 (layoutMinorAxis): Overridden to account for CSS settings.
3310 (changedUpdate): Formatting fixlet.
3311 (constrainSize): New helper method.
3312 (getAlignment): Fix alignment.
3313 (getAttributes): Cache attributes for better performance.
3314 (getStyleSheet): Fetch stylesheet from document rather than creating
3316 (paint): Remove comment.
3317 (setCSSSpan): New helper method.
3318 (setPropertiesFromAttributes): Implemented to fetch the
3319 recognized properties.
3320 * javax/swing/text/html/CSS.java
3321 (getValue): Added mapping for width and height attributes.
3322 * javax/swing/text/html/InlineView.java
3323 (longestWord): New field.
3324 (getLongestWord): New helper method.
3325 (calculateLongestWord): New helper method.
3326 (getMinimumSpan): Overridden to constrain the minimum span by the
3328 * javax/swing/text/html/ParagraphView.java
3329 (cssHeight): New field.
3330 (cssWidth): New field.
3331 (calculateMinorAxisRequirements): Overridden to account for
3333 (setCSSSpan): New helper method.
3334 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3336 * gnu/javax/swing/text/html/css/Length.java
3337 (percentage): New field.
3338 (Length): Determine percentage values.
3339 (getValue(float)): New method for handling percentage values.
3340 (isPercentage): New method.
3342 2006-11-03 Tania Bento <tbento@redhat.com>
3344 * java/awt/TextArea.java
3345 (getMinimumSize): Changed documentation.
3346 (getPreferredSize): Changed documentation.
3347 (getMinimumSize(int,int)): Changed documenation.
3348 (getPreferredSize(int,int)): Changed documenation.
3349 (minimumSize): Changed documentation.
3350 (preferredSize): Changed documenation.
3351 (minimumSize(int,int)): Changed documentation. Checked if
3352 minimum size had been previously set and changed values of
3353 Dimension returned if peer == null.
3354 (preferredSize(int, int)): Checked if preferred size had been
3355 previously set and changed values of Dimension returned if
3358 2006-11-03 Tania Bento <tbento@redhat.com>
3360 * java/awt/event/ComponentEvent.java
3361 (paramString): Changed format of string representation returned.
3363 2006-11-03 Roman Kennke <kennke@aicas.com>
3365 * javax/swing/text/html/HTMLDocument.java
3366 (HTMLReader.FormAction.start): Added support for textarea.
3367 (HTMLReader.FormAction.end): Added support for textarea.
3368 (HTMLReader.HeadAction.end): Call super to actually close the
3370 (HTMLReader.inTextArea): New field.
3371 (HTMLReader.textAreaDocument): New field.
3372 (HTMLReader.handleText): Call textAreaContent when inside
3374 (HTMLReader.textAreaContent): Implemented to initialize
3375 the text area's model.
3376 * javax/swing/text/html/FormView.java
3377 (createComponent): Added support for textarea tag.
3379 2006-11-03 Roman Kennke <kennke@aicas.com>
3381 * javax/swing/text/html/HTMLDocument.java
3382 (HTMLReader.IsindexAction.start): Implemented.
3384 2006-11-03 Roman Kennke <kennke@aicas.com>
3386 * javax/swing/text/html/StyleSheet.java
3387 (addRule): Implemented.
3388 * javax/swing/text/html/HTMLDocument.java
3389 (HTMLReader.inStyleTag): New field.
3390 (HTMLReader.styles): New field.
3391 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3393 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3394 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3395 (HTMLReader.handleText): When inside a style tag, add
3396 content to the styles array.
3398 2006-11-02 Roman Kennke <kennke@aicas.com>
3400 * javax/swing/text/html/FormView.java
3401 (maxIsPreferred): New field.
3402 (createComponent): Initialize components correctly.
3403 (getMaximumSpan): Return the preferred span for components
3404 that need this. The maxIsPreferred flag is set accordingly
3406 * javax/swing/text/html/HTMLDocument.java
3407 (HTMLReader.FormAction.start): Implemented to set the
3408 correct model as attribute.
3409 (HTMLReader.FormAction.setModel): New helper method.
3410 (HTMLReader.FormAction.end): Call super to finish the element.
3411 Added TODO about things left to do.
3412 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3413 than htmlAttributeSet.
3414 * javax/swing/text/html/HTMLEditorKit.java
3415 (HTMLFactory.create): Create BlockView for FORM tags.
3416 Create FormView for INPUT, TEXTAREA and SELECT tags.
3418 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3420 * java/awt/geom/GeneralPath.java: API doc fixes.
3422 2006-11-02 Roman Kennke <kennke@aicas.com>
3424 * javax/swing/text/html/ImageView.java
3425 (getImageURL): Fetch attribute from element. Consider the
3426 base URL for relative image locations.
3428 2006-11-02 Roman Kennke <kennke@aicas.com>
3430 * javax/swing/JEditorPane.java
3431 (setContentType): Strip off attributes.
3432 * javax/swing/text/html/HTMLEditorKit.java
3433 (LinkController.activateLink(int,JEditorPane,int,int): New
3434 method. Implements activation of a hyperlink.
3435 (LinkController.activateLinke(int,JEditorPane)): Delegate
3436 to the other activateLink() method.
3437 (LinkController.createHyperlinkEvent): New helper method.
3438 (LinkController.mouseClicked): Implemented to activate the link.
3439 (LinkController.mouseDragged): Added comment that this
3440 method does nothing.
3441 (LinkController.mouseMoved): Update cursor for hyperlinks.
3442 (mouseHandler): Renamed field to linkController.
3443 (HTMLEditorKit): Create a link controller.
3444 (clone): Give the clone a new link controller.
3445 (deinstall): De-install link controller as mouseMotionListener too.
3446 (install): Install link controller as mouseMotionListener too.
3448 2006-11-02 Roman Kennke <kennke@aicas.com>
3451 * javax/swing/text/FlowView.java
3452 (FlowStrategy.changedUpdate): Reversed condition. This caused
3453 wrong layout and bad performance.
3454 (FlowStrategy.insertUpdate): Reversed condition. This caused
3455 wrong layout and bad performance.
3456 (FlowStrategy.removeUpdate): Reversed condition. This caused
3457 wrong layout and bad performance.
3458 (LogicalView): Changed to be a subclass of CompositeView.
3459 (LogicalView()): Only take one Element argument.
3460 (LogicalView.childAllocation): New method for implementing
3461 the abstract CompositeView method.
3462 (LogicalView.forwardUpdateToView): Overridden for correct
3464 (getMinimumSpan): Overridden to handle line breaking correctly.
3465 (getPreferredSpan): Implemented to handle line breaking correctly.
3466 (getViewAtPoint): New method for implementing
3467 the abstract CompositeView method.
3468 (getViewIndexAtPosition): Overridden to handle leaf elements
3470 (isAfter): New method for implementing
3471 the abstract CompositeView method.
3472 (isBefore): New method for implementing
3473 the abstract CompositeView method.
3474 (loadChildren): Overridden to handle leaf elements
3476 (paint): New method for implementing
3477 the abstract CompositeView method.
3478 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3479 (loadChildren): Initialize flow layout by sending a synthetic
3480 insertUpdate() to the layout strategy.
3481 * javax/swing/text/GlyphView.java
3482 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3483 font metrics if component is not available. Add initial offset
3485 (breakView): Be more clever when breaking the view.
3486 (getBreakLocation): New helper method to determine a good
3488 (getBreakWeight): Be more clever when breaking the view.
3489 (getTabbedSpan): Make sure we have a painter. Use view's
3490 start and end offset rather than the element's.
3491 * javax/swing/text/Utilities.java
3492 (drawTabbedText): Avoid useless add and sub with the y offset.
3494 2006-11-02 Roman Kennke <kennke@aicas.com>
3497 * gnu/java/awt/peer/ClasspathFontPeer.java
3498 (getStringBounds): Removed abstract method. This is replaced
3499 in java.awt.Font to use a TextLayout.
3500 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3501 (GtkWindowPeer): Set a font on the window object.
3502 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3503 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3504 Changed to take char,int,int instead of String. Filter
3506 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3507 Create char array out of string.
3508 (getLogicalBounds): Don't translate bounds. They already are
3510 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3511 (stringWidth): Filter out control characters.
3512 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3513 (getStringBounds): Removed unneeded method.
3514 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3516 * gnu/java/awt/peer/qt/QtFontPeer.java
3517 (getStringBounds): Removed unneeded method.
3518 * gnu/java/awt/peer/x/XFontPeer.java
3519 (getStringBounds): Removed unneeded method.
3520 * gnu/java/awt/peer/x/XFontPeer2.java
3521 (getStringBounds): Removed unneeded method.
3522 * java/awt/Font.java
3523 (getStringBounds(char[],int,int,FontRenderContext)):
3524 Use TextLayout to determine the bounds.
3525 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3526 Delegate to the char[] version of this method.
3527 (getStringBounds(String,FontRenderContext)):
3528 Delegate to the char[] version of this method.
3529 (getStringBounds(String,int,int,FontRenderContext)):
3530 Delegate to the String version of this method.
3532 2006-11-01 Tania Bento <tbento@redhat.com>
3534 * java/awt/ScrollPaneAdjustable.java
3535 (paramString): Changed format of string representation returned.
3536 (paramStringHelper): New private method.
3538 2006-11-01 Tania Bento <tbento@redhat.com>
3540 * java/awt/GridBagLayout.java
3541 (toString): Implemented method.
3543 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3545 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3546 initialization to NP_Initialize.
3547 (NP_Initialize): Initialize GLib threading.
3549 2006-10-31 Tania Bento <tbento@redhat.com>
3551 * javax/swing/JTextField.java
3552 (fireActionPerformed): When creating the new event, if
3553 actionCommand == null, then getText() is used.
3555 2006-10-31 Francis Kung <fkung@redhat.com>
3557 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3558 (fillArc): Corrected arc type to Arc2D.PIE.
3560 2006-10-31 Roman Kennke <kennke@aicas.com>
3562 * javax/swing/text/html/HTMLDocument.java
3563 (HTMLReader.PreAction.end): Implemented.
3564 (HTMLReader.PreAction.start): Implemented.
3565 (HTMLReader.inPreTag): New field.
3566 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3567 (HTMLReader.preContent): Implemented.
3569 2006-10-31 Tania Bento <tbento@redhat.com>
3571 * javax/swing/JTextField.java
3572 (fireActionPerformed): When creating the new event,
3573 actionCommand should be used as the command, not
3576 2006-10-31 Roman Kennke <kennke@aicas.com>
3578 * javax/swing/text/html/HTMLEditorKit.java
3579 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3580 HTML or Styled documents.
3582 2006-10-31 David Fu <fchoong@netbeans.jp>
3584 * javax/swing/text/html/HTMLWriter.java: New class.
3586 2006-10-30 Roman Kennke <kennke@aicas.com>
3588 * java/awt/dnd/DragSourceContext.java
3589 (dragExit): Use constant fields instead of 0.
3590 (updateCurrentCursor): Completed implementation.
3592 2006-10-30 Roman Kennke <kennke@aicas.com>
3594 * java/awt/dnd/DragGestureRecognizer.java
3595 (resetRecognizer): Added API docs. Do not replace the events object
3596 but rather clear() it. Removed not implemented tag.
3598 2006-10-30 Roman Kennke <kennke@aicas.com>
3600 * java/awt/datatransfer/DataFlavor.java
3601 (writeExternal): Remove not implemented tag.
3603 2006-10-30 Roman Kennke <kennke@aicas.com>
3605 * java/awt/datatransfer/DataFlavor.java
3606 (javaFileListFlavor): Don't explicitly specify class.
3607 (plainTextFlavor): Don't explicitly specify class.
3608 (mimeType): Changed to type MimeType. Remove final.
3609 (representationClass): Remove final.
3610 (DataFlavor): Don't do anything here.
3611 (DataFlavor(Class,String,String)): Removed.
3612 (DataFlavor(Class,String)): Initialize here.
3613 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3614 (DataFlavor(String,String)): Initialize in init().
3615 (DataFlavor(String)): Initialize in init().
3616 (init): New initialization method.
3617 (getMimeType): Delegate to MimeType.toString().
3618 (getParameter(String,String)): Removed. Is now done in MimeType.
3619 (getParameter(String)): Delegate to MimeType.
3620 (getPrimaryType): Delegate to MimeType.
3621 (getRepresentationClassFromMime): Removed.
3622 (getRepresentationClassFromMimeThrows): Removed.
3623 (getSubType): Delegate to MimeType.
3624 (hashCode): Take MimeType.toString() for the hashCode.
3625 (isFlavorRemoveObjectType): Return true only when representation
3626 class is remove and serializable and the mime type is remote.
3627 (isFlavorSerializedObjectType): Return true only when representation
3628 class is serializable and the mime type is serialized.
3629 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3630 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3631 (readExternal): Implemented stub method.
3632 (writeExternal): Implemented stub method.
3633 * java/awt/datatransfer/MimeType.java: New helper class.
3635 2006-10-28 Roman Kennke <kennke@aicas.com>
3637 * javax/swing/TransferHandler.java
3638 (importData): Implemented stub method. Added API docs.
3640 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3642 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3644 * native/jni/classpath/classpath_jawt.h: Likewise.
3645 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3646 initializer for surface_info_x11->depth.
3648 2006-10-26 Tania Bento <tbento@redhat.com>
3650 * java/awt/FileDialog.java:
3651 (setFile): Changed if-clause condition.
3653 2006-10-25 Francis Kung <fkung@redhat.com>
3655 * include/gnu_java_nio_VMChannel.h,
3656 * include/java_net_VMNetworkInterface.h,
3657 * include/gnu_java_nio_EpollSelectorImpl.h,
3658 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3659 * include/gnu_java_nio_FileChannelImpl.h,
3660 * include/gnu_java_nio_KqueueSelectorImpl.h,
3661 * include/gnu_java_nio_VMPipe.h,
3662 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3664 2006-10-25 Tania Bento <tbento@redhat.com>
3666 * java/awt/Dialog.java: Created new private variable
3668 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3669 Set cursor to default cursor.
3670 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3672 (generateName): New method.
3673 (getUniqueLong): New private method.
3674 * java/awt/FileDialog.java: Created new private variable
3675 next_file_dialog_number.
3676 (setFile): If file == "", set it to null.
3677 (generateName): New method.
3678 (getUniqueLong): New private method.
3680 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3682 * java/net/MulticastSocket.java:
3683 (setNetworkInterface): Rewritten.
3685 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3687 * native/jni/java-net/javanet.h: Added declaration for
3688 _javanet_create_inetaddress.
3689 * native/jni/java-net/javanet.c:
3690 (_javanet_create_inetaddress): Removed static keyword.
3692 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3694 * gnu/java/net/PlainDatagramSocketImpl.java:
3695 (connect): Use VMChannel instance for connect call.
3696 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3697 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3698 (setOption): Handle multicast options.
3699 (getOption): Handle multicast options.
3700 * gnu/java/net/PlainSocketImpl.java:
3701 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3702 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3703 (setOption): Filter unappropriate options.
3704 (getOption): Filter unappropriate options.
3705 (connect): Use given SocketAddress.
3706 (close): Reset address and port.
3708 * include/Makefile.am: Removed all occurences of
3709 gnu_java_net_VMPlainDatagramSocketImpl.h.
3710 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3711 * native/jni/java-net/Makefile.am: Removed
3712 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3713 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3715 as SocketException, declare to throw SocketException.
3716 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3717 for SocketException and ConnectException.
3718 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3720 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3722 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3723 (JCL_thread_interrupted): New function.
3724 (initIDs): Added initialisation for isThreadInterrupted method id.
3725 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3726 CPNET_IP_TTL to java_sockopt enum.
3727 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3728 case, handle SO_LINGER case properly.
3729 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3730 case, handle SO_LINGER case properly.
3731 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3733 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3735 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3737 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3739 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3740 * vm/reference/gnu/java/nio/VMChannel.java:
3741 (connect(int, byte[], int, int)): Declare to throw SocketException.
3742 (connect6): Declare to throw SocketException.
3743 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3744 (isThreadInterrupted): New method.
3745 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3747 (setTimeToLive): New method.
3748 (getTimeToLive): New method.
3749 (setMulticastInterface(int, InetAddress)): New method.
3750 (setMulticastInterface(int, int, Inet4Address): New method.
3751 (setMulticastInterface6(int, int, Inet6Address): New method.
3752 (setOptions): Handle SO_LINGER case.
3753 (getOptions): Add missing SO_REUSEADDR case.
3754 * java/net/Socket.java:
3755 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3756 when exception was thrown out of connect().
3757 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3758 Boolean.FALSE with Integer.valueOf(-1).
3759 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3760 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3761 * NEWS: Documented VM interface changes.
3763 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3765 * java/net/Inet6Address.java:
3766 (isMulticastAddress): Fixed check.
3768 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3771 * java/net/MulticastSocket.java:
3772 (getNetworkInterface): Return a special NetworkInterface instance
3773 if the socket's multicast interface is set to any.
3775 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3778 * java/net/NetworkInterface.java:
3779 (createAnyInterface): New method.
3780 (equals): Added if-statement to handle case where netif.name is null.
3781 * vm/reference/java/net/VMNetworkInterface.java:
3782 (hashCode): Rewritten.
3783 (VMNetworkInterface): New constructor.
3785 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3787 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3788 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3789 Add ASM_JAR to bootclasspath.
3791 2006-10-24 Tania Bento <tbento@redhat.com>
3793 * java/awt/Scrollbar.java:
3794 (setLineIncrement): Removed unnecessary if-clause and if
3795 lineIncrement == 0, then it should be set to 1, not 0.
3796 (setPageIncrement): Removed unnecessary if-clause and if
3797 pageIncrement == 0, then it should be set to 1, not 0.
3798 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3799 If maximum <= minimum, maximum should be set to mininum + 1. The
3800 actual value of maximum is maximum - visibleAmount, so I made
3801 this change to the appropriate if-check. Remove the two unneccessary
3804 2006-10-23 Francis Kung <fkung@redhat.com>
3806 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3807 (cairoSetFont): New method.
3808 (copy): Set font using setFont method.
3809 (setFont): Call cairoSetFont.
3810 (setup): Set font using setFont method.
3811 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3812 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3813 (install_font_peer): Removed.
3814 (cairoDrawGlyphVector): Removed call to install_font_peer.
3815 (cairoSetFont): New method.
3817 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3819 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3820 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3821 NativeEventLoopRunningEvent after GTK main loop start and stop.
3822 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3823 (getNextEvent): Set dispatchThread to null.
3824 (postEventImpl): Set nativeLoopRunning.
3825 (pop): Interrupt event dispatch thread.
3826 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3828 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3830 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3832 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3835 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3837 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3838 * javax/crypto/CipherOutputStream.java: Re-implemented.
3839 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3840 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3841 decryption mode and check if it is a complete block.
3842 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3843 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3844 partially processed data into account.
3846 2006-10-21 Tom Tromey <tromey@redhat.com>
3849 * java/util/AbstractCollection.java (toArray): Removed cast.
3851 2006-10-20 Tom Tromey <tromey@redhat.com>
3853 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3854 Don't use mangled class name for .h file.
3855 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3856 Don't use mangled class name for .c file.
3857 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3858 Handle classes from the default package.
3860 2006-10-20 Francis Kung <fkung@redhat.com>
3862 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3864 2006-10-19 Francis Kung <fkung@redhat.com>
3867 * java/awt/image/BufferedImage.java
3868 (constructor): Updated some properties of default image types.
3869 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3870 (argb32): Updated field to match default in BufferedImage.
3872 2006-10-18 Roman Kennke <kennke@aicas.com>
3875 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3876 (copyArea): Changed size comparison to return when size == 0
3878 * javax/swing/JViewport.java
3879 (paintBackingStore): Check width and height of blitted area
3880 and only do blit if its > 0.
3881 (paintBlit): Check width and height of blitted area
3882 and only do blit if its > 0.
3884 2006-10-18 Roman Kennke <kennke@aicas.com>
3887 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3888 (maximize): New native method.
3889 (unmaximize): New native method.
3890 (iconify): New native method.
3891 (deiconify): New native method.
3892 (getState): Implemented.
3893 (setState): Implemented.
3894 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3895 (oldState): Rename to windowState and made protected, so that
3896 the FramePeer can access it.
3897 (postWindowEvent): Handle state change events more gently and
3899 * java/awt/Frame.java
3900 (getState): Fetch state from getExtendedState().
3901 (setExtendedState): Update the peer. Check if the state change
3902 is actually supported.
3903 (getExtendedState): Update the state from the peer.
3904 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3905 (maximize): New method.
3906 (unmaximize): New method.
3907 (iconify): New method.
3908 (deiconify): New method.
3909 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3910 (AWT_FRAME_NORMAL): New macro.
3911 (AWT_FRAME_ICONIFIED): New macro.
3912 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3913 (window_window_state_cb): Rewritten to handle window state changes
3914 more gently (mostly on the java side of the world).
3915 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3917 2006-10-18 Tania Bento <tbento@redhat.com>
3919 * java/awt/CardLayout.java:
3920 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3921 its height and width if Container passed as argument is null.
3922 (gotoComponent): Consider the case where the component is not visible.
3924 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3926 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3928 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3930 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3932 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3934 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3936 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3937 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3938 Retrieve user-visible strings through Messages.getString.
3939 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3940 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3942 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3944 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3946 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3948 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3950 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3953 2006-10-18 Roman Kennke <kennke@aicas.com>
3955 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3956 (AWT_WINDOW_OPENED): Remove unnecessary macro.
3957 (window_show_cb): Removed unnecessary function.
3958 (connect_signals): Don't connect signal for show. *
3959 gnu/java/awt/peer/gtk/GtkWindowPeer.java
3960 (hasBeenShown): Removed. This is handled in java.awt.Window.
3961 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3962 in java.awt.Window. * java/awt/Window.java
3963 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3965 2006-10-18 Francis Kung <fkung@redhat.com>
3967 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3968 (drawRenderedImage): New method.
3969 (drawImage): New method.
3970 (CairoSurfaceGraphics): Set clip.
3971 (createBuffer): New method.
3972 (getBufferCM): New method.
3973 (drawComposite): New method.
3975 (getNativeCM): New method.
3976 (drawGlyphVector): New method.
3978 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3979 (getNativeCM): Reflect renamed field.
3980 * gnu/java/awt/peer/gtk/CairoSurface.java
3981 (cairoCM_pre): Renamed from cairoColorModel.
3982 (cairoColorModel): Set premultiplication to false.
3984 2006-10-18 Roman Kennke <kennke@aicas.com>
3987 * javax/swing/JScrollPane.java
3988 (viewportBorder): Made field private.
3989 (wheelScrollingEnabled): Made field private.
3990 (JScrollPane): Enabled wheel scrolling by default.
3991 * javax/swing/JTree.java
3992 (TreeSelectionRedirector.valueChanged): Don't repaint anything
3994 (getScrollableUnitIncrement): Fixed thinko.
3995 * javax/swing/plaf/basic/BasicScrollBarUI.java
3996 (static scrollByBlock): New static method to avoid code duplication
3997 for the BasicScrollPane wheel scrolling.
3998 (static scrollByUnits): New static method to avoid code duplication
3999 for the BasicScrollPane wheel scrolling.
4000 (scrollByBlock): Delegate to static helper method.
4001 (scrollByUnit): Delegate to static helper method.
4002 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4003 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4004 static helper methods to avoid code duplication.
4005 (MouseWheelHandler.bounds): Removed.
4006 (MouseWheelHandler.getValue): Removed.
4007 (MouseWheelHandler.scroll): Removed.
4009 2006-10-18 Roman Kennke <kennke@aicas.com>
4012 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4013 (updateComponent): Don't override this here.
4014 * java/awt/Window.java
4015 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4016 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4018 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4021 2006-10-18 Roman Kennke <kennke@aicas.com>
4023 * javax/swing/JEditorPane.java
4024 (getStream): Try to detect and set the content type of the
4027 2006-10-18 Roman Kennke <kennke@aicas.com>
4029 * javax/swing/RepaintManager.java
4030 (RepaintWorkerEvent): Pass full set of params to super.
4031 (RepaintWorker.dispatch): Overridden to allow apps to call this
4033 (addDirtyRegion): Synchronize a little more to protect the
4034 dirtyComponents field and avoid NPEs.
4035 (invokeLater): Pass full set of params to RepaintWorkerEvent
4038 2006-10-18 Roman Kennke <kennke@aicas.com>
4040 * javax/swing/JEditorPane.java
4041 (page): Removed field. The page is now stored in the correct
4043 (getPage): Fetch page URL from document property.
4044 (read): Set the document for this JEditorPane. Use a Reader
4045 for reading in the document.
4046 (setPage): Call getStream() to get the stream from which we read.
4047 Fire property change. Store page in document property.
4049 2006-10-18 Roman Kennke <kennke@aicas.com>
4051 * java/awt/datatransfer/DataFlavor.java
4052 (DataFlavor(String)): Removed check for space in mime string.
4054 2006-10-18 Roman Kennke <kennke@aicas.com>
4056 * java/awt/Container.java
4057 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4058 begin|endValidate().
4059 (validate): Call ContainerPeer.begin|endValidate() here.
4060 Added some local vars to avoid NPEs.
4062 2006-10-18 Roman Kennke <kennke@aicas.com>
4064 * native/target/.cvsignore
4065 * native/target/Linux/.cvsignore
4066 * native/target/generic/.cvsignore:
4067 Added to let CVS ignore the generated Makefile and Makefile.in
4070 2006-10-18 Roman Kennke <kennke@aicas.com>
4073 * java/awt/Window.java
4074 (eventTypeEnabled): Overridden to handle WindowEvents.
4075 (processEvent): Switch between processWindowEvent(),
4076 processWindowFocusEvent() and processWindowStateEvent() here,
4077 rather than simply calling processWindowEvent().
4078 (processWindowEvent): Only dispatch event to listener, do not
4079 switch to processWindowFocusEvent() or processWindowStateEvent()
4081 * javax/swing/JFrame.java
4082 (frameInit): Explicitly enable window and key events here.
4083 (processWindowEvent): Throw out some unnecessary code.
4084 * javax/swing/JWindow.java
4085 (windowInit): Explicitly enable key events here.
4086 * javax/swing/JDialog.java
4087 (close_action): Renamed to closeAction.
4088 (dialogInit): Explicitly enable window events here.
4089 (getDefaultCloseOperation): Renamed close_action to closeAction.
4090 (processWindowEvent): Throw out some unnecessary code.
4091 Renamed close_action to closeAction.
4092 (setDefaultCloseOperation): Renamed close_action to closeAction.
4094 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4096 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4097 to track native GTK event loop status.
4098 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4099 clear running flag when native GTK event loop starts and stops.
4101 2006-10-17 Roman Kennke <kennke@aicas.com>
4103 * javax/swing/TransferHandler.java
4104 (exportToClipboard): Implemented.
4106 2006-10-17 Francis Kung <fkung@redhat.com>
4108 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4109 region to account for pixel-shifting.
4110 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4113 2006-10-17 Francis Kung <fkung@redhat.com>
4116 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4117 (getLogicalBounds): Translate individual glyphs before appending bounds.
4118 (getOutline): Translate individual glyphs before appending outline.
4120 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4123 * java/awt/font/TextLayout.java
4125 (constructor): Store bidi in field.
4126 (getCharacterLevel): Implemented.
4128 2006-10-17 Roman Kennke <kennke@aicas.com>
4130 * javax/swing/TransferHandler.java
4131 (PropertyTransferable): New inner class. Handles transfers
4132 from component properties.
4133 (createTransferable): Implemented.
4135 2006-10-17 Francis Kung <fkung@redhat.com>
4137 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4138 (drawComposite): Ensure composite does not extend beyond buffer
4140 * java/awt/image/Raster.java
4141 (createChild): Ensure child does not extend beyond parent's
4143 * java/awt/image/WritableRaster.java
4144 (createWritableChild): Ensure child does not extend beyond
4147 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4149 * native/jni/classpath/jcl.c
4150 (JNI_OnLoad): Corrected calling convention.
4152 2006-10-16 Roman Kennke <kennke@aicas.com>
4154 * javax/swing/TransferHandler.java
4155 (propertyName): New field.
4156 (TransferHandler(String)): Store property name in field.
4157 (canImport): Implemented stub method.
4158 (exportDone): This is a no-op. Removed not-implemented mark.
4159 (getPropertyDataFlavor): New helper method.
4160 (getPropertyDescriptor): New helper method.
4162 2006-10-16 Roman Kennke <kennke@aicas.com>
4164 * javax/swing/AbstractButton.java
4165 (AccessibleJButton.getAfterIndex): Implemented.
4166 (AccessibleJButton.getAtIndex): Implemented.
4167 (AccessibleJButton.getBeforeIndex): Implemented.
4168 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4169 method implementation.
4171 2006-10-16 Roman Kennke <kennke@aicas.com>
4173 * javax/swing/JLabel.java
4174 (AccessibleJLabel.getIndexAtPoint): Implemented.
4175 (AccessibleJLabel.getCharacterBounds): Implemented.
4176 (AccessibleJLabel.getTextRectangle): New helper method.
4178 2006-10-16 Roman Kennke <kennke@aicas.com>
4180 * javax/swing/filechooser/FileSystemView.java
4181 (getFileSystemView): Mark as implemented.
4183 2006-10-14 Roman Kennke <kennke@aicas.com>
4186 * javax/swing/JComponent.java
4187 (toolTipText): Removed field.
4188 (createToolTip): Don't set tooltip text here. This is done
4189 in the ToolTipManager.
4190 (setToolTipText): Set tooltip text as client property.
4191 (getToolTipText): Get tooltip text from client property.
4192 * javax/swing/ToolTipManager.java
4193 (currentComponent): Made field non-static and of type JComponent.
4194 (currentPoint): Made field non-static.
4195 (currentTip): Made field non-static.
4196 (popup): Made field non-static.
4197 (toolTipText): New field. Stores the current tooltip text.
4198 (checkTipUpdate): New helper method. Checks for updates of
4199 the tooltip text and triggers the appropriate actions.
4200 (getContentPaneDeepestComponent): Removed unneeded casts.
4201 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4202 text from component.
4203 (mouseMoved): Check for tooltip text updates.
4204 (showTip): Set tooltip text from current setting.
4206 2006-10-14 Roman Kennke <kennke@aicas.com>
4209 * javax/swing/JSlider.java
4210 (setPaintLabels): Call setLabelTable() instead of setting
4211 the field directly. This also updates the label's size.
4213 2006-10-13 Tom Tromey <tromey@redhat.com>
4215 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4218 2006-10-13 Tania Bento <tbento@redhat.com>
4220 * java/awt/ScrollPane.java
4221 (setLayout): Should throw AWTError whenever called.
4223 2006-10-13 Roman Kennke <kennke@aicas.com>
4226 * java/awt/Component.java
4227 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4228 update the AWT's knowledge about a component's size.
4229 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4230 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4231 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4232 to update the AWT's knowledge about the component bounds.
4234 2006-10-13 Tania Bento <tbento@redhat.com>
4236 * java/awt/ScrollPaneAdjustable.java
4237 (setMaximum): Should throw AWTError whenever called.
4239 (setVisibleAmount): Same.
4241 2006-10-13 Tania Bento <tbento@redhat.com>
4243 * java/awt/ScrollPane.java
4244 (addImpl): When calling super, index should be value passed,
4246 (getIsValidString): New helper method for paramString().
4247 (getScrollbarDisplayString): New helper method for paramString().
4248 (paramString): Changed format of outputted string.
4250 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4252 * javax/swing/tree/DefaultTreeSelectionModel.java
4253 (clone): Added cast to TreePath[].
4255 2006-10-13 Roman Kennke <kennke@aicas.com>
4258 * javax/swing/JMenuItem.java
4259 (isDragging): New field. Indicates if we are inside a mouse
4261 (createMenuDragMouseEvent): Removed unneeded method.
4262 (processMenuDragMouseEvent): Track if we are dragging.
4263 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4264 * javax/swing/plaf/basic/BasicMenuItemUI.java
4265 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4266 MenuSelectionManager from event.
4267 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4268 MenuSelectionManager from event.
4269 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4270 MenuSelectionManager from event.
4271 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4272 release inside menu item, otherwise clear selection.
4273 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4274 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4275 (doClick): Perform an immediate click.
4277 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4279 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4280 return if object is not in the list.
4282 2006-10-12 Andrew Haley <aph@redhat.com>
4284 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4285 * java/lang/ThreadLocal.java: Likewise.
4287 2006-10-12 Roman Kennke <kennke@aicas.com>
4290 * javax/swing/JSlider.java
4291 (LabelUIResource): New inner class. A JLabel as UIResource.
4292 (createStandardLabels): Don't set label bounds here.
4293 Create LabelUIResource instances.
4294 (setInverted): Repaint.
4295 (setLabelTable): Update the label UIs. Revalidate and repaint.
4296 (setMajorTickSpacing): Update the label table. Repaint if
4298 (setMinorTickSpacing): Repaint if necessary.
4299 (setOrientation): Revalidate.
4300 (setPaintLabels): Revalidate and repaint.
4301 (setPaintTicks): Revalidate and repaint.
4302 (setPaintTrack): Repaint.
4303 (updateLabelUIs): Set the label sizes here.
4304 (updateUI): Also update the label UIs.
4305 * javax/swing/plaf/basic/BasicSliderUI.java
4306 (ComponentHandler.componentResized): Don't revalidate.
4307 (FocusHandler.focusGained): Don't set field.
4308 (FocusHandler.focusLost): Don't set field.
4309 (PropertyChangeHandler.propertyChange): Calculate geometry
4310 and repaint for a couple more properties.
4311 (TrackListener.mouseReleased): Repaint.
4312 (hasFocus): Removed unneeded field.
4313 (calculateContentRect): No need to check for content size < 0.
4314 (calculateFocusRect): Use insets from insetCache.
4315 (calculateLabelRect): Fixed calculation of label rectangle.
4316 It is relative to the tick rectangle, rather than the content
4318 (calculateTickRect): Small restructuring to avoid unnecessary
4320 (calculateTrackRect): Fixed calculation of track rectangle.
4321 (getMaximumSize): Fixed. Fetch preferred size and set
4322 the height of width to Short.MAX_VALUE.
4323 (getMinimumHorizontalSize): Fixed to return UIManager value.
4324 (getMinimumVerticalSize): Fixed to return UIManager value.
4325 (getPreferredHorizontalSize): Fixed to return UIManager value.
4326 (getPreferredVerticalSize): Fixed to return UIManager value.
4327 (getMinimumSize): Fixed to return the UIManager value plus
4329 (getPreferredSize): Fixed to return the UIManager value plus
4331 (getWidthOfWidestLabel): Restructured for more cleanness and
4333 (hitClip): New helper method.
4334 (paintHorizontalLabel): Replaced by more efficient and clean
4336 (paintVerticalLabel): Replaced by more efficient and clean
4338 (paintLabels): Replaced by more efficient and clean
4340 (paint): Check if rectangles intersect with clip for maximum
4342 (recalculateIfInsetsChanged): Fixed. This method should
4343 recalculate only when the insets changed.
4344 (setThumbLocation): Repaint with a reasonable clip.
4345 (xPositionForValue): Made more clean and efficient.
4346 (yPositionForValue): Made more clean and efficient.
4347 * javax/swing/plaf/basic/BasicLookAndFeel.java
4348 (initComponenDefaults): Added Slider.horizontalSize,
4349 Slider.verticalSize, Slider.minimumHorizontalSize and
4350 Slider.minimumVerticalSize properties.
4351 * javax/swing/plaf/metal/MetalSliderUI.java
4352 (getTickLength): Add 1 for horizontal sliders and 3 for
4354 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4355 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4356 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4357 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4359 2006-10-12 Roman Kennke <kennke@aicas.com>
4362 * javax/swing/text/FlowView.java
4363 (FlowStrategy.layout): Preserve logical views from getting lost.
4364 (FlowStrategy.layoutRow): Fix line breaking.
4365 (FlowStrategy.adjustRow): Fix line breaking.
4366 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4367 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4368 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4369 (createView): Don't check index.
4370 (contains): New helper method.
4371 (reparent): New helper method.
4372 (layoutDirty): Removed unneeded field.
4373 (FlowView): Removed layoutDirty field init.
4374 (changedUpdate): Removed layoutDirty handling.
4375 (insertUpdate): Removed layoutDirty handling.
4376 (removeUpdate): Removed layoutDirty handling.
4377 (layout): Use isLayoutValid() rather than the layoutDirty field.
4378 * javax/swing/text/GlyphView.java
4379 (startOffset): Removed.
4380 (endOffset): Removed.
4381 (offset): New field.
4382 (length): New field.
4383 (GlyphView): Initialize new fields. Removed old fields.
4384 (createFragment): Create fragment with new relative offsets.
4385 (getEndOffset): Work with new relative offsets.
4386 (getStartOffset): Work with new relative offsets.
4387 * javax/swing/text/ParagraphView.java
4388 (Row.getStartOffset): Overidden to determine the minimum start
4389 offset from the children.
4390 (Row.getEndOffset): Overidden to determine the maximum end
4391 offset from the children.
4392 * javax/swing/text/html/BRView.java
4393 Make subclass of InlineView.
4394 (getBreakWeight): Fall back to super for Y_AXIS.
4396 2006-10-12 Roman Kennke <kennke@aicas.com>
4399 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4400 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4401 one that avoids faulty state that could cause division by zero
4404 2006-10-12 Roman Kennke <kennke@aicas.com>
4407 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4408 (paint): Determine correct icon. Added support for HTML label.
4409 Added small optimizations.
4410 (getPreferredSize): Only consider the buttons iconTextGap, and
4411 only when the text is not null.
4412 * javax/swing/plaf/basic/BasicLookAndFeel.java
4413 (initComponentDefaults): Fetch border for RadioButton from
4414 BasicButtons.getRadioButtonBorder().
4415 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4416 (paintFocus): Paint focus rectangle one pixel smaller.
4418 2006-10-12 Roman Kennke <kennke@aicas.com>
4421 * javax/swing/tree/AbstractLayoutCache.java
4422 (getNodeDimensions): Don't throw InternalError, but instead
4424 (getRowsForPaths): Check for null here.
4425 (isFixedRowHeight): Returns true when rowHeight > 0.
4426 (setSelectionModel): Set this as the row mapper for the selection
4428 * javax/swing/tree/VariableHeightLayoutCache.java
4429 (NodeRecord.NodeRecord): Initialize bounds field.
4430 (getBounds): Simply return the bounds field.
4431 (row2Node): Changed to be an ArrayList.
4432 (RECT_CACHE): New field. Caches a Rectangle instance.
4433 (countRows): Added y parameter and return value. The method
4434 now takes the current y position as parameter, and returns
4435 the updated y position.
4436 (getBounds): Fixed to return the correct bounds.
4437 (getPathForRow): Replaced by fixed implementation.
4438 (getPreferredHeight): Replaced by more efficient implementation.
4439 This simply fetches the last node record and returns its lower
4441 (getPreferredWidth): Added null check.
4442 (getVisibleChildCount): Added null check.
4443 (getVisiblePathsFrom): Added null check.
4444 (setExpandedState): Also expand the ancestors of the node
4446 (setModel): Set dirty flag rather than updating for real.
4447 (setNodeDimensions): Overridden to set the dirty flag.
4448 (setRowHeight): Overridden to set the dirty flag.
4449 (update): Don't special case the root here, this is done now
4452 2006-10-12 Roman Kennke <kennke@aicas.com>
4454 * javax/swing/JComponent.java
4455 (paintImmediately2): Added support for components which need
4456 to force themselves as paint root.
4457 (isPaintRoot): New method. This should be overridden by components
4458 which need to force themselves as paint root.
4459 * javax/swing/JViewport.java
4460 (isPaintRoot): Overridden to force the viewport as paint root
4461 when running in backingstore mode.
4463 2006-10-12 Roman Kennke <kennke@aicas.com>
4465 * javax/swing/tree/DefaultTreeSelectionModel.java
4466 (PathPlaceHolder): New inner class. Wraps a path and its status
4468 (selectedPaths): New field. A supporting datastructure.
4469 (tmpPaths): New field. A supporting datastructure.
4470 (DefaultTreeSelectionModel): Initialize the list selection model,
4471 the leadIndex and the supporting datastructures.
4472 (addPropertyChangeListener): Create changeSupport object lazily.
4473 (addSelectionPaths): Mostly rewritten to handle the different
4474 selection modes correctly.
4475 (addSelectionPath): Delegate to addSelectionPaths().
4476 (arePathsContiguous): Replaced with more efficient implementation
4478 (canPathBeAdded): Removed unneeded method.
4479 (canPathsBeAdded): Replaced with more efficient implementation.
4480 (clearSelection): Create correct event. Clear the fields correctly,
4481 including the supporting datastructures.
4482 (clone): Also clone the supporting datastructures and nullify
4483 changeSupport field.
4484 (getMaxSelectionRow): Delegate to list selection model.
4485 (getMinSelectionRow): Delegate to list selection model.
4486 (getPath): Removed unneeded method.
4487 (getPropertyChangeListeners): Handle null changeSupport field
4489 (getRow): Handle null rowMapper field correctly.
4490 (getSelectionRows): Handle invisible rows correctly.
4491 (insureRowContinuity): Replaced by more efficient and correct
4493 (isRowSelected): Delegate to list selection model.
4494 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4496 (removePropertyChangeListener): Handle null changeSupport field.
4497 (removeSelectionPaths): Mostly rewritten to handle the different
4498 selection modes correctly.
4499 (removeSelectionPath): Delegate to removeSelectionPaths().
4500 (resetRowSelection): Handle list selection model.
4501 (selectOne): Removed unneeded field.
4502 (setRowMapper): Reset the row selection.
4503 (setSelectionMode): Check for invalid mode and set to
4504 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4505 (setSelectionPaths): Mostly rewritten to handle the different
4506 selection modes correctly.
4507 (setSelectionPath): Delegate to setSelectionPaths().
4508 (updateLeadIndex): Made more efficient.
4510 2006-10-11 Francis Kung <fkung@redhat.com>
4512 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4513 (buffer, locked): New fields.
4514 (constructors): Initialize new variables.
4515 (createBuffer): New method.
4516 (draw): Implement custom composites.
4517 (drawComposite): New method.
4518 (drawGlyphVector): Implement custom composites.
4519 (drawImage): Implement custom composites.
4520 (drawRenderedImage): Implement custom composites.
4521 (fill): Implement custom composites.
4522 (getBufferCM): New method.
4523 (getNativeCM): New method.
4524 (updateBufferedImage): Fix premultiplication.
4525 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4526 (copy): Copy composite.
4527 (drawImage): Set background properly.
4528 (getBufferCM): New method.
4529 (setComposite): Reset alpha composite when using custom composite.
4530 * gnu/java/awt/peer/gtk/CairoSurface.java
4531 (cairoColorModel): New field.
4532 (nativeColorModel): Renamed.
4533 (constructor): Use renamed createCairoSampleModel method.
4534 (createCairoSampleModel): New method.
4535 (createNativeSampleModel): Renamed.
4536 (getBufferedImage): Use renamed cairoColorModel field.
4537 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4538 (gdkColorModel): New field.
4539 (createGdkSampleModel): New method.
4540 (getPixels): Added comments.
4541 (getSnapshot): Use GDK colour and sample models.
4542 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4543 (createBuffer): Use GDK colour and sample models.
4544 (getNativeCM): Added comments.
4545 * java/awt/image/BufferedImage.java
4546 (constructor): Set premultiplied flag properly.
4548 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4550 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4551 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4553 2006-10-10 Francis Kung <fkung@redhat.com>
4556 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4557 (createPath): Added isDraw parameter.
4558 (draw): Updated createPath call.
4559 (fill): Updated createPath call.
4561 2006-10-10 Tom Tromey <tromey@redhat.com>
4564 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4565 there is a stylesheet.
4567 2006-10-10 Roman Kennke <kennke@aicas.com>
4569 * java/awt/Toolkit.java
4570 (getDefaultTookit): Make method synchronized to avoid
4571 accidentally creating more than one toolkits from different
4574 2006-10-10 Roman Kennke <kennke@aicas.com>
4576 * java/awt/LightweightDispatcher.java
4577 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4578 (redispatch): Transfer the button to the redispatched event.
4580 2006-10-10 Francis Kung <fkung@redhat.com>
4582 * java/awt/image/ColorModel.java (coerceData): Implemented.
4584 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4586 * vm/reference/java/lang/VMClassLoader.java:
4587 (defineClassWithTransformers): Use proper class name format.
4589 2006-10-09 Gary Benson <gbenson@redhat.com>
4591 * java/net/ServerSocket.java
4592 (implAccept): Add security check.
4593 (accept): Close socket if security check fails.
4594 (setSocketFactory): Add security check and already-set check.
4596 2006-10-09 Roman Kennke <kennke@aicas.com>
4599 * javax/swing/JSplitPane.java
4600 (dividerLocation): New field. Stores the divider location.
4601 (JSplitPane): Initialize dividerLocation with -1.
4602 (addImpl): Removed unneeded local variables.
4603 (getDividerLocation): Manage dividerLocation in the JSplitPane
4604 class, not in the UI.
4605 (setDividerLocation): Manage dividerLocation in the JSplitPane
4606 class, not in the UI. Only call the UI method for notification.
4607 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4608 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4609 location from the JSplitPane. Honour the minimumSize, but only
4610 if the divider location hasn't been set explicitly.
4611 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4613 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4615 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4616 the divider location.
4617 (dividerLocationSet): New field.
4618 (dividerLocation): Removed field.
4619 (createActionMap): Fetch and set divider location on the JSplitPane.
4620 (getDividerLocation): Return the actual real divider location.
4621 (getMaximumSize): Removed unneeded cast.
4622 (getPreferredSize): Removed unneeded cast.
4623 (getMinimumSize): Removed unneeded cast.
4624 (installUI): Initialize dividerLocationSet with false.
4625 (uninstallUI): Initialize dividerLocationSet with false.
4626 (setDividerLocation): Set dividerLocationSet to true.
4628 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4630 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4631 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4632 convert jstring into char *.
4633 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4634 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4635 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4636 (getif_address): Added const modifier to second argument.
4637 (getif_index): Dito.
4639 2006-10-09 Roman Kennke <kennke@aicas.com>
4641 * javax/swing/JTree.java
4642 (isSelected): Added API docs.
4644 2006-10-09 Roman Kennke <kennke@aicas.com>
4646 * javax/swing/JTree.java
4647 (isSelected): Delegate to the selection model directly.
4649 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4651 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4652 sizeof_struct_kevent to _sizeof_struct_kevent.
4654 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4656 * tools/gnu/classpath/tools/rmic/RMICException.java:
4657 javadoc corrections, reformatted.
4659 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4661 * gnu/java/lang/InstrumentationImpl.java:
4662 Made constructor package visible.
4664 2006-10-05 Gary Benson <gbenson@redhat.com>
4666 * java/net/Socket.java
4667 (Socket): Perform security check on address not hostname.
4669 2006-10-04 Roman Kennke <kennke@aicas.com>
4671 * javax/swing/tree/VariableHeightLayoutCache.java
4672 (getBounds): When rect is null, create a new Rectangle.
4674 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4676 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4677 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4678 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4679 (cpnio_select): Use CPNIO_EXPORT.
4680 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4681 inline instead of extern inline, as newer GCCs changed their
4684 2006-10-04 Gary Benson <gbenson@redhat.com>
4686 * java/net/InetAddress.java: Updated javadoc.
4687 (<clinit>, getByLiteral): Throw InternalError on failures.
4689 2006-10-03 Francis Kung <fkung@redhat.com>
4691 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4692 (compCtx): New field for composite context.
4693 (copy): Copy composite.
4694 (dispose): Dispose of composite context.
4695 (getNativeCM): New method.
4696 (setComposite): Discard old composite context and set up new context.
4697 (setRenderingHints): Update composite context.
4698 * gnu/java/awt/peer/gtk/CairoSurface.java
4699 (nativeColorModel): New field, renamed from nativeModel.
4700 (nativeModel): Renamed field to nativeColorModel.
4701 (CairoSurface(int, int)): Call new method to create sample model.
4702 (createNativeSampleModel): New method.
4703 (getBufferedImage): Updated variable name.
4704 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4705 (buffer): New field.
4706 (createBuffer): New method.
4708 (drawComposite): New method.
4709 (drawGlyphVector): New method.
4710 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4711 (drawImage(Image, int, int, ImageObserver)): Check composite.
4712 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4714 (getNativeCM): New method.
4715 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4716 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4717 intermediary pixbuf to grab on-screen pixels.
4719 2006-10-03 Tom Tromey <tromey@redhat.com>
4722 * java/util/IdentityHashMap.java (tombstone): Removed.
4723 (emptyslot): Removed.
4724 (nullslot): New field.
4725 (IdentityHashMap): Don't fill array.
4726 (clear): Fill with null.
4727 (hash): Now final. Use linear probing.
4728 (xform): New method.
4729 (unxform): Likewise.
4730 (removeAtIndex): Likewise.
4731 (clone, containsKey, containsValue, entrySet, get, hashCode,
4732 keySet, put, remove, values): Updated.
4733 (IdentityIterator, IdentityEntry): Likewise.
4734 (writeObject): Likewise.
4736 2006-10-03 Tom Tromey <tromey@redhat.com>
4738 * java/util/Locale.java (hashcode): Updated javadoc.
4739 (hashcodeCache): Removed.
4741 (hashCode): Updated.
4742 (writeObject): New method.
4743 (readObject): Updated.
4745 2006-10-02 Francis Kung <fkung@redhat.com>
4747 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4748 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4749 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4750 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4751 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4752 pre-multiply data before drawing.
4753 (fillRect): Draw using regular fill() method.
4754 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4755 * gnu/java/awt/peer/gtk/CairoSurface.java
4756 (nativeModel): Use correct value for alpha premultiplication (true).
4757 * java/awt/image/BufferedImage.java
4758 (coerceData): Update isPremultiplied field.
4760 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4762 * gnu/classpath/ListenerData.java:
4763 New class for holding listener data.
4764 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4765 ListenerData class moved to its own file.
4766 * javax/management/MBeanServerDelegate.java,
4767 * javax/management/MBeanServerDelegateMBean.java,
4768 * javax/management/MBeanServerNotification.java:
4771 2006-10-02 Tania Bento <tbento@redhat.com>
4773 * java/ast/Rectangle.java:
4774 (Rectangle(Rectangle)): Do not throw NPE.
4775 (Rectangle(Point, Dimension)): Same.
4776 (Rectangle(Point)): Same.
4777 (Rectangle(Dimension)): Same.
4779 2006-09-29 Casey Marshall <csm@gnu.org>
4782 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4783 `AbstractSelectionKey.'
4784 (cancel, isValid): removed.
4785 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4786 (events): new field.
4787 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4789 (<clinit>): initialize those constants.
4790 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4791 (doSelect): deregister cancelled keys; remove keys attached to
4792 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4793 `events' buffer; reallocate `events' buffer if needed.
4794 (register): reallocate `events' buffer if needed.
4795 (reallocateBuffer): new method.
4798 2006-09-29 Roman Kennke <kennke@aicas.com>
4801 * javax/swing/JViewport.java
4802 (cinit): Renamed system property to gnu.swing.scrollmode
4803 to avoid bloat. Default to BACKINGSTORE, this is much
4805 (repaint): Forward repaint() to parent as is specified.
4807 2006-09-29 Tania Bento <tbento@redhat.com>
4809 * javax/swing/plaf/basic/BasicTableUI.java
4810 (getPreferredSize): The number of iterations for the for-loop should be
4811 the number of columns in the table's column model, not the number of
4812 columns of the table.
4813 * javax/swing/JTable.java
4814 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4815 lines that are not needed.
4816 (initializeLocalVars): dragEnabled should be set to false, not true.
4817 (getCellRenderer): Added a check to prevent an
4818 ArrayIndexOutOfBoundsException.
4819 (doLayout): The number of iterations for the for-loops should be the
4820 number of columns in the table's column model, not the number of columns
4823 2006-09-29 Roman Kennke <kennke@aicas.com>
4825 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4827 (isOptimized): Initialize with true.
4828 (paintRaster): Removed unneeded field.
4829 (shapeCache): New static field. Caches certain shapes for reuse.
4830 (computeIntersection): Removed unneeded casts.
4831 (drawArc): Use shape cache.
4832 (drawImage): Removed unneeded statement.
4833 (drawLine): Use shape cache. Pass untranslated coordinates
4835 (drawOval): Use shape cache.
4836 (drawPolygon): Use shape cache.
4837 (drawRect): Overridden to provide accelerated rectangle drawing
4838 if possible and to use the shape cache.
4839 (drawRoundRect): Use shape cache.
4840 (fillArc): Use shape cache.
4841 (fillOval): Use shape cache.
4842 (fillPolygon): Use shape cache.
4843 (fillRect): Pass untranslated coordinates to rawFillRect().
4845 (fillRoundRect): Use shape cache.
4846 (fillScanlineAA): Removed unneeded statement.
4847 (fillScanline): Updated API docs.
4848 (fillShapeAntialias): Removed unnecessary cast.
4849 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4850 (fillShape): Updated API docs.
4851 (getShapeCache): New helper method.
4852 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4853 certain shapes for reuse in AbstractGraphics2D.
4855 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4857 * javax/management/BadBinaryOpValueExpException.java:
4858 (getExp()): Implemented.
4859 * javax/management/MBeanConnection.java:
4860 Renamed to MBeanServerConnection.
4861 * javax/management/MBeanServer.java:
4862 (setAttribute(Attribute)): Fixed...
4863 (setAttribute(ObjectName,Attribute)): to this.
4864 * javax/management/MBeanServerConnection.java:
4865 Renamed from MBeanConnection.
4866 * javax/management/QueryExp.java:
4867 Extend Serializable.
4868 * javax/management/ValueExp.java:
4870 * javax/management/loading/ClassLoaderRepository.java:
4871 (loadClass(String)): Throw ClassNotFoundException.
4872 (loadClassBefore(ClassLoader,String)): Likewise.
4873 (loadClassWithout(String, ClassLoader): Fixed...
4874 (loadClassWithout(ClassLoader,String)): to this.
4876 2006-09-28 Roman Kennke <kennke@aicas.com>
4878 * javax/swing/tree/DefaultTreeCellRenderer.java
4879 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4880 property from UIManager.
4881 (paint): Rewritten to use super's implementation and only paint
4882 background and focus indicator before.
4883 (paintFocus): New helper method.
4884 (getXOffset): New helper method.
4886 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4888 * javax/management/BadBinaryOpValueExpException.java,
4889 * javax/management/MBeanConnection.java,
4890 * javax/management/MBeanServer.java,
4891 * javax/management/ObjectInstance.java:
4893 * javax/management/ObjectName.java:
4894 (setMBeanServer(MBeanServer)): Implemented.
4895 * javax/management/QueryExp.java,
4896 * javax/management/ValueExp.java,
4897 * javax/management/loading/ClassLoaderRepository.java:
4900 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4902 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4904 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4906 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4907 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4908 * gnu/java/nio/EpollSelectorImpl.java:
4909 (doSelect): Use Integer.valueOf() instead of constructor call.
4910 (register): Use Integer.valueOf() instead of constructor call.
4912 2006-09-27 Roman Kennke <kennke@aicas.com>
4914 * java/awt/Container.java
4915 (addContainerListener): Activate newEventsOnly for the component.
4916 Ignore null listeners.
4918 2006-09-27 Roman Kennke <kennke@aicas.com>
4920 * java/awt/EventQueue.java
4921 (Queue): New inner class. Implements the actual queue.
4922 (LOW_PRIORITY): New constant field.
4923 (NORM_PRIORITY): New constant field.
4924 (queueHead): Removed. Moved into Queue.
4925 (queueTail): Removed. Moved into Queue.
4926 (queues): New field.
4927 (EventQueue): Initialize two internal queues, one for
4928 normal events, one for low priority events.
4929 (getNextEventImpl): New helper method, fetches the next event.
4930 (getNextEvent): Use getNextEventImpl() for fetching the event.
4931 (peekEvent): Use getNextEventImpl() for fetching the event.
4932 (peekEvent(int)): Search for event in all queues.
4933 (postEventImpl(AWTEvent)): Moved actual posting into
4934 postEventImpl(AWTEvent,int). Prioritize events here.
4935 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4936 event into correct queue. Re-enable event coalescing.
4937 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4938 * javax/swing/RepaintManager.java
4939 (RepaintWorkerEvent): New internal class. This is a low priority
4940 event for the repaint worker.
4941 (addDirtyRegion): Use new internal invokeLater() for sending
4942 a low priority event.
4943 (addInvalidComponent): Use new internal invokeLater() for sending
4944 a low priority event.
4945 (commitBuffer): Added some null checks.
4946 (invokeLater): New helper method. Sends a low priority
4947 repaint worker event on the event queue.
4949 2006-09-27 Roman Kennke <kennke@aicas.com>
4953 * javax/swing/plaf/basic/BasicButtonUI.java
4954 (cachedInsets): New field.
4955 (installListeners): Fire synthetic property change to initialize
4956 TEXT_LAYOUT_CACHE for the button because the font has been
4958 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4959 (paint): Use cached insets.
4960 (paintText): Let new method forward to old one, not vice versa.
4961 * javax/swing/plaf/basic/BasicMenuItemUI.java
4962 (defaultAcceleratorLabelGap): Removed unused field.
4963 (MenuGap): Removed unused field.
4964 (propertyChangeListener): Made private.
4965 (getAcceleratorRect): Removed unused method.
4966 (getAcceleratorText): Removed unused method.
4967 (getPath): Removed unnecessary cast.
4968 (installListeners): Fire synthetic property change to initialize
4969 TEXT_LAYOUT_CACHE for the button because the font has been
4971 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4972 (layoutMenuItem): Removed unused statements.
4974 2006-09-27 Roman Kennke <kennke@aicas.com>
4977 * javax/swing/tree/DefaultTreeModel.java
4978 (isLeaf): Check if the node allows children when
4979 asksAllowsChildren is true, otherwise fall back
4980 to return the node's leaf property.
4982 2006-09-27 Mario Torre <neugens@limasoftware.net>
4984 * scripts/check_jni_methods.sh: removed methods from the
4986 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4987 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4988 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4989 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4990 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4991 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4992 to better follow the GNU style.
4993 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4994 regenerated header file for GConfNativePeer.
4996 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4998 * INSTALL: Added information about grmic being built when ASM
4999 is available, added information about gconf dependency, indented
5000 Qt4 dependency section.
5001 * configure.ac: Added information about grmic being built when ASM
5004 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5006 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5007 DeleteGlobalRef on a local ref.
5009 2006-09-24 Mario Torre <neugens@limasoftware.net>
5011 * scripts/check_jni_methods.sh: added two new methods in the
5013 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5015 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5016 * native/jni/gconf-peer/GConfNativePeer.c:
5017 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5018 refacored method name, renamed from
5019 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5020 Added code to unescape escaped GConf key names.
5021 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5022 refacored method name, renamed from
5023 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5024 Added code to unescape escaped GConf key names.
5025 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5027 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5029 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5030 version javadoc tag.
5031 (escapeString): new method.
5032 (unescapeString): likewise.
5033 (gconf_escape_key): new native method.
5034 (gconf_unescape_key): likewise.
5035 (gconf_client_suggest_sync): update native method signature, now
5036 explicity throws BackingStoreException.
5037 (gconf_client_all_nodes): update native method signature, now
5038 explicity throws BackingStoreException. Refactored method name,
5039 renamed from gconf_client_gconf_client_all_nodes.
5040 (gconf_client_all_keys): update native method signature, now
5041 explicity throws BackingStoreException. Refactored method name,
5042 renamed from gconf_client_gconf_client_all_keys.
5043 (getKeys): refactored to use the new method name
5044 gconf_client_all_keys.
5045 (getChildrenNodes): refactored to use the new method name
5046 gconf_client_all_nodes.
5047 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5048 version javadoc tag.
5049 (GConfBasedPreferences): Added code to escape node names from
5050 invalid characters so that GConf now accept invalid node names.
5051 (GConfBasedPreferences): Moved code to register the current
5052 node to the list of nodes watched by GConf outside the constructor.
5053 (childSpi): Added code to register the current node to the
5054 list of nodes watched by GConf.
5055 (getGConfKey): Added code to escape key names from
5056 invalid characters so that GConf now accept invalid key names.
5058 2006-09-26 Tom Tromey <tromey@redhat.com>
5060 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5061 call mkdirs in output-directory case.
5062 (getPrintStream): Create output directory.
5063 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5066 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5068 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5069 Accept three additional arguments.
5070 (writePreambleImpl): New method.
5071 (getPrintStreamImpl): Likewise.
5072 (printClass): Adapted to use new methods in Printer superclass.
5073 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5074 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5075 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5076 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5078 (getParser): Add support for -o option.
5079 Check that only one of -d or -o is defined.
5080 Add support for -jni option.
5081 Add support for -force option.
5082 (makeOutputFile): New method.
5083 (writeHeaders): Removed File argument from signature.
5084 (run): Take into account newly added fields.
5085 Invoke concrete PrintStream implementations with augmented constructors.
5086 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5087 (isDirectory): Likewise.
5089 (wrotePreamble): Likewise.
5090 (Printer): Changed ctor to accept three additional arguments.
5091 (printClass): Changed signature to accept one ClassWrapper argument.
5092 (writePreambleImpl): New abstract method.
5093 (getPrintStreamImpl): Likewise.
5094 (getPrintStream): New method.
5095 (writePreamble): Likewise.
5097 2006-09-26 Tania Bento <tbento@redhat.com>
5099 * java/awt/GridLayout.java
5100 (toString): There is no common before hgap.
5101 * java/awt/Rectangle.java
5102 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5103 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5105 (Rectangle(Point)): Throw NPE if Point is null.
5106 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5108 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5110 * javax/swing/plaf/metal/MetalIconFactory.java
5111 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5112 returned by getShift(),
5113 (FileIcon16.getShift): Updated API docs,
5114 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5115 returned by getShift(),
5116 (FolderIcon16.getShift): Updated API docs,
5117 (TreeFolderIcon.getShift): Likewise,
5118 (TreeLeafIcon.getShift): Likewise.
5120 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5122 * javax/swing/plaf/metal/MetalIconFactory.java
5123 (FileIcon16.paintIcon): Fetch colors from look and feel,
5124 (FolderIcon16.paintIcon): Likewise.
5126 2006-09-25 Casey Marshall <csm@gnu.org>
5128 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5130 (write): revert back to using `writeGathering.'
5131 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5132 the first buffer that has data remaining, and start at that one.
5134 2006-09-25 Tom Tromey <tromey@redhat.com>
5136 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5139 2006-09-25 Tom Tromey <tromey@redhat.com>
5141 * tools/.cvsignore: Updated.
5143 2006-09-25 Tom Tromey <tromey@redhat.com>
5146 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5147 (Encoder.canEncode): Likewise.
5148 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5149 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5151 (Encoder.canEncode): Likewise.
5152 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5154 (Encoder.canEncode): Likewise.
5156 2006-09-25 Tom Tromey <tromey@redhat.com>
5158 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5161 2006-09-25 Francis Kung <fkung@redhat.com>
5163 * java/awt/image/ColorModel.java
5164 (coerceData): Made abstract.
5165 (coerceDataWorker): New protected method.
5166 * java/awt/image/ComponentColorModel.java
5167 (coerceData): Return new instance of proper ColorModel.
5168 * java/awt/image/DirectColorModel.java
5169 (coerceData): Return new instance of proper ColorModel.
5170 * java/awt/image/IndexColorModel.java
5171 (coerceData): New method.
5173 2006-09-24 Casey Marshall <csm@gnu.org>
5175 * gnu/java/nio/FileChannelImpl.java
5176 (read): call `read' in a loop, don't use `readScattering.'
5177 (write): call `write' in a loop, don't use `writeGathering.'
5179 2006-09-24 Mark Wielaard <mark@klomp.org>
5181 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5183 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5185 * java/nio/channels/spi/AbstractSelectableChannel.java
5186 (register): Set interestOps and attachment when the key already
5189 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5191 * java/net/ServerSocket.java
5192 (bind(SocketAddress,int)): Added support for null address.
5193 Throw proper exception if already bound.
5194 Handle unresolved addresses correctly. Ignore exceptions that
5195 happen during close in error path (to prevent losing the original
5198 2006-09-24 Mark Wielaard <mark@klomp.org>
5200 Suggested by Aaron M. Ucko <ucko@debian.org>
5202 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5204 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5206 * java/nio/channels/spi/AbstractSelectableChannel.java
5207 (implCloseChannel): Cancel all keys after closing the channel.
5209 2006-09-22 Casey Marshall <csm@gnu.org>
5211 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5212 after we delete them.
5213 (selectedKeys): return an empty set if nothing's been selected.
5214 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5215 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5216 throw an exception on EBADF.
5217 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5218 throw exception on EINTR, just return 0.
5220 2006-09-22 Casey Marshall <csm@gnu.org>
5222 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5223 remove `const' from `filename.'
5224 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5226 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5228 2006-09-22 Casey Marshall <csm@gnu.org>
5230 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5231 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5232 allocate `filename,' and handle changes to `cpio_readDir.'
5233 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5234 available; copy the filename into the destination buffer; return
5235 an error code if readdir returns NULL, but errno is 0.
5236 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5237 parameter to `const char *.'
5239 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5241 * javax/management/ObjectName.java:
5244 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5246 * resource/gnu/classpath/tools/orbd: New directory.
5247 * resource/gnu/classpath/tools/rmic: Likewise.
5248 * resource/gnu/classpath/tools/rmid: Likewise.
5249 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5250 * resource/gnu/classpath/tools/tnameserv: Likewise.
5251 * tools/gnu/classpath/tools/giop: Move contents to...
5252 * tools/gnu/classpath/tools/orbd,
5253 tools/gnu/classpath/tools/tnameserv: New directories.
5254 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5255 * tools/gnu/classpath/tools/rmic: New directory.
5256 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5257 * tools/gnu/classpath/tools/rmid: New directory.
5258 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5259 * tools/gnu/classpath/tools/rmiregistry: New directory.
5260 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5261 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5262 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5263 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5265 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5267 * tools/gnu/classpath/tools/orbd/Main.java,
5268 tools/gnu/classpath/tools/orbd/Messages.java,
5269 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5270 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5271 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5272 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5273 tools/gnu/classpath/tools/rmic/CompilationError.java,
5274 tools/gnu/classpath/tools/rmic/Generator.java,
5275 tools/gnu/classpath/tools/rmic/GiopIo.java,
5276 tools/gnu/classpath/tools/rmic/HashFinder.java,
5277 tools/gnu/classpath/tools/rmic/Main.java,
5278 tools/gnu/classpath/tools/rmic/Messages.java,
5279 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5280 tools/gnu/classpath/tools/rmic/RMICException.java,
5281 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5282 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5283 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5284 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5285 tools/gnu/classpath/tools/rmic/Variables.java,
5286 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5287 tools/gnu/classpath/tools/rmic/templates,
5288 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5289 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5290 tools/gnu/classpath/tools/rmid/Main.java,
5291 tools/gnu/classpath/tools/rmid/Messages.java,
5292 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5293 tools/gnu/classpath/tools/rmiregistry/Main.java,
5294 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5295 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5296 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5297 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5298 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5299 tools/gnu/classpath/tools/tnameserv/Main.java,
5300 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5301 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5302 RMIC.java from cp-tools.
5303 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5304 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5305 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5307 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5308 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5310 (start): New method.
5311 * tools/Makefile.am: Add build support for new tool wrappers.
5312 * tools/gorbd.in: New file.
5313 * tools/grmic.in: Likewise.
5314 * tools/grmid.in: Likewise.
5315 * tools/grmiregistry.in: Likewise.
5316 * tools/gtnameserv.in: Likewise.
5317 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5318 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5320 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5321 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5322 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5324 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5327 * gnu/java/util/regex/RETokenRepeated.java
5328 (findMatch): Rewriten without using recursive calls,
5329 (FindMatchControlStack): New class,
5330 (FindMatchControl): New class,
5331 (TryAnotherResult): New class,
5332 (tryAnother): New method.
5334 2006-09-22 Gary Benson <gbenson@redhat.com>
5336 * java/net/SocketPermission.java
5337 (processHostport): Cope with IPv6 addresses with a
5338 one-digit first component.
5340 2006-09-22 Roman Kennke <kennke@aicas.com>
5342 * java/awt/Component.java
5343 (enableEvents): Set newEventsOnly flag.
5344 * java/awt/Container.java
5345 (dispatchEventImpl): Consume event if lightweight dispatcher
5346 dispatched the event. Don't call processEvent() here, this
5347 is already done in Component.dispatchEventImpl(). For
5348 heavyweights or when the lightweight dispatcher could
5349 not dispatch, fall back to calling super.
5350 (dispatchNoLightweight): New helper method to avoid
5351 recursivly calling the lightweight dispatcher.
5352 * java/awt/LightweightDispatcher.java
5353 (dragButton): Removed field.
5354 (dragTarget): Removed field.
5355 (mouseEventTarget): New field.
5356 (convertPointToChild): Removed method.
5357 (dispatchEvent): Don't depend on component beeing
5359 (findTarget): Improved algorithm for finding a target.
5360 Before we went down to the deepest component and went
5361 up again to find a suitable target. Now we go
5362 down only once, without going up.
5363 (handleMouseEvent): Broke method down into some smaller
5365 (isDragging): New helper method.
5366 (isMouseListening): New helper method.
5367 (redispatch): New helper method.
5368 (trackEnterExit): New helper method.
5370 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5372 * javax/swing/SizeSequence.java
5373 (getSize): Return 0 if index is out of bounds.
5375 2006-09-21 Tom Tromey <tromey@redhat.com>
5377 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5378 (PathOptionGroup): Make -I a joined option.
5379 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5380 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5381 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5382 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5383 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5384 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5385 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5386 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5387 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5388 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5389 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5390 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5391 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5392 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5393 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5394 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5395 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5396 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5397 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5398 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5399 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5401 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5402 * tools/gnu/classpath/tools/common/Messages.java: New file.
5403 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5404 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5406 (ClasspathToolParser): Add -J option here.
5407 (ClasspathToolParser): Call other constructor in this class.
5408 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5409 Handle joined options.
5410 (handleShortOptions): Likewise.
5411 (handleShortOption): Removed.
5412 (finalGroup): New field.
5413 (Parser): Initialize new field. Don't add -J option.
5414 (addFinal): New method.
5415 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5417 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5418 (Option): Check short option for validity.
5419 (Option): New constructors.
5420 (joined): New field.
5422 2006-09-21 csm <csm@pollux.local>
5424 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5425 `InterruptedIOException;' try again if it gets thrown.
5426 (receive): likewise, but re-throw `SocketTimeoutException.'
5427 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5428 if we have nothing to select.
5430 2006-09-21 Francis Kung <fkung@redhat.com>
5432 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5433 (getLogicalBounds): Respect glyph transformations.
5434 (getGlyphOutline): Added null pointer check.
5435 (getGlyphTransform): Do not generate identity transform (API permits null).
5436 (setGlyphPosition): Do not invalidate transform.
5437 (setGlyphTransform): Do not modify glyph position.
5439 2006-09-21 Francis Kung <fkung@redhat.com>
5441 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5443 2006-09-21 Francis Kung <fkung@redhat.com>
5445 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5446 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5447 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5449 2006-09-21 Tania Bento <tbento@redhat.com>
5451 * javax/swing/JTabbedPane.java:
5452 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5453 (setModel): A ChangeListener should be created only if there does not
5454 currently exist one.
5456 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5458 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5459 (MaximizeAction.actionPerformed): Change icon on maxButton.
5461 2006-09-21 Roman Kennke <kennke@aicas.com>
5463 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5464 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5465 Use more efficient getViewPosition() and getViewSize() methods
5466 to avoid creating a rectangle.
5467 (HSBChangeListener.stateChanged): Update the view position
5468 unconditionally. Let the Viewport figure out if something
5470 (VSBChangeListener.stateChanged): Update the view position
5471 unconditionally. Let the Viewport figure out if something
5473 * javax/swing/JViewport.java
5474 (ViewListener.componentResized): Fire state change, because
5475 the extentSize changes.
5476 (extentSize): Removed unneeded field.
5477 (viewSize): Removed unneeded field.
5478 (getExtentSize): Return the viewport's size here.
5479 (getViewRect): Reformatted.
5480 (getViewSize): Reordered for only one return statement.
5481 (paintImmediately2): Fixed up javadoc.
5482 (paint): Removed unneeded statement.
5483 (setExtentSize): Set viewport size and check for actual change
5485 (setViewPosition): Simplified condition. Set scrollUnderway
5486 true and don't set isViewSizeSet. Avoid creating one Point
5488 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5490 * javax/swing/JScrollBar.java
5491 (ScrollBarListener): New class. Forwards change events from
5492 the model as adjustment events.
5493 (sbChangeListener): New field.
5494 (JScrollBar): Install listener on new model.
5495 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5497 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5498 method to allow custom isAdjusting value.
5499 (setMaximum): Only forward to model.
5500 (setMinimum): Only forward to model.
5501 (setValue): Only forward to model.
5502 (setVisibleAmount): Only forward to model.
5503 (setValues): Only forward to model.
5504 (setModel): Update the change listener.
5506 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5508 * java/util/Formatter.java (basicIntegralConversion): Removed
5509 check for ZERO && !LEFT_JUSTIFY.
5511 2006-09-20 Roman Kennke <kennke@aicas.com>
5514 * javax/swing/plaf/metal/DefaultMetalTheme.java
5515 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5516 (BOLD_CONTROL_TEXT_FONT): New constant field.
5517 (PLAIN_MENU_TEXT_FONT): New constant field.
5518 (BOLD_MENU_TEXT_FONT): New constant field.
5519 (controlTextFont): Removed.
5520 (menuTextFont): Removed.
5521 (CONTROL_TEXT_FONT): New constant field.
5522 (MENU_TEXT_FONT): New constant field.
5523 (getControlTextFont): Use getFont() helper method for fetching
5525 (getMenuTextFont): Use getFont() helper method for fetching
5527 (getFont): New helper method.
5528 (isBoldMetal): New helper method.
5530 2006-09-20 Casey Marshall <csm@gnu.org>
5532 * NEWS: mention epoll selector along with the kqueue one.
5534 2006-09-20 Casey Marshall <csm@gnu.org>
5536 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5537 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5539 2006-09-20 Francis Kung <fkung@redhat.com>
5542 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5543 (getGlyphTransform): Use translation instead of scale.
5544 (performDefaultLayout): Increment position values instead of resetting, and
5545 pre-increment instead of post-increment.
5546 (setGlyphTransform): Handle null case with identity transform.
5548 2006-09-20 Casey Marshall <csm@gnu.org>
5550 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5551 (AC_CHECK_FUNCS): check for `epoll_create.'
5552 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5553 * gnu/java/nio/EpollSelectorImpl.java: new file.
5554 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5556 (openSelector): return epoll selector if requested and available.
5557 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5558 (gnu_java_nio_EpollSelectorImpl.h): new target.
5559 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5560 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5561 gnu_java_nio_EpollSelectorImpl.c.
5562 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5564 2006-09-20 Casey Marshall <csm@gnu.org>
5566 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5568 (isConnected): return false if `connectionPending' is true.
5570 2006-09-20 Francis Kung <fkung@redhat.com>
5573 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5574 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5575 (getGlyphOutline): Call getGylphTransform to generate transform.
5576 (getGylphPosition): Read position directly out of array.
5577 (getGlyphPositions): Read positions directly out of array.
5578 (getGlyphTransform): Generate transform based on gylphPositions array.
5579 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5580 (setGlyphPosition): Set position directly into array.
5581 (setGlyphTransform): Update positions array as well.
5583 2006-09-20 David Daney <ddaney@avtrex.com>
5586 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5587 default content-type for POST method.
5589 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5591 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5592 (BasicRadioButtonUI): Don't fetch icon here,
5593 (installDefaults): Initialise icon here,
5594 (getDefaultIcon): Just return icon.
5596 2006-09-20 Mark Wielaard <mark@klomp.org>
5598 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5599 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5600 (EXTRA_DIST): Include javanio.c.
5602 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5604 * java/awt/geom/RoundRectangle2D.java:
5605 (getPathIterator): Reimplemented,
5606 and updated various API doc comments.
5608 2006-09-20 Roman Kennke <kennke@aicas.com>
5610 * java/awt/Container.java
5611 (addImpl): Set the new component's parent after it has been
5612 added to the array. Call addNotify() and invalidate()
5613 after the component has been added, so that the peer
5614 gets to know about the component structure when it is created.
5615 * java/awt/Window.java
5616 (dispatchEventImpl): Only revalidate when window is resized,
5617 let the other stuff be processed by the superclass.
5618 (dispose): Post WINDOW_CLOSED event only when some listener
5619 is registered or event is explicitly enabled.
5620 (show): Post WINDOW_OPENED event when appropriate.
5622 2006-09-20 Roman Kennke <kennke@aicas.com>
5624 * java/awt/Component.java
5625 (addNotify): Invalidate here. Fetch peer font.
5626 (getFont): Delegate to helper method, to protect from
5627 overriding client code. Lock the tree while fetching the font.
5628 (getFontImpl): New helper method. Moved code from getFont() in
5630 (removeNotify): Nullify peerFont too.
5631 (setFont): Synchronize on tree and component to avoid threading
5632 issues. Update the peerFont correctly.
5633 (validate): Update the peer font if necessary, before validating.
5634 (getGraphics): Revert to recursive graphics fetching.
5635 Set component font on the Graphics object.
5636 (translateEvent): Removed unnecessary cast.
5637 * java/awt/Container.java
5638 (invalidateTree): Made final and private. Made implementation
5639 slightly more efficient.
5640 (setFont): Get old and new font via getFont() to account for
5641 the real font, and only invalidate the tree when they are not
5642 the same and not equal.
5643 (visitChild): Set the font of the child on the component graphics.
5644 * java/awt/Frame.java
5645 (setMenuBar): Create local reference of peer for thread safety.
5646 Only call simple invalidate, not invalidateTree().
5648 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5651 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5652 (constructor): Copy image field.
5654 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5656 * javax/swing/JMenuBar.java
5657 (getHelpMenu): Implemented to throw an Error, and added API docs,
5658 (getMargin): Added API docs,
5659 (setMargin): Likewise.
5661 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5663 * javax/swing/AbstractButton.java
5664 (AbstractButton): Don't call updateUI(),
5665 * javax/swing/JButton.java
5666 (JButton(String, Icon)): Call setModel() before init(),
5667 * javax/swing/JMenuItem.java
5668 (JMenuItem()): Delegate to another constructor,
5669 (JMenuItem(Icon)): Likewise,
5670 (JMenuItem(Action)): Set model,
5671 (JMenuItem(String, Icon)): Likewise,
5672 * javax/swing/JToggleButton.java
5673 (init): Call setModel() before init().
5675 2006-09-19 Mark Wielaard <mark@klomp.org>
5678 * java/util/logging/LogManager.java (addLogger): Always check for
5679 existing children of a new Logger.
5681 2006-09-19 Roman Kennke <kennke@aicas.com>
5683 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5684 (HSBChangeListener.stateChanged): Moved handling of header to
5685 syncScrollPaneWithViewport().
5686 (VSBChangeListener.stateChanged): Moved handling of header to
5687 syncScrollPaneWithViewport().
5688 (ViewportChangedHandler.stateChanged): Removed unused statements.
5689 (syncScrollPaneWithViewport): Added null checks. Use setValues
5690 rather then the single setter methods to avoid multiple
5691 adjustments and side effects. Also snyc the headers here.
5692 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5693 (uninstallUI): Removed unnecessary cast and this qualifier as well
5694 as the call to super.
5696 2006-09-19 Gary Benson <gbenson@redhat.com>
5698 * java/net/ResolverCache.java: New class (a DNS cache).
5699 * java/net/InetAddress.java
5700 (internalGetCanonicalHostName, getAllByName): Use the above.
5702 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5704 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5705 * java/net/ServerSocket.java
5707 (bind): Set port field.
5708 (close): Set impl to null.
5709 (isClosed): Check impl and channel instead of using VMChannel.
5710 (toString): Use port field and getLocalPort() method.
5711 * java/net/Socket.java
5712 (isClosed): Check impl and channel instead of using VMChannel.
5714 2006-09-18 Tom Tromey <tromey@redhat.com>
5716 * java/util/concurrent/CopyOnWriteArrayList.java
5717 (CopyOnWriteArrayList): New constructor.
5719 2006-09-18 Casey Marshall <csm@gnu.org>
5721 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5722 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5724 2006-09-18 Tom Tromey <tromey@redhat.com>
5726 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5727 isConnected): Removed old comment.
5728 (getRemoteSocketAddress): Uncommented.
5729 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5730 setTrafficClass, getTrafficClass, setReuseAddress,
5731 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5732 isOutputShutdown): Uncommented.
5734 2006-09-18 David Pirkle <dpirkle@symyx.com>
5737 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5738 input stream during resolution.
5740 2006-09-18 Roman Kennke <kennke@aicas.com>
5742 * java/awt/LightweightDispatcher.java
5743 (findTarget): Correctly translate child coordinates.
5744 Use Component.eventTypeEnabled() for checking if a component
5745 has a certain event enabled.
5746 (handleMouseEvent): Find the correct mouse event target.
5747 Use Component.eventTypeEnabled() for checking if a component
5748 has a certain event enabled.
5750 2006-09-18 Roman Kennke <kennke@aicas.com>
5752 * java/awt/Component.java
5753 (show): Test for the peer beeing lightweight directly.
5754 (paintAll): Validate before painting. Don't paint when not
5755 showing. Call peer.paint() when the component is heavyweight.
5756 (repaint): Delegate to the parent when lightweight, rather
5757 than skipping to the nearest heavyweight.
5758 (createImage): Added null check to prevent NPE.
5759 (dispatchEvent): Moved old event dispatching and toolkit
5760 event dispatching to dispatchEventImpl.
5761 (addComponentListener): Don't enable event. Only add listener
5762 when not null. Switch to new event dispatching only.
5763 (addFocusListener): Likewise.
5764 (addHierarchyListener): Likewise.
5765 (addHierarchyBoundsListener): Likewise.
5766 (addKeyListener): Likewise.
5767 (addMouseListener): Likewise.
5768 (addMouseMotionListener): Likewise.
5769 (addMouseWheelListener): Likewise.
5770 (addInputMethodListener): Likewise.
5771 (coalesceEvents): For mouse events coalesce them only when
5772 their modifiers are equal. For paint events coalesce the events
5773 when one contains the other, without going through complicated
5775 (dispatchEventImpl): Moved old event dispatching and toolkit
5776 event dispatching to dispatchEventImpl.
5777 (coalescePaintEvents): Removed.
5778 (HeavyweightInLightweightListener.componentHidden):
5780 * java/awt/Container.java
5781 (addImpl): Don't enable events on lightweights.
5782 (remove): Reordered operations. Don't remove any listeners.
5783 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5784 Only removeNotify() when peer is != null. Only invalidate if
5785 not already invalid. Only fire ContainerEvent if there is
5786 an interested listener or the event is enabled. Dispatch this
5787 event directly without the event queue.
5788 (removeAll): Likewise.
5789 (paintComponents): Only paint when showing. Also paint heavyweights.
5790 Don't paint the container itself.
5791 (removeNotify): Create local variables for improved thread safety.
5792 (addNotifyContainerChildren): Don't enable events for lightweights.
5794 2006-09-18 Roman Kennke <kennke@aicas.com>
5796 * java/awt/EventQueue.java
5797 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5798 (next_in): Removed obsolete field.
5799 (next_out): Removed obsolete field.
5800 (queueHead): New field. Markes the head of the queue.
5801 (queueTail): New field. Markes the tail of the queue.
5802 (queue): Removed obsolete field.
5803 (EventQueue): Documented empty block.
5804 (getNextEvent): Changed array based implementation to single-linked
5805 list based implementation.
5806 (invokeAndWait): Use an Object as synchronization object rather
5807 than the current thread.
5808 (peekEvent(int)): Changed array based implementation to single-linked
5809 list based implementation.
5810 (peekEvent()): Changed array based implementation to single-linked
5811 list based implementation.
5812 (pop()): Changed array based implementation to single-linked
5813 list based implementation.
5814 (postEvent): Foward to postEventImpl.
5815 (postEventImpl): Changed array based implementation to single-linked
5816 list based implementation.
5817 (push): Changed array based implementation to single-linked
5818 list based implementation.
5819 * java/awt/AWTEvent.java
5820 (queueNext): New field. Implements a single-linked list for
5823 2006-09-17 Mark Wielaard <mark@klomp.org>
5825 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5826 resource from HTMLEditorKit.class.
5828 2006-09-17 Mark Wielaard <mark@klomp.org>
5830 * javax/swing/plaf/basic/BasicToolBarUI.java
5831 (setBorderToNonRollover): Check whether border is null.
5832 (setBorderToRollover): Likewise.
5834 2006-09-17 Mark Wielaard <mark@klomp.org>
5836 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5838 2006-09-17 Mark Wielaard <mark@klomp.org>
5840 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5841 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5842 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5843 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5844 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5846 2006-09-17 Casey Marshall <csm@gnu.org>
5848 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5851 2006-09-17 Chris Burdess <dog@gnu.org>
5853 Fixes PR 27610 27687.
5854 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5855 * gnu/xml/transform/SAXTemplatesHandler.java,
5856 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5857 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5858 SAXTransformerFactory.
5860 2006-09-16 Casey Marshall <csm@gnu.org>
5863 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5864 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5866 (HAVE_INET6): define if IPv6 is supported.
5867 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5868 (native_fd): removed.
5870 (<init>): throw IOException; initialize fields.
5871 (finalize): removed.
5872 (getNativeFD): removed.
5873 (bind): use `PlainSocketImpl.bind.'
5874 (create): use `PlainSocketImpl.initSocket.'
5875 (disconnect): use `PlainSocketImpl.disconnect.'
5876 (getLocalPort): new method.
5877 (send): use `VMChannel.send.'
5878 (receive): use `VMChannel.receive.'
5879 (setOption): use `PlainSocketImpl.setOption.'
5880 (getOption): use `PlainSocketImpl.getOption.'
5881 (close): use `VMChannel.State.close.'
5882 (join): use `PlainSocketImpl.join.'
5883 (leave): use `PlainSocketImpl.leave.'
5884 (joinGroup, leaveGroup): implemented.
5885 * gnu/java/net/PlainSocketImpl.java: make non-final.
5886 (native_fd): removed.
5888 (channel): new field.
5889 (<init>): initialize `impl.'
5890 (finalize, getNativeFD): removed.
5891 (setOption): use `PlainSocketImpl.setOption.'
5892 (getOption): use `PlainSocketImpl.getOption.'
5893 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5894 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5895 (create): create `channel,' initialize `impl's native state.
5896 (connect): use `connect(SocketAddress, int).'
5897 (connect): use `SocketChannelImpl.connect;' initialize `address'
5899 (bind): use `VMPlainSocketImpl.bind.'
5900 (listen): use `VMPlainSocketImpl.listen.'
5901 (accept): use `SocketChannelImpl.accept.'
5902 (available): use `VMChannel.available.'
5903 (close): use `PlainSocketImpl.close.'
5904 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5905 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5906 getPort): new methods.
5907 (SocketInputStream.read): use `VMChannel.read.'
5908 (SocketInputStream.read): use `SocketChannel.read.'
5909 (SocketOutputStream.write): use `VMChannel.write.'
5910 (SocketOutputStream.write): use `SocketChannel.write.'
5911 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5912 (channel): new field.
5913 (<init>): initialize `channel.'
5914 (implCloseSelectableChannel): use `VMChannel.close.'
5915 (implConfigureBlocking): use `VMChannel.setBlocking.'
5916 (connect): use `VMChannel.connect.'
5917 (disconnect): use `VMChannel.disconnect.'
5918 (isConnected): use `VMChannel.getPeerAddress.'
5919 (write): use `VMChannel.write.'
5920 (write): use `VMChannel.writeGathering.'
5921 (read): use `VMChannel.read.'
5922 (read): use `VMChannel.readScattering.'
5923 (receive): use `VMChannel.receive.'
5924 (send): use `VMChannel.send.'
5925 (getVMChannel): new method.
5926 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5927 access native FD through VMChannel.State.
5928 * gnu/java/nio/FileChannelImpl.java: moved from
5929 gnu/java/nio/channels/FileChannelImpl.java.
5930 * gnu/java/nio/FileLockImpl.java: fix imports.
5931 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5932 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5933 * gnu/java/nio/NIOSocket.java (impl): removed.
5934 (channel): new field.
5935 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5936 (getPlainSocketImpl, setChannel): removed.
5937 (isConnected): new method.
5938 * gnu/java/nio/NIOSocketImpl.java: new file.
5939 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5941 (SourceChannelImpl.native_fd): removed.
5942 (SourceChannelImpl.<init>): init with a `VMChannel.'
5943 (SourceChannelImpl.getNativeFD): removed.
5944 (SourceChannelImpl.getVMChannel): new method.
5945 (SourceChannelImpl.implCloseSelectableChannel): implement.
5946 (SinkChannelImpl): implement `VMChannelOwner.'
5947 (SinkChannelImpl.native_fd): removed.
5948 (SinkChannelImpl.<init>): init with a `VMChannel.'
5949 (SinkChannelImpl.implCloseSelectableChannel): implement.
5950 (SinkChannelImpl.getNativeFD): removed.
5951 (SinkChannelImpl.getVMChannel): new method.
5952 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5954 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5955 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5956 (openSelector): return kqueue selector if available.
5957 * gnu/java/nio/ServerSocketChannelImpl.java: implement
5959 (channel): new field.
5960 (<init>): init `channel.'
5961 (finalizer): check if the `VMChannel.State' is valid.
5962 (implCloseSelectableChannel): use `VMChannel.close.'
5963 (implConfigureBlocking): use `VMChannel.setBlocking.'
5964 (accept): use `VMChannel.accept.'
5965 (getVMChannel): new method.
5966 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5967 access native FD through `VMChannel.State.'
5968 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5970 (channel, connected, connectAddress): new field.
5971 (<init>): new constructors.
5972 (getPlainSocketImpl): removed.
5973 (implCloseSelectableChannel): use `VMChannel.close.'
5974 (implConfigureBlocking): use `VMChannel.setBlocking.'
5975 (connect): use `connect(SocketAddress,int).'
5976 (connect): use `VMChannel.connect.'
5977 (finishConnect): don't use a selector.
5978 (isConnected): use `VMChannel.getPeerAddress.'
5979 (read): use `VMChannel.read.'
5980 (read): use `VMChannel.readScattering.'
5981 (write): use `VMChannel.write.'
5982 (write): use `VMChannel.writeGathering.'
5983 (getVMChannel): new method.
5984 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5985 native FD from `VMChannel.State.'
5986 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5987 get native FD from `VMChannel.State.'
5988 * gnu/java/nio/VMChannelOwner.java: new file.
5989 * gnu/java/nio/channels/FileChannelImpl.java: removed.
5990 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5991 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5992 `gnu_java_nio_channels_FileChannelImpl.h.'
5993 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5994 * include/gnu_java_nio_FileChannelImpl.h: new file.
5995 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5996 * include/gnu_java_nio_VMChannel.h: regenerated.
5997 * include/gnu_java_nio_VMPipe.h: regenerated.
5998 * include/java_net_VMNetworkInterface.h: regenerated.
5999 * java/io/FileDescriptor.java: fix imports.
6000 * java/io/FileInputStream.java (<init>): handle exceptions.
6001 (read): wrap the destination arary.
6002 * java/io/FileOutputStream.java (<init>): handle exceptions.
6003 (write): wrap the source array.
6004 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6005 * java/net/DatagramSocket.java (<init>): handle exceptions.
6006 (receive): handle length/port setting.
6007 (connect): bind to any address/port if the argument is null.
6008 * java/net/NetworkInterface.java (name, inetAddress): removed.
6010 (<init>): make private.
6011 (getName): return `netif.name.'
6012 (getInetAddresses): access `netif.addresses.'
6013 (getDisplayName): return `netif.name.'
6014 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6015 (condense): removed.
6016 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6017 (equals): compare `netif' fields.
6018 (hashCode): get hash codes from `netif.'
6019 (toString): use a StringBuffer.
6020 * java/net/ServerSocket.java (close): don't set `impl' to null.
6021 (isClosed): use `VMChannel.State.isClosed.'
6022 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6023 the `SocketImpl' is a `PlainSocketImpl.'
6024 (close): just close the `impl.'
6025 (toString): use `super.toString' in the value we return.
6026 (isConnected): just access `impl,' not `getImpl.'
6027 (isBound): use `PlainSocketImpl' methods if we can.
6028 (isClosed): look at `VMChannel.State.'
6029 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6030 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6031 an exception if they were not.
6032 (JCL_GetRawData): throw an exception if cached fields weren't
6034 * native/jni/java-lang/java_lang_VMProcess.c: handle
6035 FileChannelImpl move.
6036 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6037 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6038 THROW_NO_NETWORK): new macros.
6039 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6040 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6041 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6042 (java_sockopt): new enum.
6043 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6044 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6045 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6047 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6049 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6051 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6052 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6053 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6054 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6055 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6056 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6057 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6058 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6059 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6060 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6061 (getif_address): new function.
6062 (getif_index): new function.
6063 * native/jni/java-net/java_net_VMNetworkInterface.c
6064 (java_net_VMNetworkInterface_init,
6065 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6066 (Java_java_net_VMNetworkInterface_initIds): new function.
6067 (struct netif_entry): new struct.
6068 (free_netif_list): new function.
6069 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6070 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6071 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6072 gnu_java_nio_channels_FileChannelImpl.c, add
6073 gnu_java_nio_KqueueSelectorImpl.c.
6074 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6075 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6076 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6077 ALIGN_DOWN): new macros.
6078 (JCL_init_buffer): get the address through GetDirectBufferAddress
6080 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6081 Java_gnu_java_nio_VMChannel_stdout_1fd,
6082 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6083 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6085 (Java_gnu_java_nio_VMChannel_read): renamed...
6086 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6087 this; handle interrupted IO; add HAVE_READ check.
6088 (Java_gnu_java_nio_VMChannel_write): renamed...
6089 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6090 this; handle zero-length write; add HAVE_WRITE check.
6091 (Java_gnu_java_nio_VMChannel_receive): new function.
6092 (Java_gnu_java_nio_VMChannel_send): new function.
6093 (Java_gnu_java_nio_VMChannel_send6): new function.
6094 (Java_gnu_java_nio_VMChannel_read__I): new function.
6095 (Java_gnu_java_nio_VMChannel_write__II): new function.
6096 (Java_gnu_java_nio_VMChannel_socket): new function.
6097 (Java_gnu_java_nio_VMChannel_connect): new function.
6098 (Java_gnu_java_nio_VMChannel_connect6): new function.
6099 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6100 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6101 (Java_gnu_java_nio_VMChannel_accept): new function.
6102 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6103 (Java_gnu_java_nio_VMChannel_close): new function.
6104 (Java_gnu_java_nio_VMChannel_available): new function.
6105 (FileChannel_mode): new enum.
6106 (Java_gnu_java_nio_VMChannel_open): new function.
6107 (Java_gnu_java_nio_VMChannel_position): new function.
6108 (Java_gnu_java_nio_VMChannel_seek): new function.
6109 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6110 (Java_gnu_java_nio_VMChannel_lock): new function.
6111 (Java_gnu_java_nio_VMChannel_unlock): new function.
6112 (Java_gnu_java_nio_VMChannel_size): new function.
6113 (Java_gnu_java_nio_VMChannel_map): new function.
6114 (Java_gnu_java_nio_VMChannel_flush): new function.
6115 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6116 (Java_gnu_java_nio_VMPipe_init): removed.
6117 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6118 * native/jni/java-nio/javanio.c: new file.
6119 * native/jni/java-nio/javanio.h: new file.
6120 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6121 systems without `gethostbyname_r.'
6122 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6124 (<init>, <init>): new constructors.
6125 (setOption, getOption): make instance methods; defer to native
6128 (bind): make an instance method; defer to native methods.
6130 (available): removed.
6131 (listen): make an instance method; defer to native method.
6133 (join, leave): new methods.
6135 (joinGroup, leaveGroup): new methods.
6136 (shutdownInput, shutdownOutput): make instance methods.
6137 (sendUrgentData): removed.
6139 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6142 (<init>): new, public constructors.
6143 (getVMChannel): methods removed.
6144 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6145 stderr_fd): new methods.
6146 (setBlocking): make an instance method.
6147 (available): new method.
6148 (read): get native fd from `nfd.'
6149 (read): new single-byte read method.
6150 (readScattering): get native fd from `nfd.'
6151 (receive): new method.
6152 (write, writeGathering): get native fd from `nfd.'
6154 (write): new single-byte write method.
6155 (initSocket): new method.
6156 (connect): new method.
6157 (disconnect): new method.
6158 (getLocalAddress): new method.
6159 (getPeerAddress): new method.
6160 (accept): new method.
6161 (openFile): new method.
6162 (position): new method.
6164 (truncate): new method.
6166 (unlock): new method.
6169 (flush): new method.
6170 (close): new method.
6173 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6174 (pipe, pipe0): new method.
6175 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6177 (<clinit>): call `initIds.'
6178 (initIds): new method.
6179 (getInterfaces): removed.
6180 (getVMInterfaces): new method.
6181 (addAddress): new method.
6182 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6184 2006-09-16 Chris Burdess <dog@gnu.org>
6187 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6188 when in text output mode.
6190 2006-09-16 Chris Burdess <dog@gnu.org>
6193 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6195 2006-09-14 Michael Koch <konqueror@gmx.de>
6197 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6199 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6201 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6202 Added !cl.isArray() to serialVersionUID mismatch check.
6204 2006-09-14 Francis Kung <fkung@redhat.com>
6206 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6207 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6208 be compatibe with Cairo 1.2.x.
6210 2006-09-14 Francis Kung <fkung@redhat.com>
6212 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6213 (cairoSurfaceSetFilter): Removed method.
6214 (drawImage): Pass interpolation type as argument to drawing methods.
6215 (drawPixels): Added interpolation parameter.
6216 (drawRaster): Pass interpolation type as argument to drawing method.
6217 (getInterpolation): New method.
6218 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6219 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6220 * gnu/java/awt/peer/gtk/CairoSurface.java
6221 (drawSurface): Added interpolation parameter.
6222 (nativeDrawSurface): Added interpolation parameter.
6223 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6224 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6226 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6227 * native/jni/gtk-peer/cairographics2d.h
6228 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6229 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6230 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6232 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6233 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6234 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6235 interpolation parameter.
6237 2006-09-14 Gary Benson <gbenson@redhat.com>
6239 * java/net/InetAddress.java
6240 (internalGetCanonicalHostName): New method.
6241 (getCanonicalHostName): Use internalGetCanonicalHostName.
6242 (getByLiteral): New method.
6243 (getAllByName): Use getByLiteral.
6244 * java/net/SocketPermission.java
6245 (host): Replaced with...
6246 (hostname, address): New fields.
6247 (equals, hashcode): Reflect the above.
6248 (setHostPort): Parse host into hostname or address.
6249 (implies): Rewrite host checks.
6251 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6254 * java/awt/Menu.java
6255 (insert(MenuItem, int)): Fixed loop range,
6256 (insert(String, int)): Updated API docs.
6258 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6261 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6262 architectures (like Arm).
6263 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6264 Reverted SWAP_DOUBLE patch.
6265 (doubleToRawLongBits): Likewise.
6266 (longBitsToDouble): Likewise.
6268 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6270 * java/awt/Menu.java: Reformatted source file.
6272 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6274 * gnu/java/rmi/server/ActivatableRef.java
6275 (readExternal, writeExternal): Partial fix for serialization format.
6277 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6280 * java/io/InputStreamReader.java
6281 (read(char[],int,int)): Fixed bug.
6283 2006-09-13 Francis Kung <fkung@redhat.com>
6285 * java/awt/image/BandCombineOp.java: Updated documentation.
6286 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6288 2006-09-13 Tom Tromey <tromey@redhat.com>
6291 * java/io/PipedReader.java (read): Return early if len==0.
6292 * java/io/PipedInputStream.java (read): Return early if len==0.
6294 2006-09-13 Francis Kung <fkung@redhat.com>
6296 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6297 Removed hard-coded max sample value.
6298 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6299 Fixed finding of max sample value.
6301 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6303 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6304 (setPaint): Check null argument ('p').
6306 2006-09-12 Francis Kung <fkung@redhat.com>
6309 * gnu/java/awt/java2d/TexturePaintContext.java
6310 (constructor): Fixed typo, getMinY instead of getMaxX.
6311 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6312 (setPaint): Implemented support for custom Paint classes.
6313 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6314 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6315 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6316 to setPaintPixels, and added repeat parameter.
6317 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6318 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6320 2006-09-12 Gary Benson <gbenson@redhat.com>
6322 * java/net/NetworkInterface.java (getInetAddresses):
6323 Fix port used in security check.
6325 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6327 * javax/swing/plaf/metal/DefaultMetalTheme.java
6328 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6329 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6330 (getControlTextFont): Check 'swing.boldMetal' setting before
6332 (getMenuTextFont): Likewise.
6334 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6336 * javax/swing/plaf/metal/OceanTheme.java
6337 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6339 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6341 * javax/swing/plaf/metal/MetalIconFactory.java
6342 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6344 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6346 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6348 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6350 * javax/swing/AbstractButton.java
6351 (AbstractButton): Initialise textIconGap field.
6353 2006-09-11 Tom Tromey <tromey@redhat.com>
6355 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6356 "volatile" when needed.
6358 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6360 * java/text/AttributedCharacterIterator.java
6361 (LANGUAGE): Initialise with lower case string,
6362 (INPUT_METHOD_SEGMENT): Likewise,
6363 (READING): Likewise,
6364 * java/text/AttributedStringIterator.java
6365 (getRunLimit): Check all attributes for changes.
6367 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6369 * java/text/AttributedCharacterIterator.java: Added @since tag,
6370 renamed some variables (no underscores) and removed some spaces to
6371 match the common style,
6372 * java/text/AttributedString.java: Likewise,
6373 * java/text/AttributedStringIterator.java: Likewise.
6375 2006-09-11 Gary Benson <gbenson@redhat.com>
6377 * java/net/Inet4Address.java
6378 (FAMILY): Renamed back to AF_INET.
6379 (<init>, writeReplace): Reflect the above.
6380 * java/net/Inet6Address.java
6381 (FAMILY): Renamed back to AF_INET6.
6382 (<init>): Reflect the above.
6384 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6387 * java/text/AttributedString.java
6388 (AttributedString(AttributedCharacterIterator, int, int,
6389 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6392 2006-09-11 Gary Benson <gbenson@redhat.com>
6394 * java/net/Inet4Address.java
6395 (AF_INET): Renamed to FAMILY.
6396 (<init>, writeReplace): Reflect the above.
6397 * java/net/Inet6Address.java
6398 (AF_INET6): Renamed to FAMILY.
6399 (<init>): Reflect the above.
6401 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6404 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6405 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6406 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6407 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6408 (bind): Call getImpl().create(true).
6410 2006-09-09 Chris Burdess <dog@gnu.org>
6412 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6413 an instance of org.w3c.dom.NodeList.
6415 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6417 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6418 missing security manager when run in standalone mode.
6420 2006-09-08 Francis Kung <fkung@redhat.com>
6422 * java/awt/image/AffineTransformOp.java: Updated documentation.
6423 (createCompatibleDestRaster): Updated formatting.
6424 (filter(BufferedImage, BufferedImage)): Updated formatting.
6425 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6426 if colour model is compatible.
6427 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6428 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6430 2006-09-08 Gary Benson <gbenson@redhat.com>
6432 * java/net/InetAddress.java
6433 (family): Updated javadoc and made private.
6434 (<init>): Add an address family argument.
6435 (readObject): Don't overwrite family.
6436 * java/net/Inet4Address.java
6437 (AF_INET): New constant.
6438 (<init>): Use AF_INET as the family.
6439 (writeReplace): Likewise.
6440 * java/net/Inet6Address.java
6441 (AF_INET6): New constant.
6442 (<init>): Use AF_INET6 as the family.
6444 2006-09-08 Gary Benson <gbenson@redhat.com>
6446 * java/net/InetAddress.java
6447 (getHostName): Move lookup into getCanonicalHostName.
6448 (getCanonicalHostName): Move lookup from getHostName,
6449 Perform security check on canonical name (ie after lookup).
6451 2006-09-08 Gary Benson <gbenson@redhat.com>
6453 * java/net/Inet4Address.java (isMulticastAddress,
6454 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6455 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6456 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6457 implementations from InetAddress.
6458 * java/net/InetAddress.java (isMulticastAddress,
6459 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6460 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6461 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6462 implementations with UnsupportedOperationExceptions.
6464 2006-09-08 Gary Benson <gbenson@redhat.com>
6466 * java/net/InetAddress.java
6467 (inaddr_any): Removed.
6468 (ANY_IF, LOCALHOST): Create using getByAddress.
6469 (<init>): Updated javadoc.
6470 (getHostName): Cache hostname even if the lookup failed.
6471 (getByAddress): Create Inet4Address objects when passed
6472 IPv4-mapped IPv6 addresses.
6474 (getAllByName): Create address objects using getByAddress.
6475 Do not perform security checks unless actually required.
6476 Do not strip whitespace from the hostname.
6477 (getInaddrAny): Removed.
6478 (getLocalHost): Return the loopback address if getByName
6479 throws a SecurityException.
6480 (readResolve): Updated javadoc.
6481 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6482 * include/java_net_VMInetAddress.h
6483 (Java_java_net_VMInetAddress_aton): Likewise.
6484 * native/jni/java-net/java_net_VMInetAddress.c
6485 (Java_java_net_VMInetAddress_aton): New method.
6486 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6487 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6488 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6489 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6490 * NEWS: Added note about updated VM interface.
6492 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6494 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6495 (setNorthPane): Assign component to titlePane.
6497 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6499 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6500 Remove unused variable alt_addr.
6501 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6502 Remove unused variables.
6504 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6506 * javax/swing/plaf/metal/MetalScrollBarUI.java
6507 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6508 (createDecreaseButton): Don't fetch scrollBarWidth here,
6509 (createIncreaseButton): Likewise.
6511 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6513 * java/awt/image/MemoryImageSource.java: Added API docs.
6515 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6517 * javax/swing/plaf/basic/BasicScrollBarUI.java
6518 (installDefaults): Call configureScrollBarColors().
6520 2006-09-06 Francis Kung <fkung@redhat.com>
6522 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6523 (constructor): Make copy of arrays.
6524 (createCompatibleDestImage): Changed treatment of null ColorModel.
6525 (filter(BufferedImage, BufferedImage)): Re-implemented.
6526 (filter(Raster, WritableRaster, boolean[])): New method.
6527 (filter(Raster, WritableRaster)): Re-implemented.
6528 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6529 (getPoint2D): Cleaned up formatting.
6530 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6532 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6534 * javax/swing/UIManager.java
6535 (getBoolean(Object)): Reimplemented,
6536 (getBoolean(Object, Locale)): Likewise,
6537 (getBorder(Object)): Likewise,
6538 (getBorder(Object, Locale)): Likewise,
6539 (getColor(Object)): Likewise,
6540 (getColor(Object, Locale)): Likewise,
6541 (getDimension(Object)): Likewise,
6542 (getDimension(Object, Locale)): Likewise,
6543 (getFont(Object)): Likewise,
6544 (getFont(Object, Locale)): Likewise,
6545 (getIcon(Object)): Likewise,
6546 (getIcon(Object, Locale)): Likewise,
6547 (getInsets(Object)): Updated API docs,
6548 (getInsets(Object, Locale)): Likewise,
6549 (getInt(Object)): Reimplemented,
6550 (getInt(Object, Locale)): Likewise,
6551 (getString(Object)): Likewise,
6552 (getString(Object, Locale)): Likewise.
6554 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6556 * javax/swing/UIManager.java
6557 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6558 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6560 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6562 * javax/swing/plaf/metal/MetalLookAndFeel.java
6563 (initComponentDefaults): Corrected various font defaults.
6565 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6567 * java/awt/List.java: Added @since to various methods.
6569 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6571 * native/jni/native-lib/cpprocess.c:
6572 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6573 Add redirection of stdout to stderr.
6574 * native/jni/native-lib/cpprocess.h:
6575 Added redirect argument.
6576 * native/jni/java-lang/java_lang_VMProcess.c
6577 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6578 * vm/reference/java/lang/VMProcess.java: Likewise.
6579 * include/java_lang_VMProcess.h: Regenerated.
6581 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6583 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6584 __attribute to __attribute__.
6586 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6589 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6591 * java/awt/List.java: Source code reformatted.
6593 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6595 * gnu/CORBA/CollocatedOrbs.java,
6596 gnu/CORBA/SafeForDirectCalls.java: New files.
6597 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6598 Implement gnu.CORBA.SafeForDirectCalls.
6599 * gnu/CORBA/NamingService/Ext.java: Likewise.
6600 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6601 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6602 of the local host. (ior_to_object): Return the local object
6603 where possible. (run): Register/unregister this ORB.
6604 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6605 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6606 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6607 (constructors): Initialize noRetain. (_invoke): Drop servant
6608 if noRetain is true. (getHandler): Always seach for the new servant
6609 if noRetain is true.
6610 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6611 * NEWS: Added note about the new feature.
6613 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6615 * java/awt/Choice.java
6616 (addItem): Fixed API doc glitch.
6618 2006-09-05 Francis Kung <fkung@redhat.com>
6620 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6621 (createCompatibleDestImage): Re-implemented.
6622 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6623 compatibility, and use ColorConvertOp for color conversion if needed.
6624 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6626 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6628 gnu/CORBA/CDR/Vio.java,
6629 org/omg/CORBA_2_3/ORB.java,
6630 org/omg/CORBA_2_3/portable/InputStream.java,
6631 org/omg/CORBA_2_3/portable/OutputStream.java,
6632 org/omg/CosNaming/BindingIteratorHelper.java,
6633 org/omg/CosNaming/BindingTypeHelper.java,
6634 org/omg/CosNaming/NameComponentHelper.java,
6635 org/omg/CosNaming/NameHelper.java,
6636 org/omg/CosNaming/NamingContextExtHelper.java,
6637 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6638 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6639 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6640 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6641 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6642 org/omg/CosNaming/NamingContextHelper.java,
6643 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6644 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6645 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6646 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6647 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6648 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6649 org/omg/DynamicAny/AnySeqHelper.java,
6650 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6651 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6652 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6653 org/omg/DynamicAny/DynAnyHelper.java,
6654 org/omg/DynamicAny/DynAnyOperations.java,
6655 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6656 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6657 org/omg/DynamicAny/DynAnySeqHelper.java,
6658 org/omg/DynamicAny/DynArrayHelper.java,
6659 org/omg/DynamicAny/DynEnumHelper.java,
6660 org/omg/DynamicAny/DynFixedHelper.java,
6661 org/omg/DynamicAny/DynSequenceHelper.java,
6662 org/omg/DynamicAny/DynStructHelper.java,
6663 org/omg/DynamicAny/DynStructOperations.java,
6664 org/omg/DynamicAny/DynUnionHelper.java,
6665 org/omg/DynamicAny/DynValueHelper.java,
6666 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6667 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6668 org/omg/IOP/CodecFactoryHelper.java,
6669 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6670 org/omg/IOP/CodecOperations.java,
6671 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6672 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6673 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6674 org/omg/IOP/ComponentIdHelper.java,
6675 org/omg/IOP/ExceptionDetailMessage.java,
6676 org/omg/IOP/MultipleComponentProfileHelper.java,
6677 org/omg/IOP/ProfileIdHelper.java,
6678 org/omg/IOP/ServiceContextListHelper.java,
6679 org/omg/IOP/ServiceIdHelper.java,
6680 org/omg/IOP/TAG_CODE_SETS.java,
6681 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6682 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6683 org/omg/PortableInterceptor/CurrentHelper.java,
6684 org/omg/PortableInterceptor/IORInfo.java,
6685 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6686 org/omg/PortableInterceptor/ORBIdHelper.java,
6687 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6688 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6689 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6690 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6691 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6692 org/omg/PortableInterceptor/RequestInfoOperations.java,
6693 org/omg/PortableInterceptor/ServerIdHelper.java,
6694 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6695 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6696 org/omg/PortableServer/AdapterActivatorOperations.java,
6697 org/omg/PortableServer/CurrentHelper.java,
6698 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6699 org/omg/PortableServer/ForwardRequestHelper.java,
6700 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6701 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6702 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6703 org/omg/PortableServer/LifespanPolicyValue.java,
6704 org/omg/PortableServer/POA.java,
6705 org/omg/PortableServer/POAHelper.java,
6706 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6707 org/omg/PortableServer/POAManagerPackage/State.java,
6708 org/omg/PortableServer/POAOperations.java,
6709 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6710 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6711 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6712 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6713 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6714 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6715 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6716 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6717 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6718 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6719 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6720 org/omg/PortableServer/ServantActivatorHelper.java,
6721 org/omg/PortableServer/ServantLocatorHelper.java,
6722 org/omg/PortableServer/ServantLocatorOperations.java,
6723 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6724 org/omg/PortableServer/ThreadPolicyValue.java,
6725 org/omg/PortableServer/_ServantActivatorStub.java,
6726 org/omg/PortableServer/_ServantLocatorStub.java,
6727 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6729 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6731 * javax/rmi/CORBA/Tie.java,
6732 org/omg/CORBA/AnyHolder.java,
6733 org/omg/CORBA/AnySeqHelper.java,
6734 org/omg/CORBA/AnySeqHolder.java,
6735 org/omg/CORBA/BooleanHolder.java,
6736 org/omg/CORBA/BooleanSeqHelper.java,
6737 org/omg/CORBA/BooleanSeqHolder.java,
6738 org/omg/CORBA/ByteHolder.java,
6739 org/omg/CORBA/CharHolder.java,
6740 org/omg/CORBA/CharSeqHelper.java,
6741 org/omg/CORBA/CharSeqHolder.java,
6742 org/omg/CORBA/Context.java,
6743 org/omg/CORBA/CurrentHelper.java,
6744 org/omg/CORBA/CustomValue.java,
6745 org/omg/CORBA/DataOutputStream.java,
6746 org/omg/CORBA/DefinitionKindHelper.java,
6747 org/omg/CORBA/DomainManagerOperations.java,
6748 org/omg/CORBA/DoubleHolder.java,
6749 org/omg/CORBA/DoubleSeqHelper.java,
6750 org/omg/CORBA/DoubleSeqHolder.java,
6751 org/omg/CORBA/DynAny.java,
6752 org/omg/CORBA/DynSequence.java,
6753 org/omg/CORBA/DynValue.java,
6754 org/omg/CORBA/DynamicImplementation.java,
6755 org/omg/CORBA/FieldNameHelper.java,
6756 org/omg/CORBA/FixedHolder.java,
6757 org/omg/CORBA/FloatHolder.java,
6758 org/omg/CORBA/FloatSeqHelper.java,
6759 org/omg/CORBA/FloatSeqHolder.java,
6760 org/omg/CORBA/IdentifierHelper.java,
6761 org/omg/CORBA/IntHolder.java,
6762 org/omg/CORBA/LocalObject.java,
6763 org/omg/CORBA/LongHolder.java,
6764 org/omg/CORBA/LongLongSeqHelper.java,
6765 org/omg/CORBA/LongLongSeqHolder.java,
6766 org/omg/CORBA/LongSeqHelper.java,
6767 org/omg/CORBA/LongSeqHolder.java,
6768 org/omg/CORBA/ORB.java,
6769 org/omg/CORBA/ObjectHelper.java,
6770 org/omg/CORBA/ObjectHolder.java,
6771 org/omg/CORBA/OctetSeqHelper.java,
6772 org/omg/CORBA/OctetSeqHolder.java,
6773 org/omg/CORBA/PolicyErrorCodeHelper.java,
6774 org/omg/CORBA/PolicyErrorHelper.java,
6775 org/omg/CORBA/PolicyHelper.java,
6776 org/omg/CORBA/PolicyListHelper.java,
6777 org/omg/CORBA/PolicyTypeHelper.java,
6778 org/omg/CORBA/PrincipalHolder.java,
6779 org/omg/CORBA/RepositoryIdHelper.java,
6780 org/omg/CORBA/Request.java,
6781 org/omg/CORBA/ShortHolder.java,
6782 org/omg/CORBA/ShortSeqHelper.java,
6783 org/omg/CORBA/ShortSeqHolder.java,
6784 org/omg/CORBA/StringSeqHelper.java,
6785 org/omg/CORBA/StringSeqHolder.java,
6786 org/omg/CORBA/ULongLongSeqHelper.java,
6787 org/omg/CORBA/ULongLongSeqHolder.java,
6788 org/omg/CORBA/ULongSeqHelper.java,
6789 org/omg/CORBA/ULongSeqHolder.java,
6790 org/omg/CORBA/UShortSeqHelper.java,
6791 org/omg/CORBA/UShortSeqHolder.java,
6792 org/omg/CORBA/ValueBaseHelper.java,
6793 org/omg/CORBA/ValueBaseHolder.java,
6794 org/omg/CORBA/VersionSpecHelper.java,
6795 org/omg/CORBA/WCharSeqHelper.java,
6796 org/omg/CORBA/WCharSeqHolder.java,
6797 org/omg/CORBA/WStringSeqHelper.java,
6798 org/omg/CORBA/WStringSeqHolder.java,
6799 org/omg/CORBA/WrongTransactionHelper.java,
6800 org/omg/CORBA/_IDLTypeStub.java,
6801 org/omg/CORBA/_PolicyStub.java,
6802 org/omg/CORBA/portable/BoxedValueHelper.java,
6803 org/omg/CORBA/portable/Delegate.java,
6804 org/omg/CORBA/portable/ObjectImpl.java,
6805 org/omg/CORBA/portable/ServantObject.java,
6806 org/omg/CORBA/portable/StreamableValue.java,
6807 org/omg/CosNaming/BindingType.java,
6808 org/omg/CosNaming/IstringHelper.java,
6809 org/omg/DynamicAny/FieldNameHelper.java,
6810 org/omg/PortableServer/Servant.java: Documentation fixes.
6812 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6814 * java/awt/Rectangle.java
6815 (setRect(double, double, double, double)): Modified rounding of input
6818 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6820 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6821 Disallow H1 - H6 in the paragraphs.
6822 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6823 (preprocess): Leave at most one leading and/or trailing space.
6824 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6825 Do not add any text after closing the HTML tag.
6827 2006-09-02 Roman Kennke <kennke@aicas.com>
6830 * javax/swing/plaf/basic/BasicTextUI.java
6831 (RootView.getPreferredSpan): Default to 10 when there is no
6833 (RootView.getMinimumSpan): Forward to view and default to 10
6834 when there is no real view.
6835 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6836 (getMaximumSize): Check for overflow.
6837 * javax/swing/text/FieldView.java
6838 (getResizeWeight): Removed unneeded assignment.
6840 2006-09-01 Francis Kung <fkung@redhat.com>
6841 * java/awt/image/ColorConvertOp.java
6842 (copyImage): Updated javadoc and comments.
6843 (copyRaster): Add javadoc.
6844 (createCompatibleColorModel): Add javadocs and comments.
6845 (createCompatibleDestImage): Use correct transfer type.
6846 (createCompatibleDestRaster): Add new parameter for transfer type.
6847 (filter): Use correct transfer type.
6848 * java/awt/image/ConvolveOp.java: Updated javadocs.
6849 (createCompatibleDestImage): Set new image properties correctly.
6850 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6851 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6853 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6855 * javax/swing/table/DefaultTableModel.java:
6856 (checkSize): Added null check for dataVector.
6858 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6860 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6861 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6862 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6864 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6866 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6867 (paintIcon): Removed unused import statements, lowered cast requirement
6868 from JCheckBox to AbstractButton.
6870 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6872 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6873 (initComponentDefaults): Added, changed and removed some
6874 tabbed pane properties.
6876 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6878 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6879 (createContent): Changed menu item name and tab naming.
6881 2006-09-01 Roman Kennke <kennke@aicas.com>
6884 * javax/swing/plaf/basic/BasicHTML.java
6885 (HTMLRootView.getAttributes): Overridden to return null.
6886 (HTMLRootView.getElement): Overridden to return the view's
6889 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6891 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6892 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6893 of accessing variable directly.
6894 (calculateTabAreaWidth): Dito.
6896 2006-08-31 Keith Seitz <keiths@redhat.com>
6898 * include/jvmti.h: Include jvmti_md.h.
6900 2006-08-31 Keith Seitz <keiths@redhat.com>
6902 From Martin Platter <motse@complang.tuwien.ac.at>:
6903 * Makefile.am (include_HEADERS): Include jvmti.h.
6904 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6905 (jvmtiError): Remove superfluous comma after last entry.
6906 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6907 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6908 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6909 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6911 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6912 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6913 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6916 2006-08-31 Roman Kennke <kennke@aicas.com>
6918 * javax/swing/text/BoxView.java
6919 (getWidth): Return the width with insets added, not with one
6920 added and one removed.
6921 (getHeight): Return the height with insets added, not with one
6922 added and one removed.
6923 * javax/swing/text/GlyphView.java
6924 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6925 * javax/swing/text/ParagraphView.java
6926 (Row.getAlignment): Adjust alignment with respect to
6927 the justification attribute.
6928 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6930 * javax/swing/text/html/CSS.java
6931 (getValue): Convert length values.
6932 * javax/swing/text/html/Paragraph.java
6933 (painter): New field.
6934 (paint): Implemented to delegate painting to the BoxPainter too.
6935 (setPropertiesFromAttributes): Implemented to load attributes
6937 * javax/swing/text/html/StyleSheet.java
6938 (BoxPainter.as): Removed field.
6939 (BoxPainter.leftInset): New field.
6940 (BoxPainter.bottomInset): New field.
6941 (BoxPainter.rightInset): New field.
6942 (BoxPainter.topInset): New field.
6943 (BoxPainter.BoxPainter): Implemented to load the insets from
6945 (BoxPainter.getInset): Implemented.
6946 * gnu/javax/swing/text/html/Length.java: New class.
6947 Converts CSS length units to usable values.
6949 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6951 * configure.ac: Add check for gethostbyname_r.
6952 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6953 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6954 SOCKET_NOSIGNAL according to the configure check.
6955 (cpnet_send): Use SOCKET_NOSIGNAL.
6956 (cpnet_sendTo): Likewise.
6957 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6959 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6962 * lib/Makefile.am (cssfiles): Add new rule to install css files.
6964 2006-08-31 Roman Kennke <kennke@aicas.com>
6966 * javax/swing/JEditorPane.java
6967 (getPreferredSize): Replace preferred size with minimum
6968 UI size only if the scrollable does _not_ track the viewport
6969 size and only if the viewport's size is smaller than the
6971 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6973 * javax/swing/plaf/basic/BasicTextUI.java
6974 (getPreferredSize): Read-lock the document to avoid
6975 concurrency problems.
6976 (getMaximumSize): Return maximum size of the view.
6977 Read-lock the document to avoid concurrency problems.
6978 (getMinimumSize): Return minimum size of the view.
6979 Read-lock the document to avoid concurrency problems.
6981 2006-08-31 Gary Benson <gbenson@redhat.com>
6983 * java/net/SocketPermission.java
6984 (maybeBracketIPv6Address): Renamed to processHostport.
6985 (processHostport): Also translate "" to "localhost".
6986 (setHostPort): Remove special cases for empty hostport and for
6987 extra colons in hostport (processHostport handles these now).
6989 2006-08-31 Mark Wielaard <mark@klomp.org>
6991 * javax/swing/text/ZoneView.java (Zone): Make static class.
6992 Constructor takes axis parameter.
6993 (createZone): Create Zone with getAxis() as major axis.
6995 2006-08-30 Roman Kennke <kennke@aicas.com>
6997 * javax/swing/text/ZoneView.java
6998 (loadChildren): Implemented.
6999 (getViewIndexAtPosition): Implemented.
7000 (checkZoneAt): New helper method.
7001 (splitZone): New helper method.
7002 (getPreferredZoneEnd): New helper method.
7004 2006-08-30 Roman Kennke <kennke@aicas.com>
7006 * javax/swing/text/ZoneView.java: New class.
7008 2006-08-30 Roman Kennke <kennke@aicas.com>
7010 * javax/swing/JMenu.java
7011 (getMenu): Removed unneeded cast.
7012 (getPopupMenuOrigin): Made positioning algorithm better respect
7014 (setMenuLocation): Also set the location on the popup if it's
7016 (setModel): Use menuChangeListener so that we don't override
7017 the changeListener field from AbstractButton.
7018 (setPopupMenuVisible): Use custom location if set, otherwise
7019 fallback to getPopupMenuOrigin().
7021 2006-08-29 Roman Kennke <kennke@aicas.com>
7023 * javax/swing/text/InternationalFormatter.java
7024 (stringToValue): Fixed bounds check.
7025 * javax/swing/text/MaskFormatter.java
7026 (MaskFormatter): Don't explicitly set allosInvalid property.
7027 (convertStringToValue): New helper method.
7028 (convertValueToString): New helper method.
7029 (convertValue): Removed. Replaced by the 2 convert* methods
7031 (getPadCharAt): Removed.
7032 (isCharValid): Removed.
7034 (stringToValue): Fixed stringToValue conversion.
7035 (stripLiterals): Removed.
7036 (valueToString): Fixed valueToString conversion.
7037 * javax/swing/text/DefaultFormatter.java
7038 (DefaultFormatter): Default to commitsOnValidEdit = false.
7040 2006-08-29 Roman Kennke <kennke@aicas.com>
7042 * javax/swing/text/TextAction.java
7043 (getTextComponent): Check event for null and return null in
7045 (augmentList): Augment Actions based on their names.
7046 * javax/swing/text/DefaultEditorKit.java
7047 (BeginAction.actionPerformed): Check target for null.
7048 (BeginLineAction.actionPerformed): Check target for null.
7049 (CopyAction.actionPerformed): Check target for null.
7050 (CutAction.actionPerformed): Check target for null.
7051 (EndAction.actionPerformed): Check target for null.
7052 (EndLineAction.actionPerformed): Check target for null.
7053 (InsertBreakAction.actionPerformed): Check target for null.
7054 (InsertTabAction.actionPerformed): Check target for null.
7055 (PasteAction.actionPerformed): Check target for null.
7056 (SelectAllAction.actionPerformed): Check target for null.
7057 (SelectionBeginAction.actionPerformed): Check target for null.
7058 (SelectionBeginLineAction.actionPerformed): Check target for null.
7059 (SelectionEndAction.actionPerformed): Check target for null.
7060 (SelectionEndLineAction.actionPerformed): Check target for null.
7061 (SelectLineAction.actionPerformed): Check target for null.
7062 (SelectWordAction.actionPerformed): Check target for null.
7064 2006-08-29 Roman Kennke <kennke@aicas.com>
7066 * javax/swing/plaf/basic/BasicTextUI.java
7067 (FocusHandler): New class. This is moved from the anonymous
7068 inner focus listener class to a static member class, and
7069 is now shared between components.
7070 (DocumentHandler): This class is combined with the PropertyHandler
7071 into the Handler class.
7072 (PropertyChangeHandler): This class is combined with the
7073 DocumentHandler into the Handler class.
7074 (Handler): New class. This combines the Property and Document
7075 handler into one class.
7076 (RootView.changedUpdate): Only forward if real view != null.
7077 (RootView.insertUpdate): Only forward if real view != null.
7078 (RootView.removeUpdate): Only forward if real view != null.
7079 (documentHandler): Removed field and replaced by handler.
7080 (focuslistener): Made field static and renamed to focusListener.
7081 (handler): New field.
7082 (kit): Lazily initialize field.
7083 (rootView): Lazily initialize field.
7084 (updateHandler): Removed and replaced by handler.
7085 (getEditorKit): Lazily instantiate field.
7086 (installDefaults): Don't set margin twice. Install correct
7087 property for disabledTextColor. Moved caret and highlighter
7088 initialization to installFixedDefaults.
7089 (installFixedDefaults): New method. Installs defaults that
7090 can't be overridden by subclasses.
7091 (installListeners): Only install focus handler when new
7092 system property gnu.swing.text.no-xlike-clipboard is not set.
7093 Lazily initialize focus handler.
7094 (installUI): Lazily initialize rootView. Install handler
7095 both for property and document changes.
7096 (uninstallDefaults): Uninstall the UI defaults.
7097 (uninstallFixedDefaults): New method. Uninstalls the fixed
7099 (installListeners): Only uninstall focus handler when not null.
7100 (uninstallUI): Uninstall property and document listener here.
7102 2006-08-29 Gary Benson <gbenson@redhat.com>
7104 * java/net/SocketPermission.java
7105 (maybeBracketIPv6Address): New method.
7106 (<init>): Pass the hostport argument through the above.
7108 * java/net/NetworkInterface.java (getInetAddresses):
7109 Don't bracket IPv6 addresses.
7111 2006-08-28 Roman Kennke <kennke@aicas.com>
7113 * javax/swing/text/BoxView.java
7114 (calculateMinorAxisRequirements): Initialize max size
7115 with Integer.MAX_VALUE.
7116 * javax/swing/text/Utilities.java
7117 (getBreakLocation): For simple chars, scan the text directly.
7118 * javax/swing/text/WrappedPlainView.java
7119 (tabBase): New field.
7120 (tabSize): New field.
7121 (calculateBreakPosition): Use Utilities. Fixed for correct
7123 (changedUpdate): Update children directly.
7124 (insertUpdate): Update children directly. Notify children.
7125 (removeUpdate): Update children directly. Notify children.
7126 (updateChildren): New helper method.
7127 (nextTabStop): Fixed to return correct results.
7128 (paint): Update tabBase.
7129 (updateMetrics): Update tab size.
7131 2006-08-28 Roman Kennke <kennke@aicas.com>
7133 * javax/swing/text/Position.java
7134 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7135 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7137 2006-08-28 Roman Kennke <kennke@aicas.com>
7139 * javax/swing/text/View.java
7140 (height): Removed unneeded field.
7141 (width): Removed unneeded field.
7142 (getBreakWeight): Return GoodBreakWeight when pos is after
7144 (getToolTipText): Check view index more carefully. Avoid
7146 (insertUpdate): Only execute method body if view count > 0.
7147 When updateChildren returns false, clear the ec variable.
7148 (updateChildren): Added null checks.
7149 (viewToModel): Initialize bias array correctly.
7150 * javax/swing/text/CompositeView.java
7151 (children): Made private.
7152 (numChildren): New field.
7153 (loadChildren): Check factory for null. Don't load children
7154 when factory is null.
7155 (replace): Removed null check. Nullify removed children. Made
7156 growing the array more efficient.
7157 (getViewCount): Return numChildren rather then the real array
7159 * javax/swing/text/BoxView.java
7160 (getViewAtPoint): Fixed algorithm for finding the view.
7161 (replace): Made array growing more efficient.
7162 (replaceLayoutArray): New helper method for growing/patching
7164 (viewToModel): Make sure we have a valid layout.
7166 2006-08-28 Tania Bento <tbento@redhat.com>
7168 * java/awt/MenuShortcut.java
7169 (MenuShortcut (int, boolean)): Set keyName.
7170 (toString): Modified string output.
7171 (setKeyName): New private method.
7173 2006-08-28 Roman Kennke <kennke@aicas.com>
7175 * javax/swing/text/GapContent.java
7176 (Mark.getOffset): Made assert less strict, include boundary.
7177 (search): Made package private to avoid accessor method.
7179 2006-08-28 Roman Kennke <kennke@aicas.com>
7181 * javax/swing/text/StringContent.java
7182 (InsertUndo.positions): New field.
7183 (InsertUndo.redo): Update the undo positions.
7184 (InsertUndo.undo): Fetch the undo positions.
7185 (Mark): New class. Layer of indirection to allow Positions
7186 to be GC'ed while we still hold references to the Mark.
7187 (RemoveUndo.len): New field.
7188 (RemoveUndo.positions): New field.
7189 (RemoveUndo.RemoveUndo): Fetch undo positions.
7190 (RemoveUndo.redo): Re-fetch positions and string.
7191 (RemoveUndo.undo): Update undo positions.
7192 (StickyPosition.mark): New field.
7193 (StickyPosition.offset): Removed field.
7194 (StickyPosition.StickyPosition): Create new Mark. Register
7195 Position in queueOfDeath. Update reference count on mark.
7196 (StickyPosition.getOffset): Return offset stored in mark.
7197 (StickyPosition.setOffset): Removed unneeded method.
7198 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7200 (marks): New field. Stores the marks.
7201 (positions): Removed field.
7202 (queueOfDeath): New field. Used for GCing the positions.
7203 (StringContent): Initialize queueOfDeath.
7204 (createPosition): Lazily create marks vector.
7205 (garbageCollect): New helper method. Collects positions
7206 to be GCed and updates their marks.
7207 (getChars): Fixed bounds check.
7208 (getPositionsInRange): When v == null, create new Vector,
7209 otherwise use v. Store UndoPosRefs in vector.
7210 (getString): Added comment about bug in RI.
7211 (insertString): Use new helper method for replacing the array.
7212 Correctly update positions.
7213 (length): Removed this qualifier.
7214 (remove): Use new helper method for replacing the array.
7215 Correctly update positions.
7216 (replace): New helper method for growing or patching the array.
7217 (updateUndoPositions): Implemented. Updates the positions
7218 for undo/redo operations.
7220 2006-08-27 Roman Kennke <kennke@aicas.com>
7222 * javax/swing/text/StyleContext.java
7223 (NamedStyle.attributes): Made field transient.
7224 (NamedStyle.changeEvent): Made field transient.
7225 (NamedStyle.name): Removed field. The name is stored as
7227 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7228 storing the name and check for null name and resolveParent.
7229 Don't initialize changeEvent.
7230 (NamedStyle.copyAttributes): Return a new NamedStyle,
7231 rather than a plain copy of the attributes field.
7232 (NamedStyle.fireStateChange): Lazily create changeEvent
7234 (NamedStyle.getName): Fetch name from attributes.
7235 (NamedStyle.setName): Store name from attributes.
7236 (NamedStyle.readObject): Implemented for correct
7238 (NamedStyle.writeObject): Implemented for correct
7240 (NamedStyle.setResolveParent): When new parent is null,
7241 remove resolveParent attribute. Use addAttribute() method
7242 rather than StyleContext addAttribute().
7243 (NamedStyle.toString): Fixed to produce output equal to the
7245 (SmallAttributeSet.resolveParent): New field.
7246 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7247 the resolveParent field correctly.
7248 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7249 array but store it directly. Update
7250 the resolveParent field correctly.
7251 (SmallAttributeSet.clone): Return this as the object is
7253 (SmallAttributeSet.containsAttributes): Make sure that keys
7254 and values are the same.
7255 (SmallAttributeSet.containsAttribute): Make sure that keys
7256 and values are the same.
7257 (SmallAttributeSet.copyAttributes): Return this as the object is
7259 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7260 are equal if they have the same number of attributes and
7261 one contains the other.
7262 (SmallAttributeSet.getAttribute): Improved lookup of
7264 (SmallAttributeSet.getResolveParent): Improved lookup of
7266 (SmallAttributeSet.isEqual): When comparing object is a
7267 SmallAttributeSet, consider them equal only if they are the
7269 (SmallAttributeSet.toString): Fixed to produce output equal to the
7271 (attributeSetPool): New field.
7272 (defaultStyleContext): Initialize lazily.
7273 (defaultStyle): Removed field. This is stored in the style context
7275 (listenerList): Removed field. The NamedStyle stores the
7277 (readAttributeKeys): New static field. Used for looking up
7278 the serialization mappings when reading.
7279 (search): New field. Used as search key.
7280 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7281 (styles): New field. Stores the styles and listeners.
7282 (styleTable): Removed field. Replaced by styles field.
7283 (writeAttributeKeys): New static field. Used for looking up
7284 the serialization mappings when writing.
7285 (static_initializer): Register mappings for all keys in
7287 (StyleContext): Initialize styles correctly.
7288 (addAttributes): Fixed caching of immutable attributes.
7289 (addAttribute): Fixed caching of immutable attributes.
7290 (removeAttributes): Fixed caching of immutable attributes.
7291 (removeAttribute): Fixed caching of immutable attributes.
7292 (addChangeListener): Add listener to styles field.
7293 (removeChangeListener): Remove listener from styles field.
7294 (getChangeListeners): Fetch listeners from styles field.
7295 (addStyle): Add style to styles field.
7296 (cleanupPool): New method.
7297 (getDefaultStyleContext): Lazily create context.
7298 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7299 (getMutableAttributeSet): New helper method. Used for
7301 (getStaticAttribute): Fetch key from readAttributeKeys.
7302 (getStyleNames): Return names from styles field.
7303 (getStyle): Lookup style in styles field.
7304 (removeStyle): Remove style from styles field.
7305 (readAttributeSet): Fixed deserialization.
7306 (writeAttributeSet): Fixed serialization.
7307 (readObject): Fixed deserialization.
7308 (writeObject): Fixed serialization.
7309 (reclaim): Simply cleanup the pool.
7310 (registerStaticAttributeKey): Store mapping in both ways.
7311 (searchImmutableSet): New helper method for caching.
7312 (toString): Fixed for output like the RI.
7313 * javax/swing/text/StyleConstants.java
7314 (keys): New field. Stores all known keys.
7315 (StyleConstants): Store created key in keys list.
7316 * javax/swing/event/EventListenerList.java
7317 (readObject): Fixed deserialization.
7318 (writeObject): Fixed serialization.
7320 2006-08-25 Roman Kennke <kennke@aicas.com>
7322 * javax/swing/text/CompositeView.java
7323 (insets): Removed. Replaced by single short fields.
7324 (top): New field. Replaces insets.
7325 (bottom): New field. Replaces insets.
7326 (left): New field. Replaces insets.
7327 (right): New field. Replaces insets.
7328 (CompositeView): Initialize insets fields.
7329 (createDefaultLocation): Removed unneeded method.
7330 (getBottomInset): Return field directly.
7331 (getTopInset): Return field directly.
7332 (getLeftInset): Return field directly.
7333 (getRightInset): Return field directly.
7334 (getInsideAllocation): Adjusted to work on new insets fields.
7335 (getViewIndex): Fixed check.
7336 (loadChildren): Don't replace the old children.
7337 (replace): Make sure that there is an array to operate on.
7338 Only set parent to null, when it is this View.
7339 (setInsets): Adjusted to work with new insets fields.
7340 (setParagraphInsets): Fixed to pull insets directly from
7343 2006-08-25 Roman Kennke <kennke@aicas.com>
7345 * javax/swing/text/ComponentView.java
7346 (Interceptor): New inner helper class. Used to propagate
7347 invalidate requests and cache component layout sizes.
7348 (interceptor): New field.
7349 (getAlignment): Fetch alignment from interceptor container.
7350 (getComponent): Don't create component here. This is done
7352 (getMaximumSpan): Fetch layout info from interceptor. Check
7354 (getMinimumSpan): Fetch layout info from interceptor. Check
7356 (getPreferredSpan): Fetch layout info from interceptor. Check
7358 (modelToView): Fixed model to view mapping.
7359 (viewToModel): Fixed view to model mapping.
7360 (paint): Check for null. Set bounds on interceptor rather
7362 (setParentImpl): Install interceptor between component
7363 and hosting container.
7364 (setParent): Call super.setParent() immediately.
7366 2006-08-25 Roman Kennke <kennke@aicas.com>
7368 * javax/swing/text/LabelView.java
7369 (setPropertiesFromAttributes): Only set background when
7370 the corresponding attribute is actually defined, otherwise
7371 set to null, as the StyleConstants would return black.
7372 * javax/swing/text/DefaultStyledDocument.java
7373 (ElementBuffer.documentEvent): Removed obsolete field.
7374 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7375 to correctly update the element structure.
7376 (ElementBuffer.insertContentTag): Removed unused statement.
7377 (ElementBuffer.recreateAfterFracture): Removed
7378 unused obsolete method.
7379 (setCharacterAttributes): Removed unused statement.
7381 2006-08-25 Roman Kennke <kennke@aicas.com>
7383 * examples/gnu/classpath/examples/swing/Demo.java
7384 (LaterMain.run): Removed unused local variable.
7385 (Demo): Don't put desktop in scrollpane.
7386 (addChildren): Removed unused method.
7387 (mkButtonBar): Added HTML demo.
7388 (mkMenuBar): Added HTML demo.
7389 (mkPanel): Removed unused method.
7390 (mkScrollPane): Removed unused method.
7391 (mkTree): Removed unused method.
7392 (valign2str): Removed unused method.
7393 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7394 Initialize text field with some HTML that already works.
7395 (DEBUG): New field. Set to true for debugging output.
7396 (createContent): Dump element tree after parsing.
7398 2006-08-25 Roman Kennke <kennke@aicas.com>
7400 * javax/swing/text/html/CSS.java
7401 (getValue): Added color value conversion.
7402 * javax/swing/text/html/HTMLDocument.java
7403 (HTMLReader.ConvertAction): New class, converts HTML style tags
7405 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7406 * javax/swing/text/html/InlineView.java
7407 (setPropertiesFromAttributes): Implemented to fetch
7408 CSS character attributes.
7409 * javax/swing/text/html/StyleSheet.java
7410 (addCSSAttribute): Convert value.
7411 (getBackground): Implemented to fetch CSS background color
7413 (getForeground): Implemented to fetch CSS color
7415 (getFont): Adjust font size for superscript and subscript.
7416 (translateHTMLToCSS): Rudimentary implementation that
7417 copies the original attributes, so that any CSS attributes in
7418 there are preserved.
7419 (stringToColor): Use CSSColor for conversion.
7420 * gnu/javax/swing/text/html/css/CSSColor.java:
7421 New class. Converts CSS color values to RGB color values.
7422 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7423 Removed. This is more or less replaced by CSSColor and the
7424 ConvertAction in HTMLReader.
7426 2006-08-25 Roman Kennke <kennke@aicas.com>
7428 * javax/swing/text/BoxView.java
7429 (childReqs): Removed obsolete field.
7430 (baselineLayout): Reimplemented for correct baseline layout.
7431 (baselineRequirements): Reimplemented for correct baseline
7433 (updateChildRequirements): Removed obsolete method.
7434 * javax/swing/text/GlyphView.java
7435 (DefaultGlyphPainter.getSpan): Removed unused statement.
7436 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7437 specially. The subscript/superscript layout is performed
7438 via the alignment, the font is supplied by the StyleContext.
7439 (breakView): Removed unused statements.
7440 (getAlignment): Adjust alignment according to the
7441 superscript/subscript setting.
7442 (getFont): Reimplemented to fetch the font from the style
7443 context, or from the document if the stylecontext is not
7445 (getPreferredSpan): Adjust span for superscript. Use switch
7447 * javax/swing/text/LabelView.java
7448 (setPropertiesFromAttributes): Fetch background and foreground
7449 from document / style context.
7450 (isSubscript): Resync properties if needed.
7451 * javax/swing/text/ParagraphView.java
7452 (Row.calculateMinorAxisRequirements): Overridden to perform
7454 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7456 2006-08-24 Roman Kennke <kennke@aicas.com>
7458 * javax/swing/text/Utilities.java
7459 (BUF_LENGTH): Removed unused field.
7460 (drawTabbedText): Removed unneeded cast.
7461 (getBreakLocation): Removed unneeded cast.
7462 Fixed offset to account for Segments not starting at 0.
7464 2006-08-24 Roman Kennke <kennke@aicas.com>
7466 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7467 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7468 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7469 (ScrollingPane.updateUI): Likewise.
7470 (calculateTabWidth): Rewritten to correctly and efficiently
7471 layout the tab width.
7472 (layoutLabel): Call SwingUtilities method with the tabPane
7474 (paintContentBorderLeftEdge): Removed unused statement.
7475 (paintContentBorderRightEdge): Removed unused statement.
7476 (paintContentBorder): Removed unused statement.
7478 2006-08-24 Roman Kennke <kennke@aicas.com>
7480 * javax/swing/plaf/basic/BasicTextUI.java
7481 (RootView.getAttributes): Overridden to return null,
7482 as the RootView has no parent.
7484 2006-08-24 Roman Kennke <kennke@aicas.com>
7486 * javax/swing/text/html/CSSParser.java: Removed.
7487 * javax/swing/text/html/CSS.java
7488 (getValue): New helper method. Returns special converter
7489 instances for certain kinds of property values.
7490 * javax/swing/text/html/HTMLDocument.java
7491 (HTMLReader.CharacterAction.start): Don't translate tags
7492 here. Instead, store the attributes directly with the tag
7494 (content): Removed field. The Content object is handled
7495 by AbstractDocument.
7496 (styleSheet): Removed field. The styleSheet is the styleContext
7497 of this document and handled by the DefaultStyledDocument already.
7498 (HTMLDocument(Content,StyleSheet): Simply call super here.
7499 The super classes already handle the content and styleContext.
7500 (HTMLDocument()): Call this() with a default GapContent and
7502 (getStyleSheet): Return the styleContext here.
7503 (insertUpdate): New method. Overridden to add the
7504 CONTENT dummy tag to the element's attributes.
7505 (setBase): Set the base on the styleContext.
7506 * javax/swing/text/html/HTMLEditorKit.java
7507 (styleContext): Removed unneeded field.
7508 (styleSheet): Made field private.
7509 (HTMLEditorKit): Do nothing here. The StyleSheet is
7510 created lazily in getStyleSheet(). A styleContext is not
7512 (getStyleSheet): Create StyleSheet correctly.
7513 (insertHTML): Removed unneeded cast.
7514 * javax/swing/text/html/InlineView.java
7515 (attributes): New field.
7516 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7517 (getAttributes): Implemented to fetch the attributes from
7519 * javax/swing/text/html/MultiAttributeSet.java: New class.
7520 Multiplexes between several AttributeSets.
7521 * javax/swing/text/html/MultiStyle.java: New class.
7522 Multiplexes between several Styles.
7523 * javax/swing/text/html/ParagraphView.java
7524 (attributes): New field.
7525 (getAttributes): Implemented to fetch the attributes from
7527 * javax/swing/text/html/StyleSheet.java
7528 (CssParser): Removed inner class.
7529 (CSSStyle): New inner class. Represents a style defined
7531 (CSSStyleSheetParserCallback): New class, for parsing
7533 (css): New field. Stores the CSS rules.
7534 (resolvedStyles): New field. Stores resolved styles.
7535 (StyleSheet): Initialize resolvedStyles map.
7536 (addRule): Removed bogus impl.
7537 (getFont): Implemented to fetch font, based on CSS rules.
7538 (getResolvedStyle): New helper method. Looks up resolved
7539 styles, and resolves a style if necessary.
7540 (resolveStyle): New pair of helper methods. Resolves
7542 (getRule(String)): Provide rudimentary implementation.
7543 (getRule(Tag,Element)): Implemented.
7544 (getViewAttributes): Implemented.
7545 (loadRules): Implemented.
7546 (translateHTMLToCSS): Tagged as not implemented.
7547 * javax/swing/text/html/ViewAttributeSet.java: New class.
7549 2006-08-24 Roman Kennke <kennke@aicas.com>
7551 * javax/swing/text/FlowView.java:
7552 (LogicalView.getAttributes): New method. Overrides super
7553 impl to return the attributes of the FlowView instance.
7554 * javax/swing/text/LabelView.java:
7555 (setPropertiesFromAttributes): Fetch attributes from
7556 View, rather then from the Element. (In the HTML
7557 package the getAttributes() method is overridden to
7558 return different attributes). Fetch font from the StyledDocument.
7560 2006-08-24 Roman Kennke <kennke@aicas.com>
7562 * javax/swing/text/DefaultEditorKit.java:
7563 (DefaultKeyTypedAction.actionPerform): Also filter
7564 ALT and CTRL modifiers.
7566 2006-08-24 Roman Kennke <kennke@aicas.com>
7568 * gnu/javax/swing/text/html/css/FontSize.java,
7569 * gnu/javax/swing/text/html/css/FontStyle.java,
7570 * gnu/javax/swing/text/html/css/FontWeight.java:
7571 New classes. Used to convert CSS font attributes to AWT/Swing
7574 2006-08-24 Francis Kung <fkung@redhat.com>
7575 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7576 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7577 (srccs, dstcs, rasterValid): Variables removed.
7578 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7579 (copyRaster): Check for null rendering hints
7580 (createCompatibleColorModel): New private method.
7581 (createCompatibleDestImage): Re-implemented.
7582 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7583 (createCompatibleDestRaster(Raster)): Re-implemented.
7584 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7585 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7586 (getPoint2D): Clean up formatting.
7587 * java/awt/image/ComponentColorModel.java
7588 (constructor): use findBits method instead of passing null.
7589 (findBits): New method.
7591 2006-08-24 Gary Benson <gbenson@redhat.com>
7593 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7596 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7598 * java/lang/ref/Reference.java
7599 (queue, nextOnQueue): Made volatile.
7600 (enqueue): Made thread safe.
7601 * java/lang/ref/ReferenceQueue.java
7603 (poll): Removed synchronized.
7604 (enqueue): Changed to synchronize on lock object, to update Reference
7605 state and return success status.
7606 (dequeue, remove): Synchronize on lock object.
7608 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7610 * java/security/SecureClassLoader.java
7611 (protectionDomainCache): Changed to HashMap.
7612 (SecureClassLoader): Removed redundant security check.
7613 (defineClass(String,byte[],int,int,CodeSource): Moved
7614 protection domain lookup/construction to new method.
7615 (defineClass(String,ByteBuffer,CodeSource): New method.
7616 (getProtectionDomain): New method.
7618 2006-08-23 Roman Kennke <kennke@aicas.com>
7620 * javax/swing/JComponent.java
7621 (isRepainting): Made package private.
7622 (paintChild): New field.
7623 (findOpaqueParent): Removed method. This is now in
7625 (findOverlapFreeParent): Removed method. This is now
7626 in paintImmediately2().
7627 (findPaintRoot): Removed method. This is now
7628 in paintImmediately2().
7629 (isCompletelyObscured): Changed to take rectangle as single
7631 (isPaintingDoubleBuffered): Removed method. This is now
7632 in paintImmediately2().
7633 (isPartiallyObscured): New helper method.
7634 (onTop): New helper method for optimization.
7635 (paintChildren): Paint only to specific child when
7636 requested like this from paintImmediately2().
7637 (paintDoubleBuffered): Changed to take rectangle as single int
7639 (paintImmediately2): Changed to take rectangle as single int
7640 arguments. Optimized determination of paint root.
7641 (paintImmediately(Rectangle)): Change to delegate to
7642 paintImmediately(int,int,int,int).
7643 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7644 and start painting there.
7645 (paint): Call paintDoubleBuffered() with int arguments. Only
7646 paint component, when not completely occupied by opaque child.
7647 (processKeyBinding): Removed unnecessary cast.
7648 (isOccupiedByChild): New helper method.
7649 * javax/swing/RepaintManager.java
7650 (repaintUnderway): Removed obsolete field.
7651 (commitRequests): Removed obsolete field.
7652 (RepaintManager): Removed initialization of obsolete fields.
7653 (addDirtyRegion): Removed unused statement.
7654 (commitBuffer): Changed to take plain ints as argument.
7655 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7656 Compute offsets in place, rather than using SwingUtilities.
7657 (paintDirtyRegions): Removed unused field.
7658 * javax/swing/JMenuItem.java
7659 (onTop): Return true when not descendant of JInternalFrame.
7660 * javax/swing/JPopupMenu.java
7661 (onTop): Return true.
7662 * javax/swing/JToolTip.java
7663 (onTop): Return true.
7664 * javax/swing/JViewport.java
7665 (paintImmediately2): Change signature to match the
7666 corresponding JComponent method.
7668 2006-08-23 Tania Bento <tbento@redhat.com>
7670 * java/awt/Color.java
7671 (brighter): Modified algorithm to correctly determine the
7672 new brighter colour.
7674 2006-08-23 Roman Kennke <kennke@aicas.com>
7676 * java/awt/Container.java
7677 (maxSize): Removed field. This is already declared in Component.
7678 (validateTree): Check for ContainerPeer. Don't addNotify here.
7679 Only validate Component instances if they are invalid.
7681 2006-08-22 Roman Kennke <kennke@aicas.com>
7683 * javax/swing/JComponent.java
7684 (preferredSize): Removed field.
7685 (maximumSize): Removed field.
7686 (minimumSize): Removed field.
7687 (getMaximumSize): Adjusted to delegate to Component, rather
7688 then managing the size in JComponent.
7689 (getMinimumSize): Adjusted to delegate to Component, rather
7690 then managing the size in JComponent.
7691 (getPreferredSize): Adjusted to delegate to Component, rather
7692 then managing the size in JComponent.
7693 (isMaximumSizeSet): Removed.
7694 (isMinimumSizeSet): Removed.
7695 (isPreferredSizeSet): Removed.
7696 (setMaximumSize): Removed.
7697 (setMinimumSize): Removed
7698 (setPreferredSize): Removed.
7700 2006-08-22 Roman Kennke <kennke@aicas.com>
7702 * javax/swing/AbstractButton.java
7703 (ButtonChangeListener.stateChanged): Delegate to combined
7705 (EventHandler): New inner class. Handles all three types
7706 of events on the model.
7707 (eventHandler): New field. Stores the combined event
7709 (AbstractButton): Moved listener initialization to
7711 (createActionListener): Return combined handler.
7712 (createChangeListener): Return combined handler.
7713 (createItemListener): Return combined handler.
7714 (getEventHandler): New helper method for creating the combined
7716 (setModel): Initialize listeners here.
7717 * javax/swing/plaf/basic/BasicButtonListener.java
7718 (ButtonAction): New class. Implements the keyboard action
7720 (checkOpacity): Implemented.
7721 (createDefaultActionMap): New helper method.
7722 (installKeyboardActions): Rewritten to install InputMap
7723 and ActionMap according to 'new' keyboard input method.
7724 (mouseClicked): Commented as no-op.
7725 (mouseDragged): Commented as no-op.
7726 (mouseMoved): Commented as no-op.
7727 (propertyChange): Check for contentAreaFilled change and
7728 update opacity. Pull handling of HTLM in font and text handler.
7729 (stateChanged): Repaint button.
7730 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7731 * javax/swing/plaf/basic/BasicButtonUI.java
7732 (listener): Removed.
7733 (sharedListener): New static field. Stores the shared listener.
7734 (sharedUI): New static field. Stores the shared UI.
7735 (createButtonListener): Return shared instance here.
7736 (createUI): Return shared instance here.
7737 (getButtonListener): New helper method. Looks for the
7738 BasicButtonListener installed on a button and returns it.
7739 (installDefaults): Correctly install rollover property here.
7740 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7741 (installKeyboardActions): Fetch listener with new helper method.
7742 (installListeners): Don't use removed field. Check for null.
7743 (installUI): Added comment about order of method invocations.
7744 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7745 (uninstallKeyboardActions): Fetch listener with new helper method.
7746 (uninstallListeners): Fetch listener with new helper method.
7747 (paintIcon): Paint icon offset when pressed and armed.
7748 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7749 * javax/swing/plaf/metal/MetalButtonUI.java
7750 (sharedUI): New field. Stores the shared UI.
7751 (MetalButtonUI): Don't initialize fields here.
7752 (createButtonListener): Removed method. Use super impl.
7753 (createUI): Return shared instance.
7754 (getDisabledTextColor): Update field here.
7755 (getFocusColor): Update field here.
7756 (getSelectColor): Update field here.
7757 (installDefaults): Don't handle rollover property here.
7758 (uninstallDefaults): Don't handle rollover property here.
7759 (paintButtonPressed): Use accessor method to update the
7762 2006-08-21 Mark Wielaard <mark@klomp.org>
7764 Merge NATIVE_LAYER branch.
7766 2006-08-20 Mark Wielaard <mark@klomp.org>
7768 * doc/tools.texinfo: Add file from trunk.
7769 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7770 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7772 * native/jni/java-lang/java_lang_VMProcess.c
7773 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7774 * native/jni/java-net/java_net_VMInetAddress.c
7775 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7776 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7778 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7780 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7782 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7784 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7786 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7788 * include/java_lang_VMProcess.h: Regenerated.
7790 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7792 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7793 (nativeReceive): Fixed the type of the arrays (use java types).
7794 (nativeSendTo): Force throwing an exception if port is 0.
7796 * native/jni/java-net/javanet.c:
7797 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7799 (_javanet_recvfrom): Likewise.
7800 (_javanet_sendto): Throw a NullPointerException if the socket is
7801 not connected and no address is given.
7803 * native/jni/java-net/javanet.h
7804 (NULL_EXCEPTION): Defined.
7806 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7808 * native/jni/java-net/java_net_VMInetAddress.c
7809 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7812 * native/jni/java-net/javanet.c
7813 (_javanet_accept): Fixed bogus call to TARGET.
7814 (_javanet_create_inetaddress): Fixed address generation. Fixed
7816 (_javanet_bind): set "Reuse address" flag.
7818 * native/jni/native-lib/cpio.c
7819 (cpio_getModificationTime): Fixed type.
7820 (cpio_removeFile): Use rmdir too.
7822 * native/jni/native-lib/cpnet.c
7823 (cpnet_getHostByName): Fixed error detection.
7825 * native/jni/native-lib/cpnet.h
7826 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7828 (cpnet_IPV4AddressToBytes): Fixed types.
7830 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7832 * native/jni/native-lib/cpio.c
7833 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7835 * native/jni/native-lib/cpnet.h:
7836 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7837 messed by signs in jbyte.
7839 * native/jni/native-lib/cpproc.h
7840 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7842 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7844 * native/jni/native-lib/cpnet.c
7845 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7846 (waitForWritable, waitForReadable): New functions.
7847 (socketTimeouts): New static global table to hold timeouts for all
7849 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7850 Added waitForXXXX safeguards to handle socket timeouts.
7852 * native/jni/java-net/javanet.c
7853 (_javanet_accept): Check for the right error value when a timeout
7856 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7858 * native/jni/java-io/Makefile.am,
7859 native/jni/java-lang/Makefile.am,
7860 native/jni/java-net/Makefile.am,
7861 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7863 * native/jni/native-lib/Makefile.am: Added cpproc.c
7865 * native/jni/native-lib/cpio.c: Implemented missing functions for
7868 * native/jni/native-lib/cpnet.c
7869 (cpnet_getHostByName): Fixed address array initialization.
7871 * native/jni/native-lib/cpproc.c: Implemented.
7873 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7875 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7877 * m4/gcc_attribute.m4: New file from ac_archive.
7879 * native/jni/java-net/javanet.c: Adapted to cpnet API
7882 * native/jni/native-lib/cpnet.c: Implemented.
7884 * native/jni/native-lib/cpnet.h
7885 (cpnet_openSocketDatagram,
7886 cpnet_openSocketStream): These calls need an address family now.
7887 (cpnet_IPV4AddressToBytes,
7888 cpnet_bytesToIPV4Address): Convert the address to network order.
7890 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7892 * native/jni/java-io/java_io_VMFile.c,
7893 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7894 native/jni/midi-dssi/dssi_data.h,
7895 native/jni/native-lib/cpio.c,
7896 native/jni/native-lib/cpmath.h: Removed cpmath
7897 dependency. Fixed coding style.
7899 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7901 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7902 dependency. Simplified the JNI code by moving some part into the
7905 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7907 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7909 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7910 errors. Removed any remaining TARGET invocations.
7912 * native/jni/java-net/javanet.c
7913 (_javanet_create_inetaddress): Removed spurious arr and
7914 octets. Fixed compilation errors.
7916 * native/jni/native-lib/cpnet.h
7917 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7918 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7919 cpnet_isIPV4Address): New functions.
7920 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7923 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7925 * native/jni/java-io/java_io_VMFile.c,
7926 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7927 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7928 native/jni/java-net/javanet.c,
7929 native/jni/java-net/javanet.h: Adapted the VM layer code
7930 to the new native layer.
7932 * native/jni/native-lib/cpnet.h
7933 (cpnet_addMembership,
7934 cpnet_dropMembership,
7935 cpnet_getAvailableBytes): Added the declarations of
7937 (cpnet_newIPV6Address,
7938 cpnet_IPV6AddressToBytes,
7939 cpnet_bytesToIPV6Address): Implemented.
7940 (cpnet_newIPV4Address): Initialize the sin_family field.
7942 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7944 * native/target: Removed.
7946 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7947 Makefile generation.
7949 * native/jni/native-lib/Makefile.am,
7950 native/jni/native-lib/cpnet.h,
7951 native/jni/native-lib/cpnet.c
7952 native/jni/native-lib/cpio.h,
7953 native/jni/native-lib/cpio.c,
7954 native/jni/native-lib/cpmath.h: Imported new native compatibility
7957 2006-08-21 Roman Kennke <kennke@aicas.com>
7959 * gnu/javax/swing/text/html/css/CSSParser.java:
7961 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7963 * gnu/javax/swing/text/html/css/CSSParserException.java:
7965 * gnu/javax/swing/text/html/css/CSSScanner.java:
7966 Adjusted API comments. Made all constants package private.
7967 (EOF): New constant field.
7968 (parseBuffer): Made package private.
7969 (tokenEnd): Made package private.
7970 (CSSScanner): Initialize lookahead buffer with -1.
7971 (main): Print out to System.out rather then System.err.
7972 (nextToken): Push back character after IDENT.
7974 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7976 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7978 2006-08-21 Roman Kennke <kennke@aicas.com>
7980 * gnu/javax/swing/text/html/css/CSSScanner.java
7981 (main): Use buffered input stream.
7982 (nextToken): Removed 65536 workaround. Use int value directly
7983 without cast to char.
7984 (readComment): Use int value directly without cast to char.
7985 Cast to char only when putting the character into the buffer.
7986 (readEscape): Likewise.
7987 (readIdent): Likewise.
7988 (readName): Likewise.
7989 (readNum): Likewise.
7990 (readString): Likewise.
7991 (readWhitespace): Likewise.
7993 2006-08-21 Ingo Proetel <proetel@aicas.com>
7995 * java/io/InputStreamReader.java
7996 (bytesCache): New field.
7997 (cacheLock): New field.
7998 (read(byte[],int,int): Avoid allocations of new byte
7999 array on every call and reuse cached byte array if possible.
8001 2006-08-21 Roman Kennke <kennke@aicas.com>
8003 * gnu/java/net/local/LocalSocketImpl.java
8004 Only load native lib if this is supported by runtime.
8005 * native/jni/java-net/local.c
8006 Include config.h unconditionally.
8007 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8008 Include config.h unconditionally.
8010 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8012 * java/io/ObjectInputStream.java
8013 (objectLookupTable): Changed to be a Vector.
8014 (ObjectInputStream): Initialize objectLookupTable as Vector.
8015 (assignNewHandle): Store Object using handle index rather than
8016 Hashtable, using the new rememberHandle() method.
8017 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8018 with a caching in ObjectStreamClass.
8019 (inputGetObjectStreamClass): Replaced by hierarchy().
8020 (lookupHandle): New method. Looks up an object by it's handle
8022 (parseContent): Avoid creating of Integer objects. Use
8023 hierarchy() method for looking up the class hierarchy.
8024 (processResolution): Use rememberHandle() to store
8025 handle per index, rather than Hashtabling the object.
8027 (rememberHandle): New method.
8028 * java/io/ObjectOutputStream.java
8029 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8030 Hashtable for improved lookup performance.
8031 (ObjectOutputStream): Initialize OIDLookupTable as
8032 ObjectIdentityMap2Int.
8033 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8034 (findHandle): Change to use ObjectIdentityMap2Int.
8035 (getBooleanField): Removed.
8036 (getByteField): Removed.
8037 (getCharField): Removed.
8038 (getDoubleField): Removed.
8039 (getField): Removed.
8040 (getFloatField): Removed.
8041 (getIntField): Removed.
8042 (getLongField): Removed.
8043 (getObjectField): Removed.
8044 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8045 (writeFields(Object,ObjectStreamField)): New helper method.
8046 Use switch rather then if-else cascade.
8047 (writeObject): Use int handle, rather then Integer.
8048 * java/io/ObjectStreamClass.java
8049 (hierarchy): New field. Caches the class hierarchy.
8050 (methodCache): New field. Caches methods.
8051 (readObjectSignature): New field. Stores the read signature.
8052 (uidCache): New field. Caches UIDs.
8053 (writeObjectSignature): New field. Stores the write signature.
8054 (cacheMethods): Cache methods in methodCache.
8055 (calculateClassID): Outsourced from getClassUID()
8056 for computing the UIDs.
8057 (getClassUIDFromField): Outsourced from getClassUID() for
8058 fetching the UID from the class field.
8059 (getClassUID): Use cached uid if possible. Use new helper
8060 methods for fetching the UID from the field or computing
8062 (getObjectStreamClasses): Removed. Replaced by more
8063 efficient hierarchy() method, that also caches the result.
8064 (hierarchy): Replaces getObjectStreamClasses() for caching
8066 (loadedByBootOrApplicationClassLoader): New helper method.
8067 (setClass): Invalidate hierarchy cache.
8068 (setSuperclass): Invalidate hierarchy cache.
8069 * java/io/ObjectStreamField.java
8070 (field): Made field package private for access from other
8072 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8073 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8074 hashtable for mapping objects to ints.
8076 2006-08-21 Roman Kennke <kennke@aicas.com>
8079 (getAbsolutePath): Fetch absolute path from
8080 VMFile.getAbsolutePath(). Moved actual impl to there.
8081 (isAbsolute): Let VMFile determine the absoluteness.
8082 (toURL): Let VMFile convert the filename.
8083 * vm/reference/java/io/VMFile.java
8084 (getAbsolutePath): New method.
8085 (isAbsolute): New method.
8086 (toURL): New method.
8088 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8090 * NEWS: Added note about updated VM interface.
8092 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8094 * java/lang/management/ManagementFactory.java:
8095 Updated documentation.
8097 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8100 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8102 * gnu/java/util/regex/CharIndexedCharSequence.java,
8103 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8105 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8106 (match): call the new method setHitEnd of the input,
8107 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8108 Some optimization commented out, Use CharIndexed#move1 instead of move.
8109 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8110 * gnu/java/util/regex/REToken.java(match): The method body has been
8111 moved to an internal private method, (matchFake): New method,
8112 (setHitEnd): New method.
8113 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8114 if the match is not complete, (matchOneString): Count the number of
8115 characters which matched the pattern.
8116 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8117 (setFake): New method, (match): Call super.match or super.matchFake.
8118 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8119 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8120 setHitEnd of the input,
8121 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8122 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8123 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8125 2006-08-18 Tom Tromey <tromey@redhat.com>
8127 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8128 the 'int', not the cast char.
8130 2006-08-18 Roger Sayle <roger@eyesopen.com>
8132 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8133 which isn't available in all shells.
8135 2006-08-18 Roger Sayle <roger@eyesopen.com>
8137 * lib/Makefile.am (resources): Fix some shell portability issues.
8139 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8141 * configure.ac (tool-wrappers): Check for ltdl support when tool
8142 wrapper binaries are enabled.
8143 * tools/Makefile.am (LIBJVM): Remove variable.
8144 (AM_CPPFLAGS): Add LIBJVM define.
8145 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8146 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8147 gjavah_LDFLAGS): Remove variables.
8148 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8150 2006-08-18 Tom Tromey <tromey@redhat.com>
8152 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8154 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8156 (readEntries): Likewise.
8158 2006-08-17 Roman Kennke <kennke@aicas.com>
8160 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8161 (layoutLabel): Reset the text and icon rectangles.
8163 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8166 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8167 Transform gappletviewer name using program_transform_name.
8169 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8171 * javax/swing/filechooser/FileSystemView.java
8172 (getFileSystemView): Always return UnixFileSystemView, since
8173 that's the only one we got. Marked with NotImplementedException.
8174 * javax/swing/plaf/basic/BasicFileChooserUI.java
8175 (mouseClicked, installUI): Don't parse path by hand.
8177 2006-08-17 Roman Kennke <kennke@aicas.com>
8179 * javax/swing/JComponent.java
8180 (scrollRectToVisible): Handle intermediate non-JComponents
8183 2006-08-17 Roman Kennke <kennke@aicas.com>
8185 * javax/swing/RepaintManager.java
8186 (blitBuffer): Removed. This is now done in commitBuffer().
8187 (commitBuffer): Always paint on the root window or applet.
8188 No need to look for intermediate heavyweights. Optimized
8189 rectangle translation.
8190 (commitRemainingBuffers): Removed. Not needed anymore.
8191 (getHeavyweightParent): Removed. Not needed anymore.
8192 (getOffscreenBuffer): Fetch offscreen image from the
8193 actual root component.
8194 (paintDirtyRegions): Don't call commitRemainingBuffers().
8196 2006-08-17 Roman Kennke <kennke@aicas.com>
8198 * javax/swing/SwingUtilities.java
8199 (clipString): New helper method for trimming strings.
8200 (layoutCompoundLabelImpl): Fixed algorithm to conform
8201 testsuites. Trim text if it's too long. Avoid creating
8202 new Rectangles. Optimized for performance.
8203 (layoutCompoundLabel): Use switch rather then if-else-chain.
8204 * javax/swing/plaf/basic/BasicButtonUI.java
8208 (paint): Reset and use cached rectangles. Only call paintIcon()
8209 if icon is not null. Don't call paintButtonPressed() when
8210 button is selected, only when it is both armed and pressed.
8211 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8212 (getPreferredButtonSize): Reused cached rectangles rather
8213 then creating new ones. Don't create new Rectangle via
8215 * javax/swing/plaf/basic/BasicLabelUI.java
8216 (getPreferredSize): Correctly reset cached rectangles. Especially
8217 the view rect must have a big size to give it room for layouting.
8218 Short cut layout when text == null.
8219 (paint): Correctly reset cached rectangles.
8220 * javax/swing/plaf/basic/BasicMenuItemUI.java
8221 (resetRectangles): New helper method.
8222 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8223 (paintMenuItem): Correctly reset the cached rectangles.
8224 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8225 (getPreferredSize): Use cached Rectangle objects and initialize
8227 (paint): Use cached Rectangle objects and initialize
8230 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8232 * java/util/Calendar.java: API doc additions.
8234 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8236 * javax/swing/DefaultButtonModel.java:
8237 (setRollover): Simplified statement.
8239 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8241 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8242 (loadClass): Rewritten to use getClassLoader.
8243 (loadProxyClass): Implemented.
8244 (getClassLoader): Fixed support for null or empty codebase.
8245 * gnu/java/rmi/server/RMIObjectInputStream.java
8246 (resolveClass): Use user class loader as default class loader.
8247 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8248 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8249 (loadClass): Simplified and use user class loader instead of
8250 context class loader as default.
8251 * java/io/ObjectInputStream.java
8252 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8253 * vm/reference/gnu/classpath/VMStackWalker.java
8254 (firstNonNullClassLoader): New method.
8255 * vm/reference/java/io/VMObjectInputStream.java
8256 (loaderAction, currentClassLoader): Removed.
8258 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8260 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8261 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8262 by current scroll offset, added method documention.
8263 (getTabBounds(int, Rectangle)): Added method documentation.
8264 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8265 (paintContentBorderLeftEdge): Changed y to 1.
8267 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8269 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8270 (MouseHandler.mouseReleased): Implemented.
8271 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8272 (MouseHandler.mouseEntered): Dito.
8273 (MouseHandler.mouseExited): Dito.
8274 (MouseHandler.mouseMoved): Dito.
8275 (MouseHandler.redispatchEvent): New method.
8276 (PropertyChangeHandler.propertyChange): Added extra block level,
8277 added code to handle tab placement changes, added comment.
8278 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8280 2006-08-16 Roman Kennke <kennke@aicas.com>
8282 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8283 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8286 2006-08-16 Mark Wielaard <mark@klomp.org>
8288 * java/awt/Component.java (orientation): Renamed to
8289 componentOrientation.
8290 (setComponentOrientation): Use new field name.
8291 (getComponentOrientation): Likewise.
8293 2006-08-16 Roman Kennke <kennke@aicas.com>
8296 * javax/swing/plaf/basic/BasicTreeUI.java
8297 (CellEditorHandler.editingCancelled): Call completeEditing
8299 (CellEditorHandler.editingStopped): Call completeEditing
8301 (NodeDimensionHandler.getNodeDimensions): Rewritten
8302 to use the preferred sizes of the renderer and editor.
8303 (TreeExpansionHandler.treeCollapsed): Complete editing
8305 (TreeSelectionHandler.valueChanged): Complete editing
8307 (cancelEditing): Call completeEditing with false, false and
8308 false. Don't call finish (removed method).
8309 (completeEditing(boolean,boolean,boolean): Only do something when
8310 stopEditingInCompleteEditing is true. Nullify editingComponent
8311 and editingPath. Remove editingComponent from tree. Update
8312 the layout when necessary and repaint.
8313 (completeEditing): Stop editing when necessary.
8314 (editorRequestFocus): New helper method. Request focus
8315 on the actual editor.
8316 (finish) Removed. This is now done in completeEditing().
8317 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8318 (setLargeModel): Complete editing here.
8319 (setRootVisible): Complete editing here.
8320 (setRowHeight): Complete editing here.
8321 (setSelectionModel): Complete editing here.
8322 (startEditing): Correctly initialize and start editing.
8323 (updateExpandedDescendants): Complete editing here.
8324 * javax/swing/tree/DefaultTreeCellEditor.java
8325 (DefaultTextField): Fetch size from super and use renderer's height
8327 (EditorContainer.EditorContainer): Set layout to null, just
8329 (EditorContainer.doLayout): Layout so that the editor
8330 is offset to the right of the icon.
8331 (EditorContainer.getPreferredSize): Implemented to
8332 provide a reasonable preferred size.
8333 (EditorContainer.paint): Position icon in the middle.
8334 Also paint border if appropriate.
8335 (EditorContainer.setBounds): Removed.
8336 (RealEditorListener): Removed.
8337 (DefaultTreeCellEditor): Set correct border.
8338 (cancelCellEditing): Message real editor. Call finish().
8339 (createCellEditor): Don't add listener.
8340 (determineOffset): Correctly determine offset, and update
8342 (finish): New helper method.
8343 (getTreeCellEditorComponent): Set correct font. Call
8344 prepareForEditing() and determineOffset() to correctly initialize
8346 (stopCellEditing): Messsage realEditor to stop editing. Call
8348 (stopEditingTimer): Removed.
8349 (valueChanged): Correctly reset lastPath.
8350 * javax/swing/tree/DefaultTreeCellRenderer.java
8351 (getPreferredSize): Return super plus some extra space for
8354 2006-08-16 Roman Kennke <kennke@aicas.com>
8356 * javax/swing/plaf/metal/MetalTreeUI.java
8357 (LineStyleListener): New property listener, that updates
8358 the line style setting if the corresponding property
8360 (lineStyleListener): New field.
8361 (lineStyle): New field.
8362 (LINE_STYLE_ANGLED): New constant field.
8363 (LINE_STYLE_HORIZONTAL): New constant field.
8364 (LINE_STYLE_NONE): New constant field.
8365 (LINE_STYLE_VALUE_ANGLED): New constant field.
8366 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8367 (LINE_STYLE_VALUE_NONE): New constant field.
8368 (LINE_STYLE_PROPERTY): New constant field.
8369 (decodeLineStyle): Implemented.
8370 (installUI): Install line style listener. Set initial
8372 (uninstallUI): Uninstall line style listener.
8373 (paintHorizontalPartOfLeg): Only call super for angled
8375 (paintVerticalPartOfLeg): Only call super for angled
8377 (paintHorizontalSeparators): Implemented.
8378 (paint): If lineStyle==HORIZONTAL, call
8379 paintHorizontalSeparators().
8380 * examples/gnu/classpath/examples/swing/TreeDemo.java
8381 (createContent): Add panel for selecting line styles.
8383 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8385 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8386 (createContent): Rewritten.
8387 (createPlacementChangingMenuItem): New method.
8388 (createLayoutPolicyChangingMenuItem): New method.
8389 (createTabbedPane): New method.
8390 (createTabContent): New method.
8392 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8394 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8395 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8396 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8398 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8400 * javax/swing/text/WrappedPlainView.java:
8401 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8402 (calculateBreakPosition): Add p0 to return value.
8404 2006-08-15 Roman Kennke <kennke@aicas.com>
8406 * javax/swing/plaf/basic/BasicTreeUI.java
8407 (MouseHandler.selectedOnPress): New field.
8408 (MouseHandler.handleEvent): New helper method for handling
8409 selection and start/stop editing for mouse events.
8410 (MouseHandler.mouseDragged): Commented as no-op method.
8411 (MouseHandler.mouseMoved): Commented as no-op method.
8412 (MouseHandler.mousePressed): Use handleEvent() to handle
8413 selection and editing handling.
8414 (MouseHandler.mouseReleased): Use handleEvent() to handle
8415 selection and editing handling.
8416 (MouseInputHandler.MouseInputHandler): Register itself
8417 as mouse listener on source. Redispatch event to
8419 (MouseInputHandler.dispatch): New helper method.
8420 (MouseInputHandler.mouseClicked): Dispatch event.
8421 (MouseInputHandler.mouseDragged): Dispatch event.
8422 (MouseInputHandler.mouseEntered): Stop dispatching
8423 if dragging stopped.
8424 (MouseInputHandler.mouseExited): Stop dispatching
8425 if dragging stopped.
8426 (MouseInputHandler.mouseMoved): Stop dispatching.
8427 (MouseInputHandler.mousePressed): Marked as no-op.
8428 (MouseInputHandler.mouseReleased): Dispatch and stop
8429 dispatching afterwards.
8430 (MouseInputHandler.removeFromSource): Implemented.
8431 (PropertyChangeHandler.propertyChange): Also handle
8432 editable property changes by calling setEditable().
8433 (SelectionModelPropertyChangeHandler.propertyChange):
8434 Reset row selection.
8435 (startEditTimer): Removed.
8436 (setCellEditor): Call updateEditor().
8437 (setEditable): Call updateEditor().
8438 (startEditingAtPath): Make path fully visible before starting
8440 (startEditing): Maybe cancel previous edit session. Add
8441 editing component itself, not its parent container.
8442 Register MouseInputHandler for correctly redispatching
8444 (stopEditing): Message cellEditor and only completeEditing()
8445 when approved by cell editor.
8446 (updateCellEditor): Complete editing before updating
8447 the cell editor. Get cell editor from JTree if possible,
8448 otherwise create default editor. Update the listeners
8450 * javax/swing/tree/DefaultTreeCellEditor.java
8451 (CLICK_COUNT_TO_START): Removed.
8452 (DefaultTreeCellEditor): Install correct border. Let setTree()
8453 update the listeners. Don't initialize lastPath and font yet.
8454 (actionPerformed): Implemented to start editing.
8455 (createTreeCellEditor): Set click count to start to 1, rather than
8457 (isCellEditable): Prepare editor here. Determine if we can
8458 start immediately, or if we trigger a timer to do so.
8459 (prepareForEditing): Don't removeAll() (not necessary),
8460 check editingComponent to be non-null.
8461 (setTree): Update listeners.
8462 (shouldStartEditingTimer): Check for left mouse button.
8463 (startEditingTimer): Lazily create timer.
8465 2006-08-15 Lillian Angel <langel@redhat.com>
8467 * java/awt/dnd/DropTargetDragEvent.java
8468 (getTransferable): Implemented.
8470 2006-08-15 Roman Kennke <kennke@aicas.com>
8472 * java/util/Vector.java
8473 (removeAll): Added comment about NPE.
8474 (retainAll): Added comment about NPE.
8476 2006-08-15 Roman Kennke <kennke@aicas.com>
8478 * java/util/zip/ZipFile.java
8479 (UTF8DECODER): Removed.
8480 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8481 (utf8Decoder): New instance field.
8482 (decodeChars): Lazily create UTF8 decoder. Use instance
8483 field rather than a static field to avoid corruption.
8485 2006-08-15 Roman Kennke <kennke@aicas.com>
8487 * java/io/PrintStream.java
8488 (line_separator): Provide default for system property.
8489 * java/io/FileDescriptor.java
8490 (valid): Create local copy of channel field for better
8493 2006-08-15 Ingo Proetel <proetel@aicas.com>
8495 * java/util/zip/ZipFile.java
8496 (PartialInputStream.UTF8DECODER): New constant field, used
8497 for decoding UTF8 strings.
8498 (readLeShort): Access buffer directly if it has enough bytes
8500 (readLeInt): Access buffer directly if it has enough bytes
8502 (decodeChars): New helper method for decoding UTF8 strings.
8503 (readString): Avoid NIO charset decoder if possible.
8505 2006-08-15 Roman Kennke <kennke@aicas.com>
8507 * java/util/Vector.java
8508 (removeAll): Don't explicitly null-check here. The RI allows
8509 null arguments when Vector is empty. In other cases we
8510 implicitly throw an NPE.
8511 (retainAll): Don't explicitly null-check here. The RI allows
8512 null arguments when Vector is empty. In other cases we
8513 implicitly throw an NPE.
8515 2006-08-14 Casey Marshall <csm@gnu.org>
8517 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8518 of changes made on this branch.
8520 * gnu/classpath/debug/Component.java
8521 * gnu/classpath/debug/SystemLogger.java
8522 * gnu/java/security/action/GetPropertyAction.java
8523 * gnu/java/security/action/GetSecurityPropertyAction.java
8524 * gnu/javax/crypto/RSACipherImpl.java
8525 * gnu/javax/net/ssl/PrivateCredentials.java
8526 * gnu/javax/net/ssl/provider/Alert.java
8527 * gnu/javax/net/ssl/provider/AlertException.java
8528 * gnu/javax/net/ssl/provider/Certificate.java
8529 * gnu/javax/net/ssl/provider/CertificateRequest.java
8530 * gnu/javax/net/ssl/provider/CertificateType.java
8531 * gnu/javax/net/ssl/provider/CertificateVerify.java
8532 * gnu/javax/net/ssl/provider/CipherSuite.java
8533 * gnu/javax/net/ssl/provider/ClientHello.java
8534 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8535 * gnu/javax/net/ssl/provider/CompressionMethod.java
8536 * gnu/javax/net/ssl/provider/Constructed.java
8537 * gnu/javax/net/ssl/provider/ContentType.java
8538 * gnu/javax/net/ssl/provider/DiffieHellman.java
8539 * gnu/javax/net/ssl/provider/Extension.java
8540 * gnu/javax/net/ssl/provider/Finished.java
8541 * gnu/javax/net/ssl/provider/Handshake.java
8542 * gnu/javax/net/ssl/provider/Jessie.java
8543 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8544 * gnu/javax/net/ssl/provider/Random.java
8545 * gnu/javax/net/ssl/provider/ServerHello.java
8546 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8547 * gnu/javax/net/ssl/provider/Signature.java
8548 * gnu/javax/net/ssl/provider/Util.java
8549 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8550 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8551 * java/security/MessageDigest.java
8552 * java/security/MessageDigestSpi.java
8553 * java/security/Signature.java
8554 * java/security/SignatureSpi.java
8555 * javax/crypto/Mac.java
8556 * javax/crypto/MacSpi.java
8557 * javax/net/ssl/HandshakeCompletedEvent.java
8558 * javax/net/ssl/HttpsURLConnection.java
8559 * javax/net/ssl/SSLContext.java
8560 * javax/net/ssl/SSLContextSpi.java
8561 * javax/net/ssl/SSLSession.java
8563 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8564 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8565 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8566 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8567 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8568 * gnu/javax/net/ssl/provider/ServerDHParams.java
8569 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8570 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8571 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8572 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8573 * gnu/javax/net/ssl/provider/ServerNameList.java
8574 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8575 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8576 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8577 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8578 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8579 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8580 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8581 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8582 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8583 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8584 * gnu/javax/net/ssl/provider/Record.java
8585 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8586 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8587 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8588 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8589 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8590 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8591 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8592 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8593 * gnu/javax/net/ssl/provider/ExtensionList.java
8594 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8595 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8596 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8597 * gnu/javax/net/ssl/provider/ServerHandshake.java
8598 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8599 * gnu/javax/net/ssl/provider/SessionImpl.java
8600 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8601 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8602 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8603 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8604 * gnu/javax/net/ssl/provider/HelloRequest.java
8605 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8606 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8607 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8608 * gnu/javax/net/ssl/provider/ClientHandshake.java
8609 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8610 * gnu/javax/net/ssl/provider/CertificateURL.java
8611 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8612 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8613 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8614 * gnu/javax/net/ssl/provider/Builder.java
8615 * gnu/javax/net/ssl/provider/Debug.java
8616 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8617 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8618 * gnu/javax/net/ssl/provider/DelegatedTask.java
8619 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8620 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8621 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8622 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8623 * javax/net/ssl/SSLEngine.java
8624 * javax/net/ssl/CertPathTrustManagerParameters.java
8625 * javax/net/ssl/KeyStoreBuilderParameters.java
8626 * javax/net/ssl/X509ExtendedKeyManager.java
8627 * javax/net/ssl/SSLEngineResult.java
8628 * gnu/javax/net/ssl/PreSharedKeyManager.java
8629 * gnu/javax/net/ssl/Session.java
8630 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8631 * gnu/javax/net/ssl/SSLCipherSuite.java
8632 * gnu/javax/net/ssl/AbstractSessionContext.java
8633 * gnu/javax/net/ssl/SessionStoreException.java
8634 * gnu/javax/net/ssl/SSLRecordHandler.java
8635 * gnu/javax/net/ssl/SSLProtocolVersion.java
8636 * gnu/javax/crypto/key/GnuPBEKey.java
8637 * gnu/java/security/util/ByteBufferOutputStream.java
8638 * gnu/java/security/Requires.java
8639 * gnu/javax/security/auth/callback/CertificateCallback.java
8641 * gnu/javax/net/ssl/provider/Context.java
8642 * gnu/javax/net/ssl/provider/DigestInputStream.java
8643 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8644 * gnu/javax/net/ssl/provider/Enumerated.java
8645 * gnu/javax/net/ssl/provider/Extensions.java
8646 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8647 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8648 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8649 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8650 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8651 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8652 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8653 * gnu/javax/net/ssl/provider/KeyPool.java
8654 * gnu/javax/net/ssl/provider/OverflowException.java
8655 * gnu/javax/net/ssl/provider/RecordInput.java
8656 * gnu/javax/net/ssl/provider/RecordInputStream.java
8657 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8658 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8659 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8660 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8661 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8662 * gnu/javax/net/ssl/provider/SSLSocket.java
8663 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8664 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8665 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8666 * gnu/javax/net/ssl/provider/SecurityParameters.java
8667 * gnu/javax/net/ssl/provider/Session.java
8668 * gnu/javax/net/ssl/provider/SessionContext.java
8669 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8670 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8672 2006-08-14 Roman Kennke <kennke@aicas.com>
8674 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8675 (DividerLayout.layoutContainer): Removed debug output.
8676 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8677 (BasicHorizontalLayoutManager.axis): New field.
8678 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8680 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8681 Call new axis constructor.
8682 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8684 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8686 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8687 Refactored to handle direction.
8688 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8689 to handle direction.
8690 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8692 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8693 to handle direction.
8694 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8695 to handle direction.
8696 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8697 to handle direction.
8698 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8700 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8701 New explicit constructor. Calls super with vertical axis.
8702 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8703 to BasicHorizontalLayoutManager.
8704 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8705 moved to BasicHorizontalLayoutManager.
8706 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8707 Functionality moved to BasicHorizontalLayoutManager.
8708 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8709 moved to BasicHorizontalLayoutManager.
8710 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8711 moved to BasicHorizontalLayoutManager.
8712 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8713 Functionality moved to BasicHorizontalLayoutManager.
8714 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8715 moved to BasicHorizontalLayoutManager.
8716 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8717 moved to BasicHorizontalLayoutManager.
8718 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8719 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8720 (BUTTON_SPRITE_R): New constant field.
8721 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8722 L sprite for left buttons.
8724 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8726 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8727 (query_formats): g_free 'name' after usage.
8728 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8729 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8731 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8734 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8737 2006-08-14 Francis Kung <fkung@redhat.com>
8740 * java/awt/image/ColorModel.java
8741 (coerceData): Added check for non-transparent images.
8743 2006-08-14 Francis Kung <fkung@redhat.com>
8745 * java/awt/image/BandCombineOp.java
8746 (BandCombineOp): Perform checks on validity of matrix.
8747 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8748 (filter): Updated to work with new matrix storage.
8749 (getMatrix): Updated javadoc.
8750 (getPoint2D): Formatting change.
8752 2006-08-14 Francis Kung <fkung@redhat.com>
8754 * java/awt/image/AffineTransformOp.java
8755 (AffineTransformOp): Updated javadoc.
8756 (createCompatibleDestImage): Match behaviour of reference implementation.
8757 (createCompatibleDestRaster): Formatting changes.
8758 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8759 (filter(Raster, WritableRaster)): Re-implemented.
8760 (filterBicubic): New private method.
8761 (filterBilinear): New private method.
8762 (filterNearest): New private method.
8763 (getBounds2D): No longer fixed around one point for rotations.
8764 (getInterpolationType): Add support for bicubic interpolation.
8766 2006-08-14 Roman Kennke <kennke@aicas.com>
8768 * javax/swing/plaf/metal/MetalLookAndFeel.java
8769 (MetalLookAndFeel): Moved theme initialization to
8771 (createDefaultTheme): Forward to getCurrentTheme().
8772 (getDefaults): Initialize theme before doing anything else.
8773 (getCurrentTheme): Recognize swing.metalTheme property.
8775 2006-08-14 Roman Kennke <kennke@aicas.com>
8777 * javax/swing/JTable
8778 (getScrollableUnitIncrement): Expose partially exposed
8779 row in scrolling direction.
8781 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8783 * javax/swing/JTable (getScrollableUnitIncrement):
8784 Removing my name as the whole method body have been
8785 recently completely replaced.
8787 2006-08-14 Roman Kennke <kennke@aicas.com>
8790 * javax/swing/text/Utilities.java
8791 (getTabbedTextOffset): Don't add p0 here.
8793 2006-08-14 Roman Kennke <kennke@aicas.com>
8796 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8797 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8798 when wheel is going up.
8800 2006-08-14 Roman Kennke <kennke@aicas.com>
8803 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8804 (BasicOneTouchButton): New inner class.
8805 (DividerLayout.changeButtonOrientation): Removed.
8806 (DividerLayout.positionButtons): Moved into layoutContainer.
8807 (DividerLayout.layoutContainer): Reworked for correct layout.
8808 (OneTouchAction): New inner class.
8809 (centerOneTouchButtons): New field.
8810 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8812 (createLeftOneTouchButton): Reimplemented to return
8813 BasicOneTouchButton.
8814 (createRightOneTouchButton): Reimplemented to return
8815 BasicOneTouchButton.
8816 (getPreferredSize): Reimplemented to return fixed preferredSize.
8817 (oneTouchExpandableChanged): Add OneTouchAction action to
8818 buttons. Don't install mouse listeners.
8819 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8820 (paint): Don't trigger extra paint for buttons.
8821 (propertyChange): Revalidate splitPane when orientation is changed.
8822 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8823 oneTouchExpandable is true.
8824 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8825 (installDefaults): Install dividerSize on the divider too.
8826 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8827 (MetalDividerLayout): Removed. Functionality is already
8828 in BasicSplitPaneDivider.DividerLayout.
8829 (MetalOneTouchButton): New inner class.
8830 (BUTTON_SPRITE): New constant field.
8831 (MetalSplitPaneDivider): Don't change layout.
8832 (createLeftOneTouchButton): Overridden to return custom button
8834 (createRightOneTouchButton): Overridden to return custom button
8836 (paint): Don't trigger button painting. Call super instead.
8838 2006-08-13 Roman Kennke <kennke@aicas.com>
8840 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8841 (installKeyboardAction): Unmarked as stub. Added comment
8842 explaining that the RI seems to do nothing here.
8843 (uninstallKeyboardAction): Unmarked as stub. Added comment
8844 explaining that the RI seems to do nothing here.
8846 2006-08-13 Roman Kennke <kennke@aicas.com>
8849 * javax/swing/ScrollPaneLayout.java
8850 (layoutContainer): Consider the viewportBorder of the
8852 (minimumLayoutSize): Consider the viewportBorder of the
8854 (preferredLayoutSize): Consider the viewportBorder of the
8856 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8857 (installDefaults): Also install viewportBorder if specified.
8858 (paint): Paint viewportBorder if present.
8859 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8860 Don't nullify foreground, background and font. Uninstall
8861 border via LookAndFeel helper method to avoid uninstall
8864 2006-08-13 Roman Kennke <kennke@aicas.com>
8867 * javax/swing/plaf/basic/BasicHTML.java
8868 (HTMLRootView.HTMLRootView): Trigger initial layout.
8869 (HTMLRootView.setSize): Overridden to forward to real view.
8870 * javax/swing/plaf/basic/BasicToolTipUI.java
8871 (PropertyChangeHandler): New inner class. Updates the HTML
8873 (propertyChangeHandler): New field.
8874 (getMaximumSize): Add HTML width delta.
8875 (getMinimumSize): Add HTML width delta.
8876 (getPreferredSize): Reimplemented to use HTML view for size
8877 calculation if appropriate, otherwise use simple stringWidth()
8879 (installListeners): Install propertyChangeHandler.
8880 (uninstallListeners): Uninstall propertyChangeHandler.
8881 (installUI): Update HTML renderer.
8882 (uninstallUI): Update HTML renderer.
8883 (paint): Reimplemented to use HTML view for rendering if
8884 appropriate, simple drawString otherwise.
8885 * javax/swing/plaf/metal/MetalToolTipUI.java
8886 (getPreferredSize): Call super and add accelerator delta.
8887 (paint): Simply call super.
8889 2006-08-13 Roman Kennke <kennke@aicas.com>
8891 * javax/swing/JMenu.java
8892 (changeListener): Renamed to menuChangeListener to avoid
8893 shadowing changeListener field from AbstractButton.
8895 2006-08-13 Roman Kennke <kennke@aicas.com>
8897 * javax/swing/JTree.java
8898 (getScrollableUnitIncrement): Fixed direction.
8899 (getScrollableBlockIncrement): Implemented to scroll one
8901 * javax/swing/tree/VariableHeightLayoutCache.java
8902 (distance): Consider y + height already outside the node.
8904 2006-08-13 Roman Kennke <kennke@aicas.com>
8906 * javax/swing/JTable.java
8907 (getScrollableUnitIncrement): Fixed direction. Make it behave
8909 (getScrollableBlockIncrement): Fixed direction. Make it behave
8912 2006-08-13 Roman Kennke <kennke@aicas.com>
8914 * javax/swing/JList.java
8915 (getScrollableUnitIncrement): Fixed direction. Implemented
8916 horizontal scrolling. Improved usability.
8917 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8919 2006-08-13 Roman Kennke <kennke@aicas.com>
8921 * javax/swing/plaf/basic/BasicScrollBarUI.java
8922 (scrollByUnit): Scroll by -unit when direction is not positive
8923 and +unit otherwise.
8924 (scrollByBlock): Scroll by -unit when direction is not positive
8925 and +unit otherwise.
8927 2006-08-13 Roman Kennke <kennke@aicas.com>
8930 * javax/swing/text/PlainView.java
8931 (paint): Limit painted area to the lines inside the clip
8934 2006-08-13 Roman Kennke <kennke@aicas.com>
8936 * javax/swing/plaf/basic/BasicTextUI.java
8937 (uninstallListeners): Unregister document listener.
8939 2006-08-13 Sven de Marothy <sven@physto.se>
8941 * java/util/Locale.java
8942 (hashcodeCache): New field.
8943 (hashCode): use the above field instead of the serialized one
8944 (writeObject): Removed method.
8945 (readObject): Intern strings.
8946 (equals): Revert to previous method.
8948 2006-08-13 Roman Kennke <kennke@aicas.com>
8950 * javax/swing/JTabbedPane.java
8951 (JTabbedPane): Call setModel() here and let this install the
8952 change listener correctly.
8953 (setModel): Correctly uninstall and reinstall ChangeListener when
8956 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8959 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8960 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8961 (lastDefaultLocale): Removed.
8962 (emptyLocale): Likewise.
8963 (BundleKey.defaultLocale): New field.
8964 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8965 (BundleKey.set): Likewise.
8966 (BundleKey.equals): Take defaultLocal field into consideration.
8967 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8969 2006-08-13 Roman Kennke <kennke@aicas.com>
8971 * javax/swing/JMenu.java
8972 (MenuChangeListener): New inner class, helps firing menu events.
8973 (changeListener): New field.
8974 (add(text)): Create new JMenuItem here and call add(JMenuItem).
8975 (add(Action)): Create Action using createActionComponent()
8976 and add via add(Component).
8977 (setModel): Install and uninstall MenuChangeListener here.
8979 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8982 * java/math/BigInteger.java: Updated copyright year.
8983 (init): Consume as little bytes as possible.
8984 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8985 (valueOf(String, int)): Throw NumberFormatException for malformed strings
8986 as per RI's documentation.
8988 2006-08-13 Sven de Marothy <sven@physto.se>
8990 * java/util/Locale.java
8991 (hashcode): Is a serialized field, not transient.
8992 (equals): Should NOT compare strings by reference.
8993 (readObject/writeObject): Use the default methods and handle the hash
8996 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8999 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9000 Updated documentation.
9002 (getInstance(String, String, Provider, Object[])): Likewise.
9003 Separate checks for null and empty string arguments.
9004 Include as much information as possible in the exception's message.
9005 Do not swallow original exception; instead use it as the cause of the
9006 resulting exception.
9007 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9008 (getInstance(String)): Updated documentation.
9010 Store last exception caught when iterating through all providers.
9011 If no implementation found, raise last exception if one was caught.
9012 (getInstance(String, String)): Updated documentation.
9014 Check for null or empty provider as per RI-5's documentation.
9015 (getInstance(String, Provider)): Updated documentation.
9017 Use as much information as possible in the exception message.
9018 Do not swallow original exception; instead use it as the cause for the
9019 ultimate raised exception(s).
9020 * java/security/cert/CertificateFactory.java: Likewise.
9021 * java/security/cert/CertPathBuilder.java: Likewise.
9022 * java/security/cert/CertPathValidator.java: Likewise.
9023 * java/security/cert/CertStore.java: Likewise.
9024 * java/security/AlgorithmParameterGenerator.java: Likewise.
9025 * java/security/AlgorithmParameters.java: Likewise.
9026 * java/security/KeyFactory.java: Likewise.
9027 * java/security/KeyPairGenerator.java: Likewise.
9028 * java/security/KeyStore.java: Likewise.
9029 * java/security/MessageDigest.java: Likewise.
9030 * java/security/SecureRandom.java: Likewise.
9031 * java/security/Signature.java: Likewise.
9032 * javax/crypto/Cipher.java: Likewise.
9033 * javax/crypto/ExemptionMechanism.java: Likewise.
9034 * javax/crypto/KeyAgreement.java: Likewise.
9035 * javax/crypto/KeyGenerator.java: Likewise.
9036 * javax/crypto/Mac.java: Likewise.
9037 * javax/crypto/SecretKeyFactory.java: Likewise.
9038 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9039 * javax/net/ssl/SSLContext.java: Likewise.
9040 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9042 2006-08-13 Roman Kennke <kennke@aicas.com>
9044 * javax/swing/JEditorPane.java
9045 (getScrollableTracksViewportHeight): Also check maximum size.
9046 * javax/swing/JTextPane.java
9047 (insertIcon): Use input attributes for adding the icon
9049 * javax/swing/plaf/basic/BasicTextUI.java
9050 (RootView.setSize): Overridden to forward to real view.
9051 (getPreferredSize): Trigger setSize() on the view.
9052 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9053 to viewToModel() call, rather then null.
9054 * javax/swing/text/ParagraphView.java
9055 (changedUpdate): Invalide layout. Call super.
9056 * javax/swing/text/SimpleAttributeSet.java
9057 (clone): Use super's clone method to create clone.
9058 * javax/swing/text/StyleConstants.java
9059 (setIcon): Also set element name attribute.
9060 * javax/swing/text/StyledEditorKit.java
9061 (BoldAction.actionPerformed): Actually set the bold attribute,
9063 (setCharacterAttributes): Replaced with more straightforward
9065 * javax/swing/text/TextAction.java
9066 (getFocusedComponent): Implemented.
9067 * javax/swing/text/Utilities.java
9068 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9070 * javax/swing/text/View.java
9071 (changedUpdate): Nullify element change when updateChildren
9074 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9076 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9077 Fix documentation typos.
9079 2006-08-11 David Daney <ddaney@avtrex.com>
9082 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9083 createResponseBodyStream in more cases and with new parameter.
9084 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9085 HEAD and !mayHaveBody responses specially.
9087 2006-08-11 Roman Kennke <kennke@aicas.com>
9089 * javax/swing/text/GlyphView.java
9090 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9091 * javax/swing/text/LabelView.java
9092 (valid): New flag indicating if the text attributes are valid.
9093 (LabelView): Initialize valid field with false.
9094 (setPropertiesFromAttributes): Call setter methods instead
9095 of setting properties directly. Set valid to true.
9096 (changedUpdate): Invalidate attributes. Call super.
9097 (getBackground): Sync attributes if necessary.
9098 (getForeground): Sync attributes if necessary.
9099 (getFont): Sync attributes if necessary.
9100 (isUnderline): Sync attributes if necessary.
9101 (isSuperscript): Sync attributes if necessary.
9102 (isStrikeThrough): Sync attributes if necessary.
9103 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9104 from toolkit if Container is not available yet.
9106 2006-08-11 Roman Kennke <kennke@aicas.com>
9108 * javax/swing/text/PlainView.java
9109 (tabBase): New field.
9110 (tabSize): New field.
9111 (updateMetrics): Update tabSize.
9112 (lineToRect): Only allocate when really necessary.
9113 (modelToView): Use tabBase for offset calculations.
9114 (paint): Only allocate when really necessary. Update tabBase.
9115 (nextTabStop): Fixed tab calculation.
9116 (viewToModel): Correctly handle multiline text and locations
9117 outside the view's bounds. Set bias.
9118 (getLineLength): Use tabBase.
9119 * javax/swing/text/Utilities.java
9120 (drawTabbedText): Don't special case newlines. The views
9121 must take care of this.
9123 2006-08-11 Roman Kennke <kennke@aicas.com>
9125 * javax/swing/text/GapContent.java
9126 (UndoPosRef): New inner class. Used for resetting positions
9127 after undo/redo operations.
9128 (InsertUndo.positions): New field.
9129 (InsertUndo.undo): Store positions in removed range.
9130 (InsertUndo.redo): Restore positions in re-inserted range.
9131 (UndoRemove.positions): New field.
9132 (UndoRemove.UndoRemove): Store positions in removed range.
9133 (UndoRemove.undo): Restore positions in re-inserted range.
9134 (UndoRemove.redo): Store positions in removed range.
9135 (insertString): Create InsertUndo instance before actually
9136 inserting the string.
9137 (remove): Create UndoRemove instance before actually
9139 (getPositionsInRange): Don't clear the Vector. Return Vector
9141 (updateUndoPositions): Implemented to reset all UndoPosRefs
9144 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9146 * java/io/ObjectInputStream.java (readClassDescriptor):
9147 Use class's class loader to resolve field types.
9148 * java/io/ObjectStreamField.java
9149 (ObjectStreamField(String,String,ClassLoader)): Removed.
9150 (ObjectStreamField(String,String)): Don't try to resolve typename.
9151 (resolveType): New method.
9153 2006-08-10 Roman Kennke <kennke@aicas.com>
9155 * javax/swing/text/BoxView.java
9156 (calculateMajorAxisRequirements): Sum up the preferred and
9158 (isAfter): Also add in the rectangle's with/height.
9159 (childAllocation): Don't trigger layout here.
9160 (layoutMinorAxis): Removed debug output.
9161 (getWidth): Consider the insets.
9162 (getHeight): Consider the insets.
9163 (setSize): Consider the insets.
9164 (updateRequirements): Check axis and throw
9165 IllegalArgumentException.
9167 2006-08-10 Roman Kennke <kennke@aicas.com>
9169 * javax/swing/text/AbstractDocument.java
9170 (BidiRootName): New constant field, denotes the element name
9171 for bidi root elements.
9172 (AsyncLoadPriority): New constant field, denotes the property
9173 to store the asynchronousLoadPriority.
9174 (I18N): New constant field, denotes the property for
9176 (bidiRoot): Made field type BidiRootElement.
9177 (AbstractDocument): Build initial element structure for
9179 (getAsynchronousLoadPriority): Implemented. Returns the
9180 value stored in the document properties.
9181 (setAsynchronousLoadPriority): Implemented. Sets the
9182 value stored in the document properties.
9183 (getEndPosition): Implemented to use a Position from the
9185 (getStartPosition): Implemented to use a Position from the
9187 (insertStringImpl): Update the I18N setting if necessary.
9188 (insertUpdate): Update the bidi structure if necessary.
9189 (postRemoveUpdate): Update the bidi structure if necessary.
9190 (putProperty): Update the I18N setting and bidi structure
9192 (updateBidi): New helper method for updating the bidi
9194 (getBidis): New helper method. Fetches the Bidi analysers
9195 for the paragraphs of the range to check.
9196 (dump): Also dump the bidi structure.
9197 (AbstractElement.dump): Indent the '>' correctly.
9198 (AbstractElement.children): Check numChildren rather then
9200 (BidiRootElement): New inner class.
9201 (BidiElement): New inner class.
9203 2006-08-10 Roman Kennke <kennke@aicas.com>
9205 * javax/swing/text/GapContent.java
9206 (getChars): Optimized to only copy array when really necessary.
9207 Respect the partialReturn property.
9209 2006-08-10 Lillian Angel <langel@redhat.com>
9211 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9212 (getComponentPeer): Added check to prevent NPE.
9214 2006-08-10 Gary Benson <gbenson@redhat.com>
9216 * java/security/AccessControlContext.java (<init>):
9217 Avoid a duplicated AccessController.getContext() call.
9219 2006-08-09 Mark Wielaard <mark@klomp.org>
9221 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9222 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9223 * doc/www.gnu.org/announce/20060809.wml: New file.
9225 2006-08-09 Mark Wielaard <mark@klomp.org>
9227 * configure.ac (VERSION): Set to 0.92-generics.
9228 * NEWS: Add updates for 0.92 release.
9230 2006-08-09 Tom Tromey <tromey@redhat.com>
9233 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9234 the pattern match any number of spaces in the text.
9236 2006-08-09 Sven de Marothy <sven@physto.se>
9238 * java/awt/image/BufferedImage.java
9239 (BufferedImage): Reimplement predefined-type constructor.
9240 (observers/tileObservers): Field renamed to tileObservers.
9241 (createDefaultIndexedColorModel): New method.
9243 2006-08-09 Tom Tromey <tromey@redhat.com>
9246 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9247 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9248 Create a 'short' array.
9250 2006-08-09 Tom Tromey <tromey@redhat.com>
9252 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9254 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9255 (writeFields): Print "L" after int constant. Don't mangle the field
9256 name. Only print int/long fields.
9258 2006-08-09 Tom Tromey <tromey@redhat.com>
9260 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9263 2006-08-09 Sven de Marothy <sven@physto.se>
9265 * javax/swing/JTree.java
9266 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9267 (setSelectionModel): Null parameter should create an EmptySelectionM.
9269 2006-08-09 Roman Kennke <kennke@aicas.com>
9271 * javax/swing/text/AbstractDocument.java
9272 (insertString): Perform modifications inside a write lock.
9273 (insertStringImpl): Don't lock here. This is already done
9275 (replace): Perform modifications inside a write lock.
9276 (AbstractElement.AbstractElement): Call addAttributes() to
9278 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9279 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9280 (BranchElement.BranchElement): Set lastIndex to -1.
9281 (BranchElement.getElementIndex): Implemented more efficient
9284 2006-08-09 Roman Kennke <kennke@aicas.com>
9286 * javax/swing/text/DefaultStyledDocument.java
9287 (Edit): Moved this inner class into ElementBuffer where it
9289 (edits): Moved this field into ElementBuffer.
9290 (getEditForParagraphAndIndex): Removed obsolete method.
9291 (insertUpdate): Added some optimizations and fixes. Split
9292 out handling insertion after newlines.
9293 (insertAfterNewline): New helper method. Handles insertions
9295 (ElementBuffer.Edit): New inner class. Moved here from
9296 DefaultStyledDocument.
9297 (ElementBuffer.createdFracture): New field.
9298 (ElementBuffer.documentEvent): Made private.
9299 (ElementBuffer.edits): New field. Moved here from
9300 DefaultStyledDocument.
9301 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9302 (ElementBuffer.fracturedChild): New field.
9303 (ElementBuffer.fracturedParent): New field.
9304 (ElementBuffer.insertPath): New field.
9305 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9307 (ElementBuffer.offsetLastIndex): New field.
9308 (ElementBuffer.offsetLastIndexReplace): New field.
9309 (ElementBuffer.recreateLeafs): New field.
9310 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9311 (ElementBuffer.canJoin): New helper method.
9312 (ElementBuffer.changeUpdate): Changed to use elementStack with
9313 Edits rather than Elements. Let the split method do the work.
9314 (ElementBuffer.cloneAsNecessary): New helper method.
9315 (ElementBuffer.createFracture): Changed to fracture the bottommost
9317 (ElementBuffer.finishEdit): New helper method. Moved out
9318 from insertUpdate to perform the actual changes and update
9320 (fracture): New helper method.
9321 (insertContentTag): Fixed some bugs and changed to use Edit
9322 instances in the stack, rather then Elements.
9323 (insertElement): New helper method. Moved out from insertUpdate()
9324 to process the ElementSpecs.
9325 (insertFirstContentTag): Fixed some problems and changed to use Edit
9326 instances in the stack, rather then Elements.
9327 (insertFracture): Removed. Basically moved into createFracture()
9329 (insertParagraph): Removed.
9330 (insertUpdate): Split out the ElementSpec processing into
9331 insertElement(). Use Edit instances in the stack. Fixed some
9333 (insert): Split out the preparation and finishing code into
9334 prepareEdit() and finishEdit().
9335 (join): New helper method.
9336 (pop): New helper method.
9337 (prepareEdit): New helper method.
9338 (recreateFracturedElement): New helper method.
9339 (recreateLeaves): Removed.
9340 (recreate): New helper method.
9341 (removeElements): New helper method. Split out from removeUpdate().
9342 (removeUpdate): Split out the actual removal. Use the
9343 Edit stack to perform removal and perform the remove actions
9344 and event updates afterwards, just like in insertImpl().
9345 (remove): Use prepareEdit() and finishEdit().
9346 (split): Replaced with more flexible impl.
9348 2006-08-09 Sven de Marothy <sven@physto.se>
9350 * gnu/java/awt/peer/gtk/CairoSurface.java
9351 Change class to extend WritableRaster and not DataBuffer.
9352 (CairoDataBuffer): New inner class.
9353 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9354 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9355 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9356 Accomodate the above change.
9358 2006-08-09 Sven de Marothy <sven@physto.se>
9360 * gnu/java/awt/peer/gtk/GtkMainThread.java
9362 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9363 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9364 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9365 * gnu/java/awt/peer/gtk/GtkToolkit.java
9366 Minor style fixes; removed unused fields,
9367 set fields to private where possible.
9368 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9369 Call GtkMainThread.createWindow().
9370 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9371 (dispose): New method.
9372 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9373 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9374 (gtkQuit): New native method.
9376 2006-08-08 Lillian Angel <langel@redhat.com>
9378 * java/awt/Component.java
9379 (setDropTarget): Added check.
9381 2006-08-08 Lillian Angel <langel@redhat.com>
9383 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9384 (GtkDragSourceContextPeer): Added FIXME. Changed call
9386 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9387 (GtkDropTargetContextPeer): Removed target initialization.
9388 * java/awt/Component.java
9389 (setTarget): Removed commented out code.
9391 2006-08-08 Mark Wielaard <mark@klomp.org>
9393 * javax/swing/text/DefaultHighlighter.java: Qualify
9394 Highlighter.HighlightPainter class name for gcj.
9396 2006-08-05 Roman Kennke <kennke@aicas.com>
9398 * javax/swing/plaf/basic/BasicTableUI.java
9399 (MouseInputHandler.mousePressed): Request focus on list
9402 2006-08-05 Roman Kennke <kennke@aicas.com>
9404 * javax/swing/plaf/basic/BasicListUI.java
9405 (MouseInputHandler.mousePressed): Request focus on list
9408 2006-08-05 Roman Kennke <kennke@aicas.com>
9411 * javax/swing/plaf/basic/BasicMenuBarUI.java
9412 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9413 than Tree.actionMap.
9414 * javax/swing/plaf/basic/BasicTreeUI.java
9415 (action): Removed obsolete field.
9416 (uninstallKeyboardActions): Removed action field handling.
9417 (installKeyboardActions): Removed action field handling.
9418 (createDefaultActions): Don't install removed TreeAction.
9419 (TreeAction): Removed obsolete inner class.
9420 (ActionListenerProxy): Removed obsolete inner class.
9421 (MouseHandler.mousePressed): Request focus on JTree component
9424 2006-08-08 Roman Kennke <kennke@aicas.com>
9426 * javax/swing/plaf/basic/BasicListUI.java
9427 (MouseInputHandler.mousePressed): Request focus on list
9430 2006-08-08 Roman Kennke <kennke@aicas.com>
9432 * javax/swing/plaf/basic/BasicTableUI.java
9433 (MouseInputHandler.mousePressed): Request focus on list
9436 2006-08-08 Roman Kennke <kennke@aicas.com>
9438 * javax/swing/plaf/basic/BasicTextUI.java
9439 (damageRange(JTextComponent,int,int)): Call damageRange() with
9440 correct biases, rather than null.
9441 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9442 to use simpler modelToView() approach without much special
9443 casing. This seems not worth the effort and actually
9444 caused problems. Added locking of the document.
9445 * javax/swing/text/BoxView.java
9446 (requirementsValid): New field.
9447 (calculateMajorAxisRequirements): Rewritten without using
9448 SizeRequirements. The SizeRequirements algorithms are slightly
9449 different and too inefficient.
9450 (calculateMinorAxisRequirements): Rewritten without using
9451 SizeRequirements. The SizeRequirements algorithms are slightly
9452 different and too inefficient.
9453 (getAlignment): Simply return the alignment of the cached
9455 (getMaximumSpan): Add insets.
9456 (getMinimumSpan): Add insets.
9457 (getPreferredSpan): Add insets.
9458 (layoutMajorAxis): Rewritten without using
9459 SizeRequirements. The SizeRequirements algorithms are slightly
9460 different and too inefficient.
9461 (layoutMinorAxis): Rewritten without using
9462 SizeRequirements. The SizeRequirements algorithms are slightly
9463 different and too inefficient.
9464 (modelToView): Call setSize() rather than layout().
9465 (paint): Check clip for more efficient painting.
9466 (preferenceChanged): Invalidate requirements here.
9467 (replace): Invalidate requirements here.
9468 (updateRequirements): Update requirements only when requirements
9470 * javax/swing/text/CompositeView.java
9471 (modelToView): Added some more checks and handling of corner cases.
9472 * javax/swing/text/FlowView.java
9473 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9474 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9475 * javax/swing/text/IconView.java
9476 (getAlignment): Implemented to return 1.0 for vertical alignment.
9477 * javax/swing/text/ParagraphView.java
9478 (Row.getMaximumSpan): Implemented to let Rows span the whole
9480 (getAlignment): Fixed horizontal alignment and vertical alignment
9481 for empty paragraphs to be 0.5.
9483 2006-08-08 Roman Kennke <kennke@aicas.com>
9485 * javax/swing/text/View.java
9486 (modelToView): Added special handling for corner case at the end
9487 of the view and for multiline views.
9489 2006-08-08 Roman Kennke <kennke@aicas.com>
9491 * javax/swing/plaf/basic/BasicTextUI.java
9492 (modelToView): Read-lock the document. Set size of the
9493 root view before fetching the model-to-view mapping.
9494 (getViewIndex): Check of the position is inside the range and
9495 return -1 if this is not the case.
9496 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9498 (getViewIndexAtPosition(int)): Delegate the index search to
9499 the element since we have a 1:1 mapping between elements and
9501 * javax/swing/text/DefaultCaret.java
9502 (appear): Ignore BadLocationException.
9503 (paint): Ignore BadLocationException.
9504 * javax/swing/text/FlowView.java
9505 (changedUpdate): Also notify the layoutPool view.
9506 (removeUpdate): Also notify the layoutPool view.
9507 * javax/swing/text/ParagraphView.java
9508 (Row.getViewIndexAtPosition): Overridden to search linearily
9509 through the view instead of relying on a 1:1 model to view
9511 * javax/swing/text/View.java
9512 (removeUpdate): Clear ElementChange object if updateChildren
9514 (forwardUpdate): Special handle some boundary cases.
9516 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9518 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9519 (hasInheritedParameters): New method.
9520 (equals): Updated documentation.
9521 Take into consideration the outcome of hasInheritedParameters invocation.
9522 (toString): Call hasInheritedParameters and adjust the result accordingly.
9523 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9524 Updated documentation.
9525 Handle case of public keys with null p, q, and g MPIs.
9526 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9528 2006-08-07 Tom Tromey <tromey@redhat.com>
9531 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9532 (attachment): Likewise.
9533 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9535 (isValid): Likewise.
9536 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9538 (interestOps): Synchronize.
9539 (readyOps): Likewise.
9540 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9543 2006-08-07 C. Scott Marshall <csm@gnu.org>
9546 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9547 the mark has been set.
9548 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9549 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9552 2006-08-07 Sven de Marothy <sven@physto.se>
9554 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9555 (drawGlyphVector): Synchronize against font object when drawing.
9556 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9557 (nativeDrawGlyphVector): Use pango locking when drawing.
9558 (install_font_peer): Use pango locking when creating the cairo face.
9560 2006-08-06 Roman Kennke <kennke@aicas.com>
9563 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9564 (getPreferredSize): Renamed method to preferredSize(). That's
9565 the one that gets called from java.awt.*.
9566 * java/awt/peer/ComponentPeer.java
9567 (getPreferredSize): Added specnote about this method never
9568 beeing called in the RI.
9569 (getMinimumSize): Added specnote about this method never
9570 beeing called in the RI.
9572 2006-08-03 Sven de Marothy <sven@physto.se>
9574 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9575 (grab, nativeGrab): New methods.
9576 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9577 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9578 (nativeGrab): New method.
9579 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9581 * java/awt/Component.java
9582 (printAll): Should call peer print method.
9584 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9586 * java/net/URL.java (getContent(Class[])): Implement.
9588 2006-08-06 Mark Wielaard <mark@klomp.org>
9591 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9592 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9594 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9597 2006-08-06 Roman Kennke <kennke@aicas.com>
9599 * NEWS: Added note about the X peers.
9600 * INSTALL: Added install notes about the X peers.
9602 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9603 Paul Jenner <psj@harker.dyndns.org>
9605 * README: Update bug, patches and cvs instructions plus new URLs of
9606 various external projects.
9608 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9610 * configure.ac (MOZILLA_FOUND): Fall back to
9611 mozilla-firefox-plugin.
9613 2006-08-06 Mario Torre <neugens@limasoftware.net>
9615 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9616 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9617 g_type_init earlier in function to correctly initialize the
9618 type system used by the backend.
9620 2006-08-05 Roman Kennke <kennke@aicas.com>
9622 * javax/swing/text/DefaultHighlight.java
9623 (DefaultHighlightPainter.paintHighlight): Removed method.
9624 (DefaultHighlightPainter.paintLayer): Implemented.
9625 (DefaultHighlightPainter.paint): Implemented more efficient
9626 painting for multiline-highlights.
9627 (HighlightEntry.p0): Changed to be a Position.
9628 (HighlightEntry.p1): Changed to be a Position.
9629 (HighlightEntry.HighlightEntry): Changed to take Position
9631 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9632 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9633 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9634 and tracks the painted rectangle for efficient repainting.
9635 (addHighlight): Handle layered highlight.
9636 (changeHighlight): Handle layered highlight.
9637 (paintLayeredHighlights): Implemented.
9638 (paint): Paint only non-layered highlights here.
9639 (removeAllHighlights): Trigger correct repaint.
9640 (removeHighlight): Handle layered highlight here for
9641 more efficient repainting.
9642 * javax/swing/text/GlyphView.java
9643 (paint): Handle layered highlights.
9644 * javax/swing/text/PlainView.java
9645 (paint): Handle layered highlights.
9646 * javax/swing/text/WrappedPlainView.java
9647 (WrappedLine.paint): Handle layered highlights.
9649 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9652 * NEWS: As suggested by Paul Jennier, added note about the fix of
9655 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9657 * NEWS: Added entry about the context factories for JNDI.
9659 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9662 * gnu/CORBA/Connected_objects.java (size): New method.
9663 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9665 * javax/naming/spi/NamingManager.java (getURLContext):
9666 Also search for the URL context factories in
9667 gnu/javax/naming/jndi/url.
9668 * gnu/javax/naming/giop/ContextContinuation.java,
9669 gnu/javax/naming/giop/CorbalocParser.java,
9670 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9671 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9672 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9673 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9674 gnu/javax/naming/giop/ListEnumeration.java,
9675 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9676 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9677 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9678 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9679 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9680 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9681 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9682 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9684 2006-08-06 Sven de Marothy <sven@physto.se>
9686 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9687 (drawGlyphVector): Synchronize against font object when drawing.
9688 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9689 (nativeDrawGlyphVector): Use pango locking when drawing.
9690 (install_font_peer): Use pango locking when creating the cairo face.
9692 2006-08-06 C. Scott Marshall <csm@gnu.org>
9695 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9696 the mark has been set.
9697 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9698 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9701 2006-08-06 Mark Wielaard <mark@klomp.org>
9704 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9705 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9707 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9710 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9711 Paul Jenner <psj@harker.dyndns.org>
9713 * README: Update bug, patches and cvs instructions plus new URLs of
9714 various external projects.
9716 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9718 * gnu/java/lang/management/BeanImpl.java:
9719 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9721 (getCachedMBeanInfo()): Return open variant.
9722 (getMBeanInfo()): Likewise.
9723 (getTypeFromClass(Class)): Implemented.
9724 (translateSignature(MBeanParameterInfo)): Likewise.
9725 (translate(String)): Likewise.
9726 * javax/management/StandardMBean.java:
9727 (getMBeanInfo()): Return attribute names with capital letters,
9728 as in docs for java.lang.management.ManagementFactory, and
9729 ensure descriptions are not "".
9730 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9731 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9732 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9733 (toString()): Use Arrays.toString().
9734 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9735 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9736 Set open type here rather than in other constructors.
9738 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9740 * javax/management/MBeanFeatureInfo.java:
9741 Make string variable package-private.
9742 * javax/management/StandardMBean.java:
9743 (getMBeanInterface()): Made final.
9744 * javax/management/openmbean/SimpleType.java:
9747 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9749 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9752 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9754 * examples/gnu/classpath/examples/swing/FillRect.java,
9755 * gnu/CORBA/Focused_ORB.java,
9756 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9757 * gnu/classpath/ByteArray.java,
9758 * gnu/classpath/ObjectPool.java,
9759 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9760 * gnu/java/awt/peer/x/fonts.properties,
9761 * gnu/java/security/util/Prime2.java,
9762 * gnu/javax/imageio/gif/GIFStream.java,
9763 * javax/swing/text/html/HTMLTableView.java,
9764 * native/cni/Makefile.am,
9765 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9766 * org/omg/CORBA/SendingContext/Runtime.java,
9767 * resource/gnu/regexp/MessagesBundle.properties,
9768 * resource/gnu/regexp/MessagesBundle_fr.properties,
9769 * resource/gnu/regexp/MessagesBundle_it.properties,
9770 * tools/appletviewer.in,
9771 * tools/jarsigner.in,
9773 * vm/reference/java/lang/management/VMThreadInfo.java:
9775 * examples/gnu/classpath/examples/awt/aicas.png,
9776 * examples/gnu/classpath/examples/awt/palme.gif,
9777 * examples/gnu/classpath/examples/java2d/aicas.png,
9778 * examples/gnu/classpath/examples/java2d/palme.gif,
9779 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9780 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9781 * java/awt/doc-files/capjoin.png,
9782 * java/awt/geom/doc-files/Area-1.png,
9783 * java/awt/geom/doc-files/Ellipse-1.png,
9784 * java/awt/geom/doc-files/GeneralPath-1.png:
9787 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9792 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9794 * gnu/java/lang/management/BeanImpl.java:
9795 (getAttribute(String)): Implemented.
9797 2006-08-05 Roman Kennke <kennke@aicas.com>
9799 * javax/swing/text/JTextComponent.java
9800 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9801 (AccessibleJTextComponent.textComp): Removed field
9802 and replace with JTextComponent.this construct.
9803 (AccessibleJTextComponent.AccessibleJTextComponent):
9804 Fetch caret position.
9805 (caretUpdate): Implemented. Fires property change events and
9806 updates the caretDot field.
9807 (changedUpdate): Implemented. Fires property change events.
9808 (insertUpdate): Implemented. Fires property change events.
9809 (removeUpdate): Implemented. Fires property change events.
9810 (cut): Replaced textComp with JTextComponent.this construct.
9811 (paste): Replaced textComp with JTextComponent.this construct.
9812 (replaceText): Replaced textComp with JTextComponent.this construct.
9813 (selectText): Replaced textComp with JTextComponent.this construct.
9814 (getCaretPosition): Replaced textComp with JTextComponent.this
9816 (getCharCount): Replaced textComp with JTextComponent.this construct.
9817 (getSelectedText): Replaced textComp with JTextComponent.this
9819 (getSelectionEnd): Replaced textComp with JTextComponent.this
9821 (getSelectionStart): Replaced textComp with JTextComponent.this
9823 (getTextRange): Replaced textComp with JTextComponent.this
9825 (doAccessibleAction): Implemented.
9826 (getAccessibleActionCount): Implemented.
9827 (getAccessibleActionDescription): Implemented.
9828 (getAccessibleStateSet): Implemented.
9829 (getAfterIndex): Implemented.
9830 (getBeforeIndex): Implemented.
9831 (getAtIndex): Implemented.
9832 (getAtIndexImpl): New helper method.
9833 (getCharacterAttribute): Implemented.
9834 (getCharacterBounds): Implemented.
9835 (getIndexAtPoint): Implemented.
9836 (insertTextAtIndex): Implemented.
9837 (setAttributes): Implemented.
9838 (setTextContents): Implemented.
9840 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9842 * configure.ac: Better handling of default-preferences-peer option.
9844 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9846 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9849 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9851 * javax/management/openmbean/TabularData.java:
9852 Documentation corrections.
9853 * javax/management/openmbean/TabularDataSupport.java:
9856 2006-08-04 Francis Kung <fkung@redhat.com>
9858 * java/awt/BasicStroke.java
9859 (dashedStroke): Implemented.
9861 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9863 * javax/management/BadAttributeValueExpException.java,
9864 * javax/management/BadStringOperationException.java,
9865 * javax/management/InstanceAlreadyExistsException.java,
9866 * javax/management/InstanceNotFoundException.java,
9867 * javax/management/InvalidApplicationException.java,
9868 * javax/management/MBeanRegistrationException.java,
9869 * javax/management/MalformedObjectNameException.java,
9870 * javax/management/RuntimeErrorException.java,
9871 * javax/management/RuntimeMBeanException.java,
9872 * javax/management/ServiceNotFoundException.java:
9875 2006-08-04 Roman Kennke <kennke@aicas.com>
9877 * javax/swing/SwingUtilities.java
9878 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9879 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9880 layoutCompoundLabelImpl().
9881 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9882 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9883 layoutCompoundLabelImpl().
9884 (layoutCompoundLabelImpl): New helper method. Moved impl from
9885 layoutCompoundLabel() to here and added handling of HTML.
9886 * javax/swing/plaf/basic/BasicButtonUI.java
9887 (installUI): Update HTML view if appropriate.
9888 (uninstallUI): New method. Do the usual uninstallUI things
9889 and uninstall HTML view.
9890 (getMinimumSize): New method. Adjusts the minimum size
9891 by the HTML view minimum size.
9892 (getMaximumSize): New method. Adjusts the maximum size
9893 by the HTML view maximum size.
9894 (getPreferredSize): Pass the button's iconTextGap to the
9895 BasicGraphicsUtils method.
9896 (paint): Let HTML view paint the text, if present.
9897 * javax/swing/plaf/basic/BasicButtonListener.java
9898 (propertyChange): Update the HTML view when the button's
9901 2006-08-04 Mario Torre <neugens@limasoftware.net>
9903 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9904 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9905 g_type_init earlier in function to correctly initialize the
9906 type system used by the backend.
9908 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9911 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9913 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9915 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9917 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9919 * gnu/xml/dom/DomIterator.java:
9920 (successor): Added if-statement.
9922 2006-08-04 Mark Wielaard <mark@klomp.org>
9924 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9926 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9928 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9929 (update): Check size and paint smaller gradient.
9930 * javax/swing/plaf/metal/MetalBorders.java:
9931 (MenuBarBorder): Removed borderColor field.
9932 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9935 2006-08-03 Roman Kennke <kennke@aicas.com>
9938 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9939 (ComponentHandler.componentResized): Reimplemented to handle
9941 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9942 component listener on changed ancestor.
9943 (installListeners): Install componentListener.
9944 (uninstallListeners): Uninstall componentListener.
9946 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9948 * StrictMath.java (cbrt): Return argument if it is a NaN.
9953 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9955 * java/lang/StrictMath.java (tanh): New method.
9957 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
9959 * scripts/import-cacerts.sh: Batch CA certificates import script.
9961 2006-08-03 Roman Kennke <kennke@aicas.com>
9964 * javax/swing/plaf/basic/BasicListUI.java
9965 (paintCell): Pass row index to cell renderer.
9966 * javax/swing/plaf/basic/MetalFileChooserUI.java
9967 (DirectoryComboBoxRenderer.indentIcon): New field.
9968 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9969 Initialize indentIcon.
9970 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9971 Fall back to super and removed standard functionality.
9973 (IndentIcon): New class. Wraps and indents another icon.
9975 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9977 * javax/management/MBeanConstructorInfo.java:
9978 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9979 Copy array rather than directly assigning.
9980 * javax/management/MBeanInfo.java:
9981 (MBeanInfo(String,String,MBeanAttributeInfo[],
9982 MBeanConstructorInfo[], MBeanOperationInfo[],
9983 MBeanNotificationInfo[])): Likewise.
9984 * javax/management/MBeanOperationInfo.java:
9985 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9987 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9988 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9990 * javax/management/openmbean/OpenMBeanInfo.java:
9991 Corrected documentation.
9992 * javax/management/openmbean/OpenMBeanInfoSupport.java:
9994 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9995 Corrected documentation.
9996 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9998 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9999 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10000 Call other constructor rather than reimplementing.
10002 2006-08-02 Lillian Angel <langel@redhat.com>
10004 * java/awt/dnd/DragSource.java
10005 (isDragImageSupported): Implemented.
10006 (getDragThreshold): Changed default value.
10007 * java/awt/dnd/DropTarget.java
10008 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10009 (DropTarget): Likewise.
10010 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10011 (addDropTargetListener): Added check to determine if new DropTargetListener
10012 is this class. If so, an IllegalArgumentException is thrown. If the
10013 new listener is null, nothing happens.
10015 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10017 * configure.ac (MOZILLA_FOUND): Fall back to
10018 mozilla-firefox-plugin.
10020 2006-08-02 Sven de Marothy <sven@physto.se>
10022 * java/awt/geom/AffineTransform.java
10023 (hashCode): Tweak impl.
10024 * java/awt/font/FontRenderContext.java
10025 (hashCode): Implement.
10027 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10029 * java/lang/StrictMath.java (sinh): New method.
10031 2006-08-02 Roman Kennke <kennke@aicas.com>
10034 * javax/swing/JComboBox.java
10035 (setSelectedItem): Fire ActionEvent here.
10036 * javax/swing/plaf/basic/BasicDirectoryModel.java
10037 (directories): Changed to type Vector.
10038 (files): New field.
10039 (loadThread): New field.
10040 (DirectoryLoadThread): New inner class. This loads the contents
10041 of directories asynchronously.
10042 (getDirectories): Return cached Vector.
10043 (getFiles): Return cached Vector.
10044 (getSize): Return plain size of contents Vector.
10045 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10046 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10047 (sort): Don't store sorted list in contents. This must be done
10048 asynchronously from the EventThread.
10049 (validateFileCache): Rewritten for asynchronous reading
10050 of directory contents.
10051 * javax/swing/plaf/basic/BasicFileChooserUI.java
10052 (installListeners): Install model as PropertyChangeListener.
10053 (uninstallListeners): Uninstall model as PropertyChangeListener.
10054 (createPropertyChangeListener): Return null just like the
10057 2006-08-02 Sven de Marothy <sven@physto.se>
10059 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10060 (remove): Force event on removing item 0 when it's selected.
10061 (handleEvent): Always call Choice.selected().
10062 * java/awt/Choice.java:
10063 (remove): Simplify and correct.
10065 2006-08-02 Mark Wielaard <mark@klomp.org>
10068 * configure.ac (gconf-peer): Check for gdk-2.0.
10069 * native/jni/gconf-peer/Makefile.am
10070 (AM_LDFLAGS): Use GDK_LIBS.
10071 (AM_CFLAGS): Use GDK_CFLAGS.
10073 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10075 * java/net/URL.java (getContent(Class[])): Implement.
10077 2006-08-02 Roman Kennke <kennke@aicas.com>
10080 * javax/swing/JMenu.java
10081 (JMenu()): Removed setting of delay.
10082 (JMenu(String)): Removed setting of delay.
10083 (JMenu(Action)): Removed setting of delay.
10084 (JMenu(String,boolean)): Removed setting of delay.
10085 (setSelectedHelper): Removed unneeded method.
10086 (setSelected): Simply set the model state.
10087 (setPopupMenuVisible): Recognize the popup location
10088 determined by getPopupMenuOrigin().
10089 (getPopupMenuOrigin): Recognize the UI properties for
10091 (menuSelectionChanged): Call setSelected() directly.
10092 * javax/swing/JPopupMenu.java
10093 (menuSelectionChanged): If invoker is a JMenu, then delegate
10094 to that to get the position right.
10095 * javax/swing/Popup.java
10096 (LightweightPopup.show): Insert the popup as first component
10097 in the layer, so that it overlaps it's caller.
10098 * javax/swing/plaf/basic/BasicMenuItemUI.java
10099 (getPath): Don't include the popup.
10100 * javax/swing/plaf/basic/BasicMenuUI.java
10101 (SelectMenuAction): New class. This invokes the popup when
10102 a menu is selected.
10103 (installDefaults): Install delay of 200 ms.
10104 (setupPostTimer): Implemented.
10105 (MouseInputHandler.mouseClicked): Do nothing here.
10106 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10107 magic to handle the selection. Open the menu via a timer.
10108 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10109 magic to handle the selection. Open the menu via a timer.
10110 (MenuDragMouseHandler.menuMouseDragged): Probably use
10112 (menuDragMouseEntered): Do nothing here.
10114 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10116 * javax/management/openmbean/InvalidOpenTypeException.java,
10117 * javax/management/openmbean/KeyAlreadyExistsException.java:
10120 2006-08-02 Roman Kennke <kennke@aicas.com>
10123 * javax/swing/plaf/basic/BasicChooserUI.java
10124 (BasicFileView.getName): Fetch the real name from the
10125 file chooser's FileSystemView.
10126 * javax/swing/plaf/metal/MetalChooserUI.java
10127 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10128 Set the text fetched from the JFileChooser.getName().
10129 * javax/swing/FileSystemView.java
10130 (createFileObject): When file is a filesystem root,
10131 create a filesystem root object first.
10132 (getSystemDisplayName): Return the filename. Added specnote
10133 about ShellFolder class that is mentioned in the spec.
10134 * javax/swing/UnixFileSystemView.java
10135 (getSystemDisplayName): Implemented to return the real name
10136 of a file, special handling files like '.' or '..'.
10138 2006-08-03 Mark Wielaard <mark@klomp.org>
10140 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10142 2006-08-03 Roman Kennke <kennke@aicas.com>
10145 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10146 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10147 components when visual property chanegs.
10149 2006-08-03 Roman Kennke <kennke@aicas.com>
10152 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10153 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10154 component when visual properties change.
10156 2006-08-03 Roman Kennke <kennke@aicas.com>
10159 * javax/swing/JTree.java
10160 (JTree(TreeModel)): Set cell renderer to null.
10161 * javax/swing/plaf/basic/BasicTreeUI.java
10162 (setCellRenderer): Finish editing before setting the
10163 cell renderer. Refresh the layout. Don't set the
10164 currentCellRenderer field here (that's done in updateRenderer).
10165 (updateRenderer): Handle createdRenderer field here too.
10166 Set renderer to a default handler when the current renderer
10167 in the JTree is null.
10169 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10172 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10174 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10177 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10178 Updated documentation to clarify that RFC-2459 states that the parameters
10179 field of the AlgorithmIdentifier element MUST be NULL if present.
10180 Amended the code to reflect the specs.
10181 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10183 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10185 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10186 Call parameter 'defaultValue' not 'defValue'.
10188 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10190 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10193 2006-08-01 Roman Kennke <kennke@aicas.com>
10196 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10197 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10198 components when visual property chanegs.
10200 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10202 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10203 (toString()): Corrected documentation.
10204 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10205 * javax/management/openmbean/OpenMBeanInfo.java,
10206 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10208 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10209 (toString()): Corrected documentation.
10211 2006-08-01 Tania Bento <tbento@redhat.com>
10213 * java/awt/Choice.java
10214 (remove(int)): Added documentation.
10216 2006-08-01 Tania Bento <tbento@redhat.com>
10218 * java/awt/Choice.java
10219 (remove(int)): An IllegalArgumentException should not be thrown
10220 if int is invalid. Update selectedIndex and peer selection.
10222 2006-08-01 Tania Bento <tbento@redhat.com>
10224 * java/awt/CardLayout.java
10225 (toString): Changed format of string outputted.
10226 (goToComponent): Changed the order of the if-clause.
10228 2006-07-31 Tom Tromey <tromey@redhat.com>
10230 * INSTALL: Updated for ASM.
10232 2006-07-31 Tom Tromey <tromey@redhat.com>
10235 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10236 (attachment): Likewise.
10237 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10239 (isValid): Likewise.
10240 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10242 (interestOps): Synchronize.
10243 (readyOps): Likewise.
10244 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10247 2006-07-31 Roman Kennke <kennke@aicas.com>
10249 * NEWS: Added note about the X peers.
10250 * INSTALL: Added install notes about the X peers.
10252 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10254 * StrictMath.java (getLowDWord): Return long instead of int.
10255 (getHighDWord): Likewise.
10256 (buildDouble): Take two long arguments.
10257 (cbrt): Adapted to int -> long change.
10261 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10263 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10266 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10268 * java/security/Provider.java: Updated copyright year.
10269 Updated documentation.
10271 (put): Updated documentation.
10272 Added security manager check.
10273 Canonicalize the key before adding its mapping.
10274 (get): Override superclass implementation to use canonicalized keys.
10275 (remove): Updated documentation.
10276 Added security manager check.
10277 Canonicalize the key before removing its mapping.
10278 (clear): Updated documentation.
10279 Added security manager check.
10280 (toCanonicalKey): New method.
10282 2006-07-30 Matt Wringe <mwringe@redhat.com>
10284 * gnu/java/security/Engine.java
10285 (getInstance): Ignore self referencing aliases.
10287 2006-07-30 Mark Wielaard <mark@klomp.org>
10289 * javax/swing/JComponent.java (getListeners): Revert
10292 2006-07-30 Mark Wielaard <mark@klomp.org>
10294 * resource/java/security/classpath.security: Add /dev/urandom as
10295 default securerandom.source.
10297 2006-07-30 Mark Wielaard <mark@klomp.org>
10299 * java/util/GregorianCalendar.java (maximums): Months can have up to
10301 (nonLeniencyCheck): weeks is either 5 or 6.
10303 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10305 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10306 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10309 2006-07-30 Matt Wringe <mwringe@redhat.com>
10311 * gnu/java/security/Engine.java
10312 (getInstance): Ignore self referencing aliases.
10314 2006-07-30 Sven de Marothy <sven@physto.se>
10316 * java/awt/Choice.java:
10317 (accessibleAction): Call select() directly.
10318 (add, insert, remove): Reimplement.
10319 (dispatchEventImpl): Always call super.
10320 (processItemEvent): Does not set the index.
10321 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10322 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10324 (nativeAdd): Name changed to add.
10325 (selection_changed_cb): Simplify callback.
10326 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10327 (selected): New field.
10328 (add): Replaced with native impl.
10329 (handleEvent): New method.
10331 2006-07-30 Sven de Marothy <sven@physto.se>
10333 * java/awt/Choice.java:
10334 Reformat, fix copyright year.
10336 2006-07-29 Mark Wielaard <mark@klomp.org>
10338 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10339 static field isPaintingDoubleBuffered to not have the same name
10342 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10344 * examples/gnu/classpath/examples/management/TestBeans.java:
10346 * javax/management/MBeanAttributeInfo.java:
10347 (toString()): Implemented.
10348 * javax/management/MBeanConstructorInfo.java:
10349 (toString()): Implemented.
10350 * javax/management/MBeanFeatureInfo.java:
10351 (toString()): Implemented.
10352 * javax/management/MBeanInfo.java:
10353 (toString()): Implemented.
10354 * javax/management/MBeanNotificationInfo.java:
10355 (toString()): Implemented.
10356 * javax/management/MBeanOperationInfo.java:
10357 (toString()): Implemented.
10358 * javax/management/MBeanParameterInfo.java:
10359 (toString()): Implemented.
10360 * javax/management/StandardMBean.java:
10361 (getMBeanInfo()): Fix attribute naming.
10363 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10365 * gnu/java/lang/management/BeanImpl.java:
10366 Extended javax.management.StandardMBean.
10367 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10368 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10369 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10370 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10371 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10372 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10373 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10374 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10375 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10376 Call the superclass with the appropriate class.
10377 * java/lang/management/ManagementFactory.java:
10378 (getOperatingSystemMXBean()): Catch exception from
10380 (getRuntimeMXBean()): Likewise.
10381 (getClassLoadingMXBean()): Likewise.
10382 (getThreadMXBean()): Likewise.
10383 (getMemoryMXBean()): Likewise.
10384 (getCompilationMXBean()): Likewise.
10385 (getMemoryPoolMXBeans()): Likewise.
10386 (getMemoryManagerMXBeans()): Likewise.
10387 (getGarbageCollectorMXBeans()): Likewise.
10388 * javax/management/MBeanFeatureInfo.java:
10389 hashCode()): Fixed to check for null values.
10391 2006-07-29 Matt Wringe <mwringe@redhat.com>
10393 * gnu/java/security/Engine.java
10394 (getInstance): Add case insentivity to algorithm names
10395 * java/security/Provider.java
10396 (put): Stop using canonical key naming
10398 (toCanonicalKey): Method removed
10399 (get): Method removed, no longer needs to overwrite
10400 parent implementation
10402 2006-07-29 Mark Wielaard <mark@klomp.org>
10404 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10405 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10406 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10407 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10408 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10409 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10412 2006-07-29 Sven de Marothy <sven@physto.se>
10414 * java/math/BigDecimal.java
10415 Adjust copyright date.
10416 (divide(BigDecimal): Implement.
10417 (precision): Reimplement.
10418 (numDigitsInBigInteger, numDigitsInLong): Removed.
10419 (toString): Get exponent from string length,
10420 fix negative values with exponential form.
10421 (toEngineeringString): Same as for toString.
10422 (setScale): Throw ArithmeticException if scale < 0.
10424 2006-07-27 Francis Kung <fkung@redhat.com>
10426 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10427 (cp1): Renamed from first().
10428 (c2): Renamed from last().
10429 (first): Renamed to cp1().
10430 (getDisplacedSegments): Implemented.
10431 (last): Renamed to cp2().
10432 * gnu/java/awt/java2d/LineSegment.java
10433 (cp1): Renamed from first().
10434 (c2): Renamed from last().
10435 (first): Renamed to cp1().
10436 (last): Renamed to cp2().
10437 * gnu/java/awt/java2d/QuadSegment.java
10438 (cp1): Renamed from first().
10439 (c2): Renamed from last().
10440 (first): Renamed to cp1().
10441 (last): Renamed to cp2().
10442 * gnu/java/awt/java2d/Segment.java: Added comments.
10443 (first): New field.
10444 (Segment): Keep track of first element in list.
10445 (add): Update first & last element variables.
10446 (cp1): Renamed from first().
10447 (c2): Renamed from last().
10448 (first()): Renamed to cp1() to reduce ambiguity.
10449 (last()): Renamed to cp2() to reduce ambiguity.
10450 (reverseAll): Update first element variable..
10451 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10452 (draw): Remove flattening path iterator.
10453 * java/awt/BasicStroke.java: Clarified comments.
10454 (addSegments): Refactored some code into joinSegments and
10456 (capEnd): Rename of Segment.first() and Segment.end().
10457 (joinInnerSegments): New method.
10458 (joinOuterSegments): New method.
10459 (joinSegments): Refactored some code into joinOuterSegments.
10460 (solidStroke): Connect segments together properly.
10462 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10464 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10466 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10468 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10470 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10473 2006-07-28 Tom Tromey <tromey@redhat.com>
10475 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10477 2006-07-28 Lillian Angel <langel@redhat.com>
10479 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10480 Removed function declarations.
10481 (connect_signals_for_widget): Removed implementation because
10482 stub functions have been removed.
10483 (drag_begin_cb): Removed function.
10484 (drag_motion_cb): Likewise.
10485 (drag_data_get_cb): Likewise.
10486 (drag_data_delete_cb): Likewise.
10487 (drag_drop_cb): Likewise.
10488 (drag_end_cb): Likewise.
10489 (drag_data_received_cb): Likewise.
10491 2006-07-28 Mark Wielaard <mark@klomp.org>
10493 * configure.ac: Set version to 0.93-pre.
10495 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10497 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10499 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10501 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10502 (getCallbackHandler): Fully qualify linked class in javadoc.
10503 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10504 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10505 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10507 2006-07-27 Tom Tromey <tromey@redhat.com>
10509 PR classpath/28486:
10510 * java/net/URLStreamHandler.java (equals): Properly handle default
10511 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10513 2006-07-27 Roman Kennke <kennke@aicas.com>
10515 * javax/swing/text/AbstractDocument.java
10516 (documentCV): Made field private.
10517 (bypass): Made field private.
10518 (bidiRoot): New field.
10519 (AbstractDocument): Initialize bidiRoot.
10520 (getBidiRootElement): Return bidiRoot.
10521 (getRootElements): Adjusted to also return the bidiRoot element.
10522 (BranchElement.startOffset): Removed unneeded field.
10523 (BranchElement.endOffset): Removed unneeded field.
10524 (BranchElement.BranchElement): Removed unneeded fields.
10525 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10526 done automatically when there's no element left in the array.
10527 (BranchElement.getStartOffset): Likewise.
10528 (BranchElement.replace): Reordered calculations to avoid double
10530 (removeImpl): Silently ignore requests with length <= 0.
10531 * javax/swing/text/GapContent.java
10532 (createPosition): Removed explicit check for correct offset.
10533 This class can deal with offsets outside the document.
10534 (shiftEnd): Update all positions, even those outside the
10536 (adjustPositionsInRange): Fixed to also adjust positions outside
10537 the document boundary.
10539 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10541 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10543 (getParameter): Returns _klass field instead of determining
10544 class from _instance.
10545 (setCatchLoc): New method.
10546 (writeData): Now assumes Location deals with empty locations instead of
10548 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10549 locations and write out accordingly.
10550 (getEmptyLocation): New method.
10552 2006-07-27 Roman Kennke <kennke@aicas.com>
10554 * javax/swing/text/SimpleAttributeSet.java
10555 (EMPTY): Use EmptyAttributeSet for this field rather than
10556 SimpleAttributeSet.
10557 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10558 an empty and immutable AttributeSet.
10560 2006-07-27 Roman Kennke <kennke@aicas.com>
10562 * java/awt/Component.java
10563 (reshape): Invalidate the component itself only when the
10564 size has changed. Invalidate the parent always. Fixed
10565 repainting. Pulled out the notification into
10567 (notifyReshape): New helper method. Notify interested listeners
10569 (update): Simply call paint() without clearing the background.
10570 This is done in Container.update() if appropriate.
10571 (repaint): Delagate the repaint to the nearest heavyweight
10572 parent (for lightweights) and send an UPDATE event, rather than
10573 calling ComponentPeer.repaint().
10574 * java/awt/Container.java
10575 (backCleared): Removed field.
10576 (paint): Removed handling of backCleared flag.
10577 (update): Only paint if the container is actually
10578 showing. Removed handling of backCleared flag.
10580 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10582 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10584 (NavigateAction): New inner class.
10585 (NavigatePageDownAction): New inner class.
10586 (NavigatePageUpAction): New inner class.
10587 (RequestFocusAction): New inner class.
10588 (RequestFocusForVisibleComponentAction): New inner class.
10589 (FocusHandler.focusGained): Implemented.
10590 (FocusHandler.focusLost): Implemented.
10591 (MouseHandler.mouseReleased): Implemented.
10592 (MouseHandler.mousePressed): Rewritten.
10593 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10594 currentScrollLocation to 0.
10595 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10596 removed local variables, fixed indentation to stay under 80 column
10598 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10599 one, set selectedIndex to 0 if its negative, corrected start values
10600 for normalization, suppressed padding when only one tab run,
10601 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10602 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10603 80 column limit, corrected the starting value for the bounds fixing
10605 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10606 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10607 selectedRun, set start index for loop to 0.
10608 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10609 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10610 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10611 alignment and visibility handling.
10612 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10614 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10615 (currentScrollOffset): New field.
10616 (tabRuns): Rewritten documentation.
10617 (selectedColor): New field.
10618 (tempTextRect): New field.
10619 (tempIconRect): New field.
10620 (scrollTab): New method.
10621 (updateButtons): New method.
10622 (updateViewPosition): New method.
10623 (createLayoutManager): Reordered method calls, predefine new fields,
10624 register proper listeners.
10625 (uninstallComponents): Implemented.
10626 (installDefaults): Corrected property names, fixed indentation,.
10627 (uninstallDefaults): Set new fields to null.
10628 (uninstallListeners): Remove listeners from components neccessary for
10629 scrolling tab layout.
10630 (installKeyboardActions): Implemented.
10631 (uninstallKeyboardActions): Implemented.
10632 (paint): Paint tab area background.
10633 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10635 (getTabLabelShiftX): Rewritten.
10636 (getTabLabelShiftY): Rewritten.
10637 (paintFocusIndicator): Reindented.
10638 (paintTabBorder): Rewritten.
10639 (paintTabBackground): Corrected color usage, rewritten background
10640 rectangle painting.
10641 (paintContentBorderTopEdge): Rewritten.
10642 (paintContentBorderBottomEdge): Rewritten.
10643 (paintContentBorderLeftEdge): Rewritten.
10644 (paintContentBorderRightEdge): Rewritten.
10645 (tabForCoordinate): Return selected index when no tab could be
10646 found, removed FIXME note.
10647 (getRunForTab): Changed return value for first if-statement.
10648 (navigateSelectedTab): Fixed last argument for both
10649 getTabRunOffset() calls.
10650 (selectedNextTabInRun): Added scrolling code.
10651 (selectedPreviousTabInRun): Added scrolling code.
10652 (selectedNextTab): Added scrolling code.
10653 (selectedPreviousTab): Added scrolling code.
10654 (selectAdjacentRunTab): Added scrolling code.
10655 (getTextViewForTab): Added FIXME note.
10656 (calculateTabHeight): Changed FIXME note.
10657 (getTabRunOffset): Fixed indentation.
10658 (getNextTabIndexInRun): Corrected return value.
10659 (rotateInsets): Make TOP case the default in switch-statement.
10660 (getActionMap): New method.
10661 (createActionMap): New method.
10662 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10663 (createLayoutManager): Rewritten.
10664 (paintLeftTabBorder): Do not paint left line when previous tab
10665 is selected but current tab is the first in its run, do not paint
10666 left line when current tab is selected and is first in its run.
10667 (paintRightTabBorder): Added missing setColor() call, fixed color
10668 usage, do not paint right line if previous tab is selected but
10669 current tab is the first in its run.
10670 (paintBottomTabBorder): Do not paint left line if tab is selected
10671 and is the first tab in the last run.
10672 (paintFocusIndicator): New method.
10673 (getLabelShiftX): New method.
10674 (getLabelShiftY): New method.
10676 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10678 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10679 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10680 g_assert from unused obj.
10681 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10682 obj as unused and remove g_assert on it.
10684 2006-07-26 Roman Kennke <kennke@aicas.com>
10686 * javax/swing/RepaintManager.java
10687 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10689 (isCompletelyDirty): Consider a component completely dirty
10690 when it has a dirty region with Integer.MAX_VALUE.
10692 2006-07-26 Roman Kennke <kennke@aicas.com>
10694 * java/awt/KeyboardFocusManager.java
10695 (getGlobalFocusOwner): Explicitly check for thread security.
10696 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10697 (getGlobalFocusedWindow): Explicitly check for thread security.
10698 (getGlobalActiveWindow): Explicitly check for thread security.
10699 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10700 (getGlobalObject): Added new argument for specifying if
10701 a security check should be performed or not.
10702 (setGlobalObject): Don't check for thread security when
10703 calling getGlobalObject.
10705 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10707 * javax/management/MBeanConstructorInfo.java:
10709 * javax/management/MBeanInfo.java:
10710 (MBeanInfo(String,String,MBeanAttributeInfo[],
10711 MBeanConstructorInfo[], MBeanOperationInfo[],
10712 MBeanNotificationInfo[])): Implemented.
10713 (equals(Object)): Likewise.
10714 (getAttributes()): Likewise.
10715 (getConstructors()): Likewise.
10716 (getOperations()): Likewise.
10717 (hashCode()): Likewise.
10718 * javax/management/MBeanOperationInfo.java,
10719 * javax/management/NotCompliantMBeanException.java,
10720 * javax/management/StandardMBean.java:
10723 2006-07-26 Sven de Marothy <sven@physto.se>
10725 * java/awt/geom/GeneralPath.java: Fix severe typo.
10727 2006-07-26 Sven de Marothy <sven@physto.se>
10729 * include/java_lang_VMSystem.h
10730 * vm/reference/java/lang/VMSystem.java
10731 * native/jni/java-lang/java_lang_VMSystem.c
10732 (nanoTime, currentTimeMillis): Switch the former to native code and
10733 the latter to java.
10735 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10737 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10738 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10739 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10740 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10741 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10742 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10743 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10744 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10745 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10746 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10747 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10748 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10749 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10750 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10751 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10752 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10753 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10754 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10755 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10756 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10757 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10759 2006-07-26 Roman Kennke <kennke@aicas.com>
10761 * java/awt/KeyboardFocusManager.java
10762 (getFocusOwner): Don't check permanent owner.
10763 (getGlobalFocusOwner): Don't check permanent owner.
10765 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10767 * StrictMath.java (cosh): New method.
10768 (expm1): New method.
10769 (EXPM1_Q1): New field.
10770 (EXPM1_Q2): Likewise.
10771 (EXPM1_Q3): Likewise.
10772 (EXPM1_Q4): Likewise.
10773 (EXPM1_Q6): Likewise.
10775 2006-07-26 Roman Kennke <kennke@aicas.com>
10777 * javax/swing/plaf/basic/BasicButtonListener.java
10778 (mousePressed): Request focus if appropriate.
10779 * javax/swing/text/DefaultCaret.java
10780 (mousePressed): Also handle the focus of the text component
10781 as specified. Don't consume events.
10783 2006-07-26 Roman Kennke <kennke@aicas.com>
10785 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10786 (focusRequest): Removed field.
10787 (postFocusEvent(int,boolean,Component)): Removed.
10788 (postFocusEvent(int,boolean)): Reverted to post event using
10789 the heavyweight component.
10790 (requestFocus): Post focus event using the heavyweight
10792 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10793 (requestFocus): Post focus event using the heavyweight
10795 * java/awt/AWTEvent.java
10796 (isFocusManagerEvent): New field, indicating if this is
10797 an event that is redispatched by the KeyboardFocusManager.
10798 * java/awt/Component.java
10799 (requestFocusImpl): Register component for
10800 heavyweight->lightweight mapping.
10801 (dispatchEventImpl): Retarget focus events before dispatching
10802 to the KeyboardFocusManager. Use new AWTEvent flag instead
10803 of locking hack. Dispatch all events through the
10804 KeyboardFocusManager. Don't request focus on lightweight
10806 * java/awt/DefaultKeyboardFocusManager.java
10807 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10809 (handleFocusGained): Fixed handling of temporary vs permanent
10810 focus changes. Added some checks.
10811 (handleFocusLost): Fixed handling of temporary vs permanent
10812 focus changes. Added some checks.
10813 * java/awt/EventDispatchThread.java
10814 (run): Don't dispatch to KeyboardFocusManager here. This
10815 is done in Component.dispatchEventImpl().
10816 * java/awt/KeyboardFocusManager.java
10817 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10818 (focusRequests): New field.
10819 (retargetFocusEvent): New method. Retargets focus events
10820 that come from heavyweights to the correct lightweight component.
10821 (addLightweightFocusRequest): New method. Stores a mapping
10822 for later retargetting of heavyweight focus events.
10823 * java/awt/Window.java
10824 (addFocusListener): Removed bogus method. If at all, this
10825 should be performed in the KeyboardFocusManager.
10826 (Window): Don't install a focus listener on the Window.
10828 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10830 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10831 (drawLine): Apply shift to line coordinates.
10833 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10835 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10836 (copyimage): Do not call setRenderingHints() when the respective map
10838 (filter): Removed code to clone the ColorModel instance.
10839 * java/awt/image/ColorModel.java:
10840 (cloneColorModel): Removed.
10842 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10844 * javax/swing/JTabbedPane.java:
10845 (setSelectedIndex): Removed updating of component visibility status,
10847 (remove(Component)): Use indexOfComponent() to find whether we have
10848 to use super.remove(int) or removeTabAt().
10850 2006-07-26 Roman Kennke <kennke@aicas.com>
10852 * javax/swing/JOptionPane.java
10853 (createDialog): Add property change handler for closing
10854 the dialog when the value property changes.
10855 (ValuePropertyHandler): New inner helper class.
10856 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10857 (OptionPaneCloseAction): New class.
10858 (messageForeground): Removed field.
10859 (messageBorder): Removed field.
10860 (buttonBorder): Removed field.
10861 (addIcon): Configure the new label.
10862 (addMessageComponents): Configure newly created labels.
10863 (burstStringInto): Likewise.
10864 (createButtonArea): Install border here.
10865 (createMessageArea): Install border and foreground here.
10866 (createSeparator): Added comment and removed
10867 NotImplementedException.
10868 (installComponents): Don't install the UI defaults for the
10869 message and button area here. This is moved to the
10870 corresponding create* methods. Adjusted comment about
10872 (installDefaults): Removed initialization of removed fields.
10873 (installKeyboardActions): Implemented.
10874 (getActionMap): New helper method.
10875 (createDefaultActions): New helper method.
10876 (uninstallDefaults): Removed de-initialization of removed fields.
10877 (uninstallKeyboardActions): Implemented.
10878 (configureLabel): New helper method.
10879 * javax/swing/plaf/basic/BasicTableUI.java
10880 (getActionMap): Fixed the UI property names.
10881 * javax/swing/plaf/basic/BasicToolBarUI.java
10882 (getActionMap): Fixed the UI property names.
10884 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10886 * java/awt/image/BandedSampleModel.java
10887 (getDataElements): Check for negative x or y,
10888 (getPixels): Likewise,
10889 (getSamples): Likewise,
10890 (setSamples): Likewise.
10892 2006-07-26 Roman Kennke <kennke@aicas.com>
10894 * javax/swing/plaf/basic/BasicToolBarUI.java
10895 (ToolBarAction): New inner class for handling keyboard
10897 (installKeyboardActions): Implemented.
10898 (getActionMap): New helper method.
10899 (createDefaultActions): New helper method.
10900 (installListeners): Install focus listener on toolbar's
10901 children, rather than the toolbar itself.
10902 (navigateFocusedComp): Implemented.
10903 (uninstallKeyboardActions): Implemented.
10904 (uninstallListeners): Uninstall focus listener from
10905 toolbar's children, rather than the toolbar itself.
10906 (ToolBarContListener.componentAdded): Install focus
10907 listener on added child.
10908 (ToolBarContListener.componentRemoved): Uninstall focus
10909 listener from removed child.
10910 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10911 (ToolBarFocusListener.focusGained): Implemented.
10912 (ToolBarFocusListener.focusLost): Implemented.
10914 2006-07-26 Roman Kennke <kennke@aicas.com>
10916 * java/awt/DefaultKeyboardFocusManager.java
10917 (dispatchEvent): Notify old focus owner when it has lost
10920 2006-07-26 Roman Kennke <kennke@aicas.com>
10922 * javax/swing/plaf/basic/BasicTableUI.java
10923 (FocusHandler.focusGained): Implemented to refresh the
10925 (FocusHandler.focusLost): Implemented to refresh the
10927 (FocusHandler.repaintLeadCell): New helper method.
10928 (MouseInputHandler.mouseEntered): Do nothing here.
10929 (MouseInputHandler.mouseExited): Do nothing here.
10930 (MouseInputHandler.mouseMoved): Do nothing here.
10931 (installKeyboardActions): Rewritten to use a shared InputMap
10932 and ActionMap and correctly install the maps via SwingUtilities
10934 (getActionMap): New helper method.
10935 (createDefaultActions): New helper method.
10936 (ActionListenerProxy): Removed unneeded class.
10937 (TableAction): Made class static.
10938 (TableAction.actionPerformed): Determine table by fetching
10939 the event source. Pass the table to helper methods.
10940 Use __command__ hack to determine the action command.
10941 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10942 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10943 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10944 (TableAction.getLastVisibleRowIndex): Get table as argument.
10945 (TableAction.advanceMultipleSelection): Get table as argument.
10946 (uninstallDefaults): Do nothing here.
10947 (uninstallKeyboardActions): Uninstall the keyboard actions.
10949 2006-07-26 Roman Kennke <kennke@aicas.com>
10951 * javax/swing/JComponent.java
10952 (processKeyBinding): Store the action command as property
10953 in the Action instance that we call. This allows for
10954 improvement on the side of the Action.
10956 2006-07-26 Roman Kennke <kennke@aicas.com>
10958 * javax/swing/plaf/metal/MetalUtils.java
10959 (fillMetalPattern): Use fillRect() instead of drawLine() to
10960 fill single pixels.
10962 2006-07-26 Roman Kennke <kennke@aicas.com>
10964 * javax/swing/text/GapContent.java
10965 (getChars): Check for negative length and throw
10966 BadLocationException.
10968 2006-07-26 Roman Kennke <kennke@aicas.com>
10970 * javax/swing/plaf/basic/BasicMenuBarUI.java
10971 (FocusAction): Made class static.
10973 2006-07-26 Roman Kennke <kennke@aicas.com>
10975 * javax/swing/plaf/basic/BasicLookAndFeel.java
10976 (initComponentDefaults): Add keyboard bindings for
10979 2006-07-26 Roman Kennke <kennke@aicas.com>
10981 * javax/swing/UIManager.java
10982 (getLookAndFeelDefaults): Return the look and feel defaults.
10983 (setLookAndFeel): Improved exception messsage.
10985 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10987 * javax/swing/text/StringContent.java
10988 (StringContent): Changed initialLength to 10.
10990 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10992 * java/util/Vector.java: Fixed API doc typo.
10994 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10996 * java/awt/image/BandedSampleModel.java
10997 (createCompatibleSampleModel): Fixed typo in loop increment, set
10998 correct scanlineStride, and updated API docs.
11000 2006-07-25 Roman Kennke <kennke@aicas.com>
11002 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11003 (NavigateAction): New inner class. This is responsible for
11004 keyboard navigation through menus.
11005 (KeyboardHelper): New inner class. This manages the
11006 keyboard mappings and focus when a popup opens or closes.
11007 (keyboardHelper): New static field.
11008 (numPopups): New static field.
11009 (installUI): Create KeyboardHelper for first popup.
11010 Call installKeyboardActions().
11011 (installKeyboardActions): Removed NotImplementedException.
11012 This method is a no-op.
11013 (installKeyboardActionsImpl): New method. Installs keyboard
11014 mapping when a popup is opened.
11015 (getActionMap): New helper method.
11016 (createDefaultActions): New helper method.
11017 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11018 uninstalled. Call uninstallKeyboardActions().
11019 (uninstallKeyboardActions): Removed NotImplementedException.
11020 This method is a no-op.
11021 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11022 mapping when a popup is closed.
11024 2006-07-25 Roman Kennke <kennke@aicas.com>
11026 * java/awt/Component.java
11027 (requestFocus()): Reimplemented to use requestFocusImpl().
11028 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11029 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11030 (requestFocusInWindow(boolean)): Reimplemented to use
11031 requestFocusImpl().
11032 (requestFocusImpl): Reimplemented focus request to use
11033 new peer method. Also added some obvious additional checks
11034 for rejecting focus requests early.
11035 * java/awt/ComponentPeer.java
11036 (requestFocus(Component,boolean,boolean,long)): Documented
11038 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11039 (requestFocus): New field.
11040 (gtkWidgetHasFocus): New native method.
11041 (gtkWidgetCanFocus): New native method.
11042 (requestFocus): Replaced with assert false to prevent
11043 usage of obsolete method.
11044 (postFocusEvent(int,boolean,Component)): New overloaded method
11045 for posting the focus event to a specific target.
11046 (postFocusEvent(int,boolean)): Post event to requestFocus
11048 (requestFocus(Component,boolean,boolean,long)): Implemented.
11049 (getWindowFor): New helper method.
11050 (isLightweightDescendant): New helper method.
11051 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11052 (gtkWindowHasFocus): New native method.
11053 (requestFocus(Component,boolean,boolean,long)): New method.
11054 Overrides GtkComponentPeer method to specially handly the
11055 case when a Window receives a focus request for a lightweight
11057 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11058 (gtkWidgetHasFocus): New native method.
11059 (gtkWidgetCanFocus): New native method.
11060 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11061 (gtkWindowHasFocus): New native method.
11062 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11063 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11066 2006-07-25 Francis Kung <fkung@redhat.com>
11068 * java/awt/DefaultKeyboardFocusManager.java
11069 (dispatchEvent): Add check for valid component.
11071 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11073 * javax/management/MBeanConstructorInfo.java:
11075 * javax/management/MBeanNotificationInfo.java:
11077 * javax/management/MBeanParameterInfo.java:
11080 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11082 * java/awt/peer/gtk/CairoGraphics.java:
11083 (drawLine): Added special case for 1 pixel lines.
11085 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11088 * java/awt/peer/gtk/CairoGraphics.java:
11089 (drawLine): Removed calls to shifted().
11091 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11093 * javax/swing/JTabbedPane.java:
11094 (remove(Component)): Rewritten.
11095 (setSelectedIndex): Implemented updating of component visibility state.
11097 2006-07-25 Sven de Marothy <sven@physto.se>
11099 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11100 (init): Default to the actual depth in the worst case.
11102 * java/awt/Font.java
11103 (createFont(int, File)): New method.
11105 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11108 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11110 (RETokenEnd): New constructer to set check_java_line_terminators.
11111 (matchThis): Checck line terminators if check_java_line_terminators.
11112 * gnu/java/util/regex/RETokenStart.java: Likewise.
11113 * gnu/regexp/RE.java(initialize): Use the new constructors for
11114 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11115 * java/util/regex/Pattern.java(Patteren): Changed so that
11116 gnu/regexp/RE.java may use the new the new constructors.
11118 2006-07-25 Roman Kennke <kennke@aicas.com>
11120 * java/awt/Container.java
11121 (focusTraversalPolicyProvider): New field.
11122 (isFocusTraversalPolicyProvider): New method.
11123 (setFocusTraversalPolicyProvider): New method.
11124 * java/awt/ContainerOrderFocusTraversalPolicy.java
11125 (getFirstComponent): Use accept() instead of lengthy checks.
11126 Don't fetch getComponents() to avoid copying of array.
11127 Traverse down the hierarchy to find the first focused component.
11128 * java/awt/DefaultKeyboardFocusManager.java
11129 (dispatchEvent): Let the initial component request focus.
11131 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11133 * javax/swing/text/Segment.java
11134 (last): Update current index before returning DONE for zero count.
11136 2006-07-24 Mark Wielaard <mark@klomp.org>
11138 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11140 2006-07-25 Roman Kennke <kennke@aicas.com>
11142 * javax/swing/plaf/basic/BasicMenuBarUI.java
11143 (FocusAction): New inner class. Used to grab focus.
11144 (installKeyboardActions): Implemented.
11145 (uninstallKeyboardActions): Implemented.
11146 (getActionMap): New helper method.
11147 (createDefaultActions): New helper method.
11149 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11151 * examples/gnu/classpath/examples/swing/Demo.java:
11152 (mkMenuBar): Install instantiable basic look and feel.
11153 (InstantiableBasicLookAndFeel): New inner class.
11155 2006-07-25 Roman Kennke <kennke@aicas.com>
11157 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11158 (GlassPaneDispatcher.dragTarget): New field.
11159 (GlassPaneDispatcher.isDragging): New field.
11160 (GlassPaneDispatcher.pressedComponent): Removed field.
11161 (GlassPaneDispatcher.tempComponent): Removed field.
11162 (GlassPaneDispatcher.pressCount): Removed field.
11163 (GlassPaneDispatcher.mousePressed): Call
11164 borderListener.mousePressed() to activate the frame.
11165 (acquireComponentForMouseEvent): Removed method.
11166 (handleEvent): Rewritten.
11167 (redispatch): New method.
11168 (InternalFramePropertyChangeListener.propertyChange):
11169 Make glasspane invisible when frame is selected, and visible
11170 if it gets deselected.
11172 2006-07-25 Roman Kennke <kennke@aicas.com>
11174 * java/awt/LightweightDispatcher.java
11175 (handleMouseEvent): Dispatch event to real target if
11176 the dragTarget has become invisible in the meantime.
11178 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11180 * javax/swing/text/TabSet.java
11181 (equals): New method override for 1.5,
11182 (hashCode): Likewise,
11183 (toString): Added spaces to match reference implementation.
11185 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11187 * javax/management/IntrospectionException.java,
11188 * javax/management/MBeanAttributeInfo.java:
11190 * javax/management/MBeanNotificationInfo.java:
11191 Documentation cleanups.
11193 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11195 * javax/swing/text/TabSet.java
11196 (TabSet): Check for null argument,
11197 (getTab): Throw IllegalArgumentException for index out of bounds,
11198 (getTabIndexAfter): Changed test to '<=',
11199 and updated API docs all over,
11200 * javax/swing/text/TabStop.java: Updated API docs.
11202 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11204 * javax/swing/text/TabStop.java
11205 (toString): Don't use 'left ' prefix, and added space between tab
11206 location and '(w/leader)' suffix.
11208 2006-07-24 Francis Kung <fkung@redhat.com>
11210 * javax/swing/JComboBox.java
11211 (DefaultKeySelectionManager): Implemented.
11212 (createDefaultKeySelectionManager): Implemented.
11213 (getKeySelectionManager): Implemented.
11214 (processKeyEvent): Removed duplicate code.
11215 * javax/swing/JPopupMenu.java
11216 (selectionModel): Changed visibility.
11217 * javax/swing/plaf/basic/BasicComboBoxUI.java
11218 (KeyHandler.keyPressed): Added navigation keys.
11219 (configureEditor): Add key listener.
11220 (installListeners): Install focus listener to combo box.
11221 (isNavigationKey): Added enter, escape, and tab.
11222 (selectPreviousPossibleValue): Added out of bounds check.
11223 (unconfigureEditor): Remove key listener.
11224 * javax/swing/plaf/metal/MetalComboBoxButton.java
11225 (paintComponent): Highlight combo box when in focus.
11227 2006-07-24 Roman Kennke <kennke@aicas.com>
11229 * javax/swing/SwingUtilities.java
11230 (isLeftMouseButton): Fixed condition.
11231 * java/awt/LightweightDispatcher.java
11232 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11235 2006-07-24 Roman Kennke <kennke@aicas.com>
11237 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11238 (setPaint): Fixed scaleX and scaleY.
11240 2006-07-24 Roman Kennke <kennke@aicas.com>
11242 * javax/swing/JTable.java
11243 (handleInsert): Repaint the whole table for variable row
11244 height tables and an optimized region otherwise.
11245 (handleDelete): Likewise.
11246 (handleUpdate): Likewise.
11248 2006-07-24 Mario Torre <neugens@limasoftware.net>
11250 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11251 now explicity registerListeners on GtkMouseDragGestureRecognizer
11253 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11254 (unregisterListeners): new method, overrided from base class
11255 to rise visibility (from protected to public).
11256 (registerListeners): Likewise.
11257 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11258 removed call to registerListeners from the constructor.
11260 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11262 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11263 * java/lang/management/MemoryPoolMXBean.java:
11264 (getType()): Changed return type to MemoryType.
11265 * java/lang/management/MemoryType.java:
11268 2006-07-23 Mark Wielaard <mark@klomp.org>
11270 * configure.ac: Check for moc and moc-qt4.
11272 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11274 * java/awt/image/Kernel.java: API doc updates.
11276 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11278 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11281 2006-07-22 Mark Wielaard <mark@klomp.org>
11283 * java/lang/Iterable.java: Import all of java.util.
11284 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11285 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11287 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11289 * doc/vmintegration.texinfo:
11290 Document getType(String).
11291 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11292 * java/lang/management/MemoryPoolMXBean.java:
11293 (getType()): Implemented.
11294 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11295 (getType(String)): Implemented.
11297 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11299 * doc/vmintegration.texinfo:
11300 Move end of itemization block.
11302 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11304 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11305 (initComponentDefaults): Added new properties, added comments.
11307 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11309 * doc/vmintegration.texinfo:
11310 Mention callback methods.
11311 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11312 (fireNotification(String,String,long,long,long,long,long)):
11313 Made package-private.
11314 (fireThresholdExceededNotification(String,long,long,long,
11315 long,long)): Likewise.
11316 (fireCollectionThresholdExceededNotification(String,long,
11317 long,long,long,long)): Likewise.
11318 * java/lang/management/MemoryMXBean.java:
11319 Document notifications.
11321 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11323 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11324 (fireNotification(String,String,long,long,long,long,long)):
11326 (fireThresholdExceededNotification(String,long,long,long,
11327 long,long)): Likewise.
11328 (fireCollectionThresholdExceededNotification(String,long,
11329 long,long,long,long)): Likewise.
11330 * java/lang/management/MemoryNotificationInfo.java:
11331 Use composite type from MemoryMXBeanImpl.
11332 * javax/management/openmbean/CompositeData.java:
11333 Correct documentation.
11334 * javax/management/openmbean/CompositeDataSupport.java,
11335 * javax/management/openmbean/InvalidKeyException.java:
11338 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11340 * gnu/java/security/util/IntegerUtil.java: New file.
11342 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11345 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11346 (KEY_SIZE): Likewise.
11347 (adjustParity(int,byte[],int): New method.
11348 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11349 (isParityAdjusted(int,byte[],int)): New method.
11350 (isParityAdjusted): Call above method with 3 as 1st argument.
11351 (keySizes): Add 8 and 16 as other valid key sizes.
11352 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11354 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11356 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11357 code for the pixel swap routine to be more efficient.
11359 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11361 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11362 (lastIndexOf(E, int)): Likewise.
11363 (add(E)): Increase the size of newData array by one.
11364 (add(int, E)): Likewise.
11366 2006-07-20 Lillian Angel <langel@redhat.com>
11368 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11369 Removed unused fields.
11370 (GtkMouseDragGestureRecognizer): Removed initializations.
11372 2006-07-20 Lillian Angel <langel@redhat.com>
11374 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11375 (GtkMouseDragGestureRecognizer): New constructor.
11376 (GtkMouseDragGestureRecognizer): New constructor.
11377 (GtkMouseDragGestureRecognizer): New constructor.
11378 (mouseClicked): Removed FIXME.
11379 (mousePressed): Implemented.
11380 (mouseReleased): Implemented.
11381 (mouseEntered): Implemented.
11382 (mouseDragged): Implemented to check mouse point and trigger origin.
11383 (mouseMoved): Removed FIXME.
11384 (getDropActionFromEvent): New helper function used to convert mouse event
11385 modifiers to a drop action.
11386 * java/awt/dnd/DragSource.java
11387 (getDragThreshold): Changed to return some arbitrary value for testing
11390 2006-07-20 Roman Kennke <kennke@aicas.com>
11392 * java/awt/LightweightDispatcher.java
11393 (findTarget): Also consider components that have their eventMask
11394 set, for compatibility with stonage AWT. Optimized check
11396 (handleMouseEvent): Likewise.
11398 2006-07-20 Roman Kennke <kennke@aicas.com>
11400 * javax/swing/JTable.java
11401 (tableChanged): Split out handling of the event into multiple
11403 (handleCompleteChange): New method. Clear the selection and
11404 check the lead/anchor indices.
11405 (handleInsert): New method. Check the lead/anchor indices.
11406 Optimized repainting.
11407 (handleDelete): New method. Check the lead/anchor indices.
11408 Optimized repainting.
11409 (handleUpdate): New method. Optimized repainting.
11410 (checkSelection): New helper method.
11411 (setSelectionModel): Update lead/anchor indices.
11413 2006-07-20 Lillian Angel <langel@redhat.com>
11416 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11417 (dispose): Reset all fields.
11419 2006-07-20 Roman Kennke <kennke@aicas.com>
11421 * gnu/java/awt/peer/x/XToolkit.java
11422 (createImage(InputStream)): Only copy image to Pixmap if
11423 it's actually opaque. Transparent images are left as
11424 BufferedImage and composited later onto the screen.
11425 * gnu/java/awt/peer/x/XGraphics.java
11426 (XGraphics): Fetch some parameters for image rendering.
11427 (drawImage): Added special handling of transparent images.
11428 (getRGB): New helper method.
11429 (setRGB): New helper method.
11431 2006-07-20 Roman Kennke <kennke@aicas.com>
11433 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11434 ImageInputStreams as normal InputStreams.
11435 * gnu/javax/imageio/gif/GIFStream.java:
11436 Moved to gnu/javax/imageio/IIOInputStream.java.
11437 * gnu/javax/imageio/gif/GIFImageReader.java
11438 (readImage): Use IIOInputStream.
11439 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11440 (canDecodeInput): Use IIOInputStream.
11441 * gnu/javax/imageio/png/PNGException.java: Make subclass
11443 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11444 Implements the ImageIO ImageReader for PNG.
11445 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11446 Implements the ImageIO ImageReaderSpi for PNG.
11447 * javax/imageio/spi/IIORegistry.java:
11448 (IIORegistry): Add PNGImageReaderSpi.
11450 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11452 * java/awt/image/ComponentSampleModel.java
11453 (getPixel): Added argument check,
11454 (getSample): Modified exception message.
11456 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11459 * java/awt/image/ConvolveOp.java
11460 (filter(Raster, WritableRaster)): Reimplemented,
11461 (fillEdge): New private method.
11463 2006-07-19 Keith Seitz <keiths@redhat.com>
11465 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11466 (JVMTI_VERSION): Define.
11468 2006-07-19 Roman Kennke <kennke@aicas.com>
11470 * resource/gnu/regexp/MessagesBundle.properties,
11471 * resource/gnu/regexp/MessagesBundle_fr.properties,
11472 * resource/gnu/regexp/MessagesBundle_it.properties:
11473 Moved to resource/gnu/java/util/regex.
11474 * resource/gnu/java/util/regex/MessagesBundle.properties,
11475 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11476 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11478 * gnu/java/util/regex/RE.java
11479 Use new resource bundle location.
11481 2006-07-19 Roman Kennke <kennke@aicas.com>
11483 * javax/swing/JComponent.java
11484 (paintChildren): Refactored. The paintChildrenOptimized method
11485 has been moved back in here. Added locking of the tree and
11486 only check for completely obscured child components
11487 when not optimized drawing enabled. Use Graphics.create() to
11488 protect from irreversible changes.
11489 (isCompletelyObscured): New helper method.
11490 (paintComponent): Also use Graphics.create() for Graphics2D,
11491 to protect from irreverible changes.
11492 (clipAndTranslateGraphics): Refactored to use more efficient
11493 iterative (vs recursive) approach.
11494 * javax/swing/RepaintManager.java
11495 (getOffscreenBuffer): Create image from root component.
11497 2006-07-19 Roman Kennke <kennke@aicas.com>
11499 * gnu/java/awt/peer/x/XGraphics.java
11500 (translate): Don't set the clip on the X server.
11501 (clipRect): Use setXClip() to set the clip on the X server.
11502 (hitClip): More efficient and correct implementation.
11503 (setClip): Use setXClip() to set the clip on the X server.
11504 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11505 (copyArea): Translate and clip the source rectangle correctly.
11506 (dispose): Only flush when object is not yet disposed.
11507 (clone): Use setXClip() to set the clip on the X server.
11509 2006-07-19 Sven de Marothy <sven@physto.se>
11511 * gnu/javax/imageio/png/PNGChunk.java,
11512 * gnu/javax/imageio/png/PNGData.java,
11513 * gnu/javax/imageio/png/PNGDecoder.java,
11514 * gnu/javax/imageio/png/PNGEncoder.java,
11515 * gnu/javax/imageio/png/PNGException.java,
11516 * gnu/javax/imageio/png/PNGFile.java,
11517 * gnu/javax/imageio/png/PNGFilter.java,
11518 * gnu/javax/imageio/png/PNGGamma.java,
11519 * gnu/javax/imageio/png/PNGHeader.java,
11520 * gnu/javax/imageio/png/PNGICCProfile.java,
11521 * gnu/javax/imageio/png/PNGPalette.java,
11522 * gnu/javax/imageio/png/PNGPhys.java,
11523 * gnu/javax/imageio/png/PNGTime.java:
11526 2006-07-19 Sven de Marothy <sven@physto.se>
11528 * java/net/Inet6Address.java:
11529 (getScopedId, getScopedInterface): New methods.
11531 2006-07-19 Lillian Angel <langel@redhat.com>
11533 * examples/gnu/classpath/examples/awt/Demo.java
11534 (DragDropWindow): Fixed typo in Label text.
11535 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11536 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11537 (startDrag): Initialized context field.
11538 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11540 (dragEnter): New function.
11541 (dragExit): Likewise.
11542 (dragDropEnd): Likewise.
11543 (dragMouseMoved): Likewise.
11544 (dragOver): Likewise.
11545 (dragActionChanged): Likewise.
11547 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11550 * resource/java/security/classpath.security: Updated copyright year.
11551 (auth.login.defaultCallbackHandler): New property; set to our default
11552 callback handler. This is needed by the LoginContext when no callback
11553 handler was specified.
11554 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11555 (LoginContext(4)): Assign passed parameters to local fields before invoking
11558 2006-07-19 Roman Kennke <kennke@aicas.com>
11560 * gnu/java/awt/peer/x/XGraphics.java
11561 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11562 Fixed ordering of parameters.
11564 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11566 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11567 (MemoryMXBeanImpl()): Implemented.
11568 (ListenerData): New private class.
11569 (addNotificationListener(NotificationListener,
11570 NotificationFilter, Object)): Implemented.
11571 (getNotificationInfo()): Likewise.
11572 (removeNotificationListener(NotificationListener)):
11574 (removeNotificationListener(NotificationListener,
11575 NotificationFilter, Object)): Likewise.
11577 2006-07-18 Roman Kennke <kennke@aicas.com>
11579 * gnu/java/awt/peer/x/XFontPeer.java
11580 (encodeFont): Be more flexible with font sizes.
11581 (validSize): New helper method.
11582 * gnu/java/awt/peer/x/XGraphics.java
11583 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11585 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11587 * gnu/java/awt/peer/x/XImage.java
11588 (properties): New field.
11589 (getProperty): Implemented.
11590 * resource/gnu/java/awt/peer/x/fonts.properties:
11591 Added copyright header. Fixed font size field.
11593 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11595 * java/awt/image/BandedSampleModel.java
11596 (createDataBuffer): New method override,
11597 * java/awt/image/ByteLookupTable.java
11598 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11599 (ByteLookuptable(int, byte[])): Check for null array,
11600 * java/awt/image/ComponentSampleModel.java
11601 (createDataBuffer): Removed unnecessary braces,
11602 (getSample): Check (x, y) is within bounds,
11603 * java/awt/image/ShortLookupTable.java
11604 (ShortLookupTable(int, short[][])): Create new array to hold references,
11605 (ShortLookupTable(int, short[])): Check for null array,
11606 (getTable): Added API docs,
11607 (lookupPixel): Source reformatting.
11609 2006-07-18 Tania Bento <tbento@redhat.com>
11611 * java/awt/GridLayout.java
11612 (setHgap): Illegal Argument Exception should not be thrown if
11614 (setVgap): Illegal Argument Exception should not be thrown if
11616 (toString): Opening square braket ([) should appear before hgap
11617 value, not the name of the class.
11619 2006-07-18 Roman Kennke <kennke@aicas.com>
11621 * lib/copy-vmresources.sh.in: Reverted.
11622 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11623 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11625 2006-07-18 Roman Kennke <kennke@aicas.com>
11627 * lib/copy-vmresources.sh.in: Include properties from X peers.
11629 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11632 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11633 certificate validity.
11634 (getIssuerName): New method.
11635 (getSubjectName): Likewise.
11636 (getNotAfterDate): Likewise.
11637 (getNotBeforeDate): Likewise.
11638 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11639 messages for newly added messages in SFHelper.
11641 2006-07-18 Roman Kennke <kennke@aicas.com>
11643 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11644 * gnu/java/awt/peer/x/XEventPump.java
11645 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11646 * gnu/java/awt/peer/x/XFramePeer.java
11647 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11648 * gnu/java/awt/peer/x/XGraphics.java
11649 Made subclass of Graphics rather than Graphics2D. Removed
11650 all Graphics2D specific method stubs.
11651 (setColor): Map colors using the X color map that is
11652 stored in XToolkit.
11653 * gnu/java/awt/peer/x/XToolkit.java
11654 (colorMap): New field.
11655 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11657 (createDialog): Implemented.
11658 (createImage(ImageProducer)): Implemented.
11659 (createImage(InputStream)): Use createImage(ImageProducer)
11660 to convert the BufferedImage to an XImage.
11661 * gnu/java/awt/peer/x/XWindowPeer.java
11662 (XWindowPeer): Removed debug output.
11664 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11666 * java/awt/image/BufferedImageOp.java: API docs added,
11667 * java/awt/image/RasterOp.java: Likewise.
11669 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11671 * java/awt/Graphics2D.java: API docs updated.
11673 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11675 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11678 2006-07-18 Sven de Marothy <sven@physto.se>
11680 * java/net/Inet6Address.java:
11681 Add 1.5 serialized fields.
11682 (getByAddress): New methods.
11683 (readObject, writeObject): New methods.
11684 (equals): Reimplement.
11686 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11688 * java/awt/image/Raster.java: Added API docs and reformatted source
11691 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11693 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11695 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11696 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11697 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11698 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11699 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11700 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11701 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11702 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11703 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11704 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11705 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11706 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11707 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11708 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11709 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11710 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11711 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11712 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11713 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11714 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11715 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11717 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11719 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11720 to make it compile again under jikes. Note added.
11722 2006-07-17 Lillian Angel <langel@redhat.com>
11724 * examples/gnu/classpath/examples/awt/Demo.java
11725 (Demo): Added new window for DnD demo.
11726 (DragDropWindow): New class.
11727 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11728 Added new fields and declarations for native functions.
11729 (GtkDragSourceContextPeer): Implemented.
11730 (getComponentPeer): New function.
11731 (startDrag): Partially implemented.
11732 (getCursor): Implemented.
11733 (setCursor): Implemented.
11734 * include/GtkDragSourceContextPeer.h: New file.
11735 * include/Makefile.am: Added new header file.
11736 * java/awt/Component.java
11737 (addNotify): Added call to the dropTarget's addNotify.
11738 * java/awt/dnd/DragSource.java
11739 (startDrag): Fixed code to use shared instances of peer and
11741 (getDragThreshold): Added stub.
11742 * java/awt/dnd/DropTarget.java
11743 (DropTarget): Implemented fully.
11744 (addNotify): Added code to get the peer of the parent that is
11746 * java/awt/dnd/DropTargetDragEvent.java
11747 (getTransferable): Added stub.
11748 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11749 * native/jni/gtk-peer/Makefile.am: Added new c file.
11750 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11751 Changed to extend GtkGenericPeer.
11752 (GtkDropTargetContextPeer): New constructor.
11753 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11754 Changed to extend GtkGenericPeer.
11755 (GtkDropTargetContextPeer): New constructor.
11757 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11759 * java/awt/image/SinglePixelPackedSampleModel.java
11760 (createSubsetSampleModel): Added argument check and API docs.
11762 2006-07-17 Roman Kennke <kennke@aicas.com>
11764 * gnu/java/awt/peer/x/XGraphics.java
11765 (copyArea): Implemented.
11767 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11769 * java/awt/image/SinglePixelPackedSampleModel.java
11770 (getSampleSize): Return copy of array,
11771 (getOffset): Added API docs,
11772 (getScanlineStride): Likewise,
11773 (hashCode): Implemented.
11775 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11777 * java/awt/image/MultiPixelPackedSampleModel.java
11778 (getOffset): Updated API docs and source reformatting,
11779 (getBitOffset): Source reformatting only,
11780 (getDataElements): Likewise,
11781 (getPixel): Likewise,
11782 (getPixels): Removed method override,
11783 (setDataElements): Reimplemented.
11785 2006-07-17 Gary Benson <gbenson@redhat.com>
11787 * resource/META-INF/services/.cvsignore: New file.
11788 * lib/.cvsignore: Updated.
11790 2006-07-17 Roman Kennke <kennke@aicas.com>
11792 * javax/swing/plaf/basic/BasicButtonListener.java
11793 (propertyChange): Only do the text layout caching as long
11794 as the noGraphics2D property isn't set.
11795 * javax/swing/plaf/basic/BasicMenuItemUI.java
11796 (PropertyChangeHandler.propertyChange): Only do the text layout
11797 caching as long as the noGraphics2D property isn't set.
11799 2006-07-17 Roman Kennke <kennke@aicas.com>
11801 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11802 (XGraphicsEnvironment): Make constructor public so that it
11803 can be called via Class.forName().newInstance().
11804 * gnu/java/awt/peer/x/XImage.java
11805 (XImage): Fetch GraphicsEnvironment via
11806 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11807 than the XToolkit method, to avoid double instantiation
11808 of the XGraphicsEnvironment.
11809 * gnu/java/awt/peer/x/XToolkit.java
11810 (env): Removed field.
11811 (getLocalGraphicsEnvironment): Removed impl. This method
11812 should not be called since we set the graphicsenv property
11813 in the constructor.
11815 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11817 * java/util/UUID.java:
11818 (compareTo(Object)): Call compareTo(UUID).
11819 (compareTo(UUID)): Implemented.
11821 2006-07-16 Tom Tromey <tromey@redhat.com>
11823 * java/lang/StrictMath.java (cbrt): Added '@since'.
11825 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11827 * java/lang/StrictMath.java (cbrt): New method.
11828 (getLowDWord): New helper method.
11829 (getHighDWord): Likewise.
11830 (buildDouble): Likewise.
11831 (CBRT_B1): New field.
11832 (CBRT_B2): Likewise.
11833 (CBRT_C): Likewise.
11834 (CBRT_D): Likewise.
11835 (CBRT_E): Likewise.
11836 (CBRT_F): Likewise.
11837 (CBRT_G): Likewise.
11839 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11841 * javax/management/MBeanInfo.java:
11842 (getNotifications()): Implemented.
11843 * javax/management/NotificationBroadcaster.java:
11844 (removeNotificationListener(NotificationListener)):
11845 Renamed from removeListener.
11846 * javax/management/NotificationEmitter.java:
11847 (removeNotificationListener(NotificationListener,
11848 NotificationFilter, Object)): Likewise.
11849 * javax/management/NotificationFilter.java:
11850 Implement Serializable.
11851 * javax/management/NotificationListener.java:
11852 Implement java.util.EventListener.
11853 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11854 Implement Serializable.
11856 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11858 * java/lang/management/MemoryNotificationInfo.java:
11861 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11864 * gnu/javax/swing/text/html/parser/htmlValidator.java
11865 (tagIsValidForContext): If it is not possible to insert any tag, but
11866 is possible to insert a P, insert a P.
11867 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11868 (newInstance): Removed print statement. (getBodyElements):
11869 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11870 valid body level tags (will be enclosed into P's).
11872 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11874 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11875 Condition the creation of .keystore (a default keystore) based on the
11876 createIfNotFound argument as well.
11878 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11881 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11882 Removed heading p tag from the parsing example.
11883 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11884 (createHtmlContentModel): Explained.
11885 (defineElements): Call getBodyElements to get the body
11886 elements. (getBodyElements): New method. (model):
11887 Made protected from private.
11888 * gnu/javax/swing/text/html/parser/htmlValidator.java
11889 (openTag): Mind that current content model may be null.
11890 (tagIsValidForContext): If the tag is PCDATA, and it is not
11891 valid for context, but the paragraph (P) is valid for context,
11892 suggest to insert the P tag here.
11893 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11894 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11895 implied P tags here.
11896 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11897 Get the custom parser, using HTML_401Swing.java DTD.
11898 * javax/swing/text/html/parser/ParserDelegator.java:
11899 Removed the obsolete note that HTMLEditorKit does not exist.
11900 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11901 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11903 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11905 * javax/management/ListenerNotFoundException.java:
11907 * javax/management/MBeanFeatureInfo.java:
11908 (hashCode()): Use summation instead of multiplication
11909 for consistency with other classes.
11910 * javax/management/MBeanNotificationInfo.java,
11911 * javax/management/Notification.java,
11912 * javax/management/NotificationBroadcaster.java,
11913 * javax/management/NotificationEmitter.java,
11914 * javax/management/NotificationFilter.java,
11915 * javax/management/NotificationListener.java:
11917 * javax/management/OperationsException.java:
11918 (serialVersionUID): Added.
11920 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11921 Mark Wielaard <mark@klomp.org>
11923 * java/io/PrintStream.java: Added four constructors, for File and
11924 String describing a filename with or without explicit encoding.
11926 2006-07-16 Sven de Marothy <sven@physto.se>
11928 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11929 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11932 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11935 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11937 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11938 (setProviderClassNameParam): Made private.
11939 (setKeystoreTypeParam): Likewise.
11940 (setKeyPasswordParam): Likewise
11941 (setKeystorePasswordParam): Likewise.
11942 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11943 create or not the keystore if it's not there, and the second is the store's
11944 password to process before loading the keystore. Amended the code
11946 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11947 setKeyStoreParams(5) with true as its first argument.
11948 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11949 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11951 2006-07-16 Sven de Marothy <sven@physto.se>
11953 * java/util/UUID.java: New file.
11955 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11957 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11958 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11959 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11960 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11961 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11962 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11963 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11964 added Key Wrapping Algorithm SPIs.
11966 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11968 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11969 wrapping/unwrapping to invoke their engineGetOutputSize.
11971 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11973 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11974 (engineInit): If a SecureRandom was specified then use it.
11975 (nextRandomBytes): New method.
11976 (engineWrap): Use above method.
11977 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11978 (getDefaultPRNG): New method.
11979 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11980 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11983 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11985 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11986 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11988 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11990 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11991 offset into consideration.
11993 2006-07-16 Mario Torre <neugens@limasoftware.net>
11995 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11996 Fixed comment. This functions now requires to be called
11997 with gdk lock held, the comment states that.
11998 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11999 Introduces gdk locks around critical regions of code.
12000 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12002 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12004 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12006 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12008 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12010 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12012 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12014 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12016 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12018 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12019 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12021 2006-07-15 Sven de Marothy <sven@physto.se>
12023 * javax/swing/JFileChooser.java
12024 Change default selection mode to FILES_ONLY.
12025 * javax/swing/plaf/basic/BasicDirectoryModel.java
12026 Document, fix selection mode filtering.
12027 (renameFile): Implement
12028 * javax/swing/plaf/basic/BasicFileChooserUI.java
12029 (selectedDir): New field to handle selected directories,
12030 disallow selecting of directories in FILES_ONLY mode.
12031 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12032 (EditingActionListener.actionPerformed):
12033 Stop editing on all actions (e.g. return-key press)
12035 2006-07-15 Mark Wielaard <mark@klomp.org>
12037 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12039 (JNI Implementation): Mark JVMTI Implementation as next.
12040 (JVMTI Implementation): Mark JNI Implementation as prev.
12042 2006-07-15 Mark Wielaard <mark@klomp.org>
12044 * include/Makefile.am: Remove
12045 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12046 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12047 * native/jni/gtk-peer/Makefile.am: Remove
12048 gnu_java_awt_peer_gtk_GdkTextLayout.c
12049 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12052 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12054 2006-07-15 Mark Wielaard <mark@klomp.org>
12056 * autogen.sh: Recognize autoconf 2.60.
12058 2006-07-15 Keith Seitz <keiths@redhat.com>
12060 * NEWS: Update for JVMTI and jvmti.h.
12061 * doc/vmintegration.texinfo: Likewise.
12062 * include/jvmti.h: New file.
12064 2006-07-15 Mark Wielaard <mark@klomp.org>
12066 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12067 Removed C++ style comment.
12069 2006-07-15 Sven de Marothy <sven@physto.se>
12071 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12072 * java/awt/MouseInfo.java,
12073 * java/awt/PointerInfo.java,
12074 * java/awt/peer/MouseInfoPeer.java:
12077 * java/awt/Image.java
12078 (accelerationPriority): New field.
12079 (setAccelerationPriority, getAccelerationPriority): New methods..
12081 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12082 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12083 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12084 (getMouseCoordinates): New method.
12086 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12087 (updateAlwaysOnTop): Remove stub overload.
12089 * gnu/java/awt/ClasspathToolkit.java,
12090 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12091 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12092 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12093 (getMouseInfoPeer): New method.
12094 (getMouseNumberOfButtons): New method.
12096 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12097 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12098 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12099 (gtkWindowSetAlwaysOnTop): New method.
12100 (updateAlwaysOnTop): Implement.
12102 * java/awt/Toolkit.java,
12103 (getMouseInfoPeer): New method.
12105 * java/awt/Window.java
12106 (alwaysOnTop): New field.
12107 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12109 * java/awt/peer/WindowPeer.java: Doc fix.
12111 2006-07-14 Sven de Marothy <sven@physto.se>
12113 * java/awt/font/TextLayout.java:
12114 (hitTestChar): Stub method.
12115 * java/awt/font/TextMeasurer.java:
12116 (getLayout): Throw exception on invalid argument.
12118 2006-07-14 Sven de Marothy <sven@physto.se>
12120 * java/awt/image/DataBuffer.java
12121 (DataBuffer): Call constructors in the correct order,
12123 2006-07-14 Mark Wielaard <mark@klomp.org>
12125 Revert to previous implementation.
12126 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12127 constraints insets.
12129 2006-07-14 Roman Kennke <kennke@aicas.com>
12131 * gnu/java/awt/peer/x/XToolkit.java
12132 (XToolkit): Install properties to SystemProperties
12133 rather than System, to avoid SecurityManager.
12134 (getImage(String)): Return error image when string is invalid.
12135 (createImage(URL)): Moved image loading to helper method.
12136 (createImage(ImageProducer)): Implemented.
12137 (createImage(byte[],int,int)): Implemented.
12138 (createImage(InputStream)): New helper method.
12140 2006-07-14 Tania Bento <tbento@redhat.com>
12142 * java/awt/FlowLayout.java
12143 (setHgap): No Excpetion should be thrown if hgap has
12145 (setVgap): No Exception should be thrown if vgap has
12148 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12150 * java/awt/image/MultiPixelPackedSampleModel.java:
12151 Added API docs all over.
12153 2006-07-14 Matt Wringe <mwringe@redhat.com>
12155 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12156 (engineInit): Throw InvalidAlgorithmParameterException
12157 for invalid IVParameterSpec IV length.
12159 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12161 * java/awt/image/MultiPixelPackedSampleModel.java
12162 (createDataBuffer): Include dataBitOffset in calculating the size for
12165 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12167 * java/awt/image/MultiPixelPackedSampleModel.java
12168 (getSampleSize()): Return a copy of the array,
12169 (getTransferType()): New method override.
12171 2006-07-14 Roman Kennke <kennke@aicas.com>
12173 * java/awt/CardLayout.java
12174 (show): Validate parent to make sure that the layout is
12177 2006-07-14 Roman Kennke <kennke@aicas.com>
12179 * java/awt/Component.java
12180 (enable): Added tree locking.
12181 (disable): Added tree locking.
12182 (show): Added tree locking.
12183 (hide): Added tree locking.
12184 (getLocationOnScreen): Added tree locking.
12185 (reshape): Added tree locking.
12186 (addHierarchyListener): Added tree locking.
12187 (removeHierarchyListener): Added tree locking.
12188 (addHierarchyBoundsListener): Added tree locking.
12189 (removeHierarchyBoundsListener): Added tree locking.
12190 (addNotify): Added tree locking.
12191 (removeNotify): Added tree locking.
12192 * java/awt/Container.java
12193 (invalidateTree): Added tree locking.
12194 (getAlignmentX): Added tree locking.
12195 (getAlignmentY): Added tree locking.
12196 (addNotify): Added tree locking.
12197 (setComponentZOrder): Added tree locking.
12198 (getComponentZOrder): Added tree locking.
12200 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12202 * java/awt/image/MultiPixelPackedSampleModel.java
12203 (createSubsetSampleModel): Restored argument check, but let null
12206 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12208 * java/awt/image/MultiPixelPackedSampleModel.java
12209 (createSubsetSampleModel): Removed argument check.
12211 2006-07-14 Roman Kennke <kennke@aicas.com>
12213 * java/awt/Component.java
12214 (numHierarchyListeners): New field.
12215 (numHierarchyBoundsListeners): New field.
12216 (show): Fire hierarchy events here. Only fire component event
12217 if there is actually a listener for it.
12218 (hide): Fire hierarchy events here. Only fire component event
12219 if there is actually a listener for it.
12220 (reshape): Fire hierarchy events here. Only fire component event
12221 if there is actually a listener for it.
12222 (addHierarchyListeners): Update listener counters.
12223 (removeHierarchyListeners): Update listener counters.
12224 (addHierarchyBoundsListeners): Update listener counters.
12225 (removeHierarchyBoundsListeners): Update listener counters.
12226 (fireHierarchyEvent): New helper method for firing hierarchy
12228 * java/awt/Container.java
12229 (addImpl): Update listener counters. Fire hierarchy event.
12230 (remove): Update listener counters. Fire hierarchy event.
12231 (fireHierarchyEvent): New helper method for firing hierarchy
12233 (updateHierarchyListenerCount): New helper method for
12234 updating the listener counters.
12236 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12238 * java/awt/image/MultiPixelPackedSampleModel.java
12239 (equals): New method override,
12240 (hashCode): Likewise.
12242 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12244 * java/awt/image/MultiPixelPackedSampleModel.java
12245 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12246 Corrected scanlineStride calculation.
12248 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12250 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12251 (AES_KWA): Likewise.
12252 (AES128_KWA): Likewise.
12253 (AES192_KWA): Likewise.
12254 (AES256_KWA): Likewise.
12255 (RIJNDAEL_KWA): Likewise.
12256 (TRIPLEDES_KWA): Likewise.
12257 (DESEDE_KWA): Likewise.
12258 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12259 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12260 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12261 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12262 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12263 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12265 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12267 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12268 (PADDING_BLOCK_SIZE): New constant.
12269 (init(Map attributes)): New method.
12270 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12272 2006-07-14 Mario Torre <neugens@limasoftware.net>
12274 * gnu/java/security/OID.java (OID): Private Constructor removed as
12275 it is not needed anymore.
12276 (clone): Fixed. Now uses super.clone instead of the private
12277 constructor as per specification of clone method.
12278 (serialVersionUID): added new field to allow serialization.
12280 2006-07-13 Sven de Marothy <sven@physto.se>
12282 * gnu/javax/imageio/gif/GIFImageReader.java
12283 (read): Remove old debugging trace.
12285 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12288 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12291 2006-07-13 Roman Kennke <kennke@aicas.com>
12293 * java/awt/Component.java
12294 (DEFAULT_MAX_SIZE): New static constant.
12295 (preferredSize): Return copy of the actual value computed
12296 by new helper method.
12297 (preferredSizeImpl): New helper method. Adds locking and
12298 correct handling of cached value.
12299 (minimumSize): Return copy of the actual value computed
12300 by new helper method.
12301 (minimumSizeImpl): New helper method. Adds locking and
12302 correct handling of cached value.
12303 (getMaximumSize): Return copy of the actual value computed
12304 by new helper method.
12305 (maximumSizeImpl): New helper method. Adds locking and
12306 correct handling of cached value.
12307 (invalidate): Correct handling of cached layout information.
12309 * java/awt/Container.java
12310 (preferredSize): Minimized locking. Corrected handling of cached
12311 values. Return copy of real value.
12312 (minimumSize): Minimized locking. Corrected handling of cached
12313 values. Return copy of real value.
12314 (getMaximumSize): Minimized locking. Corrected handling of cached
12315 values. Return copy of real value.
12317 2006-07-13 Tania Bento <tbento@redhat.com>
12319 * gnu/java/awt/peer/ClasspathFontPeer.java
12320 (isLogicalFontName): Return true if name == default.
12321 (logicalFontNameToFaceName): Check if name == default,
12322 and if so, return "Dialog.plain".
12323 (setStandardAttributes(String, Map)): If name == null,
12324 it should be set to "Default", not "SansSerif".
12325 * java/awt/Canvas.java
12326 (generateName): Fixed documentation.
12327 * java/awt/CheckboxMenuItem.java
12328 Added static variable "next_chkmenuitem_number".
12329 (generateName): Added and implemented method.
12330 (getUniqueLong): Likewise.
12331 * java/awt/Choice.java
12332 Added static variable "next_choice_number".
12333 (generateName): Added and implemented method.
12334 (getUniqueLong): Likewise.
12335 * java/awt/Cursor.java
12336 (Cursor(int)): Set name depending on the type passed.
12337 * java/awt/List.java
12338 Added static variable "next_list_number".
12339 (generateName): Added and implemented method.
12340 (getUniqueLong): Likewise.
12341 * java/awt/Menu.java
12342 Added static variable "next_menu_number".
12343 (generateName): Added and implemented method.
12344 (getUniqueLong): Likewise.
12345 * java/awt/MenuBar.java
12346 Added static variable "next_menubar_number".
12347 (generateName): Added and implemented method.
12348 (getUniqueLong): Likewise.
12349 * java/awt/MenuComponent.java
12350 (getName): Before returning name, check if name == null
12351 and name is not explicity set. If this is the case,
12352 name will be generated.
12353 (generateName): Added and implemented method.
12354 * java/awt/MenuItem.java
12355 Added static variable "next_menuitem_number".
12356 (generateName): Added and implemented method.
12357 (getUniqueLong): Likewise.
12358 * java/awt/PopupMenu.java
12359 Added static variable "next_popup_number".
12360 (generateName): Added and implemented method.
12361 (getUniqueLong): Likewise.
12362 * java/awt/ScrollPane.java
12363 Added static variable "next_scrollpane_number".
12364 (generateName): Added and implemented method.
12365 (getUniqueLong): Likewise.
12366 * java/awt/TextField.java
12367 Added static variable "next_textfield_number".
12368 (generateName): Added and implemented method.
12369 (getUniqueLong): Likewise.
12372 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12374 * java/awt/image/SinglePixelPackedSampleModel.java
12375 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12376 mask correctly as an unsigned integer,
12377 (equals): New method override.
12379 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12381 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12382 insertAfterStart, insertBeforeEnd): Removed stub markings.
12384 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12386 * java/awt/image/BandedSampleModel.java: API doc updates and source
12388 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12390 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12392 * java/awt/image/BandedSampleModel.java: API doc updates.
12394 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12396 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12397 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12398 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12399 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12400 (HRMLReader.blockClose): Mind that parser stack may be empty.
12401 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12402 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12403 (HTMLReader.shouldInsert): New method. (getElement(String)):
12404 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12405 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12406 Implemented. (getInsertingReader): New method.
12407 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12408 Added buttons to demonstrate the work of the insert actions.
12410 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12412 * java/awt/image/SampleModel.java: API doc updates and additions,
12413 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12415 2006-07-12 Sven de Marothy <sven@physto.se>
12417 * javax/swing/JFileChooser.java:
12418 (createDialog): Close operation should cause a cancel.
12420 2006-07-12 Francis Kung <fkung@redhat.com>
12422 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12423 (cairoArc): New native method.
12424 (cairoRestore): New native method.
12425 (cairoSave): New native method.
12426 (cairoScale): New native method.
12427 (createPath): New method to centralize code from draw and fill.
12428 (draw): Modified to use createPath method.
12429 (fill): Modified to use createPath method.
12430 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12431 function declarations.
12432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12433 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12435 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12437 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12440 2006-07-12 Tom Tromey <tromey@redhat.com>
12443 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12444 on PartialInputStream.
12445 (PartialInputStream.dummyByteCount): New field.
12446 (PartialInputStream.fillBuffer): Handle dummy byte.
12447 (PartialInputStream.read): Likewise.
12448 (PartialInputStream.addDummyByte): New method.
12450 2006-07-12 Mario Torre <neugens@limasoftware.net>
12452 * native/jni/gconf-peer/GConfNativePeer.c
12453 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12454 Fixed C++ style comment.
12456 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12458 * java/util/Arrays.java
12459 (asList): Updated API docs.
12461 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12464 * native/jni/gconf-peer/GConfNativePeer.c:
12465 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12466 Changed if-expression.
12467 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12468 Added check for _value not being NULL.
12470 2006-07-11 Roman Kennke <kennke@aicas.com>
12472 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12473 (read): Use fd when local sockets are disabled to make the
12477 2006-07-11 Roman Kennke <kennke@aicas.com>
12479 * java/awt/image/MultiPixelPackedSampleModel.java
12480 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12481 division gets rounded up.
12483 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12485 * java/lang/management/ManageFactory.java:
12486 (getMemoryManagerMXBeans()): Use addAll, not add.
12488 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12491 * gnu/classpath/ByteArray.java: Removed (moved).
12492 * gnu/java/security/util/ByteArray.java: New File.
12493 * gnu/javax/crypto/RSACipherImpl.java: Reference
12494 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12496 2006-07-11 Roman Kennke <kennke@aicas.com>
12498 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12499 (available): Pass fd as argument and avoid JNI class/field
12503 * include/gnu_java_net_local_LocalSocketImpl.h:
12505 * gnu/java/net/local/LocalSocketImpl.h
12506 (available): Pass fd as argument and avoid JNI class/field
12511 2006-07-11 Sven de Marothy <sven@physto.se>
12513 * gnu/javax/sound/sampled/AU/AUReader.java:
12514 Correct file extension from .as to .au.
12516 2006-07-11 Sven de Marothy <sven@physto.se>
12518 * gnu/javax/sound/sampled/AU/AUReader.java:
12520 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12521 Added new provider.
12523 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12525 * javax/swing/JTable.java
12526 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12527 (setColumnSelectionAllowed): Likewise.
12529 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12532 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12533 AccessController.doPrivileged instead of SystemProperties.getProperty.
12534 * gnu/classpath/debug/SystemLogger.java: Likewise.
12535 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12536 repeated getProperty calls for "file.seperator".
12537 (refresh): Since already in privileged block, call System.getProperty
12538 instead of SystemProperties.getProperty.
12539 * gnu/java/security/key/dss/DSSKey.java
12540 (toString): Use AccessController.doPrivileged instead of
12541 SystemProperties.getProperty.
12542 * gnu/java/security/key/dss/DSSPrivateKey.java
12543 (toString): Likewise.
12544 * gnu/java/security/key/dss/DSSPublicKey.java
12545 (toString): Likewise.
12546 * gnu/java/security/key/rsa/GnuRSAKey.java
12547 (toString): Likewise.
12548 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12549 (toString): Likewise.
12550 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12551 (toString): Likewise.
12552 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12553 * gnu/javax/crypto/key/dh/GnuDHKey.java
12554 (toString): Likewise.
12555 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12556 (toString): Likewise.
12557 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12558 (toString): Likewise.
12560 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12562 * javax/swing/AbstractButton.java
12563 (disabledIcon): Fixed name (was 'disabeldIcon'),
12564 (getDisabledIcon): Updated for corrected field name,
12565 (setDisabledIcon): Fire a PropertyChangeEvent.
12567 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12569 * javax/swing/DefaultBoundedRangeModel.java
12570 (readObject): New private method,
12571 (writeObject): Likewise.
12573 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12575 * javax/swing/ButtonGroup.java
12576 (add): Ignore null argument,
12577 (remove): Ignore null argument. If removing selected button, clear the
12579 (findButton): Changed case for method name, and documented,
12580 (setSelected): Updated for modification to findButton() method name,
12581 (isSelected): Updated API docs.
12583 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12585 * java/awt/image/BufferedImage.java
12586 (BufferedImage(int, int, int)): Use correct color space for
12587 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12588 IllegalArgumentException for an unrecognised type.
12590 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12592 * java/lang/management/ManagementFactory.java:
12593 (getMemoryPoolMXBeans): Genericized fully.
12594 (getMemoryManagerMXBeans): Likewise.
12595 (getGarbageCollectorMXBeans): Likewise.
12597 2006-07-10 Tom Tromey <tromey@redhat.com>
12599 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12601 (getMemoryManagerMXBeans): Likewise.
12602 (getGarbageCollectorMXBeans): Likewise.
12604 2006-07-10 Mario Torre <neugens@limasoftware.net>
12606 * java/awt/BasicStroke.java: Removed unused import.
12607 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12608 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12609 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12611 2006-07-10 Matt Wringe <mwringe@redhat.com>
12613 PR classpath/28212:
12614 * javax/crypto/spec/SecretKeySpec.java
12615 (equals): Check object type.
12617 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12619 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12620 communication/StructureToPassHelper.java,
12621 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12622 communication/StructureToReturnHelper.java,
12623 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12624 communication/TreeNodeHelper.java,
12625 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12626 communication/WeThrowThisExceptionHelper.java,
12627 gnu/CORBA/ForwardRequestHelper.java,
12628 org/omg/CORBA/CompletionStatusHelper.java,
12629 org/omg/CORBA/CurrentHelper.java,
12630 org/omg/CORBA/DefinitionKindHelper.java,
12631 org/omg/CORBA/IDLTypeHelper.java,
12632 org/omg/CORBA/NameValuePairHelper.java,
12633 org/omg/CORBA/ObjectHelper.java,
12634 org/omg/CORBA/ParameterModeHelper.java,
12635 org/omg/CORBA/PolicyErrorCodeHelper.java,
12636 org/omg/CORBA/PolicyErrorHelper.java,
12637 org/omg/CORBA/PolicyHelper.java,
12638 org/omg/CORBA/PolicyListHelper.java,
12639 org/omg/CORBA/PolicyTypeHelper.java,
12640 org/omg/CORBA/ServiceDetailHelper.java,
12641 org/omg/CORBA/ServiceInformationHelper.java,
12642 org/omg/CORBA/SetOverrideTypeHelper.java,
12643 org/omg/CORBA/StringValueHelper.java,
12644 org/omg/CORBA/UnionMemberHelper.java,
12645 org/omg/CORBA/UnknownUserExceptionHelper.java,
12646 org/omg/CORBA/VisibilityHelper.java,
12647 org/omg/CORBA/WStringValueHelper.java,
12648 org/omg/CORBA/WrongTransactionHelper.java,
12649 org/omg/CosNaming/BindingHelper.java,
12650 org/omg/CosNaming/BindingIteratorHelper.java,
12651 org/omg/CosNaming/BindingListHelper.java,
12652 org/omg/CosNaming/BindingTypeHelper.java,
12653 org/omg/CosNaming/NameComponentHelper.java,
12654 org/omg/CosNaming/NameHelper.java,
12655 org/omg/CosNaming/NamingContextExtHelper.java,
12656 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12657 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12658 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12659 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12660 org/omg/CosNaming/NamingContextHelper.java,
12661 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12662 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12663 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12664 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12665 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12666 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12667 org/omg/DynamicAny/AnySeqHelper.java,
12668 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12669 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12670 org/omg/DynamicAny/DynAnyHelper.java,
12671 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12672 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12673 org/omg/DynamicAny/DynAnySeqHelper.java,
12674 org/omg/DynamicAny/DynArrayHelper.java,
12675 org/omg/DynamicAny/DynEnumHelper.java,
12676 org/omg/DynamicAny/DynFixedHelper.java,
12677 org/omg/DynamicAny/DynSequenceHelper.java,
12678 org/omg/DynamicAny/DynStructHelper.java,
12679 org/omg/DynamicAny/DynUnionHelper.java,
12680 org/omg/DynamicAny/DynValueHelper.java,
12681 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12682 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12683 org/omg/DynamicAny/NameValuePairHelper.java,
12684 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12685 org/omg/IOP/CodecFactoryHelper.java,
12686 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12687 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12688 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12689 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12690 org/omg/IOP/ComponentIdHelper.java,
12691 org/omg/IOP/IORHelper.java,
12692 org/omg/IOP/MultipleComponentProfileHelper.java,
12693 org/omg/IOP/ProfileIdHelper.java,
12694 org/omg/IOP/ServiceContextHelper.java,
12695 org/omg/IOP/ServiceContextListHelper.java,
12696 org/omg/IOP/ServiceIdHelper.java,
12697 org/omg/IOP/TaggedComponentHelper.java,
12698 org/omg/IOP/TaggedProfileHelper.java,
12699 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12700 org/omg/PortableInterceptor/AdapterNameHelper.java,
12701 org/omg/PortableInterceptor/AdapterStateHelper.java,
12702 org/omg/PortableInterceptor/CurrentHelper.java,
12703 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12704 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12705 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12706 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12707 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12708 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12709 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12710 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12711 org/omg/PortableServer/CurrentHelper.java,
12712 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12713 org/omg/PortableServer/ForwardRequestHelper.java,
12714 org/omg/PortableServer/POAHelper.java,
12715 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12716 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12717 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12718 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12719 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12720 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12721 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12722 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12723 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12724 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12725 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12726 org/omg/PortableServer/ServantActivatorHelper.java,
12727 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12728 typecode caching and always use OrbRestricted.Singleton.
12730 2006-07-09 Tom Tromey <tromey@redhat.com>
12732 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12734 2006-07-09 Mark Wielaard <mark@klomp.org>
12736 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12737 New static final boolean field.
12738 (getComponentGraphics): Use hasXRenderExtension.
12739 (setClip): Override method for locking.
12741 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12743 * javax/swing/AbstractButton.java
12744 (setHorizontalTextPosition): Added check for illegal argument,
12745 (setVerticalTextPosition): Likewise.
12747 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12749 * javax/swing/Timer.java
12750 (setDelay): Throw IllegalArgumentException for negative delay,
12751 (setInitialDelay): Likewise,
12752 * javax/swing/ToolTipManager.java
12753 (setInitialDelay): Document IllegalArgumentException,
12754 (setDismissDelay): Likewise,
12755 (setReshowDelay): Likewise.
12757 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12759 * java/lang/management/MemoryUsage.java:
12760 (from(javax.management.openmbean.CompositeData)):
12762 * java/lang/management/ThreadInfo.java:
12763 Changed to use open types throughout for the state.
12764 (ThreadInfo(long,String,String,long,long,String,
12765 long,String,long,long,boolean,StackTraceElement[])):
12767 (checkAttribute(javax.management.openmbean.CompositeType,
12768 String, javax.management.openmbean.OpenType)): New method.
12769 (from(javax.management.openmbean.CompositeData)):
12771 (getLockName()): Fixed to use new variable.
12772 (getLockOwnerId()): Likewise.
12773 (getLockOwnerName()): Likewise.
12774 (getThreadId()): Likewise.
12775 (getThreadName()): Likewise.
12776 (getThreadState()): Likewise.
12777 (toString()): Refactored to use new variables.
12778 * javax/management/openmbean/ArrayType.java:
12780 * javax/management/openmbean/CompositeType.java:
12781 Variables should be transient, not volatile.
12782 * javax/management/openmbean/OpenDataException.java:
12783 (serialVersionUID): Added.
12784 * javax/management/openmbean/SimpleType.java:
12786 * javax/management/openmbean/TabularType.java
12787 Variables should be transient, not volatile.
12789 2006-07-09 Tom Tromey <tromey@redhat.com>
12791 * tools/.cvsignore: Updated for new tools.
12793 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12795 * javax/management/openmbean/CompositeData.java,
12796 * javax/management/openmbean/CompositeType.java,
12797 * javax/management/openmbean/OpenDataException.java,
12798 * javax/management/openmbean/OpenType.java,
12799 * javax/management/openmbean/TabularData.java,
12800 * javax/management/openmbean/TabularType.java,
12801 * javax/management/openmbean/package.html:
12804 2006-07-09 Mark Wielaard <mark@klomp.org>
12806 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12807 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12808 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12810 2006-07-08 Anthony Green <green@redhat.com>
12812 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12813 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12816 2006-07-09 Mario Torre <neugens@limasoftware.net>
12818 * native/jni/gconf-peer/GConfNativePeer.c:
12819 Fixed indentation to be more compliant to the GNU coding
12821 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12822 Added explicit test for errors in the GConf backend.
12823 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12824 Added explicit test for errors in the GConf backend.
12825 Fixed Segmentation Fault when non valid key names are given as input.
12826 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12828 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12829 Added explicit test for errors in the GConf backend.
12830 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12831 Added javadoc comments for all native methods.
12832 (nodeExist): removed test to check for valid absolute path name
12834 (startWatchingNode): likewise.
12835 (stopWatchingNode): likewise.
12836 (setString): likewise, plus fixed javadoc comments.
12837 (unset): likekwise.
12838 (getKey): likewise.
12839 (getKeys): likewise, also fixed javadoc comments.
12840 (getChildrenNodes): likewise.
12841 * gnu/java/util/prefs/GConfBasedPreferences.java:
12842 changed DEFAULT_USER_ROOT to /apps/classpath.
12843 (constructor): Test to check for a valid absolute path for nodes
12844 is now in the contructor for that node, instead of being on
12845 each method of the backend.
12846 (getGConfKey): removed empty new line.
12848 2006-07-08 Mark Wielaard <mark@klomp.org>
12850 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12852 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12854 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12855 Handle the forced break in the same way as exceeding the
12856 available row space.
12857 * javax/swing/text/html/HRuleView.java: Rewritten.
12858 * javax/swing/text/html/HTMLDocument.java
12859 (HTMLReader.addSpecialElement):Reserve two characters for
12860 the special elements.
12861 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12862 (text): Extended the HTML example to parse.
12864 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12866 * javax/swing/AbstractButton.java
12867 (setHorizontalAlignment): Check for illegal argument,
12868 (setVerticalAlignment): Likewise.
12870 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12872 * javax/swing/text/html/TableView.java
12873 (getStyleSheet): New method. (RowView.getStyleSheet):
12876 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12878 * javax/swing/AbstractButton.java
12879 (setRolloverIcon): Call setRolloverEnabled(true),
12880 (setRolloverSelectedIcon): Likewise.
12882 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12884 * javax/swing/border/TitledBorder.java
12885 (setTitlePosition): Added message to exception,
12886 (setTitleJustification): Likewise.
12888 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12890 * javax/swing/plaf/metal/MetalLookAndFeel.java
12891 (createDefaultTheme): Corrected API docs,
12892 (initComponentDefaults): Added entry for 'TitledBorder.border',
12893 (getCurrentTheme): Initialise theme if it is null.
12895 2006-07-07 Roman Kennke <kennke@aicas.com>
12897 * java/awt/Component.java
12898 (isValid): Return false when component has no peer,
12899 don't query the showing state.
12901 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12903 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12904 Advance the offset also in the case of the enforced break.
12906 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12908 * javax/swing/plaf/basic/BasicArrowButton.java
12909 (MAXIMUM_SIZE): Removed field,
12910 (MINIMUM_SIZE): Likewise,
12911 (PREFERRED_SIZE): Likewise,
12912 (getMaximumSize): Return new instance every time,
12913 (getMinimumSize): Likewise,
12914 (getPreferredSize): Likewise.
12916 2006-07-07 Roman Kennke <kennke@aicas.com>
12918 * java/awt/LightweightDispatcher.java
12919 (findTarget): Avoid array copying in
12920 Container.getComponents().
12922 2006-07-07 Roman Kennke <kennke@aicas.com>
12924 * javax/swing/JComponent.java
12925 (paintChildrenWithOverlap): Avoid array copying in
12926 Container.getComponents().
12927 (paintChildrenOptimized): Avoid array copying in
12928 Container.getComponents().
12929 (fireAncestorEvent): Avoid array copying in
12930 Container.getComponents().
12931 (findOverlapFreeParent): Avoid array copying in
12932 Container.getComponents().
12934 2006-07-07 Matt Wringe <mwringe@redhat.com>
12936 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12937 (passwordValid): New field.
12938 (setPassword): New method.
12939 (setSalt): Likewise.
12940 (setIterationCount): Likewise.
12941 (setKeyLength): Likewise.
12942 (PBEKeySpec(char[])): Use new setter methods.
12943 (PBEKeySpec(char[], byte[], int)): Likewise.
12944 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12945 (clearPassword): Set passwordValid to false.
12946 (getPassword): Check that clearPassword() was not called earlier.
12947 Return a clone of the password.
12948 (getSalt): Return a clone of the salt if it was not null.
12950 2006-07-07 Roman Kennke <kennke@aicas.com>
12952 * java/awt/Component.java
12953 (isValid): Always return false when component is
12955 (setFont): Always set font, even when setting
12956 the same or equal font again.
12958 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12960 * javax/swing/plaf/metal/MetalIconFactory.java
12961 (CheckBoxMenuItemIcon): Implement UIResource,
12962 (FileChooserDetailViewIcon): Likewise,
12963 (FileChooserHomeFolderIcon): Likewise,
12964 (FileChooserListViewIcon): Likewise,
12965 (FileChooserNewFolderIcon): Likewise,
12966 (FileChooserUpFolderIcon): Removed redundant 'implements',
12967 (RadioButtonMenuItemIcon): Implement UIResource,
12968 (HorizontalSliderThumbIcon): Likewise,
12969 (InternalFrameCloseIcon): Likewise,
12970 (InternalFrameDefaultMenuIcon): Likewise,
12971 (InternalFrameAltMaximizeIcon): Likewise,
12972 (InternalFrameMaximizeIcon): Likewise,
12973 (InternalFrameMinimizeIcon): Likewise,
12974 (VerticalSliderThumbIcon): Likewise,
12975 (TreeHardDriveIcon): Likewise,
12976 (TreeFloppyDriveIcon): Likewise,
12977 (TreeComputerIcon): Likewise,
12978 (horizontalSliderThumbIcon): New field,
12979 (verticalSliderThumbIcon): New field,
12980 (getHorizontalSliderThumbIcon): Cache icon,
12981 (getVerticalSliderThumbIcon): Likewise.
12983 2006-07-06 Mark Wielaard <mark@klomp.org>
12985 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12986 (DISTCLEANFILES): Add standard.omit.
12987 (clean-local): Remove Makefile.deps, only remove dirs.
12989 2006-07-06 Roman Kennke <kennke@aicas.com>
12991 * java/awt/Component.java
12992 (setFont): Only invalidate when component is valid.
12993 * java/awt/Container.java
12994 (setLayout): Only invalidate when component is valid.
12996 2006-07-06 Lillian Angel <langel@redhat.com>
12998 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12999 New class not fully implemented.
13000 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13001 New class not fully implemented.
13002 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13003 New class not fully implemented.
13004 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13005 New class not fully implemented.
13006 * nu/java/awt/peer/gtk/GtkToolkit.java:
13008 (createDragSourceContextPeer): Implemented.
13009 (createDragGestureRecognizer): New function to override
13010 java.awt.Toolkit.createDragGestureRecognizer.
13011 * java/awt/dnd/DragSource.java
13012 (NoDragGestureRecognizer): Removed inner class.
13013 (createDragGestureRecognizer): Re-Implemented to
13014 call Toolkit's createDragGestureRecognizer.
13015 (createDefaultDragGestureRecognizer): Re-Implemented to
13016 call Toolkit's createDragGestureRecognizer.
13017 * java/awt/dnd/DropTarget.java
13018 (addNotify): Added check to determine type of peer and call
13020 (removeNotify): Added call to removeDropTarget.
13022 2006-07-06 Tom Tromey <tromey@redhat.com>
13024 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13026 (run): Wait on queue, not 'this'.
13028 2006-07-06 Lillian Angel <langel@redhat.com>
13030 * java/awt/dnd/DragSource.java
13031 (startDrag): Implemented. Added comments describing
13032 what the function should do. Removed FIXME.
13034 2006-07-06 Tania Bento <tbento@redhat.com>
13036 * gnu/java/awt/Canvas.java
13037 Added new private variable 'next_canvas_number'.
13038 (generateName): Added.
13039 (getUniqueLong): Added.
13041 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13043 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13044 (getColor): Made public.
13045 * javax/swing/text/html/StyleSheet.java (stringToColor):
13046 Use CharacterAttributeTranslator.getColor(String)
13048 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13050 * javax/swing/text/html/HTMLEditorKit.java:
13051 (HTMLFactory.createElement): Update reference to the html table view.
13052 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13053 * javax/swing/text/html/TableView.java: New file.
13055 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13057 * javax/swing/text/html/HTMLEditorKit.java:
13058 (HTMLFactory.createElement): Uncomment
13059 code for BRView and HRuleView.
13060 * javax/swing/text/html/BRView.java,
13061 javax/swing/text/html/HRuleView.java: New files.
13063 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13065 * java/lang/Thread.java:
13066 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13067 Added generic type signature.
13069 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13072 * doc/vmintegration.texinfo: Likewise.
13073 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13074 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13075 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13076 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13077 * java/lang/management/GarbageCollectorMXBean.java:
13079 * java/lang/management/ManagementFactory.java:
13080 (getGarbageCollectorMXBeans()): Implemented.
13081 (getMemoryManagerMXBeans()): Likewise.
13082 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13083 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13085 * vm/reference/java/lang/management/VMManagementFactory.java:
13086 (getMemoryManagerNames()): Added.
13087 (getGarbageCollectorNames()): Added.
13089 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13091 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13092 from lib_LTLIBRARIES.
13093 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13095 2006-07-05 Lillian Angel <langel@redhat.com>
13097 * java/awt/dnd/DragGestureEvent.java:
13099 (DragGestureEvent): Initialized new fields, added to check and
13100 added documentation.
13101 (getSourceAsDragGestureRecognizer): Added documentation and
13102 changed to use getSource.
13103 (getComponent): Added documentation and fixed to return the proper
13105 (getDragSource): Likewise.
13106 (getDragOrigin): Added documentation.
13107 (iterator): Implemented and added documentation.
13108 (toArray): Likewise.
13109 (toArray): Likewise.
13110 (getDragAction): Likewise.
13111 (getTriggerEvent): Likewise.
13112 (startDrag): Likewise.
13113 * java/awt/dnd/DragGestureRecognizer.java
13114 (resetRecognizer): Added FIXME.
13115 * java/awt/dnd/DragSource.java:
13117 (DragSource): Set ds to be null if headless.
13118 (getDefaultDragSource): Added documentation and implemented.
13119 (isDragImageSupported): Marked as unimplemented.
13120 (startDrag): Likewise.
13121 (createDragSourceContext): Implemented.
13122 (NoDragGestureRecognizer): Formatted inner class.
13123 * java/awt/dnd/DropTarget.java
13124 (stop): Marked as unimplemented.
13125 (actionPerformed): Likewise.
13126 (addDropTargetListener): Added code to throw exception.
13127 (removeDropTargetListener): Added check, removed FIXME.
13128 (dragEnter): Implemented.
13129 (dragOver): Implemented.
13130 (dropActionChanged): Implemented.
13131 (dragExit): Implemented.
13132 (drop): Implemented.
13133 (addNotify): Implemented.
13134 (removeNotify): Implemented.
13135 (createDropTargetContext): Implemented.
13136 (createDropTargetAutoScroller): Implemented.
13137 (initializeAutoscrolling): Implemented.
13138 (updateAutoscroll): Implemented.
13139 (clearAutoscroll): Implemented.
13140 * java/awt/dnd/DropTargetContext.java
13141 (dropComplete): Implemented.
13142 (acceptDrag): Implemented.
13143 (rejectDrag): Implemented.
13144 (acceptDrop): Implemented.
13145 (rejectDrop): Implemented.
13146 (getCurrentDataFlavors): Implemented.
13147 (getTransferable): Partially implemented.
13148 * java/awt/dnd/DropTargetDragEvent.java
13149 (getDropAction): Uncommented correct code.
13150 * java/awt/dnd/DropTargetDropEvent.java
13151 (dropComplete) :Implemented.
13152 * java/awt/dnd/InvalidDnDOperationException.java
13153 (InvalidDnDOperationException): Added call to super.
13155 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13157 * javax/swing/plaf/basic/BasicArrowButton.java:
13158 (paint): Removed getBounds() call, changed center point
13161 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13163 * javax/swing/InputMap.java
13164 (inputMap): Don't initialize yet,
13165 (InputMap): Removed TODO,
13166 (get): Check for null inputMap,
13167 (put): Return immediately for null keyStroke, check for null inputMap
13168 and initialize if necessary,
13169 (remove): Check for null inputMap,
13173 (allKeys): Likewise,
13174 (writeObject): Removed,
13175 (readObject): Removed.
13177 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13179 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13180 (createContent): Use different labels for buttons.
13182 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13185 * doc/vmintegration.texinfo: Likewise.
13186 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13187 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13189 * java/lang/management/ManagementFactory.java:
13190 (getMemoryPoolMXBeans()): Implemented.
13191 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13192 * vm/reference/java/lang/management/VMManagementFactory.java:
13195 2006-07-04 Lillian Angel <langel@redhat.com>
13197 * java/awt/dnd/DragSourceContext.java:
13198 Removed FIXMEs from fields.
13199 (DragSourceContext): Added code to initialize cursor and sourceActions.
13200 (getDragSource): Added documentation.
13201 (getComponent): Likewise.
13202 (getTrigger): Likewise.
13203 (getSourceActions): Added documentation and implemented.
13204 (setCursor): Implemented. Added documentation.
13205 (getCursor): Implemented. Added documentation.
13206 (dragEnter): Added code to notify DragSource's listeners.
13207 (dragOver): Likewise.
13208 (dragExit): Likewise.
13209 (dropActionChanged): Likewise.
13210 (dragDropEnd): Likewise.
13211 (dragMouseMoved): Implemented.
13212 (getTransferable): Added API documentation.
13213 (updateCurrentCursor): Added API documentation and partially implemented.
13215 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13217 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13219 2006-07-04 Lillian Angel <langel@redhat.com>
13221 * java/awt/dnd/DragSourceContext.java
13222 (DragSourceContext): Implemented fully. Fixed API docs.
13223 (transferablesFlavorsChanged): Implemented.
13224 (dragEnter): Implemented.
13225 (dragOver): Implemented.
13226 (dragExit): Implemented.
13227 (dropActionChanged): Implemented.
13228 (dragDropEnd): Implemented.
13230 2006-07-04 Lillian Angel <langel@redhat.com>
13232 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13233 Fixed name of constant.
13234 (getIconWidth): Changed name of constant returned.
13235 (getIconHeight): Likewise.
13237 (createSeparator): Marked as unimplemented.
13238 * javax/swing/plaf/basic/BasicTableUI.java
13239 (focusGained): Marked as unimplemented.
13240 (focusLost): Marked as unimplemented.
13241 (mouseEntered): Likewise.
13242 (mouseMoved): Likewise.
13243 (uninstallDefaults): Likewise.
13244 * javax/swing/plaf/basic/BasicToolBarUI.java
13245 (mouseClicked): Changed comment.
13246 (mouseEntered): Likewise.
13247 (mouseExited): Likewise.
13248 (mouseMoved): Likewise.
13249 (setOrientation): Implemented.
13250 (ToolBarFocusListener): Marked as unimplemented.
13251 (focusGained): Marked as unimplemented.
13252 (focusLost): Marked as unimplemented.
13254 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13257 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13258 Mind the effect of the root visibility on the position of the control.
13259 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13260 vertical line over first level nodes.
13262 2006-07-04 Lillian Angel <langel@redhat.com>
13264 * javax/swing/plaf/basic/BasicMenuUI.java
13265 (installKeyboardActions): Implemented to call super. Nothing else
13266 needs to be done here.
13267 (setupPostTimer): Marked as unimplemented.
13268 (uninstallKeyboardActions): Implemented to call super. Nothing else
13269 needs to be done here.
13270 (mouseMoved): Removed TODO. Nothing to be done here.
13271 (ChangeHandler): Implemented.
13272 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13273 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13274 (menuKeyReleased): Removed TODO. Nothing to be done here.
13275 (menuKeyTyped): Marked as unimplemented.
13277 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13280 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13281 (getDefaults): Set hash color to black.
13282 * javax/swing/plaf/basic/BasicLookAndFeel.java
13283 (initComponentDefaults): Set hash color to grey blue.
13284 * javax/swing/plaf/basic/BasicTreeUI.java
13285 (instellDefaults): Set hash color.
13286 * javax/swing/plaf/metal/MetalIconFactory.java
13287 (TreeControlIcon.paint): Rewritten.
13289 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13292 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13293 Always cancel the current editing session before doing anything else,
13294 return immediately if this fails.
13295 (TreeHomeAction): Ensure that the lead selection path is visible after
13296 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13297 Likewise. TreeTraverseAction: Likewise.
13299 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13302 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13303 Returned back the code to handle the start of the click-pause-click
13304 editing initiation, explained about this code.
13305 (TreeStartEditingAction): New inner class.
13306 (stopEditingInCompleteEditing): Explained about this field.
13307 (completeEditing(boolean, boolean, boolean): Only return early
13308 if there is no current editing session.
13309 (createDefaultActions): Install TreeStartEditingAction and
13310 TreeCancelEditingAction.
13312 2006-07-04 Mario Torre <neugens@limasoftware.net>
13314 * configure.ac: Added new option --enable-default-preferences-peer
13315 to pass user specified default preference backend.
13316 If the GConf peer is built, GConf become the default backend.
13317 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13319 * lib/Makefile.am: excludes files terminating in 'in' from
13320 the metafiles list.
13321 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13322 from copy into META-INF.
13323 * java/util/prefs/Preferences.java: added two new import
13324 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13325 (getFactory): Now try to check for
13326 a system defined default preference backend before to fall back on
13327 FileBasedPreference.
13329 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13332 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13333 (EXPANDED): Initialise to Boolean.TRUE.
13334 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13335 First configure layout cache and then set the assigned value
13336 as row mapper. Set the root visibility property.
13337 (toggleExpandState): Obtains expansion state from the layout cache.
13339 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13341 * java/lang/management/MemoryPoolMXBean.java:
13344 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13346 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13348 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13350 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13351 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13352 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13353 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13354 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13355 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13356 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13357 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13358 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13359 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13360 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13361 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13362 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13363 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13364 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13365 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13366 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13367 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13368 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13369 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13370 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13371 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13372 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13373 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13374 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13375 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13376 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13377 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13378 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13379 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13380 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13381 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13382 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13383 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13384 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13385 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13386 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13387 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13388 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13389 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13390 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13391 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13392 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13393 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13394 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13395 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13396 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13398 2006-07-02 Anthony Green <green@redhat.com>
13400 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13401 sure that every track written ends with an End Of Track meta
13404 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13406 * java/lang/management/MemoryUsage.java:
13407 (toString()): Fix missing MB for maximum memory usage.
13409 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13412 Updated to include VMCompilationMXBeanImpl.
13413 * doc/vmintegration.texinfo:
13414 Likewise, along with update to VMMemoryMXBeanImpl
13416 * examples/gnu/classpath/examples/management/TestCompilation.java,
13417 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13418 * java/lang/management/CompilationMXBeanImpl.java:
13420 * java/lang/management/ManagementFactory.java:
13421 (getCompilationMXBean()): Implemented.
13422 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13424 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13425 (getHeapMemoryUsage()): Added default implementation.
13427 2006-07-02 Anthony Green <green@redhat.com>
13429 * NEWS: Mention MIDI file reader/writer providers.
13431 2006-07-02 Anthony Green <green@redhat.com>
13433 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13434 gnu/javax/sound/midi/file/MidiFileWriter.java,
13435 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13437 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13440 Updated to include VMMemoryMXBeanImpl.
13441 * doc/vmintegration.texinfo: Likewise.
13442 * examples/gnu/classpath/examples/management/TestMemory.java:
13444 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13445 Remove redundant import.
13446 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13448 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13449 Remove redundant import.
13450 * java/lang/management/ManagementFactory.java:
13451 (getMemoryMXBean()): Implemented.
13452 * java/lang/management/MemoryMXBean.java,
13453 * java/lang/management/MemoryUsage.java:
13455 * java/lang/management/ThreadInfo.java:
13456 (toString()): Updated documentation.
13457 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13460 2006-07-01 Anthony Green <green@redhat.com>
13462 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13463 gnu/javax/sound/midi/file/MidiFileReader.java,
13464 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13465 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13467 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13469 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13470 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13471 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13472 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13473 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13474 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13475 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13477 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13479 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13480 * gnu/javax/crypto/pad/IPad.java: Likewise.
13481 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13482 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13483 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13484 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13485 * gnu/javax/crypto/pad/TBC.java: Likewise.
13486 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13487 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13489 2006-07-01 Anthony Green <green@redhat.com>
13491 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13493 (setMessage): Fix it again, in a different setMessage method.
13495 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13497 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13498 * gnu/javax/crypto/mode/CBC.java: Likewise.
13499 * gnu/javax/crypto/mode/CFB.java: Likewise.
13500 * gnu/javax/crypto/mode/CTR.java: Likewise.
13501 * gnu/javax/crypto/mode/EAX.java: Likewise.
13502 * gnu/javax/crypto/mode/ECB.java: Likewise.
13503 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13504 * gnu/javax/crypto/mode/ICM.java: Likewise.
13505 * gnu/javax/crypto/mode/IMode.java: Likewise.
13506 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13507 * gnu/javax/crypto/mode/OFB.java: Likewise.
13509 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13511 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13512 * gnu/javax/crypto/mac/HMac.java: Likewise.
13513 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13514 * gnu/javax/crypto/mac/IMac.java: Likewise.
13515 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13516 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13517 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13518 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13519 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13520 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13521 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13523 2006-07-01 Anthony Green <green@redhat.com>
13525 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13527 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13529 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13530 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13531 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13532 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13533 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13534 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13535 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13536 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13537 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13538 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13539 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13540 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13541 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13542 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13543 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13544 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13545 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13546 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13547 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13548 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13549 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13550 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13551 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13552 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13554 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13556 * javax/swing/AbstractCellEditor.java: Source code formatting,
13557 * javax/swing/AbstractSpinnerModel.java: Likewise,
13558 * javax/swing/Box.java: Likewise,
13559 * javax/swing/BoxLayout.java: Likewise,
13560 * javax/swing/DefaultListModel.java: Likewise,
13561 * javax/swing/GrayFilter.java: Likewise,
13562 * javax/swing/LookAndFeel.java: Likewise,
13563 * javax/swing/ProgressMonitor.java: Likewise,
13564 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13565 * javax/swing/ScrollPaneLayout.java: Likewise,
13566 * javax/swing/SpringLayout.java: Likewise,
13567 * javax/swing/event/EventListenerList.java: Likewise,
13568 * javax/swing/event/MenuEvent.java: Likewise,
13569 * javax/swing/event/TreeExpansionListener.java: Likewise.
13571 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13574 Mention threading bean and getState().
13575 * doc/vmintegration.texinfo:
13576 Update documentation for threading bean and new
13577 method of VMThread.
13579 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13581 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13582 * examples/gnu/classpath/examples/management/TestOS.java,
13583 * examples/gnu/classpath/examples/management/TestRuntime.java,
13584 * examples/gnu/classpath/examples/management/TestThread.java:
13587 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13589 * java/lang/ThreadGroup.java
13590 (getThreadFromId, getThreadFromIdImpl): New methods.
13592 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13594 * java/lang/Thread.java:
13595 Make thread IDs start from 1 in a more efficient way.
13597 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13599 * java/lang/Thread.java:
13600 Make thread IDs start from 1.
13602 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13604 * gnu/java/lang/management/BeanImpl.java:
13605 New superclass for all bean implementations.
13606 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13607 Extend BeanImpl and call permission code there.
13608 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13610 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13611 Extend BeanImpl and call permission code there.
13612 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13614 * java/lang/management/ManagementFactory.java:
13615 (getThreadMXBean()): Implemented.
13616 * java/lang/management/ThreadInfo.java:
13617 (ThreadInfo(Thread,int)): Replaced...
13618 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13619 boolean, boolean, StackTraceElement[])): with this.
13620 (getBlockedCount()): Refactored to use local variables.
13621 (getBlockedTime()): Likewise.
13622 (getLockName()): Likewise.
13623 (getLockOwnerId()): Likewise.
13624 (getLockOwnerName()): Likewise.
13625 (getStackTrace()): Likewise.
13626 (getWaitedCount()): Likewise.
13627 (getWaitedTime()): Likewise.
13628 (isInNative()): Likewise.
13629 (isSuspended()): Likewise.
13630 (toString()): Changed to use new local variables.
13631 * java/lang/management/ThreadMXBean.java:
13632 (getThreadInfo(long, int)): Corrected documentation.
13633 (getThreadInfo(long[], int)): Likewise.
13634 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13636 * vm/reference/java/lang/management/VMThreadInfo.java:
13639 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13641 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13642 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13643 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13644 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13645 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13646 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13647 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13648 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13649 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13650 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13651 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13652 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13653 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13654 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13655 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13656 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13657 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13658 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13659 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13660 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13661 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13662 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13663 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13664 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13665 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13666 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13667 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13668 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13669 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13670 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13671 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13672 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13674 2006-07-01 Roman Kennke <kennke@aicas.com>
13676 * gnu/java/awt/java2d/AbstractGraphics2D.java
13677 (transform): Make field protected.
13678 (getDestinationRaster): Provide default implementation for
13679 previously abstract method.
13681 2006-06-30 Tania Bento <tbento@redhat.com>
13683 * java/awt/TextArea.java
13684 (TextArea(String, int, int, int)): No longer throws
13685 IllegalArgumentException if rows, columns, or scrollbarVisibility
13686 values are invalid.
13687 (TextArea(String, int, int, int)): If rows or columns are < 0,
13688 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13689 gets set to the default value of 0 (SCROLLBARS_BOTH).
13690 (appendText): Added case when peer = null.
13691 (insertText): Added case when peer == null.
13692 (replaceText): Added case when peer == null.
13693 * java/awt/TextComponent.java
13694 (TextComponent(String)): If text == null, set it to "".
13696 2006-06-30 Lillian Angel <langel@redhat.com>
13698 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13699 (create): Added synchronized block around groupMap.get calls.
13700 (setCheckboxGroup): Likewise.
13702 2006-06-30 Lillian Angel <langel@redhat.com>
13704 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13705 (create): Changed to be non-synchronized.
13706 (setLabel): Likewise.
13707 (setCheckboxGroup): Likewise.
13708 (addToGroupMap): Likewise. Added synchronized block around
13710 (dispose): Changed to be non-synchronized.
13712 2006-06-30 Lillian Angel <langel@redhat.com>
13714 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13715 Changed all return values of native functions to void.
13716 (create): Changed function to be synchronized. Removed
13717 call to put value in groupMap, this is now done from
13719 (setState): Changed function to be synchronized.
13720 (setLabel): Changed function to be synchronized.
13721 (setCheckboxGroup): Changed function to be synchronized. Removed
13722 call to put value in groupMap, this is now done from
13724 (postItemEvent): Changed function to be synchronized.
13725 (addToGroupMap): New function. Called by native code to add
13726 new value to the group.
13727 (dispose): Changed function to be synchronized.
13728 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13730 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13731 (cp_gtk_checkbox_init_jni): Added code to link to
13733 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13734 Changed return value to void. Added call
13735 to java function to set pointer in groupMap.
13736 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13737 changed check to an assert. Also, removed call to set/del pointer.
13738 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13739 Likewise. Also, added check to determine if native_group should be
13741 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13743 2006-06-30 Sven de Marothy <sven@physto.se>
13745 * gnu/java/awt/ClasspathToolkit.java,
13746 * gnu/java/awt/peer/x/XToolkit.java,
13747 * gnu/java/awt/peer/qt/QtToolkit.java,
13748 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13749 Remove ClasspathTextLayoutPeer.
13750 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13751 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13754 2006-06-30 Sven de Marothy <sven@physto.se>
13756 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13757 (drawGlyphVector): Don't draw empty vectors.
13759 2006-06-30 Lillian Angel <langel@redhat.com>
13760 Tom Fitzsimmons <fitzsim@redhat.com>
13762 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13763 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13764 Added current_group, groupMap fields. Added definitions for
13765 new native functions.
13766 (create): Removed FIXME. Added code to create the check button or
13767 radio button when appropriate. Updated groupMap to contain
13768 pointer to the newly created group.
13769 (setCheckboxGroup): Added code to handle all cases. Removing
13770 a button from a group, adding a button to a group, or changing the
13772 (dispose): Changed to call super.
13773 * include/Makefile.am: Removed reference to
13774 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13775 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13776 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13778 * native/jni/gtk-peer/Makefile.am: Removed reference to
13779 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13780 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13782 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13783 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13784 Renamed to checkbox_get_widget.
13785 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13786 Changed to use checkbox_get_widget.
13787 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13789 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13790 Changed to use checkbox_get_widget.
13791 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13793 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13794 New function. Creates checkbutton without a group.
13795 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13796 Creates a radio button in a group, using groupPointer. If groupPointer
13797 is 0, then a new group is created.
13798 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13799 check button to a group, using groupPointer. A radio button is created
13800 in its place. If groupPointer is 0, then a new group is created.
13801 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13802 radio button is removed from the group. A check button is created in
13804 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13805 radio button is moved to a new group.
13807 2006-06-30 Mark Wielaard <mark@klomp.org>
13809 * configure.ac: Move standard.omit creation after dirs are created.
13810 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13811 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13812 (clean-local): Remove standard.omit.
13813 * lib/gen-classlist.sh.in: Use omit file in build dir.
13814 * lib/standard.omit.in: Make exclude regex more explicit.
13816 2006-06-30 Roman Kennke <kennke@aicas.com>
13818 * lib/Makefile.am: Added Escher dir/jar to classpath when
13820 * configure.ac: Moved handling of standard.omit to a place
13821 where it actually gets executed.
13823 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13825 * java/awt/TextComponent.java: Reformatted source code,
13826 * java/awt/TextField.java: Likewise.
13828 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13830 * java/lang/Thread.java:
13831 (getState()): Handle case of no VMThread
13834 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13836 * java/lang/Thread.java,
13837 * java/lang/VMThread.java:
13838 Reverted patch from 2006-06-28.
13840 2006-06-29 Roman Kennke <kennke@aicas.com>
13842 * gnu/java/awt/peer/x/GLGraphics.java,
13843 * gnu/java/awt/peer/x/ImageConverter.java,
13844 * gnu/java/awt/peer/x/KeyboardMapping.java,
13845 * gnu/java/awt/peer/x/XEventPump.java,
13846 * gnu/java/awt/peer/x/XFontPeer.java,
13847 * gnu/java/awt/peer/x/XFontPeer2.java,
13848 * gnu/java/awt/peer/x/XFramePeer.java,
13849 * gnu/java/awt/peer/x/XGraphics.java,
13850 * gnu/java/awt/peer/x/XGraphics2D.java,
13851 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13852 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13853 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13854 * gnu/java/awt/peer/x/XImage.java,
13855 * gnu/java/awt/peer/x/XLightweightPeer.java,
13856 * gnu/java/awt/peer/x/XToolkit.java,
13857 * gnu/java/awt/peer/x/XWindowPeer.java,
13858 * gnu/java/awt/peer/x/fonts.properties: New files.
13859 * lib/standard.omit: Removed.
13860 * lib/standard.omit.in: Added.
13861 * configure.ac: Added configure option --with-escher. Added some
13862 configury for omitting gnu.java.awt.peer.x package when
13863 this option is not specified.
13865 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13867 * javax/swing/JComponent.java
13868 (JComponent()): Initialize the locale here, not the default locale,
13869 (getDefaultLocale): If null, return Locale.getDefault(),
13870 (setDefaultLocale): Added API docs.
13872 2006-06-29 Tania Bento <tbento@redhat.com>
13874 * java/awt/Container.java
13875 (applyComponentOrientation): Implemented method.
13877 2006-06-29 Gary Benson <gbenson@redhat.com>
13879 * java/io/File.java (listRoots): Merge security checks from libgcj.
13881 2006-06-29 Gary Benson <gbenson@redhat.com>
13883 * java/io/FilePermission.java (implies): Work when path is "/".
13885 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13887 * java/lang/Thread.java:
13888 (Thread(ThreadGroup,Runnable,String,long)): Update
13890 (Thread(VMThread,String,int,boolean)): Likewise.
13891 (join(long,int)): Likewise.
13892 (resume()): Likewise.
13893 (sleep(long,int)): Likewise.
13894 (start()): Likewise.
13895 (stop()): Likewise.
13896 (suspend()): Likewise.
13898 (getState()): Return either state or use VMThread.
13899 * java/lang/VMThread.java:
13900 (getState()): Added default implementation to return
13903 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13905 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13906 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13907 endian swapping code.
13909 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13910 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13911 without alpha information correctly on big endian systems.
13913 2006-06-28 Roman Kennke <kennke@aicas.com>
13915 * gnu/java/net/local/LocalSocket.java
13916 (setSoTimeout): Don't throw exception and ignore request.
13917 (getSoTimeout): Don't throw exception and always return 0.
13919 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13921 * javax/swing/JComponent.java
13922 (getRegisteredKeyStrokes): Implemented.
13924 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13926 * javax/swing/JComponent.java
13927 (verifyInputWhenFocusTarget): Initialise to true.
13929 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13931 * java/beans/VetoableChangeSupport.java
13932 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13934 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13935 for null property name and/or listener,
13936 * javax/swing/JComponent.java
13937 (getListeners): Handle VetoableChangeListener.class as a special case,
13938 (getVetoableChangeListeners): Fetch these from the
13939 vetoableChangeSupport object.
13941 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13943 * javax/swing/JComponent.java
13944 (componentPopupMenu): New field,
13945 (inheritsPopupMenu): New field,
13946 (getInheritsPopupMenu): Implemented,
13947 (setInheritsPopupMenu): Likewise,
13948 (getComponentPopupMenu): Likewise,
13949 (setComponentPopupMenu): Likewise,
13950 * javax/swing/JLabel.java
13951 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13953 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
13955 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13956 (toString): New method.
13957 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13958 (toString): New method.
13959 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13960 (toString): New method.
13961 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13962 Handle case when Q is null.
13963 (decodePrivateKey): Likewise.
13964 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13966 (decodePublicKey): Likewise.
13967 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13968 aliases for all block ciphers.
13969 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13970 (engineDoPhase): Compute fully the shared secret.
13971 (checkState): New method.
13973 (engineGenerateSecret()): Reset key-agreement before returning.
13974 (engineGenerateSecret(byte[],int)): Check for short-buffer.
13975 Reset key-agreement before returning.
13976 (engineGenerateSecret(String)): Reset key-agreement before returning.
13977 (engineInit(Key,SecureRandom)): Call reset() before returning.
13978 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13979 (engineInit): Replace printing to System.out with conditional logging.
13980 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13981 When the key-size is not specified, attempt best effort to find a suitable
13982 value among those advertised by the cipher before setting it to the length
13983 of provided key material.
13985 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13987 * javax/swing/table/DefaultTableColumnModel.java
13988 (changeEvent): Don't initialize yet, removed FIXME,
13989 (fireColumnModelChanged): Initialize changeEvent if necessary.
13991 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13993 * java/lang/Thread.java:
13994 (getAllStackTraces()): Implemented.
13995 (getStackTrace()): Likewise.
13997 2006-06-27 Tania Bento <tbento@redhat.com>
13999 * java/awt/Component.java
14000 (setComponentOrientation): NPE should not be thrown.
14002 2006-06-27 Tom Tromey <tromey@redhat.com>
14004 * configure.ac: Create gjar, gnative2ascii, gserialver.
14005 * tools/gappletviewer.in: Quote $@.
14006 * tools/gkeytool.in: Likewise.
14007 * tools/gjarsigner.in: Likewise.
14008 * tools/gjar.in: New file.
14009 * tools/gnative2ascii.in: Likewise.
14010 * tools/gserialver.in: Likewise.
14011 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14013 (bin_SCRIPTS): Likewise.
14015 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14017 * java/lang/management/ThreadMXBean.java:
14018 (getThreadInfo(long[])): Corrected return type.
14019 (getThreadInfo(long[], int)): Likewise.
14021 2006-06-27 Mark Wielaard <mark@klomp.org>
14023 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14024 nothing when listener is null.
14025 (removeFlavorListener): Likewise.
14027 * java/awt/datatransfer/DataFlavor.java
14028 (getRepresentationClassFromMime): Renamed to
14029 getRepresentationClassFromMimeThrows.
14030 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14031 (isRepresentationClassSerializable): Likewise.
14032 (isFlavorJavaFileListType): Likewise and check primary and
14034 (getParameter): Parameters are separated by semi-colons.
14035 (DataFlavor(Class,String,String)): Do some sanity checks.
14036 (DataFlavor(String,String,ClassLoader)): Call
14037 getRepresentationClassFromMimeThrows.
14038 (DataFlavor(String)): Likewise.
14039 (equals(DataFlavor)): Special case primary type text and charset
14042 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14044 * java/awt/Component.java
14045 (setName): Fire required PropertyChangeEvent,
14046 * java/awt/Label.java
14047 (getText): Removed redundant brackets,
14048 (generateName): New method (override),
14049 (nextLabelNumber): New field,
14050 (getUniqueLong): New method.
14052 2006-06-27 Roman Kennke <kennke@aicas.com>
14054 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14055 (createImage): Delegate this to the parent.
14056 (handleEvent): Only handle PAINT/UPDATE events when the
14057 component is actually showing.
14058 (hide): Repaint the parent after hiding a component.
14059 (prepareImage): Have only one return point.
14060 (setVisible): Delegate to show() and hide().
14061 (createVolatileImage): Added null check to avoid NPE.
14063 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14065 * java/awt/Label.java: Reformatted source code.
14067 2006-06-27 Roman Kennke <kennke@aicas.com>
14069 * java/awt/image/BufferedImage.java
14070 (getSource): Use a fixed DirectColorModel to deliver the
14071 RGB pixels to the ImageConsumer.
14073 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14075 * java/awt/Point.java
14076 (setLocation(double, double)): Round to nearest integer coordinates.
14078 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14080 * java/awt/Component.java
14081 (minSizeSet): New field,
14082 (maxSize): Likewise,
14083 (maxSizeSet): Likewise,
14084 (isMaximumSizeSet): Implemented,
14085 (isMinimumSizeSet): Likewise,
14086 (isPreferredSizeSet): Likewise,
14087 (setMaximumSize): Likewise,
14088 (setMinimumSize): Likewise,
14089 (setPreferredSize): Likewise.
14091 2006-06-27 Roman Kennke <kennke@aicas.com>
14093 * javax/imageio/spi/IIORegistry.java
14094 (IIORegistry): Added BMP codec.
14096 2006-06-27 Mark Wielaard <mark@klomp.org>
14098 * javax/swing/JComponent.java
14099 (firePropertyChange(String,char,char)): New override method.
14101 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14103 * java/lang/Thread.java:
14104 (getState()): New method.
14105 * java/lang/management/ClassLoadingMXBean.java:
14106 Corrected class documentation.
14107 * java/lang/management/ManagementFactory.java:
14108 Added new temporary marked stub to get thread bean.
14109 * java/lang/management/OperatingSystemMXBean.java:
14110 Corrected class documentation.
14111 * java/lang/management/RuntimeMXBean.java:
14112 Corrected class documentation.
14113 * java/lang/management/ThreadInfo.java,
14114 * java/lang/management/ThreadMXBean.java:
14116 * vm/reference/java/lang/VMThread.java:
14117 (getState()): New method.
14118 * vm/reference/java/lang/management/VMThreadInfo.java:
14121 2006-06-26 Sven de Marothy <sven@physto.se>
14123 * gnu/javax/imageio/gif/GIFFile.java
14124 * gnu/javax/imageio/gif/GIFImageReader.java
14125 * gnu/javax/imageio/gif/GIFImageSpi.java
14126 * gnu/javax/imageio/gif/GIFStream.java
14128 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14130 2006-06-26 Tania Bento <tbento@redhat.com>
14132 * java/awt/List.java
14133 (List): A list should have at least 4 visible rows.
14134 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14135 not an IllegalArgumentException.
14136 (makeVisible): Should not throw an IllegalArgumentException if
14137 the specified index is out of range.
14139 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14141 * javax/swing/JList.java
14142 (getNextMatch): Reimplemented to perform a circular search for the
14145 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14147 * javax/swing/JList.java
14148 (init): Set default value for visibleRowCount to 8,
14149 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14151 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14153 * javax/swing/JList.java
14154 (valueIsAdjusting): Removed,
14155 (init): Removed initialization of valueIsAdjusting field,
14156 (getValueIsAdjusting): Fetch value from selection model,
14157 (setValueIsAdjusting): Store value in selection model.
14159 2006-06-26 Roman Kennke <kennke@aicas.com>
14161 * javax/swing/plaf/basic/BasicListUI.java
14162 (installKeyboardActions): Rewritten to fit with the
14163 ActionMap/InputMap architecture.
14164 (uninstallKeyboardActions): Implemented.
14165 (ListAction): Made private. Added TODO for splitting
14166 up this bulk Action.
14167 (ListAction.ListAction): New constructor. This one
14168 takes a cmd parameter to be installed as actionCommand.
14170 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14172 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14173 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14175 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14177 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14178 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14179 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14180 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14181 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14182 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14183 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14184 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14185 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14186 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14187 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14188 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14189 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14190 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14191 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14192 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14193 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14194 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14195 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14196 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14197 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14198 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14199 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14200 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14201 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14202 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14203 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14204 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14205 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14206 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14207 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14208 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14209 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14210 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14211 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14212 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14213 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14214 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14215 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14216 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14217 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14218 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14219 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14220 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14221 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14222 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14223 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14224 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14225 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14226 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14227 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14228 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14229 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14230 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14231 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14232 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14233 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14234 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14235 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14236 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14237 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14238 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14239 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14240 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14241 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14242 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14243 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14244 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14245 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14246 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14247 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14248 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14249 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14250 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14251 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14252 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14253 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14254 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14255 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14256 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14257 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14258 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14260 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14262 * javax/swing/JList.java
14263 (setLayoutOrientation): Check for valid argument.
14265 2006-06-26 Roman Kennke <kennke@aicas.com>
14267 * javax/swing/JComponent.java
14268 (firePropertyChange(String,int,int)): New method. Overrides
14269 Component method and makes it public.
14270 (firePropertyChange(String,boolean,boolean)): Likewise.
14272 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14274 * gnu/java/security/.cvsignore: New File.
14275 * gnu/java/security/Configuration.java.in: New File.
14276 * gnu/java/security/Properties.java: Change import from
14277 gnu.classpath.Configuration to gnu.java.security.Configuration.
14278 * gnu/java/security/hash/Whirlpool.java: Likewise.
14279 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14280 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14281 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14282 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14283 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14284 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14285 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14286 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14287 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14288 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14289 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14290 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14291 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14292 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14293 * gnu/java/security/util/Base64.java: Likewise.
14294 * gnu/java/security/x509/X509CRL.java: Likewise.
14295 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14296 * gnu/java/security/x509/ext/Extension.java: Likewise.
14297 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14298 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14299 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14300 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14301 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14302 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14303 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14304 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14305 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14306 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14307 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14308 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14309 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14310 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14311 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14312 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14313 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14314 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14315 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14316 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14317 * gnu/javax/crypto/pad/TBC.java: Likewise.
14318 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14319 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14320 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14321 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14322 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14323 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14324 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14325 * gnu/javax/security/auth/login/GnuConfiguration.java
14326 (getAppConfigurationEntry): Change reference to
14327 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14328 (getConfigFromUserHome): Likewise.
14329 (getInputStreamFromURL): Likewise.
14330 (getUserHome): Likewise.
14332 (processSecurityProperties): Likewise.
14333 (processSystemProperty): Likewise.
14334 (processUserHome): Likewise.
14335 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14336 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14339 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14341 * javax/swing/text/DefaultCaret.java (isActive): New method.
14343 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14345 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14346 * java/lang/management/ClassLoadingMXBean.java:
14347 (getTotalLoadedClassCount()): Corrected return type.
14348 (getUnloadedClassCount()): Likewise.
14349 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14350 (getUnloadedClassCount()): Likewise.
14352 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14354 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14355 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14356 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14357 * gnu/javax/crypto/cipher/Square.java: Likewise.
14358 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14359 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14360 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14361 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14362 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14363 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14364 * gnu/javax/crypto/cipher/DES.java: Likewise.
14365 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14366 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14367 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14368 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14369 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14371 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14373 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14374 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14375 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14376 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14377 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14378 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14379 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14380 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14381 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14382 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14383 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14384 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14385 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14387 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14390 * doc/vmintegration.texinfo:
14391 Updated with information on new VM interface.
14392 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14393 * java/lang/management/ClassLoadingMXBean.java:
14394 New files implementing the class loading bean.
14395 * java/lang/management/ManagementFactory.java:
14396 (getClassLoadingMXBean()): Implemented.
14397 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14398 New VM interface file.
14400 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14402 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14403 (isBootClassPathSupported()): Use SystemProperties
14404 rather than System.getProperty.
14406 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14408 * gnu/java/security/Properties.java: Source formatting.
14409 * gnu/java/security/Registry.java: Likewise.
14411 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14413 * gnu/java/security/util/Util.java: Source formatting.
14414 * gnu/java/security/util/SimpleList.java: Likewise.
14415 * gnu/java/security/util/Sequence.java: Likewise.
14416 * gnu/java/security/util/PRNG.java: Likewise.
14417 * gnu/java/security/util/ExpirableObject.java: Likewise.
14418 * gnu/java/security/util/Base64.java: Likewise.
14419 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14420 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14421 * gnu/java/security/sig/ISignature.java: Likewise.
14422 * gnu/java/security/sig/BaseSignature.java: Likewise.
14423 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14424 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14425 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14426 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14427 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14428 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14429 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14430 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14431 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14432 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14433 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14434 * gnu/java/security/provider/Gnu.java: Likewise.
14435 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14436 * gnu/java/security/prng/RandomEvent.java: Likewise.
14437 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14438 * gnu/java/security/prng/MDGenerator.java: Likewise.
14439 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14440 * gnu/java/security/prng/IRandom.java: Likewise.
14441 * gnu/java/security/prng/EntropySource.java: Likewise.
14442 * gnu/java/security/prng/BasePRNG.java: Likewise.
14444 2006-06-23 Francis Kung <fkung@redhat.com>
14446 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14447 (Harness.actionPerformed): Process additional options.
14448 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14449 (J2dBenchmarkWrapper.setAlias): New method.
14450 (J2dBenchmarkWrapper.setComposite): New method.
14451 (J2dBenchmarkWrapper.setFill): New method.
14452 (J2dBenchmarkWrapper.setRotation): New method.
14453 (J2dBenchmarkWrapper.setShear): New method.
14454 (J2dBenchmarkWrapper.setStroke): New method.
14455 (J2dBenchmarkWrapper.setTranslation): New method.
14456 (run): Add additional options to GUI.
14457 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14458 Added protected fields for various options.
14459 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14460 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14461 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14462 (getNextColor): Renamed to setRandom.
14463 (init): Load additional image for texturing if needed.
14464 (loadBufferedImage): New method.
14465 (main): Accept additional command-line switches.
14466 (prepareGraphics): New method.
14467 (resetGraphics): New method.
14468 (runTestSuite): Accept additional image-processing options.
14469 (setRandom): Renamed from getNextColor; generate various random options
14470 (test_drawArc): Rename getNextColor to setRandom.
14471 (test_drawCubic): Likewise.
14472 (test_drawEllipse): Likewise.
14473 (test_drawGeneralPath): Likewise.
14474 (test_drawImage): Likewise.
14475 (test_drawLine): Likewise.
14476 (test_drawQuadCurve): Likewise.
14477 (test_drawRectangle): Likewise.
14478 (test_drawRoundRectangle): Likewise.
14479 (test_drawTransparentImage): Likewise.
14480 (test_fillArc): Rename getNextColor to setRandom.
14481 (test_fillEllipse): Likewise.
14482 (test_fillGeneralPath): Likewise.
14483 (test_fillRectangle): Likewise.
14484 (test_fillRoundRectangle): Likewise.
14485 (TestRecorder.getAverage): Round the average time.
14487 2006-06-23 Tom Tromey <tromey@redhat.com>
14489 * java/util/logging/LoggingMXBean.java: New file.
14490 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14491 (loggingBean): New field.
14492 (getLoggingMXBean): New method.
14494 2006-06-23 Tania Bento <tbento@redhat.com>
14496 * java/awt/TextField.java
14497 (TextField): Default number of columns should be 0, not 1.
14498 (TextField): Check if number of columns given as argument
14499 is valid (>= 0) and set the number of columns accordingly.
14500 (TextField): Check if the string passed is null. If it is,
14501 set columns to 0, else columns is set to the length of
14504 2006-06-23 Roman Kennke <kennke@aicas.com>
14506 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14507 (InternalFramePropertyChangeListener.propertyChange):
14508 Don't call getPropertyName() repeatedly. Added null checks
14509 to avoid NPEs. Call closeFrame() if the closed property
14512 2006-06-23 Roman Kennke <kennke@aicas.com>
14514 * javax/swing/JInternalFrame.java
14515 (maxTransition): Removed.
14516 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14517 Don't initialize storedBounds here.
14518 (dipose): Rewritten to correctly dispose the JInternalFrame.
14519 (getDesktopIcon): Don't initialize desktopIcon here.
14520 (getLayer): Delegate to JLayeredPane.getLayer().
14521 (getNormalBounds): Return bounds when storedBounds == null,
14522 otherwise storedBounds.
14523 (hide): Don't change selection. Also hide the desktopIcon.
14524 (moveToBack): Call getParent() only once.
14525 (moveToFront): Call getParent() only once.
14526 (pack): Call validate() to make sure that the layout is
14527 propagated to the children.
14528 (setClosed): Fire InternalFrameEvent first, before the
14530 (setJMenuBar): Fire PropertyChangeEvent for this property.
14531 (setLayer): Delegate to JLayeredPane.
14532 (setLayeredPane): Check for null and throw IllegalArgumenException.
14533 (setMaximum): Remove handling of maxTransition and normalBounds.
14534 Should probably be done in the UI.
14535 (setNormalBounds): Store Rectangle object directly, not a copy.
14536 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14537 adding the RootPane doesn't add it to the contentPane.
14538 Fire PropertyChangeEvent.
14539 (setSelected): Added condition for when this property must not
14541 (show): Don't ask the DesktopPane to select the frame. Moved
14542 code around to fire InternalFrameEvent before actually calling
14543 super.show(). Also make the desktopIcon visible.
14544 (setTitle): Fire PropertyChangeEvent unconditionally.
14546 2006-06-23 Roman Kennke <kennke@aicas.com>
14548 * javax/swing/JLayeredPane.java
14549 (getPosition): Moved code around to avoid unnecessary method calls.
14550 (setPosition): Delegate to setLayer().
14551 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14552 (insertIndexForLayer(Component,int,int)): New helper method
14553 to support the use of setComponentZOrder() which doesn't remove
14554 the component and thus the insertIndexForLayer must ignore
14555 the component to be moved to get the index right.
14556 (setLayer): Added check to prevent unnecessary execution of
14557 method body. Changed to update the component order here.
14558 Added repaint() to make sure that the update becomes visible.
14559 (addImpl): Call setLayer() only when a constraint has been specified.
14560 Validate and repaint the JLayeredPane.
14562 2006-06-23 Roman Kennke <kennke@aicas.com>
14564 * java/awt/Container.java
14565 (getComponentZOrder): Use ncomponents instead of
14566 component.length so that we don't consider the empty space
14567 after the last component.
14569 2006-06-22 Roman Kennke <kennke@aicas.com>
14571 * javax/swing/JComponent.java
14572 (vetoableChangeSupport): New field.
14573 (removeVetoableChangeListener): Rewritten to use
14574 vetoableChangeSupport.
14575 (addVetoableChangeListener): Rewritten to use
14576 vetoableChangeSupport.
14577 (fireVetoableChange): Rewritten to use
14578 vetoableChangeSupport.
14579 (addPropertyChangeListener): Removed. This is handled in
14581 (firePropertyChange(String,boolean,boolean)): Likewise.
14582 (firePropertyChange(String,char,char)): Likewise.
14583 (firePropertyChange(String,int,int)): Likewise.
14584 (revalidate): Don't do anything when the commponent has no
14587 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14589 * javax/swing/JLabel.java: Updated API docs.
14591 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14593 * java/awt/Insets.java: Updated copyright year.
14594 (toString): Changed string, removed a line from the
14597 2006-06-22 Roman Kennke <kennke@aicas.com>
14599 * javax/swing/text/AbstractDocument.java
14600 (AbstractDocument): Set the i18n document property.
14601 (removeImpl): Added checks for correct boundaries.
14603 2006-06-22 Roman Kennke <kennke@aicas.com>
14605 * javax/swing/text/PlainDocument.java
14606 (rootElement): Changed type to Element.
14607 (tabSize): Removed field. This is stored in the document properties
14609 (PlainDocument): Set tabSize property. Init rootElement without
14611 (insertUpdate): Rewritten. The previous implementation did not
14612 handle some corner cases properly and was a mess.
14613 (removeUpdate): Cast rootElement to BranchElement.
14615 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14617 * javax/swing/plaf/basic/BasicLabelUI.java
14618 (installKeyboardActions): Implemented,
14619 (uninstallKeyboardActions): Implemented,
14620 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14623 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14625 * javax/swing/JMenu.java:
14626 (removeAll): Added check for popupMenu not being null.
14628 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14630 * javax/swing/JLabel.java
14631 (getText): Updated API docs,
14632 (setText): Corrected the check for an unchanged value, and the update
14633 of the displayedMnemonicIndex.
14635 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14637 * javax/swing/JLabel.java
14638 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14640 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14641 where label text is null.
14643 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14645 * javax/swing/JLabel.java
14646 (setDisplayedMnemonic): Updated API docs,
14647 (getDisplayedMnemonic): Removed unnecessary type-cast,
14648 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14649 (getDisplayedMnemonicIndex): Updated API docs.
14651 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14653 * java/util/Collections (entrySet): Fixed compile error.
14655 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14657 * javax/swing/DefaultListSelectionModel.java
14658 (getSelectionMode): Updated API docs,
14659 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14660 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14661 setSelectionInterval(),
14662 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14663 SINGLE_INTERVAL_SELECTION cases.
14665 2006-06-21 Roman Kennke <kennke@aicas.com>
14667 * javax/swing/text/AbstractDocument.java
14668 (BranchElement.numChildren): New field.
14669 (BranchElement.BranchElement): Initialize children array with
14670 one element (that's the least number of elements that makes sense).
14671 Initialize numChildren.
14672 (BranchElement.children): Use numChildren as boundary.
14673 (BranchElement.getElement): Use numChildren as boundary.
14674 (BranchElement.getElementCount): Use numChildren as boundary.
14675 (BranchElement.getElementIndex): Use numChildren as boundary.
14676 (BranchElement.getEndOffset): Use numChildren as boundary.
14677 (BranchElement.getStartOffset): Use numChildren as boundary.
14678 (BranchElement.positionToElement): Use numChildren as boundary.
14679 (BranchElement.replace): Handle the children array more efficiently
14680 by growing in blocks > 1, and reusing space from removed elements.
14681 (LeafElement.startDelta): Removed.
14682 (LeafElement.endDelta): Removed.
14683 (LeafElement.LeafElement): Removed handling of deltas.
14684 (LeafElement.getEndOffset): Likewise.
14685 (LeafElement.getStartOffset): Likewise.
14686 * javax/swing/text/JTextComponent.java
14687 (setDocument): Added locking of the old document to avoid dangling
14688 notification beeing delivered while the document is beeing
14690 (getScrollableTracksViewportWidth): Fixed condition.
14691 * javax/swing/text/PlainDocument.java
14692 (createDefaultRoot): Create elements without AttributeSet.
14693 * javax/swing/text/rtf/RTFParser.java
14694 (parseFile): Handle slightly incorrect RTF gracefully.
14695 * javax/swing/text/rtf/RTFScanner.java
14696 (lastToken): New field.
14697 (readTokenImpl): New method.
14698 (peekToken): New method.
14699 (readToken): Changed to call readTokenImpl or return the lastToken
14700 if there's one present.
14702 2006-06-21 Tania Bento <tbento@redhat.com>
14704 * javax/swing/JMenu.java
14705 (remove): An IllegalArgumentException should be thrown if
14706 either index < 0 or if index > 0 and there are no menu
14707 components. Also, a check was added that ensures there are
14708 menu components before removing the desired the component.
14710 2006-06-21 Lillian Angel <langel@redhat.com>
14712 * javax/swing/text/DefaultCaret.java
14713 (install): Added check to prevent NPE.
14714 (propertyChange): Added checks to prevent NPEs.
14716 2006-06-21 Tania Bento <tbento@redhat.com>
14718 * javax/swing/JMenu.java
14719 Changed instantiation of popupMenu to null.
14720 (JMenu): Instantiated popupMenu to new JPopupMenu.
14721 (JMenu): Instantiated popupMenu to new JPopupMenu.
14722 (add): Changed popupMenu to getPopupMenu().
14723 (add): Changed popupMenu to getPopupMenu().
14724 (add): Changed popupMenu to getPopupMenu().
14725 (add): Changed popupMenu to getPopupMenu().
14726 (remove): Changed popupMenu to getPopupMenu().
14727 (remove): Changed popupMenu to getPopupMenu().
14728 (insert): Changed popupMenu to getPopupMenu().
14729 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14730 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14731 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14732 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14733 (getMenuComponents): Changed popupMenu to getPopupMenu().
14734 (getPopupMenu): Check first if popupMenu is null and if so,
14735 instantiate it to a new JPopupMenu and set the invoker.
14736 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14737 (popupMenuWillBecomeVisible): Component Listener should only
14738 be added to the root container if the root container is not
14739 null. This avoids a null pointer exception.
14741 2006-06-21 Tania Bento <tbento@redhat.com>
14743 * javax/swing/JMenu.java
14744 (JMenu): Delay should be set to 200, not default of 0.
14745 (JMenu): Delay should be set to 200, not default of 0.
14746 (JMenu): Delay should be set to 200, not default of 0.
14747 (JMenu): Delay should be set to 200, not default of 0.
14748 (remove): Added check that index >= 0 before removing
14750 (getItem): Return null if item count equals 0.
14751 (isTearOff): Should throw new error and not return false.
14752 (getMenuComponent): Return null if popupMenu is null or
14753 if there are no menu components.
14755 2006-06-21 Roman Kennke <kennke@aicas.com>
14757 * java/awt/font/FontRenderContext.java:
14758 (equals): Added special conditions for affineTransform beeing
14761 2006-06-21 Roman Kennke <kennke@aicas.com>
14763 * javax/swing/UIManager.java
14764 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14765 must not be cleared.
14767 2006-06-21 Roman Kennke <kennke@aicas.com>
14769 * javax/swing/plaf/metal/MetalUtils.java
14770 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14771 Graphics2D is available. Use fillRect instead of drawLine, this
14773 (paintVerticalGradient): Use paintHorizontalGradient2D when
14774 Graphics2D is available. Use fillRect instead of drawLine, this
14776 (paintHorizontalGradient2D): New method. Paints gradient
14777 using Graphics2D functions.
14778 (paintVerticalGradient2D): New method. Paints gradient
14779 using Graphics2D functions.
14781 2006-06-21 Roman Kennke <kennke@aicas.com>
14783 * javax/swing/plaf/basic/BasicButtonListener.java
14784 (propertyChange): Create a TextLayout and store it in the button
14785 when the 'text' property changes.
14786 * javax/swing/plaf/basic/BasicButtonUI.java
14787 (paintText): Call BasicGraphicsUtils utility method for
14788 drawing strings, instead of Graphics.drawString().
14789 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14790 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14791 cached text layouts as client properties in JComponents.
14792 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14793 (drawStringUnderlineCharAt): New helper method.
14794 * javax/swing/plaf/basic/BasicMenuItemUI.java
14795 (PropertyChangeHandler.propertyChange): Update cached text layout
14796 when 'text' property changes. Use equals() instead of == for
14798 (paintText): Use new BasicGraphicsUtils methods for painting
14799 the cached text layout.
14800 (installListeners): Call super.installListeners() and remove
14801 the unneeded listener installs.
14802 (uninstallListeners): Call super.uninstallListeners() and remove
14803 the unneeded listener uninstalls.
14805 2006-06-21 Roman Kennke <kennke@aicas.com>
14807 * javax/swing/plaf/basic/BasicTextUI.java
14808 (PropertyChangeHandler.propertyChange): Handle document listener
14810 (background): Removed unneeded fields.
14811 (inactiveBackground): Remove unneeded fields.
14812 (installUI): Install the document listener. Slightly changed
14813 order of operations. Don't trigger modelChanged().
14814 (installDefaults): Only install properties when the
14815 current properties are null or instances of UIResource.
14816 (installListeners): Removed unnecessary listener installs.
14817 (installDocumentListeners): Removed unneeded method.
14818 (uninstallListeners): Removed unnecessary listener uninstalls.
14819 (modelChanged): Removed call to installDocumentListeners().
14820 * javax/swing/plaf/basic/BasicTextFieldUI.java
14821 (propertyChange): Update the colors by fetching them from
14822 SharedUIDefaults. Fixed conditions.
14823 * javax/swing/plaf/basic/SharedUIDefaults.java
14824 (getColor): New method.
14826 2006-06-21 Roman Kennke <kennke@aicas.com>
14828 * javax/swing/SizeSequence.java
14829 (SizeSequence): Initialize array with correct number of entries.
14831 2006-06-21 Roman Kennke <kennke@aicas.com>
14833 * javax/swing/JSplitPane.java
14834 (setDividerLocation): Substract divider size when computing
14837 2006-06-21 Roman Kennke <kennke@aicas.com>
14839 * javax/swing/JComponent.java
14840 (paintChildrenWithOverlap): Determine opaque property by
14841 calling the corresponding Component method, without requiring
14843 (paintChildrenOptimized): Removed old unneeded code.
14844 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14845 method instead of SwingUtilities.convertRectangle(). This is
14848 2006-06-21 Roman Kennke <kennke@aicas.com>
14850 * javax/swing/AbstractButton.java
14851 (init): Call setText() instead of setting the property directly,
14852 so that listeners (especially in the UI) get notified.
14854 2006-06-21 Roman Kennke <kennke@aicas.com>
14856 * javax/swing/UIManager.java
14857 (MultiplexUIDefaults): New inner class.
14858 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14859 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14860 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14861 directly. Print stacktrace if something goes wrong.
14862 (get): Delegate call to currentUIDefaults.
14863 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14865 (getUI): Delegate call to currentUIDefaults.
14866 (put): Delegate call to currentUIDefaults.
14867 (setLookAndFeel): Initialize currentUIDefaults with
14868 MultiplexUIDefaults. Set lookAndFeelDefaults.
14869 (setLookAndFeel): Use current thread's context classloader for
14872 2006-06-21 Roman Kennke <kennke@aicas.com>
14874 * javax/swing/text/GapContent.java
14875 (GapContentPosition.GapContentPosition): Replace
14876 Collections.binarySearch with call to local search() to make
14877 sure we find the first object that equals the searched object.
14878 (setPositionsInRange): Likewise.
14879 (adjustPositionsInRange): Likewise.
14880 (search): New helper method.
14882 2006-06-21 Gary Benson <gbenson@redhat.com>
14884 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14885 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14886 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14888 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14890 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14891 APPLETVIEWER_EXECUTABLE to gappletviewer.
14893 2006-06-20 Tom Tromey <tromey@redhat.com>
14895 PR classpath/28095:
14896 * java/net/URL.java (URL): Throw MalformedURLException if a
14897 RuntimeException is caught. Chain exceptions.
14899 2006-06-20 Lillian Angel <langel@redhat.com>
14901 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14902 (create): Added check to prevent Seg Fault. Should not
14903 set the label if it is null.
14904 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14905 (setText): Changed to be a non-native function. Calls
14906 setNativeText if the String parameter is non-null.
14907 (setNativeText): Replaces old native setText function.
14908 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14909 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14910 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14911 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14912 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14913 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14915 2006-06-20 Lillian Angel <langel@redhat.com>
14917 * javax/swing/text/JTextComponent.java
14918 (AccessibleJTextComponent): Rewrote all javadocs
14919 for this inner class.
14921 2006-06-20 Francis Kung <fkung@redhat.com>
14923 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14924 Changed many members to be protected.
14925 (J2dBenchmark): moved to init() instead.
14926 (init): New method.
14927 (main): Call init() after creating object
14928 (testComplete): New method.
14929 (test_drawArc): Use maxTests varialbe instead of constant.
14930 (test_drawCubicCurve): Likewise.
14931 (test_drawEllipse): Likewise.
14932 (test_drawGeneralPath): Likewise.
14933 (test_drawImage): Likewise.
14934 (test_drawLine): Likewise.
14935 (test_drawQuadCurve): Likewise.
14936 (test_drawRectangle): Likewise.
14937 (test_drawRoundRectangle): Likewise.
14938 (test_drawTransparentImage): Likewise.
14939 (test_fillArc): Likewise.
14940 (test_fillEllipse): Likewise.
14941 (test_fillGeneralPath): Likewise.
14942 (test_fillRectangle): Likewise.
14943 (test_fillRoundRectangle): Likewise.
14944 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14945 (GraphicsTest.runSetWithClipping): Likewise.
14946 (GraphicsTest.runSetZeroClipping): Likewise.
14947 (GraphicsTest.run): Added checks for more option flags.
14948 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14951 2006-06-20 Roman Kennke <kennke@aicas.com>
14953 * javax/swing/text/GapContent.java
14954 (GapContentPosition.mark): New field.
14955 (GapContentPosition.index): Removed.
14956 (GapContentPosition.GapContentPosition): Changed to take the
14957 real offset as parameter. Added handling of reference counter.
14958 Try to cleanup before creating new instances.
14959 (getOffset): Delegate to the Mark method with same name.
14960 (Mark): New class, encapsulating a mark.
14961 (positionMarks): Removed field.
14962 (numMarks): Removed field.
14963 (marks): New field.
14964 (queueOfDeath): New field.
14965 (GapContent): Removed init of old fields, added init of new fields.
14966 (createPosition): Added check for validity of arguments.
14967 Create GapContentPosition directly with offset.
14968 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14969 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14970 (shiftGapStartDown): Call resetMarksAtZero().
14971 (shiftGapEndUp): Call resetMarksAtZero().
14972 (replace): Don't call resetMarksAtZero().
14973 (setPositionInRange): Replaced by simpler algorithm, similar to
14974 adjustPositionsInRange.
14975 (adjustPositionsInRange): Adapted to use of Mark objects.
14976 (resetMarksAtZero): Reset all marks that point to zero instead
14977 of only the first one.
14978 (dumpMarks): Adjusted to dump Mark objects.
14979 (insertMark): Removed.
14980 (garbageCollect): New method. Cleans up the marks list.
14981 (binarySearch): Removed.
14983 2006-06-20 Lillian Angel <langel@redhat.com>
14985 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14986 (drawImage): Added call to updateColor because
14987 Cairo seems to lose the current color.
14989 2006-06-20 Gary Benson <gbenson@redhat.com>
14991 * java/awt/Toolkit.java: Add security check.
14992 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14993 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14995 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
14997 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14998 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14999 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15000 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15001 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15002 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15003 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15004 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15005 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15006 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15007 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15008 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15009 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15010 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15011 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15012 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15013 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15014 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15015 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15017 2006-06-19 Lillian Angel <langel@redhat.com>
15019 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15020 (drawImage): Should always use getRGB to get the pixels.
15021 getData returns an incorrect array of pixels.
15023 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15025 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15026 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15027 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15028 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15029 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15030 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15031 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15032 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15033 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15034 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15035 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15036 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15037 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15038 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15039 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15040 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15041 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15042 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15043 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15044 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15045 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15046 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15047 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15048 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15049 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15050 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15051 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15052 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15053 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15054 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15055 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15056 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15057 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15058 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15059 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15060 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15062 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15064 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15066 2006-06-19 Roman Kennke <kennke@aicas.com>
15068 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15069 (drawImage): Clip volatile image correctly.
15070 (drawVolatileImage): Added arguments for clipping.
15071 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15072 (drawVolatileImage): Added arguments for clipping. Clip image
15074 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15076 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15079 * java/rmi/server/UID.java (constructor): Synchronized
15080 the whole constructor on the UID class.
15082 2006-06-19 Roman Kennke <kennke@aicas.com>
15084 * javax/swing/RepaintManager.java
15085 (addInvalidComponent): Only add component that are displayable,
15086 that have displayable parents and that have a validateRoot.
15087 Also, don't validate components that have a CellRendererPane
15090 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15092 * javax/swing/plaf/IconUIResource.java
15093 (IconUIResource): Throw IllegalArgumentException for null icon.
15095 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15098 * java/rmi/server/UID.java (constructor): First increment
15099 uidCounter, and then use the value.
15101 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15103 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15104 * java/awt/GridBagConstraints.java: Indent.
15106 2006-06-18 Tom Tromey <tromey@redhat.com>
15108 * native/jni/gconf-peer/.cvsignore: New file.
15110 2006-06-18 Tom Tromey <tromey@redhat.com>
15112 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15113 Also handle short options.
15115 2006-06-18 Jim Huang <jserv@kaffe.org>
15117 PR classpath/28076:
15118 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15121 2006-06-19 Mark Wielaard <mark@klomp.org>
15123 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15124 on gnu/java/util/prefs/gconf/%.class.
15125 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15126 chache typo, should be cache.
15127 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15129 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15131 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15132 Don't return a value for void function.
15133 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15135 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15136 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15138 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15139 Mark clazz ad unused.
15141 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15143 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15144 * gnu/java/security/hash/Tiger.java: Likewise.
15145 * gnu/java/security/hash/Sha512.java: Likewise.
15146 * gnu/java/security/hash/Sha384.java: Likewise.
15147 * gnu/java/security/hash/Sha256.java: Likewise.
15148 * gnu/java/security/hash/Sha160.java: Likewise.
15149 * gnu/java/security/hash/RipeMD160.java: Likewise.
15150 * gnu/java/security/hash/RipeMD128.java: Likewise.
15151 * gnu/java/security/hash/MD5.java: Likewise.
15152 * gnu/java/security/hash/MD4.java: Likewise.
15153 * gnu/java/security/hash/MD2.java: Likewise.
15154 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15155 * gnu/java/security/hash/Haval.java: Likewise.
15156 * gnu/java/security/hash/HashFactory.java: Likewise.
15157 * gnu/java/security/hash/BaseHash.java: Likewise.
15159 2006-06-18 Sven de Marothy <sven@physto.se>
15161 * java/awt/event/KeyEvent.java:
15162 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15163 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15164 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15166 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15168 * gnu/java/security/util/Prime2.java: Removed.
15169 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15170 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15171 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15172 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15173 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15174 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15175 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15176 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15177 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15178 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15179 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15180 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15182 2006-06-18 Sven de Marothy <sven@physto.se>
15184 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15185 * java/awt/font/TextMeasurer.java: Fix copyright date,
15186 remove commented-out code.
15188 2006-06-18 Sven de Marothy <sven@physto.se>
15190 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15191 (FreetypeGlyphVector, clone): Implement cloning.
15192 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15193 * java/awt/font/TextMeasurer.java: Implement.
15194 * java/awt/font/LineBreakMeasurer.java:
15195 Reimplement to use TextMeasurer.
15196 * java/awt/font/TextLayout.java
15198 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15199 (getText, getFont): New private static methods.
15200 (setCharIndices): New method.
15201 * java/text/AttributedString.java
15202 (AttributedString): Fix constructor to stop at end point.
15204 2006-06-17 Tom Tromey <tromey@redhat.com>
15206 * lib/gen-classlist.sh.in: Search all top-level directories, not
15207 just 'org', in external.
15209 2006-06-12 Mario torre <neugens at limasoftware.net>
15211 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15212 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15213 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15214 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15216 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15217 * configure.ac: update to introduce new files. Added options
15218 to build gconf native peer used by the GConf preference backend.
15219 * include/Makefile.am: update to introduce new files.
15220 * native/jni/Makefile.am update to introduce new files.
15221 * scripts/check_jni_methods.sh: added three new ignored file
15223 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15224 build gconf-peer shared library.
15226 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15228 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15229 Use Integer.valueOf() instead of new Integer().
15230 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15231 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15232 * gnu/java/security/util/Sequence.java: Likewise.
15233 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15234 * gnu/java/security/x509/X509Certificate.java: Likewise.
15235 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15236 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15237 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15238 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15239 * gnu/javax/crypto/cipher/DES.java: Likewise.
15240 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15241 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15242 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15243 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15244 * gnu/javax/crypto/cipher/Square.java: Likewise.
15245 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15246 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15247 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15248 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15249 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15250 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15251 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15252 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15253 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15254 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15255 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15256 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15257 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15258 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15259 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15260 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15261 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15262 * gnu/javax/crypto/mode/EAX.java: Likewise.
15263 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15264 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15265 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15266 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15267 * java/security/cert/X509CertSelector.java: Likewise.
15269 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15271 * javax/management/DynamicMBean.java:
15272 (setAttribute): Fixed to return void.
15273 * javax/management/MBeanFeatureInfo.java:
15276 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15278 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15279 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15280 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15281 into engineInitHandler and reuse the code in
15282 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15283 (engineInitHandler): New method.
15284 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15285 null, use random or default information when possible.
15287 2006-06-16 Francis Kung <fkung@redhat.com>
15289 * examples/gnu/classpath/examples/swing/Demo.java:
15290 (mkButtonBar): Rename FillRect to JNIOverhead.
15291 (mkMenuBar): Rename FillRect to JNIOverhead.
15292 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15293 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15294 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15295 Moved from old FillRect.
15297 2006-06-16 Tom Tromey <tromey@redhat.com>
15299 * tools/.cvsignore: Added new tool names.
15301 2006-06-16 Keith Seitz <keiths@redhat.com>
15303 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15304 instantiation so that EventManager is created when getDefault
15306 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15309 2006-06-16 Keith Seitz <keiths@redhat.com>
15311 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15312 (_initCount): New field.
15313 (Jdwp): Don't set isDebugging until fully initialized.
15314 (subcomponentInitialized): New method.
15315 (run): Wait for PacketProcessor and JdwpConnection to
15316 startup, then set isDebugging, and then let this thread
15318 * gnu/classpath/jdwp/transport/JdwpConnection.java
15319 (run): Add synchronization notification.
15320 * gnu/classpath/jdwp/processor/PacketProcessor.java
15323 2006-06-16 Tom Tromey <tromey@redhat.com>
15325 * NEWS: Updated for JSR 166.
15327 2006-06-16 Tom Tromey <tromey@redhat.com>
15329 * lib/Makefile.am (compile_classpath): Added jsr166.
15330 * configure.ac: Added external/jsr166/Makefile.
15331 * external/Makefile.am (SUBDIRS): Added jsr166.
15332 * external/jsr166/Makefile.am: New file.
15333 * lib/gen-classlist.sh.in: Look in external/jsr166.
15335 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15337 * gnu/classpath/jdwp/event/ExceptionEvent:
15338 Added Object instance to javadoc in constructor
15339 * gnu/classpath/jdwp/event/MethodEntryEvent:
15341 * gnu/classpath/jdwp/event/MethodExitEvent:
15343 * gnu/classpath/jdwp/event/SingleStepEvent:
15346 2006-06-16 Tom Tromey <tromey@redhat.com>
15348 Imported JSR 166 reference implementation:
15349 * .classpath: Added external/jsr166.
15350 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15351 * java/util/AbstractQueue.java: Removed.
15352 * java/util/Queue.java: Removed.
15353 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15354 (runPeriodic): Added explicit cast.
15355 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15358 2006-06-16 Tom Tromey <tromey@redhat.com>
15360 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15362 (getCallerClass): Now static.
15363 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15365 2006-06-16 Lillian Angel <langel@redhat.com>
15367 * java/awt/FileDialog.java
15368 (FileDialog): Added @since tag to API docs.
15369 (FileDialog): Likewise.
15370 (FileDialog): Likewise.
15371 * java/awt/Font.java:
15372 Added @since tag to TYPE1_FONT field docs.
15373 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15374 (isThumbRollover): Likewise.
15375 (setThumbRollover): Likewise.
15376 (getSupportsAbsolutePositioning): Likewise.
15377 * javax/swing/plaf/basic/BasicSliderUI.java:
15378 (isDragging): Likewise.
15380 2006-06-16 Lillian Angel <langel@redhat.com>
15382 * java/awt/FileDialog.java
15383 (FileDialog): Implemented.
15384 (FileDialog): Implemented.
15385 (FileDialog): Implemented.
15386 * java/awt/Font.java:
15387 Added TYPE1_FONT constant field.
15389 2006-06-16 Lillian Angel <langel@redhat.com>
15391 * java/awt/font/TextLayout.java:
15392 Removed unneeded imports.
15393 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15394 Added new thumbRollover field.
15395 (mouseMoved): Added code to set thumbRollover field.
15396 (isThumbRollover): New function.
15397 (setThumbRollover): New function.
15398 (getSupportsAbsolutePositioning): Implemented. This
15399 needs to be changed once the feature has been
15401 * javax/swing/plaf/basic/BasicSliderUI.java:
15402 Added new dragging field.
15403 (mouseDragged): Initialized dragging field.
15404 (isDragging): New function.
15405 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15406 (focusGained): Marked as not implemented.
15407 (focusLost): Likewise.
15409 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15411 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15412 Added check for null ThreadId to avoid null pointer
15415 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15417 * javax/swing/DefaultComboBoxModel.java
15418 (removeElementAt): Set new selected item by calling setSelectedItem().
15420 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15422 * javax/swing/DefaultButtonModel.java
15423 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15425 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15427 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15428 (ListDataEvent): Handle case where index0 > index1,
15429 (toString): Implemented.
15431 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15433 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15434 (update): Added subexpression to if-statement.
15436 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15438 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15439 (installDefaults): Removed unneccessary code.
15440 (paint): Removed complex if-cascade, revert to default icon if
15441 icon property is not set.
15442 (getPreferredSize): New method.
15444 2006-06-16 Roman Kennke <kennke@aicas.com>
15447 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15448 (drawImage): Don't use setClip() but instead clipRect() to
15449 intersect the current clip with a new one.
15451 2006-06-15 Tom Tromey <tromey@redhat.com>
15453 * scripts/sanitize-jsr166: New file.
15454 * external/jsr166/IMPORTING: New file.
15455 * vm/reference/sun/reflect/Reflection.java: New file.
15456 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15457 * vm/reference/sun/misc/Unsafe.java: ...here.
15459 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15461 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15462 gjarsigner and keytool to gkeytool.
15463 * doc/tools.texinfo: Add note about tool exectable names.
15464 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15465 jarsigner to gjarsigner and keytool to gkeytool.
15466 * tools/appletviewer.in: Rename ...
15467 * tools/gappletviewer.in: New file.
15468 * tools/jarsigner.in: Rename ...
15469 * tools/gjarsigner.in: New file.
15470 * tools/keytool.in: Rename ...
15471 * tools/gkeytool.in: New file.
15472 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15474 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15476 * javax/management/AttributeList.java:
15477 Add serialization UID.
15478 * javax/management/DynamicMBean.java:
15480 * javax/management/JMRuntimeException.java:
15481 Add serialization UID and correct name
15482 of serialized field.
15483 * javax/management/MBeanInfo.java: New file.
15485 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15487 * javax/management/AttributeList.java,
15488 * javax/management/JMRuntimeException.java,
15489 * javax/management/RuntimeOperationsException.java:
15492 2006-06-15 Lillian Angel <langel@redhat.com>
15494 * java/awt/font/TextLayout.java:
15495 DEFAULT_CARET_POLICY changed to be public static final.
15497 2006-06-15 Tania Bento <tbento@redhat.com>
15499 * javax/swing/plaf/metal/MetalScrollButton.java
15500 (MetalScrollButton): Should set 'focusable' to false.
15502 2006-06-15 Tania Bento <tbento@redhat.com>
15504 * javax/swing/plaf/basic/BasicArrowButton.java
15505 (BasicArrowButton): Should set 'focusable' to false.
15506 (BasicArrowButton): Should set 'focusable' to false.
15508 2006-06-15 Mark Wielaard <mark@klomp.org>
15510 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15511 (getGraphicsConfiguration): Return default screen device.
15512 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15514 (GtkVolatileImage): Record initiating component.
15515 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15516 (getDeviceConfiguration): Return configuration of image component.
15518 2006-06-15 Mark Wielaard <mark@klomp.org>
15520 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15523 2006-06-15 Mark Wielaard <mark@klomp.org>
15525 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15526 with null argument.
15528 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15530 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15531 (matches): Added explicit brackets to return statement.
15533 2006-06-15 Tania Bento <tbento@redhat.com>
15535 * javax/swing/JRadioButtonMenuItem.java
15536 (JRadioButtonMenuItem): Should set 'focusable' to false.
15538 2006-06-15 Tania Bento <tbento@redhat.com>
15540 * javax/swing/JCheckBoxMenuItem.java
15541 (JCheckBoxMenuItem): Should set 'focusable' to false.
15543 2006-06-15 Tania Bento <tbento@redhat.com>
15545 * javax/swing/AbstractButton.java:
15546 (AbstractButton): 'Focusable' should be set to true and not false.
15548 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15550 * java/lang/management/ManagementFactory.java:
15551 Add private constructor to prevent instance creation.
15552 * java/lang/management/ManagementPermission.java:
15555 2006-06-15 Francis Kung <fkung@redhat.com>
15557 * javax/swing/plaf/basic/BasicArrowButton.java:
15558 (BasicArrowButton): move client property for not triggering out
15560 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15561 (configureArrowButton): set client property for not triggering
15562 (installUI): set client property for not triggering
15563 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15564 (PopupHelper.mousePressed): check client property for triggering
15566 2006-06-15 Roman Kennke <kennke@aicas.com>
15569 * javax/swing/RepaintManager.java
15570 (blitBuffer): Substract coordinates the other way around.
15572 2006-06-15 Roman Kennke <kennke@aicas.com>
15575 * javax/swing/JComponent.java
15576 (paintImmediately2): Only paint component without double buffering
15577 when all of it's parents have also double buffering disabled.
15578 (isPaintingDoubleBuffered): New helper method.
15580 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15582 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15583 (draw(Shape)): Pass null transform to getPathIterator(),
15584 (getClip): Likewise,
15585 * gnu/java/print/PostscriptGraphics2D.java
15586 (drawStringShape): Pass null transform to getPathIterator(),
15587 (writeShape): Likewise,
15588 * java/awt/Shape.java: Small updates to API docs.
15590 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15592 * javax/naming/InitialContext.java:
15593 (list(javax.naming.Name)): Fixed generic type.
15594 (list(String)): Likewise.
15595 (listBindings(javax.naming.Name)): Likewise.
15596 (listBindings(String)): Likewise.
15598 2006-06-14 Roman Kennke <kennke@aicas.com>
15600 * javax/swing/plaf/basic/BasicComboBoxUI.java
15601 (getAccessibleChildrenCount): Implemented.
15602 (getAccessibleChild): Implemented.
15603 (isNavigationKey): Implemented.
15604 (KeyHandler.keyPressed): Implemented.
15606 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15608 * java/lang/management/ManagementPermission.java:
15609 Added serialization UID.
15610 * javax/management/Attribute.java: Likewise.
15611 * javax/management/MBeanException.java,
15612 * javax/management/ReflectionException.java:
15613 Added serialization UID and changed to extend
15614 javax.management.JMException.
15616 2006-06-14 Lillian Angel <langel@redhat.com>
15618 * java/awt/Component.java
15619 (ignoreOldMouseEvents): Made static.
15620 (translateEvent): Made static.
15621 * java/awt/TextComponent.java
15622 (ignoreOldMouseEvents): Made static.
15624 2006-06-14 Mark Wielaard <mark@klomp.org>
15626 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15628 (drawRect): Likewise.
15629 (fillRect): Likewise.
15631 2006-06-14 Lillian Angel <langel@redhat.com>
15633 * java/awt/Component.java
15634 (ignoreOldMouseEvents): New helper function.
15635 (translateEvent): Changed to be non-static and use new helper.
15636 * java/awt/TextComponent.java
15637 (ignoreOldMouseEvents): New helper function.
15639 2006-06-14 Roman Kennke <kennke@aicas.com>
15641 * javax/swing/RepaintManager.java
15642 (MERGE_REGIONS): New constant flag.
15643 (commitBuffer): Exclude the merging of regions by default. This
15644 was causing painting artifacts in some applications, especially
15645 when different areas of the GUI are updated synchronously.
15647 2006-06-14 Roman Kennke <kennke@aicas.com>
15649 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15650 New file. This is a benchmark for AWT 1.1 style graphics operations.
15651 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15652 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15654 2006-06-14 Tom Tromey <tromey@redhat.com>
15656 * java/io/File.java (getParent): Javadoc fix.
15658 2006-06-14 Tom Tromey <tromey@redhat.com>
15660 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15662 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15663 when index entry does not exist.
15665 2006-06-14 Tania Bento <tbento@redhat.com>
15667 * javax/swing/AbstractButton.java
15668 (AbstractButton): Set focusable to false, not true.
15670 2006-06-14 Tania Bento <tbento@redhat.com>
15672 * javax/swing/JMenuItem.java
15673 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15675 2006-06-14 Tania Bento <tbento@redhat.com>
15677 * javax/swing/JCheckBoxMenuItem.java
15678 (JCheckBoxMenuItem): Added check to set the selected state.
15680 2006-06-14 Roman Kennke <kennke@aicas.com>
15682 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15683 (cairoDrawLine): New native method.
15684 (cairoDrawRect): New native method.
15685 (cairoFillRect): New native method.
15686 (drawLine): Use special native method.
15687 (drawRect): Use special native method.
15688 (fillRect): Use special native method.
15689 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15690 (cairoDrawLine): New native method.
15691 (cairoDrawRect): New native method.
15692 (cairoFillRect): New native method.
15693 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15695 2006-06-14 Mark Wielaard <mark@klomp.org>
15697 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15698 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15699 cannot be allocated.
15701 2006-06-14 Tom Tromey <tromey@redhat.com>
15704 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15705 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15707 2006-06-14 Roman Kennke <kennke@aicas.com>
15709 * javax/swing/JComponent.java
15710 (isRepainting): New flag.
15711 (paintImmediately2): Set isRepainting flag.
15712 (getRoot): Removed obsolete method.
15713 (paintDoubleBuffered): Differenciate between paint calls from
15714 RepaintManager and from AWT refresh. Call
15715 RepaintManager.commitBuffer with this and local coordinates.
15716 (findOpaqueParent): Stop searching at heavyweight component. These
15718 (paintChildrenOptimized): Don't paint heavyweight children. These
15719 should care for themselves.
15720 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15721 should care for themselves.
15722 * javax/swing/RepaintManager.java
15723 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15725 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15726 toplevel windows only.
15727 (getRoot): Removed obsolete method.
15728 (commitBuffer): Blit buffer on nearest heavyweight.
15729 (blitBuffer): New helper method.
15730 (getHeavyweightParent): New helper method.
15731 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15732 * javax/swing/SwingUtilities.java
15733 (convertRectangleToAncestor): New helper method.
15735 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15737 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15738 Condition all trace/debug code based on Configuration.DEBUG.
15739 Use logger instead of STDOUT and ot STDERR.
15741 2006-06-13 Lillian Angel <langel@redhat.com>
15743 * native/plugin/gcjwebplugin.cc
15744 (NP_Initialize): Removed code to create whitelist file.
15745 (GCJ_New): Added code to create whitelist file.
15746 (plugin_user_trusts_documentbase): Fixed error message.
15748 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15750 * javax/swing/plaf/metal/MetalIconFactory.java
15751 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15752 prevent overwriting border,
15753 (VerticalSliderThumbIcon.gradientMask): Likewise.
15755 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15757 * javax/management/AttributeNotFoundException.java,
15758 * javax/management/InvalidAttributeValueException.java,
15759 * javax/management/JMException.java,
15760 * javax/management/MBeanException.java,
15761 * javax/management/OperationsException.java,
15762 * javax/management/ReflectionException.java:
15765 2006-06-13 Roman Kennke <kennke@aicas.com>
15767 * java/awt/Component.java
15768 (dispatchEvent): Handle events even when consumed (this might be
15769 picked up later in the dispatching chain).
15770 * javax/swing/plaf/basic/BasicLookAndFeel.java
15771 (PopupHelper.mousePressed): Don't consume event. Only close popup
15772 when target component isn't flagged as DONT_CANCEL_POPUP.
15773 (DONT_CANCEL_POPUP): New package private constant for flagging
15774 special components that don't trigger popup closing.
15775 * javax/swing/plaf/basic/BasicArrowButton.java
15776 (BasicArrowButton): Set client property for not triggering closing
15779 2006-06-13 Lillian Angel <langel@redhat.com>
15781 * java/awt/image/PixelGrabber.java
15782 (PixelGrabber): Added to API documentation.
15784 2006-06-13 Keith Seitz <keiths@redhat.com>
15786 From Kyle Galloway <kgallowa@redhat.com>:
15787 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15788 (ExceptionOnlyFilter): Allow null refId.
15790 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15791 compatibility with filters.
15792 (getParameter): Modified to allow access to above.
15794 2006-06-13 Sven de Marothy <sven@physto.se>
15796 * gnu/java/awt/peer/gtk/CairoSurface.java
15797 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15798 (create): Use stride in ints.
15800 2006-06-13 Keith Seitz <keiths@redhat.com>
15802 From Kyle Galloway <kgallowa@redhat.com>:
15803 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15805 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15807 * javax/swing/plaf/basic/BasicSliderUI.java
15808 (calculateThumbSize): Removed unnecessary code,
15809 (calculateThumbLocation): Shift position by one,
15810 (calculateTickRect): Shift position by one when ticks are displayed,
15811 (calculateLabelRect): Calculate rect differently according to whether
15812 or not the labels are visible,
15813 (paintTrack): Shift track down one pixel.
15815 2006-06-13 Lillian Angel <langel@redhat.com>
15817 * java/awt/image/PixelGrabber.java
15818 (PixelGrabber): Removed check to throw exception. JDK does
15820 (startGrabbing): Removed line to print stacktrace.
15822 2006-06-13 Mark Wielaard <mark@klomp.org>
15824 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15825 allocate unused AffineTransform. Add comment about conversion to
15827 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15828 Recognize identity transform as "easy". Always convert to
15829 BufferedImage before calling super.
15831 2006-06-13 Roman Kennke <kennke@aicas.com>
15833 * java/awt/Component.java
15834 (getGraphics): Translate child graphics correctly.
15835 (dispatchEvent): Only dispatch event if it hasn't been consumed
15836 yet by the global dispatcher.
15837 * javax/swing/plaf/basic/BasicLookAndFeel.java
15838 Added some API docs.
15839 (PopupHelper.mousePressed): Consume the event after closing
15842 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15844 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15846 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15847 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15848 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15849 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15850 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15851 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15852 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15853 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15854 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15855 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15856 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15857 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15858 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15859 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15860 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15861 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15863 2006-06-12 Sven de Marothy <sven@physto.se>
15865 * java/awt/font/LineBreakMeasurer.java): Implement.
15867 2006-06-12 Keith Seitz <keiths@redhat.com>
15869 From Kyle Galloway <kgallowa@redhat.com>:
15870 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15872 2006-06-12 Keith Seitz <keiths@redhat.com>
15874 From Kyle Galloway <kgallowa@redhat.com>:
15875 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15877 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15879 2006-06-12 Roman Kennke <kennke@aicas.com>
15881 * javax/swing/JComponent.java
15882 (paintDoubleBuffered): Correctly translate and clip the Graphics
15884 (clipAndTranslateGraphics): New helper method.
15886 2006-06-12 Roman Kennke <kennke@aicas.com>
15888 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15889 (copy): Use getClip() to copy the clip. Make copied transform
15890 null when original transform is null. Set clip here.
15891 (setTransform): Correctly update the clip.
15892 (setTransformImpl): New method. Updates the actual transform for
15894 (transform): Correctly update the clip.
15895 (translate): Correctly update the clip.
15896 (clip): Handle null clip and argument correctly.
15897 (clipRect): Avoid creating new Rectangle objects.
15898 (getClip): Get the correct copy of the clip.
15899 (setClip): Correctly handle null argument.
15900 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15901 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15902 be null or whatever has been set in copy().
15903 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15904 (drawImage): Add translation to the image coordinates.
15905 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15906 (VolatileImageGraphics): Don't set clip here. The clip can either
15907 be null or whatever has been set in copy().
15909 2006-06-12 Keith Seitz <keiths@redhat.com>
15911 From Kyle Galloway <kgallowa@redhat.com>:
15912 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15913 (forCaught): Removed unused/unnecessary method.
15914 (forUncaught): Likewise.
15915 (matches): Implement.
15917 2006-06-12 Keith Seitz <keiths@redhat.com>
15919 From Kyle Galloway <kgallowa@redhat.com>:
15920 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15922 2006-06-12 Keith Seitz <keiths@redhat.com>
15924 From Kyle Galloway <kgallowa@redhat.com>:
15925 * gnu/classpath/jdwp/event/Event.java: Added constants for
15927 (getParameter): Changed parameter type from Class to int.
15928 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15929 Changed from Class type to constants.
15930 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15932 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15934 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15936 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15938 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15940 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15942 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15944 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15946 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15949 2006-06-12 Lillian Angel <langel@redhat.com>
15951 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15952 (StandaloneAppletWindow): Changed title of standalone window.
15954 2006-06-12 Lillian Angel <langel@redhat.com>
15956 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15957 (layoutContainer): Added missing selectedComponent assignment.
15959 2006-06-12 Lillian Angel <langel@redhat.com>
15961 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15962 (layoutContainer): Added check to prevent exception.
15964 2006-06-12 Tom Tromey <tromey@redhat.com>
15966 * java/lang/Thread.java (uncaughtException): Javadoc fix.
15968 2006-06-12 Mark Wielaard <mark@klomp.org>
15970 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15973 (lock): New method.
15974 (unlock): Likewise.
15975 (draw): Use lock() and unlock().
15977 (drawRenderedImage): Likewise.
15978 (drawImage): Likewise.
15979 (drawGlyphVector): Likewise.
15981 2006-06-12 Roman Kennke <kennke@aicas.com>
15983 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15984 (drawPixels): Include alpha in parameter list.
15985 (cairoFill): Include alpha in parameter list.
15986 (setComposite): Don't modify the color.
15987 (draw(Shape))): Use fill when the current composite has an alpha
15988 of != 1.0, so that the stroked shaped will be composited.
15989 (fill(Shape)): Call cairoFill() with alpha.
15990 (drawImage): Call drawPixels or drawSurface with alpha.
15991 (drawGlyphVector): When composite alpha is != 1.0, render the
15992 outline using fill() to enable compositing for text.
15993 (drawRaster): Call drawPixels with alpha.
15994 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15995 (nativeDrawSurface): Include alpha in parameter list.
15996 (drawSurface): Include alpha in parameter list. Pass it to
15997 nativeDrawSurface().
15998 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15999 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16001 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16002 (drawPixels): Handle possible alpha for compositing.
16003 (cairoFill): Likewise.
16004 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16005 (nativeDrawSurface): Handle possible alpha for compositing.
16007 2006-06-12 Mark Wielaard <mark@klomp.org>
16009 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16010 Notify data when completely done. Wait for worker thread to finish.
16011 Rethrow any pending exceptions.
16012 (exception): New field.
16013 (run): Store pending exception.
16015 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16017 * java/lang/management/ManagementPermission.java:
16020 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16022 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16024 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16026 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16027 Use String.charAt().
16029 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16031 * doc/tools.texinfo
16032 (Applet Tools): New chapter.
16033 (appletviewer Tool): New section.
16034 (gcjwebplugin): New section.
16036 2006-06-11 Mark Wielaard <mark@klomp.org>
16038 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16039 Takes GdkPixbufWriter.
16040 (GdkPixbufWriter): Implements Runnable.
16041 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16043 (DATADONE): New static final field.
16045 (write(byte[])): New method.
16047 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16048 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16049 Get dataOutputWriteID from writeClass.
16050 (stream_save_request): Change stream field to writer.
16051 (save_to_stream): Remove FIXME, call writer.
16052 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16055 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16058 Mention new VM interface and use of properties.
16059 * doc/vmintegration.texinfo:
16060 Update with new gnu.java.lang.management section.
16061 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16063 * java/lang/management/ManagementFactory.java:
16064 (getRuntimeMXBean()): Implemented.
16065 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16066 New VM interface file.
16068 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16071 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16072 debug code based on Configuration.DEBUG.
16073 Use logger instead of STDOUT and ot STDERR.
16074 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16075 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16076 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16077 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16078 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16079 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16080 * gnu/javax/crypto/pad/TBC.java: Likewise.
16081 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16082 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16083 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16084 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16085 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16086 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16087 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16088 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16089 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16090 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16091 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16092 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16093 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16094 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16095 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16096 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16097 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16098 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16099 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16100 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16101 * gnu/java/security/Properties.java: Likewise.
16102 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16103 * gnu/java/security/x509/X509CRL.java: Likewise.
16104 * gnu/java/security/x509/ext/Extension.java: Likewise.
16105 * gnu/java/security/util/Prime2.java: Likewise.
16106 * gnu/java/security/util/Base64.java: Likewise.
16107 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16108 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16109 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16110 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16111 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16112 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16113 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16114 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16115 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16116 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16117 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16118 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16119 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16120 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16121 * gnu/java/security/hash/Whirlpool.java: Likewise.
16123 2006-06-11 Mark Wielaard <mark@klomp.org>
16125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16126 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16127 Remove unused variable glyph_index.
16129 2006-06-11 Mark Wielaard <mark@klomp.org>
16131 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16132 Don't recurse, return false if not an BufferedImage and no image
16134 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16135 end_gdk_drawing() to finally block.
16137 (drawRenderedImage): Likewise.
16138 (drawImage): Likewise.
16139 (drawGlyphVector): Likewise.
16141 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16143 * doc/tools.texinfo: Added text for new -cacert command.
16144 Re-structured sections.
16145 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16146 for -cacert command.
16147 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16148 (_CACERT): Likewise.
16149 (shutdownThread): New field.
16150 (Main): Install shutdown thread.
16151 (main): Uninstall shutdown thread.
16152 (start): Handle new -cacert command.
16153 (getParser): Likewise.
16154 (teardown): Increased visibility.
16155 (ShutdownHook): New inner class.
16156 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16158 2006-06-11 Sven de Marothy <sven@physto.se>
16160 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16161 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16162 (getOutline): Operate on the shape directly.
16163 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16164 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16165 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16166 (getGlyph renamed getGlyphs)
16167 * java/awt/geom/AffineTransform.java
16168 (getTranslateInstance): Set fields directly.
16169 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16170 (getGlyphs): Get all glyph codes at once.
16172 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16175 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16177 2006-06-11 Sven de Marothy <sven@physto.se>
16179 * java/awt/font/TextLayout.java
16180 (getLogicalHighlightShape): Add check.
16181 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16182 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16184 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16186 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16187 Check that every component of 'cn' starts with a valid Java identifier char.
16189 2006-06-10 Tom Tromey <tromey@redhat.com>
16191 * java/io/File.java (pathSeparator): Typo fix.
16193 2006-06-10 Mark Wielaard <mark@klomp.org>
16195 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16197 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16198 Mark all unused parameters.
16199 (cp_gtk_get_cairo_t): Removed.
16200 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16201 Don't mix declerations and statements.
16202 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16203 Mark all unused parameters.
16204 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16205 Get cairographics2d pointer directly.
16206 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16207 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16208 Use jlong to pass pointer.
16209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16210 Mark all unused parameters.
16211 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16212 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16213 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16214 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16215 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16216 * include/java_io_VMFile.h: Regenerated.
16218 2006-06-10 Roman Kennke <kennke@aicas.com>
16220 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16221 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16222 instead of setClip(), so that an already present clip is intersected
16225 2006-06-10 Mark Wielaard <mark@klomp.org>
16227 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16228 Call getSize() to avoid accessor method.
16230 2006-06-10 Mark Wielaard <mark@klomp.org>
16232 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16233 Qualify ElementSpec.
16235 2006-06-10 Mark Wielaard <mark@klomp.org>
16237 * lib/.cvsignore: Add sun.
16238 * lib/Makefile.am (dist-hook): Likewise.
16240 2006-06-10 Roman Kennke <kennke@aicas.com>
16242 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16243 * gnu/java/awt/peer/gtk/CairoSurface.java
16244 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16245 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16246 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16247 * native/jni/gtk-peer/cairographics2d.h
16248 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16249 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16250 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16251 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16252 Changed method signatures and calls to pass native pointers directly
16253 into the JNI code, in order to avoid costly lookups on each
16255 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16256 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16257 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16258 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16261 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16264 * javax/swing/text/DefaultStyledDocument.java
16265 (ElementBuffer.insertContentTag):
16266 Do not recreate leaves and do not remove elements here.
16268 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16270 * javax/swing/text/html/HTMLDocument.java
16271 (HTMLReader.HiddenAction): Implemented.
16273 2006-06-10 Roman Kennke <kennke@aicas.com>
16275 * javax/swing/RepaintManager.java
16276 (getVolatileOffscreenBuffer): Store the created buffer.
16277 * javax/swing/JComponent.java
16278 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16279 for better performance.
16281 2006-06-10 Roman Kennke <kennke@aicas.com>
16283 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16284 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16286 (getRealBounds): Overridden to return the correct bounds.
16288 2006-06-10 Roman Kennke <kennke@aicas.com>
16290 * javax/swing/plaf/metal/MetalButtonUI.java
16291 (update): Fixed to paint the gradient under the correct conditions.
16292 (updateWidthGradient): Removed.
16293 (isToolbarButton): New helper method.
16294 (isDrawingGradient): New helper method.
16296 2006-06-09 Roman Kennke <kennke@aicas.com>
16298 * javax/swing/JTabbedPane.java
16299 (setSelectedIndex): Don't change the visibility of the components,
16300 this is done by the UI class.
16301 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16302 (TabbedPaneLayout.layoutContainer): Change visibility of component
16303 here, depending on the selected index. Only do this if the new
16304 selected component is not null. Some programs seem to expect
16306 (visibleComponent): New field.
16307 (getVisibleComponent): Changed to return visibleComponent field.
16308 (setVisibleComponent): Changed to set the visibility of
16309 the old and new visible component.
16311 2006-06-09 Roman Kennke <kennke@aicas.com>
16313 * javax/swing/JComponent.java
16314 (paintChildrenOptimized): Paint component with a new Graphics
16315 object to protect the other painting code from modifications
16316 done in that object, and avoid cleanup ops on possibly dispose()ed
16319 2006-06-09 Sven de Marothy <sven@physto.se>
16321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16322 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16323 Use GTK locks while disposing (Xlib) surface.
16325 2006-06-09 Tom Tromey <tromey@redhat.com>
16327 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16328 (uninstall-local): Delete 'sun' directory.
16329 (glibj.zip): Include 'sun' classes.
16330 (clean-local): Delete 'sun' directory.
16331 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16333 2006-06-09 Roman Kennke <kennke@aicas.com>
16335 * gnu/java/awt/java2d/AbstractGraphics2D.java
16336 (drawImage): Fixed scaling.
16337 (fillShape): Removed offset handling.
16338 (fillShapeImpl): Limit scanlining to device bounds.
16339 (getSegments): Removed offset handling.
16340 * gnu/java/awt/java2d/PolyEdge.java
16341 (toString): Include isClip flag in output.
16343 2006-06-08 Sven de Marothy <sven@physto.se>
16345 * java/awt/font/TextLayout.java
16346 (getOutline): Allow null transform.
16348 2006-06-08 Sven de Marothy <sven@physto.se>
16350 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16351 (drawString): Use TextLayout instead of GlyphVector.
16353 2006-06-08 Sven de Marothy <sven@physto.se>
16355 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16356 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16357 New constructor for bidirectionality.
16358 (getGlyphMetrics): Return whitespace glyphs.
16359 (getLogicalBounds): Offset rectangles to correct positions.
16360 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16361 (getBaselineFor): Default to ROMAN_BASELINE.
16362 (GdkFontLineMetrics): Guess some values for underline and
16364 (layoutGlyphVector): Use bidirectionality.
16365 * java/awt/font/TextLayout.java: Implement, mostly.
16367 2006-06-09 Anthony Green <green@redhat.com>
16369 PR classpath/27888:
16370 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16371 * java/util/Collections.java (binarySearch): Use unsigned shift.
16372 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16374 2006-06-09 Tom Tromey <tromey@redhat.com>
16376 * tools/.cvsignore: Added .deps.
16378 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16380 PR classpath/27966:
16381 * gnu/javax/security/auth/login/ConfigFileParser.java
16382 (validateClassName): Quote '.' in regexp.
16384 2006-06-09 Tom Tromey <tromey@redhat.com>
16386 PR classpath/23863:
16387 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16389 * native/fdlibm/mprec.c: New version from newlib. Commented out
16390 some includes. Added <assert.h>.
16391 (_reent, _Bigint): New defines.
16392 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16393 (__ULong, __Long): New types.
16394 (_calloc_r): New function.
16395 (Balloc): Dynamically add new _freelist entries as needed.
16396 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16397 MAX_BIGNUMS to size _x[].
16398 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16399 _allocation_map, num. Added _max_k.
16401 2006-06-09 Roman Kennke <kennke@aicas.com>
16403 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16404 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16407 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16409 * java/awt/image/BufferedImage.java
16410 (BufferedImage(int, int, int)): Added API docs,
16411 (getProperty(String)): Return correct value for undefined properties,
16412 (getPropertyNames()): Added comments and removed FIXME.
16414 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16416 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16417 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16419 2006-06-09 Francis Kung <fkung@redhat.com>
16421 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16422 (getPreferredSize): Return correct height for null or empty
16425 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16427 * java/awt/datatransfer/DataFlavor.java
16428 (readExternal): Mark as stub,
16429 (writeExternal): Likewise,
16430 * java/awt/dnd/DropTargetContext.java
16431 (dropComplete): Mark as stub,
16432 (acceptDrag): Likewise,
16433 (rejectDrag): Likewise,
16434 (acceptDrop): Likewise,
16435 (rejectDrop): Likewise,
16436 (getCurrentDataFlavors): Likewise,
16437 (getTransferable): Likewise,
16438 * java/awt/dnd/DropTargetDropEvent.java
16439 (dropComplete): Mark as stub.
16441 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16443 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16444 (constructor): Do not lowercase the values.
16445 * javax/swing/text/html/HTMLDocument.java
16446 (HTMLReader.addSpecialElement): Implemented.
16447 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16449 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16451 On behalf of Matthew Wringe <mwringe@redhat.com>
16452 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16453 * gnu/javax/crypto/pad/ISO10126.java: New class.
16454 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16455 (getInstance): Added support for ISO-10126 scheme.
16456 (getNames): Likewise.
16457 Cache result for speed.
16459 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16461 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16462 flexible self-test by sub-classes.
16463 (test1BlockSize): New method.
16465 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16467 * javax/swing/plaf/basic/BasicLookAndFeel.java
16468 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16469 * javax/swing/plaf/basic/BasicScrollBarUI.java
16470 (installKeyboardActions): Implemented,
16471 (uninstallKeyboardActions): Implemented,
16472 (getInputMap): New method,
16473 (getActionMap): New method,
16474 (createActionMap): New method,
16475 (installUI): Call installKeyboardActions(),
16476 (uninstallUI): Call uninstallKeyboardActions().
16478 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16480 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16481 (getActionMap): Use correct key to store action map.
16483 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16485 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16486 (executeInstruction): Added NOT support.
16488 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16490 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16493 2006-06-08 Tom Tromey <tromey@redhat.com>
16495 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16498 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16500 * java/lang/management/RuntimeMXBean.java:
16503 2006-06-08 Lillian Angel <langel@redhat.com>
16505 * native/plugin/gcjwebplugin.cc:
16506 (NP_Shutdown): Freed whitelist_filename.
16508 2006-06-08 Lillian Angel <langel@redhat.com>
16510 * native/plugin/Makefile.am:
16511 Removed DATA_DIRECTORY.
16512 * native/plugin/gcjwebplugin.cc:
16513 Added new global fields for whitelist_file
16514 and data_directory. Removed WHITELIST_FILE.
16515 (NP_Initialize): Initialized new fields. Also,
16516 Changed to use new fields.
16517 (NP_Shutdown): Freed data_directory.
16518 (GCJ_New): Changed to use new fields.
16519 (plugin_ask_user_about_documentbase): Likewise.
16521 2006-06-08 Lillian Angel <langel@redhat.com>
16523 * native/plugin/Makefile.am:
16524 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16525 * native/plugin/gcjwebplugin.cc:
16526 Changed all instances of PLUGIN_DATA_DIRECTORY
16529 2006-06-08 Roman Kennke <kennke@aicas.com>
16531 * java/awt/LightweightDispatcher.java
16532 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16533 with convertPointToChild(). This is more efficient and avoids
16534 problems with getLocationOnScreen().
16535 (findTarget): Check for component beeing showing() early.
16536 Simplified AWTUtilities.convertPoint() to a simple substraction
16538 (convertPointToChild): New helper method.
16540 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16542 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16545 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16546 Lillian Angel <langel@redhat.com>
16548 * native/plugin/gcjwebplugin.cc
16549 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16550 Also, reset initialized field.
16552 2006-06-08 Lillian Angel <langel@redhat.com>
16554 * javax/swing/plaf/basic/BasicProgressBarUI.java
16555 (paintString): Fixed to paint string at the correct location.
16557 2006-06-08 Roman Kennke <kennke@aicas.com>
16559 * javax/swing/plaf/basic/BasicTreeUI.java
16560 (createDefaultActions): Added new actions.
16561 (TreePageAction.TreePageAction): Set action name.
16562 (TreePageAction.actionPerformed): Implemented.
16563 (TreePageAction.isEnabled): Implemented.
16564 (TreeToggleAction.TreePageAction): Set action name.
16565 (TreeToggleAction.actionPerformed): Implemented.
16566 (TreeToggleAction.isEnabled): Implemented.
16567 (TreeTraverseAction.TreeTraverseAction): Set action name.
16568 (TreeTraverseAction.actionPerformed): Use action name as command.
16569 (TreeTraverseAction.isEnabled): Implemented.
16571 2006-06-08 Roman Kennke <kennke@aicas.com>
16573 * javax/swing/plaf/basic/BasicTreeUI.java
16574 (installKeyboardActions): Rewritten to correctly install the UI
16575 input and action maps.
16576 (getActionMap): New helper method.
16577 (createDefaultActionMap): New helper method.
16578 (TreeHomeAction.TreeHomeAction()): Implemented.
16579 (TreeHomeAction.actionPerformed): Implemented.
16580 (TreeHomeAction.isEnabled): Implemented.
16581 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16582 (TreeIncrementAction.actionPerformed): Use action name as command.
16583 (TreeIncrementAction.isEnabled): Implemented.
16585 2006-06-08 Mark Wielaard <mark@klomp.org>
16588 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16589 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16592 2006-06-08 Mark Wielaard <mark@klomp.org>
16594 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16595 (attrs): Removed unused static.
16597 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16599 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16600 (getInputMap): New method,
16601 (getActionMap): New method,
16602 (createActionMap): New method,
16603 (installKeyboardActions): Implemented,
16604 (uninstallKeyboardActions): Implemented.
16606 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16608 * javax/swing/border/MatteBorder.java:
16609 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16611 (paintBorder): Added if-statement to abort painting early.
16613 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16616 * gnu/xml/dom/DomIterator.java:
16617 (successor): Changed expression.
16619 2006-06-08 Sven de Marothy <sven@physto.se>
16621 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16622 (defaultLayout): Do kerning.
16623 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16624 (getKerning): Correct class name, removed unused variable.
16626 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16628 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16629 libqtpeer.so unconditionally.
16631 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16633 * java/util/InputMismatchException.java:
16636 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16638 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16640 2006-06-07 Roman Kennke <kennke@aicas.com>
16642 * javax/swing/plaf/basic/BasicTreeUI.java
16643 (completeUIUninstall): Implemented.
16644 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16645 editing before uninstalling anything.
16646 (isToggleEvent): Implemented.
16647 (selectPathForEvent): Make use of isToggleEvent().
16648 (ComponentHandler.componentMoved): Implemented.
16649 (ComponentHandler.startTimer): Implemented.
16650 (ComponentHandler.getScrollPane): Implemented.
16651 (ComponentHandler.actionPerformed): Implemented.
16653 2006-06-07 Francis Kung <fkung@redhat.com>
16655 * javax/swing/JMenuBar.java:
16656 (getSubElements): Do not return null values.
16658 2006-06-07 Roman Kennke <kennke@aicas.com>
16661 * gnu/regexp/BacktrackStack.java
16662 * gnu/regexp/CharIndexed.java
16663 * gnu/regexp/CharIndexedCharArray.java
16664 * gnu/regexp/CharIndexedCharSequence.java
16665 * gnu/regexp/CharIndexedInputStream.java
16666 * gnu/regexp/CharIndexedString.java
16667 * gnu/regexp/CharIndexedStringBuffer.java
16668 * gnu/regexp/RE.java
16669 * gnu/regexp/REException.java
16670 * gnu/regexp/REFilterInputStream.java
16671 * gnu/regexp/REMatch.java
16672 * gnu/regexp/REMatchEnumeration.java
16673 * gnu/regexp/RESyntax.java
16674 * gnu/regexp/REToken.java
16675 * gnu/regexp/RETokenAny.java
16676 * gnu/regexp/RETokenBackRef.java
16677 * gnu/regexp/RETokenChar.java
16678 * gnu/regexp/RETokenEnd.java
16679 * gnu/regexp/RETokenEndOfPreviousMatch.java
16680 * gnu/regexp/RETokenEndSub.java
16681 * gnu/regexp/RETokenIndependent.java
16682 * gnu/regexp/RETokenLookAhead.java
16683 * gnu/regexp/RETokenLookBehind.java
16684 * gnu/regexp/RETokenNamedProperty.java
16685 * gnu/regexp/RETokenOneOf.java
16686 * gnu/regexp/RETokenPOSIX.java
16687 * gnu/regexp/RETokenRange.java
16688 * gnu/regexp/RETokenRepeated.java
16689 * gnu/regexp/RETokenStart.java
16690 * gnu/regexp/RETokenWordBoundary.java
16691 * gnu/regexp/UncheckedRE.java
16692 * gnu/java/util/regex/BacktrackStack.java
16693 * gnu/java/util/regex/CharIndexed.java
16694 * gnu/java/util/regex/CharIndexedCharArray.java
16695 * gnu/java/util/regex/CharIndexedCharSequence.java
16696 * gnu/java/util/regex/CharIndexedInputStream.java
16697 * gnu/java/util/regex/CharIndexedString.java
16698 * gnu/java/util/regex/CharIndexedStringBuffer.java
16699 * gnu/java/util/regex/RE.java
16700 * gnu/java/util/regex/REException.java
16701 * gnu/java/util/regex/REFilterInputStream.java
16702 * gnu/java/util/regex/REMatch.java
16703 * gnu/java/util/regex/REMatchEnumeration.java
16704 * gnu/java/util/regex/RESyntax.java
16705 * gnu/java/util/regex/REToken.java
16706 * gnu/java/util/regex/RETokenAny.java
16707 * gnu/java/util/regex/RETokenBackRef.java
16708 * gnu/java/util/regex/RETokenChar.java
16709 * gnu/java/util/regex/RETokenEnd.java
16710 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16711 * gnu/java/util/regex/RETokenEndSub.java
16712 * gnu/java/util/regex/RETokenIndependent.java
16713 * gnu/java/util/regex/RETokenLookAhead.java
16714 * gnu/java/util/regex/RETokenLookBehind.java
16715 * gnu/java/util/regex/RETokenNamedProperty.java
16716 * gnu/java/util/regex/RETokenOneOf.java
16717 * gnu/java/util/regex/RETokenPOSIX.java
16718 * gnu/java/util/regex/RETokenRange.java
16719 * gnu/java/util/regex/RETokenRepeated.java
16720 * gnu/java/util/regex/RETokenStart.java
16721 * gnu/java/util/regex/RETokenWordBoundary.java
16722 * gnu/java/util/regex/UncheckedRE.java
16723 Moved gnu.regexp classes to gnu.java.util.regex package.
16724 * java/util/regex/Matcher.java
16725 * java/util/regex/Pattern.java
16726 Adjusted import statements for new package name for gnu regexp.
16728 2006-06-07 Tom Tromey <tromey@redhat.com>
16730 PR classpath/27905:
16731 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16732 Added missing charsets.
16733 (charsetForName): Don't check 'extendedLoaded'.
16735 2006-06-07 Roman Kennke <kennke@aicas.com>
16738 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16739 (clip(Shape)): Implemented correctly, so that the current shape
16740 gets intersected by the parameter shape.
16742 2006-06-07 Lillian Angel <langel@redhat.com>
16744 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16745 (getTabBounds): If this method is called with a tab index
16746 that is not in the rects array, we need to re-layout the container
16749 2006-06-07 Lillian Angel <langel@redhat.com>
16751 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16752 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16753 * java/lang/String.java
16754 (codePointCount): Fixed check to match API. Shouldn't throw exception
16755 if end == count. end is 1 more than the endIndex, so end == count is
16758 2006-06-07 Gary Benson <gbenson@redhat.com>
16761 * native/jni/java-io/java_io_VMFile.c
16762 (Java_java_io_VMFile_toCanonicalForm): New method.
16763 * configure.ac: Added checks for lstat and readlink.
16764 * include/java_io_VMFile.h: Added new method.
16765 * vm/reference/java/io/VMFile.java: Use new method.
16766 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16767 * NEWS: Documented the above.
16768 * java/io/File.java: Javadoc fix.
16770 2006-06-07 Roman Kennke <kennke@aicas.com>
16773 * javax/swing/JTree.java
16774 (JTree()): Initialize with default model.
16775 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16776 on the updateUI() / setModel() order.
16777 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16779 * javax/swing/plaf/basic/BasicTreeUI.java
16780 (BasicTreeUI()): Initialize listeners in installListeners().
16781 (setModel): Complete editing on model change. Correctly resetup
16782 the listeners. Update the layout cache accordingly.
16783 (setShowRootHandles): Complete editing and update layout. Do not
16784 call back into the JTree, this could cause cycles.
16785 (prepareForUIInstall): Implemented. Moved some init code from
16786 installUI() to this method.
16787 (completeUIInstall): Implemented. Moved some init code from
16788 installUI() to this method.
16789 (createDefaultCellEditor): Check for type of renderer, and install
16790 with null renderer when not DefaultTreeCellRenderer.
16791 (updateLayoutCacheExpandedNodes): Added null check for tree root
16793 (updateRenderer): Call updateEditor().
16794 (installListeners): Initialize the listeners here. Added some null
16795 checks to avoid NPEs.
16796 (installUI): Moved some init code to prepareForUIInstall() and
16797 completeUIInstall().
16798 (completeEditing): Return immediately if editing component is null
16799 or if the setting is to not stop editing on complete editing.
16800 (checkForClickInExpandControl): Call handleExpandControlClick()
16801 instead of toggleExpandState() directly.
16802 (isLocationInExpandControl): Rewritten to correctly determine the
16803 expand click location.
16804 (MouseHandler.mousePressed): Rewritten to make better use of the
16805 instance methods of BasicTreeUI to handle the click.
16806 (PropertyHandler.propertyChange): Handle model and cell renderer
16808 * javax/swing/tree/DefaultTreeCellEditor.java
16809 (DefaultTreeCellEditor): Removed initialization of the icon. This
16810 is done so that the constructor can deal with null renderer as the
16811 RI does. Maybe this needs more fixing.
16812 * javax/swing/tree/TreePath.java
16813 (isDescendant): Fixed this method. The previous version did too
16814 much and compared the wrong things, which lead to a ClassCastException
16816 * javax/swing/tree/VariableHeightLayoutCache.java
16817 (update): Do nothing when model is null.
16818 (setModel): Clear the tables and update the layout. Added null
16819 check to prevent NPE.
16821 2006-06-07 Sven de Marothy <sven@physto.se>
16823 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16825 2006-06-07 Sven de Marothy <sven@physto.se>
16827 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16828 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16829 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16832 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16833 (getGlyphVector): Removed native method.
16834 (createGlyphVector, getStringBounds): Use new GV class.
16836 * include/Makefile.am
16837 * native/jni/gtk-peer/Makefile.am
16840 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16841 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16842 (getGlyphVector): Removed native method.
16844 2006-06-07 Chris Burdess <dog@gnu.org>
16846 * gnu/classpath/debug/TeeInputStream.java,
16847 gnu/classpath/debug/TeeOutputStream.java,
16848 gnu/classpath/debug/TeeReader.java,
16849 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16850 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16851 read more characters than absolutely necessary in tryRead method.
16853 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16855 * examples/gnu/classpath/examples/swing/Demo.java:
16856 (mkMenuBar): Put look and feel radio buttons into
16857 appropriate button group.
16859 2006-06-07 Chris Burdess <dog@gnu.org>
16861 * gnu/xml/stream/SAXParser.java,
16862 gnu/xml/stream/XMLParser.java: Add command line options for setting
16863 parsing parameters (for simpler debugging).
16864 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16865 closing output stream is propagated to application.
16867 2006-06-06 Mark Wielaard <mark@klomp.org>
16870 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16871 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16872 call disposeSurface.
16873 (disposeSurface): New native method.
16874 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16875 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16877 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16878 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16879 cairo_pattern_destroy.
16880 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16881 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16882 New function to destroy the surface.
16883 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16884 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16885 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16887 2006-06-06 Mark Wielaard <mark@klomp.org>
16889 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16892 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16894 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16895 (paint): If has focus, paint special background color,
16896 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16897 (FocusHandler.focusGained): Implemented,
16898 (FocusHandler.focusLost): Implemented.
16900 2006-06-06 Tom Tromey <tromey@redhat.com>
16902 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16904 (writeAttributeSet): Implemented.
16906 2006-06-06 Tom Tromey <tromey@redhat.com>
16908 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16910 (SpecialAction.end): Removed.
16911 (IsindexAction.end): Likewise.
16913 2006-06-06 Tom Tromey <tromey@redhat.com>
16915 * include/jni.h (JDK1_1InitArgs): New struct.
16916 (JDK1_1AttachArgs): Likewise.
16918 2006-06-06 Tom Tromey <tromey@redhat.com>
16920 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16922 (getUnresolvedName): New method.
16923 (getUnresolvedActions): New method.
16924 (getUnresolvedCerts): New method.
16926 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16928 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16929 (getColor): Removed debugging code.
16931 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16933 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16934 (getColor): Added support for "rgb(red, green, blue)" notation.
16935 (translateTag): Use Boolean.TRUE, not new Boolean().
16937 2006-06-06 Roman Kennke <kennke@aicas.com>
16940 * javax/swing/JTree.java
16941 (JTree(TreeModel)): Call updateUI() before setModel().
16942 (setModel): Don't call updateUI here.
16944 2006-06-06 Lillian Angel <langel@redhat.com>
16946 * native/plugin/gcjwebplugin.cc:
16947 Fixed failure message and commenting.
16948 (NP_Initialize): Added more comments.
16950 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16952 * javax/swing/JSplitPane.java
16953 (AccessibleJSplitPane): API doc fixes,
16954 (setDividerLocation): Likewise,
16955 * javax/swing/plaf/basic/BasicLookAndFeel.java
16956 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16957 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16958 (getInputMap): New method,
16959 (getActionMap): New method,
16960 (createActionMap): New method,
16961 (installKeyboardActions): Implemented,
16962 (uninstallKeyboardActions): Implemented.
16964 2006-06-06 Roman Kennke <kennke@aicas.com>
16967 * javax/swing/MenuSelectionManager.java
16968 (processKeyEvent): Added check to avoid
16969 ArrayIndexOutOfBoundsException.
16971 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16973 * gnu/javax/swing/text/html/htmlAttributeSet.java
16974 (getAttributeNames): Rewritten
16976 2006-06-06 Chris Burdess <dog@gnu.org>
16978 * gnu/xml/transform/TransformerImpl.java: Check type of created
16979 document (more cases).
16981 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16983 * gnu/javax/swing/text/html/htmlAttributeSet.java
16984 (clone): New method. (copyAttributes): New method.
16985 (getResolveParent): Comment fix. (getAttribute):
16986 Rewritten. (addAttribute): Rewritten.
16987 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16990 2006-06-06 Roman Kennke <kennke@aicas.com>
16993 * javax/swing/JMenuBar.java
16994 (processKeyBindingHelper): Added null check to prevent NPE.
16996 2006-06-06 Roman Kennke <kennke@aicas.com>
16998 * javax/swing/plaf/basic/BasicInternalFrameUI.java
16999 (ShowSystemMenuAction): New class.
17000 (installKeyboardActions): Implemented.
17001 (uninstallKeyboardActions): Implemented.
17002 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17003 (installKeyboardActions): Overridden to remove showSystemMenu action.
17005 2006-06-06 Chris Burdess <dog@gnu.org>
17007 * gnu/xml/transform/TransformerImpl.java: Check type of created
17010 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17012 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17013 (getScreenDevices): Added explicit cast.
17015 2006-06-06 Roman Kennke <kennke@aicas.com>
17017 * javax/swing/plaf/basic/BasicTextUI.java
17018 (installKeyboardActions): Use shared input map. Correctly
17019 install the input/action maps in the component's input/action
17021 (getActionMap): New helper method for fetching an ActionMap from
17022 the UIManager or creating a default one if there is none supplied
17024 (createActionMap): Add the TransferHandler's actions here. Made
17026 (getInputMap): Leave out unnecessary method parameter. Load
17028 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17030 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17032 * configure.ac: Added missing [ to expression.
17034 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17036 * configure.ac: Added missing { to expression.
17038 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17040 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17041 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17042 * include/Makefile.am: Added
17043 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17044 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17045 (GdkGraphicsConfiguration): Rewritten.
17046 (getColorModel): Rewritten.
17047 (getColorModel(int)): Rewritten.
17048 (getBounds): Rewritten.
17049 (createCompatibleVolatileImage): Implemented.
17050 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17052 (getDefaultScreenDevice): Rewritten.
17053 (nativeGetDefaultScreenDevice): New method.
17054 (getScreenDevices): Rewritten.
17055 (nativeGetScreenDevices): New method.
17056 (nativeInitState): New method.
17057 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17059 (X11DisplayMode): New inner class.
17060 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17061 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17062 * native/jni/gtk-peer/gdkdisplay.h: New file.
17063 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17064 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17066 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17068 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17069 _nativeGetScreenDevices):
17071 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17072 _nativeGetDefaultScreenDevice):
17074 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17076 * configure.ac: Added check for Xrandr library.
17078 2006-06-06 Roman Kennke <kennke@aicas.com>
17080 * javax/swing/plaf/basic/BasicTableUI.java
17081 (getMaximumSize): Don't return null. Fixed calculation of
17083 (getMinimumSize): Don't return null. Fixed calculation of
17085 (getPreferredSize): Fixed calculation of with and height. Added
17087 (getHeight): New helper method.
17089 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17091 * javax/swing/JComponent.java
17092 (getInputMap(int)): Throw IllegalArgumentException for unknown
17093 condition argument, and added API docs,
17094 (getInputMap()): Added API docs.
17096 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17098 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17100 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17102 * javax/swing/JTable.java
17103 (AccessibleJTableHeaderCell.header): New field,
17104 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17105 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17106 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17107 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17108 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17109 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17110 (AccessibleJTable.getAccessibleAt): Reimplemented.
17112 2006-06-05 Sven de Marothy <sven@physto.se>
17114 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17115 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17116 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17117 (initFromVolatile): New method.
17118 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17119 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17121 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17122 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17123 (copyArea, drawVolatileImage): New methods.
17125 2006-06-05 Tania Bento <tbento@redhat.com>
17127 * javax/swing/JFrame.java
17128 (frameInit): Set background color and fixed layout parameters.
17130 2006-06-05 Tom Tromey <tromey@redhat.com>
17132 * NEWS: Mention VMURLConnection.
17134 2006-06-05 Lillian Angel <langel@redhat.com>
17136 * native/plugin/gcjwebplugin.cc:
17137 Added new field to keep track of initialization.
17138 (plugin_start_appletviewer): Fixed to return an error value, if
17139 an error was encountered when loading the appletviewer.
17140 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17142 (plugin_failed): New helper function. Shows a warning if the appletviewer
17143 has not been installed.
17144 (NP_Initialize): Added code to make sure this function is only called
17147 2006-06-05 Lillian Angel <langel@redhat.com>
17149 * native/plugin/Makefile.am:
17150 Fixed to use a set plugin directory in the .mozilla directory.
17151 All applet logs are now stored here, instead of /tmp.
17152 * native/plugin/gcjwebplugin.cc:
17153 Added new fields for security warning.
17154 (GCJ_NEW): Added code to generate a security warning for all pages
17155 that spawn an appletviewer. This warning asks the user if they trust
17156 the applet and if they would like to add it to a 'whitelist'. This
17157 whitelist keeps track of all the addresses the user would like
17158 to trust indefinitely.
17159 (plugin_user_trusts_documentbase): New helper function.
17160 (plugin_add_documentbase_to_whitelist): New helper function.
17161 (plugin_ask_user_about_documentbase): New helper function.
17162 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17164 (plugin_start_appletviewer): Likewise.
17165 (plugin_create_applet_tag): Reset all fields to null after they have been
17167 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17168 if channel_error has been set.
17169 (plugin_stop_appletviewer): Likewise.
17170 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17173 2006-06-05 Francis Kung <fkung@redhat.com>
17176 * gnu/java/awt/peer/gtk/GtkImage.java
17177 (getSource): Added check to determine if in
17178 errorLoading state.
17179 * gnu/java/awt/peer/gtk/GtkToolkit.java
17180 (createImage): Added check to prevent NPE.
17182 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17184 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17185 Create the ImageView, when applicable.
17186 * gnu/javax/swing/text/html/CombinedAttributes.java,
17187 javax/swing/text/html/ImageView.java: New files.
17189 2006-06-05 Roman Kennke <kennke@aicas.com>
17192 * javax/swing/text/GapContent.java
17193 (setPositionsInRange): Compare with startIndex and endIndex
17194 rather than start and end.
17195 (dumpMarks): Only dump real marks.
17197 2006-06-05 Sven de Marothy <sven@physto.se>
17199 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17200 (ComponentGraphics): Use 0,0 as clip origin.
17202 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17204 * java/util/Formattable.java,
17205 * java/util/FormattableFlags.java,
17206 * java/util/Formatter.java:
17209 2006-06-04 Tom Tromey <tromey@redhat.com>
17211 * javax/naming/Context.java (list): Genericized.
17212 (listBindings): Likewise.
17213 * javax/naming/Reference.java (addrs): Genericized.
17214 * javax/naming/InitialContext.java (myProps): Fixed type.
17215 (init): Genericized.
17217 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17219 * java/util/DuplicateFormatFlagsException.java,
17220 * java/util/FormatFlagsConversionMismatchException.java,
17221 * java/util/FormatterClosedException.java,
17222 * java/util/IllegalFormatCodePointException.java,
17223 * java/util/IllegalFormatConversionException.java,
17224 * java/util/IllegalFormatException.java,
17225 * java/util/IllegalFormatFlagsException.java,
17226 * java/util/IllegalFormatPrecisionException.java,
17227 * java/util/IllegalFormatWidthException.java,
17228 * java/util/MissingFormatArgumentException.java,
17229 * java/util/MissingFormatWidthException.java,
17230 * java/util/UnknownFormatConversionException.java,
17231 * java/util/UnknownFormatFlagsException.java:
17234 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17236 * java/lang/System.java:
17237 (getenv()): Handle cases where split only
17238 returns an array of size 1.
17240 2006-06-04 Sven de Marothy <sven@physto.se>
17242 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17243 (createVolatileImage): Pass peer to VolatileImage constructor.
17244 * java/awt/Component.java
17245 (createVolatileImage): Call peer method directly.
17247 2006-06-04 Sven de Marothy <sven@physto.se>
17249 * gnu/java/awt/peer/gtk/CairoSurface.java
17250 (getFlippedBuffer): New method.
17251 (getGtkImage): Renamed method.
17252 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17253 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17254 Renamed getSharedImage to getGtkImage.
17255 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17256 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17257 (getFlippedBuffer): New method
17258 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17259 Avoid window casts.
17260 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17262 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17263 (drawVolatile): Add casts.
17264 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17265 (getOutline): Add casts.
17266 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17267 Comment out unused prototype.
17268 (getPixels): Add appropriate cast and comment out unused variable.
17270 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17272 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17273 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17274 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17275 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17276 (getSystemInstance): Fix javadoc @link.
17277 (counter): Increased visibility.
17278 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17279 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17280 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17281 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17282 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17283 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17284 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17285 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17286 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17287 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17288 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17289 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17290 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17291 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17292 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17293 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17294 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17295 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17296 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17297 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17298 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17299 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17300 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17301 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17302 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17303 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17304 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17305 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17306 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17307 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17308 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17310 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17312 * gnu/java/security/PolicyFile.java: Updated copyright year.
17313 (logger): Increased visibility.
17314 * gnu/java/security/x509/Util.java: Updated copyright year.
17315 (hexDump): Fix javadoc @link.
17316 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17317 Removed unused import.
17318 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17319 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17320 * gnu/java/security/util/ExpirableObject.java: Likewise.
17321 (destroy): Likewise.
17322 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17323 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17324 Updated copyright year.
17325 (checkCRL): Fix javadoc @param.
17327 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17329 * java/lang/annotation/IncompleteAnnotationException.java:
17332 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17334 * java/lang/ProcessBuilder.java:
17336 (environment): Create as a copy.
17337 * java/lang/System.java:
17338 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17340 (EnvironmentMap.put(String,String)): Override superclass
17341 method with checks for nulls and non-Strings.
17343 2006-06-02 Sven de Marothy <sven@physto.se>
17345 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17346 (cairoPreserveClip, cairoResetClip): New methods.
17347 (setClip, clip): Reimplement.
17348 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17349 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17350 (cairoPreserveClip, cairoResetClip): New methods.
17352 2006-06-02 Sven de Marothy <sven@physto.se>
17354 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17355 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17356 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17358 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17359 (drawImage): Overloads for VolatileImage drawing.
17360 (drawVolatile): New method.
17361 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17362 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17363 (drawVolatile): New method.
17364 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17365 Unstub implementation.
17366 * include/Makefile.am
17367 * native/jni/gtk-peer/Makefile.am
17369 * native/jni/gtk-peer/gtkpeer.h
17372 2006-06-03 Roman Kennke <kennke@aicas.com>
17375 * javax/swing/plaf/basic/BasicTextUI.java
17376 (damageRange): Added null check to avoid NPE.
17378 2006-06-03 Roman Kennke <kennke@aicas.com>
17380 * javax/swing/text/PlainView.java
17381 (updateDamage): Check for valid longestLine and initialize if
17384 2006-06-03 Mark Wielaard <mark@klomp.org>
17386 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17389 2006-06-02 Sven de Marothy <sven@physto.se>
17392 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17393 (copyArea): Implement.
17394 (copyAreaImpl, getRealBounds): New methods.
17395 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17396 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17397 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17398 (copyAreaImpl, getRealBounds): Implement.
17399 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17400 (nativeCopyArea): Reimplement.
17402 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17404 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17405 (XTEST_LIBS): New, substitute.
17406 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17408 2006-06-02 Roman Kennke <kennke@aicas.com>
17411 * javax/swing/text/PlainView.java
17412 (updateDamage): Rewritten for correct repainting and revalidating.
17413 (findLongestLine): New helper method.
17414 (getLineLength): New helper method.
17416 2006-06-02 Sven de Marothy <sven@physto.se>
17418 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17419 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17420 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17421 (nativeCopyArea): Change stride parameter to use # of ints.
17422 (setPixels): Add checks.
17423 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17424 (ComponentGraphics): Set background, clip.
17425 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17426 (Cairographics2D): Don't set clip.
17427 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17430 2006-06-02 Lillian Angel <langel@redhat.com>
17433 * java/awt/DefaultKeyboardFocusManager.java
17434 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17435 to get the focused window.
17437 2006-06-01 Miriam Schuster <schmir11@web.de>
17439 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17440 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17442 2006-06-02 Roman Kennke <kennke@aicas.com>
17444 * javax/swing/JTable.java
17445 (columnSelectionChanged): Don't return when there's only one
17446 column (might still need repainting). Correctly calculate
17448 (valueChanged): Use return value of SwingUtilities.computeUnion
17451 2006-06-01 Keith Seitz <keiths@redhat.com>
17453 From Martin Platter <motse@complang.tuwien.ac.at>:
17454 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17455 (executeSet): Fix buffer underflow reading reference ID.
17456 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17457 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17458 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17459 (executeSuperclass): Handle case of Object with ID zero.
17461 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17463 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17464 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17465 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17466 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17467 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17468 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17469 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17470 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17471 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17472 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17473 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17475 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17477 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17478 (Command): Add the shutdown hook.
17479 (doCommand): Remove the shutdown hook.
17480 (ShutdownHook): New class.
17482 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17484 * tools/jarsigner.in: Use @VM_BINARY@.
17485 * tools/keytool.in: Likewise.
17487 2006-06-01 Sven de Marothy <sven@physto.se>
17489 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17490 (setColor): Update the cairo paint.
17492 2006-06-01 Mark Wielaard <mark@klomp.org>
17494 * java/util/logging/LogManager.java (createInstance): Always add
17495 original exception on warning.
17497 2006-06-01 Lillian Angel <langel@redhat.com>
17499 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17500 (prependCodebase): Fixed check. No dirname was ever considered to
17501 be a file, so every applet fell into the if-statement causing a lot
17502 of classloading problems with the applets.
17504 2006-06-01 Sven de Marothy <sven@physto.se>
17506 Patch submitted by Boris Dusek.
17507 * native/jni/qt-peer/qtmenupeer.cpp
17510 2006-06-01 Roman Kennke <kennke@aicas.com>
17512 * javax/swing/JTable.java
17513 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17514 why the behaviour is like it is.
17515 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17516 (AccessibleJTableHeader): New inner class.
17517 (AccessibleJTableHeaderCell): New inner class.
17518 (AccessibleJTable.lastSelectedRow): New field.
17519 (AccessibleJTable.lastSelectedColumn): New field.
17520 (AccessibleJTable.caption): New field.
17521 (AccessibleJTable.summary): New field.
17522 (AccessibleJTable.rowDescriptions): New field.
17523 (AccessibleJTable.columnDescriptions): New field.
17524 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17525 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17526 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17527 (AccessibleJTable.addAccessibleSelection): Implemented.
17528 (AccessibleJTable.removeAccessibleSelection): Implemented.
17529 (AccessibleJTable.clearAccessibleSelection): Implemented.
17530 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17531 (AccessibleJTable.valueChange): Implemented.
17532 (AccessibleJTable.tableRowsInserted): Implemented.
17533 (AccessibleJTable.tableRowsDeleted): Implemented.
17534 (AccessibleJTable.handleRowChange): New helper method.
17535 (AccessibleJTable.columnAdded): Implemented.
17536 (AccessibleJTable.columnMarginChanged): Implemented.
17537 (AccessibleJTable.columnMoved): Implemented.
17538 (AccessibleJTable.columnRemoved): Implemented.
17539 (AccessibleJTable.columnSelectionChanged): Implemented.
17540 (AccessibleJTable.handleColumnChange): New helper method.
17541 (AccessibleJTable.editingCanceled): Implemented.
17542 (AccessibleJTable.editingStopped): Implemented.
17543 (AccessibleJTable.getAccessibleRow): Implemented.
17544 (AccessibleJTable.getAccessibleColumn): Implemented.
17545 (AccessibleJTable.getAccessibleIndex): Implemented.
17546 (AccessibleJTable.getAccessibleCaption): Implemented.
17547 (AccessibleJTable.setAccessibleCaption): Implemented.
17548 (AccessibleJTable.getAccessibleSummary): Implemented.
17549 (AccessibleJTable.setAccessibleSummary): Implemented.
17550 (AccessibleJTable.getAccessibleRowCount): Implemented.
17551 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17552 (AccessibleJTable.getAccessibleAt): Implemented.
17553 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17554 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17555 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17556 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17557 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17558 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17559 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17560 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17561 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17562 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17563 (AccessibleJTable.isAccessibleSelected): Implemented.
17564 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17565 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17566 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17567 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17568 (getAccessibleContext): Register listeners for the accessibility
17569 class on the JTable.
17571 2006-06-01 Sven de Marothy <sven@physto.se>
17573 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17574 (setPaint): Scale +1 pixel larger.
17576 2006-06-01 Sven de Marothy <sven@physto.se>
17579 * gnu/java/awt/Buffers.java (getData): Reimplement.
17580 * gnu/java/awt/peer/gtk/CairoSurface.java
17581 (getElem, setElem): Call native methods.
17583 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17585 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17587 2006-06-01 Sven de Marothy <sven@physto.se>
17589 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17590 (drawImage): Check for zero size.
17591 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17592 (setFont): Declare new native method.
17593 (GdkTextLayout): Read some attributes.
17594 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17595 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17596 (setFont): New native method.
17598 2006-06-01 Sven de Marothy <sven@physto.se>
17600 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17601 (updateBufferedImage): Fix some errors.
17603 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17605 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17607 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17608 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17609 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17610 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17611 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17612 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17613 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17614 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17615 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17616 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17618 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17620 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17621 * javax/swing/JEditorPane.java: Likewise,
17622 * javax/swing/JFormattedTextField.java: Likewise,
17623 * javax/swing/JLayeredPane.java: Likewise,
17624 * javax/swing/JScrollPane.java: Likewise,
17625 * javax/swing/JSlider.java: Likewise,
17626 * javax/swing/JSpinner.java: Likewise,
17627 * javax/swing/JTree.java: Likewise,
17628 * javax/swing/JViewport.java: Likewise,
17629 * javax/swing/UIDefaults.java: Likewise,
17630 * javax/swing/UIManager.java: Likewise.
17632 2006-06-01 Sven de Marothy <sven@physto.se>
17634 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17635 (BufferedImageGraphics): Cache surfaces.
17636 (updateBufferedImage): Copy directly for certain color models.
17637 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17638 (drawImage): Reimplement.
17640 2006-06-01 Sven de Marothy <sven@physto.se>
17642 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17643 (setPixels): Don't swap, correct size.
17645 2006-05-31 Anthony Green <green@redhat.com>
17648 * java/net/InetSocketAddress.java: Defer getting the host
17649 name until somebody calls InetSocketAddress.getHostName().
17650 Fix "represenation" typo.
17652 2006-06-01 Sven de Marothy <sven@physto.se>
17654 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17655 (updateBufferedImage): Simplify.
17656 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17657 (getPixels): Don't swap.
17659 2006-06-01 Sven de Marothy <sven@physto.se>
17661 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17662 (setGradient): Reimplement.
17664 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17666 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17667 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17668 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17669 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17670 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17671 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17672 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17675 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17677 * javax/swing/table/JTableHeader.java
17678 (getColumnHeaderRenderer): New method,
17679 (getAccessibleColumnHeaderRenderer): Delegate part to new
17680 getColumnHeaderRenderer() method,
17681 (getLocale): Implemented.
17683 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17685 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17686 (cp_gtk_grab_current_drawable): Rename
17687 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17688 cp_gtk_grab_current_drawable, remove static declaration.
17689 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17691 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17692 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17693 Remove prototype of
17694 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17695 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17697 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17698 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17699 cp_gtk_grab_current_drawable here.
17701 2006-05-31 Sven de Marothy <sven@physto.se>
17703 Should fix PR 27835
17704 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17705 (updateBufferedImage): Keep within image bounds.
17707 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17708 Andreas Tobler <a.tobler@schweiz.ch>
17710 * configure.ac: Check for libXrender when the GTK peers are
17711 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17713 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17714 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17715 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17717 2006-05-31 Lillian Angel <langel@redhat.com>
17719 * javax/swing/plaf/basic/BasicProgressBarUI.java
17720 (paintString): Implemented to paint the string vertically.
17722 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17724 * javax/swing/JTable.java
17725 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17726 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17728 (AccessibleJTable.getAccessibleTable()): Likewise,
17729 (getAccessibleContext): Create new context if required.
17731 2006-05-31 Roman Kennke <kennke@aicas.com>
17733 * javax/swing/JTabbedPane.java
17734 (AccessibleJTabbedPane.stateChanged): Implemented.
17735 (Page.getAccessibleStateSet): Implemented.
17736 (Page.getAccessibleIndexInParent): Implemented.
17737 (getAccessibleContext): Add AccessibleJTabbedPane object
17738 as ChangeListener to the JTabbedPane.
17740 2006-05-31 Roman Kennke <kennke@aicas.com>
17742 * javax/swing/JMenuItem.java
17743 (getAccessibleContext): Register accessible object as ChangeListener
17745 (AccessibleJMenuItem.armed): New field.
17746 (AccessibleJMenuItem.focusOwner): New field.
17747 (AccessibleJMenuItem.pressed): New field.
17748 (AccessibleJMenuItem.selected): New field.
17749 (stateChanged): Implemented.
17751 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17753 * javax/swing/ListSelectionModel.java: Added API docs all over.
17755 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17757 * examples/gnu/classpath/examples/swing/FillRect.java
17758 (paintComponent): Optionally paint lines rather than rectangles.
17759 (createContent): Added option to test line painting.
17761 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17763 * javax/swing/event/EventListenerList.java
17764 (getListenerList): Updated API docs.
17766 2006-05-30 Sven de Marothy <sven@physto.se>
17768 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17769 (drawImage): Clip scaled image to dest rectangle.
17771 2006-05-30 Sven de Marothy <sven@physto.se>
17773 * gnu/java/awt/peer/gtk/CairoSurface.java:
17774 (CairoSurface): Convert pixels properly.
17775 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17776 Remove commented-out lines.
17778 2006-05-30 Sven de Marothy <sven@physto.se>
17780 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17781 (drawImage): Use Toolkit to convert to BufferedImage.
17782 * gnu/java/awt/peer/gtk/CairoSurface.java
17783 (CairoSurface(GtkImage)): New Constructor.
17784 (getBufferedImage): New method.
17785 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17786 Don't fill background - FIXME.
17787 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17788 Remove unused methods.
17789 * gnu/java/awt/peer/gtk/GtkImage.java:
17790 (pixbuflock): New field. Methods change to use this lock.
17791 * gnu/java/awt/peer/gtk/GtkToolkit.java
17792 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17794 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17795 (setPixels): Correct length in bytes.
17797 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17799 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17800 System.loadLibrary unconditionally.
17801 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17802 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17803 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17804 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17806 2006-05-30 Mark Wielaard <mark@klomp.org>
17808 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17809 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17810 Mark unused parameters, remove unused variables.
17812 2006-05-30 Sven de Marothy <sven@physto.se>
17814 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17815 (copyArea): Implemented.
17816 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17817 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17818 (copyAreaNative): New method.
17820 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17822 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17823 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17824 for non big endian systems.
17825 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17827 2006-05-30 Roman Kennke <kennke@aicas.com>
17829 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17830 * java/awt/TexturePaint.java
17831 (createContext): Implemented.
17833 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17835 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17838 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17840 * java/awt/Container.java:
17841 (removeAll): Reimplemented, added note.
17843 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17845 * java/awt/Container.java:
17846 (removeAll): Implemented different removal mechanism, added note.
17848 2006-05-30 Lillian Angel <langel@redhat.com>
17851 * java/awt/Component.java:
17852 (translateEvent): Added handling to translate WindowEvents
17853 * java/awt/Window.java:
17854 Removed unneeded imports.
17856 2006-05-30 Mark Wielaard <mark@klomp.org>
17858 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17861 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17863 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17865 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17867 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17868 (clearRect): Do not reuse the fg field, call updateColor.
17869 (drawRaster): Likewise.
17870 (setColor): Call updateColor.
17871 (updateColor): New method.
17873 2006-05-30 Mark Wielaard <mark@klomp.org>
17875 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17876 (PTR_TO_JLONG): Likewise.
17877 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17878 (getPointer): Use new conversion macros.
17879 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17880 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17881 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17883 (setNativeObject): Likewise.
17884 (getNativeObject): Likewise.
17885 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17886 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17888 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17889 Correctly cast XID and pointer values.
17890 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17891 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17892 Mark unused variables.
17893 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17895 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17896 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17897 Remove unused cairographics2d struct.
17898 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17899 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17900 Use new conversion macros.
17901 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17903 2006-05-30 Mark Wielaard <mark@klomp.org>
17905 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17907 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17909 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17910 (copy): Do not reuse the fd field.
17911 (setColor): Do not set the color if the parameter
17913 (translate(double, double): Rewritten to use
17914 AffineTransform.translate.
17916 2006-05-30 Sven de Marothy <sven@physto.se>
17918 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17919 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17920 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17922 * include/Makefile.am
17923 * native/jni/gtk-peer/Makefile.am
17925 * gnu/java/awt/peer/gtk/CairoSurface.java
17926 (getSharedGtkImage): New method.
17927 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17928 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17930 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17931 Support a non-xrender context.
17932 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17934 * gnu/java/awt/peer/gtk/GtkImage.java
17935 * include/gnu_java_awt_peer_gtk_GtkImage.h
17936 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17937 (initFromBuffer): New method.
17938 * native/jni/gtk-peer/gtkpeer.h:
17939 Remove declarations of previouslyremoved methods.
17941 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17943 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17945 2006-05-29 Mark Wielaard <mark@klomp.org>
17947 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17948 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17950 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17951 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17952 early. Remove unused return statement in void function.
17953 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17955 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17956 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17958 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17959 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17961 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17964 2006-05-29 Sven de Marothy <sven@physto.se>
17966 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17967 (setPixels): Remove superfluous return statement.
17969 2006-05-29 Sven de Marothy <sven@physto.se>
17971 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17972 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17973 * gnu/java/awt/peer/gtk/CairoSurface.java
17974 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17975 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17976 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17977 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17978 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17979 * native/jni/gtk-peer/cairographics2d.h
17980 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17981 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17984 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17986 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17989 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17990 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17991 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17992 (releasePeerGraphicsResource): Moved to Font peer class.
17994 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17995 (createGraphics): Use new context classes.
17997 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17998 Use native BufferedImages where possible.
18000 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18001 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18002 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18003 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18004 renamed to cairoDrawGdkTextLayout.
18006 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18007 (getGraphics): Use ComponentGraphics context.
18008 (createImage): Use native BufferedImage.
18010 * gnu/java/awt/peer/gtk/GtkImage.java:
18011 * include/gnu_java_awt_peer_gtk_GtkImage.h
18012 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18013 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18014 Remove drawing methods.
18016 * gnu/java/awt/print/JavaPrinterGraphics.java:
18017 Use CairoSurface instead of GtkImage.
18019 * include/Makefile.am
18020 * native/jni/gtk-peer/Makefile.am
18021 Update for new files.
18023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18024 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18025 Remove superfluous GtkImage code for GdkPixmaps.
18027 * native/jni/gtk-peer/gtkpeer.h
18028 Remove graphics2d structure.
18030 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18032 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18033 Do not reuse fg in the constructor.
18035 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18037 * java/io/ObjectStreamConstants.java: Added API docs.
18039 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18041 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18042 Take no action if this color is already set.
18044 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18046 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18048 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18049 Optionally paint with translation. (createContent): Added option
18050 to test painting with translation
18052 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18054 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18055 pattern to the default value when null.
18056 Pass field pattern, and not parameter with same name to createFileStream.
18058 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18060 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18061 New class implementing the OS bean.
18062 * gnu/java/lang/management/package.html:
18063 New file to document the gnu.java.lang.management package.
18064 * java/lang/management/ManagementFactory.java:
18065 New class to provide access to the OS bean.
18066 * java/lang/management/OperatingSystemMXBean.java:
18068 * java/lang/management/package.html:
18069 New file to document the java.lang.management package.
18071 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18073 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18076 (SECURITY): Likewise.
18077 (CACERTS): Likewise.
18078 (CACERTS_GKR): Likewise.
18079 (gkrCaCertsPathName): New field.
18080 (jksCaCertsPathName): Likewise.
18081 (selfSignedCertificate): Likewise.
18082 (start): Initialize trusted certificate key stores if -trustcacerts is
18084 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18085 (orderChain): Implemented.
18086 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18087 certificate key stores if -trustcacerts option is specified.
18088 (findTrustInCACerts): Removed.
18089 (getCertPathParameters): New method.
18090 (validate): New method.
18091 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18093 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18095 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18096 (PATTERN_KEY): Likewise.
18097 (DEFAULT_PATTERN): Likewise.
18098 (LIMIT_KEY): Likewise.
18099 (DEFAULT_LIMIT): Likewise.
18100 (COUNT_KEY): Likewise.
18101 (DEFAULT_COUNT): Likewise.
18102 (APPEND_KEY): Likewise.
18103 (DEFAULT_APPEND): Likewise.
18104 (FileHandler()): Use pattern value as set in logging.properties.
18105 Use constants defined above.
18106 (FileHandler(1)): Use constants defined above.
18107 (FileHandler(2)): Likewise.
18108 (FileHandler(3)): Likewise.
18109 (FileHandler(4)): Likewise.
18110 (createFileStream): Likewise.
18112 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18114 * java/util/logging/FileHandler.java: Reverted previous patch.
18115 * java/util/logging/LogManager.java: Likewise.
18117 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18119 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18120 (DEFAULT_PATTERN): Likewise.
18121 (FileHandler()): Use configured pattern property if any; otherwise use a
18122 default value as per RI documentation.
18123 * java/util/logging/LogManager.java (getStringProperty): New method.
18125 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18127 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18129 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18131 * configure.ac (FOUND_CACAO): New automake conditional.
18132 Add --enable-tool-wrappers.
18133 * NEWS: Introduce the --enable-tool-wrappers option.
18134 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18135 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18137 * tools/toolwrapper.c: New file.
18139 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18141 * java/awt/Graphics2D.java: Use full class name for
18142 PrinterJob in javadoc.
18144 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18146 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18147 (callMouseMethod): Likewise.
18149 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18151 * native/jni/java-net/java_net_VMURLConnection.c:
18152 Fix function declarations to specify unused parameters.
18153 * scripts/check_jni_methods.sh:
18154 Remove copies of the same function using uniq.
18156 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18158 * vm/reference/java/net/VMURLConnection.java:
18159 Make package-private and final.
18161 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18163 * examples/gnu/classpath/examples/swing/TableDemo.java
18164 (TModed): Added editor for the icons column.
18165 (createContent): Increase the row height by 2 px.
18167 2006-05-26 Tom Tromey <tromey@redhat.com>
18169 PR classpath/27685:
18170 * java/math/BigInteger.java (modPow): Correctly handle negative
18173 2006-05-26 Tom Tromey <tromey@redhat.com>
18175 * configure.ac: Check for magic.h and -lmagic.
18176 * vm/reference/java/net/VMURLConnection.java: New file.
18177 * include/java_net_VMURLConnection.h: New file.
18178 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18179 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18180 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18182 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18183 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18185 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18187 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18189 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18191 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18192 libjawtgnu.la libjawt.la.
18194 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18196 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18199 2006-05-25 Lillian Angel <langel@redhat.com>
18202 * java/awt/Window.java
18203 (Window): Moved code to helper.
18204 (addWindowFocusListener): New function. Handles focus
18205 listener code. Added code to handle focus lost/gained
18208 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18211 Make pkg-config check for GTK+ >= 2.8.
18213 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18215 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18216 (flush): Remove debugging printfs.
18218 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18220 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18221 (schedule_flush): New function.
18222 (end_drawing_operation): Call schedule_flush.
18224 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18226 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18227 paint performance demo.
18228 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18230 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18232 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18233 Cairo version requirement. Do not mention --enable-gtk-cairo
18235 * NEWS: Add entry for GdkGraphics2D.
18236 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18237 Cairo library and headers.
18238 * .externalToolBuilders/Configure.launch: Remove
18239 --enable-gtk-cairo from configure line.
18240 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18242 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18243 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18244 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18245 useGraphics2D references. Always assume Graphics2D is enabled.
18246 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18247 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18248 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18249 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18250 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18251 useGraphics2D references. Always assume Graphics2D is enabled.
18252 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18253 Graphics2D check. Always assume Graphics2D is enabled.
18254 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18255 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18256 (realize): Remove method.
18257 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18258 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18259 (isRealized): Remove method.
18260 (realize): Implement as a native method. Remove useGraphics2D
18261 references. Always assume Graphics2D is enabled.
18262 * gnu/java/awt/peer/gtk/GtkImage.java,
18263 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18264 GdkGraphics references with GdkGraphics2D references.
18265 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18266 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18267 useGraphics2D references. Always assume Graphics2D is enabled.
18268 * include/Makefile.am (GTKPEER_H_FILES): Remove
18269 gnu_java_awt_peer_gtk_GdkGraphics.h.
18270 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18271 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18272 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18273 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18274 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18275 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18276 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18277 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18278 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18279 (AM_LDFLAGS): Remove CAIRO_LIBS.
18280 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18281 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18283 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18285 2006-05-25 Lillian Angel <langel@redhat.com>
18287 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18288 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18289 Added check to prevent assertion error. If widget->window is null, then
18290 use the parent widget's window to set the cursor on.
18292 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18294 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18297 2006-05-24 Lillian Angel <langel@redhat.com>
18299 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18300 (prependCodeBase): Added check to determine if the documentbase
18301 points to a directory or a file.
18303 2006-05-24 Sven de Marothy <sven@physto.se>
18305 * java/awt/dnd/DragGestureRecognizer.java
18306 (resetRecognizer): Implement.
18307 (fireDragGestureRecognized): Implement.
18309 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18311 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18312 fixed source code formatting.
18314 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18316 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18318 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18320 Reported by Antony Balkisson.
18321 * javax/swing/JTable.java (selectAll): Return without action
18322 if the table is empty.
18324 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18326 * examples/gnu/classpath/examples/swing/TableDemo.java:
18327 (SliderCell): New inner class. (setCustomEditors,
18328 setInformativeHeaders): New fields. (createContent):
18330 * javax/swing/DefaultCellEditor.java
18331 (JComboBoxDelegate.shouldSelectCell): New method.
18332 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18333 * javax/swing/plaf/basic/BasicTableUI.java
18334 (MouseInputHandler.mouseClicked): Start editing on a single
18335 click if the cell editor is not a default cell editor.
18337 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18339 * javax/swing/naming/CompositeName.java,
18340 javax/swing/naming/CompoundName.java:
18343 2006-05-23 Archie Cobbs <archie@dellroad.org>
18345 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18348 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18350 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18351 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18352 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18353 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18354 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18355 * javax/swing/tree/ExpandVetoException.java: Likewise,
18356 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18357 * javax/swing/tree/RowMapper.java: Likewise,
18358 * javax/swing/tree/TreeNode.java: Likewise,
18359 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18360 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18362 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18364 * javax/swing/tree/DefaultTreeCellRenderer.java
18365 (DefaultTreeCellRenderer): Changed key for
18366 setBackgroundNonSelectionColor(),
18367 plus API docs all over.
18369 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18372 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18373 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18374 Initialise in constructor. (columnMoved): Cancel editing.
18375 (createDefaultEditors): Rewritten. (editCellAt):
18376 Just invert the value if this is a boolean cell.
18377 (initialiseLocalVars): Do not initialise renderer and editor tables.
18378 (setUI): Create editors and renderers here.
18380 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18382 * examples/gnu/classpath/examples/awt/Demo.java:
18383 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18384 instance as subframe.
18385 (ResolutionWindow): New inner class.
18386 (FullscreenWindow): New inner class.
18388 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18391 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18392 Set horizontal alignment to centered.
18394 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18396 * javax/accessibility/AccessibleContext.java
18397 (getAccessibleComponent): Fixed typo in docs,
18398 * javax/swing/JLabel.java:
18399 (AccessibleJLabel.getAccessibleName): Check for explicit
18401 * javax/swing/JTableHeader.java
18402 (AccessibleJTableHeaderEntry.columnIndex): New field,
18403 (AccessibleJTableHeaderEntry.parent): New field,
18404 (AccessibleJTableHeaderEntry.table): New field,
18405 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18407 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18409 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18410 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18411 (AccessibleJTableHeaderEntry.contains): Implemented,
18412 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18413 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18414 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18415 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18416 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18417 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18418 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18419 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18420 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18421 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18422 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18423 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18424 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18425 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18426 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18427 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18428 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18429 (AccessibleJTableHeaderEntry.getFont): Implemented,
18430 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18431 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18432 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18433 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18434 (AccessibleJTableHeaderEntry.getSize): Implemented,
18435 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18436 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18437 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18438 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18439 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18440 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18442 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18443 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18444 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18445 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18446 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18447 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18448 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18449 (AccessibleJTableHeaderEntry.setFont): Implemented,
18450 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18451 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18452 (AccessibleJTableHeaderEntry.setSize): Implemented,
18453 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18454 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18455 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18456 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18457 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18459 2006-05-22 Tom Tromey <tromey@redhat.com>
18463 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18465 * javax/swing/JLabel.java
18466 (AccessibleJLabel.getAccessibleName): New method (override),
18467 (setLabelFor): Fire 'labelFor' property change event before other
18470 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18472 * javax/swing/JLabel.java
18473 (AccessibleJLabel.getAccessibleRole): New method (override).
18475 2006-05-22 Tom Tromey <tromey@redhat.com>
18477 * resource/gnu/classpath/tools/serialver/messages.properties: New
18479 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18480 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18482 (classpath): Likewise.
18485 (addFileURL): New method.
18486 (getClassLoader): Likewise.
18487 (printMessage): Likewise.
18489 2006-05-22 Tom Tromey <tromey@redhat.com>
18491 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18493 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18495 * javax/swing/JTable.java (doLayout): In the column
18496 resize mode, only repaing the changed part of the table.
18497 (getLeftResizingBoundary): New method.
18499 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18501 * javax/naming/spi/InitialContextFactory.java,
18502 javax/naming/spi/InitialContextFactoryBuilder.java,
18503 javax/naming/spi/NamingManager.java,
18504 javax/naming/spi/ObjectFactory.java,
18505 javax/naming/spi/ResolveResult.java,
18506 javax/naming/spi/Resolver.java,
18507 javax/naming/spi/StateFactory.java: Documented.
18509 2006-05-21 Tom Tromey <tromey@redhat.com>
18511 PR classpath/27688:
18512 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18514 (initSet): Removed.
18515 (shouldExtract): Removed.
18517 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18518 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18521 (allItems): New field.
18522 (run): Initialize it.
18525 2006-05-22 Sven de Marothy <sven@physto.se>
18527 * java/nio/CharBuffer.java
18528 (wrap): Fix bounds checking.
18530 2004-08-26 Tom Tromey <tromey@redhat.com>
18532 * java/io/OutputStream.java
18533 (OutputStream): Implements Closeable, Flushable.
18535 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18537 * java/io/ObjectOutputStream.java:
18538 (writeObject(Object)): Added enum support.
18539 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18540 * java/io/ObjectStreamClass.java:
18541 (isEnum()): New package-private method.
18542 (setFlags(Class)): Added enum support.
18543 * java/io/ObjectStreamConstants.java:
18546 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18548 * java/io/ObjectInputStream.java:
18549 (parseContent(byte)): Added enum support.
18550 * java/io/ObjectStreamConstants.java:
18552 (TC_MAX): Changed to new maximum, TC_ENUM.
18554 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18556 * java/beans/beancontext/BeanContextSupport.java:
18557 (instantiateChild(String)): Implemented.
18559 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18561 * java/beans/beancontext/BeanContextSupport.java:
18562 (add(Object)): Add further documentation.
18563 (isEmpty()): Documented.
18564 (propertyChange(PropertyChangeEvent)): Implemented.
18565 (remove(Object)): Documented.
18566 (remove(Object,boolean)): Documented and implemented.
18567 (vetoableChange(PropertyChangeEvent)): Marked as
18568 implemented (only subclasses appear to need this).
18570 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18572 * java/beans/beancontext/BeanContextSupport.java:
18573 (add(Object)): Implement support for the child being
18574 a BeanContextChild.
18575 (avoidingGui()): Implemented.
18576 (dontUseGui()): Likewise.
18577 (needsGui()): Likewise.
18578 (okToUseGui()): Likewise.
18580 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18582 * javax/naming/Context.java,
18583 javax/naming/ContextNotEmptyException.java,
18584 javax/naming/Reference.java: Documented.
18586 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18588 * javax/swing/text/html/MinimalHTMLWriter.java
18589 (writeComponent, writeImage): Declare that the method
18590 may throw the IOException.
18592 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18595 * javax/naming/InitialContext.java (colon_list): Changed type to
18596 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18597 (merge): Rewritten.
18599 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18601 * javax/naming/InitialContext.java: Documented.
18603 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18605 * javax/naming/NameParser.java,
18606 javax/naming/NamingEnumeration.java,
18607 javax/naming/PartialResultException.java,
18608 javax/naming/SizeLimitExceededException.java,
18609 javax/naming/spi/ObjectFactory.java,
18610 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18612 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18614 * gnu/java/net/loader/JarURLLoader.java:
18615 Use Map.Entry instead of LinkedHashMap.Entry
18617 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18619 * javax/naming/Context.java: Documented.
18621 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18623 * javax/naming/Referenceable.java: Documented.
18624 * javax/naming/spi/NamingManager.java: Documented.
18626 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18628 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18629 to messages.properties.
18630 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18631 Renamed to messages.properties.
18632 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18634 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18635 Renamed from MessageBundle.properties.
18636 Added copyright notice.
18637 * resource/gnu/classpath/tools/keytool/messages.properties:
18639 * tools/gnu/classpath/tools/jarsigner/Messages.java
18640 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18641 (getFormattedString): Fixed a spelling mistake.
18642 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18644 2006-05-20 Sven de Marothy <sven@physto.se>
18646 * gnu/java/awt/font/opentype/NameDecoder.java
18648 (getName): Use getShort instead of getChar(), fix PS name.
18649 (decodeName): New method.
18650 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18651 (getSubFamilyName): Implement.
18652 (getPostScriptName): Use the NameDecoder class instead.
18653 (parsePSName): Removed.
18656 2006-05-20 Sven de Marothy <sven@physto.se>
18658 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18659 (getTrueTypeTable): New native method.
18660 (getPostScriptName): Reimplement.
18661 (parsePSName): New method.
18662 (getNumGlyphs): Implement.
18663 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18664 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18665 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18666 New function. File is now explicitly dependent on FT2.
18668 2006-05-20 Tom Tromey <tromey@redhat.com>
18670 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18671 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18673 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18674 (HandleFile): New class.
18675 (input, output, encoding, reversed): New fields.
18676 (createParser): New method.
18679 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18680 (notifyFile): Throws OptionException.
18682 2006-05-20 Tom Tromey <tromey@redhat.com>
18684 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18687 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18689 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18690 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18693 2006-05-20 Sven de Marothy <sven@physto.se>
18695 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18697 2006-05-20 Sven de Marothy <sven@physto.se>
18699 * gnu/java/awt/print/JavaPrinterJob.java
18700 (print): Use PostScriptGraphics2D.
18701 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18703 2006-05-20 Sven de Marothy <sven@physto.se>
18705 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18707 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18709 * gnu/java/security/OID.java: Updated copyright year.
18710 (OID): Removed unused Javadoc param tag.
18711 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18712 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18714 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18716 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18718 Added trace/debug statements.
18719 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18720 Entry. Also ensure that any previous entry for this alias is removed
18721 before a new one is added.
18722 (engineGetKey): Do not trace/log passwords.
18723 Trace key's class name only.
18724 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18725 Certificate Entry. Also ensure that previous entry for this alias is
18726 removed before a new one is added.
18727 (engineLoad): Do not trace/log passwords.
18728 (engineStore): Likewise.
18729 (engineSize): Use size of enumeration instead of collection size.
18731 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18733 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18734 (toString): New method.
18735 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18736 Do not trace/log passwords.
18737 Set masked to false before decoding envelope.
18738 Do not set payload to null.
18739 (encrypt): Set masked to true.
18740 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18741 Do not trace/log passwords.
18742 Set masked to false before decoding envelope.
18743 Do not set payload to null.
18744 Added trace/debug statements.
18745 (authenticate): Do not trace/log passwords.
18746 Set masked to true.
18747 Added trace/debug statements.
18748 (getMac): Added trace/debug statements.
18749 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18750 (remove(String)): Changed the signature to return a boolean.
18751 (toString): New method.
18752 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18754 (getCertificate): Likewise.
18755 (putCertificate): Likewise.
18757 Do not trace/log passwords.
18759 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18760 Do not trace/log passwords.
18761 Added more trace/logging statements.
18762 (putPrivateKey): Do not trace/log passwords.
18763 Trace only key's class name.
18765 (containsPublicKey): Formatting.
18766 (getPublicKey): Likewise.
18767 Trace only key's class name.
18768 (putPublicKey): Trace only key's class name.
18769 (containsCertPath): Formatting.
18770 (getCertPath): Likewise.
18771 (putCertPath): Likewise.
18772 (load): Do not trace/log passwords.
18775 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18776 (add): Do not set payload to null.
18777 Added trace/debug statements.
18778 (containsAlias): Added trace/debug statements.
18780 (remove(Entry)): Likewise.
18781 (remove(String)): Likewise.
18782 Changed the signature to return a boolean.
18783 Do not set payload to null unless really removed.
18784 (toString): New method.
18785 (decodeEnvelope): Clear entries before proceeding.
18786 (makeAliasList): Added trace/debug statements.
18787 Ensure only non-null aliases and alias-lists are added.
18788 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18789 (TYPES): New constant.
18790 (toString): New method.
18791 (defaultDecode): Add trace/debug statement.
18793 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18795 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18796 Increased visibility.
18797 (setup): Do not trace/log passwords.
18798 (parsed): Was not setting correct (rfc) field; fixed.
18799 (print1Chain): Formatting.
18800 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18801 Do not trace/log passwords.
18802 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18803 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18804 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18805 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18806 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18807 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18808 (orderChain): Added FIXME.
18809 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18810 Do not trace/log passwords.
18811 Removed commented out code.
18812 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18813 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18814 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18815 (setKeystoreURLParam): Likewise.
18816 (setKeystorePasswordParam): Do not trace/log passwords.
18817 (saveKeyStore): Likewise.
18819 2006-05-19 Roman Kennke <kennke@aicas.com>
18821 * gnu/java/awt/java2d/AbstractGraphics2D.java
18823 (pixel): Removed obsolete field.
18824 (draw(Shape)): Removed commented out code.
18825 (drawImage): Formatting.
18826 (drawString): Added optimization hook.
18827 (setPaint): Removed rawSetForeground().
18828 (getFontRenderContext): Return context with correct transform.
18829 (drawGlyphVector): Draw complete outline in one go.
18830 (copyArea): Added optimization hook.
18831 (clearRect): Added optimization hook.
18832 (drawImage): Added optimization hook.
18833 (fillShape): (Temporarily) Set antialiasing off by default for
18834 font rendering. Adjust the shape by some bits to improve rendering.
18835 Pass clip bounds to the render methods.
18836 (drawPixel): Removed.
18837 (rawSetPixel): Removed.
18838 (rawSetForeground): Removed.
18839 (rawDrawLine): Default impl calls standard pipeline.
18840 (rawDrawString): New method, calls standard pipeline for rendering.
18841 (rawClearRect): New method, calls standard pipeline for rendering.
18842 (rawFillRect): New method, calls standard pipeline for rendering.
18843 (rawDrawImage): New method, calls standard pipeline for rendering.
18844 (rawCopyArea): New method.
18845 (copyAreaImpl): New method.
18846 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18848 (fillShapeAntialias): Fixed AA rendering.
18849 (fillScanlineAA): Fixed AA rendering.
18850 (getSegments): Take offset into account.
18852 2006-05-19 Sven de Marothy <sven@physto.se>
18854 * javax/swing/text/AbstractWriter.java
18855 (getText): Fix parameters (start, length) not (start, end).
18857 2006-05-19 Tom Tromey <tromey@redhat.com>
18859 PR classpath/27444:
18860 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18861 Changed return type.
18862 * java/net/URLClassLoader.java (urlloaders): Removed.
18863 (addURLImpl): Updated.
18864 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18865 (indexSet): Likewise.
18866 (classPath): Changed type.
18867 (JarURLLoader): New constructor.
18868 (initialize): New method.
18869 (getResource): Use index set if it exists.
18870 (getClassPath): Updated.
18871 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18872 (prefixes): New field.
18873 (headers): Removed.
18874 (IndexListParser): Fill in prefixes.
18875 (clearAll): Clear prefixes.
18876 (getHeaders): Changed return type.
18878 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18880 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18881 (MouseInputHandler.mouseExitted): No nothing there.
18882 (MouseInputHandler.endDragging): Move column to the
18883 first/last position if released outside the horizontal
18886 2006-05-19 Lillian Angel <langel@redhat.com>
18888 * java/awt/font/GlyphVector.java
18889 (getGlyphCharIndex): Implemented.
18890 (getGlyphCharIndices): Implemented.
18891 (getGlyphOutline): Implemented.
18892 (getGlyphVisualBounds): Implemented.
18893 (getGlyphVisualBounds): Implemented.
18894 (getPixelBounds): Implemented.
18895 (getLayoutFlags): Implemented.
18897 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18899 * java/awt/LightweightDispatcher.java: Added field dragButton and
18900 documentation for it.
18901 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18902 added subexpression to if-clause in MOUSE_RELEASED case.
18904 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18906 * javax/swing/metal/MetalButtonUI.java:
18907 (update): Removed some subexpression from if-clause and call
18908 updateWithGradient.
18909 (updateWithGradient): New method.
18911 2006-05-19 Roman Kennke <kennke@aicas.com>
18913 * javax/swing/JComponent.java
18914 (findOverlapFreeParent): Implemented algorithm for finding
18915 overlapping in component hierarchy.
18917 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18919 * java/lang/Thread.java
18920 (contextClassLoaderIsSystemClassLoader): New field.
18921 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18922 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18923 and set contextClassLoaderIsSystemClassLoader.
18924 (Thread(ThreadGroup,Runnable,String,long)):
18925 Set contextClassLoaderIsSystemClassLoader.
18926 (createAnonymousThreadName): New method.
18927 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18928 and fixed security check.
18929 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18931 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18933 * javax/swing/plaf/basic/BasicToolBarUI.java:
18934 (createNonRolloverBorder): Rewritten.
18935 (createRolloverBorder): Rewritten.
18936 (setToNonRolloverBorder): Store old border instance in hashtable.
18937 (setToRolloverBorder): Store old border instance in hashtable, use
18938 AbstractButton instead of JButton in statements.
18939 (setBorderToNormal): Rewritten.
18940 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18941 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18942 ToolBar.nonrolloverBorder.
18944 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18946 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18947 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18949 2006-05-18 Lillian Angel <langel@redhat.com>
18951 * java/awt/font/GlyphMetrics.java
18952 (getLSB): Implemented.
18953 (getRSB): Implemented.
18955 2006-05-18 Lillian Angel <langel@redhat.com>
18957 * java/awt/font/GraphicAttribute.java:
18958 Documented entire class.
18959 (GraphicAttribute): Added check for alignment.
18960 (getBounds): Implemented.
18961 (getJustificationInfo): Implemented.
18963 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18965 * java/awt/LightweightDispatcher.java:
18966 (handleMouseEvent): Added note, added subexpression to if-statement.
18968 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18970 * javax/swing/plaf/basic/BasicToolBarUI.java:
18971 (navigateFocusedComp): Marked as stub.
18972 (createRolloverBorder): Create a different Border instance, added note.
18973 * javax/swing/plaf/metal/MetalBorders.java:
18974 (ButtonBorder): Added documentation.
18975 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18976 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18977 subexpression into if-else cascade, added note.
18979 2006-05-18 Lillian Angel <langel@redhat.com>
18981 * java/awt/font/ShapeGraphicAttribute.java:
18982 Documented entire class.
18983 (ShapeGraphicAttribute): Initialized bounds field.
18984 (draw): Implemented.
18985 (equals): Implemented.
18986 (getAdvance): Implemented.
18987 (getAscent): Implemented.
18988 (getBounds): Implemented.
18989 (getDescent): Implemented.
18990 (hashCode): Implemented.
18992 2006-05-18 Roman Kennke <kennke@aicas.com>
18994 * javax/swing/CellRendererPane.java
18995 (CellRendererPane): Set CellRendererPane to invisible.
18997 2006-05-18 Roman Kennke <kennke@aicas.com>
18999 * gnu/java/awt/peer/gtk/GdkGraphics.java
19000 (clipRect): Removed old intersection statement.
19002 2006-05-18 Roman Kennke <kennke@aicas.com>
19004 * gnu/java/awt/peer/gtk/GdkGraphics.java
19005 (clipRect): Don't use Rectangle.intersection() to avoid creating
19006 2 unnecessary Rectangle instances and fix a clipping problem.
19007 (computeIntersection): New helper method, adapted from SwingUtilities.
19009 2006-05-18 Roman Kennke <kennke@aicas.com>
19011 * javax/swing/JComponent.java
19012 (isCompletelyDirty): Removed.
19013 (paint): Don't mark children as clean, this is no longer necessary.
19014 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19015 painting when something overlaps the viewport (like a popup/menu).
19016 * javax/swing/RepaintManager.java
19017 (currentRepaintManagers): Made package private to avoid accessor
19019 (dirtyComponents): Made private.
19020 (dirtyComponentsWork): Made private.
19021 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19022 component-local not parent-local. Do not set flag in JComponent.
19023 (markCompletelyClean): Don't set JComponent flag.
19024 (isCompletelyDirty): Rewritten to return true when the complete
19025 component is marked dirty.
19026 (paintDirtyRegions): Improved parent-merging so that the merged-in
19027 components don't get painted too. 'Outsourced' the compilation
19028 of the repaint root components.
19029 (compileRepaintRoots): New helper method.
19031 2006-05-18 Roman Kennke <kennke@aicas.com>
19034 * javax/swing/text/GapContent.java
19035 (GapContentPosition(int)): Use adapted binarySearch method to
19036 allow for having a greater array than number of entries.
19037 (numMarks): New field, holds the end of the marks list.
19038 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19039 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19040 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19041 (setPositionsInRange): Changed signature to narrow the purpose and
19042 special cases inside. Reimplemented to crunch together equal marks.
19043 (adjustPositionsInRange): Added assertion to make sure we do
19044 not accidentally change the order of the mark. Added some debug
19045 output for a special case of which I don't know if it even exists.
19046 (resetMarksAtZero): Made impl simpler.
19047 (dumpMarks): New debug helper method.
19048 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19049 (binarySearch): New method. An adaption of Arrays.binarySearch()
19050 that allows for an maxIndex parameter.
19052 2006-05-18 Roman Kennke <kennke@aicas.com>
19054 * javax/swing/KeyboardManager.java
19055 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19057 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19059 * gnu/java/net/loader/JarURLLoader.java
19060 (JarURLLoader): Use a slightly more efficient URL constructor.
19062 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19064 * gnu/java/awt/print/JavaPrinterGraphics.java
19065 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19066 (drawImage(Image, int, int, ImageObserver)): Likewise,
19067 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19068 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19069 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19070 ImageObserver)): Likewise,
19071 (drawImage(Image, int, int, int, int, int, int, int, int,
19072 ImageObserver)): Likewise.
19074 2006-05-17 Tom Tromey <tromey@redhat.com>
19076 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19079 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19081 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19082 * javax/swing/border/BevelBorder.java: Likewise,
19083 * javax/swing/border/CompoundBorder.java: Likewise,
19084 * javax/swing/border/TitledBorder.java: Likewise.
19086 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19088 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19089 * javax/swing/table/DefaultTableModel.java: Likewise,
19090 * javax/swing/table/TableCellEditor.java: Likewise,
19091 * javax/swing/table/TableCellRenderer.java: Likewise.
19093 2006-05-17 Lillian Angel <langel@redhat.com>
19095 * java/awt/font/ImageGraphicAttribute.java:
19096 Documented entire class.
19097 (ImageGraphicAttribute): Changed to call this.
19098 (ImageGraphicAttribute): Implemented.
19099 (draw): Implemented.
19100 (equals): Implemented.
19101 (getAdvance): Implemented.
19102 (getAscent): Implemented.
19103 (getBounds): Implemented.
19104 (getDescent): Implemented.
19105 (hashCode): Implemented.
19106 * javax/swing/text/html/HTMLDocument.java
19107 (create): Removed. Sufficent enough for
19108 super to be called.
19109 (insert): Likewise.
19110 (insertUpdate): Likewise.
19111 (processHTMLFrameHyperlinkEvent): Marked as stub.
19112 (start): Removed FIXME.
19114 (start): Called super.
19115 (end): Called super.
19116 (getElement): removed unneeded code.
19117 (setParagraphAttribute): Removed. Sufficent enough
19118 for super to be called.
19119 (fireChangedUpdate): Likewise.
19120 (fireUndoableEditUpdate): Likewise.
19122 2006-05-17 Lillian Angel <langel@redhat.com>
19124 * java/awt/TexturePaint.java:
19125 Added documentation for class and all functions.
19126 (getTransparency): Implemented.
19128 2006-05-17 Roman Kennke <kennke@aicas.com>
19130 * java/awt/LightweightDispatcher.java
19131 (findTarget): Translate point to child components.
19133 2006-05-17 Roman Kennke <kennke@aicas.com>
19136 * javax/swing/text/GapContent.java
19137 (GapContentPosition): Do no more implement Comparable.
19138 (GapContentPosition.mark): Removed field.
19139 (GapContentPosition.index): New field to hold the index into
19140 the positions array.
19141 (GapContentPosition(int)): Rewritten to use the new indirection
19142 to the positions array.
19143 (GapContentPosition.compareTo): Removed.
19144 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19145 positionMarks array.
19146 (WeakPositionComparator): Removed obsolete class.
19147 (positions): Changed type to WeakHashMap.
19148 (positionMarks): New field, holds the marks of the positions.
19149 (GapContent): Initialize new fields.
19150 (createPosition): Rewritten to use the new indirection
19151 to the positions array.
19152 (getPositionsInRange): Rewritten to use the new indirection
19153 to the positions array.
19154 (setPositionsInRange): Rewritten to use the new indirection
19155 to the positions array.
19156 (adjustPositionsInRange): Rewritten to use the new indirection
19157 to the positions array.
19158 (insertMark): New helper method.
19159 (clearPositionReferences): Removed obsolete methods.
19161 2006-05-17 Lillian Angel <langel@redhat.com>
19163 * java/awt/GraphicsConfiguration.java
19164 (getImageCapabilities): Implemented.
19165 (getBufferCapabilities): Implemented.
19167 2006-05-17 Lillian Angel <langel@redhat.com>
19169 * javax/swing/plaf/basic/BasicSliderUI.java
19170 (focusGained): Implemented.
19171 (focusLost): Implemented.
19172 (paint): Added code to paint the focus.
19173 * javax/swing/plaf/metal/MetalSliderUI.java
19174 (paintThumb): Added code to set the thumbColor.
19175 (paintFocus): Implemented properly.
19177 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19180 * javax/naming/spi/NamingManager.java (getURLContext):
19181 Always search for the factory class in all possible places
19182 and use VMStackWalker.
19183 (forName): New method.
19185 2006-05-17 Roman Kennke <kennke@aicas.com>
19187 * java/awt/LightweightDispatcher.java
19188 (handleMouseEvent): Fixed search algorithm for finding the
19189 mouse event target.
19190 (findTarget): Fixed search algorithm for finding the
19191 mouse event target.
19193 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19195 * javax/naming/spi/NamingManager.java: Documented.
19197 2006-05-17 Mark Wielaard <mark@klomp.org>
19199 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19200 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19201 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19202 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19204 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19207 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19209 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19211 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19213 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19216 * java/awt/LightweightDispatcher.java:
19217 (handleMouseEvent): Moved assignment into switch-block, added notes.
19219 2006-05-16 Lillian Angel <langel@redhat.com>
19221 * javax/swing/text/StyleContext.java:
19222 Changed staticAttributeKeys to be a Hashtable.
19223 (getStaticAttribute): Implemented.
19224 (getStaticAttributeKey): Implemented.
19225 (readAttributeSet): Implemented.
19226 (writeAttributeSet): Added FIXME. Not sure how
19228 (readAttributes): Implemented.
19229 (writeAttributes): Implemented.
19230 (registerStaticAttibuteKey): Fixed to add key to
19233 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19235 * javax/swing/DefaultButtonModel.java
19236 (setGroup): Removed event notification.
19238 2006-05-16 Lillian Angel <langel@redhat.com>
19240 * javax/swing/plaf/basic/BasicComboBoxUI.java
19241 (installKeyboardActions): Implemented.
19242 (uninstallKeyboardActions): Implemented.
19243 * javax/swing/plaf/basic/BasicComboPopup.java
19244 (uninstallKeyboardActions): Removed FIXME. Nothing
19246 (installKeyboardActions): Likewise.
19247 * javax/swing/plaf/basic/BasicTextUI.java
19248 (uninstallKeyboardActions): Implemented.
19249 * javax/swing/plaf/basic/BasicTreeUI.java:
19250 Added field for hashColor.
19251 Marked stub methods.
19252 (getHashColor): Implemented to use field.
19253 (setHashColor): Likewise.
19254 (getRowX): Implemented.
19255 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19257 2006-05-16 Roman Kennke <kennke@aicas.com>
19260 * javax/swing/JTable.java
19261 (rowHeights): New field.
19262 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19263 in order to initialize rowHeights correctly.
19264 (tableChanged): Nullify rowHeights when model changes. Only
19265 create default columns from model when corresponding property
19266 is set. Sync table model with rowHeights as appropriate.
19267 (valueChanged): Call repaint with the correct rectangle.
19268 (rowAtPoint): Handle rowHeights.
19269 (getCellRect): Mostly rewritten. Check for boundaries
19270 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19271 Handle component orientation. Round correctly.
19272 (getRowHeight(int)): Implemented for variable row height.
19273 (setRowHeight(int,int)): Implemented for variable row height.
19274 (setRowHeight(int)): Nullify rowHeights.
19275 (setModel): Notify tableChanged().
19276 * javax/swing/plaf/basic/BasicTableUI.java
19277 (installDefaults): Create rendererPane in installUI.
19278 (installUI): Create and install rendererPane.
19279 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19281 (paint): Correctly handle rowMargin.
19283 2006-05-16 Tom Tromey <tromey@redhat.com>
19285 PR classpath/27563:
19286 * java/text/NumberFormat.java (getIntegerInstance): Use
19287 "integerFormat", not "numberFormat".
19289 2006-05-16 Lillian Angel <langel@redhat.com>
19291 * javax/swing/JPopupMenu.java
19292 (addMenuKeyListener): Implemented.
19293 (removeMenuKeyListener): Implemented.
19294 (getMenuKeyListeners): Implemented.
19295 * javax/swing/ProgressMonitor.java:
19296 Added new protected field.
19297 (getAccessibleContext): Implemented.
19299 2006-05-16 Lillian Angel <langel@redhat.com>
19301 * javax/swing/JFileChooser.java:
19302 Added new private field.
19303 (setDragEnabled): Implemented.
19304 (getDragEnabled): Implemented.
19306 2006-05-16 Lillian Angel <langel@redhat.com>
19308 * java/awt/Window.java
19309 (applyResourceBundle): Implemented.
19311 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19313 * javax/swing/DefaultButtonModel.java
19314 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19317 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19319 * javax/swing/JList.java (getSelectedValues):
19320 Ask the value for the indexed array element.
19322 2006-05-16 Roman Kennke <kennke@aicas.com>
19324 * javax/swing/JTable.java
19325 (valueChanged): Also repaint when table has only 1 row. Fixed
19326 repaint rectangle to span the entire changed rows.
19328 2006-05-16 Roman Kennke <kennke@aicas.com>
19331 * javax/swing/JOptionPane.java
19332 (startModal): Rewritten. The events are now dispatched, even
19333 when the event dispatch thread gets blocked by the call
19334 to this method. Also, mouse events get intercepted outside the
19337 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19339 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19340 (BorderListener.mouseDragged):Do not set cursor
19341 if the frame is being dragged.
19343 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19345 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19346 (BorderListener): Rewritten. (InternalFrameBorder):
19347 Made package private.
19348 (InternalFrameBorder.offset):
19349 Renamed to cornerSize, made package private.
19350 (bSize): Made package private.
19352 2006-05-16 Roman Kennke <kennke@aicas.com>
19354 * javax/swing/JMenu.java
19355 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19356 (AccessibleJMenu.getAccessibleChild): Implemented.
19357 (AccessibleJMenu.getAccessibleSelection): Implemented.
19358 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19359 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19360 (AccessibleJMenu.getAccessibleRole): Documented.
19361 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19362 (AccessibleJMenu.addAccessibleSelection): Implemented.
19363 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19364 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19365 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19366 (createPath): New helper method.
19368 2006-05-15 Tom Tromey <tromey@redhat.com>
19370 * java/text/MessageFormat.java (format): Now varargs.
19372 2006-05-15 Tom Tromey <tromey@redhat.com>
19374 * java/lang/Thread.java (State): Fixed typo.
19376 2006-05-15 Tom Tromey <tromey@redhat.com>
19378 * java/net/URLClassLoader.java: Moved inner classes to
19379 gnu.java.net.loader.
19380 (factoryCache): Changed type.
19381 (URL_LOADER_PREFIX): New constant.
19382 (URLClassLoader): Updated for new factoryCache.
19383 (addURLImpl): Use reflection to search for a loader.
19384 (findClass): Use getClass method on URLLoader.
19385 (getURLStreamHandler): Removed.
19386 * gnu/java/net/loader/URLLoader.java: New file, extracted
19387 from URLClassLoader.
19388 * gnu/java/net/loader/Resource.java: Likewise.
19389 * gnu/java/net/loader/FileResource.java: Likewise.
19390 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19391 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19392 * gnu/java/net/loader/JarURLResource.java: Likewise.
19393 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19394 * gnu/java/net/loader/RemoteResource.java: Likewise.
19395 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19397 2006-05-15 Sven de Marothy <sven@physto.se>
19399 * native/target/generic/target_generic_network.h:
19400 Add a pair of parenthesis.
19402 2006-05-15 Mark Wielaard <mark@klomp.org>
19404 * java/awt/Graphics2D.java: Remove PrinterJob import.
19406 2006-05-15 Mark Wielaard <mark@klomp.org>
19408 * doc/www.gnu.org/announce/20060515.wml: New file.
19409 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19410 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19412 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19414 * NEWS: Announce inclusion of gcjwebplugin.
19415 Announce inclusion of appletviewer.
19416 * INSTALL: Note gcjwebplugin dependencies.
19418 2006-05-15 Mark Wielaard <mark@klomp.org>
19420 * configure.ac (VERSION): Set to 0.91-generics.
19422 2006-05-15 Mark Wielaard <mark@klomp.org>
19424 * NEWS: Add release date and VMClassLoader.getBootPackages()
19427 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19429 * README: Added CACAO to list of VMs.
19431 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19433 * javax/swing/RepaintManager.java (paintDirtyRegions):
19434 Break loop as soon as the component repaint is merged
19435 with some parent. (ComponentComparator): Removed.
19436 (comparator): Removed.
19438 2006-05-15 Roman Kennke <kennke@aicas.com>
19440 * javax/swing/border/TitledBorder.java
19441 (paintBorderWithTitle): Fixed indentation.
19443 2006-05-15 Roman Kennke <kennke@aicas.com>
19445 * javax/swing/border/TitledBorder.java
19446 (layoutBorderWithTitle): Fetch border using getBorder() instead
19447 of using the border field directly. Allows for the use of
19448 an UI supplied border in the case when a null border was set.
19449 Fixed component orientation.
19450 (paintBorderWithTitle): Fetch border using getBorder() instead
19451 of using the border field directly. Allows for the use of
19452 an UI supplied border in the case when a null border was set.
19454 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19456 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19457 (contains): New method.
19459 2006-05-15 Tom Tromey <tromey@redhat.com>
19461 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19463 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19466 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19468 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19470 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19471 region. (paintDirtyRegions): Rewritten.
19473 2006-05-15 Tom Tromey <tromey@redhat.com>
19475 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19477 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19479 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19480 (run): Use MessageFormat.
19481 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19482 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19483 (writeFile): Use MessageFormat.
19485 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19487 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19488 instead of directly calling the class loader.
19490 2006-05-15 Tom Tromey <tromey@redhat.com>
19492 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19493 Removed old comment.
19494 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19495 Externalized strings.
19496 (getVersionString): Use MessageFormat.
19497 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19498 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19499 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19500 (getArgument): Use a MessageFormat.
19501 (handleLongOption): Likewise.
19504 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19507 * javax/swing/text/FieldView.java:
19508 (paint): Calculate intersection between clip and allocation area and
19509 set that as new clip.
19511 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19513 * javax/swing/text/JTextComponent.java: Marked stub methods.
19515 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19517 * javax/swing/JTable.java: Marked stub methods.
19519 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19521 * tools/gnu/classpath/tools/jarsigner/Main.java:
19522 Increased visibility of fields used by parser anonymous classes.
19523 (KEYTOOL_TOOL): New constant.
19524 (cmdLineParser): Changed type to ToolParser.
19525 (fileAndAlias): new field.
19526 (main): Don't catch OptionException.
19527 (processArgs): Removed validation checks; now handled by ToolParser.
19528 (getParser): Removed.
19529 (ToolParserCallback): New inner class.
19530 (ToolParser): Likewise.
19532 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19534 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19537 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19539 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19540 endResizingFrame): Do not repaint, unless in the outline mode.
19542 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19544 * javax/swing/JTabbedPane.java
19545 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19546 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19547 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19548 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19549 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19550 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19551 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19552 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19553 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19554 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19555 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19556 (Page.getAccessibleName): Implemented.
19558 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19560 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19561 Do not repaint nor revalidate here.
19563 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19565 * javax/swing/RepaintManager.java (addDirtyRegion):
19566 If there is a lightweight parent, recursively add the corresponding
19567 region of the parent instead.
19569 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19571 * java/awt/Graphics2D.java: Added some API doc comments.
19573 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19575 * javax/swing/JTabbedPane.java
19576 (paramString): Reimplemented,
19577 (getAccessibleContext): Added API docs.
19579 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19581 * javax/swing/JFileChooser.java
19582 (paramString): Reimplemented,
19583 (getAccessibleContext): Updated API docs,
19584 (AccessibleJFileChooser): Added API docs.
19586 2006-05-14 Tom Tromey <tromey@redhat.com>
19588 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19590 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19592 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19594 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19595 validation to JarParser.
19596 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19597 (run): Moved validation to JarParser. Don't throw OptionException.
19598 (initializeParser): Create a JarParser.
19599 (main): Don't catch OptionException.
19600 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19602 (validate): New method.
19603 (parse): Call it. Print '-help' in error message when long-only.
19605 2006-05-14 Tom Tromey <tromey@redhat.com>
19607 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19610 2006-05-15 Sven de Marothy <sven@physto.se>
19612 * gnu/java/awt/print/JavaPrinterGraphics.java:
19613 Sweeping changes I can't be bothered to document in detail.
19614 * gnu/java/awt/print/JavaPrinterJob.java
19615 (getPageAttributes): New method.
19616 (setPageable,cancel,isCancelled): Implement.
19618 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19620 * javax/swing/JCheckBoxMenuItem.java
19621 (requestFocus): Fixed typo in API docs,
19622 (paramString): Just call super.paramString(),
19623 (getAccessibleContext): Added API docs,
19624 (AccessibleJCheckBoxMenuItem): Likewise.
19626 2006-05-14 Tom Tromey <tromey@redhat.com>
19628 * tools/gnu/classpath/tools/jar/Indexer.java
19629 (writeCommandLineEntries): Simplify insertion.
19630 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19633 2006-05-14 Tom Tromey <tromey@redhat.com>
19635 PR classpath/27514:
19636 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19638 (JAR_INDEX_VERSION_KEY): Likewise.
19639 (IndexListParser): Updated.
19640 (getVersionInfo): Likewise.
19641 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19642 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19644 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19646 (ModeOption): New constructor.
19647 (parsed): Updated. Use setArchiveFile.
19648 (setArchiveFile): New method.
19649 (run): Handle no-argument case.
19650 (main): Emit --help message on option error.
19651 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19652 (createManifest): New method.
19653 (run): Updated. Throws OptionException. Correctly copy zip entry.
19654 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19656 (writeManifest): Removed.
19657 (outputStream): Now a JarOutputStream.
19658 (writeCommandLineEntries): Changed parameters. Updated callers.
19659 (run): Throws OptionException.
19660 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19661 * java/util/jar/Manifest.java (read): Typo fix.
19663 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19665 * javax/swing/JMenuItem.java
19666 (paramString): Fixed class name in API doc comment.
19668 2006-05-14 Tom Tromey <tromey@redhat.com>
19670 * native/plugin/.cvsignore: Updated.
19672 2006-05-14 Mark Wielaard <mark@klomp.org>
19674 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19677 2006-05-14 Chris Burdess <dog@gnu.org>
19679 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19680 nodes to be preserved during cloneNode.
19682 2006-05-14 Mark Wielaard <mark@klomp.org>
19685 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19686 inherited timeout on socket.
19688 2006-05-14 Lillian Angel <langel@redhat.com>
19690 * java/util/SimpleTimeZone.java: Reverted patch.
19691 (SimpleTimeZone): Throw exception if startMonth ==
19693 (SimpleTimeZone): Likewise.
19694 (checkRule): Rewritten to properly check all values (more
19696 This code is now more stable, at least less buggy than before.
19697 Fixed API documentation.
19698 (setStartRule): Moved checkRule call to end.
19699 (setStartRule): Likewise.
19700 (setEndRule): Likewise.
19701 (setEndRule): Likewise.
19703 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19705 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19708 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19711 * javax/swing/text/AbstractDocument.java:
19712 (insertString): Flipped if-expression and its blocks.
19714 (replace): Flipped if-expression and its blocks, added note, invoke
19715 insertString and remove instead of insertStringImpl and removeImpl.
19717 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19719 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19721 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19723 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19725 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19726 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19727 Increased visibility of fields used by parser anonymous classes.
19728 (processArgs): Removed.
19729 (getParser): New method.
19730 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19731 (setup): Mark (Eclipse) strings that need not be externalised.
19733 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19734 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19735 command line option parsing.
19736 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19737 Increased visibility of fields used by parser anonymous classes.
19738 (processArgs): Removed.
19739 (setup): set 'all' local field.
19740 (getParser): New method.
19741 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19742 Increased visibility of fields used by parser anonymous classes.
19743 (processArgs): Removed.
19744 (getParser): New method.
19745 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19746 (setNewKeyPassword): Fixed comments.
19747 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19748 Increased visibility of fields used by parser anonymous classes.
19749 (processArgs): Removed.
19750 (getParser): New method.
19751 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19753 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19754 Increased visibility of fields used by parser anonymous classes.
19755 (processArgs): Removed.
19756 (setup): Mark (Eclipse) strings that need not be externalised.
19757 (getParser): New method.
19758 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19759 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19760 Increased visibility of fields used by parser anonymous classes.
19761 (processArgs): Removed.
19762 (getParser): New method.
19763 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19764 (ATTRIBUTES_OPT): New constant.
19765 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19766 Increased visibility of fields used by parser anonymous classes.
19767 (processArgs): Removed.
19768 (setup): Mark (Eclipse) strings that need not be externalised.
19770 Reduced logging level.
19771 (getParser): New method.
19772 * tools/gnu/classpath/tools/keytool/Command.java
19773 (processArgs): Made it concrete.
19774 (getParser): New abstract method.
19775 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19777 2006-05-13 Casey Marshall <csm@gnu.org>
19779 Patch by Michael Barker <mike@middlesoft.co.uk>.
19780 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19781 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19782 gnu.java.nio.SocketChannelSelectionKeyImpl.
19783 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19784 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19786 * include/gnu_java_nio_VMChannel.h: new file.
19787 * java/nio/FileChannel.java (read,write): changed to call abstract
19789 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19790 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19791 `gnu_java_nio_VMChannel.c.'
19792 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19794 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19796 * javax/swing/text/AbstractDocument.java:
19797 (insertString): Flipped if-expression and its blocks.
19799 (replace): Flipped if-expression and its blocks, added note, invoke
19800 insertString and remove instead of insertStringImpl and removeImpl.
19802 2006-05-13 Tom Tromey <tromey@redhat.com>
19804 * java/nio/ByteBufferImpl.java (compact): Always set position.
19806 2006-05-13 Sven de Marothy <sven@physto.se>
19808 * gnu/java/awt/print/JavaPrinterGraphics.java
19809 (spoolPostScript): Use a faster writer.
19811 2006-05-13 Sven de Marothy <sven@physto.se>
19813 * gnu/java/awt/print/JavaPrinterGraphics.java
19814 (colorTripleHex): Reimplement better.
19816 2006-05-13 Sven de Marothy <sven@physto.se>
19818 * javax/swing/text/html/HTMLDocument.java
19819 (CharacterAction.start): Translate tag to StyleAttribute.
19820 (pushCharacterStyle): Push copy of attributes onto stack.
19821 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19824 2006-05-13 Sven de Marothy <sven@physto.se>
19826 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19827 * java/awt/print/PrinterJob.java
19828 (getPrinterJob): Return a JavaPrinterJob
19829 (setPrintService,getPrintService): Implement.
19830 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19831 (getPixels): Gtk_threads_enter required.
19832 * gnu/java/awt/print/JavaPrinterGraphics.java
19833 * gnu/java/awt/print/JavaPrinterJob.java
19834 * gnu/java/awt/print/SpooledDocumet.java:
19837 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19839 * javax/swing/text/TextAction.java:
19840 (HorizontalMovementAction): New inner class.
19841 (VerticalMovementAction): New inner class.
19842 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19843 new inner classes to array 'defaultActions'.
19844 (SelectionBeginWordAction): New inner class.
19845 (SelectionEndWordAction): New inner class.
19846 (BeginWordAction): New inner class.
19847 (EndWordAction): New inner class.
19848 (PreviousWordAction.actionPerformed): Rewritten.
19849 (SelectLineAction): New inner class.
19850 (SelectWordAction): New inner class.
19851 (SelectionDownAction): Rewritten.
19852 (SelectionUpAction): Rewritten.
19853 (DownAction): Rewritten.
19854 (UpAction): Rewritten.
19855 (SelectionForwardAction): Rewritten.
19856 (SelectionBackwardAction): Rewritten.
19857 (ForwardAction): Rewritten.
19858 (BackwardAction): Rewritten.
19859 (BeginAction): New inner class.
19860 (EndAction): New inner class.
19861 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19862 Character.isISOControl.
19864 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19866 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19867 (WordFilter.getNextVisualPositionFrom): Added statement to check
19868 for variable pt not being null.
19870 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19872 * javax/swing/text/Utilities.java:
19873 (getNextWord): Fixed grammar in exception message.
19874 (getPreviousWord): Changed expression in first if-clause, added sub-
19875 expression to if-clause in while-loop.
19876 (getWordStart): Changed expression in if-clause.
19877 getNextVisualPositionFrom): Added package-private helper method.
19879 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19881 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19884 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19886 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19888 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19889 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19890 * tools/gnu/classpath/tools/jarsigner/Main.java:
19891 Increased visibility of fields used by parser anonymous classes.
19892 (HELP_PATH): Removed.
19893 (cmdLineParser): New field.
19894 (main): Handle JVM exit status.
19895 Handle command line parsing exceptions.
19896 (processArgs): Use getopt command line parser.
19897 (getParser): New method.
19898 (setupCommonParams): Removed checks now handled by processArgs().
19899 (setupSigningParams): Likewise.
19900 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19901 Reuse an existing message-bundle constant.
19903 2006-05-12 Tom Tromey <tromey@redhat.com>
19905 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19906 Explicitly specify class for synchronization.
19908 2006-05-12 Tom Tromey <tromey@redhat.com>
19910 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19912 2006-05-12 Sven de Marothy <sven@physto.se>
19914 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19915 * gnu/java/net/protocol/http/HTTPURLConnection.java
19916 (setConnectTimeout): New method.
19917 (getConnection): Add timeout parameter.
19918 * java/net/URLConnection.java
19919 (getConnectTimeout, setConnectTimeout): Implement.
19920 * native/target/generic/target_generic_network.h:
19921 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19923 2006-05-12 Sven de Marothy <sven@physto.se>
19925 * gnu/javax/print/CupsServer.java
19926 (CupsServer): Make the Cups host configurable.
19927 * java/lang/System.java: Document the system property.
19929 2006-05-12 Roman Kennke <kennke@aicas.com>
19931 * javax/swing/border/TitledBorder.java
19932 (paintBorder): Rewritten for simplicity and correctness.
19933 (layoutBorderWithTitle): New helper method.
19934 (paintBorderWithTitle): New helper method.
19935 (getBorderInsets): Rewritten.
19936 (getMinimumSize): Rewritten.
19937 (getRealJustification): Removed.
19938 (getMeasurements): Removed.
19939 (Measurements): Removed.
19941 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19943 * javax/swing/plaf/basic/BasicPanelUI.java
19944 (sharedUI): New field,
19945 (createUI): Return a shared instance rather than a new instance,
19946 (installUI): Reformatted and added API docs,
19947 (installDefaults): Install border if one is defined,
19948 (uninstallDefaults): Uninstall border.
19950 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19952 * javax/swing/JProgressBar.java: Updated API docs all over.
19954 2006-05-11 Lillian Angel <langel@redhat.com>
19956 * java/awt/ContainerOrderFocusTraversalPolicy.java
19957 (getComponentAfter): Should not throw exception if
19958 the ancestor is null. Added a check for this.
19959 Also, changed to use new helper function, we should
19960 iterate through all the components at least once.
19961 (getNextAvailableComponent): New helper function.
19962 (getPrevAvailableComponent): New helper function.
19963 (getComponentBefore): Should not throw exception if
19964 the ancestor is null. Added a check for this.
19965 Also, changed to use new helper function, we should
19966 iterate through all the components at least once.
19967 (getFirstComponent): Changed check to manually check
19968 fields. Calling accept() casts the object to a Component,
19969 so different values may be returned.
19970 (getLastComponent): Likewise.
19972 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19974 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19975 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19976 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19977 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19978 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19979 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19980 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19981 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19982 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19983 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19984 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19985 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19986 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19987 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19988 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19989 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19990 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19991 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19993 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19995 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19996 package-private, added field 'active'.
19997 (PropertyChangeHandler.propertyChange): Added variable 'name', added
19998 cases to update field 'active'.
19999 (mouseDragged): Added documentation, added if-clause to update
20000 selection or caret position.
20001 (mouseClicked): Added early return when text component is disabled.
20002 (focusGained): Moved statements into an if-clause.
20003 (focusLost): Added subexpression to if-clause.
20004 (install): Preset value of 'active'.
20005 (paint): Added subexpression to if-clause.
20006 (isVisible): Extended return expression.
20007 * javax/swing/text/JTextComponent.java:
20008 (copy): Copy only if component is enabled.
20009 (cut): Cut only if component is enabled and editable.
20012 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20014 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20015 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20016 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20017 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20018 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20019 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20020 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20022 2006-05-11 Roman Kennke <kennke@aicas.com>
20024 * gnu/java/awt/font/GNUGlyphVector.java
20025 (GNUGlyphVector): Don't apply the font renderer context's
20028 2006-05-11 Mark Wielaard <mark@klomp.org>
20030 * java/util/logging/Logger.java (global): Initialize inside static
20033 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20035 * javax/swing/JFrame.java
20036 (EXIT_ON_CLOSE): Added note to API docs,
20037 (close_action): Renamed closeAction,
20038 (JFrame()): Change title to "",
20039 (JFrame(String)): Added API docs,
20040 (getAccessibleContext): Likewise,
20041 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20042 (processWindowEvent): Updated for renamed field,
20043 (setDefaultCloseOperation): Likewise, and updated API docs.
20045 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20047 * javax/swing/JFrame.java
20048 (paramString): Reimplemented,
20049 * javax/swing/SwingUtilities.java
20050 (convertWindowConstantToString): New method.
20052 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20054 * javax/swing/WindowConstants.java: Updated API docs.
20056 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20058 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20059 (createUI): Removed 'final' qualifier for parameter,
20060 (paint): Reformatted.
20062 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20064 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20065 (createUI): Removed 'final' qualifier on method argument.
20067 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20069 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20070 (getDefaultIcon): Removed this redundant method.
20072 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20074 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20075 (paint): Pass component size to paintFocus().
20077 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20079 * java/awt/Component.java:
20080 (dispatchEventImpl): Added comment.
20082 2006-05-11 Mark Wielaard <mark@klomp.org>
20084 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20085 Option constructor null argument to String.
20087 2006-05-11 Mark Wielaard <mark@klomp.org>
20089 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20090 Fully qualify PathIterator constants
20092 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20094 * java/awt/Component.java:
20095 (dispatchEventImpl): Added subexpression to if-clause.
20097 2006-05-11 Mark Wielaard <mark@klomp.org>
20099 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20102 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20104 * javax/swing/TransferHandler.java: Marked stub methods.
20106 2006-05-10 Roman Kennke <kennke@aicas.com>
20109 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20110 (installDefaults): Set background of content pane to null, if
20111 no custom color has been installed by the application yet.
20113 2006-05-10 Roman Kennke <kennke@aicas.com>
20116 * javax/swing/JRootPane.java
20117 (createContentPane): Don't set background to null.
20119 2006-05-10 Sven de Marothy <sven@physto.se>
20121 * java/awt/print/PrinterJob.java:
20122 (lookupPrintServices): Un-comment-out.
20124 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20126 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20127 (FILLER): New constant.
20128 (formatText(PrintStream,String,int)): New method.
20129 (formatText(PrintStream,String,int,Locale)): Likewise.
20130 (printHelp): Use formatText method.
20131 * tools/gnu/classpath/tools/getopt/Parser.java
20132 (MAX_LINE_LENGTH): New constant.
20133 (formatText(PrintStream,String)): New method.
20134 (formatText(PrintStream,String,Locale)): Likewise.
20135 (printHelp): New method.
20136 (printHelp(PrintStream)): Increased visibility to protected.
20137 Use formatText method.
20139 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20141 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20142 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20143 modify the lookup key.
20145 2006-05-10 Lillian Angel <langel@redhat.com>
20147 * java/util/SimpleTimeZone.java: Reverted patch.
20148 (SimpleTimeZone): Throw exception if startMonth ==
20150 (SimpleTimeZone): Likewise.
20151 (checkRule): Rewritten to properly check all values (more
20153 This code is now more stable, at least less buggy than before.
20154 Fixed API documentation.
20155 (setStartRule): Moved checkRule call to end.
20156 (setStartRule): Likewise.
20157 (setEndRule): Likewise.
20158 (setEndRule): Likewise.
20160 2006-05-10 Roman Kennke <kennke@aicas.com>
20162 * gnu/java/awt/peer/swing/SwingComponent.java:
20163 Some API comment fixlets.
20164 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20165 (createImage): Create a BufferedImage, not a Toolkit image.
20166 (paint): Removed bogus API comment.
20167 (prepareImage): Added checks to avoid NPE.
20168 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20169 (getInsets): Added check to avoid NPE.
20170 (handleMouseEvent): Added check to avoid NPE.
20171 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20172 Some API comment fixlets.
20173 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20174 Some API comment fixlets.
20175 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20176 Changed start_pos name to startPos.
20177 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20178 Some API comment fixlets.
20180 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20182 * java/awt/BasicStroke.java
20183 (equals): Fixed typo in HTML tag for API doc comment.
20185 2006-05-10 Gary Benson <gbenson@redhat.com>
20187 * java/lang/ThreadGroup.java (parent): Make package-private.
20188 * java/lang/SecurityManager.java (checkAccess(Thread)):
20189 Reference ThreadGroup.parent directly to avoid extra checks.
20190 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20193 2006-05-10 Roman Kennke <kennke@aicas.com>
20195 Reported by Ingo Proetel (proetel@aicas.com)
20196 * java/awt/EventDispatchThread.java
20197 (DEFAULT_PRIORITY): New constant field.
20198 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20199 system property for adjusting the priority of the event
20202 2006-05-10 Roman Kennke <kennke@aicas.com>
20204 Reported by Ingo Proetel (proetel@aicas.com)
20205 * java/awt/image/ColorModel.java
20206 (S_RGB_MODEL): New constant field.
20207 (getRGBDefault): Return constant SRGBColorModel.
20208 (SRGBColorModel): Specialized color model for sRGB.
20210 2006-05-10 Roman Kennke <kennke@aicas.com>
20212 * java/awt/ColorPaintContext.java
20213 (getRaster): Create Raster with (0,0) as source location.
20215 2006-05-10 Roman Kennke <kennke@aicas.com>
20217 * gnu/java/awt/java2d/AlphaCompositeContext.java
20218 (compose): Don't premultiply alpha to alpha itself.
20220 2006-05-10 Roman Kennke <kennke@aicas.com>
20222 * gnu/java/awt/java2d/AbstractGraphics2D.java
20223 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20224 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20226 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20227 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20228 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20230 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20231 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20233 (scale): Inverse transform by doing 1/scale instead of -scale.
20234 (drawImage(Image,int,int,ImageObserver)): Implemented.
20235 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20236 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20237 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20238 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20240 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20242 (fillScanline): Work on translated destination raster for
20243 correct compositin.
20244 (init): Fetch the clip after the destination raster is initialized.
20245 * gnu/java/awt/java2d/ImagePaint.java: New file.
20246 * gnu/java/awt/java2d/RasterGraphics
20247 (drawImage): Removed.
20249 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20251 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20252 Clarify option descriptions.
20253 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20254 uppercase for metasyntactic variables.
20256 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20259 * javax/swing/text/AbstractDocument.java:
20260 (insertString): Added more documentation, added argument check.
20261 (remove): Added more documentation.
20262 (removeImpl): Added argument check.
20263 (replace): Added more documentation, added argument check.
20265 2006-05-09 Tom Tromey <tromey@redhat.com>
20267 * tools/.cvsignore: Added appletviewer.
20269 2006-05-09 Tom Tromey <tromey@redhat.com>
20271 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20274 2006-05-09 Tom Tromey <tromey@redhat.com>
20276 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20277 Special case for '-J'. Use space instead of '='.
20278 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20281 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20283 * configure.ac: Add --disable-plugin and --with-vm options. Check
20284 for plugin support headers and libraries.
20285 * native/Makefile.am: Recurse into plugin directory.
20286 * native/plugin/.cvsignore: New file.
20287 * native/plugin/Makefile.am: New file.
20288 * native/plugin/gcjwebplugin.cc: New file.
20289 * tools/Makefile.am: Install appletviewer wrapper script.
20290 * tools/appletviewer.in: Replace VM location heuristic with
20291 VM_BINARY configure substitution.
20293 2006-05-09 Tom Tromey <tromey@redhat.com>
20295 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20296 an initial pass to look for short options. Added 'longOnly' option.
20297 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20299 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20300 options into final group. Added -J.
20301 (add): Insert new groups before final group.
20302 (printHelp): Updated.
20304 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20307 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20308 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20309 Expect -classpath option.
20310 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20311 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20313 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20314 (classLoader): New field. (loadClass, setClassPath):
20317 2006-05-09 Roman Kennke <kennke@aicas.com>
20319 * gnu/java/awt/java2d/RasterGraphics.java
20320 (RasterGraphics): Call init() and super().
20321 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20324 2006-05-09 Gary Benson <gbenson@redhat.com>
20326 * java/lang/Thread.java (Thread): Always perform threadgroup
20327 access checks on thread creation.
20329 2006-05-09 Chris Burdess <dog@gnu.org>
20331 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20332 be preserved during cloneNode.
20334 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20337 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20338 Do not demand all thrown exceptions to be an instance of RemoteException.
20340 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20342 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20343 Use hash-style comments.
20344 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20347 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20349 * javax/swing/JLabel.java
20350 (paramString): Added more attribute details,
20351 * javax/swing/SwingUtilities.java
20352 (convertHorizontalAlignmentCodeToString): New method,
20353 (convertVerticalAlignmentCodeToString): New method.
20355 2006-05-08 Tom Tromey <tromey@redhat.com>
20357 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20358 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20359 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20362 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20364 (run): Use ZipInputStream.
20365 (initSet): New method.
20366 (shouldExtract): Likewise.
20367 (run): Use new methods.
20368 * tools/gnu/classpath/tools/jar/Creator.java
20369 (writeCommandLineEntries): New overload.
20370 (writeFile): Use System.err for verbose.
20371 (writeManifest): New method.
20372 (writtenItems): New field.
20373 (writeFile): Update it.
20374 (writeCommandLineEntries): Return void. Call writeManifest.
20375 (addEntries): Don't add extra '/'.
20376 * NEWS: Mention jar.
20378 2006-05-08 Lillian Angel <langel@redhat.com>
20380 * gnu/java/net/IndexListParser.java: New class.
20381 * java/net/URLClassLoader.java
20382 (JarURLLoader): Fixed code to use new class.
20384 2006-05-08 Roman Kennke <kennke@aicas.com>
20386 * javax/swing/JComboBox.java
20387 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20388 (AccessibleJComboBox.getAccessibleChild): Implemented.
20389 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20390 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20391 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20392 (AccessibleJComboBox.getAccessibleAction): Implemented.
20393 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20394 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20395 (AccessibleJComboBox.doAccessibleAction): Implemented.
20396 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20397 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20398 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20399 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20400 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20402 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20404 * configure.ac: Add support for building appletviewer.
20405 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20407 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20409 * tools/appletviewer.c: New file.
20410 * tools/appletviewer.in: New file.
20411 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20413 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20415 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20416 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20418 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20420 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20422 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20424 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20426 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20427 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20429 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20431 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20433 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20435 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20437 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20439 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20442 2006-05-08 Tom Tromey <tromey@redhat.com>
20444 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20445 * tools/gnu/classpath/tools/jar/Action.java: New file.
20446 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20447 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20448 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20449 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20450 * tools/gnu/classpath/tools/jar/Main.java: New file.
20451 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20452 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20453 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20454 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20455 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20456 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20459 2006-05-08 Lillian Angel <langel@redhat.com>
20461 * java/net/URLClassLoader.java
20462 (JarURLLoader): Added check to make sure the INDEX.LIST file
20465 2006-05-08 Roman Kennke <kennke@aicas.com>
20467 * gnu/java/awt/java2d/AbstractGraphics2D.java
20468 (fill): Removed commented out code.
20469 (fillShape): Also determine the outline of the clip and feed
20470 it into the rendering method. Use new helper method for
20471 converting the shapes into lists of segments.
20472 (getUserBounds): Removed obsolete method.
20473 (rawFillShape): Respect the clip when rendering shapes.
20474 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20475 However, the implementation can't clip still.
20476 (getSegments): New helper method for converting a shape into
20477 a list of segments.
20478 (clipShape): Removed obsolete method.
20479 * gnu/java/awt/java2d/PolyEdge.java
20480 (isClip): New field.
20481 (PolyEdge): Added isField argument to constructor.
20483 2006-05-08 Roman Kennke <kennke@aicas.com>
20486 * javax/swing/JRootPane.java
20487 (createContentPane): Set background of the content pane to null,
20488 so that the content pane inherits its background from the
20491 2006-05-08 Roman Kennke <kennke@aicas.com>
20494 * javax/swing/ButtonGroup.java
20495 (add): Check if new button is selected and if so, deselect other
20496 buttons in the group.
20498 2006-05-08 Lillian Angel <langel@redhat.com>
20501 * java/net/URLClassLoader.java
20502 (JarURLLoader): Added code to go through
20503 META-INF/INDEX.LIST file to load all jars listed.
20505 2006-05-08 Roman Kennke <kennke@aicas.com>
20508 * javax/swing/ImageIcon.java
20509 (ImageIcon(URL)): Set description to URL.toString().
20511 2006-05-08 Roman Kennke <kennke@aicas.com>
20514 * javax/swing/JTable.java
20515 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20516 null when cell value is null.
20518 2006-05-08 Roman Kennke <kennke@aicas.com>
20521 * javax/swing/DefaultDesktopManager.java
20522 (closeFrame): Don't perform default close action on the frame
20523 to prevent endless loop.
20525 2006-05-08 Roman Kennke <kennke@aicas.com>
20528 * javax/swing/table/DefaultTableModel.java
20529 (addExtraRows): New helper method.
20530 (checkSize): New helper method.
20531 (setRowCount): Use addExtraRows helper method.
20532 (addColumn): Use addExtraRows helper method.
20533 (getColumnName): Check and adjust size if necessary using
20536 2006-05-08 Roman Kennke <kennke@aicas.com>
20539 * javax/swing/JTable.java
20540 (setValueAt): Allow setting values even when table is editable.
20542 2006-05-08 Tom Tromey <tromey@redhat.com>
20544 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20545 space to error message.
20547 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20549 * javax/swing/AbstractButton.java: Fixed comment typos.
20551 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20553 PR classpath/27435:
20554 * java/util/zip/DeflaterEngine.java:
20555 (deflateFast(boolean,boolean)): Empty buffer when full.
20557 2006-05-07 Sven de Marothy <sven@physto.se>
20560 * java/util/Calendar.java (setTimeZone): Force recalculation.
20562 2006-05-07 Sven de Marothy <sven@physto.se>
20565 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20566 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20568 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20570 PR classpath/27311:
20571 * gnu/java/text/StringFormatBuffer.java:
20572 (toString()): Implemented so we can see the contents.
20573 * java/text/DecimalFormat.java:
20574 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20575 Don't calculate the exponent when the number is 0 or less.
20576 Also, use log10 instead of log now it's available.
20578 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20580 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20581 Use instance's field creationDate not the constructor's argument.
20582 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20583 Removed unused imports.
20586 (decrypt): Added trace/debug/timing statements.
20587 (encrypt): Likewise.
20588 Use PRNG instead of instantiating every time a new SecureRandom.
20589 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20590 Removed unused imports.
20593 (verify): Added trace/debug/timing statements.
20594 (authenticate): Likewise.
20595 Use PRNG instead of instantiating every time a new SecureRandom.
20597 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20599 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20600 (THREAD_FORMAT): Likewise.
20601 (dateFormat): Added field.
20602 (threadFormat): Added field.
20603 (format): Initialize instance fields if null.
20604 Use StringBuilder instead of StringBuffer.
20606 2006-05-07 Roman Kennke <kennke@aicas.com>
20608 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20610 2006-05-07 Roman Kennke <kennke@aicas.com>
20612 * gnu/java/awt/java2d/AbstractGraphics2D.java
20613 (fillShape): Determine user space bounds of shape and feed them
20614 into the actual rendering pipeline.
20615 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20616 (rawSetForeground): Likewise.
20617 (getDestinationColorModel): Removed.
20618 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20619 (rawFillShape): Handle paint context.
20620 (fillScanline): Implement painting and compositing.
20621 (fillShapeAntialias): Handle paint context.
20622 (fillScanlineAA): Implemented preliminary antialiasing based on
20623 composite context. Not working yet.
20624 (fillScanlineAlpha): Removed.
20625 (init): Fetch destination raster.
20626 (getDestinationRaster): New abstract method.
20627 (updateRaster): New backend method.
20629 2006-05-07 Roman Kennke <kennke@aicas.com>
20631 * gnu/java/awt/java2d/AlphaCompositeContext.java
20632 (compose): Fixed loops, conditions and logic to make compositing
20635 2006-05-07 Roman Kennke <kennke@aicas.com>
20637 * java/awt/ColorPaintContext.java
20638 (ColorPaintContext): Fixed filling of the raster.
20640 2006-05-07 Sven de Marothy <sven@physto.se>
20643 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20644 * java/awt/Component.java (processMouseEvent):
20645 Do lightweight cursor handling.
20646 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20647 (endResizing,mouseMoved): Save and reset original cursor, not the
20650 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20653 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20654 getNodeDimensions): Mind the size of the node icon. (getRowX):
20655 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20656 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20657 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20658 (installDefaults): assign totalChildIndent. (installUI): Call
20659 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20660 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20663 2006-05-06 Sven de Marothy <sven@physto.se>
20666 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20667 Check for zero image sizes.
20669 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20672 * java/util/Calendar.java (clear(int)): Forced internal state
20673 completion before performing a field clearing.
20675 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20677 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20678 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20679 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20680 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20681 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20682 UnmodifiableMapEntry as part of their return value.
20684 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20686 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20687 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20688 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20689 Generate jarsigner and keytool scripts.
20690 * tools/keytool.in: New file (renamed from keytool.sh.in).
20691 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20692 * tools/.cvsignore: Replaced *.sh with *
20693 * configure.ac: Replaced tools/*.sh with tools/*.
20695 2006-05-05 Roman Kennke <kennke@aicas.com>
20697 * java/awt/image/ColorModel.java
20698 (getNormalizedComponents): Implemented.
20700 2006-05-05 Roman Kennke <kennke@aicas.com>
20702 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20703 (paint): Query the button model for it's state, not the
20706 2006-05-05 Roman Kennke <kennke@aicas.com>
20708 * javax/swing/JTable.java
20709 (tableChanged): Sync selection model with table model changes.
20711 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20713 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20714 if there are no visible nodes to paint.
20716 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20718 * javax/swing/JOptionPane.java: API doc updates.
20720 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20722 * javax/swing/JToolBar.java
20723 (paramString): Reimplemented.
20725 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20727 * javax/swing/JScrollBar.java
20728 (paramString): Reimplemented.
20730 2006-05-04 Tom Tromey <tromey@redhat.com>
20732 PR classpath/27375:
20733 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20734 (readEntries): Updated.
20735 (getEntries): Likewise.
20736 (getEntry): Likewise.
20737 (getInputStream): Likewise.
20739 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20741 * gnu/javax/imageio/jpeg/DCT.java,
20742 gnu/javax/imageio/jpeg/HuffmanTable.java,
20743 gnu/javax/imageio/jpeg/JPEGComponent.java,
20744 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20745 gnu/javax/imageio/jpeg/JPEGException.java,
20746 gnu/javax/imageio/jpeg/JPEGFrame.java,
20747 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20748 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20749 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20750 gnu/javax/imageio/jpeg/JPEGMarker.java,
20751 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20752 gnu/javax/imageio/jpeg/JPEGScan.java,
20753 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20754 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20756 2006-05-04 Lillian Angel <langel@redhat.com>
20758 * javax/swing/JLabel.java
20759 (JLabel): Pass in an empty string for the text parameter.
20760 (JLabel): Likewise.
20761 (JLabel): Likewise.
20763 2006-05-04 Roman Kennke <kennke@aicas.com>
20765 * javax/swing/plaf/basic/BasicButtonListener.java
20766 (mouseEntered): Fixed conditions for changing states.
20768 2006-05-04 Roman Kennke <kennke@aicas.com>
20770 * javax/swing/JOptionPane.java
20771 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20773 2006-05-04 Roman Kennke <kennke@aicas.com>
20775 * javax/swing/JLabel.java
20776 (AccessibleJLabel.getSelectedText): Return null instead of "".
20777 (AccessibleJLabel.getSelectionStart): Added comment why
20778 return -1 is correct here.
20779 (AccessibleJLabel.getSelectionEnd): Added comment why
20780 return -1 is correct here.
20781 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20783 (AccessibleJLabel.getCharCount): Added comment about what
20785 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20786 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20787 (paramString): Return super.paramString() here, this provides
20788 a more meaningful output.
20790 2006-05-04 Roman Kennke <kennke@aicas.com>
20792 * javax/swing/JComponent.java
20793 (paint): Added null check to avoid NPE when clip == null.
20795 2006-05-04 Roman Kennke <kennke@aicas.com>
20797 * javax/swing/AbstractButton.java
20798 (addImpl): New method. Installs an OverlayLayout if no
20799 other layout has been installed before.
20800 (setLayout): New method. Detect if a client app installs a custom
20803 2006-05-04 Roman Kennke <kennke@aicas.com>
20805 * javax/swing/table/DefaultTableCellRenderer.java
20806 (noFocusBorder): Fixed width of empty border to 1.
20807 (getTableCellRendererComponent): Don't change the colors for
20808 focuses cells. Fixed border for focused cells.
20810 2006-05-04 Roman Kennke <kennke@aicas.com>
20812 * javax/swing/JTable.java
20813 (moveToCellBeingEdited): Adjust bounding box of editing component
20814 to exactly cover the grid.
20815 * javax/swing/plaf/basic/BasicTableUI.java
20816 (paint): Paint grid to the bottom and right of the cells instead
20817 of left and top. Adjust bounding box of cells accordingly.
20818 * javax/swing/plaf/metal/MetalLookAndFeel.java
20819 (initComponentDefaults): Fixed color of JTable selection border.
20820 * javax/swing/plaf/metal/OceanTheme.java
20821 (addCustomEntriesToTable): Fixed color of JTable selection border.
20823 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20825 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20826 Use _alias instead of alias.
20828 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20831 Set version to 0.92-pre.
20833 Add space for 0.92 entries.
20835 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20837 * include/Makefile.am:
20838 Added rules for gnu.java.net.local.LocalSocketImpl.h
20839 * include/java_lang_VMSystem.h:
20840 Regenerated correctly.
20842 2006-05-03 Sven de Marothy <sven@physto.se>
20845 * java/awt/Image.java:
20846 (getScaledInstance): Default to AreaAveraging for "smooth",
20847 don't thrown an error on illegal flag values.
20848 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20850 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20852 * javax/swing/text/FieldView.java:
20853 (adjustAllocation): Added if-block to return null when shape argument
20855 * javax/swing/text/PlainView.java:
20856 (updateDamage): Added if-block to return early if a is null.
20858 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20860 * javax/swing/plaf/basic/BasicTextUI.java:
20861 (changeUpdate): Added note.
20862 (removeUpdate): Dito.
20863 (insertUpdate): Dito.
20864 (damageRange): Added if-block to return early.
20865 (modelToView): Added check of getVisibleEditorRect's return value.
20866 (getVisibleEditorRect): Return null instead of empty rectangle.
20867 * javax/swing/text/DefaultCaret.java:
20868 (clearHighlight): Removed if-clause to create a highlight entry if it
20869 did not exist before.
20870 * javax/swing/text/WrappedPlainView.java:
20871 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20872 removed 2nd part of if-expression.
20873 (WrappedLine.updateDamage): Added more documentation, added check
20874 whether allocation area rectangle is null.
20876 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20878 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20879 Reset to preferred sizes if the argument is negative.
20881 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20883 * javax/swing/JList.java: Added/updated API docs.
20885 2006-05-03 Lillian Angel <langel@redhat.com>
20887 * javax/swing/JComponent.java
20888 (getRoot): New private function. Gets the root appropriate
20889 for painting. If an applet exists as a parent, then it is returned.
20890 (paintDoubleBuffered): Changed to use new function.
20891 * javax/swing/RepaintManager.java
20892 (getRoot): New private function. Gets the root appropriate
20893 for painting. If an applet exists as a parent, then it is returned.
20894 (getOffscreenBuffer): Changed to use new function.
20895 * javax/swing/SwingUtilties.java
20896 (getRoot): Reverted last patch to return Window, even if
20899 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20901 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20902 a pair of one public keyring and one private keyring.
20903 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20904 (containsCertificate): Added logging.
20905 (getCertificate): Likewise.
20906 (putCertificate): Likewsie.
20909 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20910 (containsPrivateKey): Added logging.
20911 (getPrivateKey): Likewise.
20912 (putPrivateKey): Likewise.
20913 (containsPublicKey): Likewise.
20914 (getPublicKey): Likewise.
20915 (putPublicKey): Likewise.
20916 (containsCertPath): Likewise.
20917 (getCertPath): Likewise.
20918 (putCertPath): Likewise.
20922 2006-05-03 Roman Kennke <kennke@aicas.com>
20924 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20925 * java/awt/AlphaComposite.java
20926 (createContext): Implemented.
20928 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20930 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20931 Set the current color again after drawing the raster.
20933 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20935 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20936 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20938 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20940 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20941 Assign returned value to field handler.
20942 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20945 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20947 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20948 Return without action if there is no view in the viewport.
20949 * javax/swing/text/WrappedPlainView.java
20950 (WrappedLine.getPreferredSpan): If metrics == null, update
20952 * javax/swing/tree/DefaultTreeModel.java (constructors):
20953 Do not call setRoot, assign the root node directly.
20955 2006-05-02 Lillian Angel <langel@redhat.com>
20957 * javax/swing/SwingUtilities.java
20958 (getRoot): Should return the Applet if it exists.
20959 Only return the Window if an Applet has not been
20962 2006-05-02 Lillian Angel <langel@redhat.com>
20964 * gnu/javax/swing/text/html/parser/support/Parser.java
20965 (readAttributes): Reverted Audrius' last patch. There is
20966 a slight difference in code between the NUMTOKEN and SLASH case.
20968 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20970 * javax/swing/text/JTextComponent.java:
20971 (setText): Throw InternalError from catch-block.
20972 * javax/swing/text/GapContent.java:
20973 (removed): Removed if-expression, changed '>' to '>='.
20975 2006-05-02 Roman Kennke <kennke@aicas.com>
20977 * gnu/java/awt/java2d/AbstractGraphics2D.java
20978 (AA_SAMPLING): New constant.
20979 (alpha): New field. Used in the antialiasing renderer.
20980 (edgeTable): New field. Used in the antialiasing renderer.
20981 (AbstractGraphics2D): Initialize rendering hints wrt
20983 (draw): Clip after stroking. Commented out clipping for now,
20984 it seems to be buggy.
20985 (fill): Commented out clipping for now, it seems to be buggy.
20986 (setComposite): Don't create composite context.
20987 (setPaint): Only change paint when parameter is not null.
20988 (translate): Call setClip() so subclasses can update their clip
20990 (clip): Call setClip() so subclasses can update their clip
20992 (drawGlyphVector): Added clipping, but left it commented out
20993 because it's buggy.
20994 (getClipBounds): Returns null when clip is null.
20995 (drawLine): Call rawDrawLine with translation applied.
20996 (filLRect): Call rawFillRect with translation applied.
20997 (fillShape): Added support for anti-aliasing.
20998 (rawSetForeground(int,int,int)): New method.
20999 (rawFillShape): A couple of painting fixes.
21000 (fillScanline): Implemented to call rawDrawLine.
21001 (fillShapeAntialias): New method. Implements an anti-aliasing
21003 (fillScanlineAA): New method. Used for the anti-aliasing
21005 (fillScanlineAlpha): New method. Used for the anti-aliasing
21007 (init): Initialize clip with the device bounds.
21008 (updateOptimization): Fixed the optimization condition.
21010 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21012 * javax/swing/text/GapContent.java:
21013 (GapContent): Restrict size argument by 2.
21014 (insertString): Changed expression from >= to >.
21015 (remove): Changed right side of expression to 'length - 1', changed
21017 (getChars): Throw exception if where below 0.
21018 (replace): Replaced call to setPositionsInRange() with
21019 resetMarksAtZero(), removed note.
21021 2006-05-02 Roman Kennke <kennke@aicas.com>
21024 * javax/swing/MenuSelectionManager.java
21025 (setSelectedPath): Rewritten.
21027 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21029 * gnu/javax/swing/text/html/parser/support/Parser.java
21030 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21033 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21035 * tools/.cvsignore: Added keytool.sh.
21036 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21038 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21040 * doc/tools.texinfo: New file.
21041 * doc/Makefile.am: Generate tools documentation.
21043 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21045 * tools/keytool.sh.in: New file.
21046 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21047 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21048 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21049 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21050 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21051 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21052 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21053 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21054 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21055 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21056 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21057 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21058 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21059 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21060 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21061 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21062 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21063 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21065 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21067 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21068 resemble more closely man-page style text.
21069 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21070 Mark (Eclipse) strings that need not be externalised.
21071 (writeSF): Likewise.
21072 (writeDSA): Likewise.
21073 Use package-private Messages class to provide i18n-ready strings.
21075 Use package-private Messages class to provide i18n-ready strings.
21076 (updateEntry): Likewise.
21077 Mark (Eclipse) strings that need not be externalised.
21078 (finishSigning): Likewise.
21079 * tools/gnu/classpath/tools/jarsigner/Main.java:
21080 Mark (Eclipse) strings that need not be externalised.
21081 (main): Do not use constant strings as class name.
21082 Use package-private Messages class to provide i18n-ready strings.
21083 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21084 (processArgs): Do not use constant strings as class name.
21085 Mark (Eclipse) strings that need not be externalised.
21086 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21087 (start): Do not use constant strings as class name.
21088 (teardown): Likewise.
21090 (setupCommonParams): Do not use constant strings as class name.
21091 Use package-private Messages class to provide i18n-ready strings.
21092 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21093 (installNewProvider): Do not use constant strings as class name.
21095 (setupSigningParams): Do not use constant strings as class name.
21096 Use package-private Messages class to provide i18n-ready strings.
21097 Mark (Eclipse) strings that need not be externalised.
21098 (getCallbackHandler): Use CallbackUtil.
21099 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21100 Use package-private Messages class to provide i18n-ready strings.
21101 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21102 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21103 (verifySF): Likewise.
21104 (verifySFEntries): Do not use constant strings as class name.
21105 Use Boolean.valueOf instead of new Boolean().
21106 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21107 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21109 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21110 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21112 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21114 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21115 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21116 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21118 2006-05-01 Tom Tromey <tromey@redhat.com>
21120 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21122 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21123 (close): Synchronize.
21124 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21125 * java/nio/LongBufferImpl.java (compact): Rewrote.
21126 * java/nio/IntBufferImpl.java (compact): Rewrote.
21127 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21128 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21129 * java/nio/CharBufferImpl.java (compact): Rewrote.
21130 * gnu/java/nio/ChannelWriter.java: New file.
21131 * java/nio/channels/Channels.java (newWriter): Implemented.
21133 2006-05-01 Lillian Angel <langel@redhat.com>
21135 * java/util/SimpleTimeZone.java
21136 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21137 (SimpleTimeZone): Likewise.
21138 (checkRule): Rewritten to properly check all values (more efficently).
21139 This code is now more stable, at least less buggy than before. Fixed
21141 (setStartRule): Moved checkRule call to end.
21142 (setStartRule): Likewise.
21143 (setEndRule): Likewise.
21144 (setEndRule): Likewise.
21146 2006-05-01 Tom Tromey <tromey@redhat.com>
21148 * lib/.cvsignore: Added classes.2.
21150 2006-05-01 Tom Tromey <tromey@redhat.com>
21152 * java/util/jar/JarFile.java (provider): Now package-private.
21153 * java/lang/Enum.java (compareTo): Javadoc fix.
21154 * java/lang/Boolean.java (compareTo): Javadoc fix.
21156 2006-05-01 Lillian Angel <langel@redhat.com>
21158 * gnu/javax/swing/text/html/parser/support/Parser.java
21159 (readAttributes): Formatted function. Added handling for
21160 SLASH token. The value of an attribute may start with a slash
21161 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21162 We should not be skipping over these type of attributes.
21164 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21166 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21167 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21168 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21169 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21170 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21171 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21172 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21173 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21174 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21175 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21176 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21177 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21178 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21179 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21180 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21181 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21182 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21183 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21184 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21185 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21186 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21187 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21188 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21189 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21190 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21191 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21192 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21193 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21194 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21195 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21196 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21197 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21198 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21199 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21200 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21201 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21202 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21203 * include/gnu_java_awt_peer_qt_QMatrix.h,
21204 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21205 * include/gnu_java_awt_peer_qt_QPen.h,
21206 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21207 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21208 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21209 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21210 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21211 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21212 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21213 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21214 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21215 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21216 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21217 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21218 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21219 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21220 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21221 * include/gnu_java_awt_peer_qt_QtImage.h,
21222 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21223 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21224 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21225 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21226 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21227 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21228 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21229 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21230 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21231 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21232 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21233 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21234 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21235 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21236 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21237 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21238 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21239 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21240 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21241 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21242 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21243 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21244 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21245 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21246 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21247 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21248 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21249 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21250 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21251 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21252 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21253 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21254 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21255 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21256 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21257 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21258 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21259 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21260 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21261 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21262 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21263 * include/java_lang_VMProcess.h:
21265 * native/jni/java-lang/java_lang_VMProcess.c:
21266 Redirect when pipe_count is 2 not 3.
21268 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21270 * gnu/java/awt/font/FontDelegate.java,
21271 * gnu/java/awt/font/FontFactory.java,
21272 * gnu/java/awt/font/GNUGlyphVector.java,
21273 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21274 * gnu/java/awt/font/opentype/GlyphNamer.java,
21275 * gnu/java/awt/font/opentype/MacResourceFork.java,
21276 * gnu/java/awt/font/opentype/NameDecoder.java,
21277 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21278 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21279 * gnu/java/awt/font/opentype/Scaler.java,
21280 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21281 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21282 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21283 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21284 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21285 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21286 * gnu/java/awt/font/opentype/truetype/Zone.java,
21287 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21288 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21289 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21290 New files. Imported font framework from:
21291 http://www.brawer.ch/software/fonts/
21293 2006-04-30 Roman Kennke <kennke@aicas.com>
21295 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21296 (lastTabInRun): Fix calculation of the last tab in a run. This
21297 has caused painting problems sometimes, making the
21298 last tab painted incorrectly.
21300 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21303 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21304 Use for and not while to prevent the endless loop.
21306 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21308 * javax/swing/JList.java
21309 (paramString): Changed from public to protected.
21311 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21313 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21314 (printHelpAndExit): Re-factored to use the above method.
21316 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21318 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21319 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21320 * tools/gnu/classpath/tools/jarsigner/Main.java:
21321 Changed license to GPL + Exception.
21322 (handler): New field.
21323 (getCallbackHandler): New method.
21324 (setupSigningParams): Use above method.
21325 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21326 Changed license to GPL + Exception.
21327 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21328 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21329 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21330 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21332 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21334 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21335 (handleConfirmation): Use print instead of println.
21336 (handleConfirmation): When case is YES_NO_OPTION, print default option
21338 (handleLanguage): Use print instead of println.
21340 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21342 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21343 (putComponent): Handle O and OU components.
21344 (getDer): Use correct (it2) iterator.
21345 (readAttributeValue): Read next character and break if end-of-stream.
21347 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21349 * gnu/java/security/provider/Gnu.java (run):
21350 Add "RSA" as an alias to MD5withRSA.
21351 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21352 Always encode a NULL as the value of an algorithm parameters field.
21353 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21354 (encodePrivateKey): Added trace/log statements.
21355 (decodePrivateKey): Likewise.
21356 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21357 (setup): Added trace/log statements.
21358 (generate): Likewise.
21359 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21360 (toString): New method.
21361 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21363 (toString): New method.
21364 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21365 (getEncoded): Use defaultFormat.
21366 (toString): New method.
21367 * gnu/java/security/key/dss/DSSKey.java (toString):
21368 Include defaultFormat in string.
21369 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21370 Break if successfully decoded public key.
21371 (engineGeneratePrivate): Break if successfully decoded private key.
21373 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21375 * java/security/Security.java <clinit>: Add our Callback provider.
21376 * resource/java/security/classpath.security: Likewise
21378 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21381 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21382 Decide about scroll bars from the preferred view size, not
21384 * javax/swing/ViewportLayout.java (layoutContainer):
21385 Do not change returned preferred size. Do not treat JScrollPane
21388 2006-04-28 Sven de Marothy <sven@physto.se>
21390 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21391 * javax/swing/ProgressMonitor.java (actionPerformed):
21392 Avoid divide-by-zero.
21394 2006-04-28 Sven de Marothy <sven@physto.se>
21396 * javax/swing/JSpinner.java: Fix default text justification.
21397 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21399 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21401 * javax/swing/JList.java
21402 (getMinSelectionIndex): Return correct value, added API docs,
21403 (getMaxSelectionIndex): Added API docs.
21405 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21407 * javax/swing/JList.java
21408 (JList(Object[])): Pass new model directly to init(),
21409 (JList(Vector)): Likewise,
21410 (JList(ListModel)): Renamed argument and updated API docs,
21411 (init): Throw IllegalArgumentException for null argument,
21412 (setListData(Object[])): Delegate model creation,
21413 (setListData(Vector)): Likewise,
21414 (createListModel(Object[])): New private method,
21415 (createListModel(Vector)): New private method,
21416 (paramString): Implemented.
21418 2006-04-28 Tom Tromey <tromey@redhat.com>
21420 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21422 (isSynthetic): Likewise.
21423 (isAnnotation): Likewise.
21424 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21425 (isAnnotation): Likewise.
21426 (isEnum): Likewise.
21428 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21430 * javax/swing/text/View.java:
21431 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21434 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21436 * javax/swing/text/View.java:
21437 (getNextVisualPositionFrom): Rewritten.
21438 * javax/swing/text/CompositeView.java:
21439 (getNextEastWestVisualPositionFrom): Partly implemented.
21440 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21442 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21444 * javax/swing/JList.java
21445 (setFixedCellHeight): Use correct property name for event.
21447 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21449 * javax/swing/text/Utilities.java:
21450 (getNextWord): Use codePointAt instead of charAt, added note, changed
21451 if-expression, added throwing of exception.
21452 (getPreviousWord): Use codePointAt instead of charAt.
21454 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21456 * java/lang/StringBuilder.java
21457 (ensureCapacity, getChars, append(StringBuffer),
21458 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21459 insert(int,String), insert(int,char), trimToSize): Replaced
21460 System.arraycopy calls with VMSystem.arraycopy.
21462 2006-04-27 Tom Tromey <tromey@redhat.com>
21464 * java/awt/image/renderable/RenderableImageProducer.java
21465 (requestTopDownLeftRightResend): Implemented.
21467 (startProduction): Add new consumer.
21469 2006-04-27 Sven de Marothy <sven@physto.se>
21471 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21473 2006-04-27 Roman Kennke <kennke@aicas.com>
21475 * java/awt/LightweightDispatcher.java
21476 Dispatch events only to targets that have a mouselistener
21477 attached. Changed to also handle null targets.
21479 2006-04-27 Roman Kennke <kennke@aicas.com>
21481 * NEWS: Added entries about accessibility support and L&F
21482 window decorations.
21484 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21486 * javax/swing/text/Utilities.java:
21487 (getTabbedTextOffset): Introduced width variable, rewritten the check
21488 which ends the loop.
21489 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21492 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21494 * examples/gnu/classpath/examples/swing/TreeDemo.java
21495 (createContent): Added root visibility and selection listener demos.
21496 * javax/swing/JTree.java (setRootVisible): If false, unselect
21497 the root node, if it is selected.
21498 * javax/swing/plaf/basic/BasicTreeUI.java
21499 (TreeTraverseAction.actionPerformed): Do not select the root if it
21501 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21502 removeSelectionPaths): Reset lead to null if the current lead path is
21503 removed from selection.
21504 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21505 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21506 Return the same path regardless is root visible or not. (update):
21507 Reduce the identation if the root is not visible.
21508 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21509 Return the same path regardless is root visible or not. (update):
21510 Reduce the identation if the root is not visible.
21512 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21514 * javax/swing/plaf/basic/BasicTreeUI.java
21515 (TreeAction.actionPerformed):Newly obtain the current lead
21516 path that must stay visible.
21517 (TreeTraverseAction.actionPerformed):Rewritten.
21518 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21519 Do not treat root specially. (setModel): Assume the root node
21520 initially expanded.
21521 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21522 Do not treat root specially. (setModel): Assume the root node
21523 initially expanded.
21525 2006-04-26 Chris Burdess <dog@gnu.org>
21528 * javax/xml/datatype/DatatypeFactory.java: Use complete
21529 implementation resolution mechanism.
21531 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21533 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21535 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21536 Removed NoImplementException form the implemented method.
21538 2006-04-26 Tom Tromey <tromey@redhat.com>
21540 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21543 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21545 * javax/swing/DefaultListSelectionModel.java
21546 (clone): Initialise empty listener list,
21547 (setSelectionMode): Throw IllegalArgumentException for bad input.
21549 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21551 * javax/swing/DefaultListSelectionModel.java
21552 (clearSelection): Clear the Bitset.
21554 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21556 * javax/swing/JTree.java (setLeadSelectionPath):
21557 Repaint the new and old lead pathes.
21558 * javax/swing/plaf/basic/BasicTreeUI.java
21559 (FocusHandler): Repaint the lead row when focus changes.
21560 (PropertyChangeHandler): Use existing constants, not the
21561 string literals for the property names.
21562 (TreeIncrementAction): Shrink the selection when moving
21563 from the selection edge to the selection anchor.
21564 (TreeSelectionHandler.valueChanged): Repaint the
21565 new and old lead pathes.
21566 (paintRow): Treat row as focused only if it is the lead row.
21567 * javax/swing/tree/DefaultTreeCellRenderer.java
21568 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21569 (paint): Rewritten.
21570 * javax/swing/tree/DefaultTreeSelectionModel.java
21571 (addSelectionPath): Event construction fix (old and new lead were
21573 (addSelectionPaths): Likewise.
21574 * javax/swing/JComponent.java (setOpaque): Explained.
21575 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21577 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21580 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21582 * examples/gnu/classpath/examples/swing/TreeDemo.java
21583 (createContent): Call DefaultTreeModel.reload(), not the
21584 tree.repaint(). Expand the parent of the added node.
21585 * javax/swing/JTree.java (constructor): Do not call
21586 UpdateUI (and documented why). (treeDidChange):
21587 Added comment, excluding the misinterpretation of this method.
21588 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21589 focusListener, keyListener, mouseListener, propertyListener,
21590 selectionModelPropertyChangeListener, treeModelListener,
21591 treeSelectionListener): Made package private.
21592 (PropertyChangeHandler): If the model changes, install the
21593 listener on it. (installUI): Assign treeModel.
21594 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21595 comment, excluding misinterpretation.
21596 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21597 (reload(TreeNode)): Implemented.
21599 2006-04-25 Tom Tromey <tromey@redhat.com>
21601 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21602 * javax/swing/tree/VariableHeightLayoutCache.java
21603 (getVisiblePathsFrom): Genericized.
21604 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21607 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21609 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21610 If clicked on the other row, cancel the current editing session.
21612 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21614 * javax/swing/plaf/basic/BasicTreeUI.java
21615 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21616 (paintExpandControl): Always paint in one gap distance from the left
21617 border of the path bounds.
21618 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21619 into consideration.
21620 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21623 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21625 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21627 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21629 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21630 Allow slashes (/) in the unquoted parameter value.
21632 2006-04-25 Roman Kennke <kennke@aicas.com>
21634 * gnu/java/awt/java2d/AbstractGraphics2D.java
21635 (drawString(String,int,int)): Implemented.
21636 (drawString(String,float,float)): Implemented.
21637 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21638 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21639 (getFontRenderContext): Implemented.
21640 (drawGlyphVector): Implemented.
21641 (getFont): Implemented.
21642 (setFont): Don't change font setting when null.
21643 (getFontMetrics): Implemented.
21644 (fillShape): Re-written to fill call rawFillShape() with a list
21645 of the edges instead of double arrays.
21646 (rawFillShape): Implemented using a polygon scanline conversion.
21647 (fillScanline): New helper method.
21648 (init): Initialize foreground black. Set font.
21649 * gnu/java/awt/java2d/PolyEdge.java: New file.
21650 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21652 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21654 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21656 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21658 * javax/swing/JTable.java: Fixed API doc tags,
21659 * javax/swing/text/AsyncBoxView.java: Likewise,
21660 * javax/swing/text/FlowView.java: Likewise.
21662 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21664 * javax/swing/table/DefaultTableColumnModel.java
21665 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21667 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21669 * javax/swing/table/DefaultTableColumnModel.java
21670 (DefaultTableColumnModel): Set selection model field and add 'this' as
21672 (addColumn): Add 'this' as a PropertyChangeListener,
21673 (removeColumn): Remove column before firing event, and remove 'this' as
21674 a PropertyChangeListener,
21675 (setSelectionModel): Remove 'this' as a listener from old model,
21676 (propertyChange): Check for 'width' property rather than
21677 TableColumn.COLUMN_WIDTH_PROPERTY.
21679 2006-04-24 Chris Burdess <dog@gnu.org>
21682 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21683 attributes when no doctype exists.
21685 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21687 * javax/swing/event/ChangeEvent.java: Updated API docs,
21688 * javax/swing/event/ChangeListener.java: Likewise,
21689 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21690 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21691 * javax/swing/table/TableColumnModel.java: Likewise.
21693 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21695 * javax/swing/text/Utilities.java:
21696 (getBreakLocation): Introduced shift variable, added notes.
21697 * javax/swing/text/WrappedPlainView.java:
21698 (calculateBreakPosition): Decrease allocation area bounds by insets,
21699 added early return when allocation area is empty, provide start offset
21701 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21702 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21703 numLines after loop.
21704 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21705 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21706 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21707 decreasing variable end by one, changed break condition in while-loop,
21708 added check for return value.
21709 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21710 allocation area is empty.
21712 2006-04-24 Sven de Marothy <sven@physto.se>
21714 * gnu/java/awt/java2d/Segment.java: New file.
21715 * gnu/java/awt/java2d/CubicSegment.java: New file.
21716 * gnu/java/awt/java2d/QuadSegment.java: New file.
21717 * gnu/java/awt/java2d/LineSegment.java: New file.
21718 * java/awt/BasicStroke.java
21719 (start): New field.
21721 (createStrokedShape): Implemented.
21722 (solidStroke): New method.
21723 (dashedStroke): New method.
21724 (capEnds): New method.
21725 (convertPath): New method.
21726 (addSegments): New method.
21727 (capEnd): New method.
21728 (lineIntersection): New method.
21729 (joinSegments): New method.
21731 2006-04-24 Roman Kennke <kennke@aicas.com>
21733 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21736 (clip): Changed clip to be in user space not in target space.
21737 (isOptimized): Added flag to allow optimized drawing for
21738 primitive operations (e.g. for Swing).
21739 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21740 with the paint context etc.
21741 (draw): Clip the shape before drawing it.
21742 (fill): Clip the shape before drawing it.
21743 (setComposite): Update isOptimized flag.
21744 (setPaint): Likewise.
21745 (setStroke): Likewise.
21746 (translate): Update the clip.
21747 (rotate): Likewise.
21750 (transform): Likewise.
21751 (setTransform): Likewise.
21752 (clip): Added optimization for rectangle clips.
21753 (create): Implemented.
21754 (clone): New method.
21755 (setFont): Basic implementation.
21756 (setClip): Update opimization flag.
21757 (drawLine): Added possible optimization.
21758 (fillRect): Added possible optimization.
21759 (fillShape): Implemented shape-filling by filling the flattended
21760 shape using polygon fill.
21761 (drawPixel): Added basic painting.
21762 (rawSetPixel): Changed signature to only take coordinates.
21763 (rawSetForeground): New abstract method.
21764 (getUserBounds): Implemented default for this method.
21765 (rawDrawLine): New method.
21766 (rawFillRect): New method.
21767 (rawFillPolygon): New method.
21768 (init): New method.
21769 (updateOptimization): New method.
21770 (computeIntersection): New method.
21771 (updateClip): New method.
21772 (clipShape): New method.
21774 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21776 * java/lang/Package.java: Added compatibility constructor to ease
21777 VM interface migration.
21779 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21781 * java/lang/Class.java (getEnumConstants): Implemented without
21782 delegating to VMClass.
21783 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21785 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21787 * java/lang/ClassLoader.java (definePackage): Added argument to
21788 Package constructor.
21789 * java/lang/Package.java (Package): Added ClassLoader argument.
21790 (loader): New field.
21791 (getDeclaredAnnotations): Implemented without help from VMPackage.
21792 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21793 to Package constructor.
21794 * vm/reference/java/lang/VMPackage.java: Removed.
21796 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21798 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21799 (createContent): Added check box to swith between single and
21800 multiple selection.
21801 * javax/swing/JTree.java (leadSelectionPath): Removed.
21802 (addSelectionInterval): Explained. (getLeadSelectionPath):
21803 Request the path from model. (getPathsBetweenRows): Explained.
21804 (setLeadSelectionPath): Set the path in model.
21805 * javax/swing/plaf/basic/BasicTreeUI.java
21806 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21807 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21808 (MouseHandler.mousePressed): Call selectPathForEvent.
21810 2006-04-23 Roman Kennke <kennke@aicas.com>
21812 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21814 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21817 Mention changes to VMProcess and VMSystem.
21818 * doc/vmintegration.texinfo:
21819 Change documentation on VMProcess and VMSystem.
21820 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21821 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21822 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21823 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21824 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21825 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21826 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21827 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21828 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21829 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21830 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21831 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21832 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21833 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21834 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21835 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21836 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21837 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21838 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21839 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21840 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21841 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21842 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21843 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21844 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21845 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21846 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21847 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21848 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21849 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21850 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21851 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21852 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21853 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21854 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21855 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21856 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21857 * include/gnu_java_awt_peer_qt_QMatrix.h,
21858 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21859 * include/gnu_java_awt_peer_qt_QPen.h,
21860 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21861 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21862 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21863 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21864 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21865 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21866 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21867 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21868 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21869 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21870 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21871 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21872 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21873 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21874 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21875 * include/gnu_java_awt_peer_qt_QtImage.h,
21876 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21877 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21878 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21879 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21880 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21881 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21882 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21883 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21884 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21885 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21886 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21887 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21888 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21889 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21890 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21891 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21892 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21893 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21894 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21895 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21896 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21897 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21898 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21899 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21900 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21901 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21902 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21903 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21904 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21905 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21906 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21907 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21908 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21909 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21910 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21911 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21912 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21913 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21914 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21915 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21916 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21917 * include/java_lang_VMProcess.h,
21918 * include/java_lang_VMSystem.h:
21919 Regenerated with GCJ 4.1.
21921 2006-04-22 Casey Marshall <csm@gnu.org>
21923 Fixes PR classpath/27228.
21924 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21925 (initialize): also accept `DHParameterSpec.'
21926 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21927 handle a passed-in `DHParameterSpec' properly.
21928 (generate): don't check if the random exponent is less than `q -
21929 1' if no `q' was specified.
21931 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21933 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21934 Only repaint the patches, speficied in the passed event.
21935 (expandPath): Do nothing if the path is already expanded.
21936 (scrollPathToVisible): Only scroll to visible, do nothing else.
21937 * javax/swing/plaf/basic/BasicTreeUI.java
21938 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21939 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21940 (TreeTraverseAction.actionPerformed): Collapse the node on the
21941 action "selectParent". (selectPath): Rewritten.
21942 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21943 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21944 Do not reuse selection array.
21945 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21947 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21950 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21952 * javax/swing/tree/DefaultTreeSelectionModel.java
21953 (addSelectionPath): If the path cannot be added, set it.
21954 (addSelectionPaths): Call insureRowContinuity.
21955 (arePathsContiguous): Implemented.
21956 (canPathBeAdded): New private method.
21957 (canPathsBeAdded): Implemented.
21958 (canPathsBeRemoved): Implemented.
21959 (getPath): New private method.
21960 (insureRowContinuity): Implemented.
21961 (removeSelectionPath): Call insureRowContinuity.
21962 (removeSelectionPaths): Call insureRowContinuity.
21963 (resetRowSelection): Removed stub marking, not used in implementation
21964 (nothing to do there).
21965 (selectOne): New private method.
21966 (setSelectionMode) Call insureRowContinuity.
21967 (setSelectionPaths) Remove the current selection by clearing it.
21969 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
21971 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21972 parameters consistendly, documented some methods.
21973 * java/sql/Blob.java: Likewise.
21974 * java/sql/CallableStatement.java: Likewise.
21975 * java/sql/Clob.java: Likewise.
21976 * java/sql/Connection.java: Likewise.
21977 * java/sql/DatabaseMetaData.java: Likewise.
21978 * java/sql/Date.java: Likewise.
21979 * java/sql/Driver.java: Likewise.
21980 * java/sql/PreparedStatement.java: Likewise.
21981 * java/sql/ResultSet.java: Likewise.
21982 * java/sql/ResultSetMetaData.java: Likewise.
21983 * java/sql/SQLData.java: Likewise.
21984 * java/sql/SQLOutput.java: Likewise.
21985 * java/sql/SQLWarning.java: Likewise.
21986 * java/sql/Statement.java: Likewise.
21987 * java/sql/Time.java: Likewise.
21988 * java/sql/Timestamp.java: Likewise.
21990 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
21992 * java/lang/reflect/AccessibleObject.java:
21993 Implemented AnnotatedElement.
21994 (getAnnotation, getAnnotations, getDeclaredAnnotations,
21995 isAnnotationPresent): New methods.
21997 2006-04-21 Tom Tromey <tromey@redhat.com>
21999 PR classpath/27163:
22000 * gnu/java/net/protocol/ftp/FTPConnection.java
22001 (changeWorkingDirectory): Do nothing if path is empty.
22003 2006-04-21 Tom Tromey <tromey@redhat.com>
22006 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22007 case where no '/' appears in 'location'.
22009 2006-04-21 Tom Tromey <tromey@redhat.com>
22011 * java/security/Security.java (<clinit>): Add all default providers.
22012 * resource/java/security/classpath.security: Added comment.
22014 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22016 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22017 * javax/swing/SpinnerNumberModel.java: Likewise.
22019 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22021 * javax/swing/SpinnerDateModel.java
22022 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22023 checking to call compareTo() on start and end.
22025 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22027 * javax/swing/border/AbstractBorder.java: API doc updates,
22028 * javax/swing/border/BevelBorder.java: Likewise,
22029 * javax/swing/border/CompoundBorder.java: Likewise,
22030 * javax/swing/border/EtchedBorder.java: Likewise,
22031 * javax/swing/border/LineBorder.java: Likewise,
22032 * javax/swing/border/MatteBorder.java: Likewise,
22033 * javax/swing/border/TitledBorder.java: Likewise.
22035 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22037 * gnu/javax/crypto/cipher/Anubis.java:
22038 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22040 * gnu/javax/crypto/cipher/Blowfish.java:
22041 (selfTest): Likewise,
22042 * gnu/javax/crypto/cipher/Cast5.java:
22043 (selfTest): Likewise,
22044 * gnu/javax/crypto/cipher/Khazad.java:
22045 (selfTest): Likewise,
22046 * gnu/javax/crypto/cipher/Rijndael.java:
22047 (selfTest): Likewise,
22048 * gnu/javax/crypto/cipher/Serpent.java:
22049 (selfTest): Likewise,
22050 * gnu/javax/crypto/cipher/Square.java:
22051 (selfTest): Likewise,
22052 * gnu/javax/crypto/cipher/Twofish.java:
22053 (selfTest): Likewise,
22054 * gnu/javax/crypto/mac/UMac32.java:
22055 (selfTest): Likewise,
22056 * gnu/javax/crypto/prng/CSPRNG.java:
22057 (getSystemInstance): Likewise.
22059 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22061 * gnu/java/security/hash/Haval.java:
22062 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22064 * gnu/java/security/hash/MD2.java:
22065 (selfTest): Likewise,
22066 * gnu/java/security/hash/MD4.java:
22067 (selfTest): Likewise,
22068 * gnu/java/security/hash/MD5.java:
22069 (selfTest): Likewise,
22070 * gnu/java/security/hash/RipeMD128.java:
22071 (selfTest): Likewise,
22072 * gnu/java/security/hash/RipeMD160.java:
22073 (selfTest): Likewise,
22074 * gnu/java/security/hash/Sha160.java:
22075 (selfTest): Likewise,
22076 * gnu/java/security/hash/Sha256.java:
22077 (selfTest): Likewise,
22078 * gnu/java/security/hash/Sha384.java:
22079 (selfTest): Likewise,
22080 * gnu/java/security/hash/Sha512.java:
22081 (selfTest): Likewise,
22082 * gnu/java/security/hash/Tiger.java:
22083 (selfTest): Likewise,
22084 * gnu/java/security/hash/Whirlpool.java:
22085 (selfTest): Likewise.
22087 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22089 * javax/swing/plaf/basic/BasicTreeUI.java
22090 (PropertyChangeHandler.propertyChange): Set the row mapper
22091 for the selection model.
22092 * javax/swing/tree/AbstractLayoutCache.java
22093 (NodeDimensions.getNodeDimensions): Explained.
22094 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22095 Implemented. (setRowHeight): Invalidate sizes.
22096 * javax/swing/tree/DefaultTreeSelectionModel.java
22097 (addSelectionPath, addSelectionPaths): Update lead row.
22098 (removeSelectionPath, removeSelectionPaths): Do nothing if
22099 selection is empty.
22100 (clone): Only clone list selection model if it is not null.
22101 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22102 setSelectionPath, setSelectionPaths, toString): Implemented.
22103 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22104 Pass the empty rectangle. (isFixedRowHeight): New method.
22105 * javax/swing/tree/VariableHeightLayoutCache.java
22106 (NodeRecord.getBounds): Pass the empty rectangle.
22108 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22110 * gnu/java/security/Properties.java
22111 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22113 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22115 * gnu/classpath/jdwp/util/Value.java
22116 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22117 creating new Boolean instances.
22119 2006-04-20 Mark Wielaard <mark@klomp.org>
22121 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22122 PrivilegedAction. Access awt.toolkit through SystemProperties.
22124 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22126 * javax/swing/ActionMap.java: Removed unused imports,
22127 * javax/swing/DefaultListSelectionModel.java
22128 (clearSelection): Removed unused label,
22129 * javax/swing/JScrollPane.java: Removed unused imports,
22130 * javax/swing/UIManager.java: Likewise,
22131 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22133 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22135 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22136 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22137 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22138 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22139 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22141 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22143 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22144 * java/sql/Blob.java: Likewise,
22145 * java/sql/CallableStatement.java: Likewise,
22146 * java/sql/Clob.java: Likewise,
22147 * java/sql/Connection.java: Likewise,
22148 * java/sql/DatabaseMetaData.java: Likewise,
22149 * java/sql/Date.java: Likewise,
22150 * java/sql/Driver.java: Likewise,
22151 * java/sql/PreparedStatement.java: Likewise,
22152 * java/sql/ResultSet.java: Likewise,
22153 * java/sql/ResultSetMetaData.java: Likewise,
22154 * java/sql/SQLData.java: Likewise,
22155 * java/sql/SQLOutput.java: Likewise,
22156 * java/sql/SQLWarning.java: Likewise,
22157 * java/sql/Statement.java: Likewise,
22158 * java/sql/Time.java: Likewise,
22159 * java/sql/Timestamp.java: Likewise.
22161 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22163 * java/sql/DriverManager.java
22164 (setLoginTimeout): Use incoming argument,
22165 (setLogStream): Likewise,
22166 (println): Fix API doc comment.
22168 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22170 * javax/swing/JMenuItem.java
22171 (paramString): Updated API docs,
22172 (getAccessibleContext): Added API docs,
22173 (AccessibleJMenuItem.stateChanged): Marked as stub,
22174 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22175 * javax/swing/JSlider.java
22176 (paramString): Fix for API docs,
22177 * javax/swing/JToolTip.java
22178 (getAccessibleContext): Fix for API docs.
22180 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22182 * javax/swing/JRadioButtonMenuItem.java
22183 (paramString): Reimplemented,
22184 (getAccessibleContext): API docs added,
22185 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22187 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22189 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22191 * javax/swing/plaf/basic/BasicTreeUI.java
22192 (finish): Invalidate path bounds.
22193 (getMaxHeight): Set the row height to the layout cache.
22194 (startEditing): Do not request to recalculated
22195 row height and preferred size.
22196 * javax/swing/tree/DefaultTreeCellEditor.java
22197 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22199 * javax/swing/tree/FixedHeightLayoutCache.java:
22202 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22204 * javax/swing/JDesktopPane.java
22205 (paramString): Reimplemented,
22206 plus API doc updates in AccessibleJDesktopPane.
22208 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22210 * javax/swing/ImageIcon.java:
22211 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22212 (AccessibleImageIcon.getLocale): Declared exception and always return
22214 (getAccessibleContext): Updated API docs,
22215 plus updated API docs all over AccessibleImageIcon.
22217 2006-04-20 Roman Kennke <kennke@aicas.com>
22220 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22221 (paintText): Fetch the ascent only once. Add the ascent to
22222 the text rect also when tabs are disabled.
22224 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22226 * java/util/Locale.java (defaultLocale): Set to en_US per
22227 default and use user.country but prioritize user.region if
22229 (getLocale(String language, String country)): Renamed region to
22231 (getLocale(String language, String region, String variant)):
22233 (getAvailableLocales): Likewise.
22235 2006-04-20 Roman Kennke <kennke@aicas.com>
22238 * javax/swing/JList.java
22239 (JList()): Call init() with DefaultListModel instance.
22240 (JList(Object[])): Call init() with null.
22241 (JList(Vector)): Call init() with null.
22242 (JList(ListModel)): Call init() with model.
22243 (init): Changed to take the model as argument. Don't call
22244 setter methods and initialize stuff directly instead.
22245 (getCellBounds): Check if UI is null.
22247 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22249 * javax/swing/text/WrappedPlainView.java: Initialize
22250 WrappedLine.numLines with -1.
22251 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22252 numLines is -1 and reculcalate the value appropriately.
22253 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22254 allocation area is empty.
22256 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22258 * javax/swing/JTabbedPane.java
22259 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22260 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22261 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22262 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22263 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22264 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22265 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22266 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22267 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22268 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22269 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22270 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22271 (Page.getAccessibleStateSet): Likewise,
22272 (Page.getAccessibleIndexInParent): Likewise.
22274 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22276 * javax/swing/JProgressBar.java
22277 (paramString): Reimplemented.
22279 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22281 * javax/swing/JButton.java: Updated API docs all over.
22283 2006-04-19 Roman Kennke <kennke@aicas.com>
22285 * java/awt/Toolkit.java
22286 (getDefaultToolkit): Use system classloader to load the
22289 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22291 * javax/swing/text/DefaultCaret.java:
22292 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22293 instead of DefaultCaret.setDot.
22295 2006-04-19 Roman Kennke <kennke@aicas.com>
22297 * native/jni/java-net/local.c
22298 (local_read): Handle EINTR correctly.
22299 (local_write): Likewise.
22301 2006-04-19 Riccardo Mottola <multix@gmail.com>
22303 PR classpath/27062, PR classpath/25650:
22304 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22306 2006-04-19 Tom Tromey <tromey@redhat.com>
22308 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22309 value of 'pureMinutes'. PR classpath/27189.
22311 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22313 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22314 boot packages list from the META-INF/INDEX.LIST file if it exists.
22316 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22318 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22319 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22320 (ITERATION_COUNT): Removed modifiers.
22321 (PASSWORD): Likewise.
22323 (PASSWORD_ENCODING): New property.
22324 (DEFAULT_PASSWORD_ENCODING): New constant.
22325 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22326 material (bytes) before a password (chars).
22328 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22330 * javax/swing/JMenu.java
22331 (getAccessibleChildrenCount): Marked as stub,
22332 (getAccessibleChild): Likewise,
22333 (getAccessibleSelection): Likewise,
22334 (getAccessibleSelection(int)): Likewise,
22335 (isAccessibleChildSelected): Likewise,
22336 (getAccessibleSelectionCount): Likewise,
22337 (addAccessibleSelection): Likewise,
22338 (removeAccessibleSelection): Likewise,
22339 (clearAccessibleSelection): Likewise,
22340 (selectAllAccessibleSelection): Likewise.
22342 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22344 * javax/swing/JSplitPane.java
22345 (getAccessibleContext): Added API docs,
22346 (paramString): Reimplemented,
22347 (setOrientation): Updated API docs,
22348 (setResizeWeight): Added argument checking and event notification.
22350 2006-04-18 Casey Marshall <csm@gnu.org>
22352 Fixes PR classpath/25673
22353 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22354 property is set. Update JavaDoc to reflect this.
22356 2006-04-18 Lillian Angel <langel@redhat.com>
22358 * gnu/xml/dom/DomDocument.java
22359 (setCheckingCharacters): New function used to set
22360 checkingCharacters flag.
22361 * gnu/xml/dom/html2/DomHTMLParser.java
22362 (parseDocument): Added call to set checkingCharacters flag
22365 2006-04-18 Lillian Angel <langel@redhat.com>
22367 * gnu/xml/dom/DomDocument.java
22368 (checkNCName): Reverted last patch. Added check for colon at
22369 last position back in.
22371 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22373 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22375 * examples/gnu/classpath/examples/swing/Demo.java:
22376 (mkMenuBar): Added NavigationFilter demo.
22378 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22380 * javax/swing/JSeparator.java: Updated API docs all over, plus
22381 (setOrientation): Fire PropertyChangeEvent,
22382 (paramString): Reimplemented.
22384 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22386 * javax/swing/plaf/basic/BasicTextUI.java:
22387 (getNextVisualPositionFrom): Implemented.
22389 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22391 * javax/swing/JPanel.java: Updated API docs all over, plus
22392 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22393 double-buffer flag.
22395 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22397 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22399 * examples/gnu/classpath/examples/swing/Demo.java:
22400 (mkMenuBar): Added DocumenFilter demo.
22402 2006-04-18 Tom Tromey <tromey@redhat.com>
22404 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22406 2006-04-18 Mark Wielaard <mark@klomp.org>
22408 Reported by John Sullivan (johns@fsf.org)
22409 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22411 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22413 * javax/swing/JInternalFrame.java
22414 (JDesktopIcon.getAccessibleContext): Added API docs,
22415 (getDefaultCloseOperation): Likewise,
22416 (paramString): Added 'title' attribute,
22417 (setDefaultCloseOperation): Added API docs.
22419 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22421 * javax/swing/JSlider.java
22422 (paramString): Reimplemented.
22424 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22426 * javax/swing/JComboBox.java
22427 (paramString): Reimplemented,
22428 (getAccessibleContext): Added API docs,
22429 (AccessibleJComboBox.getAccessibleRole): Likewise.
22431 2006-04-18 Roman Kennke <kennke@aicas.com>
22433 * javax/swing/RepaintManager.java
22434 (dirtyComponentsWork): New field.
22435 (ComponentComparator): Use dirtyComponentsWork instead of
22437 (RepaintManager): Initialize new field.
22438 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22439 and work on the copy.
22441 2006-04-18 Roman Kennke <kennke@aicas.com>
22443 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22444 (setBounds): Call reshape().
22445 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22446 (SwingContainerPeer): Changed argument to be a Component
22447 instead a Container.
22448 (getInsets): Call insets().
22449 (handleMouseEvent): Added null check to avoid NPE.
22450 (handleMouseMotionEvent): Added null check to avoid NPE.
22452 2006-04-18 Roman Kennke <kennke@aicas.com>
22455 * javax/swing/JComponent.java
22456 (paintChildrenWithOverlap): When one child is not opaque, propagate
22457 the dirty rectangles to the next child.
22458 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22459 This actually didn't work right and probably gained nothing.
22461 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22463 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22464 (moveToCellBeingEdited): Do not clone the rectangle here.
22466 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22468 * javax/swing/plaf/basic/BasicSliderUI.java
22469 (getActionMap): Fixed lookup key,
22470 (createActionMap): Modified actions to fetch slider/ui from the event
22473 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22475 * java/lang/Enum.java: Documented.
22477 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22479 * gnu/java/lang/InstrumentationImpl.java:
22480 Moved from java.lang.
22481 * java/lang/InstrumentationImpl.java:
22483 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22484 Moved from java.lang.
22485 * vm/reference/java/lang/VMClassLoader.java:
22486 Corrected reference to InstrumentationImpl.
22487 * vm/reference/java/lang/VMInstrumentationImpl.java:
22490 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22492 * java/lang/annotation/Annotation.java:
22495 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22497 * javax/swing/JToolBar.java
22498 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22499 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22500 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22501 (getAccessibleContext): Likewise.
22503 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22506 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22508 * native/fdlibm/Makefile.am,
22509 native/jni/classpath/Makefile.am:
22510 Don't use -module and -version-info for convenience libraries LDFLAGS.
22511 Fixes libtool warnings.
22513 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22515 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22516 (installKeyboardActions): Marked as stub,
22517 (uninstallKeyboardActions): Likewise,
22518 * javax/swing/plaf/basic/BasicComboPopup.java:
22519 (installKeyboardActions): Marked as stub,
22520 (uninstallKeyboardActions): Likewise,
22521 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22522 (installKeyboardActions): Marked as stub,
22523 (uninstallKeyboardActions): Likewise,
22524 * javax/swing/plaf/basic/BasicLabelUI.java:
22525 (installKeyboardActions): Marked as stub,
22526 (uninstallKeyboardActions): Likewise,
22527 * javax/swing/plaf/basic/BasicListUI.java:
22528 (installKeyboardActions): Marked as stub,
22529 (uninstallKeyboardActions): Likewise,
22530 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22531 (installKeyboardActions): Marked as stub,
22532 (uninstallKeyboardActions): Likewise,
22533 * javax/swing/plaf/basic/BasicMenuUI.java:
22534 (installKeyboardActions): Marked as stub,
22535 (uninstallKeyboardActions): Likewise,
22536 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22537 (installKeyboardActions): Marked as stub,
22538 (uninstallKeyboardActions): Likewise,
22539 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22540 (installKeyboardActions): Marked as stub,
22541 (uninstallKeyboardActions): Likewise,
22542 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22543 (installKeyboardActions): Marked as stub,
22544 (uninstallKeyboardActions): Likewise,
22545 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22546 (installKeyboardActions): Marked as stub,
22547 (uninstallKeyboardActions): Likewise,
22548 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22549 (installKeyboardActions): Marked as stub,
22550 (uninstallKeyboardActions): Likewise,
22551 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22552 (installKeyboardActions): Marked as stub,
22553 (uninstallKeyboardActions): Likewise,
22554 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22555 (installKeyboardActions): Marked as stub,
22556 (uninstallKeyboardActions): Likewise,
22557 * javax/swing/plaf/basic/BasicTableUI.java:
22558 (installKeyboardActions): Marked as stub,
22559 (uninstallKeyboardActions): Likewise,
22560 * javax/swing/plaf/basic/BasicTextUI.java:
22561 (installKeyboardActions): Marked as stub,
22562 (uninstallKeyboardActions): Likewise,
22563 * javax/swing/plaf/basic/BasicToolBarUI.java:
22564 (installKeyboardActions): Marked as stub,
22565 (uninstallKeyboardActions): Likewise.
22567 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22569 * javax/swing/plaf/basic/BasicSliderUI.java
22570 (installKeyboardActions): Implemented,
22571 (uninstallKeyboardActions): Implemented,
22572 (scrollByBlock): Accept any value for direction,
22573 (scrollByUnit): Likewise,
22574 (getInputMap): New method,
22575 (getActionMap): New method,
22576 (createActionMap): New method.
22579 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22581 * doc/vmintegration.texinfo:
22584 2006-04-16 Tom Tromey <tromey@redhat.com>
22586 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22588 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22591 Mention generics additions to the VM interface.
22592 * doc/vmintegration.texinfo:
22593 Added information on VMClass 1.5 additions and
22596 2006-04-16 Casey Marshall <csm@gnu.org>
22598 * NEWS: add an entry mentioning local socket support.
22600 2006-04-16 Casey Marshall <csm@gnu.org>
22602 * configure.ac (--enable-local-sockets): new enable argument.
22603 (ENABLE_LOCAL_SOCKETS): new define.
22604 * native/jni/java-net/Makefile.am (local_sources): new variable.
22605 (lib_javanet_la_SOURCES): append `local_sources.'
22606 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22607 * native/jni/java-net/local.c,
22608 * native/jni/java-net/local.h,
22609 * include/gnu_java_net_local_LocalSocketImpl.h,
22610 * gnu/java/net/local/LocalServerSocket.java,
22611 * gnu/java/net/local/LocalSocket.java,
22612 * gnu/java/net/local/LocalSocketAddress.java,
22613 * gnu/java/net/local/LocalSocketImpl.java: new files.
22615 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22617 * javax/accessibility/AccessibleAction.java:
22618 (DECREMENT): Added field.
22619 (INCREMENT): Likewise.
22620 (TOGGLE_EXPAND): Likewise.
22621 * javax/accessibility/AccessibleRole.java:
22622 (EDITBAR): Added field.
22623 (FOOTER): Likewise.
22624 (HEADER): Likewise.
22625 (PARAGRAPH): Likewise.
22626 (PROGRESS_MONITOR): Likewise.
22628 * javax/accessibility/AccessibleState.java:
22629 (INDETERMINATE): Added field.
22630 (MANAGES_DESCENDANTS): Likewise.
22631 (TRUNCATED): Likewise.
22633 2006-04-14 Tom Tromey <tromey@redhat.com>
22635 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22637 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22640 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22642 * javax/swing/text/DefaultCaret.java:
22643 (getBypass): New method.
22644 (moveDot): Rewritten.
22645 (moveDotImpl): New method.
22646 (setDot): Rewritten.
22647 (setDotImpl): New method.
22648 (DefaultCaret.Bypass): New class.
22650 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22652 * javax/swing/text/AbstractDocument.java:
22653 (getBypass): New method.
22654 (insertString): Rewritten.
22655 (remove): Rewritten.
22656 (replace): Rewritten.
22657 (insertStringImpl): New method.
22658 (removeImpl): New method.
22659 (replaceImpl): New method.
22660 (AbstractDocument.Bypass): New class.
22662 2006-04-14 Casey Marshall <csm@gnu.org>
22664 Fixes PR classpath/24642
22665 * NEWS: add note about SecureRandom changes, and addition of
22667 * java/security/SecureRandom.java (isSeeded): new field.
22668 (setSeed, setSeed): set `isSeeded' to `true.'
22669 (nextBytes): seed this instance if `isSeeded' is false.
22670 (getSeed): call `generateSeed.'
22671 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22672 (generateSeed, generateSeed): new methods.
22673 * vm/reference/java/security/VMSecureRandom.java: new file.
22675 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22677 * javax/swing/text/FieldView.java:
22678 (paint): Apply clipping rectangle of the allocation area
22679 before painting the text.
22680 * javax/swing/text/DefaultHighlighter.java:
22681 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22682 compute union and intersection, calculate intersection with allocation
22683 area before painting, adjust x and width when painting multiple lines
22684 by the range of the allocation area.
22686 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22688 * javax/swing/text/DefaultHighlighter.java:
22689 (paintLayeredHighlights): Marked as stub.
22691 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22693 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22694 (propertyChanged): Added note, change color only if current background
22695 is a ColorUIResource instance.
22697 2006-04-14 Tom Tromey <tromey@redhat.com>
22699 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22703 2006-04-14 Tom Tromey <tromey@redhat.com>
22705 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22707 2006-04-14 Mark Wielaard <mark@klomp.org>
22709 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22710 thread group when exceptionHandler isn't set.
22711 * vm/reference/java/lang/VMThread.java (run): Use result of
22712 thread.getUncaughtExceptionHandler directly.
22714 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22716 * javax/swing/JSplitPane.java
22717 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22718 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22719 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22720 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22721 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22722 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22723 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22725 2006-04-10 Tom Tromey <tromey@redhat.com>
22727 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22728 Fixed parameter bounds.
22730 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22732 * gnu/javax/crypto/assembly/Assembly.java,
22733 * gnu/javax/crypto/assembly/Cascade.java,
22734 * gnu/javax/crypto/assembly/CascadeStage.java,
22735 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22736 * gnu/javax/crypto/assembly/Direction.java,
22737 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22738 * gnu/javax/crypto/assembly/ModeStage.java,
22739 * gnu/javax/crypto/assembly/Operation.java,
22740 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22741 * gnu/javax/crypto/assembly/Stage.java,
22742 * gnu/javax/crypto/assembly/Transformer.java,
22743 * gnu/javax/crypto/cipher/Square.java,
22744 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22745 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22746 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22747 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22748 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22749 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22750 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22751 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22752 * gnu/javax/crypto/jce/cipher/PBES2.java,
22753 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22754 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22755 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22756 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22757 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22758 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22759 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22760 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22761 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22762 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22763 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22764 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22765 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22766 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22767 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22768 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22769 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22770 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22771 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22772 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22773 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22774 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22775 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22776 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22777 * gnu/javax/crypto/pad/WrongPaddingException.java,
22778 * gnu/javax/crypto/prng/ICMGenerator.java,
22779 * gnu/javax/crypto/prng/IPBE.java,
22780 * gnu/javax/crypto/prng/PBKDF2.java,
22781 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22782 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22783 * gnu/javax/crypto/sasl/srp/IALG.java,
22784 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22785 Remove CVS revision tags.
22787 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22789 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22790 Removed debugging code.
22792 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22794 * javax/swing/JTree.java (getPreferredSize): Return the
22796 * javax/swing/ViewportLayout.java (layoutContainer):
22797 Do not manage the view size and location if the view is
22798 in the scroll pane. Also manage size and location for
22799 Scrollable, if it is not in the scroll pane.
22800 * javax/swing/plaf/basic/BasicTreeUI.java,
22801 * javax/swing/tree/FixedHeightLayoutCache.java,
22802 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22803 * gnu/javax/swing/tree/GnuPath.java: New file.
22805 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22807 * javax/swing/JToolBar.java
22808 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22810 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22812 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22813 (createCustomColoredPanel): Set background color as demo intends,
22814 changed custom selection color to red.
22815 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22816 Replaced various single variables with a Compound instance, added
22817 custom highlighter demo.
22818 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22820 (TextFieldDemo.Compound): New class.
22821 (createTextFieldCompound): New method.
22822 (createLeftAlignedPanel): Rewritten.
22823 (createRightAlignedPanel): Rewritten.
22824 (createCenteredPanel): Rewritten.
22825 (createCustomColoredPanel): Removed.
22826 (createCustomColoredPanel1): New method.
22827 (createCustomColoredPanel2): New method.
22828 (createCustomBordersPanel): New method.
22829 (createMiscPanel): Rewritten.
22830 (actionPerformed): Rewritten.
22831 (createContent): Add panels of new compounds to main panel, put
22832 main panel in a JScrollPane.
22833 * examples/gnu/classpath/examples/swing/Demo.java:
22834 (Demo): Put desktop in a scrollpane.
22835 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22836 method via reflection.
22838 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22840 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22841 (createUI): Return new instance rather than shared instance.
22843 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22845 * javax/swing/text/FieldView.java:
22846 (checkContainer): Call updateVisibility() at the end.
22848 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22850 * java/awt/event/MouseEvent.java:
22851 (paramString): Add value of 'consumed' variable in string.
22853 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22856 * javax/swing/JTextField.java: Removed scrollOffset variable.
22857 (JTextField): Moved up initialization of horizontalVisibility field.
22858 (getScrollOffset): Implemented.
22859 (setScrollOffset): Implemented.
22860 (getHorizonztalVisibility): Removed note.
22861 (scrollRectToVisible): New method.
22862 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22863 (checkContainer): New method.
22864 (updateVisibility): New method.
22865 (calculateHorizontalSpan): New method.
22866 (adjustAllocation): Removed unneeded local variables, added code
22867 to handle scrolling.
22868 (getPreferredSpan): Use new method calculateHorizontalSpan,
22869 avoid calculation by returning cached value cachedSpan.
22870 (paint): Added check whether the hosted component is a JTextField.
22871 (insertUpdate): Invalidate cached span value, update visibility
22873 (removeUpdate): Dito.
22874 (changeUpdate): Dito.
22876 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22878 * javax/swing/JInternalFrame.java
22879 (setTitle): Set old value to 'this.title', not 'title'.
22881 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22883 * javax/swing/JInternalFrame.java
22884 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22885 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22886 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22887 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22888 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22889 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22890 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22891 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22892 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22893 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22895 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22897 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22899 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22901 (JInternalFrame()): Use "" for default title,
22902 (getAccessibleContext): Updated API docs,
22903 (getDesktopIcon): Likewise,
22904 (getLayer): Check for layer in client properties, and return
22905 DEFAULT_LAYER if no setting is found,
22906 (getTitle): Updated API docs,
22907 (setDesktopIcon): Fire property change event.
22909 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22911 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22912 Mind that the presence of one scroll bar may cause the
22915 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22917 * gnu/regexp/REToken.java(unicodeAware): New field,
22918 (toLowerCase, toUpperCase): New methods.
22919 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22920 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22921 Use toLowerCase and toUpperCase defined in REToken instead of
22922 those defined in java.lang.Character.
22923 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22924 (initialize): Sets unicodeAware of the generated REToken to false if
22925 REG_ICASE_USASCII is set.
22926 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22927 to lower case and keep the original value.
22928 (matchOneString): Use the new method charEquals to compare characters.
22929 (charEquals): New method to compare characters.
22930 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22932 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22934 * javax/swing/event/InternalFrameEvent.java:
22935 (paramString): Implemented,
22936 updated API docs all over.
22938 2006-04-12 Casey Marshall <csm@gnu.org>
22940 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22941 (Generator.setup): call `fillBlock.'
22943 2006-04-12 Casey Marshall <csm@gnu.org>
22945 Fixes PR classpath/24481.
22946 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22947 initialize the adaptee.
22948 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22949 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22950 addRandomBytes): new methods.
22952 2006-04-12 Tom Tromey <tromey@redhat.com>
22954 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22957 2006-04-12 Lillian Angel <langel@redhat.com>
22959 * gnu/xml/dom/DomDocument.java
22960 (checkNCName): Removed unneeded part of check.
22961 * gnu/xml/dom/DomNode.java
22962 (dispatchEvent): Added code to grow ancestors array
22963 if needed. Changed checks to use depth of node instead.
22964 Fixes an infinite loop and segmentation fault.
22965 * gnu/xml/dom/html2/DomHTMLParser.java
22966 (handleEndTag): No need to use/make a copy of the node.
22967 Causes an infinite loop.
22969 2006-04-12 Tom Tromey <tromey@redhat.com>
22971 PR classpath/27131:
22972 * java/util/BitSet.java (get): Early return if to==from.
22974 2006-04-12 Mark Wielaard <mark@klomp.org>
22976 * java/security/SecureRandom.java (algorithm): New private field.
22977 (SecureRandom): Initialize algorithm.
22978 (SecureRandom(SecureRandomSpi,Provider,String)): New private
22980 (getInstance): Call 3 argument constructor.
22981 (getAlgorithm): New method.
22983 2006-04-12 Mark Wielaard <mark@klomp.org>
22985 Port UncaughtExceptionHandler support from generics branch.
22986 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22988 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
22990 * java/lang/Thread.java:
22991 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22992 Added docs and security check.
22993 (getUncaughtExceptionHandler()): Documented.
22994 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22995 Added docs and security check.
22996 (getDefaultUncaughtExceptionHandler()): Documented.
22997 (getId()): Documented.
22999 2006-04-12 Tom Tromey <tromey@redhat.com>
23001 * vm/reference/java/lang/VMThread.java (run): Use thread's
23003 * java/lang/Thread.java (defaultHandler): New field.
23004 (setDefaultUncaughtExceptionHandler,
23005 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23006 getUncaughtExceptionHandler): New methods.
23007 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23008 UncaughtExceptionHandler.
23009 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23011 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23013 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23014 buffer. Loop only once to determine Utf8 length when possible. Make
23015 the inner loop bounded by buf.length.
23016 (getUTFlength): New private method.
23017 (buf): New private field.
23019 2006-04-11 Lillian Angel <langel@redhat.com>
23021 * gnu/xml/dom/DomNodeIterator.java
23022 (nextNode): Moved line of code to avoid an infinite loop.
23023 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23024 (getCls): New function.
23025 (setCls): Likewise.
23026 (getSrc): Likewise.
23027 (setSrc): Likewise.
23028 * gnu/xml/dom/html2/DomHTMLDocument.java:
23029 Added DomHTMLEmbedElement to map.
23030 (getApplets): Added node name, 'embed'.
23031 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23033 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23034 (getJavaCode): New function.
23035 (setJavaCode): Likewise.
23036 (getObject): Likewise.
23037 (setObject): Likewise.
23038 (getJavaObject): Likewise.
23039 (setJavaObject): Likewise.
23040 (getJavaArchive): Likewise.
23041 (setJavaArchive): Likewise.
23042 (getJavaCodeBase): Likewise.
23043 (setJavaCodeBase): Likewise.
23044 (getJavaType): Likewise.
23045 (setJavaType): Likewise.
23046 (setMayscript): Likewise.
23047 (getMayscript): Likewise.
23048 (setScriptable): Likewise.
23049 (getScriptable): Likewise.
23050 * gnu/xml/dom/html2/DomHTMLParser.java
23051 (parseDocument): Should not check for well formedness
23052 when parsing an html document.
23053 * java/awt/Window.java
23054 (dispatchEvent): Added check to avoid NPE.
23056 2006-04-10 Tom Tromey <tromey@redhat.com>
23058 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23060 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23061 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23063 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23065 * javax/swing/plaf/basic/BasicTextUI.java:
23066 (getNextVisualPositionFrom): Marked as stub.
23068 2006-04-10 Roman Kennke <kennke@aicas.com>
23070 * javax/swing/plaf/basic/BasicLookAndFeel.java
23071 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23072 and create the defaults as strings constants.
23073 (loadSystemColors): Implemented stubbed method.
23075 2006-04-10 Tom Tromey <tromey@redhat.com>
23077 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23080 2006-04-10 Tom Tromey <tromey@redhat.com>
23082 * java/io/CharArrayWriter.java (append): Javadoc fix.
23083 (append): Likewise.
23085 2006-04-10 Tom Tromey <tromey@redhat.com>
23087 * javax/accessibility/AccessibleTextSequence.java: New file.
23088 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23090 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23091 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23092 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23093 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23094 * javax/accessibility/AccessibleExtendedText.java: New file.
23095 * javax/accessibility/AccessibleContext.java
23096 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23097 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23098 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23099 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23100 * javax/accessibility/AccessibleStreamable.java: New file.
23101 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23104 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23106 * javax/swing/tree/AbstractLayoutCache.java
23107 (getNodeDimensions, getRowsForPath): Implemented.
23108 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23109 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23111 2006-04-10 Roman Kennke <kennke@aicas.com>
23113 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23115 2006-04-10 Roman Kennke <kennke@aicas.com>
23117 * javax/swing/JInternalFrame.java
23118 (AccessibleJInternalFrame): Marked all stubbed methods as such
23119 by adding throws NotImplementedException.
23121 2006-04-10 Roman Kennke <kennke@aicas.com>
23123 * javax/swing/JFileChooser.java
23124 (getAccessibleContext): Don't create a new instance on each
23125 call, instead store the accessible context in the
23126 accessibleContext field.
23128 2006-04-10 Roman Kennke <kennke@aicas.com>
23130 * javax/swing/JComboBox.java
23131 (AccessibleJComboBox): Marked all stubbed methods as such
23132 by adding throws NotImplementedException.
23134 2006-04-10 Roman Kennke <kennke@aicas.com>
23136 * javax/swing/ActionMap.java
23137 (readObject): Removed.
23138 (writeObject): Removed.
23140 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23142 * javax/swing/tree/DefaultTreeSelectionModel.java
23143 (addSelectionPaths, setSelectionPaths): Call
23144 insureUniqueness. (clone, setRowMapper): Implemented.
23145 * TreePath (path): Marked final.
23147 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23149 * javax/swing/tree/DefaultTreeSelectionModel.java:
23150 Documented and autoformatted. (insureUniqueness):
23151 Removed stub marking.
23153 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23155 * javax/swing/SizeSequence.java
23156 (sizes): Don't initialise here,
23157 (SizeSequence(int, int)): Initialise sizes field,
23158 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23159 (setSize): Do nothing when index is out of bounds,
23160 (getIndex): Implemented,
23161 (setSizes): Reimplemented,
23162 (getSizes): Likewise,
23163 (insertEntries): Likewise,
23164 (removeEntries): Likewise,
23165 plus added API docs all over.
23167 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23169 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23170 one way message and retry after any IOException.
23172 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23174 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23175 Set the byte order.
23177 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23179 * org/omg/PortableServer/ServantLocatorPOA.java:
23180 (preinvoke, postinvoke): Remove default implementation.
23181 * org/omg/PortableServer/ServantActivatorPOA.java:
23182 (incarnate, etherealize): Remove default implementation.
23183 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23184 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23185 (make_object): Moved method from ObjectReferenceFactoryOperations.
23186 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23187 Removed unspecified interface.
23188 * org/omg/DynamicAny/_DynAnyStub.java:
23189 (_DynAnyStub(Delegate)): Removed constructor.
23190 * org/omg/DynamicAny/_DynArrayStub.java,
23191 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23192 * org/omg/DynamicAny/_DynEnumStub.java,
23193 * org/omg/DynamicAny/_DynFixedStub.java,
23194 * org/omg/DynamicAny/_DynSequenceStub.java,
23195 * org/omg/DynamicAny/_DynStructStub.java,
23196 * org/omg/DynamicAny/_DynUnionStub.java,
23197 * org/omg/DynamicAny/_DynValueStub.java:
23198 Extend from ObjectImpl and not from _DynAnyStub.
23199 (type, next, destroy, copy, rewind, assign, component_count,
23200 current_component, equal, from_any, get_any, get_boolean, get_char,
23201 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23202 get_reference, get_short, get_string, get_typecode, get_ulong,
23203 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23204 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23205 insert_long, insert_longlong, insert_octet, insert_reference,
23206 insert_short, insert_string, insert_typecode, insert_ulong,
23207 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23208 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23209 * org/omg/CosNaming/_BindingIteratorStub.java:
23210 (_BindingIteratorStub(Delegate)): Made package private.
23211 * org/omg/CosNaming/_NamingContextExtStub.java:
23212 (_NamingContextExtStub(Delegate)): Made package private.
23213 * org/omg/CosNaming/_NamingContextStub.java:
23214 (_NamingContextStub(Delegate)): Made package private.
23215 (throw4, throw5): Likewise.
23216 * gnu/CORBA/NamingService/NameParser.java (resolve):
23217 Adapt to package private constructor. Use _set_delegate instead.
23218 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23219 * org/omg/CORBA/ORB.java:
23220 (create_recursive_sequence_tc): Made abstract.
23221 (get_default_context): Likewise.
23222 * gnu/CORBA/OrbRestricted.java:
23223 (create_recursive_sequence_tc): New moved method.
23224 (get_default_context): Likewise.
23225 * org/omg/CORBA/ParameterMode.java:
23226 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23228 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23230 * gnu/CORBA/GIOP/MessageHeader.java (write):
23231 More informative exception.
23232 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23233 * gnu/CORBA/SocketRepository.java (get_socket):
23234 Removed debugging code.
23236 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23238 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23239 one way message, but ignore if EOF was received.
23240 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23241 Minor.EOF if the end of file is received instead of the header.
23243 2006-04-09 Roman Kennke <kennke@aicas.com>
23245 * javax/swing/plaf/metal/MetalRootPaneUI.java
23246 (MetalTitlePane.IconifyAction): New inner class.
23247 (MetalTitlePane.MaximizeAction): New inner class.
23248 (MetalTitlePane.createActions): Create iconifyAction and
23250 (MetalRootLayout.titlePane): New field.
23251 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23253 (MetalRootLayout.preferredLayoutSize): Changed to not make
23254 assumptions about the actual component order.
23255 (MetalRootLayout.layoutContainer): Changed to not make
23256 assumptions about the actual component order.
23257 (installWindowDecorations): Pass the titlePane as parameter to
23258 the MetalRootLayout constructor.
23259 (uninstallWindowDecorations): Changed to not make
23260 assumptions about the actual component order.
23262 2006-04-08 Roman Kennke <kennke@aicas.com>
23264 * javax/swing/plaf/metal/MetalRootPaneUI.java
23265 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23267 (MetalTitlePane.installListeners): Don't register a focus listener
23268 on the window. This is a potential memory leak and must be
23269 implemented on a different way. Install mouse listener here.
23270 (installWindowDecorations): Fixed assertion condition. Always
23271 insert the window decoration at index#1 in the layered
23274 2006-04-08 Roman Kennke <kennke@aicas.com>
23276 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23277 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23278 Only resize window if actual width or height value changes.
23279 Avoids nasty flicker when only setLocation() is beeing called
23282 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23284 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23285 exception if the magic sequence does not match.
23287 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23289 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23290 response for the one way messages.
23292 2006-04-08 Roman Kennke <kennke@aicas.com>
23294 * javax/swing/MenuSelectionManager.java
23295 (processKeyEvent): Implemented stub method.
23296 * javax/swing/JMenu.java
23297 (processKeyEvent): Implemented stub method.
23298 * javax/swing/JMenu.java
23299 (processKeyEvent): Implemented stub method.
23300 (processMenuKeyEvent): Implemented stub method.
23302 2006-04-08 Roman Kennke <kennke@aicas.com>
23304 * javax/swing/AbstractAction.java
23305 (readObject): Removed unneeded method.
23306 (writeObject): Removed unneeded method.
23308 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23310 * javax/swing/plaf/synth/SynthPainter.java:
23311 (paintSplitPaneDividerBorder): Removed.
23313 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23315 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23316 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23317 No longer constants.
23318 (static_initializer): Added to initialize above fields.
23319 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23320 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23321 (static_initializer): Added to initialize above fields.
23323 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23325 * java/awt/Dialog.java: Improved documentation all over.
23326 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23327 (Dialog(Dialog)): Likewise.
23329 2006-04-08 Mark Wielaard <mark@klomp.org>
23331 * java/util/jar/JarFile.java (provider): New static field.
23332 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23335 2006-04-08 Mark Wielaard <mark@klomp.org>
23338 * java/lang/StackTraceElement.java (toString): Don't add space
23339 between type and source indicator.
23341 2006-04-07 Casey Marshall <csm@gnu.org>
23343 Fixes PR classpath/24464
23344 * java/util/jar/JarFile.java (verify, verifyHashes,
23345 EntryInputStream.<init>): pass the Gnu provider directly to
23348 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23351 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23352 (DIGEST0): Use version 3 test vector.
23354 (S_box): New field: Version 3 S-box values.
23355 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23356 (transform): Formating.
23357 (padBuffer): Likewise.
23358 (getResult): Likewise.
23359 (selfTest): Likewise.
23361 2006-04-07 Tom Tromey <tromey@redhat.com>
23363 * java/util/InvalidPropertiesFormatException.java
23364 (serialVersionUID): New field.
23365 (readObject, writeObject): New methods.
23366 * java/util/Arrays.java (toString): Javadoc fixes.
23367 * java/net/URLConnection.java: Cleaned up imports.
23368 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23369 * java/lang/reflect/MalformedParameterizedTypeException.java
23370 (serialVersionUID): New field.
23371 * java/lang/reflect/GenericSignatureFormatError.java
23372 (serialVersionUID): New field.
23373 * java/lang/Class.java (Class): Javado fixes.
23374 (getComponentType): Likewise.
23375 (getGenericInterfaces): Likewise.
23376 (getTypeParameters): Likewise.
23377 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23378 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23380 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23382 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23385 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23387 * java/awt/Dialog.java
23388 (AccessibleAWTDialog): Added api docs
23389 (AccessibleAWTDialog.getAccessibleStateSet):
23390 Renamed from getAccessibleState.
23391 * java/awt/Frame.java
23392 (AccessibleAWTFrame): Added api docs
23393 (AccessibleAWTFrame.getAccessibleStateSet):
23394 Renamed from getAccessibleState.
23396 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23398 * java/awt/Dialog.java: Reformatted.
23400 2006-04-07 Lillian Angel <langel@redhat.com>
23402 * java/awt/Component.java
23403 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23404 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23406 2006-04-07 Tom Tromey <tromey@redhat.com>
23408 * java/beans/beancontext/BeanContextMembershipEvent.java
23409 (serialVersionUID): New field.
23410 * java/beans/beancontext/BeanContextServicesSupport.java
23411 (addBeanContextServicesListener): Synchronize.
23412 (addService): Implemented.
23413 (createBCSChild): Implemented.
23414 (BCSSChild): Added arguments.
23415 (fireServiceAdded): Implemented.
23416 (fireServiceRevoked): Implemented.
23417 (getCurrentServiceSelectors): Implemented.
23418 (hasService): Implemented.
23419 (removeBeanContextServicesListener): Implemented.
23420 (serviceAvailable): Implemented.
23421 (serviceRevoked): Implemented.
23422 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23424 (createBCSChild): Implemented.
23425 (BeanContextSupport):
23426 (addBeanContextMembershipListener): Synchronize.
23427 (fireChildrenAdded): Implemented.
23428 (fireChildrenRemoved): Implemented.
23429 (BeanContextSupport): Use default locale.
23430 (isEmpty): Implemented.
23431 (isDesignTime): Implemented.
23432 (size): Implemented.
23433 (toArray): Synchronized.
23434 (toArray): Likewise.
23435 (iterator): Likewise.
23436 (BCSIterator): Implemented.
23437 (bcsChildren): Implemented.
23438 (validatePendingAdd): Implemented.
23439 (validatePendingRemove): Likewise.
23440 (childJustAddedHook): Implemented.
23441 (childJustRemovedHook): Likewise.
23442 (classEquals): Likewise.
23443 (toArray): Mark as stub.
23444 (setDesignTime): Implemented.
23445 (copyChildren): Implemented.
23446 (containsKey): Implemented.
23447 (contains): Likewise.
23448 (containsAll): Likewise.
23449 (getResource): Implemented.
23450 (getResourceAsStream): Likewise.
23451 (removeBeanContextMembershipListener): Likewise.
23452 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23453 (serialVersionUID): New field.
23454 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23455 (serialVersionUID): New field.
23456 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23459 2006-04-06 Roman Kennke <kennke@aicas.com>
23462 * javax/swing/MenuSelectionManager.java
23463 (setSelectedPath): Search one more item in the loop.
23465 2006-04-06 Tom Tromey <tromey@redhat.com>
23467 * java/awt/image/renderable/RenderableImageProducer.java
23468 (image, context, consumers): New fields.
23469 (RenderableImageProducer): Implemented.
23470 (setRenderContext): Likewise.
23471 (addConsumer): Likewise.
23472 (isConsumer): Likewise.
23473 (removeConsumer): Likewise.
23474 (startProduction): Likewise.
23476 2006-04-06 Roman Kennke <kennke@aicas.com>
23478 * java/awt/Component.java
23479 (AccessibleAWTComponent.getBounds): Return the component
23480 bounds regardless of its showing state.
23481 (AccessibleAWTComponent.getLocation): Return the component
23482 location regardless of its showing state.
23483 (AccessibleAWTComponent.getSize): Return the component
23484 size regardless of its showing state.
23486 2006-04-06 Roman Kennke <kennke@aicas.com>
23488 * javax/swing/JRootPane.java
23489 (getAccessibleContext): New method. Provides an accessibleContext
23492 2006-04-06 Roman Kennke <kennke@aicas.com>
23494 * java/awt/Toolkit.java
23495 (initAccessibility): Use the 'gnu.classpath.home.url' property
23496 to determine the system confiuration directory.
23497 * java/awt/Component.java
23498 (dispatchEvent): Trigger Toolkit dispatching here.
23499 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23500 so it can't be overridden by subclasses and is performed in
23503 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23505 * javax/naming/Binding.java: Added API docs.
23506 * javax/naming/NameClassPair.java: Added API docs.
23507 (fullName): New field.
23508 (setNameInNamespace): New 1.5 method.
23509 (getNameInNamespace): Likewise.
23511 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23513 * javax/naming/CompositeName.java:
23514 (readObject): New deserialization method.
23515 (writeObject): New serialization method.
23517 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23519 * javax/security/auth/x500/X500Principal.java
23520 (readAttributeValue) Check for separator after quoted value was
23521 failing in all cases.
23523 2006-04-06 Mark Wielaard <mark@klomp.org>
23525 * java/lang/Class.java (getClassLoader): Don't do security check
23526 when loader is null.
23528 2006-04-06 Roman Kennke <kennke@aicas.com>
23530 * java/awt/Toolkit.java
23531 (getDefaultToolkit): Initialize accessibility after setting
23533 (initAccessibility): New helper method to setup accessibility.
23535 2006-04-06 Roman Kennke <kennke@aicas.com>
23537 * javax/swing/AbstractButton.java
23538 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23539 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23541 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23542 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23543 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23544 (AccessibleAbstractButton.getCharCount): Implemented stub.
23545 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23546 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23547 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23548 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23549 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23550 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23553 2006-04-06 Roman Kennke <kennke@aicas.com>
23555 * java/awt/Component.java
23556 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23557 state here. This is only done in JComponent.
23558 * javax/swing/JComponent.java
23559 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23561 (getNextFocusableComponent): Implemented stub method.
23562 (grabFocus): Implemented stub method.
23563 (unregisterKeyboardAction): Implemented stub method.
23564 (setNextFocusableComponent): Implemented stub method.
23565 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23566 This is a helper class for providing compatibility with the older
23569 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23572 * javax/naming/directory/BasicAttribute.java,
23573 * javax/naming/directory/BasicAttributes.java:
23574 (readObject): New deserialization method.
23575 (writeObject): New serialization method.
23577 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23579 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23580 (getErrorHandler): Made method abstract.
23581 (setErrorHanlder): Likewise.
23582 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23583 (getErrorHandler): Implement abstract method from superclass.
23584 (setErrorHandler): Likewise.
23585 (errorHandler): New field.
23586 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23587 (getErrorHandler): Implement abstract method from superclass.
23588 (setErrorHandler): Likewise.
23589 (errorHandler): New field.
23590 * javax/xml/XMLConstants.java: Corrected since tag.
23591 (XMLConstants): Added private constructor.
23592 * javax/xml/datatype/Duration.java: Corrected since tag.
23593 (multiply): Made method abstract.
23594 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23595 (DatatypeConstants): Added private constructor.
23596 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23597 (XPathConstants): Added private constructor.
23599 2006-04-05 Tom Tromey <tromey@redhat.com>
23601 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23603 2006-04-05 Tom Tromey <tromey@redhat.com>
23606 * lib/Makefile.am (compile-classes): Touch the output file.
23608 2006-04-05 Roman Kennke <kennke@aicas.com>
23610 * javax/swing/AbstractButton.java
23611 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23612 of the focused state. This is already done in AccessibleAWTComponent.
23614 2006-04-05 Roman Kennke <kennke@aicas.com>
23616 * javax/swing/JComponent.java
23617 (accessibleContext): Fixed API doc for this field.
23618 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23619 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23620 Implemented and added API docs.
23621 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23622 Implemented and added API docs.
23623 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23624 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23625 Implemented and added API docs.
23626 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23627 Implemented and added API docs.
23628 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23629 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23630 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23631 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23632 (AccessibleJComponent.getAccessibleStateSet): Simply return
23633 super here. Added comment about this.
23635 2006-04-05 Roman Kennke <kennke@aicas.com>
23637 * javax/swing/JComponent.java
23638 (AccessibleJComponent.addPropertyChangeListener): Install
23639 ContainerHandler and FocusHandler here.
23640 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23641 ContainerHandler and FocusHandler here.
23642 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23643 by super.getAccessibleChildrenCount().
23644 (AccessibleJComponent.getAccessibleChild): Replaced
23645 by super.getAccessibleChild().
23646 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23647 adding OPAQUE to the supported states.
23648 (AccessibleJComponent.getAccessibleName): Added titled border
23649 and label fallbacks.
23650 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23651 and label fallbacks.
23652 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23653 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23654 explaining why return null seems correct here.
23655 * javax/swing/JLabel.java
23656 (LABEL_PROPERTY): New constant.
23657 (setLabelFor): Store label in labeled component's client properties
23658 for the AccessibleJComponent to read.
23660 2006-04-05 Tom Tromey <tromey@redhat.com>
23662 * java/util/zip/ZipFile.java (available): Defer to super if
23663 entry's size is unknown.
23665 2006-04-05 Tom Tromey <tromey@redhat.com>
23667 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23668 property with mime.types name.
23669 * gnu/classpath/SystemProperties.java: Set
23670 gnu.classpath.mime.types.file if not already set.
23671 * java/net/URLConnection.java (defaultFactory): New field.
23672 (guessContentTypeFromStream): Mark as unimplemented.
23673 (getContentHandler): Updated with libgcj's implementation.
23674 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23677 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23681 * java/util/AbstractList.java (hasNext): Don't throw
23682 ConcurrentModificationException. Update Javadoc.
23683 (hasPrevious): Likewise.
23684 (nextIndex): Likewise.
23685 (previousIndex): Likewise.
23686 * java/util/HashMap.java (hasNext): Likewise.
23687 * java/util/Hashtable.java (hasNext): Likewise.
23688 * java/util/IdentityHashMap.java (hasNext): Likewise.
23689 * java/util/LinkedHashMap.java (hasNext): Likewise.
23690 * java/util/LinkedList.java (nextIndex): Likewise.
23691 (previousIndex): Likewise.
23692 (hasNext): Likewise.
23693 (hasPrevious): Likewise.
23694 * java/util/TreeMap.java (hasNext): Likewise.
23695 * java/util/WeakHashMap.java (hasNext): Likewise.
23697 2006-04-05 Roman Kennke <kennke@aicas.com>
23699 * javax/swing/AbstractButton.java
23700 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23701 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23702 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23703 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23704 (AccessibleAbstractButton.getAccessibleActionDescription):
23706 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23707 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23708 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23709 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23710 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23711 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23713 2006-04-05 Roman Kennke <kennke@aicas.com>
23715 * javax/swing/JComboBox.java
23716 (selectWithKeyChar): Implemented stubbed method.
23718 2006-04-05 Roman Kennke <kennke@aicas.com>
23720 * javax/swing/LookAndFeel.java
23721 (installProperty): New method. Allows primitive typed properties
23722 to be handled like UIResources.
23723 * javax/swing/AbstractButton.java
23724 (clientBorderPaintedSet): New field.
23725 (clientRolloverEnabledSet): New field.
23726 (clientIconTextGapSet): New field.
23727 (clientContentAreaFilledSet): New field.
23728 (setRolloverEnabled): Set the client field to true.
23729 (setBorderPainted): Likewise.
23730 (setIconTextGap): Likewise.
23731 (setContentAreaFilled): Likewise.
23732 (setUIProperty): New helper method.
23733 * javax/swing/JComponent.java
23734 (clientOpaqueSet): New field.
23735 (clientAutoscrollsSet): New field.
23736 (setAutoscrolls): Set the client field to true.
23737 (setOpaque): Likewise.
23738 (setUIProperty): New helper method.
23739 * javax/swing/JDesktopPane.java
23740 (clientDragModeSet): New field.
23741 (setDragMode): Set the client field to true.
23742 (setUIProperty): New helper method.
23743 * javax/swing/JSplitPane.java
23744 (clientDividerSizeSet): New field.
23745 (clientOneTouchExpandableSet): New field.
23746 (setDividerSize): Set the client field to true.
23747 (setOneTouchExpandable): Likewise.
23748 (setUIProperty): New helper method.
23749 * javax/swing/JTable.java
23750 (clientRowHeightSet): New field.
23751 (setRowHeight): Set the client field to true.
23752 (setUIProperty): New helper method.
23753 * javax/swing/JTree.java
23754 (clientRowHeightSet): New field.
23755 (clientScrollsOnExpandSet): New field.
23756 (clientShowsRootHandlesSet): New field.
23757 (setRowHeight): Set the client field to true.
23758 (setShowsRootHandles): Likewise.
23759 (setScrollsOnExpand): Likewise.
23760 (setUIProperty): New helper method.
23762 2006-04-05 Roman Kennke <kennke@aicas.com>
23764 * java/awt/Component.java
23765 (getFont): Don't request the font from the peer's graphics. The
23766 graphics should instead get the font from the Component, which might
23768 (getFocusCycleAncestor): Don't special case Window.
23769 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23770 to here. Correctly determine the focus cycle root.
23771 (transferFocusBackward): Likewise.
23772 (transferFocusUpCycle): Likewise.
23773 * java/awt/Container.java
23774 (transferFocusDownCycle): Moved implementation from
23775 DefaultKeyboardFocusManager to here.
23776 * java/awt/DefaultKeyboardFocusManager.java
23777 (focusPreviousComponent): Moved implementation to
23778 Component.transferFocusBackward().
23779 (focusNextComponent): Moved implementation to
23780 Component.nextFocus().
23781 (upFocusCycle): Moved implementation to
23782 Component.transferFocusUpCycle().
23783 (downFocusCycle): Moved implementation to
23784 Container.transferFocusDownCycle().
23786 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23788 * java/awt/image/ComponentSampleModel.java
23789 (equals): Implemented,
23790 (hashCode): Likewise.
23792 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23794 * java/lang/Class.java
23795 (cast): New method.
23797 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23799 * java/awt/image/ComponentSampleModel.java
23800 (getBankIndices): Return a copy of the array, not a reference to the
23802 (getBandOffsets): Likewise.
23804 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23806 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23808 2006-04-04 Tom Tromey <tromey@redhat.com>
23810 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23812 2006-04-04 Tom Tromey <tromey@redhat.com>
23814 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23815 (MimeTypeMapper): Initialize.
23816 (fillFromFile): New method.
23817 (main): New method.
23818 (mime_strings): Updated.
23820 2006-04-04 Tom Tromey <tromey@redhat.com>
23822 * lib/gen-classlist.sh.in: Correct handle generated files.
23824 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23826 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23827 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23828 * gnu/regexp/CharIndexedCharSequence.java: New file.
23829 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23830 gnu.regexp.CharIndexedCharSequence.
23831 * gnu/regexp/CharIndexedString.java: Likewise.
23832 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23833 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23834 using CharIndexedCharSequence. Use setAnchor when the input
23835 object is already a CharIndexed.
23836 * java/util/regex/Matcher.java(inputCharIndexed): New field
23837 to be used as a parameter of the RE#getMatch.
23839 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23841 * java/awt/image/SampleModel.java: Reformatted.
23843 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23845 * java/awt/image/ComponentSampleModel.java
23846 (ComponentSampleModel(int, int, int, int, int[])): Added API
23848 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23849 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23850 of the bandOffsets and bankIndices arguments, added API documentation,
23851 * java/awt/image/SampleModel.java
23852 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23853 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23854 less than or equal to zero, added API documentation.
23856 2006-04-04 Lillian Angel <langel@redhat.com>
23858 * java/util/zip/ZipFile.java
23859 (getInputStream): Fixed to return size of ZipEntry
23860 minus the total bytes read. This guarantees that the
23861 right value is returned even if some bytes have already
23864 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23866 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23867 Remove static modifier.
23869 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23871 * java/awt/image/ComponentSampleModel.java: Reformatted.
23873 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23875 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23876 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23877 retrieval instructions to javadoc header.
23878 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23879 compressionType field.
23880 * lib/Makefile.am (propertydirs): Add javax directory.
23881 (propertyfiles): Likewise.
23882 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23885 2006-04-03 Tom Tromey <tromey@redhat.com>
23887 PR classpath/26971:
23888 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23889 (BasicAttributeEnumeration.where): Initialize to 0.
23890 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23892 2006-04-03 Lillian Angel <langel@redhat.com>
23894 PR classpath/24596 and PR classpath/26930
23895 * java/util/zip/ZipFile.java
23896 (getInputStream): Override available function for
23897 InflaterInputStream instance.
23899 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23901 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23903 2006-04-03 Tom Tromey <tromey@redhat.com>
23905 * javax/security/auth/kerberos/ServicePermission.java: New file.
23906 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23907 * javax/security/auth/kerberos/KerberosKey.java: New file.
23908 * javax/security/auth/kerberos/KeyImpl.java: New file.
23909 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23910 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23912 2006-04-03 Sven de Marothy <sven@physto.se>
23914 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23915 non-GtkImage images.
23917 2006-04-03 Mark Wielaard <mark@klomp.org>
23919 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23920 as temporary file name.
23922 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23924 * INSTALL: Documented --with-glibj-zip option.
23926 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23928 Fixed all pscan warnings.
23930 * native/jni/classpath/jcl.c (JCL_ThrowException),
23931 native/jni/classpath/jcl.h (DBG),
23932 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23933 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23934 Use "%s" format in fprintf and snprintf explicitely when printing a single
23935 string to prevent format string exploits.
23937 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23938 definition. Included jcl.h instead.
23940 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23942 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23943 (provider): Made it protected.
23944 (providerInstalled): New field.
23945 (Main): Made it a 0-arguments constructor.
23946 Removed throws clasue.
23947 (main): Removed throws clause.
23948 Call processArgs(args) after constructing instance.
23949 Call teardown() before existing.
23950 (processArgs): Added javadoc.
23951 Reduced to throws Exception.
23953 (teardown): New method.
23954 (setupCommonParams): Added javadoc.
23955 Install designated provider if not already installed.
23956 (installNewProvider): New method.
23957 (setupSigningParams): Added javadoc.
23958 Instantiate the KeyStore using type only.
23959 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23960 Removed unused imports.
23961 (start): Reduced to throws Exception.
23962 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23963 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23964 Re-organized imports.
23965 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23966 Test ignoring case.
23967 (getNames): Add "dsa" as an algorithm provided by this Factory.
23968 (makeInstance): Construct IllegalArgumentException with 2 arguments.
23970 2006-04-03 Roman Kennke <kennke@aicas.com>
23972 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23973 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23974 Replaced g_free() with pango_item_free() to avoid problems
23975 with the allocator.
23977 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
23980 * java/util/logging/Level.java (parse): Document.
23981 * java/util/logging/LogManager.java (rootLogger): Removed.
23982 (LogManager): Just set loggers to new HashMap.
23983 (getLogManager): Make synchronized. Create and init LogManager if it
23985 (static): Removed block.
23986 (MANAGER_PROPERTY): New private final string.
23987 (makeLogManager): Use new property string, move warning to
23988 createInstance() method.
23989 (CONFIG_PROPERTY): New private final string.
23990 (initLogManager): New method.
23991 (addLogger): Use Logger.root, not rootLogger.
23992 (findAncestor): Likewise.
23993 (readConfiguration): Move warning to createInstance() method.
23994 Add handlers directly to Logger.root. Warn about bad level values.
23995 (getClassProperty): Use new locateClass() method.
23996 (getInstanceProperty): Only catch specific newInstance Errors.
23997 (createInstance): Make private and takes a string to use in warning
23998 messages. Use new locateClass() method and generate appropriate
24000 (warn): New methods.
24001 (locateClass): Locates a class through the context class loader and
24002 system class loader as backup.
24003 * java/util/logging/Logger.java (root): New static final field.
24004 (Logger): Set parent to root.
24005 (setParent): Directly check root field.
24007 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24009 * java/util/Collections.java:
24010 (binarySearch(List, T)): Fixed signature.
24011 (unmodifiableList(List)): Likewise.
24012 (UnmodifiableList(List)): Fixed constructor.
24013 (UnmodifiableRandomAccessList(List)): Likewise.
24014 (unmodifiableMap(Map)): Fixed signature.
24015 (UnmodifiableMap(Map)): Fixed constructor.
24016 (unmodifiableSortedMap(Map)): Fixed signature.
24017 (UnmodifiableSortedMap(Map)): Fixed constructor.
24019 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24021 * java/io/ObjectOutputStream.java:
24022 (writeObject(Object)): Added enum support.
24023 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24024 * java/io/ObjectStreamClass.java:
24025 (isEnum()): New package-private method.
24026 (setFlags(Class)): Added enum support.
24027 * java/io/ObjectStreamConstants.java:
24030 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24032 * javax/swing/text/Segment.java:
24033 (setPosition): Make exception message more verbose.
24034 * javax/swing/text/WrappedPlainView.java:
24035 (insertUpdate): Removed unneeded repaint call.
24036 (changeUpdate): Dito.
24037 (removeUpdate): Dito.
24038 (WrappedLine.determineNumLines): Do not return numLines, break
24039 from loop if no new break point has been calculated.
24040 (WrappedLine.updateDamage): Rewritten.
24041 (WrappedLine.insertUpdate): Removed unneeded update code.
24042 (WrappedLine.removeUpdate): Removed unneeded update code, added
24045 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24047 * configure.ac (with-glibj-zip): Added new option.
24049 * examples/Makefile.am,
24051 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24052 in addition to classes in lib directory.
24054 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24056 * tools/gnu/classpath/tools/giop/GRMIC.java,
24057 tools/gnu/classpath/tools/giop/IorParser.java,
24058 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24059 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24060 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24061 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24062 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24063 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24064 tools/gnu/classpath/tools/rmi/RMIC.java,
24065 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24066 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24067 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24068 linking exception from the licensing header.
24069 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24070 Added licensing header.
24072 2006-04-02 Mark Wielaard <mark@klomp.org>
24074 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24075 (jarsigner): Removed.
24077 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24079 * configure.ac: don't check for isnan function.
24080 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24082 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24084 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24085 * tools/Makefile.am: Generate jarsigner shell script.
24086 * tools/jarsigner.sh.in: New template.
24087 * tools/.cvsignore: Added jarsigner.sh.
24089 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24091 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24092 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24093 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24094 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24095 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24096 Re-organised imports.
24098 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24100 PR classpath/25924:
24101 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24102 Handle case where alpha==0.
24104 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24107 * javax/swing/text/Utilities.java:
24108 (getTabbedTextOffset): Added check to decrement pos not below zero,
24109 changed '>' comparison to '>='.
24110 * javax/swing/text/WrappedPlainView.java:
24111 (lineHeight): New field.
24112 (calculateBreakPosition): Throw InternalError in catch block, removed
24113 unneeded brackets, use specific version of
24114 Utilities.getTabbedTextOffset.
24115 (paint): Set various properties neccessary for drawing.
24116 (WrappedLine.paint): Removed code to set field of outer class.
24117 (WrappedLine.modelToView): Removed unneeded expression from
24119 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24120 -1 from return statement, copy only a subset into the Segment, removed
24121 special handling of mark value - just return it, simplified
24122 incrementation of currLineStart.
24123 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24124 change to parent view.
24125 (WrappedLine.removeUpdate): Dito.
24127 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24129 * javax/swing/text/Segment.java:
24130 (toString): Return empty string when array is null.
24132 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24134 * javax/swing/plaf/basic/BasicTextUI.java:
24135 (damageRange): Use SwingUtilities.computeUnion to avoid
24136 unneccessary Rectangle instantiation.
24138 2006-04-01 Tom Tromey <tromey@redhat.com>
24140 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24142 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24144 * javax/swing/text/CompositeView.java: Fixed copyright header.
24145 * javax/swing/text/BoxView.java: Fixed copyright header.
24146 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24147 * javax/swing/text/Utilities.java: Fixed copyright header.
24149 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24151 * javax/swing/text/CompositeView.java:
24152 (modelToView): Throw BadLocationException when no child
24153 view can be found, restructed to throw exception as early
24155 (viewToModel): Use mutable allocation as argument for viewToModel
24156 call on child view.
24157 * javax/swing/text/BoxView.java:
24158 (getViewAtPoint): Call setBounds() r before method returns with
24159 suitable child view.
24160 * javax/swing/text/Utilities.java:
24161 (getPositionBelow): Added try-catch-block around modelToView call,
24162 added method return when BadLocationException was thrown.
24163 * javax/swing/text/WrappedPlainView.java:
24164 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24165 added note about meaning of rect.x and rect.width, removed unneeded
24166 checks, added code to not return the last possible document offset.
24168 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24170 * javax/swing/text/WrappedPlainView.java:
24171 (WrappedLine.viewToModel): Change < to <= in if-statement,
24172 removed addition of currLineStart to return value.
24173 * javax/swing/text/BoxView.java:
24174 (getViewAtPoint): Use copy instead of r for method call
24175 which modifies the second argument.
24177 2006-04-01 Mark Wielaard <mark@klomp.org>
24180 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24182 2006-03-31 Tom Tromey <tromey@redhat.com>
24184 * lib/split-for-gcj.sh: Updated for multi-field format.
24185 * lib/Makefile.am (CLEANFILES): Added classes.2.
24186 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24187 classes.2 using multiple fields.
24189 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24191 * javax/swing/JTable.java (columnSelectionChanged):
24192 Removed print statement.
24193 * javax/swing/DefaultListSelectionModel.java
24194 (addSelectionInterval, removeSelectionInterval):
24195 Fire the difference between selection. (setLeadSelectionIndex):
24196 Fire the difference and mark current and previous lead
24197 selection indexes for repaint.
24199 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24201 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24202 unnecessary copying.
24203 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24205 2006-03-31 Lillian Angel <langel@redhat.com>
24207 * java/awt/Component.java
24208 (translateEvent): oldKey should be the value of the
24211 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24213 * javax/swing/JTable.java (columnSelectionChanged):
24214 Treat second repaint parameter as width.
24216 2006-03-31 Lillian Angel <langel@redhat.com>
24219 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24220 (realize): New native function.
24221 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24222 Added new function declaration.
24223 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24224 (realize): New function.
24226 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24228 * javax/swing/text/GapContent.java:
24229 (replace): Move all Position instances from gap's end to
24230 it's start before increasing the gap start.
24231 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24232 (propertyChanged): Update the view only instead of
24233 indicating a document change.
24235 2006-03-31 Roman Kennke <kennke@aicas.com>
24237 * javax/swing/JTextField.java
24238 (fireActionPerformed): Put the textfields text in the action
24239 instead of the action name.
24241 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24243 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24244 Check for null jar-file argument.
24245 (setupSigningParams): Check for null alias argument.
24247 2006-03-31 Roman Kennke <kennke@aicas.com>
24249 * javax/swing/JComponent.java
24250 (paintChildren): Split up in two cases, depending on the
24251 optimizedDrawingEnabled flag.
24252 (paintChildrenWithOverlap): New method. Paints children when
24253 not optimizedDrawingEnabled. This implements better painting
24254 algorithm for overlapping components, so that the painted
24255 regions are minimized.
24256 (paintChildrenOptimized): New method. Paints children when
24257 when optimizedDrawingEnabled. This implements a painting
24258 algorithm that is optimized for the case when all children
24259 are guaranteed to be tiled.
24261 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24263 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24264 Attributes.putValue(String,String).
24265 (finishSigning): Likewise.
24266 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24267 (SIGNATURE_VERSION): Likewise.
24268 (readSFManifest): Use local string constant.
24269 (readMainSection): Likewise.
24270 (readVersionInfo): Likewise.
24271 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24272 Redefined using JarUtils constant.
24273 (SIGNATURE_VERSION): Likewise.
24274 (putValue(Name,String)): Made it private.
24276 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24278 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24279 New method. (clearSelection): Rewritten. (setSelectionInterval):
24280 Fire the difference between current and new selection.
24281 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24282 Only repaint the region, where selection has been changed.
24283 * javax/swing/plaf/basic/BasicTableUI.java
24284 (TableAction.actionPerformed): Do not change the column selection
24285 when only row selection change is wanted (and in reverse) and
24286 do not call the repaint() here.
24288 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24291 * javax/swing/DefaultComboBoxModel.java
24292 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24294 (addElement): Call list.addElement() rather than list.add(), and only
24295 update selected item if it is currently null,
24296 (removeElementAt): Update selected item, then remove the element.
24298 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24301 * java/awt/geom/Point2D.java
24302 (distanceSq(double, double)): Fixed order of arguments,
24303 (distanceSq(Point2D)): Likewise,
24304 (distance(double, double)): Likewise,
24305 (distance(Point2D)): Likewise.
24307 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24309 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24310 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24311 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24312 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24313 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24315 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24317 * javax.swing.JTable (constructor): Initialize column
24318 model column margin and table row margin before setting the
24319 table column model. (initialiseLocalVars): Do not call
24320 setIntercellSpacing.
24322 2006-03-30 Chris Burdess <dog@gnu.org>
24324 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24326 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24328 2006-03-30 Mark Wielaard <mark@klomp.org>
24331 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24332 adjust bounds. On resize invalidate and validate container.
24333 Always pass on ComponentEvents to Container super class.
24334 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24335 menuBar and pass to GtkWindowPeer super class.
24336 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24337 bounds and pass to GtkWindowPeer super class.
24338 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24339 New fields for local bounds.
24340 (getX, getY): New methods.
24341 (getWidth): Don't call into awtComponent.
24342 (getHeight): Likewise.
24343 (create): Cache local bounds.
24344 (setLocation): Documented, made protected and just call
24346 (setLocationUnlocked): Removed unused method.
24347 (setBoundsUnlocked): Likewise.
24348 (setBounds): Check whether bounds actually changed and cache local
24350 (setSize): Documented and made protected.
24351 (setResizable): Documented and cache local bounds.
24352 (postConfigureEvent): Update local bounds. Don't call awtComponent
24353 directly but post ComponentEvents.
24354 (show): Cache local bounds.
24355 (getBounds): Override to return cached bounds.
24357 2006-03-30 Lillian Angel <langel@redhat.com>
24359 * gnu/java/awt/peer/gtk/GdkGraphics.java
24360 (drawImage): Added check to prevent NPE.
24361 (drawImage): Likewise.
24362 (drawImage): Likewise.
24363 * java/awt/Choice.java
24364 (dispatchEventImpl): New function. selectedIndex was
24365 not being updated properly otherwise.
24367 2006-03-30 Roman Kennke <kennke@aicas.com>
24369 * javax/swing/JTabbedPane.java
24370 (removeTabAt): Removed debug code.
24372 2006-03-30 Roman Kennke <kennke@aicas.com>
24375 * javax/swing/plaf/basic/BasicTextUI.java
24376 (installKeyboardActions): Simply call getKeymap() and install this.
24377 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24379 2006-03-30 Roman Kennke <kennke@aicas.com>
24381 * javax/swing/JTabbedPane.java
24382 (removeTabAt): Adjust selection correctly when removing a tab
24383 before the selected tab. Also remove the component from the
24384 container, not only the tab object. Repaint and revalidate the
24385 component after the removal.
24386 (removeAll): Set selection to -1 before removing the tabs.
24388 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24390 * java/io/ObjectInputStream.java:
24391 (parseContent(byte)): Added enum support.
24392 * java/io/ObjectStreamConstants.java:
24394 (TC_MAX): Changed to new maximum, TC_ENUM.
24396 2006-03-29 Lillian Angel <langel@redhat.com>
24398 Partial fix for bug #26929
24399 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24400 (updateComponent): Removed. We want to clear the panel
24402 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24403 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24404 Should set the background to the saved background color.
24406 2006-03-29 Mark Wielaard <mark@klomp.org>
24408 Partial fix for bug #26848 (pack).
24409 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24410 Always show instances of Window.
24412 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24414 * javax/swing/JSlider.java
24415 (setPaintLabels): Only create standard labels if labelTable is null,
24416 * javax/swing/plaf/basic/BasicSliderUI.java
24417 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24418 "paintTicks" property change,
24419 (calculateThumbSize): Updated API docs,
24420 (calculateContentRect): Likewise,
24421 (calculateTrackBuffer): Take into account the lowest and highest
24422 labels when calculating buffer space,
24423 (calculateTrackRect): Include labels, if visible, in the calculation of
24424 the trackRect position,
24425 (calculateTickRect): Height is zero if ticks are not painted,
24426 (calculateLabelRect): Use max dimensions of actual labels,
24427 (getWidthOfHighValueLabel): Use preferred size,
24428 (getWidthOfLowValueLabel): Likewise,
24429 (getHeightOfHighValueLabel): Likewise,
24430 (getHeightOfLowValueLabel): Likewise,
24431 (drawInverted): Just return slider setting,
24432 (getHighestValueLabel): Updated API docs,
24433 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24434 to xPositionForValue() and yPositionForValue(),
24435 (paintHorizontalLabel): Removed full qualification of class name,
24436 (paintVerticalLabel): Likewise,
24437 (xPositionForValue): Reimplemented,
24438 (yPositionForValue): Reimplemented,
24439 * javax/swing/plaf/metal/MetalSliderUI.java
24440 (paintTrack): Made track one pixel longer.
24442 2006-03-29 Tom Tromey <tromey@redhat.com>
24445 * tools/Makefile.am (JCOMPILER): Added encoding options.
24446 * examples/Makefile.am (JCOMPILER): Added encoding options.
24448 2006-03-29 Gary Benson <gbenson@redhat.com>
24450 Partial fix for PR classpath/24895
24451 * java/io/FilePermission.java (implies): Canonicalize paths.
24453 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24456 * javax/swing/text/GapContent.java:
24457 (replace): Added call to resetMarksAtZero.
24459 2006-03-29 Roman Kennke <kennke@aicas.com>
24462 * javax/swing/plaf/basic/BasicMenuItemUI.java
24463 (cachedRect): New field.
24464 (BasicMenuItemUI): Initialize cachedRect field.
24465 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24466 to determine layout. Store maximum accelerator and text width
24467 in client properties of parent to allow correct alignment
24468 of accelerators among menu items of one menu.
24469 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24470 method. Align accelerators according to the values calculated
24471 in getPreferredMenuItemSize.
24472 (getAcceleratorString) New helper method.
24473 (layoutMenuItem): New helper method.
24475 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24477 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24478 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24479 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24481 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24482 readExternal, writeExternal): New methods.
24483 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24484 two stages, invokeCommon(Remote, ...) and
24485 invokeCommen(UnicastConnection, ...).
24486 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24487 also the ActivatableRef. toString(): Documented.
24488 * gnu/java/rmi/server/ActivatableRef.java,
24489 tools/gnu/classpath/tools/rmi/Persistent.java,
24490 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24491 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24492 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24493 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24494 tools/gnu/classpath/tools/rmi/RMID.java,
24495 tools/gnu/classpath/tools/rmi/RMID.txt,
24496 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24497 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24498 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24499 tools/gnu/classpath/tools/rmi/registry/package.html,
24500 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24501 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24503 * tools/README: Documented.
24504 * NEWS: Added entry about the activation.
24506 2006-03-29 Roman Kennke <kennke@aicas.com>
24509 * javax/swing/plaf/basic/BasicMenuItemUI.java
24510 (viewRect): New field.
24511 (textRect): New field.
24512 (accelRect): New field.
24513 (iconRect): New field.
24514 (arrowIconRect): New field.
24515 (checkIconRect): New field.
24516 (BasicMenuItemUI): Initialize new fields.
24517 (paintMenuItem): Rewritten to correctly layout and paint
24518 the menu item in a more straightforward way. Use cached rectangle
24519 objects for layout.
24520 (paintAccelerator): Pulled inside the paintMenuItem method.
24522 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24524 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24525 Do not use initCause with UnexpectedException.
24526 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24529 2006-03-29 Mark Wielaard <mark@klomp.org>
24531 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24532 (setCursorID): Removed unused static variable.
24534 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24536 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24538 2006-03-29 Mark Wielaard <mark@klomp.org>
24541 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24542 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24544 2006-03-28 Roman Kennke <kennke@aicas.com>
24546 * javax/swing/UIManager.java
24547 (installLookAndFeel): Implemented.
24548 (setInstalledLookAndFeels): Implemented.
24550 2006-03-28 Roman Kennke <kennke@aicas.com>
24552 * javax/swing/plaf/metal/MetalButtonUI.java
24553 (update): Paint gradient only when the background color
24554 is not a UIResource and if the button is neither armed nor
24555 pressed and if the button is contentAreaFilled.
24557 2006-03-28 Roman Kennke <kennke@aicas.com>
24559 * javax/swing/JLayeredPane.java
24560 (addImpl): Repaint added component.
24562 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24564 * java/util/regex/Matcher.java: Reverted.
24566 2006-03-28 Roman Kennke <kennke@aicas.com>
24568 * javax/swing/text/AsyncBoxView.java
24569 (setEstimatedMajorSpan): Made method protected.
24570 (getEstimatedMajorSpan): Made method protected.
24571 * javax/swing/text/BoxView.java
24572 (flipEastAndWestAtEnds): Fixed typo.
24573 * javax/swing/text/InternationalFormatter.java
24574 (getActions): Made method protected.
24575 * javax/swing/text/Position.java
24576 (Bias): Made class final.
24577 * javax/swing/text/html/HTML.java
24578 (MEDIA): Made field package private. Not specified.
24579 (NOBR): Made field package private. Not specified.
24580 * javax/swing/text/html/NullView.java
24581 Made class package private.
24582 * javax/swing/text/html/parser/Entity.java
24583 Made class non-serializable as specified.
24585 2006-03-28 Roman Kennke <kennke@aicas.com>
24587 * javax/swing/plaf/metal/MetalButtonUI.java
24588 (update): Don't paint gradient if the background color is
24589 no UIResource. Removed double getModel() call. Don't check for
24592 2006-03-28 Roman Kennke <kennke@aicas.com>
24594 * javax/swing/plaf/basic/BasicMenuItemUI.java
24595 (paint): Call paintMenuItem with the selectionBackground as
24597 (paintBackground): Fixed the condition and color for the background
24600 2006-03-28 Roman Kennke <kennke@aicas.com>
24602 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24603 (tabsOpaque): New field.
24604 (paintLeftTabBorder): Paint some parts only when the tabs are
24605 opaque. Determine the tab background using the paintLeftTabBorder()
24607 (paintRightTabBorder): Likewise.
24608 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24610 2006-03-27 Tom Tromey <tromey@redhat.com>
24612 PR classpath/25189:
24613 * java/lang/Enum.java (valueOf): Ensure that the named field
24614 is an enum constant.
24615 (compareTo): Check class of enum.
24617 2006-03-27 Tom Tromey <tromey@redhat.com>
24619 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24621 2006-03-27 Tom Tromey <tromey@redhat.com>
24623 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24625 (getModifiersInternal): Renamed from getModifiers.
24626 (getModifiers): New method.
24627 (isBridge): Likewise.
24628 (isSynthetic): Likewise.
24629 (isVarArgs): Likewise.
24630 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24632 (getModifiersInternal): Renamed from getModifiers.
24633 (getModifiers): New method.
24634 (isSynthetic): Likewise.
24635 (isEnumConstant): Likewise.
24636 * vm/reference/java/lang/reflect/Constructor.java
24637 (getModifiersInternal): Renamed from getModifiers.
24638 (getModifiers): New method
24639 (CONSTRUCTOR_MODIFIERS): New constant.
24640 (isSynthetic): New method.
24641 (isVarArgs): Likewise.
24642 * java/lang/reflect/Member.java (isSynthetic): New method.
24644 2006-03-28 Tom Tromey <tromey@redhat.com>
24646 * java/net/Proxy.java (TYPE): Added missing ";".
24648 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24650 * java/math/RoundingMode.java:
24651 Fixed serialization UID.
24652 * java/net/Proxy.java:
24655 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24657 * java/io/CharArrayWriter.java:
24658 (append(char)): Documented.
24659 (append(CharSequence)): Likewise.
24660 (append(CharSequence,int,int)): Likewise.
24662 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24664 * vm/reference/java/lang/reflect/Constructor.java
24665 (getTypeParameters): Check return value of getSignature for null.
24666 * vm/reference/java/lang/reflect/Method.java
24667 (getTypeParameters): Check return value of getSignature for null.
24669 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24671 * java/rmi/activation/ActivationGroup_Stub.java:
24674 2006-03-27 Tom Tromey <tromey@redhat.com>
24676 * java/io/CharArrayWriter.java (append): New overloads.
24678 2006-03-27 Lillian Angel <langel@redhat.com>
24680 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24681 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24682 Added check for colormap. Prevents assertion error.
24683 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24685 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24687 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24689 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24691 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24694 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24696 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24697 AC_MSG_ERROR instead of echoing the error message
24698 that no compiler has been found manually.
24700 2006-03-27 Roman Kennke <kennke@aicas.com>
24702 * javax/swing/RepaintManager.java
24703 (commitBuffer): Use simple drawImage() method instead of the
24706 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24708 * javax/swing/text/PlainView.java:
24709 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24710 for painting the selected line.
24712 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24714 * javax/swing/plaf/basic/BasicSliderUI.java
24715 (getThumbSize): Removed TODO and updated API docs.
24717 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24719 * javax/swing/text/DefaultCaret.java:
24720 (mouseClicked): Word selection rewritten.
24721 (paint): Draw line inside the bounding rectangle.
24722 (damage): Retrieve caret height from line height.
24724 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24726 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24728 Check for -help option.
24729 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24731 2006-03-27 Roman Kennke <kennke@aicas.com>
24733 * javax/swing/text/FieldView.java
24734 (getPreferredSpan): Don't include trailing newline in
24736 * javax/swing/text/PlainView.java
24737 (drawLine): Don't include trailing newline.
24738 (determineMaxLineLength): Don't include trailing newline.
24739 (getLineBuffer): Made method final.
24741 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24743 * javax/swing/JSlider.java
24744 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24745 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24746 NotImplementedException,
24747 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24749 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24751 * java/lang/ProcessBuilder.java:
24754 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24756 * gnu/java/net/protocol/http/Headers.java:
24757 Match layout of file on HEAD.
24758 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24760 * java/awt/datatransfer/DataFlavor.java
24763 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24765 * gnu/java/security/jce/hash/HavalSpi.java,
24766 * gnu/java/security/jce/hash/MD2Spi.java,
24767 * gnu/java/security/jce/hash/MD4Spi.java,
24768 * gnu/java/security/jce/hash/MD5Spi.java,
24769 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24770 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24771 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24772 * gnu/java/security/jce/hash/Sha160Spi.java,
24773 * gnu/java/security/jce/hash/Sha256Spi.java,
24774 * gnu/java/security/jce/hash/Sha384Spi.java,
24775 * gnu/java/security/jce/hash/Sha512Spi.java,
24776 * gnu/java/security/jce/hash/TigerSpi.java,
24777 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24778 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24779 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24780 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24781 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24782 * gnu/java/security/jce/sig/SignatureAdapter.java,
24783 * gnu/java/security/key/IKeyPairCodec.java,
24784 * gnu/java/security/key/IKeyPairGenerator.java,
24785 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24786 * gnu/java/security/key/dss/DSSKey.java,
24787 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24788 * gnu/java/security/key/dss/DSSPrivateKey.java,
24789 * gnu/java/security/key/dss/DSSPublicKey.java,
24790 * gnu/java/security/key/dss/FIPS186.java,
24791 * gnu/java/security/key/rsa/GnuRSAKey.java,
24792 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24793 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24794 * gnu/java/security/sig/ISignature.java,
24795 * gnu/java/security/sig/ISignatureCodec.java,
24796 * gnu/java/security/sig/dss/DSSSignature.java,
24797 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24798 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24799 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24800 * gnu/java/security/util/Util.java:
24801 Remove CVS revision tags.
24803 2006-03-26 Tom Tromey <tromey@redhat.com>
24805 * java/io/InputStream.java (InputStream): Implements Closeable.
24807 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24809 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24811 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24812 getAnchor): New methods.
24813 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24814 getAnchor): New methods.
24815 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24816 getAnchor): New methods.
24817 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24818 getAnchor): New methods.
24819 * gnu/regexp/REMatch.java(start1): New field.
24820 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24821 (match): set the starting position to start1[] instead of start[],
24822 (getMatchImpl): Set the found REMatch to the input,
24823 (makeCharIndexed): Made public.
24824 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24825 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24826 set the value of start[] copying from start1[].
24827 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24829 * java/util/regex/Matcher.java(inputCharIndexed): New field
24830 to be used as a parameter of the RE#getMatch.
24832 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24834 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24835 Documented the default jre spawning strategy (none).
24836 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24837 getSystem): Obtain the acticivation system from the
24838 DefaultActivationSystem.
24840 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24842 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24843 Ask user for keystore password if one was not provided.
24845 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24847 * tools/README: Added Security tools section.
24848 Documented the jarsigner tool.
24850 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24852 * javax/swing/JScrollBar.java
24853 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24854 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24855 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24856 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24857 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24858 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24859 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24860 (getAccessibleContext): Updated API docs.
24862 2006-03-25 Tom Tromey <tromey@redhat.com>
24864 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24865 change or if generator script changes.
24867 2006-03-25 Tom Tromey <tromey@redhat.com>
24869 * javax/naming/ldap/StartTlsRequest.java: New file.
24870 * javax/naming/ldap/StartTlsResponse.java: New file.
24872 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24874 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24875 to validate all components of a resource path.
24876 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24877 allowed to walk through every component of a resource path.
24879 2006-03-25 Michael Koch <konqueror@gmx.de>
24881 * NEWS: Added item for CLDR 1.3 update.
24883 2006-03-25 Michael Koch <konqueror@gmx.de>
24885 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24886 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24887 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24888 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24889 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24890 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24893 2006-03-25 Michael Koch <konqueror@gmx.de>
24895 * resource/gnu/java/locale/LocaleInformation_az.properties,
24896 resource/gnu/java/locale/LocaleInformation_bs.properties,
24897 resource/gnu/java/locale/LocaleInformation_byn.properties,
24898 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24899 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24900 resource/gnu/java/locale/LocaleInformation_gez.properties,
24901 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24902 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24903 resource/gnu/java/locale/LocaleInformation_haw.properties,
24904 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24905 resource/gnu/java/locale/LocaleInformation_kok.properties,
24906 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24907 resource/gnu/java/locale/LocaleInformation_sid.properties,
24908 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24909 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24910 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24911 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24912 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24913 resource/gnu/java/locale/LocaleInformation_syr.properties,
24914 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24915 resource/gnu/java/locale/LocaleInformation_tig.properties,
24916 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24917 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24918 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24919 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24920 resource/gnu/java/locale/LocaleInformation_wal.properties,
24921 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24924 2006-03-25 Michael Koch <konqueror@gmx.de>
24926 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24927 resource/gnu/java/locale/LocaleInformation_kn.properties,
24928 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24929 resource/gnu/java/locale/LocaleInformation_ko.properties,
24930 resource/gnu/java/locale/LocaleInformation_sl.properties,
24931 resource/gnu/java/locale/LocaleInformation_so.properties,
24932 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24933 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24934 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24935 resource/gnu/java/locale/LocaleInformation_sr.properties:
24936 Random fixes I forgot to commit before.
24938 2006-03-25 Michael Koch <konqueror@gmx.de>
24940 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24941 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24942 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24943 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24944 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24945 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24946 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24947 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24948 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24949 resource/gnu/java/locale/LocaleInformation_en.properties,
24950 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24951 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24952 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24953 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24954 resource/gnu/java/locale/LocaleInformation_fa.properties,
24955 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24956 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24957 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24958 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24959 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24960 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24961 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24962 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24963 resource/gnu/java/locale/LocaleInformation_pa.properties,
24964 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24965 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24966 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24967 resource/gnu/java/locale/LocaleInformation_sa.properties,
24968 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24969 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24970 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24971 Updated currency formats.
24973 2006-03-25 Roman Kennke <kennke@aicas.com>
24975 * javax/swing/text/AbstractDocument.java
24976 (getAttributeContext): Made method final.
24977 (getCurrentWriter): Likewise.
24978 (getEndPosition): Likewise.
24979 (getProperty): Likewise.
24980 (getStartPosition): Likewise.
24981 (putProperty): Likewise.
24982 (readLock): Likewise.
24983 (readUnlock): Likewise.
24984 (writeLock): Likewise.
24985 (writeUnlock): Likewise.
24987 2006-03-25 Roman Kennke <kennke@aicas.com>
24989 * javax/swing/InputMap.java
24990 (allKeys): Check if parent keys is null.
24991 * javax/swing/KeyboardManager.java
24992 (registerEntireMap): Also register map's parent keys.
24993 * javax/swing/plaf/metal/MetalRootPaneUI.java
24994 (propertyChange): Also call super.propertyChange().
24996 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24998 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24999 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25000 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25001 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25002 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25003 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25005 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25007 * gnu/java/util/jar/JarUtils.java: New file.
25008 * java/util/jar/Manifest.java (CRLF): Removed.
25009 (read_main_section): Likewise.
25010 (read_version_info): Likewise.
25011 (expect_header(String,BufferedReader)): Likewise.
25012 (expect_header(String,BufferedReader,String)): Likewise.
25013 (read_header_value): Likewise.
25014 (read_attributes): Likewise.
25015 (read_attribute): Likewise.
25016 (read_individual_sections): Likewise.
25017 (read_section_name): Likewise.
25018 (write_main_section): Likewise.
25019 (write_version_info): Likewise.
25020 (write_header): Likewise.
25021 (write_main_attributes): Likewise.
25022 (write_attribute_entry): Likewise.
25023 (write_individual_sections): Likewise.
25024 (write_entry_attributes): Likewise.
25025 (read): use JarUtils.
25028 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25030 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25033 (SignerInfo(BERReader)): Updated javadoc.
25035 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25037 (encode): New method.
25038 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25039 (PKCS7_DATA): Removed.
25042 (PKCS7SignedData(BERReader)): Updated javadoc.
25044 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25046 (encode): New method.
25047 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25048 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25049 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25050 (decodePrivateKey): Decode x from an OCTET STRING.
25051 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25052 (toString): New method.
25053 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25055 (toString): New method.
25056 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25057 (toString): New method.
25058 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25060 2006-03-25 Roman Kennke <kennke@aicas.com>
25062 * java/util/GregorianCalender.java
25063 (computeTime): Fix comparison to correctly calculate the
25066 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25069 * java/awt/Window.java:
25070 (setFocusCycleRoot): New overriden method.
25071 (isFocusCycleRoot): Likewise.
25072 (getFocusCycleRootAncestor): Likewise.
25073 * java/awt/Container.java:
25074 (getFocusTraversalPolicy): Check also for anchestor == null.
25076 2006-03-25 Mark Wielaard <mark@klomp.org>
25078 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25079 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25082 2006-03-24 Tom Tromey <tromey@redhat.com>
25084 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25086 (writeChar): Removed useless cast.
25087 (writeChars(String)): Implemented.
25088 (writeDouble): Rewrote.
25089 (writeFloat): Likewise.
25090 (writeUTF): Implemented.
25091 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25094 2006-03-24 Roman Kennke <kennke@aicas.com>
25096 * javax/swing/JButton.java
25097 (def): Replaced field with defaultCapable field.
25098 (is_def): Removed field.
25099 (JButton): Initialize defaultCapable with true.
25100 (isDefaultButton): Documented and implemented method by querying
25101 the button's root pane if present.
25102 (isDefaultCapable): Changed def field to defaultCapable.
25103 Added documentation.
25104 (paramString): Call isDefaultButton() instead of accessing field,
25106 (setDefaultCapable): Changed def field to defaultCapable.
25107 Added documentation.
25108 * javax/swing/JRootPane.java
25109 (setDefaultButton): Only change the default button if the
25110 new button is defaultCapable.
25111 * javax/swing/plaf/basic/BasicRootPaneUI.java
25112 (DefaultPressAction): New class.
25113 (DefaultReleaseAction): New class.
25114 (installKeyboardActions): Implemented.
25115 (uninstallKeyboardActions): Implemented.
25116 (propertyChange): Implemented.
25117 * javax/swing/plaf/metal/MetalBorders.java
25118 (ButtonBorder.paintBorder): 'Outsourced' default theme
25119 painting to paintDefaultButtonBorder().
25120 (ButtonBorder.paintDefaultButtonBorder): New helper method
25121 to paint the border in the default theme. This also fixes
25122 painting of the border for default buttons.
25123 (ButtonBorder.paintOceanButtonBorder): Added support for
25124 default button painting. Fixed border for pressed/default state.
25125 * javax/swing/plaf/metal/MetalButtonUI.java
25126 (update): Only paint gradient when in OceanTheme and when the
25127 button is not armed.
25129 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25131 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25132 Inherit from Activator.
25134 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25136 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25137 Print debug message if debug flag is set.
25138 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25139 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25140 detail, do not call iniCause(). (exportClass): New method.
25141 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25142 Ignore null (bootstrap) class loader.
25143 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25144 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25145 visibility to protected.
25146 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25147 (toStub): New method.
25148 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25149 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25150 Explained property java.rmi.activation.port.
25152 2006-03-24 Tom Tromey <tromey@redhat.com>
25154 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25155 * gnu/java/locale/.cvsignore: New file.
25156 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25157 * java/util/Locale.java (getAvailableLocales): Clone result.
25158 (getISOCountries): Likewise.
25159 (getISOLanguages): Likewise.
25160 * scripts/generate-locale-list.sh: Make class public. Added new
25162 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25163 (getLocaleCount): Likewise.
25164 * java/text/Collator.java (getInstance): Javadoc typo fix.
25165 (getAvailableLocales): Wrote.
25167 2006-03-24 Roman Kennke <kennke@aicas.com>
25169 * javax/swing/JTabbedPane.java
25170 (getSelectedComponent): Return null when no component is
25173 2006-03-24 Mark Wielaard <mark@klomp.org>
25175 * NEWS: Add cursor and selection improvements.
25177 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25179 * java/awt/Component.java
25180 (getAccessibleName): Just return accessibleName,
25181 * javax/swing/AbstractButton.java
25182 (getAccessibleStateSet): Mark as stub,
25183 (getAccessibleName): Implemented,
25184 (getAcessibleIcon): Mark as stub,
25185 (getAccessibleRelationSet): Likewise,
25186 (getAccessibleAction): Likewise,
25187 (getAccessibleValue): Likewise,
25188 (getAccessibleActionCount): Likewise,
25189 (getAccessibleActionDescription): Likewise,
25190 (doAccessibleAction): Likewise,
25191 (getCurrentAccessibleValue): Likewise,
25192 (setCurrentAccessibleValue): Likewise,
25193 (getMinimumAccessibleValue): Likewise,
25194 (getMaximumAccessibleValue): Likewise,
25195 (getAccessibleText): Likewise,
25196 (getIndexAtPoint): Likewise,
25197 (getCharacterBounds): Likewise,
25198 (getCharCount): Likewise,
25199 (getCaretPosition): Likewise,
25200 (getAtIndex): Likewise,
25201 (getAfterIndex): Likewise,
25202 (getBeforeIndex): Likewise,
25203 (getCharacterAttribute): Likewise,
25204 (getSelectionStart): Likewise,
25205 (getSelectionEnd): Likewise,
25206 (getSelectedText): Likewise,
25207 (getTextRectangle): Likewise,
25208 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25209 (getIconTextGap): Added @since 1.4,
25210 (setContentAreaFilled): Reordered code to make event sequence match
25211 reference implementation,
25212 * javax/swing/JButton.java
25213 (getSelectedObjects): Removed,
25214 *javax/swing/JComponent.java
25215 (getAccessibleName): Call super.
25217 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25219 * javax/swing/JProgressBar.java
25220 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25221 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25222 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25223 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25224 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25225 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25226 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25227 (getAccessibleContext): Added API docs.
25229 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25231 * javax/swing/plaf/basic/BasicTextUI.java:
25232 (FocusListener.focusLost): Put current selection into the system
25235 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25237 * java/awt/Component.java:
25238 (processMouseEvent): Remove call to consume event.
25239 (dispatchEventImpl): Handle specific events first, do focus request
25240 only when mouse event was not yet consumed.
25241 * javax/swing/text/DefaultCaret.java:
25242 (mousePressed): Rewritten.
25243 (setDot): Changed order of operations.
25246 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25248 * javax/swing/JComponent.java
25249 (AccessibleJComponent.changeSupport): Removed field,
25250 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25251 (AccessibleJComponent.addPropertyChangeListener): Call super,
25252 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25253 * javax/swing/JSlider.java
25254 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25255 (AccessibleJSlider.getAccessibleRole): Likewise,
25256 (AccessibleJSlider.getAccessibleValue): Likewise,
25257 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25258 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25259 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25260 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25261 (getAccessibleContext): Added API docs.
25263 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25265 * gnu/java/rmi/activation/ActivationSystemTransient.java
25266 (debug): Made public. (constructor): Made protected.
25267 (activate, getActivationDesc): Throw more informative exceptions.
25268 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25270 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25272 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25274 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25276 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25277 system, passed in the activation descriptor field.
25278 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25279 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25280 to package private final. (equals): Compare uid, not the system.
25281 (hashCode): Forward to uid.hashCode(). toString(): New method.
25282 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25283 Rewritten. (equals): Compare UID only. toString(): New method.
25284 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25285 UID (space). (hashCode, toString): Rewritten.
25286 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25287 New method. (invoke): Treat null as an empty array for parameters.
25288 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25289 Include count, do not include the static machineId.
25291 2006-03-23 Tom Tromey <tromey@redhat.com>
25293 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25295 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25297 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25298 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25299 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25300 (force): New field. (setForce): New method. (compile): Handle -force.
25301 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25302 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25304 2006-03-23 Roman Kennke <kennke@aicas.com>
25306 * javax/swing/JTabbedPane.java
25307 (Page.getBackground): Return the JTabbedPane's background,
25308 rather than the page's component background.
25309 (Page.getForeground): Return the JTabbedPane's foreground,
25310 rather than the page's component foreground.
25311 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25312 (uninstallUI): Don't set colors to null.
25313 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25314 (paintTabBackground): Correctly determine the tab background.
25315 (getUnselectedBackground): New helper method to
25316 handle the UI property 'TabbedPane.unselectedBackground'
25319 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25321 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25322 (BorderListener.showingResizeCursor): New field.
25323 (BorderListener.mouseMoved, BorderListner.mouseExited):
25326 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25328 * javax/swing/JComboBox.java
25329 (selectWithKeyChar): Mark as stub,
25330 * javax/swing/JFileChooser.java
25331 (setDragEnabled): Mark as stub,
25332 (getDragEnabled): Likewise,
25333 * javax/swing/JSlider.java
25334 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25335 (AccessibleJSlider.getAccessibleRole): Likewise,
25336 (AccessibleJSlider.getAccessibleValue): Likewise,
25337 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25338 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25339 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25340 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25341 * javax/swing/UIManager.java
25342 (installLookAndFeel): Mark as stub,
25343 (setInstalledLookAndFeels): Likewise.
25345 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25347 * javax/swing/filechooser/UnixFileSystemView.java
25348 (getSystemDisplayName): Mark as stub,
25349 (getSystemIcon): Likewise,
25350 (getSystemTypeDescription): Likewise.
25352 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25354 * javax/swing/tree/AbstractLayoutCache.java
25355 (getNodeDimensions): Mark as stub,
25356 (getPreferredHeight): Likewise,
25357 (getPreferredWidth): Likewise,
25358 (getRowsForPaths): Likewise,
25359 (isFixedRowHeight): Likewise,
25360 * javax/swing/tree/DefaultTreeModel.java
25361 (reload()): Mark as stub,
25362 (reload(TreeNode)): Likewise,
25363 (nodeStructureChanged): Likewise,
25364 * javax/swing/tree/DefaultTreeSelectionModel.java
25365 (clone): Mark as stub,
25366 (setRowMapper): Likewise,
25367 (setSelectionPaths): Likewise,
25368 (isRowSelected): Likewise,
25369 (resetRowSelection): Likewise,
25370 (insureRowContinuity): Likewise,
25371 (arePathsContiguous): Likewise,
25372 (canPathsBeAdded): Likewise,
25373 (canPathsBeRemoved): Likewise,
25374 (notifyPathChange): Likewise,
25375 (updateLeadIndex): Likewise,
25376 (insureUniqueness): Likewise,
25377 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25379 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25381 2006-03-22 Tom Tromey <tromey@redhat.com>
25383 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25385 (getStaticAttributeKey): Likewise.
25386 (readAttributeSet): Likewise.
25387 (writeAttributeSet): Likewise.
25388 (readAttributes): Likewise.
25389 (writeAttributes): Likewise.
25390 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25392 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25394 (fireChangedUpdate): Likewise.
25397 (handleEndOfLineString): Likewise.
25398 (textAreaContent): Likewise.
25399 (preContent): Likewise.
25400 (addSpecialElement): Likewise.
25401 (setInnerHTML): Likewise.
25402 (setOuterHTML): Likewise.
25403 (insertBeforeStart): Likewise.
25404 (insertBeforeEnd): Likewise.
25405 (insertAfterEnd): Likewise.
25406 (insertAfterStart): Likewise.
25407 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25408 Mark all methods as stub.s
25409 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25411 (paintHorizontalSeparators): Likewise.
25412 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25414 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25416 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25418 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25421 2006-03-22 Mark Wielaard <mark@klomp.org>
25423 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25425 2006-03-22 Mark Wielaard <mark@klomp.org>
25428 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25429 Takes GtkImage, x and y coordinates.
25430 (gtkWidgetSetCursorUnlocked): Likewise.
25431 (GtkComponentPeer): Set cursor when set.
25432 (setCursor): Handle GtkCursor.
25433 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25435 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25436 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25437 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25438 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25440 2006-03-23 Roman Kennke <kennke@aicas.com>
25443 * gnu/java/security/Registry.java
25444 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25445 * gnu/javax/crypto/pad/PadFactory.java
25446 (getInstance): For PKCS#5, also return PKCS#7 pad
25448 (getNames): Added PKCS#5.
25449 * javax/crypto/KeyGenerator.java
25450 (getInstance): Initialize key generator before returning
25453 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25455 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25456 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25457 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25458 if COMMENTS is set.
25460 2006-03-22 Tom Tromey <tromey@redhat.com>
25462 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25463 (getBoolean): Likewise.
25464 (getString): Likewise.
25465 (getIcon): Likewise.
25467 2006-03-22 Mark Wielaard <mark@klomp.org>
25470 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25471 (GLightweightPeer(Component)): Install MouseListener.
25472 (setCursor): Implement.
25473 (mouseEntered): New method.
25475 2006-03-22 Tom Tromey <tromey@redhat.com>
25477 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25479 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25481 (getFontForState): Likewise.
25482 (getInsets): Added 'result' argument.
25483 (getPainter): Renamed.
25485 2006-03-22 Tom Tromey <tromey@redhat.com>
25487 * javax/swing/plaf/synth/SynthPainter.java
25488 (paintScrollBarThumbBackground): Added 'orientation' argument.
25489 (paintScrollBarThumbBorder): Likewise.
25490 (paintSliderThumbBackground): Likewise.
25491 (paintSliderThumbBorder): Likewise.
25492 (paintTabbedPaneTabBackground): Added 'index' argument.
25493 (paintTabbedPaneTabBorder): Likewise.
25495 2006-03-22 Tom Tromey <tromey@redhat.com>
25497 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25498 (toString): New method.
25500 2006-03-22 Tom Tromey <tromey@redhat.com>
25502 * doc/hacking.texinfo (Source Code Style Guide): Mention
25503 NotImplementedException.
25504 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25505 (flushBefore): Mark as stub.
25507 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25509 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25512 (writeBit): Likewise.
25513 (writeChars): Likewise.
25514 (writeUTF): Likewise.
25515 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25518 * java/net/URLConnection.java (getContent): Mark as stub.
25519 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25520 * java/awt/TexturePaint.java (createContext): Mark as stub.
25521 (getTransparency): Mark as stub.
25522 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25523 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25524 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25526 (getImageCapabilities): Likewise.
25527 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25528 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25529 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25531 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25532 (getAdvanceBetween): Likewise.
25533 (getLayout): Likewise.
25534 (insertChar): Likewise.
25535 (getLineBreakIndex): Likewise.
25536 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25537 (getAdvance): Likewise.
25538 (getAscent): Likewise.
25539 (getDescent): Likewise.
25540 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25541 (insertChar): Likewise.
25542 (nextLayout): Likewise.
25543 (nextLayout): Likewise.
25544 (nextOffset): Likewise.
25545 (nextOffset): Likewise.
25546 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25547 (equals): Likewise.
25548 (getAdvance): Likewise.
25549 (getAscent): Likewise.
25550 (getBounds): Likewise.
25551 (getDescent): Likewise.
25552 (hashCode): Likewise.
25553 (ImageGraphicAttribute): Likewise.
25554 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25555 (getJustificationInfo): Likewise.
25556 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25557 (getGlyphCharIndices): Likewise.
25558 (getGlyphOutline): Likewise.
25559 (getGlyphPixelBounds): Likewise.
25560 (getLayoutFlags): Likewise.
25561 (getPixelBounds): Likewise.
25562 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25563 (getRSB): Likewise.
25564 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25565 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25566 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25568 (resetRecognizer): Likewise.
25569 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25571 (getNativesForFlavor): Likewise.
25572 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25573 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25575 (getRegion): Likewise.
25576 (createUI): Likewise.
25577 (initialize): Likewise.
25578 (uninitialize): Likewise.
25579 (getDefaults): Likewise.
25581 (shouldUpdateStyleOnAncestorChanged): Likewise.
25582 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25584 (getPreferredSize): Likewise.
25585 (getMaximumSize): Likewise.
25586 (paintText): Likewise.
25587 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25589 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25591 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25593 * java/io/ObjectStreamConstants.java: Added since tag.
25594 (PROTOCOL_VERSION_1): Added javadoc.
25595 (PROTOCOL_VERSION_2): Likewise.
25596 * java/io/ObjectOutputStream.java:
25597 (setDefaultProtocolVersion): Removed.
25598 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25600 2006-03-21 Lillian Angel <langel@redhat.com>
25602 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25603 (BMPInfoHeader): Removed debug lines.
25604 * gnu/javax/imageio/bmp/EncodeRLE4.java
25605 (encode): Implemented.
25606 (uncompress): New function implemented to
25607 uncompress the image before encoding.
25608 * gnu/javax/imageio/bmp/EncodeRLE8.java
25609 (encode): Implemented.
25610 (uncompress): New function implemented to
25611 uncompress the image before encoding.
25613 2006-03-21 Roman Kennke <kennke@aicas.com>
25615 * javax/swing/text/html/FormView.java
25616 (getImageData): New helper method.
25618 2006-03-21 Tom Tromey <tromey@redhat.com>
25620 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25622 (Unsafe): Now final.
25624 2006-03-21 Roman Kennke <kennke@aicas.com>
25626 * javax/swing/text/html/FormView.java
25627 (MouseEventListener): New inner class.
25629 2006-03-21 Roman Kennke <kennke@aicas.com>
25631 * javax/swing/text/html/ListView.java: New file.
25633 2006-03-21 Tom Tromey <tromey@redhat.com>
25635 * java/text/Bidi.java: Completed.
25637 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25639 * javax/swing/JTable.java:
25640 (columnAtPoint): Removed the null check, this method should throw a NPE
25641 if the argument is null.
25643 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25645 * javax/swing/text/DefaultHighlighter.java:
25646 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25648 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25650 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25651 the textcomponent having a selection.
25652 (clearSelection): Clear 'componentWithSelection' variable.
25653 (handleSelection): Clear selection of current component having a
25654 selection before setting a new selection in another component.
25655 (mouseDragged): Only react on left mouse button.
25656 (mouseClicked): Only react on left mouse button.
25658 2006-03-21 Roman Kennke <kennke@aicas.com>
25660 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25661 (paintContentBorderTopEdge): Implemented.
25662 (paintContentBorderBottomEdge): Implemented.
25663 (paintContentBorderLeftEdge): Implemented.
25664 (paintContentBorderRightEdge): Implemented.
25665 (isLastTabInRun): New helper method.
25667 2006-03-21 Roman Kennke <kennke@aicas.com>
25669 * javax/swing/JTabbedPane.java
25670 (Page.getForeground): Fall back to returning the tabbed pane's
25671 foreground if no foreground has been exclicitly set.
25673 2006-03-21 Roman Kennke <kennke@aicas.com>
25675 * javax/swing/plaf/metal/MetalComboBoxButton.java
25676 (setEnabled): Update colors of button correctly.
25677 * javax/swing/plaf/metal/MetalComboBoxUI.java
25678 (MetalPropertyChangeListener.propertyChange): Update the colors
25679 of the list and the button when any of the color properties
25680 of the ComboBox change.
25682 2006-03-21 Roman Kennke <kennke@aicas.com>
25684 * javax/swing/plaf/basic/BasicButtonUI.java
25685 (uninstallDefaults): Only nullify button colors if they are
25686 not UIResource instances.
25688 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25690 * javax/swing/JComponent.java
25691 (AccessibleJComponent.getAccessibleDescription): Call super,
25692 * javax/swing/JToolTip.java: API doc updates all over, plus
25693 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25694 (AccessibleJToolTip.getAccessibleRole): Implemented,
25695 (getAccessibleContext): Implemented,
25696 (paramString): Reimplemented,
25697 (setComponent): Fire PropertyChangeEvent,
25698 (setTipText): Likewise.
25700 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25702 * java/util/Formatter.java:
25703 Make the class final.
25705 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25707 * java/lang/System.java:
25708 (nanoTime()): Documented.
25709 * java/lang/Thread.java:
25710 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25711 Added docs and security check.
25712 (getUncaughtExceptionHandler()): Documented.
25713 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25714 Added docs and security check.
25715 (getDefaultUncaughtExceptionHandler()): Documented.
25716 (getId()): Documented.
25717 (Thread.State): Documented.
25718 * vm/reference/gnu/classpath/Unsafe.java:
25720 (getUnsafe()): Updated to handle security.
25722 2006-03-20 Tom Tromey <tromey@redhat.com>
25724 * java/lang/System.java:
25725 (nanoTime()): Implemented.
25726 * java/lang/Thread.java:
25727 (getId()): Implemented.
25728 * java/util/AbstractMap.java:
25729 (SimpleImmutableEntry): New 1.6 class.
25730 (BasicMapEntry): Modified to be SimpleEntry.
25731 * java/util/Collections.java:
25732 Modified to use SimpleEntry.
25733 * java/util/EnumMap.java: Likewise.
25734 * java/util/HashMap.java: Likewise.
25735 * java/util/Hashtable.java: Likewise.
25736 * java/util/TreeMap.java: Likewise.
25737 * vm/reference/gnu/classpath/Unsafe.java:
25738 New class to handle low-level facilities for concurrency.
25739 * vm/reference/java/lang/VMSystem.java:
25740 (nanoTime()): Implemented.
25742 2006-03-20 Tom Tromey <tromey@redhat.com>
25744 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25745 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25746 (CertStoreSpi): Updated throws clause.
25747 * java/security/cert/CertPathValidatorSpi.java: Added import for
25749 (engineValidate): Updated 'throws' clause.
25750 * java/security/cert/PKIXParameters.java: Javadoc fix.
25751 * java/security/cert/X509CertSelector.java
25752 (setAuthorityKeyIdentifier): Javadoc fix.
25754 2006-03-20 Tom Tromey <tromey@redhat.com>
25756 * .classpath: Build gnu.javax.swing.plaf.
25758 2006-03-20 Lillian Angel <langel@redhat.com>
25760 * gnu/javax/imageio/bmp/BMPDecoder.java:
25761 Removed unneeded import.
25762 * gnu/javax/imageio/bmp/BMPEncoder.java:
25764 * gnu/javax/imageio/bmp/BMPFileHeader.java
25765 (BMPFileHeader): New constructor used to create info header
25766 for an output stream.
25767 (write): Fixed indexes.
25768 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25769 Initialized writerSpiNames field.
25770 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25772 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25774 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25775 Change visibility for fields.
25776 (BMPInfoHeader): New constructor used to create
25777 file header for an output stream.
25778 (intToDWord): New method. Converts an int to a
25780 (intToWord): New method. Converts an int to a word.
25781 * gnu/javax/imageio/bmp/DecodeBF32.java:
25782 Removed unneeded imports.
25783 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25785 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25787 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25789 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25791 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25793 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25795 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25797 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25799 * javax/imageio/ImageIO.java:
25802 2006-03-20 Roman Kennke <kennke@aicas.com>
25804 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25805 (TabbedPaneLayout.normalizeTabRuns): New method.
25806 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25807 (paintTabBorder): Replaced if-else chain with switch.
25808 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25810 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25812 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25814 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25816 (paintTabBackground): Fetch background color from the TabbedPane.
25817 Fixed painting and improved by not using fillPolygon, and instead
25818 using fillRectangle. Replaced if-else chain with switch.
25819 (calculateMaxTabHeight): Added overridden method with FIXME.
25820 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25822 (paintContentBorderTopEdge): Added stub with FIXME.
25823 (paintContentBorderBottomEdge): Added stub with FIXME.
25824 (paintContentBorderLeftEdge): Added stub with FIXME.
25825 (paintContentBorderRightEdge): Added stub with FIXME.
25827 2006-03-20 Roman Kennke <kennke@aicas.com>
25829 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25830 (tabsOpaque): New field.
25831 (installDefaults): Fetch tabsOpaque property from UIManager.
25832 (paintTab): Fill tab background when tabsOpaque property is true.
25833 * javax/swing/plaf/basic/BasicLookAndFeel.java
25834 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25836 2006-03-20 Roman Kennke <kennke@aicas.com>
25838 * javax/swing/JTabbedPane.java
25839 (Pane.getBackground): When no background was explicitly set, return
25840 the JTabbedPane's background.
25842 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25844 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25845 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25846 * org/omg/CORBA/BAD_INV_ORDER.java,
25847 * org/omg/CORBA/BAD_CONTEXT.java,
25848 * org/omg/CORBA/BAD_OPERATION.java,
25849 * org/omg/CORBA/BAD_PARAM.java,
25850 * org/omg/CORBA/BAD_QOS.java,
25851 * org/omg/CORBA/BAD_TYPECODE.java,
25852 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25853 * org/omg/CORBA/COMM_FAILURE.java,
25854 * org/omg/CORBA/CurrentHolder.java,
25855 * org/omg/CORBA/DATA_CONVERSION.java,
25856 * org/omg/CORBA/FREE_MEM.java,
25857 * org/omg/CORBA/IMP_LIMIT.java,
25858 * org/omg/CORBA/INITIALIZE.java,
25859 * org/omg/CORBA/INTERNAL.java,
25860 * org/omg/CORBA/INTF_REPOS.java,
25861 * org/omg/CORBA/INVALID_ACTIVITY.java,
25862 * org/omg/CORBA/INVALID_TRANSACTION.java,
25863 * org/omg/CORBA/INV_FLAG.java,
25864 * org/omg/CORBA/INV_IDENT.java,
25865 * org/omg/CORBA/INV_OBJREF.java,
25866 * org/omg/CORBA/INV_POLICY.java,
25867 * org/omg/CORBA/MARSHAL.java,
25868 * org/omg/CORBA/NO_RESOURCES.java,
25869 * org/omg/CORBA/NO_MEMORY.java,
25870 * org/omg/CORBA/NO_IMPLEMENT.java,
25871 * org/omg/CORBA/NO_PERMISSION.java,
25872 * org/omg/CORBA/NO_RESPONSE.java,
25873 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25874 * org/omg/CORBA/OBJ_ADAPTER.java,
25875 * org/omg/CORBA/ParameterModeHolder.java,
25876 * org/omg/CORBA/PolicyError.java,
25877 * org/omg/CORBA/PolicyErrorHolder.java,
25878 * org/omg/CORBA/PolicyHolder.java,
25879 * org/omg/CORBA/PolicyListHolder.java,
25880 * org/omg/CORBA/REBIND.java,
25881 * org/omg/CORBA/TIMEOUT.java,
25882 * org/omg/CORBA/TRANSACTION_MODE.java,
25883 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25884 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25885 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25886 * org/omg/CORBA/TRANSIENT.java,
25887 * org/omg/CORBA/TypeCodeHolder.java,
25888 * org/omg/CORBA/UNKNOWN.java,
25889 * org/omg/CORBA/UnionMember.java,
25890 * org/omg/CORBA/UnknownUserException.java,
25891 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25892 * org/omg/CORBA/WrongTransactionHolder.java,
25893 * org/omg/IOP/IOR.java,
25894 * org/omg/IOP/IORHolder.java,
25895 * org/omg/IOP/MultipleComponentProfileHolder.java,
25896 * org/omg/IOP/ServiceContextHolder.java,
25897 * org/omg/IOP/ServiceContextListHolder.java,
25898 * org/omg/IOP/TaggedComponentHolder.java,
25899 * org/omg/IOP/TaggedProfileHolder.java,
25900 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25901 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25902 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25903 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25904 Made class final, various javadoc fixlets.
25905 * org/omg/CORBA/CompletionStatus.java,
25906 * org/omg/CORBA/PERSIST_STORE.java,
25907 * org/omg/CORBA/ValueMember.java,
25908 * org/omg/PortableInterceptor/ForwardRequest.java,
25909 * org/omg/PortableInterceptor/InvalidSlot.java,
25910 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25911 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25912 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25913 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25914 * org/omg/IOP/Encoding.java,
25915 * org/omg/IOP/TaggedComponent.java,
25916 * org/omg/IOP/TaggedProfile.java: Made class final.
25917 * org/omg/CORBA/SystemException.java: Made class abstract.
25918 * org/omg/CORBA/UserException.java: Made class abstract.
25919 (UserException): Now protected.
25920 (UserException(String)): Likewise.
25921 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25922 (typecode): Removed unused private variable.
25924 2006-03-20 Chris Burdess <dog@gnu.org>
25927 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25929 2006-03-20 Roman Kennke <kennke@aicas.com>
25931 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25932 (paintTabArea): Look up tab run indices in tabRuns array instead
25933 of using the index directly.
25935 2006-03-20 Roman Kennke <kennke@aicas.com>
25937 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25938 (paintTab): Fixed painting.
25939 (paintText): Fixed text painting.
25940 (paintFocusIndicator): Fixed painting of the focus rectangle.
25941 (paintContentBorder): Fixed painting of the content area.
25943 2006-03-20 Mark Wielaard <mark@klomp.org>
25945 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25946 static lock Object field.
25947 (produce): Synchronize on pixbufLock when calling initState(),
25948 pumpBytes() and pumpDone().
25949 (finalize): Likewise when calling finish().
25950 (GdkPixbufWriter.write): Likewise when calling streamImage().
25951 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25952 when calling loadPixbuf. Chain exception.
25953 (GtkImage(byte[])): Likewise when calling loadImageFromData.
25954 (GtkImage(URL)): Likewise.
25955 (GtkImage(int,int)): Likewise when calling createPixmap().
25956 (GtkImage(GtkImage,int,int,int)): Likewise when calling
25957 createScaledPixmap().
25958 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25959 (setImage): Likewise when calling createPixmap() and setPixels().
25960 (getSource): Likewise when calling getPixels().
25961 (flush): Likewise when calling freePixmap().
25962 (finalize): Likewise.
25963 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25964 drawPixelsScaledFlipped().
25965 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25966 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25967 gdk_threads_enter/leave().
25968 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25969 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25970 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25971 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25972 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25973 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25974 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25975 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25976 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25977 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25978 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25979 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25980 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25982 2006-03-20 Roman Kennke <kennke@aicas.com>
25984 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25985 (calculateTabHeight): Not need to use SwingUtilities here.
25986 (getTabInsets): Do not rotate insets.
25988 2006-03-20 Roman Kennke <kennke@aicas.com>
25990 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25991 (paint): Make sure the layout is valid before painting.
25992 (paintTabArea): Made tab painting more straightforward and efficient.
25994 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25996 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25997 (getScrollableUnitIncrement): Rewritten.
25998 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25999 (getScrollableUnitIncrement): Rewritten.
26000 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26001 (ROWS_PER_WHEEL_CLICK): New field.
26002 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26004 2006-03-20 Roman Kennke <kennke@aicas.com>
26006 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26007 (paint): Make sure the layout is valid before painting.
26008 (paintTabArea): Made tab painting more straightforward and efficient.
26010 2006-03-20 Roman Kennke <kennke@aicas.com>
26012 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26013 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26015 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26016 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26017 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26018 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26019 bounds here. That is moved into layoutContainer().
26020 (calculateSize): Correctly respect insets. Made code slightly more
26021 clear and efficient.
26022 (calculateTabRects): Rewritten completely. The old code was
26023 not quite right and unstable in some situations.
26024 (layoutContainer): Moved layout of tabbed pane's subcomponents
26026 (tabRunsDirty): New field.
26027 (rolloverTab): New field.
26028 (tabForCoordinate): Rewritten for simplicity and correctness.
26029 (setRolloverTab): New method.
26030 (getRolloverTab): New method.
26032 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26034 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26035 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26036 (getScrollableUnitIncrement
26037 * javax/swing/Scrollable.java: Documented.
26038 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26039 (MouseWheelHandler):Rewritten.
26041 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26043 * doc/vmintegration.texinfo:
26044 Updated with gnu.classpath.Unsafe
26046 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26049 Updated with VMArray and Unsafe changes.
26051 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26053 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26054 (getScrollableUnitIncrement): Rewritten.
26055 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26056 (getScrollableUnitIncrement): Rewritten.
26057 (getScrollableBlockIncrement): Rewritten.
26058 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26059 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26060 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26061 New field. (installListeners): Install wheel listeners.
26062 (uninstallListeners): Uninstall wheel listeners.
26063 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26064 of the MouseWheelListener. (installListeners): Do not install wheel
26065 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26067 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26069 * vm/reference/gnu/classpath/Unsafe.java:
26071 (getUnsafe()): Updated to handle security.
26073 2006-03-19 Tom Tromey <tromey@redhat.com>
26075 * vm/reference/gnu/classpath/Unsafe.java:
26076 New class to handle low-level facilities for concurrency.
26078 2006-03-19 Mark Wielaard <mark@klomp.org>
26080 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26081 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26082 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26083 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26085 2006-03-19 Mark Wielaard <mark@klomp.org>
26087 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26089 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26091 2006-03-19 Michael Koch <konqueror@gmx.de>
26093 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26094 resource/gnu/java/locale/LocaleInformation_am.properties,
26095 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26096 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26097 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26098 resource/gnu/java/locale/LocaleInformation_bg.properties,
26099 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26100 resource/gnu/java/locale/LocaleInformation_ca.properties,
26101 resource/gnu/java/locale/LocaleInformation_cs.properties,
26102 resource/gnu/java/locale/LocaleInformation_cy.properties,
26103 resource/gnu/java/locale/LocaleInformation_da.properties,
26104 resource/gnu/java/locale/LocaleInformation_de.properties,
26105 resource/gnu/java/locale/LocaleInformation_dv.properties,
26106 resource/gnu/java/locale/LocaleInformation_el.properties,
26107 resource/gnu/java/locale/LocaleInformation_en.properties,
26108 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26109 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26110 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26111 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26112 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26113 resource/gnu/java/locale/LocaleInformation_es.properties,
26114 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26115 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26116 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26117 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26118 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26119 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26120 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26121 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26122 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26123 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26124 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26125 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26126 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26127 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26128 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26129 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26130 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26131 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26132 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26133 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26134 resource/gnu/java/locale/LocaleInformation_fa.properties,
26135 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26136 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26137 resource/gnu/java/locale/LocaleInformation_fi.properties,
26138 resource/gnu/java/locale/LocaleInformation_fr.properties,
26139 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26140 resource/gnu/java/locale/LocaleInformation_ga.properties,
26141 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26142 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26143 resource/gnu/java/locale/LocaleInformation_hr.properties,
26144 resource/gnu/java/locale/LocaleInformation_hu.properties,
26145 resource/gnu/java/locale/LocaleInformation_id.properties,
26146 resource/gnu/java/locale/LocaleInformation_is.properties,
26147 resource/gnu/java/locale/LocaleInformation_it.properties,
26148 resource/gnu/java/locale/LocaleInformation_ja.properties,
26149 resource/gnu/java/locale/LocaleInformation_kk.properties,
26150 resource/gnu/java/locale/LocaleInformation_kl.properties,
26151 resource/gnu/java/locale/LocaleInformation_km.properties,
26152 resource/gnu/java/locale/LocaleInformation_ky.properties,
26153 resource/gnu/java/locale/LocaleInformation_lo.properties,
26154 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26155 resource/gnu/java/locale/LocaleInformation_lt.properties,
26156 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26157 resource/gnu/java/locale/LocaleInformation_lv.properties,
26158 resource/gnu/java/locale/LocaleInformation_mk.properties,
26159 resource/gnu/java/locale/LocaleInformation_mn.properties,
26160 resource/gnu/java/locale/LocaleInformation_mr.properties,
26161 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26162 resource/gnu/java/locale/LocaleInformation_ms.properties,
26163 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26164 resource/gnu/java/locale/LocaleInformation_mt.properties,
26165 resource/gnu/java/locale/LocaleInformation_nb.properties,
26166 resource/gnu/java/locale/LocaleInformation_nl.properties,
26167 resource/gnu/java/locale/LocaleInformation_nn.properties,
26168 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26169 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26170 resource/gnu/java/locale/LocaleInformation_pa.properties,
26171 resource/gnu/java/locale/LocaleInformation_pl.properties,
26172 resource/gnu/java/locale/LocaleInformation_pt.properties,
26173 resource/gnu/java/locale/LocaleInformation_ru.properties,
26174 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26175 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26176 resource/gnu/java/locale/LocaleInformation_sa.properties,
26177 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26178 resource/gnu/java/locale/LocaleInformation_sk.properties,
26179 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26180 resource/gnu/java/locale/LocaleInformation_sv.properties,
26181 resource/gnu/java/locale/LocaleInformation_sw.properties,
26182 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26183 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26184 resource/gnu/java/locale/LocaleInformation_te.properties,
26185 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26186 resource/gnu/java/locale/LocaleInformation_th.properties,
26187 resource/gnu/java/locale/LocaleInformation_ti.properties,
26188 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26189 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26190 resource/gnu/java/locale/LocaleInformation_tr.properties,
26191 resource/gnu/java/locale/LocaleInformation_tt.properties,
26192 resource/gnu/java/locale/LocaleInformation_uk.properties,
26193 resource/gnu/java/locale/LocaleInformation_ur.properties,
26194 resource/gnu/java/locale/LocaleInformation_uz.properties,
26195 resource/gnu/java/locale/LocaleInformation_zh.properties,
26196 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26197 More updates for CLDR 1.3.
26199 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26201 * doc/vmintegration.texinfo:
26202 Updated to include VMArray.
26203 * include/Makefile.am:
26204 Replace java_lang_reflect_Array.h with
26205 java_lang_reflect_VMArray.h
26206 * include/java_lang_reflect_VMArray.h:
26207 New autogenerated header.
26208 * include/java_lang_reflect_Array.h:
26210 * java/lang/reflect/Array.java:
26211 (newInstance(Class,int)): Calls VMArray.
26212 (createMultiArray(Class,int[],int)): Likewise.
26213 (createObjectArray(Class,int)): Removed.
26214 * native/jni/java-lang/Makefile.am:
26215 Replaced java_lang_reflect_Array.c with
26216 java_lang_reflect_VMArray.c
26217 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26218 Renamed from java_lang_reflect_Array.c.
26219 * vm/reference/java/lang/reflect/VMArray.java:
26220 (createObjectArray(Class,int)): Native method moved
26221 from java.lang.reflect.Array.
26223 2006-03-19 Roman Kennke <kennke@aicas.com>
26225 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26226 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26228 * examples/gnu/classpath/examples/swing/Demo.java
26229 (mkButtonBar): Hook up theme editor.
26230 (mkMenuBar): Hook up theme editor.
26232 2006-03-19 Roman Kennke <kennke@aicas.com>
26234 * javax/swing/plaf/basic/BasicFileChooserUI.java
26235 (ApproveSelectionAction.actionPerformed): Added case for when
26236 nothing has been selected but the user has typed a filename
26237 into the textfield.
26238 (getFileName): Return the value of the text field.
26240 2006-03-19 Roman Kennke <kennke@aicas.com>
26242 * javax/swing/JColorChooser.java
26243 (createDialog): Create JDialog instead of ModalDialog. Make this
26244 dialog modal by calling setModal(true).
26245 (ModalDialog): Removed unnecessary inner class.
26247 2006-03-19 Tom Tromey <tromey@redhat.com>
26249 * java/awt/font/NumericShaper.java: Rewrote.
26251 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26253 * javax/swing/plaf/basic/BasicTableUI.java:
26254 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26255 New field. MouseInputHandler.mouseWheelMoved): New method.
26256 (installListeners): Register MouseInputHandler as
26257 wheel listener also.
26259 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26262 * javax/swing/ViewportLayout.java (layoutContainer):
26263 If Scrollable tracks dimension, set view size to the port size.
26264 If port is larger than the view, move the view to the top/left.
26266 2006-03-19 Roman Kennke <kennke@aicas.com>
26268 * javax/swing/MenuSelectionManager.java
26269 (isComponentPartOfCurrentMenu): Also consider the first element
26270 in a menu selection list. Make a isDescendentFrom check instead
26271 of simple equals to also catch sub components.
26273 2006-03-19 Roman Kennke <kennke@aicas.com>
26275 * javax/swing/JComboBox.java
26276 (actionPerformed): Fetch selected item directly from the editor
26277 instead of trying to get it from the event.
26279 2006-03-19 Roman Kennke <kennke@aicas.com>
26281 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26282 (listener): Removed field.
26283 (BasicComboBoxEditor): Removed initialization of listener field.
26284 (addActionListener): Add listener directly to editor.
26285 (removeActionListener): Remove listener directly from editor.
26286 (ComboBoxEditorListener): Removed class.
26287 * javax/swing/plaf/basic/BasicComboBoxUI.java
26288 (getPreferredSize): Fixed to return the minimumSize.
26289 (getMinimumSize): Improved code for more clearness.
26290 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26291 (rectangleForCurrentValue): Correctly respect insets.
26292 (getDefaultSize): Return preferredSize here. Dont override height
26294 (getDisplaySize): Moved around code for more clearness. Added
26295 handling of prototype renderer.
26296 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26297 arrowButton bounds since the former depends on the latter.
26298 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26299 (MetalComboBoxButton): Make button rollover disabled.
26300 (isFocusTraversable): Return false unconditionally.
26301 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26302 (EditorTextField): New class. Fixes the size properties.
26303 (MetalComboBoxEditor): Create instance of EditorTextField.
26304 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26305 (getMinimumSize): Fixed editable size.
26307 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26309 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26311 2006-03-18 Roman Kennke <kennke@aicas.com>
26313 * javax/swing/plaf/metal/MetalToolBarUI.java
26314 (update): Added overridden method to support OceanTheme.
26316 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26318 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26319 Activate the cell editing on character keystroke.
26321 2006-03-18 Mark Wielaard <mark@klomp.org>
26323 * java/awt/Component.java (eventTypeEnabled): Handle
26324 MouseEvent.MOUSE_WHEEL.
26325 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26326 New callback method.
26327 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26328 (AWT_MOUSE_WHEEL): New constant.
26329 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26330 (postMouseWheelEventID): New static variable.
26331 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26332 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26333 (button_number): Renamed to ...
26334 (button_number_direction): variable to hold button number or scroll
26336 (component_button_press_cb): Use button_number_direction.
26337 (component_scroll_cb): New static callback function.
26339 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26341 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26342 Return without action.
26344 2006-03-18 Mark Wielaard <mark@klomp.org>
26346 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26347 Don't cast graphics object to GdkGraphics.
26348 (updateComponent): Likewise.
26350 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26352 * examples/gnu/classpath/examples/swing/TableDemo.java
26353 (TModel.getColumnClass): Set second column to Icon.
26354 (TModel.isCellEditable): Say icons are not editable.
26355 (createContent): Fill the in second column with some icons from
26358 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26360 * examples/gnu/classpath/examples/swing/Demo.java
26361 (mkButtonBar): Set maximal button bar height to the preferred height.
26363 2006-03-18 Roman Kennke <kennke@aicas.com>
26365 * javax/swing/plaf/basic/BasicComboPopup.java
26366 (show): Substract insets from scroller width.
26367 (getPopupHeightForRowCount): If height==0, return a default of 100
26368 instead for empty ComboBoxes.
26370 2006-03-18 Roman Kennke <kennke@aicas.com>
26372 * javax/swing/plaf/basic/BasicLookAndFeel.java
26373 (PopupHelper.autoClosePopups): Removed field.
26374 (PopupHelper.mousePressed): Removed processing of registered
26376 (registerForAutoClose): Removed unneeded method.
26377 (autoClosePopups): Removed unneeded method.
26378 (registerForAutoClose): Removed unneeded method.
26380 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26382 * javax.swing.JTable.java (TableTextField): Set border.
26383 (moveToCellBeingEdited): Do not adjust the editor boundaries
26385 2006-03-18 Michael Koch <konqueror@gmx.de>
26387 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26388 resource/gnu/java/locale/LocaleInformation_af.properties,
26389 resource/gnu/java/locale/LocaleInformation_am.properties,
26390 resource/gnu/java/locale/LocaleInformation_ar.properties,
26391 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26392 resource/gnu/java/locale/LocaleInformation_be.properties,
26393 resource/gnu/java/locale/LocaleInformation_bg.properties,
26394 resource/gnu/java/locale/LocaleInformation_bn.properties,
26395 resource/gnu/java/locale/LocaleInformation_ca.properties,
26396 resource/gnu/java/locale/LocaleInformation_cs.properties,
26397 resource/gnu/java/locale/LocaleInformation_cy.properties,
26398 resource/gnu/java/locale/LocaleInformation_da.properties,
26399 resource/gnu/java/locale/LocaleInformation_de.properties,
26400 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26401 resource/gnu/java/locale/LocaleInformation_dz.properties,
26402 resource/gnu/java/locale/LocaleInformation_en.properties,
26403 resource/gnu/java/locale/LocaleInformation_eo.properties,
26404 resource/gnu/java/locale/LocaleInformation_es.properties,
26405 resource/gnu/java/locale/LocaleInformation_et.properties,
26406 resource/gnu/java/locale/LocaleInformation_eu.properties,
26407 resource/gnu/java/locale/LocaleInformation_fa.properties,
26408 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26409 resource/gnu/java/locale/LocaleInformation_fi.properties,
26410 resource/gnu/java/locale/LocaleInformation_fo.properties,
26411 resource/gnu/java/locale/LocaleInformation_fr.properties,
26412 resource/gnu/java/locale/LocaleInformation_ga.properties,
26413 resource/gnu/java/locale/LocaleInformation_gl.properties,
26414 resource/gnu/java/locale/LocaleInformation_gu.properties,
26415 resource/gnu/java/locale/LocaleInformation_he.properties,
26416 resource/gnu/java/locale/LocaleInformation_hi.properties,
26417 resource/gnu/java/locale/LocaleInformation_hr.properties,
26418 resource/gnu/java/locale/LocaleInformation_hu.properties,
26419 resource/gnu/java/locale/LocaleInformation_hy.properties,
26420 resource/gnu/java/locale/LocaleInformation_id.properties,
26421 resource/gnu/java/locale/LocaleInformation_is.properties,
26422 resource/gnu/java/locale/LocaleInformation_it.properties,
26423 resource/gnu/java/locale/LocaleInformation_ja.properties,
26424 resource/gnu/java/locale/LocaleInformation_ka.properties,
26425 resource/gnu/java/locale/LocaleInformation_km.properties,
26426 resource/gnu/java/locale/LocaleInformation_ko.properties,
26427 resource/gnu/java/locale/LocaleInformation_lo.properties,
26428 resource/gnu/java/locale/LocaleInformation_lt.properties,
26429 resource/gnu/java/locale/LocaleInformation_lv.properties,
26430 resource/gnu/java/locale/LocaleInformation_mk.properties,
26431 resource/gnu/java/locale/LocaleInformation_mr.properties,
26432 resource/gnu/java/locale/LocaleInformation_ms.properties,
26433 resource/gnu/java/locale/LocaleInformation_mt.properties,
26434 resource/gnu/java/locale/LocaleInformation_nb.properties,
26435 resource/gnu/java/locale/LocaleInformation_nl.properties,
26436 resource/gnu/java/locale/LocaleInformation_nn.properties,
26437 resource/gnu/java/locale/LocaleInformation_om.properties,
26438 resource/gnu/java/locale/LocaleInformation_pl.properties,
26439 resource/gnu/java/locale/LocaleInformation_ps.properties,
26440 resource/gnu/java/locale/LocaleInformation_pt.properties,
26441 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26442 resource/gnu/java/locale/LocaleInformation_ro.properties,
26443 resource/gnu/java/locale/LocaleInformation_ru.properties,
26444 resource/gnu/java/locale/LocaleInformation_sk.properties,
26445 resource/gnu/java/locale/LocaleInformation_sl.properties,
26446 resource/gnu/java/locale/LocaleInformation_so.properties,
26447 resource/gnu/java/locale/LocaleInformation_sq.properties,
26448 resource/gnu/java/locale/LocaleInformation_sr.properties,
26449 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26450 resource/gnu/java/locale/LocaleInformation_sv.properties,
26451 resource/gnu/java/locale/LocaleInformation_sw.properties,
26452 resource/gnu/java/locale/LocaleInformation_ta.properties,
26453 resource/gnu/java/locale/LocaleInformation_te.properties,
26454 resource/gnu/java/locale/LocaleInformation_th.properties,
26455 resource/gnu/java/locale/LocaleInformation_tr.properties,
26456 resource/gnu/java/locale/LocaleInformation_uk.properties,
26457 resource/gnu/java/locale/LocaleInformation_uz.properties,
26458 resource/gnu/java/locale/LocaleInformation_vi.properties,
26459 resource/gnu/java/locale/LocaleInformation_zh.properties,
26460 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26461 Updated to use the new localized strings for currencies, languages,
26462 variants, territories, etc.
26464 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26466 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26467 (start, end): Added comment about the negative values of them,
26468 (finish): Saves the input text in matchedCharIndexed,
26469 (toString): If the start or end index is out of bounds of the
26470 matched text, get the substring from matchedCharIndexed.
26471 Added special handlings in case start/end index < -1,
26472 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26473 Added special handlings in case start/end index < -1,
26474 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26475 found match, but keep the index as the original match.
26476 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26477 found match, but keep the index as the original match.
26478 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26479 in case start/end index < -1.
26481 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26483 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26486 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26488 * javax/swing/text/DefaultCaret.java:
26489 (mouseClicked) Use setDot() and moveDot() instead of
26490 JTextComponent.select().
26492 2006-03-17 Roman Kennke <kennke@aicas.com>
26494 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26495 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26496 border painting for the Ocean theme.
26497 (MetalComboBoxEditor): Create editor directly instead of going
26500 2006-03-17 Roman Kennke <kennke@aicas.com>
26502 * javax/swing/text/JTextComponent.java
26503 (JTextComponent): Make text components opaque.
26505 2006-03-17 Roman Kennke <kennke@aicas.com>
26507 * javax/swing/plaf/metal/MetalComboBoxUI.java
26508 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26510 (MetalPropertyChangeListener.propertyChange): Update focusable
26511 flag according to the enable and editable state.
26512 (editablePropertyChanged): Removed unnecessary code.
26513 (getMinimumSize): Rewritten to correctly compute the
26514 size, respecting the insets of the components and the icon,
26515 the visual properties of the combobox, etc.
26516 (configureEditor): Update listeners correctly.
26517 (unconfigureEditor): Update listeners correctly.
26518 (layoutComboBox): Implemented.
26520 2006-03-17 Roman Kennke <kennke@aicas.com>
26522 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26523 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26524 instead of Flush3DBorder.
26525 (paintBorder): Fixed border painting.
26526 (editorBorderInsets): Fixed border's insets.
26528 2006-03-17 Roman Kennke <kennke@aicas.com>
26530 * javax/swing/plaf/metal/MetalComboBoxButton.java
26531 (rendererPane): Documented.
26532 (MetalComboBoxButton): Set enabled flag from ComboBox.
26533 Set focusable flag from ComboBox's enabled flag.
26534 (isFocusTraversable): Make button focus traversable if
26535 ComboBox is not editable but enable.
26536 (paintComponent): Fixed painting to correctly adjust
26537 the boxes of the renderer and button.
26539 2006-03-17 Roman Kennke <kennke@aicas.com>
26541 * javax/swing/plaf/basic/BasicButtonUI.java
26542 (installDefaults): Only install UI margin if installed margin.
26543 is null or a UIResource.
26544 (uninstallDefaults): Only uninstall margin if it's
26547 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26549 * javax/swing/text/DefaultCaret.java:
26550 (mouseClicked) Use setDot() and moveDot() instead of
26551 JTextComponent.select().
26553 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26555 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26556 inner classes into package-private inner classes, added actions
26557 for caret movement and selection to the next and previous word
26558 and an action which selects the whole text.
26560 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26562 * javax/swing/Spring.java: Uncomment springdebug methods and
26563 rename them toString.
26564 * javax/swing/SpringLayout.java: Likewise.
26566 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26568 * javax/swing/text/FieldView.java:
26569 (viewToModel): Added call to adjust allocation area.
26571 2006-03-17 Roman Kennke <kennke@aicas.com>
26573 * javax/swing/plaf/basic/BasicComboBoxUI.java
26574 (mouseListener): Removed field.
26575 (buttonBackground): Removed field.
26576 (buttonShadow): Removed field.
26577 (buttonDarkShadow): Removed field.
26578 (buttonHighlight): Removed field.
26579 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26580 (installUI): Initialize and configure renderer and editor here.
26581 (uninstallUI): Close popup before uninitializing.
26582 Message popup that we are uninitializing. Clear layout.
26583 (installDefaults): Install UI border. Don't install colors.
26584 (installListeners): Install listeners fetched from the popup.
26585 Remove handling of mouseListener.
26586 (uninstallDefaults): Uninstall border. Don't handle colors.
26587 (uninstallListeners): Don't handle mouseListener. Uninstall
26588 listener from the popup.
26589 (createMouseListener): Removed method.
26590 (createRenderer): Create UIResource.
26591 (installComponents): Cleaned up.
26592 (uninstallComponents): Only remove renderer when it is
26594 (addEditor): Remove editor before adding new one.
26595 Fetch editor from comboBox.
26596 (removeEditor): Only do something when editor != null. Unconfigure
26597 editor before removing.
26598 (configureEditor): Add key listener. Call comboBox.configureEditor.
26599 (unconfigureEditor): Removed key listener.
26600 (configureArrowButton): Only handle when arrowButton != null.
26601 Add mouse listeners to arrow button.
26602 (unconfigureArrowButton): Remove listeners.
26603 (createArrowButton): Don't handle colors here.
26604 (setPopupVisible): Don't handle focus here.
26605 (paint): Only paint when comboBox is not editable. Update
26607 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26608 (getMinimumSize): Respect insets here.
26609 (getMaximumSize): Return preferredSize with width of 32767.
26610 (getInsets): Return ComboBox insets.
26611 (paintCurrentValue): Paint using currentValuePane.
26612 Install correct colors. Don't revalidate.
26613 (paintCurrentValueBackground): Implemented.
26614 (getDefaultSize): Reimplemented using a default renderer.
26615 (getDisplaySize): Reimplemented to use renderer.
26616 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26617 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26618 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26619 (FocusHandler.focusGained): Don't invalidate minimumSize.
26620 (FocusHandler.focusLost): Don't invalidate minimumSize.
26621 Only close popup if focus change is not temporary.
26622 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26623 Reconfigure editor if not null.
26624 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26625 editor if necessary.
26626 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26627 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26628 (MouseHandler): Removed unnecessary class.
26630 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26632 * examples/gnu/classpath/examples/swing/Demo.java:
26633 (Demo): Set default closing operation to shutdown the runtime.
26635 2006-03-17 Roman Kennke <kennke@aicas.com>
26637 * javax/swing/plaf/basic/BasicComboPopup.java
26638 (BasicComboPopup): Create listeners here.
26639 Configure components here.
26640 (show): Correctly calculate bounds using computePopupBounds().
26641 Make scroller fixed-size. Removed special autocloser handling.
26642 (hide): Rewritten to use MenuSelectionHandler.
26643 (createList): Don't set selection mode here.
26644 (configureList): Correctly install colors and fonts and selectionMode.
26645 (createScroller): Set scrollpane policies.
26646 (configureScroller): Make scroller and scrollbar not-focusable.
26647 (configurePopup): Make popup opaque and borderPainted.
26648 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26649 (delegateFocus): Implemented.
26650 (convertMouseEvent): Implemented.
26651 (updateListBoxSelectionForEvent): Implemented to also handle
26653 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26654 Only open popup on left mouse-click.
26655 (InvocationMouseHandler.mouseReleased): Rewritten.
26656 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26657 support autoscrolling.
26658 (ItemHandler.itemStateChanged): Implemented to sync selection with
26660 (ListMouseHandler.mouseReleased): Fetch selected index directly
26662 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26664 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26665 When model changes, then update listeners correctly.
26666 (uninstallListeners): Don't uninstall list listeners.
26667 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26669 (syncSelection): New helper method.
26671 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26673 * javax/swing/text/PlainView.java:
26674 (drawLine): Rewritten.
26675 (drawSelectedText): Corrected last argument for
26676 Utilities.drawTabbedText() call.
26677 (paint): Store start and end of selection in object variables,
26678 store constant values of for-loop in local variables.
26679 * javax/swing/text/Utilities.java:
26680 (drawTabbedText): Add 'pixelWidth' to the return value, store
26681 constant value of for-loop in local variable.
26683 2006-03-17 Roman Kennke <kennke@aicas.com>
26685 * javax/swing/plaf/basic/BasicComboPopup.java
26686 (BasicComboPopup): Create listeners here.
26687 Configure components here.
26688 (show): Correctly calculate bounds using computePopupBounds().
26689 Make scroller fixed-size. Removed special autocloser handling.
26690 (hide): Rewritten to use MenuSelectionHandler.
26691 (createList): Don't set selection mode here.
26692 (configureList): Correctly install colors and fonts and selectionMode.
26693 (createScroller): Set scrollpane policies.
26694 (configureScroller): Make scroller and scrollbar not-focusable.
26695 (configurePopup): Make popup opaque and borderPainted.
26696 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26697 (delegateFocus): Implemented.
26698 (convertMouseEvent): Implemented.
26699 (updateListBoxSelectionForEvent): Implemented to also handle
26701 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26702 Only open popup on left mouse-click.
26703 (InvocationMouseHandler.mouseReleased): Rewritten.
26704 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26705 support autoscrolling.
26706 (ItemHandler.itemStateChanged): Implemented to sync selection with
26708 (ListMouseHandler.mouseReleased): Fetch selected index directly
26710 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26712 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26713 When model changes, then update listeners correctly.
26714 (uninstallListeners): Don't uninstall list listeners.
26715 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26717 (syncSelection): New helper method.
26719 2006-03-17 Roman Kennke <kennke@aicas.com>
26721 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26722 (noFocusBorder): Make border with insets of (1,1,1,1).
26723 (BasicComboBoxRenderer): Make renderer opaque.
26724 No need to explicitly set alignment.
26725 (getListCellRendererComponent): Rewritten to correctly initialize
26728 2006-03-17 Roman Kennke <kennke@aicas.com>
26730 * javax/swing/JPopupMenu.java
26731 (setVisible): Handle JPopupMenu opening and closing via
26732 the MenuSelectionHandler.
26734 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26736 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26737 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26738 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26740 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26741 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26742 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26743 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26744 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26745 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26746 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26747 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26748 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26749 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26751 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26753 * java/rmi/activation/Activatable.java: Implemented.
26754 java/rmi/activation/ActivationDesc.java: Implemented.
26755 java/rmi/activation/ActivationGroup.java: Implemented.
26756 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26757 java/rmi/activation/ActivationID.java: Implemented.
26758 java/rmi/activation/ActivationSystem.java: Implemented.
26759 * gnu/java/rmi/server/UnicastServerRef.java
26760 (exportObject, incommingMessageCall): Documented.
26761 * java/rmi/activation/package.html: Documented.
26762 * java/rmi/server/ObjID.java (objNum, space): Made package
26764 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26765 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26767 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26768 gnu/java/rmi/activation/BidiTable.java: New file.
26769 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26770 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26771 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26773 2006-03-17 Mark Wielaard <mark@klomp.org>
26775 * java/security/BasicPermission.java (BasicPermission): Check
26776 name equals empty string to force NullPointerException.
26778 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26781 Commit patch by Caolan McNamara <caolanm@redhat.com>
26782 * javax/swing/Spring.java: Complete implementation
26783 * javax/swing/SpringLayout.java: Likewise.
26785 2006-03-16 Keith Seitz <keiths@redhat.com>
26787 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26789 (run): Remove catch clause for InterruptedException. It is no
26792 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26794 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26795 (getFontMetrics): Handle monospaced fonts specially.
26797 2006-03-16 Keith Seitz <keiths@redhat.com>
26799 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26800 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26801 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26802 Don't suspend the current thread unless it is not part of the JDWP
26805 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26807 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26809 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26810 font metrics through toolkit.
26811 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26813 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26814 (getFontMetrics): To calculate Java logical ascent and descent
26815 values, average Pango ink and logical values.
26817 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26819 * java/lang/Character.java: Updated header comment.
26821 2006-03-16 Tom Tromey <tromey@redhat.com>
26823 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26825 * javax/sound/sampled/FloatControl.java: Now abstract.
26826 * javax/sound/sampled/EnumControl.java: Now abstract.
26827 * javax/sound/sampled/CompoundControl.java: Now abstract.
26828 * javax/sound/sampled/BooleanControl.java: Now abstract.
26830 2006-03-16 Tom Tromey <tromey@redhat.com>
26832 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26834 2006-03-16 Roman Kennke <kennke@aicas.com>
26836 * java/util/zip/ZipFile.java
26837 (openFile): New helper method.
26838 (ZipFile): Use new openFile method to ensure the proper
26839 exception is thrown. This applies for all overloaded constructors.
26841 2006-03-16 Roman Kennke <kennke@aicas.com>
26843 * java/text/DateFormatSymbols.java
26844 (setAmPmStrings): Added null check and throw NPE.
26845 (setEras): Likewise.
26846 (setLocalPatternChars): Likewise.
26847 (setMonths): Likewise.
26848 (setShortMonths): Likewise.
26849 (setShortWeekdays): Likewise.
26850 (setWeekdays): Likewise.
26851 (setZoneStrings): Likewise.
26853 2006-03-16 Roman Kennke <kennke@aicas.com>
26855 * javax/swing/DefaultDesktopManager.java
26856 (iconifyFrame): Repaint after removing the frame.
26857 (removeIconFor): Repaint after removing the icon.
26859 2006-03-16 Roman Kennke <kennke@aicas.com>
26861 * javax/swing/JInternalFrame.java
26862 (remove): Respect the rootPaneCheckingEnabled flag here.
26864 2006-03-16 Roman Kennke <kennke@aicas.com>
26866 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26867 Moved from examples into gnu.javax.swing.. namespace.
26868 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26869 Moved to gnu.javax.swing.. namespace.
26870 * examples/gnu/classpath/examples/swing/Demo.java:
26871 (themesMenu): New field. Used to disable theme switch in
26873 (mkMenuBar): Added L&F menu.
26874 (ChangeThemeAction.actionPerformed): Only switch theme when
26876 (ChangeLAFAction): New class used for changing themes.
26877 * javax/swing/UIManager.java
26878 (installed): Added GNU L&F as installed L&F.
26880 2006-03-16 Mark Wielaard <mark@klomp.org>
26882 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26883 * examples/gnu/classpath/examples/icons/badge.png: Added.
26884 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26885 from icon directory.
26887 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26889 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26891 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26892 * examples/gnu/classpath/examples/awt/Demo.java: Add
26893 AnimationApplet demo.
26894 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26897 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26900 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26902 (handleEvent): Likewise.
26903 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26905 (beginNativeRepaint): Remove method.
26906 (endNativeRepaint): Likewise.
26907 (handleEvent): Call paintComponent and updateComponent.
26908 (paintComponent): New method.
26909 (updateComponent): Likewise.
26910 (repaint): Return early if width or height is less than one.
26911 (postExposeEvent): Remove isInRepaint reference.
26912 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26914 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26915 from GtkWindowPeer.
26916 (postMouseEvent): Likewise.
26917 (postExposeEvent): Likewise.
26918 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26919 Override to do nothing.
26920 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26921 from GtkWindowPeer.
26922 (postMouseEvent): Likewise.
26923 (postExposeEvent): Likewise.
26924 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26925 paint and update handling from GtkComponentPeer.
26926 (updateComponent): Override to call paintComponent.
26927 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26928 gdk_flush calls with schedule_flush calls.
26929 (flush): New function.
26930 (schedule_flush): Likewise.
26932 2006-03-15 Tom Tromey <tromey@redhat.com>
26934 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26936 (BCSIterator): Likewise.
26937 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26939 (BCSSProxyServiceProvider): Likewise.
26940 (BCSSServiceProvider): Likewise.
26942 2006-03-15 Tom Tromey <tromey@redhat.com>
26944 * javax/sound/midi/Track.java (Track): New constructor.
26945 (events): Now package-private.
26946 * javax/sound/midi/MidiUnavailableException.java
26947 (MidiUnavailableException): Removed invalid constructors.
26948 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26949 * javax/sound/midi/InvalidMidiDataException.java
26950 (InvalidMidiDataException): Removed invalid constructors.
26951 * javax/sound/midi/Sequencer.java (hashCode): Now final.
26952 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26953 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26954 (SYSTEM_EXCLUSIVE): Removed.
26955 (getDataLength): Updated.
26956 * javax/sound/midi/MidiDevice.java (Info): Now protected.
26957 (equals): Now final
26958 (getName): Now final.
26959 (getVendor): Now final.
26960 (getDescription): Likewise.
26961 (hashCode): Likewise.
26962 (getVersion): Likewise.
26963 (toString): Likewise.
26964 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26965 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26966 (getEarlyReflectionDelay): Likewise.
26967 (getEarlyReflectionIntensity): Likewise.
26968 (getLateReflectionDelay): Likewise.
26969 (getLateReflectionIntensity): Likewise.
26970 (toString): Likewise.
26971 * javax/sound/sampled/Port.java (toString): Now final.
26972 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26973 (getLine): Likewise.
26974 (getType): Likewise.
26975 * javax/sound/sampled/Mixer.java (Info): Now protected.
26976 (getDescription): Now final.
26977 (getName): Likewise.
26978 (getVendor): Likewise.
26979 (getVersion): Likewise.
26980 (toString): Likewise.
26981 * javax/sound/sampled/Control.java: Now abstract.
26982 (Type.toString): Now final.
26984 2006-03-15 Keith Seitz <keiths@redhat.com>
26986 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26987 of this redundant variable.
26988 (LineTable): Assert that the number of line numbers and the number of
26989 code indicies is the same.
26991 2006-03-15 Tom Tromey <tromey@redhat.com>
26993 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26995 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26997 * java/util/zip/ZipFile.java (ENDNRD): New constant.
26998 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26999 * java/util/zip/Inflater.java (end): Not deprecated.
27000 * java/util/zip/Deflater.java (end): Not deprecated.
27001 * java/text/Bidi.java (Bidi): Now final.
27002 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27004 2006-03-15 Keith Seitz <keiths@redhat.com>
27006 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27007 (Location): Index is a long, not an int.
27008 (getMethod): New method.
27009 (getIndex): New method.
27010 (toString): New method.
27012 2006-03-15 Tom Tromey <tromey@redhat.com>
27014 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27015 * java/awt/image/LookupOp.java (filter): Now final.
27016 (getBounds2D): Likewise.
27017 (getPoint2D): Likewise.
27018 (getTable): Likewise.
27019 (getRenderingHints): Likewise.
27020 * java/awt/image/ConvolveOp.java (filter): Now final.
27021 (getBounds2D): Likewise.
27022 (getKernel): Likewise.
27023 (getPoint2D): Likewise.
27024 (getRenderingHints): Likewise.
27025 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27026 (getMatrix): Likewise.
27027 (getBounds2D): Likewise.
27028 (getRenderingHints): Likewise.
27029 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27030 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27032 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27034 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27036 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27038 2006-03-15 Keith Seitz <keiths@redhat.com>
27040 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27042 (matches): Implement.
27044 2006-03-15 Keith Seitz <keiths@redhat.com>
27046 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27048 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27050 2006-03-15 Tom Tromey <tromey@redhat.com>
27052 * java/lang/StrictMath.java (signum): New methods.
27054 2006-03-15 Tom Tromey <tromey@redhat.com>
27056 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27058 2006-03-15 Lillian Angel <langel@redhat.com>
27061 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27062 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27063 Added check to avoid segmentation fault.
27065 2006-03-15 Lillian Angel <langel@redhat.com>
27067 * java/awt/Container.java
27068 (getComponentAt): Fixed documentation.
27069 (getComponentAt): Likewise.
27071 2006-03-15 Roman Kennke <kennke@aicas.com>
27073 * javax/swing/JComponent.java
27074 (dragBuffer): New field.
27075 (dragBufferInitialized): New field.
27076 (paint): Added facility for buffered dragging of components.
27077 (initializeDragBuffer): New method.
27078 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27080 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27081 (BorderListener.mouseDragged): Turn on buffered dragging.
27082 (BorderListener.mouseReleased): Turn off buffered dragging.
27084 2006-03-15 Lillian Angel <langel@redhat.com>
27086 * java/awt/Container.java
27087 (getComponentAt): Fixed documentation.
27088 (getComponentAt): Likewise.
27089 (findComponentAt): Likewise.
27090 (findComponentAt): Likewise.
27092 2006-03-15 Roman Kennke <kennke@aicas.com>
27094 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27095 (PropertyChangeHandler.propertyChange): Call enableActions().
27096 Fixed 'iconable' property name.
27098 2006-03-15 Chris Burdess <dog@gnu.org>
27101 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27103 2006-03-15 Roman Kennke <kennke@aicas.com>
27105 * examples/gnu/classpath/examples/swing/Demo.java:
27106 (desktop): New field.
27107 (mkMenuBar): Added new subdemos.
27108 (mkButtonWorld): Removed.
27109 (CheckCellRenderer): Moved to ListDemo.
27110 (LabelCellRenderer): Moved to ListDemo.
27111 (mkTreeWorld): Moved to TreeDemo.
27112 (mkDesktopWorld): Removed.
27113 (mkTabWorld): Moved to TabbedPaneDemo.
27114 (mkTabbedPane): Removed.
27115 (Demo): Replaced 'worlds' tabbed pane with desktop.
27116 (PopupAction): Made class non-static.
27117 (PopupAction.actionPerformed): Bring up subdemos in internal
27119 (mkButtonBar): Added new demos.
27120 (createDesktop): New method.
27121 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27122 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27123 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27124 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27125 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27127 2006-03-15 Lillian Angel <langel@redhat.com>
27129 * java/awt/Container.java
27130 (getComponentAt): Fixed mistake in comments.
27131 (getComponentAt): Likewise.
27132 (locate): Likewise. Also, handled lightweight components.
27133 Heavyweights take precedence over lightweights, so we should
27134 iterate through the heavyweights first.
27136 2006-03-15 Lillian Angel <langel@redhat.com>
27138 * java/awt/Container.java
27139 (getComponentAt): Added API documentation.
27140 (getComponentAt): Likewise.
27141 (locate): Likewise. Also, removed lines to ignore
27142 invisible components.
27143 (findComponentAt): Added API documentation.
27144 (findComponentAt): Added API documentation.
27145 (findComponentForMouseEvent): Removed, never used.
27147 2006-03-15 Roman Kennke <kennke@aicas.com>
27149 * javax/swing/Popup.java
27150 (LightweightPopup.show): Repaint the panel after showing it.
27152 2006-03-15 Lillian Angel <langel@redhat.com>
27154 * java/awt/Component.java
27155 (show): repaint should only be called if the component
27156 isShowing and isLightweight.
27158 2006-03-15 Roman Kennke <kennke@aicas.com>
27160 * javax/swing/JInternalFrame.java
27161 (setClosable): Made this property bound.
27162 (setResizable): Made this property bound.
27163 (setIconifiable): Made this property bound.
27164 (setMaximizable): Made this property bound.
27166 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27168 * javax/swing/table/TableColumn.java
27169 (sizeWidthToFit): Implemented.
27171 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27173 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27174 (setIdentifier): Fire required PropertyChangeEvent,
27175 (setCellEditor): Likewise.
27177 2006-03-15 Roman Kennke <kennke@aicas.com>
27179 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27180 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27181 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27182 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27183 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27184 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27185 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27186 * examples/gnu/classpath/examples/swing/TableDemo.java,
27187 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27188 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27189 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27190 * examples/gnu/classpath/examples/swing/Demo.java:
27191 Cleaned up. Reworked handling of Sub-demos to load lazily.
27192 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27193 New interface. Used for loading the subdemos lazily.
27195 2006-03-15 Roman Kennke <kennke@aicas.com>
27197 * javax/swing/plaf/basic/BasicToolBarUI.java
27198 (PropertyListener.propertyChange): Added null check to avoid NPE.
27200 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27202 * javax/swing/table/TableColumn.java
27203 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27205 (minWidth): Likewise,
27206 (preferredWidth): Likewise,
27207 (maxWidth): Likewise,
27208 (headerRenderer): Likewise,
27209 (cellRenderer): Likewise,
27210 (cellEditor): Likewise,
27211 (changeSupport): Likewise,
27212 (firePropertyChange(String, Object, Object)): Removed,
27213 (firePropertyChange(String, int. int)): Likewise,
27214 (firePropertyChange(String, boolean, boolean)): Likewise,
27215 (setModelIndex): Fire property change,
27216 (setHeaderValue): Call changeSupport directly to generate event,
27217 (setHeaderRenderer): Likewise,
27218 (setCellRenderer): Likewise,
27219 (setWidth): Likewise,
27220 (setPreferredWidth): Likewise,
27221 (setMinWidth): Likewise,
27222 (setMaxWidth): Likewise,
27223 (createDefaultHeaderRenderer): Added API docs.
27225 2006-03-14 Roman Kennke <kennke@aicas.com>
27227 * examples/gnu/classpath/examples/swing/Demo.java
27228 Removed static initializer.
27229 (mkMenuBar): Made method non-static. Added themes menu.
27230 (ChangeThemeAction): New inner class, used to change themes.
27232 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27234 * javax/swing/table/TableColumn.java
27235 (setMaxWidth): Updated width and preferredWidth if necessary,
27236 (getMaxWidth): Updated API docs.
27238 2006-03-14 Roman Kennke <kennke@aicas.com>
27240 * javax/swing/plaf/basic/BasicSliderUI.java
27241 (TrackListener.mouseDragged): Only process event when slider is
27243 (TrackListener.mouseReleased): Only process event when slider is
27245 (TrackListener.mousePressed): Only process event when slider is
27248 2006-03-14 Roman Kennke <kennke@aicas.com>
27250 * NEWS: Added note about OceanTheme support.
27252 2006-03-14 Roman Kennke <kennke@aicas.com>
27254 * javax/swing/plaf/metal/MetalIconFactory.java
27255 (HorizontalSliderThumbIcon.gradientMask): New field
27256 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27258 (VerticalSliderThumbIcon.gradientMask): New field
27259 (VerticalSliderThumbIcon.paintIcon): Added support for the
27261 * javax/swing/plaf/metal/MetalUtils.java
27262 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27263 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27265 2006-03-14 Mark Wielaard <mark@klomp.org>
27268 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27269 of handleMouseEvent.
27270 (handleMouseEvent): Return boolean to indicate whether we handled the
27271 event by passing it to a lightweight.
27273 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27275 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27276 * org/omg/PortableServer/ServantActivatorPOA.java,
27277 * org/omg/PortableServer/ServantLocatorPOA.java:
27278 Make class abstract and minor api docs fixlets.
27279 * org/omg/PortableServer/ForwardRequest.java,
27280 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27281 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27282 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27283 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27284 * org/omg/PortableServer/POAPackage/NoServant.java,
27285 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27286 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27287 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27288 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27289 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27290 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27291 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27292 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27293 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27294 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27296 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27298 * NEWS: Added entry about printing support.
27300 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27302 * javax/swing/table/TableColumn.java
27303 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27304 (isResizable): Likewise,
27305 (setWidth): Likewise,
27306 (getWidth): Likewise,
27307 (setPreferredWidth): Likewise,
27308 (getPreferredWidth): Likewise,
27309 (setMinWidth): Check for negative argument and update width and
27310 preferredWidth if necessary,
27311 (getMinWidth): Updated API docs.
27313 2006-03-14 Lillian Angel <langel@redhat.com>
27315 * java/awt/Container.java
27316 (addImpl): Removed call to repaint. No need to repaint here.
27318 2006-03-14 Roman Kennke <kennke@aicas.com>
27320 * javax/swing/plaf/metal/MetalSliderUI.java
27321 (paintTrack): Added OceanTheme support.
27323 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27325 * javax/swing/table/TableColumn.java
27326 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27327 (isResizable): Updated API docs.
27329 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27331 * javax/swing/LookAndFeel.java: Updated API docs.
27333 2006-03-14 Roman Kennke <kennke@aicas.com>
27335 * javax/swing/plaf/metal/MetalUtils.java
27336 (paintGradient): Added support for 'masked' gradients.
27337 (paintHorizontalGradient): Likewise.
27338 (paintVerticalGradient): Likewise.
27339 * javax/swing/plaf/metal/MetalIconFactory.java
27340 (RadioButtonIcon.gradientMask): New field.
27341 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27343 2006-03-14 Mark Wielaard <mark@klomp.org>
27346 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27348 (removeActionListener): Add listener to ComboBoxEditorListener.
27349 (removeActionListener): Remove listener from ComboBoxEditorListener.
27350 (ComboBoxEditorListener): New static helper class.
27352 2006-03-14 Roman Kennke <kennke@aicas.com>
27354 * javax/swing/plaf/metal/MetalBorders.java
27355 (getToolBarButtonBorder): Don't create a UIResource border
27357 * javax/swing/plaf/metal/MetalToolBarUI.java
27358 (installUI): New overridden method. Installs the rollover property.
27359 (uninstallUI): New overridden method. Resets the rollover property.
27360 * javax/swing/plaf/metal/MetalUtils.java
27361 (paintGradient): Fetch Float values from the UIManager. Adjusted
27362 method signatures accordingly.
27363 (paintHorizontalGradient): Adjusted signature to accept float
27365 (paintVerticalGradient): Adjusted signature to accept float
27367 * javax/swing/plaf/metal/OceanTheme.java
27368 (addCustomEntriesToTable): Added missing UIDefaults entries,
27369 except of Icons. Fixed gradient entries to use Float instead
27372 2006-03-14 Roman Kennke <kennke@aicas.com>
27374 * javax/swing/JInternalFrame.java
27375 (JInternalFrame): Make JInternalFrame opaque.
27376 * javax/swing/JToolBarFrame.java
27377 (JToolBar): Make JToolBar opaque.
27379 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27381 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27382 * javax/swing/tree/TreePath.java: Likewise.
27384 2006-03-13 Tom Tromey <tromey@redhat.com>
27386 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27388 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27389 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27391 2006-03-13 Keith Seitz <keiths@redhat.com>
27393 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27394 (executeMethods): Output number of methods.
27396 2006-03-13 Roman Kennke <kennke@aicas.com>
27398 * javax/swing/plaf/basic/BasicButtonUI.java
27399 (uninstallDefaults): Only uninstall border if it's a UIResource.
27400 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27401 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27402 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27403 (installUI): Don't touch the opaque flag of the glassPane and
27404 the frame. Don't invalidate.
27405 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27406 (installUI): Don't touch the opaque flag of the glassPane.
27407 * javax/swing/plaf/basic/BasicMenuBarUI.java
27408 (properyChangeListener): Made field private.
27409 (ChangeHandler): Made class private.
27410 (ContainerHandler): Made class private.
27411 (PropertyChangeHandler): Made class private.
27412 * javax/swing/plaf/basic/BasicMenuUI.java
27413 (MenuHandler): Made class private.
27414 (PropertyChangeHandler): Removed unneeded class.
27415 (MenuDragMouseHandler): Made class private.
27416 (MenuKeyHandler): Made class private.
27417 * javax/swing/plaf/basic/BasicPanelUI.java
27418 (installDefaults): Made method protected. Don't set opaque
27420 * javax/swing/plaf/basic/BasicScrollBarUI.java
27421 (TrackListener.shouldScroll): Made method private.
27422 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27423 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27424 Made constructor package private.
27425 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27426 (cellBorder): Made field private.
27427 * javax/swing/plaf/basic/BasicTextUI.java
27428 (installDefaults): Don't make component opaque.
27429 * javax/swing/plaf/basic/BasicToolBarUI.java
27430 (createNonRollOverBorder): Don't create UIResource border.
27431 (createRollOverBorder): Don't create UIResource border.
27432 (installComponents): Moved setRolloverBorders call here.
27433 (installDefaults): Moved setRolloverBorders call from here.
27434 (installUI): Don't make toolbar opaque.
27435 (setBorderToNonRollover): Handle AbstractButton instead of
27437 (uninstallComponents): Don't nullify class fields here.
27439 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27441 * javax/swing/SwingUtilities.java
27442 (calculateInnerArea): handle null component, and replace
27443 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27446 2006-03-13 Roman Kennke <kennke@aicas.com>
27448 * javax/swing/JColorChooser.java
27449 (updateUI): Don't call revalidate().
27450 * javax/swing/JComboBox.java
27451 (updateUI): Don't call invalidate().
27452 * javax/swing/JDesktopPane.java
27453 (updateUI): Don't call invalidate().
27454 * javax/swing/JFileChooser.java
27455 (updateUI): Don't call revalidate().
27456 * javax/swing/JMenu.java
27457 (updateUI): Don't call invalidate().
27458 * javax/swing/JMenuBar.java
27459 (updateUI): Don't call invalidate().
27460 * javax/swing/JMenuItem.java
27461 (updateUI): Don't call invalidate().
27462 * javax/swing/JOptionPane.java
27463 (updateUI): Don't call invalidate().
27464 * javax/swing/JPopupMenu.java
27465 (updateUI): Don't call invalidate().
27466 * javax/swing/JProgressBar.java
27467 (updateUI): Don't call invalidate().
27468 * javax/swing/JScrollBar.java
27469 (updateUI): Don't call invalidate() and repaint().
27470 * javax/swing/JScrollPane.java
27471 (updateUI): Rewritten to be like the other updateUI()
27473 * javax/swing/JSlider.java
27474 (updateUI): Don't call invalidate() and repaint().
27475 * javax/swing/JSplitPane.java
27476 (updateUI): Don't call invalidate() and repaint().
27477 * javax/swing/JTabbedPane.java
27478 (updateUI): Don't call invalidate().
27479 * javax/swing/JTable.java
27480 (updateUI): Don't call revalidate() and repaint().
27481 * javax/swing/JToolBar.java
27482 (updateUI): Don't call revalidate() and repaint().
27483 * javax/swing/JToolTip.java
27484 (updateUI): Don't call revalidate() and repaint().
27486 2006-03-13 Roman Kennke <kennke@aicas.com>
27488 * javax/swing/SwingUtilities.java
27489 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27490 menus and non-Swing components is improved.
27491 (updateComponentTreeUIImpl): New helper method.
27492 (replaceUIActionMap): Added check for uiActionMap==parent to
27494 (replaceUIInputMap): Added check for uiInputMap==parent to
27497 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27499 * gnu/classpath/debug/Component.java:
27500 (IPP) New component for IPP debugging.
27501 (EVERYTHING): Adapted to include IPP.
27502 * javax/print/PrintServiceLookup.java:
27503 (registerServiceProvider): New method.
27504 (registerService): Likewise.
27505 (lookupPrintServices): Likewise.
27506 (lookupMultiDocPrintServices): Likewise.
27507 (lookupDefaultPrintService): Likewise.
27508 (static_initializer): Likewise.
27509 (printServiceLookups): New field for found service providers.
27510 (printServices): New field for application registered providers.
27511 (systemProvider): New field for the system provider.
27512 * javax/print/ServiceUI.java: New file.
27513 * javax/print/package.html: Added more usage content.
27514 * javax/print/event/package.html: Likewise.
27515 * javax/print/attribute/package.html: Likewise.
27516 * javax/print/attribute/standard/package.html: Likewise.
27517 * gnu/javax/print/PrintUriException.java,
27518 gnu/javax/print/PrintFlavorException.java,
27519 gnu/javax/print/PrinterDialog.java,
27520 gnu/javax/print/PrintAttributeException.java,
27521 gnu/javax/print/CupsPrintServiceLookup.java,
27522 gnu/javax/print/CupsServer.java,
27523 gnu/javax/print/CupsPrintService.java,
27524 gnu/javax/print/CupsMediaMapping.java,
27525 gnu/javax/print/CupsIppOperation.java:
27526 New implementation files of the Java Print Service API.
27527 * gnu/javax/print/ipp/IppValueTag.java,
27528 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27529 gnu/javax/print/ipp/IppStatusCode.java,
27530 gnu/javax/print/ipp/IppUtilities.java,
27531 gnu/javax/print/ipp/IppResponse.java,
27532 gnu/javax/print/ipp/IppException.java,
27533 gnu/javax/print/ipp/IppPrintService.java,
27534 gnu/javax/print/ipp/IppRequest.java,
27535 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27536 gnu/javax/print/ipp/IppDelimiterTag.java,
27537 gnu/javax/print/ipp/DocPrintJobImpl.java:
27538 New files of the IPP client implementation.
27539 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27540 gnu/javax/print/ipp/attribute/StatusMessage.java,
27541 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27542 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27543 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27544 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27545 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27546 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27547 New attribute syntax/role files of the printing implementation.
27548 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27549 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27550 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27551 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27552 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27553 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27554 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27555 gnu/javax/print/ipp/attribute/supported/
27556 OrientationRequestedSupported.java,
27557 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27558 gnu/javax/print/ipp/attribute/supported/
27559 MultipleDocumentHandlingSupported.java,
27560 gnu/javax/print/ipp/attribute/supported/
27561 MultipleDocumentJobsSupported.java,
27562 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27563 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27564 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27565 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27566 gnu/javax/print/ipp/attribute/supported/
27567 GeneratedNaturalLanguageSupported.java,
27568 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27569 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27570 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27571 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27572 New supported attribute files.
27573 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27574 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27575 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27576 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27577 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27578 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27579 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27580 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27581 New printer description attribute files.
27582 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27583 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27584 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27585 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27586 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27587 gnu/javax/print/ipp/attribute/job/JobId.java,
27588 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27589 gnu/javax/print/ipp/attribute/job/JobUri.java,
27590 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27591 New job description attribute files.
27592 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27593 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27594 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27595 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27596 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27597 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27598 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27599 gnu/javax/print/ipp/attribute/defaults/
27600 MultipleDocumentHandlingDefault.java,
27601 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27602 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27603 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27604 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27605 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27606 New default printing attribute files.
27607 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27608 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27609 * examples/gnu/classpath/examples/print/Demo.java:
27610 New demo application of the current implemented functionality.
27612 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27614 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27615 java/rmi/activation/ActivationDesc.java.java,
27616 java/rmi/activation/ActivationGroup.java,
27617 java/rmi/activation/ActivationID.java,
27618 java/rmi/activation/ActivationMonitor.java,
27619 java/rmi/activation/ActivationSystem.java,
27620 java/rmi/activation/package.html: Documenting.
27622 2006-03-13 Roman Kennke <kennke@aicas.com>
27624 * javax/swing/JInternalFrame.java
27625 (setSelected): Repaint frame when it is showing and the selection
27628 2006-03-13 Roman Kennke <kennke@aicas.com>
27630 * javax/swing/AbstractButton.java
27631 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27634 2006-03-13 Roman Kennke <kennke@aicas.com>
27636 * javax/accessibility/AccessibleContext.java
27637 (getAccessibleRelationSet): Return empty set instead of null.
27639 2006-03-13 Roman Kennke <kennke@aicas.com>
27641 * javax/swing/ImageIcon.java
27642 (loadImage): Remove completed images from the MediaTracker. This
27643 avoids a potential memory leak.
27645 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27647 * javax/print/MultiDocPrintService.java,
27648 * javax/print/MultiDocPrintJob.java,
27649 * javax/print/MultiDoc.java: Added and enhanced documentation.
27651 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27653 * java/rmi/activation/ActivationID.java (uid): New field.
27654 (writeExternal, readExternal): New methods.
27655 (equals, hashCode): Rewritten.
27656 * java/rmi/activation/ActivationInstantiator.java,
27657 * java/rmi/activation/ActivationSystem.java,
27658 * java/rmi/activation/Activator.java,
27659 * java/rmi/activation/Activatable.java,
27660 * java/rmi/activation/ActivationGroup.java,
27661 * java/rmi/activation/ActivationGroupDesc.java:
27662 Documented and autoformatted.
27663 * java/rmi/activation/package.html: Added content.
27665 2006-03-12 Chris Burdess <dog@gnu.org>
27668 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27669 encoding are specified.
27671 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27673 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27674 (changeEvent): Initialise in fireStateChange(),
27675 (setSelectedIndex): Check if change is made before firing event,
27676 (clearSelection): Delegate to setSelectedIndex(),
27677 (fireStateChanged): Initialise changeEvent if necessary,
27678 * javax/swing/SingleSelectionModel.java: API docs all over.
27680 2006-03-11 Tom Tromey <tromey@redhat.com>
27682 * java/util/zip/InflaterInputStream.java: Reverted previous
27685 2006-03-11 Mark Wielaard <mark@klomp.org>
27687 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27690 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27692 * javax/swing/event/TreeSelectionEvent.java
27693 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27694 not one of the added/removed paths,
27695 (cloneWithSource): Reformatted.
27697 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27699 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27700 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27702 2006-03-10 Casey Marshall <csm@gnu.org>
27705 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27707 (doFinal, update): new methods.
27708 (init, init, init, init): initialize `state' after trying the
27709 implementation, which can throw an exception.
27710 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27713 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27715 * gnu/regexp/BacktrackStack.java: New file.
27716 * gnu/regexp/RE.java(findMatch): New method.
27717 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27718 REMatchList): Removed. (backtrackStack): New field.
27719 * gnu/regexp/REToken.java(match): Changed from an abstract
27720 method to an ordinary method defined with the new method
27721 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27722 findFixedLengthMatches, backtrack, toString): New methods.
27723 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27724 * gnu/regexp/RETokenBackRef.java: Likewise.
27725 * gnu/regexp/RETokenChar.java: Likewise.
27726 * gnu/regexp/RETokenEnd.java: Likewise.
27727 * gnu/regexp/RETokenEndSub.java: Likewise.
27728 * gnu/regexp/RETokenIndependent.java: Likewise.
27729 * gnu/regexp/RETokenLookAhead.java: Likewise.
27730 * gnu/regexp/RETokenLookBehind.java: Likewise.
27731 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27732 * gnu/regexp/RETokenPOSIX.java: Likewise.
27733 * gnu/regexp/RETokenRange.java: Likewise.
27734 * gnu/regexp/RETokenStart.java: Likewise.
27735 * gnu/regexp/RETokenWordBoundary.java: Likewise
27736 * gnu/regexp/RETokenOneOf.java: Rewriten.
27737 * gnu/regexp/RETokenRepeated.java: Rewriten.
27739 2006-03-10 Roman Kennke <kennke@aicas.com>
27741 * javax/swing/plaf/metal/MetalBorders.java
27742 (RolloverButtonBorder.paintBorder): Only call super here.
27743 * javax/swing/plaf/metal/MetalButtonListener.java
27744 (propertyChange): Only call super here.
27745 * javax/swing/plaf/metal/MetalButtonUI.java
27746 (update): Changed condition from isOpaque() to isContentAreaFilled()
27747 for the gradient fill.
27748 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27749 (paintText): API doc fix. Makes paintText not deprecated as specified
27750 but adds comment that this is obsolete.
27751 * javax/swing/plaf/metal/MetalUtils.java
27752 (fillMetalPattern): Fixed condition so that the Java2D is not
27753 used when the noGraphics2D property is set.
27755 2006-03-10 Roman Kennke <kennke@aicas.com>
27757 * javax/swing/plaf/metal/MetalLookAndFeel.java
27758 (createDefaultTheme): Set OceanTheme as default metal theme.
27760 2006-03-10 Roman Kennke <kennke@aicas.com>
27762 * javax/swing/text/WrappedPlainView.java
27763 (metrics): Made field package private to avoid accessor method.
27764 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27765 The drawLine (righly) interprets the y parameter as the baseline.
27766 * javax/swing/text/Utilities.java
27767 (getBreakLocation): Don't consider the offset. The returned value
27768 for getTabbedTextOffset is already relative to the offset.
27770 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27772 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27773 (dateFormat): Made private.
27774 (put): Replace only the last occurance and the value.
27775 (putAll): Save one iteration. Clarified documentation.
27777 2006-03-10 Tom Tromey <tromey@redhat.com>
27779 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27781 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27784 2006-03-10 Lillian Angel <langel@redhat.com>
27786 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27787 (comboboxgroup_get_widget): New function.
27788 (removed): Fixed to use new function to get the correct widget.
27789 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27790 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27793 2006-03-10 Lillian Angel <langel@redhat.com>
27795 * java/awt/GridBagLayout.java
27796 (ArrangeGrid): Added checks to determine if component
27797 is placed last in a row or column. If so, the location
27798 of the last component should be used to get the location
27799 of the current component.
27801 2006-03-10 Lillian Angel <langel@redhat.com>
27803 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27804 (nativeSetCheckboxGroup): No need to use new function here.
27805 Should just pass in pointer.
27807 2006-03-10 Lillian Angel <langel@redhat.com>
27809 * java/awt/GridBagLayout.java
27810 (distributeSizeAndWeight): Change else if to else. This
27811 allows for components to be added to a new row when
27812 their gridheight is REMAINDER.
27814 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27816 * java/rmi/activation/ActivationDesc.java,
27817 java/rmi/activation/ActivationGroupID.java,
27818 java/rmi/activation/Activator.java,
27819 java/rmi/server/Operation.java,
27820 java/rmi/server/RemoteServer.java: Documented and formatted.
27822 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27824 * javax/swing/JToggleButton.java: Fixed API doc tags,
27825 * javax/swing/OverlayLayout.java: Likewise.
27827 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27829 * javax/swing/DefaultCellEditor.java
27830 (cancelCellEditing): Removed spurious API doc tag.
27832 2006-03-10 Lillian Angel <langel@redhat.com>
27834 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27835 (create): Put checkbox widget into an event box so it paints properly.
27836 (connectSignals): Fixed to use new function.
27837 (nativeSetCheckboxGroup): Likewise.
27838 (gtkToggleButtonSetActive): Likewise.
27839 (gtkWidgetModifyFont): Likewise.
27840 (gtkButtonSetLabel): Likewise.
27841 (combobox_get_widget): New function.
27843 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27845 * javax/swing/text/rtf/package.html: New file.
27847 2006-03-10 Roman Kennke <kennke@aicas.com>
27849 * javax/swing/plaf/metal/OceanTheme.java
27850 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27851 * javax/swing/plaf/metal/MetalScrollBarUI.java
27852 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27853 (paintThumbHorizontal): Added handling of OceanTheme.
27854 (paintThumbVertical): Added handling of OceanTheme.
27856 2006-03-10 Roman Kennke <kennke@aicas.com>
27858 Reported by Fridjof Siebert <siebert@aicas.com>
27859 * java/awt/MediaTracker.java
27860 (removeImage): Only set prev to e when the the images of the
27861 entries are not the same. This avoids a potentially corrupt list.
27863 2006-03-10 Chris Burdess <dog@gnu.org>
27866 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27867 checking while reindenting.
27869 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27871 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27873 2006-03-09 Tom Tromey <tromey@redhat.com>
27875 PR classpath/26585:
27876 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27877 subdir. Added README.
27878 (install-data-local): Removed.
27879 (uninstall-local): Likewise.
27880 (EXTRA_DIST): Removed.
27882 2006-03-09 Tom Tromey <tromey@redhat.com>
27884 PR classpath/26623:
27885 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27887 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27889 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27891 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27893 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27895 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27897 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27899 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27901 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27903 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27905 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27906 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27908 2006-03-09 Keith Seitz <keiths@redhat.com>
27910 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27911 (executeVariableTable): Use VMMethod instead of reflection.
27912 (executeLineTable): Likewise.
27913 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27914 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27915 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27916 (getLineTable): Removed. Now resides in VMMethod.
27917 (getVarTable): Likewise.
27918 (getAllClassMethods): New method.
27920 2006-03-09 Keith Seitz <keiths@redhat.com>
27922 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27923 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27924 (ThreadStartEvent): Likewise.
27925 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27926 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27927 (ConditionalFilter): Likewise.
27928 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27929 (ExceptionOnlyFilter): Likewise.
27930 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27931 (FieldOnlyFilter): Likewise.
27932 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27933 (getSize): Likewise.
27934 (StepFilter): Likewise.
27935 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27936 * gnu/classpath/jdwp/transport/JdwpPacket.java
27937 (JdwpPacket): Likewise.
27938 (fromBytes): Likewise.
27939 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27940 (JdwpReplyPacket): Likewise.
27941 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27942 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27943 (getReferenceType): Likewise.
27944 (newObjectId): Likewise.
27945 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27946 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27947 (getFrames): Fix typo in parameter name and update javadoc.
27948 (getClassMethod): Update javadoc.
27950 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
27952 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27953 * javax/swing/event/TreeSelectionListener.java: Likewise.
27955 2006-03-09 Lillian Angel <langel@redhat.com>
27957 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27958 (getHScrollbarHeight): Fixed property name.
27959 (getVScrollbarHeight): Likewise.
27961 2006-03-09 Lillian Angel <langel@redhat.com>
27963 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27964 (get_widget): New function.
27965 (gtkWidgetSetParent): Changed to use new function.
27966 (gtkWidgetSetCursorUnlocked): Likewise.
27967 (gtkWidgetSetSensitive): Likewise.
27968 (gtkWidgetRequestFocus): Likewise.
27969 (gtkWindowGetLocationOnScreen): Likewise.
27970 (gtkWidgetGetDimensions): Likewise.
27971 (gtkWidgetGetPreferredDimensions): Likewise.
27972 (setNativeBounds): Likewise.
27973 (gtkWidgetGetBackground): Likewise.
27974 (gtkWidgetGetForeground): Likewise.
27975 (gtkWidgetSetBackground): Likewise.
27976 (gtkWidgetSetForeground): Likewise.
27977 (setVisibleNativeUnlocked): Likewise.
27978 (isEnabled): Likewise.
27979 (isRealized): Likewise.
27980 (setNativeEventMask): Likewise.
27982 2006-03-09 Lillian Angel <langel@redhat.com>
27985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27986 (create): Added combobox widget to an event box.
27987 (connectSignals): Added call to choice_get_widget to get the
27988 combobox out of the event box.
27989 (append): Likewise.
27990 (nativeRemoveAll): Likewise.
27991 (nativeRemove): Likwise.
27992 (nativeAdd): Likewise.
27993 (selectNative): Likewise.
27994 (choice_get_widget): New function.
27995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27996 (create): Added list scroll window widget to an event box.
27997 (connectSignals): Changed call to use new function to get the
27998 correct widget out of the event box.
27999 (getWidgetModifyFont): Likewise.
28000 (getWidgetRequestFocus): Likewise.
28001 (append): Likewise.
28003 (delItems): Likewise.
28004 (select): Likewise.
28005 (deselect): Likewise.
28006 (getSize): Likewise.
28007 (getSelectedIndexes): Likewise.
28008 (makeVisible): Likewise.
28009 (setMultipleMode): Likewise.
28010 (list_get_widget): New function.
28011 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28012 (create): Added scrollpane to an eventbox.
28013 (setScrollPosition): Changed call to use new function to get the
28014 correct widget out of the event box.
28015 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28016 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28017 (getHScrollbarHeight): Likewise.
28018 (getVScrollbarWidth): Likewise.
28019 (setPolicy): Likewise.
28020 (scrollpane_get_widget): New function.
28021 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28022 (connectSignals): Changed call to use new function to get the
28023 correct widget out of the event box.
28024 (create): Added scrollbar to an eventbox.
28025 (setLineIncrement): Changed call to use new function to get the
28026 correct widget out of the event box.
28027 (setPageIncrement): Likewise.
28028 (setBarValues): Likewise.
28029 (scrollbar_get_widget): New function.
28030 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28031 (create): Added text area scroll window widget to an event box.
28032 (connectSignals): Changed call to use new function to get the
28033 correct widget out of the event box.
28034 (insert): Likewise.
28035 (replaceRange): Likewise.
28036 (gtkWidgetModifyFont): Likewise.
28037 (gtkWidgetRequestFocus): Likewise.
28038 (getHScrollbarHeight): Likewise.
28039 (getVScrollbarWidth): Likewise.
28040 (getCaretPosition): Likewise.
28041 (setCaretPosition):Likewise.
28042 (getSelectionStart): Likewise.
28043 (getSelectionEnd): Likewise.
28044 (select): Likewise.
28045 (setEditable): Likewise.
28046 (getText): Likewise.
28047 (setText): Likewise.
28048 (textarea_get_widget): New function.
28050 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28052 * java/rmi/dgc/VMID.java:
28053 (equals, hashCode, static initializer): Rewritten.
28054 * java/rmi/dgc/package.html: Documented.
28056 2006-03-09 Mark Wielaard <mark@klomp.org>
28058 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28060 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28061 (canCache): Likewise.
28062 (GtkClipboard): Take String argument.
28063 (getInstance): Removed.
28064 (getClipboardInstance, getSelectionInstance): New static methods.
28065 (setSystemContents): Make synchronized. Takes boolean argument.
28066 (initNativeState): Add clipboard and selection.
28067 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28068 (announceClipboardChange, announcePrimaryChange): New static field.
28069 (announce): Take GtkClipboard as argument.
28070 (run): Check which clipboard to announce change for.
28071 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28073 (GtkSelection): Take GtkClipboard as argument.
28074 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28075 clipboard argument.
28076 (requestMimeTypes): Likewise.
28077 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28079 * java/awt/Toolkit.java (getSystemSelection): Document.
28080 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28081 (cp_gtk_selection_instance): New var.
28082 (current_selection, owner): Removed.
28083 (clipboard_owner_change_cb): Use clipboard argument.
28084 (initNativeState): Store clipboard and selection instances. Cache
28085 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28087 (clipboard_get_func): Use clipboard argument.
28088 (clipboard_clear_func): Likewise. Always call method.
28089 (advertiseContent): Don't cache method ids here. Check whether to
28090 use clpboard or selection. Don't set owner or current_selection.
28091 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28092 (requestText, requestImage, requestURIs, requestBytes): Use extra
28093 boolean argument to select clipboard.
28094 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28095 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28096 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28097 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28099 2006-03-09 Keith Seitz <keiths@redhat.com>
28101 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28102 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28103 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28104 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28105 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28106 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28107 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28108 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28109 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28111 2006-03-09 Mark Wielaard <mark@klomp.org>
28113 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28114 bounds for index is valid.
28115 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28117 (getCellBounds): Update documentation.
28119 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28121 * .classpath: added exclude pattern on source folders
28122 (Makefiles, README and .cvsignore)
28124 2006-03-08 Michael Koch <konqueror@gmx.de>
28126 * java/net/Proxy.java (NO_PROXY): Made final.
28127 (equals): Likewise.
28128 (hashCode): Likewise.
28130 2006-03-08 Keith Seitz <keiths@redhat.com>
28132 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28133 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28134 (getClassMethod): New method.
28136 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28138 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28140 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28142 * java/rmi/server/ObjID.java: Documented and autoformatted.
28144 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28147 * tools/Makefile.am (install-data-local,
28148 uninstall-local): Install/uninstall the tools/README only.
28149 * tools/gnu/classpath/tools/giop/README: Updated.
28150 * tools/README: New file.
28152 2006-03-08 Lillian Angel <langel@redhat.com>
28154 * java/awt/GridBagLayout.java
28155 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28156 then the next item should be set to current_y (not 0).
28158 2006-03-08 Lillian Angel <langel@redhat.com>
28160 * java/awt/GridBagLayout.java
28161 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28162 in the bottom-most spot of the column, we need to place that component
28163 at the y-location of the other components in that row. If there are
28164 no other components in that row, then place it at y = 0.
28166 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28168 * javax/swing/ProgressMonitor.java: Updated API docs,
28169 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28171 2006-03-08 Michael Koch <konqueror@gmx.de>
28173 * java/net/InetSocketAddress.java
28174 (InetSocketAddress(String,int,resolve)): New private contructor.
28175 (InetSocketAddress(String,int)): Use new private constructor.
28176 (createUnresolved): New method.
28178 2006-03-07 Michael Koch <konqueror@gmx.de>
28180 * gnu/java/net/DefaultProxySelector.java,
28181 java/net/Proxy.java, java/net/ProxySelector.java:
28184 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28186 * java/rmi/server/UID.java (constructor): Assign last and time fields
28189 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28191 * java/rmi/server/UID.java: New file (replacing).
28193 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28195 * java/util/jar/Manifest.java: Removed unused imports.
28196 (CRLF): New constant.
28197 (read): Added method documentation.
28198 Use UTF-8 encoding instead of 8859_1.
28199 (write): Added method documentation.
28200 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28201 (write_main_section): Replace PrintWriter arg with OutputStream.
28202 Replace JarException with IOException.
28203 (write_version_info): Likewise.
28204 (write_main_attributes): Likewise.
28205 (write_attribute_entry): Likewise.
28206 (write_individual_sections): Likewise.
28207 (write_entry_attributes): Likewise.
28208 (write_header): Replace PrintWriter arg with OutputStream.
28211 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28213 * javax/swing/tree/DefaultMutableTreeNode.java
28214 (getFirstChild): Updated API docs,
28215 (getLastChild): Likewise,
28216 (getChildAfter): Likewise,
28217 (getChildBefore): Likewise,
28218 (isNodeSibling): Return true if node == this,
28219 (getSiblingCount): Updated API docs,
28220 (getNextSibling): Likewise,
28221 (getPreviousSibling): Likewise,
28222 (isLeaf): Likewise,
28223 (getFirstLeaf): Likewise,
28224 (getLastLeaf): Likewise,
28225 (getNextLeaf): Implemented,
28226 (getPreviousLeaf): Implemented.
28228 2006-03-07 Tom Tromey <tromey@redhat.com>
28230 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28231 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28232 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28233 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28236 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28238 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28239 (clone): Reimplemented,
28240 (add): Throw IllegalArgumentException if child is an ancestor,
28241 (remove(int)): Set child's parent to null,
28242 (remove(MutableTreeNode)): Check arguments and set child's parent to
28244 (insert): Check allowsChildren flag, check for null argument, and
28245 check for a node that is an ancestor,
28246 (getIndex): Throw IllegalArgumentException for null argument,
28247 (setAllowsChildren): If setting to false, remove existing children,
28248 (removeAllChildren): Set parent to null for removed children.
28250 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28252 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28255 2006-03-06 Tom Tromey <tromey@redhat.com>
28257 * java/lang/StrictMath.java (ulp): New methods.
28258 * java/lang/Math.java (ulp): New methods.
28260 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28262 * gnu/java/rmi/server/UnicastRef.java,
28263 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28265 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28267 * gnu/java/rmi/server/CombinedClassLoader.java
28268 (findClass, findLibrary, findResouce, findResources): check
28269 all loaders in array.
28271 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28274 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28275 (RefProtector): new inner class. (dirty): Rewritten.
28276 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28277 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28278 new methods. (readExternal): Create LeaseRenewingTask if non local.
28279 * gnu/java/rmi/server/UnicastServer.java (objects):
28280 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28281 (getExported): New method.
28282 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28284 2006-03-06 Mark Wielaard <mark@klomp.org>
28286 * doc/www.gnu.org/announce/20060306.wml: New file.
28287 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28288 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28290 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28292 * javax/swing/plaf/metal/MetalLookAndFeel.java
28293 (initComponentDefaults): Use Boolean.TRUE for
28294 'CheckBoxMenuItem.borderPainted'.
28296 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28298 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28299 (dateFormat): Made private.
28300 (put): Replace only the last occurance and the value.
28301 (putAll): Reimplemented with the put method.
28303 2006-03-06 Lillian Angel <langel@redhat.com>
28306 * java/awt/List.java
28307 (preferredSize): Return the size of the list if the peer is
28309 * gnu/java/awt/peer/gtk/GtkListPeer.java
28310 (preferredSize): Code was returning the minimum size of the
28311 list. Added adjustment to the width of the list so it is a
28314 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28316 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28317 (getRequestProperty): Remove duplicated null check.
28318 * java/net/URLConnection.java:
28319 (URLConnection): Javadoc fix.
28320 (addRequestProperty): Likewise.
28321 (getDefaultRequestProperty): Likewise.
28322 (getHeaderField): Likewise.
28323 (getHeaderFieldDate): Likewise.
28324 (getHeaderFieldKey): Likewise.
28325 (getHeaderFields): Likewise.
28326 (getRequestProperties): Likewise.
28327 (getRequestProperty): Likewise.
28328 (setDefaultRequestProperty): Likewise.
28329 (setRequestProperty): Likewise.
28331 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28333 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28334 * examples/gnu/classpath/examples/swing/Demo.java:
28335 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28337 (mkMenuBar): Added entry for text area example.
28339 2006-03-06 Tom Tromey <tromey@redhat.com>
28341 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28342 (FORMATTED_TEXT_FIELD): Likewise.
28344 2006-03-06 Tom Tromey <tromey@redhat.com>
28346 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28348 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28350 * examples/gnu/classpath/examples/swing/Demo.java:
28351 (mkMenuBar): Added menu entry that will display the VM's name,
28352 version and distributor.
28354 2006-03-06 Tom Tromey <tromey@redhat.com>
28356 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28358 (getName): Likewise.
28360 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28362 * java/util/jar/Manifest.java: Removed unused imports.
28363 (CRLF): New constant.
28364 (read): Added method documentation.
28365 Use UTF-8 encoding instead of 8859_1.
28366 (write): Added method documentation.
28367 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28368 (write_main_section): Replace PrintWriter arg with OutputStream.
28369 Replace JarException with IOException.
28370 (write_version_info): Likewise.
28371 (write_main_attributes): Likewise.
28372 (write_attribute_entry): Likewise.
28373 (write_individual_sections): Likewise.
28374 (write_entry_attributes): Likewise.
28375 (write_header): Replace PrintWriter arg with OutputStream.
28378 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28381 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28382 API doc tag warnings,
28383 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28385 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28387 * gnu/java/net/protocol/file/Connection.java (unquote):
28388 Update position in buffer after decoding a unicode character
28389 outside of the basic plane.
28391 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28393 * java/net/URI.java
28394 (quote): Pass Unicode characters outside the basic plane through.
28396 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28398 * javax/swing/plaf/basic/BasicTextUI.java:
28399 (damageRange): Rewritten if-expressions to correctly identify the
28402 2006-03-06 Mark Wielaard <mark@klomp.org>
28404 * configure.ac: Set version to 0.90-generics.
28407 2006-03-06 Mark Wielaard <mark@klomp.org>
28409 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28410 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28411 (isnan): Define explicitly isnan if it is not a macro.
28413 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28415 * javax/swing/text/GapContent.java:
28416 (insertString): Throw exception when argument is below
28419 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28421 * javax/swing/text/PlainDocument.java:
28422 (insertUpdate): Extended if-expression, added
28423 code to generate another Element when newly inserted characters
28424 and old ones will be on the same line.
28426 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28428 * javax/swing/text/DefaultCaret.java:
28429 (mouseDragged): Do selection when shift is pressed.
28430 (mouseClicked): Implemented.
28432 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28434 * javax/swing/text/PlainDocument.java: Fix copyright header,
28436 (insertUpdate): Do not copy the whole document any more, added some
28437 more variables to prevent needless method calls.
28439 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28441 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28442 is required on Darwin.
28443 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28444 (AM_CFLAGS): Likewise.
28446 2006-03-06 Mark Wielaard <mark@klomp.org>
28448 * NEWS: Add updates for 0.90 release.
28450 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28452 * javax/swing/text/GapContent.java:
28453 (insertString): Throw exception when argument is below
28456 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28459 * javax/swing/filechooser/FileFilter.java:
28460 (accept): Fixed API doc tag,
28461 (getDescription): Likewise,
28462 * javax/swing/filechooser/FileView.java:
28463 (isTraversable): Fixed API doc tag.
28465 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28467 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28468 added API docs all over.
28470 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28472 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28473 and corrected a bad API doc tag.
28475 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28477 * javax/swing/undo/StateEditable.java
28478 (restoreState): Fixed bad API doc tag,
28479 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28480 AbstractUndoableEdit.java,
28481 * javax/swing/undo/UndoableEditSupport.java
28482 (createCompoundEdit): Fixed bad API doc tag,
28483 * javax/swing/undo/UndoManager.java
28484 (editToBeUndone): Fixed bad API doc tag,
28485 (editToBeRedone): Likewise.
28487 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28489 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28490 * javax/swing/FocusManager.java: Likewise.
28493 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28496 * javax/swing/plaf/metal/MetalComboBoxButton.java
28497 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28498 JList)): Fixed API doc tag,
28499 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28500 (createLayout): Fixed API doc warning.
28502 2006-03-05 Tom Tromey <tromey@redhat.com>
28504 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28505 ClassHelper.getUserName.
28506 * vm/reference/java/lang/reflect/Method.java (toString): Use
28507 ClassHelper.getUserName.
28508 (getUserTypeName): Removed.
28509 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28510 * vm/reference/java/lang/reflect/Field.java (toString): Use
28511 ClassHelper.getUserName.
28513 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28516 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28517 Allows directories as valid resources.
28519 2006-03-05 Mark Wielaard <mark@klomp.org>
28521 * configure.ac (VERSION): Set to 0.90-pre-generics.
28522 * Merge with CVS trunk from classpath-0_90-branch-point.
28524 2006-03-04 Tom Tromey <tromey@redhat.com>
28526 * javax/swing/SpringLayout.java (Constraints): New constructor.
28527 * javax/swing/Spring.java (width): New method.
28528 (height): Likewise.
28531 2006-03-04 Mark Wielaard <mark@klomp.org>
28533 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28534 existing connection from pool before returning.
28536 2006-03-04 Mark Wielaard <mark@klomp.org>
28538 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28539 exceptions thrown by handlers while cleaning up and rethrow original
28542 2006-03-04 Tom Tromey <tromey@redhat.com>
28544 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28546 (findConstructor): Likewise.
28547 (instantiateClass): Likewise.
28549 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28551 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28552 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28553 lease value and not always the default one.
28554 (LeaseRecord): Remember the array of objects, marked as dirty.
28555 java/rmi/dgc/Lease.java: Boilerplate fix.
28557 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28559 * java/util/jar/Attributes.java (putValue): Made it public and updated
28560 method documentation.
28562 2006-03-04 Mark Wielaard <mark@klomp.org>
28564 * java/awt/Container.java (remove(int)): Always call removeNotify()
28565 on removed Component.
28567 2006-03-04 Mark Wielaard <mark@klomp.org>
28569 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28570 * javax/swing/JEditorPane.java (setText): Check for empty String
28571 with equals(), not equality (==).
28573 2006-03-04 Mark Wielaard <mark@klomp.org>
28575 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28576 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28578 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28580 * javax/swing/text/GapContent.java
28581 (getArray): Mark as final.
28583 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28585 * javax/swing/text/StyleConstants.java
28586 (CharacterConstants.Background): Marked final,
28587 (CharacterConstants.BidiLevel): Likewise,
28588 (CharacterConstants.Bold): Likewise,
28589 (CharacterConstants.ComponentAttribute): Likewise,
28590 (CharacterConstants.Family): Likewise,
28591 (CharacterConstants.Size): Likewise,
28592 (CharacterConstants.Foreground): Likewise,
28593 (CharacterConstants.IconAttribute): Likewise,
28594 (CharacterConstants.Italic): Likewise,
28595 (CharacterConstants.StrikeThrough): Likewise,
28596 (CharacterConstants.Subscript): Likewise,
28597 (CharacterConstants.Superscript): Likewise,
28598 (CharacterConstants.Underline): Likewise,
28599 (ColorConstants.Foreground): Likewise,
28600 (ColorConstants.Background): Likewise,
28601 (FontConstants.Bold): Likewise,
28602 (FontConstants.Family): Likewise,
28603 (FontConstants.Italic): Likewise,
28604 (FontConstants.Size): Likewise,
28605 (ParagraphConstants.Alignment): Likewise,
28606 (ParagraphConstants.FirstLineIndent): Likewise,
28607 (ParagraphConstants.LeftIndent): Likewise,
28608 (ParagraphConstants.LineSpacing): Likewise,
28609 (ParagraphConstants.Orientation): Likewise,
28610 (ParagraphConstants.RightIndent): Likewise,
28611 (ParagraphConstants.SpaceAbove): Likewise,
28612 (ParagraphConstants.SpaceBelow): Likewise,
28613 (ParagraphConstants.TabSet): Likewise.
28615 2006-03-03 Tom Tromey <tromey@redhat.com>
28617 * javax/net/ssl/SSLException.java: Added missing @since.
28620 2006-03-03 Tom Tromey <tromey@redhat.com>
28622 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28623 (serialVersionUID): New field.
28625 2006-03-03 Tom Tromey <tromey@redhat.com>
28627 * java/security/spec/InvalidKeySpecException.java
28628 (InvalidKeySpecException): New constructors.
28629 * java/security/cert/CertificateParsingException.java
28630 (CertificateParsingException): New constructors.
28631 * java/security/cert/CertificateEncodingException.java
28632 (CertificateEncodingException): New constructors.
28633 * java/security/cert/CertificateException.java (CertificateException):
28635 * java/security/cert/CRLException.java (CRLException): New
28638 2006-03-03 Tom Tromey <tromey@redhat.com>
28640 * java/security/SignatureException.java (SignatureException): New
28642 * java/security/ProviderException.java (ProviderException): New
28644 * java/security/NoSuchAlgorithmException.java
28645 (NoSuchAlgorithmException): New constructors.
28646 * java/security/KeyStoreException.java (KeyStoreException): New
28648 * java/security/KeyManagementException.java (KeyManagementException):
28650 * java/security/InvalidKeyException.java (InvalidKeyException): New
28652 * java/security/KeyException.java (KeyException): New constructors.
28653 * java/security/InvalidAlgorithmParameterException.java
28654 (InvalidAlgorithmParameterException): New constructors.
28655 * java/security/DigestException.java (DigestException): New
28657 * java/security/GeneralSecurityException.java
28658 (GeneralSecurityException): New constructors.
28660 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28662 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28664 * javax/swing/event/DocumentEvent.java: Likewise,
28665 * javax/swing/event/EventListenerList.java: Likewise,
28666 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28667 * javax/swing/event/MenuKeyEvent.java: Likewise,
28668 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28669 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28670 * javax/swing/event/TreeModelEvent.java: Likewise,
28671 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28672 * javax/swing/event/UndoableEditEvent.java: Likewise.
28674 2006-03-03 Tom Tromey <tromey@redhat.com>
28676 * java/awt/Insets.java (set): New method.
28677 (equals): Added @since.
28679 2006-03-03 David Daney <ddaney@avtrex.com>
28681 * gnu/java/net/protocol/http/HTTPURLConnection.java
28682 (getRequestProperties): Rewrote.
28683 (addRequestProperty): Rewrote.
28684 (getHeaderFields): Rewrote.
28685 (getHeaderField): Rewrote.
28686 (getHeaderFieldKey): Rewrote.
28687 (getHeaderField): Removed useless cast.
28688 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28689 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28691 (notifyHeaderHandlers): Use new Headers interface.
28693 2006-03-03 Tom Tromey <tromey@redhat.com>
28695 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28696 * javax/naming/spi/ResolveResult.java,
28697 javax/naming/event/NamingExceptionEvent.java,
28698 javax/naming/event/NamingEvent.java,
28699 javax/naming/directory/SearchResult.java,
28700 javax/naming/directory/SearchControls.java,
28701 javax/naming/directory/SchemaViolationException.java,
28702 javax/naming/directory/NoSuchAttributeException.java,
28703 javax/naming/directory/ModificationItem.java,
28704 javax/naming/directory/InvalidSearchFilterException.java,
28705 javax/naming/directory/InvalidSearchControlsException.java,
28706 javax/naming/directory/InvalidAttributesException.java,
28707 javax/naming/directory/InvalidAttributeIdentifierException.java,
28708 javax/naming/directory/AttributeModificationException.java,
28709 javax/naming/directory/AttributeInUseException.java,
28710 javax/naming/TimeLimitExceededException.java,
28711 javax/naming/SizeLimitExceededException.java,
28712 javax/naming/PartialResultException.java,
28713 javax/naming/Reference.java,
28714 javax/naming/ServiceUnavailableException.java,
28715 javax/naming/OperationNotSupportedException.java,
28716 javax/naming/NotContextException.java,
28717 javax/naming/NoPermissionException.java,
28718 javax/naming/NoInitialContextException.java,
28719 javax/naming/NameNotFoundException.java,
28720 javax/naming/NameAlreadyBoundException.java,
28721 javax/naming/NameClassPair.java,
28722 javax/naming/MalformedLinkException.java,
28723 javax/naming/LinkLoopException.java,
28724 javax/naming/LinkException.java,
28725 javax/naming/LimitExceededException.java,
28726 javax/naming/InvalidNameException.java,
28727 javax/naming/InterruptedNamingException.java,
28728 javax/naming/InsufficientResourcesException.java,
28729 javax/naming/ContextNotEmptyException.java,
28730 javax/naming/ConfigurationException.java,
28731 javax/naming/CannotProceedException.java,
28732 javax/naming/CommunicationException.java,
28733 javax/naming/Binding.java,
28734 javax/naming/AuthenticationNotSupportedException.java,
28735 javax/naming/AuthenticationException.java: Added serialVersionUID.
28737 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28739 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28741 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28743 * javax/swing/event/TableModelListener.java: Updated API docs.
28745 2006-03-03 Mark Wielaard <mark@klomp.org>
28747 * java/awt/Component.java (addNotify): Expand documentation.
28749 2006-03-03 Mark Wielaard <mark@klomp.org>
28751 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28752 Always call setParentAndBounds().
28753 (setComponentBounds): Always call setBounds().
28754 (setBounds): Call setVisible().
28755 (setVisible): If no pixels are showing then don't make it visible.
28756 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28757 to call setParentAndBounds() anymore.
28759 2006-03-03 Roman Kennke <kennke@aicas.com>
28761 * javax/swing/JInternalFrame.java
28762 (JInternalFrame): Set frame invisible.
28763 (show): Reformatted.
28764 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28765 (installDefaults): Do not set invisible here.
28767 2006-03-03 Roman Kennke <kennke@aicas.com>
28769 * java/awt/Toolkit.java
28770 (getScreenInsets): Return (0,0,0,0) here.
28772 2006-03-03 Roman Kennke <kennke@aicas.com>
28774 * javax/swing/text/FlowView.java
28775 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28776 (FlowStrategy.getLogicalView): Made method protected.
28778 2006-03-03 Chris Burdess <dog@gnu.org>
28780 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28781 gnu/xml/validation/relaxng/AttributePattern.java,
28782 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28783 gnu/xml/validation/relaxng/ChoicePattern.java,
28784 gnu/xml/validation/relaxng/DataPattern.java,
28785 gnu/xml/validation/relaxng/Define.java,
28786 gnu/xml/validation/relaxng/ElementPattern.java,
28787 gnu/xml/validation/relaxng/EmptyPattern.java,
28788 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28789 gnu/xml/validation/relaxng/Grammar.java,
28790 gnu/xml/validation/relaxng/GrammarException.java,
28791 gnu/xml/validation/relaxng/GrammarValidator.java,
28792 gnu/xml/validation/relaxng/GroupPattern.java,
28793 gnu/xml/validation/relaxng/InterleavePattern.java,
28794 gnu/xml/validation/relaxng/ListPattern.java,
28795 gnu/xml/validation/relaxng/NSNameNameClass.java,
28796 gnu/xml/validation/relaxng/NameClass.java,
28797 gnu/xml/validation/relaxng/NameNameClass.java,
28798 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28799 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28800 gnu/xml/validation/relaxng/Param.java,
28801 gnu/xml/validation/relaxng/Pattern.java,
28802 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28803 gnu/xml/validation/relaxng/RefPattern.java,
28804 gnu/xml/validation/relaxng/TextPattern.java,
28805 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28806 builder and data model.
28807 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28808 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28809 gnu/xml/validation/xmlschema/AttributeUse.java,
28810 gnu/xml/validation/xmlschema/ComplexType.java,
28811 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28812 gnu/xml/validation/xmlschema/Particle.java,
28813 gnu/xml/validation/xmlschema/ValidationException.java,
28814 gnu/xml/validation/xmlschema/XMLSchema.java,
28815 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28816 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28817 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28818 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28819 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28820 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28821 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28822 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28823 W3C XML Schema builder and schema components.
28824 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28825 XML Schema namespace URIs.
28827 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28829 * NEWS: Add entry for --enable-collections.
28830 * configure.ac: Add --enable-collections option.
28831 * lib/Makefile.am (collections.jar): New target.
28832 (glibj_DATA): Add $(COLLECTIONS).
28833 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28834 configure substitution.
28835 (classpath): Read from command line.
28836 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28838 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28840 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28842 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28844 * javax/swing/event/ListSelectionEvent.java
28845 (toString): Implemented,
28846 plus updated API docs all over.
28848 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28850 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28852 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28854 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28856 * gnu/java/rmi/dgc/DGCImpl.java,
28857 java/rmi/dgc/DGC.java,
28858 java/rmi/dgc/Lease.java: Formatted and commented.
28860 2006-03-03 Roman Kennke <kennke@aicas.com>
28862 * NEWS: Added comment about text highlighting and copy+paste
28865 2006-03-03 Roman Kennke <kennke@aicas.com>
28867 * javax/swing/JTabbedPane.java
28868 (remove(int)): Call super.remove(int) instead of remove(Component).
28869 Avoids a stack overflow.
28871 2006-03-03 Roman Kennke <kennke@aicas.com>
28873 * javax/swing/JTable.java
28874 (distributeSpillResizing): Avoid ArithmeticException by checking
28877 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28879 * javax/swing/text/package.html: Added package description.
28881 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28883 * javax/swing/CellRendererPane.java: Minor API doc fix,
28884 * javax/swing/ComboBoxModel.java: Updated API docs.
28886 2006-03-03 Chris Burdess <dog@gnu.org>
28889 * gnu/xml/stream/EntityReferenceImpl.java,
28890 gnu/xml/stream/FilteredEventReader.java,
28891 gnu/xml/stream/SAXParser.java,
28892 gnu/xml/stream/XIncludeFilter.java,
28893 gnu/xml/stream/XMLEventAllocatorImpl.java,
28894 gnu/xml/stream/XMLEventFactoryImpl.java,
28895 gnu/xml/stream/XMLEventImpl.java,
28896 gnu/xml/stream/XMLEventReaderImpl.java,
28897 gnu/xml/stream/XMLEventWriterImpl.java,
28898 gnu/xml/stream/XMLInputFactoryImpl.java,
28899 gnu/xml/stream/XMLOutputFactoryImpl.java,
28900 gnu/xml/stream/XMLParser.java,
28901 javax/xml/stream/EventFilter.java,
28902 javax/xml/stream/Location.java,
28903 javax/xml/stream/StreamFilter.java,
28904 javax/xml/stream/XMLEventFactory.java,
28905 javax/xml/stream/XMLEventReader.java,
28906 javax/xml/stream/XMLEventWriter.java,
28907 javax/xml/stream/XMLInputFactory.java,
28908 javax/xml/stream/XMLOutputFactory.java,
28909 javax/xml/stream/XMLReporter.java,
28910 javax/xml/stream/XMLResolver.java,
28911 javax/xml/stream/XMLStreamConstants.java,
28912 javax/xml/stream/XMLStreamReader.java,
28913 javax/xml/stream/events/EntityDeclaration.java,
28914 javax/xml/stream/events/EntityReference.java,
28915 javax/xml/stream/events/XMLEvent.java,
28916 javax/xml/stream/util/EventReaderDelegate.java,
28917 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28918 StAX API as specified in JWSDP 2.0.
28919 * gnu/xml/stream/EndEntityImpl.java,
28920 gnu/xml/stream/LocationImpl.java,
28921 gnu/xml/stream/StartEntityImpl.java,
28922 gnu/xml/stream/XMLStreamReaderImpl.java,
28923 javax/xml/stream/XMLFilter.java,
28924 javax/xml/stream/XMLIterator.java,
28925 javax/xml/stream/events/EndEntity.java,
28926 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28928 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28930 * javax/swing/CellEditor.java: API doc updates,
28931 * javax/swing/DefaultCellEditor.java: Likewise.
28933 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28935 * javax/swing/AbstractListModel.java:
28936 (AbstractListModel): Added API docs,
28937 (fireContentsChanged): Minor API doc correction,
28938 (fireIntervalAdded): Likewise,
28939 (fireIntervalRemoved): Likewise.
28941 2006-03-03 Roman Kennke <kennke@aicas.com>
28943 * NEWS: Added paragraph about Swing improvements.
28945 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28947 * javax/swing/AbstractAction.java: Updated API docs all over,
28948 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28949 (stopCellEditing): Minor API doc correction,
28950 * javax/swing/UnsupportedLookAndFeelException.java
28951 (UnsupportedLookAndFeelException): Changed argument name, updated API
28954 2006-03-03 Roman Kennke <kennke@aicas.com>
28956 * javax/swing/plaf/metal/MetalUtils.java
28957 (fillMetalPattern): Added switch to not use Graphics2D methods,
28958 even if they are available.
28960 2006-03-03 Roman Kennke <kennke@aicas.com>
28962 * javax/swing/plaf/basic/BasicHTML.java
28963 (isHTMLString): Check for string beeing null.
28964 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28965 (BasicInternalFrameListener.internalFrameActivated): Implemented.
28966 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28967 (InternalFrameLayout): Don't touch the glass pane here.
28968 (installUI): Fix handling of glass pane.
28969 * javax/swing/plaf/basic/BasicLabelUI.java
28973 (BasicLabelUI): Initialize new fields.
28974 (getPreferredSize): Avoid creating new Rectangles by using
28975 SwingUtilities method.
28976 (paint): Avoid creating new Rectangles by reusing
28977 new fields. Added some preliminary handling of HTML inside the
28979 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28980 (uninstallComponents): Clear HTML renderer.
28981 (propertyChange): Check for HTML text and install renderer if
28983 * javax/swing/plaf/basic/BasicListUI.java
28984 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28986 * javax/swing/plaf/basic/BasicTextUI.java
28987 (RootView.getStartOffset): Implemented.
28988 (RootView.getEndOffset): Implemented.
28989 (RootView.getDocument): Implemented.
28991 2006-03-03 Roman Kennke <kennke@aicas.com>
28993 * javax/swing/text/DefaultStyledDocument.java
28994 (ElementBuffer.inserUpdate): Added check for zero-length
28996 * javax/swing/text/DefaultStyledDocument.java
28997 (setIndex): Improved exception message.
28998 * javax/swing/text/TableView.java
28999 Made class abstract.
29000 (TableRow.replace): Probably extend columnRequirements
29002 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29003 of super.layoutMajorAxis.
29004 (columnRequirements): Made field package private.
29005 (TableView): Do not load any child views here.
29006 (layoutColumns): Implemented this method.
29007 (updateColumnRequirements): New helper method.
29008 * javax/swing/text/Utilities.java
29009 (getBreakLocation): Also take offset into account when
29010 finding end location.
29011 * javax/swing/text/html/HTMLDocument.java
29012 (HTMLReader.parseStack): New field.
29013 (HTMLReader.blockOpen): Properly handle p-implied tags.
29014 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29015 (HTMLReader.addContent): Insert p-implied when adding content to
29017 * javax/swing/text/html/HTMLEditorKit.java
29018 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29019 ParagraphView for TD tags. Print out warning for tags that don't have
29020 matching view yet and create NullView for them.
29021 (read): Only set document base when document != null.
29022 * javax/swing/text/html/HTMLTableView.java:
29025 2006-03-03 Roman Kennke <kennke@aicas.com>
29027 * javax/swing/plaf/basic/BasicHTML.java
29028 (HTMLRootView): New inner class.
29029 (createHTMLView): Embed view inside a HTMLRootView.
29031 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29033 * gnu/java/net/protocol/jar/Connection.java:
29034 (connect): Throw FileNotFoundException.
29035 (getInputStream): Remove duplicated code.
29037 2006-03-03 Roman Kennke <kennke@aicas.com>
29039 * javax/swing/RepaintManager.java
29040 (commitBuffer): Added null check for clip.
29042 2006-03-02 Lillian Angel <langel@redhat.com>
29044 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29045 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29046 to use GtkWidget instead of GTKMenu.
29048 2006-03-02 Lillian Angel <langel@redhat.com>
29050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29051 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29052 use the submenu to get the list of children. This now works
29053 in the same way as addItem.
29055 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29057 * java/lang/StringBuilder.java:
29058 (codePointAt): New method.
29059 (codePointBefore): Likewise.
29060 (codePointCount): Likewise.
29061 (trimToSize): Likewise.
29063 2006-03-02 Tom Tromey <tromey@redhat.com>
29065 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29067 2006-03-02 Tom Tromey <tromey@redhat.com>
29069 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29070 (getProviderInstance):
29072 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29074 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29075 Fix regression caused by move to VM variant.
29076 PR classpath/22926.
29078 2006-03-01 Tom Tromey <tromey@redhat.com>
29080 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29081 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29082 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29083 imports for javadoc.
29084 (getProxyClass): Javadoc fixes.
29085 (getProxyData): Likewise.
29086 (generateProxyClass): Likewise.
29087 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29088 (setOut): Likewise.
29089 (setErr): Likewise.
29090 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29091 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29093 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29095 (getModifiers): Likewise.
29096 (getDeclaredClasses): Javadoc fix.
29097 (getDeclaredFields): Likewise.
29098 (getDeclaredMethods): Likewise.
29099 (getDeclaredConstructors): Likewise.
29100 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29103 2006-03-01 Tom Tromey <tromey@redhat.com>
29105 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29106 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29107 (getVersion): Javadoc fix.
29109 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29110 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29112 2006-03-01 David Daney <ddaney@avtrex.com>
29114 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29115 as relative if it contains a colon but no protocol handler can be
29118 2006-03-01 Roman Kennke <kennke@aicas.com>
29120 * javax/swing/text/AbstractDocument.java
29121 (LeafElement.LeafElement): Handle delta with respect to content
29122 length not document length.
29123 * javax/swing/text/CompositeView.java
29124 (getViewIndex): Handle bias correctly.
29125 * javax/swing/text/DefaultCaret.java
29126 (paint): Align caret position to document bounds to avoid trouble
29127 when removing large portions of content.
29128 * javax/swing/text/DefaultStyledDocument.java
29129 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29130 (ElementBuffer.createFracture): Copy old childs attribute. The
29131 ElementSpec usually doesn't carry attribute information.
29132 Use pos instead of offset.
29133 (ElementBuffer.insertFracture): Use pos instead of offset.
29134 (createDefaultRootElement): Don't use create* and instead directly
29135 instantiate the elements.
29136 (handleInsertAfterNewline): Compare the paragraphs startOffset
29137 rather than previous paragraphs endOffset.
29138 * javax/swing/text/JTextComponent.java
29139 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29141 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29143 * javax/swing/text/PlainView.java
29144 (damageLineRange): Avoid creating new Rectangle by using
29146 * javax/swing/text/View.java
29147 (forwardUpdate): Correct the use of bias.
29148 (modelToView): Avoid new Rectangles by using SwingUtilities.
29149 (dump): Made (temprorarily) protected for use in BasicTextUI.
29150 (dump(int)): Dump out the element of the view.
29152 2006-03-01 Lillian Angel <langel@redhat.com>
29154 * NEWS: javax.imageio.plugins.bmp implementation.
29156 2006-03-01 Lillian Angel <langel@redhat.com>
29158 * javax/imageio/ImageWriteParam.java:
29159 Added documentation for fields.
29160 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29161 New class implemented.
29163 2006-03-01 Tom Tromey <tromey@redhat.com>
29165 * NEWS: Mention java.util.prefs update.
29167 2006-03-01 Tom Tromey <tromey@redhat.com>
29169 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29170 * java/nio/charset/UnmappableCharacterException.java:
29171 (serialVersionUID): New field.
29172 * java/nio/charset/MalformedInputException.java:
29173 (serialVersionUID): New field.
29174 * java/nio/charset/CoderMalfunctionError.java:
29175 (serialVersionUID): New field.
29176 * java/nio/charset/CharacterCodingException.java:
29177 (serialVersionUID): New field.
29178 * java/nio/channels/UnsupportedAddressTypeException.java:
29179 (serialVersionUID): New field.
29180 * java/nio/channels/UnresolvedAddressException.java:
29181 (serialVersionUID): New field.
29182 * java/nio/channels/OverlappingFileLockException.java:
29183 (serialVersionUID): New field.
29184 * java/nio/channels/NotYetConnectedException.java:
29185 (serialVersionUID): New field.
29186 * java/nio/channels/NotYetBoundException.java
29187 (serialVersionUID): New field.
29188 * java/nio/channels/NonWritableChannelException.java
29189 (serialVersionUID): New field.
29190 * java/nio/channels/NonReadableChannelException.java
29191 (serialVersionUID): New field.
29192 * java/nio/channels/NoConnectionPendingException.java
29193 (serialVersionUID): New field.
29194 * java/nio/channels/IllegalSelectorException.java
29195 (serialVersionUID): New field.
29196 * java/nio/channels/IllegalBlockingModeException.java
29197 (serialVersionUID): New field.
29198 * java/nio/channels/FileLockInterruptionException.java
29199 (serialVersionUID): New field.
29200 * java/nio/channels/ConnectionPendingException.java
29201 (serialVersionUID): New field.
29202 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29204 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29206 * java/nio/channels/ClosedByInterruptException.java
29207 (serialVersionUID): New field.
29208 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29210 * java/nio/channels/AsynchronousCloseException.java
29211 (serialVersionUID): New field.
29212 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29214 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29215 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29216 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29218 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29219 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29220 Javadoc fix. Added import.
29221 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29222 (validOps): Likewise.
29223 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29224 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29225 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29226 * java/nio/channels/Channels.java: Added import.
29227 * java/nio/channels/FileChannel.java (lock): Typo fix.
29228 (tryLock): Likewise.
29230 2006-03-01 Tom Tromey <tromey@redhat.com>
29232 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29234 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29235 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29237 (putSpi): Likewise.
29238 (newNode): Likewise.
29240 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29241 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29243 (systemRoot): Use it.
29244 (userPreferences): New field.
29245 (userRoot): Use it.
29247 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29249 * java/util/ResourceBundle.java
29250 (tryBundle): Catch and ignore all Exceptions.
29252 2006-02-28 Roman Kennke <kennke@aicas.com>
29254 * javax/swing/plaf/basic/BasicScrollBarUI.java
29255 (getPreferredSize): Fixed add a fixed space between the buttons
29256 instead of something related to min/max.
29257 (installComponents): Create and install buttons here.
29258 (installDefaults): Don't create buttons here.
29259 * javax/swing/plaf/metal/MetalScrollBarUI.java
29260 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29261 (getPreferredSize): New method.
29263 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29265 * examples/gnu/classpath/examples/swing/Demo.java
29266 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29267 connected 'Spinner' action to SpinnerDemo,
29268 (mkCheckbox): Removed,
29269 (mkRadio): Likewise,
29270 (mkSpinner): Likewise,
29271 (mkToggle): Likewise,
29272 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29273 connected 'Spinner' action to SpinnerDemo.
29275 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29277 * javax/print/ServiceUIFactory.java: Added documentation to class.
29279 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29282 * javax/swing/DefaultListSelectionModel.java:
29283 (addSelectionInterval): Return early if either of the arguments is -1.
29284 (removeSelectionInterval): Likewise.
29285 (setSelectionInterval): Likewise.
29287 2006-02-28 Lillian Angel <langel@redhat.com>
29289 * javax/swing/text/DefaultFormatter.java
29290 (stringToValue): Added NPE check.
29292 2006-02-28 Roman Kennke <kennke@aicas.com>
29295 * javax/swing/JList.java
29296 (getPreferredScrollableViewportSize): Restored specified behaviour.
29297 * javax/swing/plaf/metal/MetalFileChooserUI.java
29298 (createList): Set filelist panel's preferredSize, so that it doesn't
29299 get size into infinity for big lists.
29301 2006-02-28 Lillian Angel <langel@redhat.com>
29303 * javax/swing/ViewportLayout.java
29304 (layoutContainer): Should not extend container to be
29305 minimum size. Mauve test shows that the preferred size
29306 and the size of the viewport can be set smaller than
29309 2006-02-28 Lillian Angel <langel@redhat.com>
29312 * javax/swing/JList.java
29313 (getPreferredScrollableViewportSize): Added a check to determine
29314 if orientation is VERTICAL_WRAP. If it is, we should only
29317 2006-02-28 Lillian Angel <langel@redhat.com>
29320 * javax/swing/ViewportLayout.java:
29321 Patch submitted by Audrius Meskauskas
29322 (addLayoutComponent): Added documentation.
29323 (removeLayoutComponent): Likewise.
29324 (preferredLayoutSize): Likewise.
29325 (minimumLayoutSize): Likewise.
29326 (layoutContainer): Fixed code, so view is set
29327 to the right position when inside a scrollpane.
29329 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29331 * java/math/BigInteger.java:
29332 Committed patch by Rafael:
29333 developer.classpath.org/pipermail/classpath-patches/
29334 2006-February/000473.html
29335 (signum): Return early 0 if words == null and ival == 0.
29336 (readObject): Handle special case of magnitude.length or signum being
29338 (writeObject): If signum is zero return a zero-sized byte[].
29340 2006-02-28 Lillian Angel <langel@redhat.com>
29342 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29343 (create): Initially set the directory to the current working directory.
29344 (setDirectory): Removed else-if. No need for this check.
29346 2006-02-28 Tom Tromey <tromey@redhat.com>
29348 * .project: Run java builder before header generation.
29350 2006-02-28 Tom Tromey <tromey@redhat.com>
29352 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29354 * gnu/java/util/prefs/EventDispatcher.java: New file.
29355 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29356 (NodeWriter): Specify UTF-8.
29357 (writeHeader): Emit DOCTYPE.
29358 * java/util/prefs/Preferences.java (getFactory): Add cause to
29360 (exportNode): Documented.
29361 (exportSubtree): Likewise.
29362 (importPreferences): Likewise.
29363 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29364 (writeObject): Likewise.
29365 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29366 (writeObject): Likewise.
29367 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29368 (nodeListeners): New field.
29369 (preferenceListeners): Likewise.
29370 (addNodeChangeListener): Implemented.
29371 (addPreferenceChangeListener): Likewise.
29372 (removeNodeChangeListener): Likewise.
29373 (removePreferenceChangeListener): Likewise.
29374 (fire): New methods.
29376 (remove): Likewise.
29377 (purge): Likewise. Fixed synchronization.
29378 (removeNode): Fixed synchronization.
29379 (getNode): Fire event.
29380 (flushNode): Fixed synchronization.
29382 2006-02-28 Roman Kennke <kennke@aicas.com>
29384 * javax/swing/text/BranchElement.java
29385 (startOffset): New field.
29386 (endOffset): New field.
29387 (BranchElement): Initialize new fields.
29388 (getEndOffset): Rewritten to possibly return cached values
29389 if element has no children.
29390 (getStartOffset): Rewritten to possibly return cached values
29391 if element has no children.
29392 * javax/swing/text/LeafElement.java
29393 (startDelta): New field.
29394 (endDelta): New field.
29395 (LeafElement): Handle possible delta of start/endOffset when
29396 these parameters lie outside the document range.
29397 (getStartOffset): Handle possible startDelta.
29398 (getEndOffset): Handle possible startDelta.
29400 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29402 * NEWS: Added line about Unicode 4.0.0 support.
29404 2006-02-28 Roman Kennke <kennke@aicas.com>
29406 * javax/swing/SwingUtilities.java
29407 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29409 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29411 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29413 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29415 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29416 Amended class documentation.
29417 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29419 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29420 a BIT STRING construct.
29421 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29423 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29425 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29426 a BIT STRING construct.
29427 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29428 (engineVerify): Added logging.
29430 2006-02-28 Roman Kennke <kennke@aicas.com>
29432 * java/awt/Component.java
29433 (dispatchEventImpl): Let the Toolkit dispatch global events.
29434 * java/awt/Container.java
29435 (dispatchEventImpl): Let the LightweightDispatcher handle events
29437 * java/awt/EventQueue.java
29438 (dispatchEvent): Don't do the global event dispatching here. This
29439 is moved to the Component.
29440 (globalDispatchEvent): Moved this method to Toolkit.
29441 * java/awt/LightweightDispatcher.java
29442 (instances): New field.
29443 (getInstance): New method. Delivers an instance of
29444 LightweightDispatcher.
29445 (LightweightDispatcher): Made default constructor private.
29446 (dispatchEvent): New method. Replaces the eventDispatched method.
29447 This now returns true when the event was actually dispatched.
29448 (eventDispatched): Replaced by dispatchEvent.
29449 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29450 received the last MOUSE_RELEASED.
29451 * java/awt/Toolkit.java
29452 (Toolkit): Don't register LightweightDispatcher as global event
29454 (globalDispatchEvent): Moved here from EventQueue.
29456 2006-02-27 David Daney <ddaney@avtrex.com>
29459 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29461 (getRequestProperties): Rewrote.
29463 2006-02-27 David Daney <ddaney@avtrex.com>
29466 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29468 (ChunkedInputStream): Extend InputStream.
29470 (headers): Moved to top of class.
29471 (constructor): Save referenct to in.
29472 (read(byte[])): Removed method.
29473 (read(byte[], int, int)): Made synchronized and throw IOException
29474 on error parsing chunk header.
29475 (available): New method.
29476 (close): New method.
29478 2006-02-27 David Daney <ddaney@avtrex.com>
29480 * gnu/java/net/protocol/http/HTTPURLConnection.java
29481 (imports): Cleaned up.
29482 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29483 (constructor): ... Here, using SystemProperties instead of System.
29485 2006-02-27 Lillian Angel <langel@redhat.com>
29487 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29488 (setDirectory): GtkFileChooser requires an absolute directory
29489 name. Added a check to make the directory passed to nativeSetDirectory
29492 2006-02-27 Roman Kennke <kennke@aicas.com>
29494 * javax/swing/SwingUtilities.java
29495 (computeIntersection): Changed to store result in rect, instead of
29496 creating new Rectangle instances. Fixed API docs accordingly.
29497 (computeUnion): Changed to store result in rect, instead of
29498 creating new Rectangle instances. Fixed API docs accordingly.
29500 2006-02-27 Roman Kennke <kennke@aicas.com>
29502 * javax/swing/JViewport.java
29503 (static_init): Changed default scrollmode to BLIT.
29504 (paintSimple): Added some clipping to avoid painting problems.
29505 (paintBlit): Added some clipping to avoid painting problems.
29507 2006-02-27 Roman Kennke <kennke@aicas.com>
29509 * javax/swing/JComponent.java
29510 (rectCache): Made field static to save memory.
29511 (getVisibleRect): Don't use rectCache and create new Rectangle
29513 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29514 (repaint(long,int,int,int,int)): Directly call
29515 RepaintManager.addDirtyRegion(). The visibleRect check is now
29516 performed in the RepaintManager.
29518 2006-02-27 Roman Kennke <kennke@aicas.com>
29520 * javax/swing/RepaintManager.java
29521 (currentRepaintManagers): Made field private.
29522 (rectCache): New field.
29523 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29524 component. Changed Rectangle handling to avoid unnecessary new
29525 Rectangle instances.
29526 (getOffscreenBuffer): Create buffer with size of the root window.
29527 Respect the maximum buffer size here.
29528 (commitBuffer): Align the regions so that they are inside the buffer
29529 image and inside the clip. This avoids problems with a bug in GTKImage.
29530 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29532 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29534 * native/fdlibm/e_acos.c,
29535 * native/fdlibm/e_asin.c,
29536 * native/fdlibm/e_atan2.c,
29537 * native/fdlibm/e_cosh.c,
29538 * native/fdlibm/e_exp.c,
29539 * native/fdlibm/e_fmod.c,
29540 * native/fdlibm/e_hypot.c,
29541 * native/fdlibm/e_log.c,
29542 * native/fdlibm/e_log10.c,
29543 * native/fdlibm/e_rem_pio2.c,
29544 * native/fdlibm/e_remainder.c,
29545 * native/fdlibm/e_sinh.c,
29546 * native/fdlibm/e_sqrt.c,
29547 * native/fdlibm/k_cos.c,
29548 * native/fdlibm/k_sin.c,
29549 * native/fdlibm/k_tan.c,
29550 * native/fdlibm/s_atan.c,
29551 * native/fdlibm/s_cbrt.c,
29552 * native/fdlibm/s_ceil.c,
29553 * native/fdlibm/s_copysign.c,
29554 * native/fdlibm/s_cos.c,
29555 * native/fdlibm/s_expm1.c,
29556 * native/fdlibm/s_fabs.c,
29557 * native/fdlibm/s_finite.c,
29558 * native/fdlibm/s_floor.c,
29559 * native/fdlibm/s_log1p.c,
29560 * native/fdlibm/s_rint.c,
29561 * native/fdlibm/s_scalbn.c,
29562 * native/fdlibm/s_sin.c,
29563 * native/fdlibm/s_tan.c,
29564 * native/fdlibm/s_tanh.c:
29565 Fixed to call our macros rather than __HI and __LO.
29566 * native/fdlibm/fdlibm.h:
29567 Reintroduced previous extraction code.
29568 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29569 (GET_HIGH_WORD(i,d)): Readded.
29570 (GET_LOW_WORD(i,d)): Readded.
29571 (INSERT_WORDS(d,ix0,ix1)): Readded.
29572 (SET_HIGH_WORD(d,i)): Readded.
29573 (SET_LOW_WORD(d,i)): Readded.
29574 * native/jni/gtk-peer/gthread-jni.c:
29575 Use Glib macros to convert integers/pointers portably.
29577 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29579 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29580 as the fallback SPI.
29581 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29582 ones referencing GNU-CRYPTO classes.
29583 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29584 (engineValidate): Use GNU-CRYPTO class.
29585 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29586 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29587 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29588 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29589 * gnu/java/security/provider/DSAParameters: Likewise.
29590 * gnu/java/security/provider/DSASignature: Likewise.
29591 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29592 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29593 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29594 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29595 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29596 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29597 * gnu/java/security/provider/MD2withRSA: Likewise.
29598 * gnu/java/security/provider/MD4withRSA: Likewise.
29599 * gnu/java/security/provider/MD5: Likewise.
29600 * gnu/java/security/provider/MD5withRSA: Likewise.
29601 * gnu/java/security/provider/RSA: Likewise.
29602 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29603 * gnu/java/security/provider/SHA: Likewise.
29604 * gnu/java/security/provider/SHA1PRNG: Likewise.
29605 * gnu/java/security/provider/SHA1withRSA: Likewise.
29606 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29608 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29610 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29611 (engineGeneratePublic): Added logging.
29612 (engineGeneratePrivate): Likewise.
29613 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29614 (encodePublicKey): Added logging.
29615 Clarified in method documentation that params is optional, but is
29616 always NULL if present.
29617 (decodePublicKey): Added logging.
29618 Handle optional NULL element.
29620 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29622 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29624 2006-03-03 Tom Tromey <tromey@redhat.com>
29626 * java/awt/MenuBar.java (shortcuts): Genericized.
29628 2006-03-03 Tom Tromey <tromey@redhat.com>
29630 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29632 (getListenerType): Likewise.
29633 * java/beans/Introspector.java (getBeanInfo): Genericized.
29634 * java/beans/DefaultPersistenceDelegate.java (initialize):
29637 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29639 * java/math/BigDecimal.java:
29640 (precision): Fixed overflow problem with large numbers.
29641 (longValueExact): New method.
29642 (intValueExact): Likewise.
29643 (byteValueExact): Likewise.
29644 (shortValueExact): Likewise.
29646 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29648 * java/math/BigDecimal.java:
29649 (remainder(BigDecimal)): New method.
29650 (divideAndRemainder(BigDecimal)): Likewise.
29651 (divideToIntegralValue(BigDecimal)): Likewise.
29652 (floor): New implementation method.
29654 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29656 * java/math/BigDecimal.java:
29657 (divide(BigDecimal, int, RoundingMode)): New method.
29658 (divide(BigDecimal, RoundingMode)): Likewise.
29659 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29660 when the new scale is < 0.
29661 (setScale(int, RoundingMode)): New method.
29664 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29666 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29667 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29668 (add(BigDecimal, MathContext)): New method.
29669 (subtract(BigDecimal, MathContext)): Likewise.
29670 (precision): Fixed to correctly handle BigIntegers with more than 19
29672 (pow(int, MathContext)): New method.
29674 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29676 * java/math/BigDecimal.java: Added @throws clause to constructors.
29677 (mathContext): Removed this unneeded field.
29678 (BigDecimal(int, MathContext)): New constructor.
29679 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29680 (multiply(BigDecimal, MathContext)): New method.
29681 (negate(MathContext)): Likewise.
29682 (plus(MathContext)): Likewise.
29683 (numDigitsInLong): Fixed to properly handle negatives.
29685 2006-02-25 Chris Burdess <dog@gnu.org>
29687 * gnu/java/net/CRLFInputStream.java,
29688 gnu/java/net/LineInputStream.java: Streams that use mark
29689 capabilities on the underlying stream do not expose mark
29690 functionality themselves.
29691 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29694 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29696 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29697 option flags passed to match methods.
29698 (MF_FIND_ALL): New flag.
29699 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29700 do not try other possibilties once a match is found.
29701 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29702 so that all possibilities can be found.
29703 (match): Rewritten using new methods matchMinimum and _match.
29704 (_match): New method which performs a depth-first recursive search.
29705 (matchMinimum): New method.
29706 (initVisited), (visitedContains), (addVisited): New methods for
29707 manipulating an array of icharacter positions which _match has
29710 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29712 * java/math/BigDecimal.java:
29713 (BigDecimal(long, MathContext)): New constructor.
29714 (BigDecimal(BigInteger, MathContext)): Likewise.
29715 (BigDecimal(String, MathContext)): Likewise.
29716 (BigDecimal(double, MathContext)): Likewise.
29717 (round): Fixed a typo where the precision field was used instead of a
29718 call to the precision method, and also store the new precision in the
29719 returned BigDecimal.
29720 (abs(MathContext)): New method.
29722 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29724 * java/math/BigDecimal.java
29725 (toBigInteger): Fixed problem where this method couldn't handle
29726 negative values for scale.
29727 (toBigIntegerExact): New method.
29728 (stripTrailingZeros): Likewise.
29730 2006-02-24 David Daney <ddaney@avtrex.com>
29733 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29735 (Pool): New inner class.
29736 (timeLastUsed): New field.
29737 (setPool): Changed parameter type to Pool.
29738 (release): Moved pool management logic to new class Pool.
29739 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29741 (maxConnections) : Removed.
29742 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29743 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29745 2006-02-24 Lillian Angel <langel@redhat.com>
29747 * java/awt/Container.java:
29748 Added new field. True if Container has been cleared and
29749 heavyweights need to be repainted.
29750 (paint): Fixed comment. Fixed to use backCleared and
29752 (update): Set backCleared to true after the background
29753 of the container has been cleared.
29755 2006-02-24 Lillian Angel <langel@redhat.com>
29757 * java/awt/TextField.java
29758 (addNotify): Added call to super.
29760 2006-02-24 Lillian Angel <langel@redhat.com>
29762 * java/awt/Component.java
29763 (reshape): Reverted last patch. Should have check here.
29764 (addNotify): Added check. If parent is lightweight, then
29765 initialize listener on the parent.
29766 (HeavyweightInLightweightListener): New class.
29768 2006-02-24 Roman Kennke <kennke@aicas.com>
29770 * javax/swing/plaf/basic/BasicComboPopup.java
29771 (show): Register the popup with the autocloser after it has been
29772 opened completely, by putting the registration on the eventqueue.
29774 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29776 * gnu/java/security/prng/BasePRNG.java:
29777 (clone()): Added cast of buffer to byte[].
29778 * gnu/javax/crypto/mac/TMMH16.java:
29779 (clone()): Fixed casting of cloned arrays.
29780 * native/fdlibm/fdlibm.h:
29781 Added missing defines from old fdlibm.h needed by Darwin.
29782 (GET_FLOAT_WORD(i,d)): Re-added.
29783 (SET_FLOAT_WORD(d,i)): Re-added.
29785 2006-02-24 Roman Kennke <kennke@aicas.com>
29787 * java/awt/Container.java:
29788 (dispatcher): Removed field.
29789 (dispatchEventImpl): Removed lightweight dispatching.
29790 (addNotifyContainerChildren): Removed LightweightDispatcher
29792 (LightweightDispatcher): Removed class.
29793 * java/awt/LightweightDispatcher.java: New class.
29794 * java/awt/Toolkit.java
29795 (Toolkit): Install LightweightDispatcher in global listener
29798 2006-02-24 Chris Burdess <dog@gnu.org>
29801 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29804 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29806 * NEWS: Mentions the VMMath runtime changes.
29807 * doc/vmintegration.texinfo: Updated to include
29810 2006-02-24 Roman Kennke <kennke@aicas.com>
29812 * javax/swing/plaf/basic/BasicLookAndFeel.java
29813 (PopupHelper.autoClosePopups): New field.
29814 (PopupHelper.mousePressed): Also autoclose any registered popups.
29815 (PopupHelper.registerForAutoClose): New method.
29816 (PopupHelper.autoClosePopups): New method.
29817 (popupHelper): Changed type of field to PopupHelper.
29818 (registerForAutoClose): New method.
29819 * javax/swing/plaf/basic/BasicComboPopup.java
29820 (show): Register this popup for autoclosing.
29822 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29824 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29825 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29826 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29828 2006-02-24 Roman Kennke <kennke@aicas.com>
29830 Reported by Ingo Proetel <proetel@aicas.com>
29831 * java/util/logging/LogManager.java
29832 (addLogger): Search the parent loggers for log level
29833 configuration and inherit that.
29834 (readConfiguration): Provide minimal default configuration
29835 if no configuration can be found otherwise.
29837 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29839 * java/math/BigDecimal.java:
29840 (toString): Fixed a problem where the negative sign was being displayed
29841 twice in the exponent.
29842 (toEngineeringString): New method.
29843 (toPlainString): Likewise.
29846 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29848 * java/math/BigDecimal.java:
29849 (toString): Rewrote this method to behave as specified. Added API
29850 comments to explain behaviour.
29851 (scaleByPowerOfTen): New method.
29853 2006-02-23 Roman Kennke <kennke@aicas.com>
29855 * javax/swing/JRootPane.java
29856 (isOptimizedDrawingEnabled): Implemented to return true
29857 when the glassPane is not visible.
29859 2006-02-23 Roman Kennke <kennke@aicas.com>
29861 * javax/swing/plaf/basic/BasicLookAndFeel.java
29862 (PopupHelper): New inner class.
29863 (popupHelper): New field.
29864 (initialize): New method.
29865 (uninitialize): New method.
29866 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29867 (mouseInputListener): Removed field.
29868 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29869 handling of GlassPane.
29870 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29871 handling of GlassPane.
29872 (MouseInputHandler): Removed class.
29874 2006-02-23 Roman Kennke <kennke@aicas.com>
29876 * java/awt/AWTEvent.java
29877 (eventIdToMask): New utility method.
29878 * java/awt/EventQueue.java
29879 (dispatchEvent): Also globally dispatch events via the toolkit.
29880 (globalDispatchEvent): New method.
29881 * java/awt/Toolkit.java
29882 (awtEventListeners): New field.
29883 (Toolkit()): Initialize new field.
29884 (createComponent): Create GLightweightPeer here.
29885 (addAWTEventListener): Implemented and documented.
29886 (removeAWTEventListener): Implemented and documented.
29887 (getAWTEventListeners): Implemented and documented both method
29889 * java/awt/event/AWTEventListenerProxy.java
29890 (eventDispatched): Don't filter events here.
29892 2006-02-23 Chris Burdess <dog@gnu.org>
29895 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29896 gnu/xml/dom/JAXPFactory.java,
29897 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29898 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29899 implement DocumentBuilderFactory.get/setFeature methods.
29901 2006-02-23 Lillian Angel <langel@redhat.com>
29903 * gnu/java/awt/peer/GLightweightPeer.java
29904 (repaint): Scott's proposed fix. Send repaint to the
29905 component's parent.
29906 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29907 (setBounds): Removed next_parent, not needed. Removed
29908 lightweightChild, we always need to compensate for the
29910 * java/awt/Component.java
29911 (setBounds): Removed check. Caused lots of problems, because some
29912 components were not being invalidated. Components should be
29913 invalidated when they are resized or moved, and in some cases,
29914 when a parent is resized/moved, the components do not know
29915 about it and do not adjust.
29916 * java/awt/Graphics.java
29917 (hitClip): Scott's proposed fix. Added check to handle a
29920 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29922 * javax/print/attribute/standard/MediaSize.java:
29923 (media): Field renamed to mediaName for serialization.
29924 (MediaSize): Adapted to new fieldname.
29925 (getMediaSizeName): Likewise.
29926 * javax/print/attribute/HashAttributeSet.java:
29927 (interfaceName): Field renamed to myInterface for serialization.
29928 (HashAttributeSet): Adapted to the new fieldname.
29930 (addAll): Likewise.
29931 (addInternal): Likewise.
29932 (attributeMap): Made transient.
29933 (readObject): New serialization method.
29934 (writeObject): Likewise.
29935 * javax/print/attribute/AttributeSetUtilities.java:
29936 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29937 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29938 (SynchronizedAttributeSet.addAll): Likewise.
29939 (SynchronizedAttributeSet.clear): Likewise.
29940 (SynchronizedAttributeSet.containsKey): Likewise.
29941 (SynchronizedAttributeSet.containsValue): Likewise.
29942 (SynchronizedAttributeSet.equals): Likewise.
29943 (SynchronizedAttributeSet.get): Likewise.
29944 (SynchronizedAttributeSet.hashCode): Likewise.
29945 (SynchronizedAttributeSet.isEmpty): Likewise.
29946 (SynchronizedAttributeSet.remove): Likewise.
29947 (SynchronizedAttributeSet.size): Likewise.
29948 (SynchronizedAttributeSet.toArray): Likewise.
29949 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29950 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29951 (UnmodifiableAttributeSet.addAll): Likewise.
29952 (UnmodifiableAttributeSet.clear): Likewise.
29953 (UnmodifiableAttributeSet.containsKey): Likewise.
29954 (UnmodifiableAttributeSet.containsValue): Likewise.
29955 (UnmodifiableAttributeSet.equals): Likewise.
29956 (UnmodifiableAttributeSet.get): Likewise.
29957 (UnmodifiableAttributeSet.hashCode): Likewise.
29958 (UnmodifiableAttributeSet.isEmpty): Likewise.
29959 (UnmodifiableAttributeSet.remove): Likewise.
29960 (UnmodifiableAttributeSet.size): Likewise.
29961 (UnmodifiableAttributeSet.toArray): Likewise.
29962 * javax/print/attribute/standard/MediaPrintableArea.java:
29963 (width): Field renamed to w for serialization.
29964 (height): Field renamed to h for serialization.
29965 (MediaPrintableArea): Adapted to the new fieldnames.
29966 (MediaPrintableArea): Likewise.
29967 (equals): Likewise.
29968 (hashCode): Likewise.
29969 (getHeight): Likewise.
29970 (getWidth): Likewise.
29972 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
29974 * include/java_lang_VMMath.h:
29975 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29976 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29977 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29978 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29979 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29980 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29981 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29982 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29983 * java/lang/Math.java:
29984 (cbrt(double)): Implemented.
29985 (cosh(double)): Implemented.
29986 (expm1(double)): Implemented.
29987 (hypot(double,double)): Implemented.
29988 (log10(double)): Implemented.
29989 (log1p(double)): Implemented.
29990 (signum(double)): Implemented.
29991 (signum(float)): Implemented.
29992 (sinh(double)): Implemented.
29993 (tanh(double)): Implemented.
29994 * native/fdlibm/Makefile.am:
29995 Added new files from fdlibm 5.3.
29996 * native/fdlibm/e_acos.c,
29997 * native/fdlibm/e_asin.c,
29998 * native/fdlibm/e_atan2.c,
29999 * native/fdlibm/e_exp.c,
30000 * native/fdlibm/e_fmod.c,
30001 * native/fdlibm/e_log.c,
30002 * native/fdlibm/e_rem_pio2.c,
30003 * native/fdlibm/e_remainder.c,
30004 * native/fdlibm/e_scalb.c,
30005 * native/fdlibm/e_sqrt.c,
30006 * native/fdlibm/k_cos.c,
30007 * native/fdlibm/k_rem_pio2.c,
30008 * native/fdlibm/k_sin.c,
30009 * native/fdlibm/k_tan.c,
30010 * native/fdlibm/s_atan.c,
30011 * native/fdlibm/s_ceil.c,
30012 * native/fdlibm/s_copysign.c,
30013 * native/fdlibm/s_cos.c,
30014 * native/fdlibm/s_fabs.c,
30015 * native/fdlibm/s_finite.c,
30016 * native/fdlibm/s_floor.c,
30017 * native/fdlibm/s_rint.c,
30018 * native/fdlibm/s_scalbn.c,
30019 * native/fdlibm/s_sin.c,
30020 * native/fdlibm/s_tan.c,
30021 * native/fdlibm/w_acos.c,
30022 * native/fdlibm/w_asin.c,
30023 * native/fdlibm/w_atan2.c,
30024 * native/fdlibm/w_acos.c,
30025 * native/fdlibm/w_exp.c,
30026 * native/fdlibm/w_fmod.c,
30027 * native/fdlibm/w_log.c,
30028 * native/fdlibm/w_pow.c,
30029 * native/fdlibm/w_remainder.c,
30030 * native/fdlibm/w_sqrt.c:
30031 Updated to fdlibm 5.3.
30032 * native/fdlibm/e_cosh.c,
30033 * native/fdlibm/e_hypot.c,
30034 * native/fdlibm/e_log10.c,
30035 * native/fdlibm/e_sinh.c,
30036 * native/fdlibm/s_cbrt.c,
30037 * native/fdlibm/s_expm1.c,
30038 * native/fdlibm/s_log1p.c,
30039 * native/fdlibm/s_tanh.c,
30040 * native/fdlibm/w_cosh.c,
30041 * native/fdlibm/w_hypot.c,
30042 * native/fdlibm/w_log10.c,
30043 * native/fdlibm/w_sinh.c:
30044 Imported from fdlibm 5.3.
30045 * native/fdlibm/fdlibm.h:
30046 Imported from fdlibm 5.3 with Classpath additions.
30047 * native/fdlibm/namespace.h:
30048 Updated from new math_symbols file.
30049 * native/jni/java-lang/java_lang_VMMath.c:
30050 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30051 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30052 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30053 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30055 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30056 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30057 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30058 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30059 * scripts/math_symbols:
30060 Added tanh, expm1, log10 and log1p.
30061 * vm/reference/java/lang/VMMath.java:
30062 (cbrt(double)): Implemented.
30063 (cosh(double)): Implemented.
30064 (expm1(double)): Implemented.
30065 (hypot(double,double)): Implemented.
30066 (log10(double)): Implemented.
30067 (log1p(double)): Implemented.
30068 (sinh(double)): Implemented.
30069 (tanh(double)): Implemented.
30071 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30073 * javax/print/DocFlavor.java: Added documentation all over.
30074 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30075 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30076 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30077 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30078 (URL.TEXT_HTML_HOST): Likewise.
30079 (URL.TEXT_PLAIN_HOST): Likewise.
30080 (hostEncoding): Initialize with host default charset encoding.
30081 (mediaSubtype): Made transient.
30082 (mediaType): Likewise.
30083 (params): Made transient. Changed type to TreeMap.
30084 (className): Removed, changed to myClassName.
30085 (myClassName): New field as defined in serialized form.
30086 (DocFlavor): Adapted to new variable types, names.
30087 (parseMimeType): Reimplemented.
30088 (getParameter): Search with lowercase name.
30089 (getRepresentationClassName): Adapted to changed variable name.
30090 (hashCode): Likewise.
30091 (toString): Reimplemented.
30092 (readObject): New method for serialization.
30093 (writeObject): Likewise.
30095 2006-02-23 Roman Kennke <kennke@aicas.com>
30097 * javax/swing/RepaintManager.java
30098 (commitBuffer): Clip the repaint area with the current clip.
30100 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30102 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30103 (DEFAULT_PRIME_SIZE): Made public.
30104 (DEFAULT_EXPONENT_SIZE): Likewise.
30105 (setup): Handle DHParameterSpec as well.
30106 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30107 defaultFormat instead of Raw.
30108 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30109 (checkIsConstructed): Removed.
30110 (checkIsBigInteger): Likewise.
30111 (decodePublicKey): Use DerUtil.
30112 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30113 (checkIsConstructed): Removed.
30114 (checkIsBigInteger): Likewise.
30115 (decodePrivateKey): Use DerUtil.
30116 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30118 Added mappings for AlgorithmParameters.DH and
30119 AlgorithmParameterGenerator.DH.
30120 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30121 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30122 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30123 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30125 (engineGeneratePublic): Likewise.
30126 * gnu/java/security/util/DerUtil.java: New file.
30127 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30128 Include only valid RSA PKCS1 (v1.5) signature names.
30129 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30130 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30131 (checkIsConstructed): Likewise.
30132 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30133 (checkIsConstructed): Removed.
30134 (checkIsBigInteger): Likewise.
30135 (decodeSignature): Use DerUtil.
30136 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30137 (checkIsConstructed): Removed.
30138 (checkIsBigInteger): Likewise.
30139 (decodePublicKey): Use DerUtil.
30140 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30141 (checkIsConstructed): Removed.
30142 (checkIsBigInteger): Likewise.
30143 (decodePrivateKey): Use DerUtil.
30144 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30145 (checkIsConstructed): Removed.
30146 (checkIsBigInteger): Likewise.
30147 (decodePublicKey): Use DerUtil.
30148 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30149 (checkIsConstructed): Removed.
30150 (checkIsBigInteger): Likewise.
30151 (decodePrivateKey): Use DerUtil.
30152 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30153 (DEFAULT_MODULUS_LENGTH): Made it public.
30154 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30155 defaultFormat instead of Raw.
30156 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30157 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30158 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30160 (engineGeneratePublic): Likewise.
30161 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30163 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30165 * java/math/BigDecimal.java:
30166 (BigDecimal(char[], int, int, MathContext)): New constructor.
30167 (BigDecimal(char[], MathContext)): Likewise.
30168 (BigDecimal(char[])): Likewise.
30169 (BigDecimal(char[], int, int)): Likewise.
30170 (BigDecimal(String)): Fixed handling of exponent and scale.
30172 2006-02-22 Mark Wielaard <mark@klomp.org>
30174 * java/awt/Checkbox.java (setState): Check that state actually changed
30175 before calling peer.
30176 (dispatchEventImpl): Set new state if ItemEvent.
30177 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30178 (create): Set currentState.
30179 (setState): Make synchronized, check and set currentState before
30180 calling gtkToggleButtonSetActive.
30181 (postItemEvent): Make synchronized, check and set currentState before
30183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30184 (postItemEventID): Method now takes boolean.
30185 (item_toggled_cb): Likewise.
30187 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30189 * javax/swing/text/DefaultHighlighter.java:
30190 (changeHighlight): Added code to minimize the damaged area.
30192 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30194 * javax/swing/text/PlainView.java:
30195 (getPreferredSpan): Added missing 'break'.
30196 statement which corrects an unwanted fall through.
30197 (updateDamage): Update maxLineLength correctly when text is
30198 removed, call preferenceChanged accordingly.
30199 (viewToModel): Restrict line number to be within 0 and the
30200 number of elements-1.
30202 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30204 * javax/swing/text/Utilities.java:
30205 (getPositionAbove): Prefer first value by changing comparison
30207 (getPositionBelow): Dito.
30209 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30211 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30212 behavior when magic caret position is null.
30214 2006-02-22 Roman Kennke <kennke@aicas.com>
30216 * javax/swing/JTextField.java
30217 (isValidateRoot): New method.
30219 2006-02-22 Roman Kennke <kennke@aicas.com>
30221 * javax/swing/JEditorPane.java
30222 (getPreferredSize): Rewritten to behave like the reference impl.
30223 (getScrollableTracksViewportWidth): Likewise.
30224 (getScrollableTracksViewportHeight): Likewise.
30226 2006-02-22 Roman Kennke <kennke@aicas.com>
30228 * javax/swing/RepaintManager.java
30229 (addInvalidComponent): Also consider the component itself.
30231 2006-02-22 Mark Wielaard <mark@klomp.org>
30233 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30234 qualify AbstractDocument.AttributeContext.
30235 (blockOpen): Likewise.
30237 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30239 * java/math/BigDecimal.java:
30240 (mathContext): New field.
30241 (precision): Likewise.
30242 (BigDecimal(int)): New constructor.
30243 (BigDecimal(long)): Likewise.
30244 (BigDecimal(BigInteger)): Added API docs.
30245 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30246 and added API docs.
30247 (plus): New method.
30249 (precision): Likewise.
30250 (valueOf): Likewise.
30251 (numDigitsInLong): New implementation method.
30253 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30255 * java/math/MathContext.java: New class.
30256 * java/math/RoundingMode: New Enum.
30258 2006-02-21 Mark Wielaard <mark@klomp.org>
30260 * java/awt/Component.java (translateEvent): Translate
30261 AdjustmentEvents to 1.0 Events.
30262 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30263 Call setValue() before processing event.
30264 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30265 whether we are currently changing and being called back from the
30266 Scrollbar component.
30267 (setBarValues): New native method.
30268 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30269 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30270 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30271 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30272 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30274 2006-02-21 Roman Kennke <kennke@aicas.com>
30276 * javax/swing/text/View.java
30277 (setParent): Set child parent to null when disconnecting
30278 the view from the View hierarchy.
30280 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30282 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30284 2006-02-21 Roman Kennke <kennke@aicas.com>
30286 * javax/swing/text/WrappedPlainView.java
30287 (calculateBreakPosition): Changed to use the view's allocation instead
30288 of the container's preferredSize.
30290 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30292 * java/awt/CardLayout.java:
30293 (first): Updated api documentation.
30296 (previous): Likewise.
30297 (show): Clarified api docs. Return if name is null. Throw
30298 IllegalArgumentException if layout of container is not this.
30299 (gotoComponent): Updated api documentation. Throw
30300 IllegalArgumentException if layout of container is not this.
30302 2006-02-21 Roman Kennke <kennke@aicas.com>
30304 * javax/swing/text/NavigationFilter.java
30305 (getNextVisualPositionFrom): New method.
30307 2006-02-21 Roman Kennke <kennke@aicas.com>
30309 * javax/swing/plaf/basic/BasicTextUI.java
30310 (RootView.setView): Call setParent() on the view with this as
30311 argument instead of null.
30312 (setView): Don't set root view's parent here.
30314 2006-02-21 Roman Kennke <kennke@aicas.com>
30316 * javax/swing/text/AbstractDocument.java
30317 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30318 the resolving parent.
30319 (AbstractElement.getResolveParent): Fixed to handle possible null
30321 * javax/swing/text/BoxView.java
30322 (childReqs): New field.
30323 (paint): Added debugging code (commented out).
30324 (getPreferredSpan): Rewritten to use new update* methods.
30325 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30326 for the minor axis and preferredSpan for the major axis.
30327 (getMinimumSpan): Rewritten to use new update* methods.
30328 (baselineRequirements): Rewritten to avoid creation of
30329 unnecessary SizeRequirements objects.
30330 (baselineLayout): Rewritten to use new update* methods.
30331 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30332 unnecessary SizeRequirements objects.
30333 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30334 unnecessary SizeRequirements objects.
30335 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30337 (layoutMajorAxis): Rewritten to use new update* methods.
30338 (layoutMinorAxis): Rewritten to use new update* methods.
30339 (getChildRequirements): Replaced by the update* methods.
30340 (getAlignment): Use update* methods.
30341 (updateChildRequirements): New methods. Updates the child requirements
30343 (updateRequirements): New methods. Updates the BoxView requirements
30345 * javax/swing/text/DefaultStyledDocument.java
30346 (ElementBuffer.insert): Added warning for illegal replacement operation.
30347 * javax/swing/text/FlowView.java
30348 (layoutRow): When offset doesn't change, return -1.
30349 (LogicalView): Now subclasses BoxView.
30350 (loadChildren): Let the CompositeView.setParent() load the children
30351 of the logicalView.
30352 (calculateMinorRequirements): New overridden method.
30353 * javax/swing/text/GlyphView.java
30354 (DefaultGlyphPainter.paint): Fixed typo.
30355 (startOffset): Made field private.
30356 (endOffset): Made field private.
30357 (paint): Call getStartOffset() and getEndOffset() instead of the
30359 (isStrikeThrough): Fixed typo.
30360 (breakView): Use Utilities.getBreakLocation() to determine best
30362 (changedUpdate): Call preferencedChange on this instead of parent.
30363 (removeUpdate): Call preferencedChange on this instead of parent.
30364 * javax/swing/text/ParagraphView.java
30365 (Row.getAlignment): For Y_AXIS, call super.
30366 (getAlignment): Likewise.
30367 * javax/swing/text/Utilities.java
30368 (getBreakLocation): Set Segment object directly on the BreakIterator.
30369 * javax/swing/text/html/HTML.java
30370 (Attribute): Made class non-serializable and final as specified.
30371 (Attribute(String)): Made constructor private.
30372 (Attribute.compareTo): Removed.
30373 (Attribute.equals): Removed.
30374 (Attribute.hashCode): Removed.
30375 (Tag): Made class non-comparable and non-serializable as specified.
30376 (Tag.compareTo): Removed.
30377 (Tag.equals): Removed.
30378 (Tag.hashCode): Removed.
30379 * javax/swing/text/html/HTMLDocument.java
30380 (HTMLReader.blockOpen): Add tag as name attribute to element.
30381 * javax/swing/text/html/HTMLEditorKit.java
30382 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30384 * javax/swing/text/html/InlineView.java
30385 (setPropertiesFromAttributes): Call super.
30386 * javax/swing/text/html/NullView.java: New class.
30388 2006-02-21 Roman Kennke <kennke@aicas.com>
30391 * javax/swing/text/GapContent.java
30392 (GapContentPosition): Made class private.
30393 (InsertUndo): Made class private.
30394 (UndoRemove): Made class private.
30395 (WeakPositionComparator): New inner class.
30396 (positions): Made field private.
30397 (createPosition): Clear up GC'ed positions before creating
30398 a new one. Store position as WeakReference.
30399 (getPositionsInRange): Changed to handle WeakReference
30401 (setPositionsInRange): Changed to handle WeakReference
30403 (adjustPositionsInRange): Changed to handle WeakReference
30405 (dumpPositions): Handle WeakReference positions.
30406 (clearPositionReferences): New method.
30408 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30410 * javax/swing/plaf/basic/BasicTextUI.java:
30411 (paint): Remove unneccessary part of the if-expression.
30412 (damageRange): Added case where the range spans multiple lines.
30413 * javax/swing/text/DefaultCaret.java:
30414 (clearHighlight): New method.
30415 (handleHighlight): Removed unneccessary part of the if-expression.
30416 (setDot): Use clearHighlight method.
30417 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30419 (paint): Prevented calling size() on every loop iteration, fixed
30420 calculation of allocation area bounds.
30421 (getHighlights): Implemented.
30422 (removeHighlight): Mark damaged area in textcomponent.
30423 (addHighlight): Mark damaged area in textcomponent.
30424 (changeHighlight): Mark damaged area in textcomponent.
30425 (DefaultHighlighter.HighlightEntry): Made it a real
30426 Highlighter.Highlight implementation.
30427 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30430 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30432 * java/util/zip/ZipConstants.java
30433 (LOCSIG): Change type to long.
30434 (EXTSIG): Likewise.
30435 (CENSIG): Likewise.
30436 (ENDSIG): Likewise.
30437 * java/util/zip/ZipOutputStream.java
30438 (writeLeInt(long)): New method.
30440 2006-02-21 Michael Koch <konqueror@gmx.de>
30442 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30444 2006-02-20 Mark Wielaard <mark@klomp.org>
30446 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30447 (begin_drawing_operation): Output stacktrace and return on bad cairo
30449 (end_drawing_operation): Likewise. And reset cairo_t.
30451 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30453 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30454 in backward selection action.
30456 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30458 * java/lang/reflect/Proxy.java:
30459 (ProxyData.getProxyData): Skipped overriding of core methods.
30460 (ProxyData.isCoreObjectMethod): New method.
30462 2006-02-20 Mark Wielaard <mark@klomp.org>
30464 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30466 2006-02-20 Roman Kennke <kennke@aicas.com>
30468 * javax/swing/text/html/Option.java: New class.
30470 2006-02-20 Lillian Angel <langel@redhat.com>
30472 * java/swt/Window.java
30473 (show): Calling show() on the owned windows caused problems.
30474 Changed back to get the peer and call setVisible.
30476 2006-02-20 Roman Kennke <kennke@aicas.com>
30478 * javax/swing/plaf/basic/BasicTextUI.java
30479 (damageRange): Implemented this method.
30481 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30483 * javax/swing/text/GapContent.java:
30484 (shiftGapEndUp): Corrected new mark value.
30485 * javax/swing/text/AbstractDocument.java:
30486 (remove): Changed order of operations.
30488 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30490 * javax/swing/text/GapContent.java:
30491 (shiftGapEndUp): Reverted.
30492 * javax/swing/text/AbstractDocument.java:
30493 (remove): Reverted.
30495 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30497 * javax/swing/text/GapContent.java:
30498 (shiftGapEndUp): Corrected new mark value.
30499 * javax/swing/text/AbstractDocument.java:
30500 (remove): Changed order of operations.
30502 2006-02-20 Mark Wielaard <mark@klomp.org>
30504 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30506 (insert): Likewise.
30507 (addNotify): Add the item after addNotifying it.
30508 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30509 there is a peer. Use getParent() and setParent() to manipulate parent
30511 (add(Menu)): Use getParent() and setParent() to manipulate parent
30512 field. Call addNotify() and addMenu() when there is a peer.
30513 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30514 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30515 when there is a peer.
30516 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30517 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30518 (setFont): Call setFont(Font).
30519 (setFont(Font)): Document. Only set font when not null.
30520 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30522 (connectSignals): Likewise.
30523 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30525 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30527 (postMenuActionEvent): Document.
30528 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30530 (addItem): Document. Made private.
30531 (addTearOff): Made private.
30532 (connectSignals): New protected overridden method.
30533 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30534 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30535 (create): Document.
30536 (addMenu): Made private, take GtkMenuPeer as argument and document.
30537 (GtkMenuBarPeer): Document.
30538 (nativeSetHelpMenu): Removed.
30539 (addHelpMenu): Implement.
30540 (delMenu): Document.
30541 (addMenu): Implement.
30542 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30543 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30544 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30545 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30548 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30550 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30551 Expect that proxy interfaces may have different class loaders.
30552 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30553 * java/rmi/registry/Registry.java,
30554 * java/rmi/server/UnicastRemoteObject.java:
30555 Documented about proxy stubs.
30556 * gnu/java/rmi/server/CombinedClassLoader.java,
30557 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30558 * NEWS: Added entry.
30560 2006-02-19 Mark Wielaard <mark@klomp.org>
30562 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30563 Parent and Bounds of our children if either or parent is showing, or
30564 we are a Window and are showing ourselves now.
30566 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30568 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30570 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30571 Another stub name fix.
30573 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30575 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30576 Call convertStubName. (convertStubName): New method.
30577 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30578 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30579 (convertStubName): New method.
30580 (getMethodHashCode):
30581 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30582 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30584 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30586 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30588 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30590 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30592 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30594 * javax/swing/JViewport.java (paintBackingStore): If the component has
30595 not been scrolled, only repaint the buffer part, indicated by
30596 the parameter graphics clip.
30598 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30600 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30602 (writePrivateKey): Likewise.
30603 (writeKey): New method.
30604 (getKeyType): Likewise.
30605 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30607 (readPrivateKey): Likewise.
30608 (getKeyPairCodec): New method.
30609 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30610 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30611 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30612 (RSA_PSS_ENCODING): Likewise..
30613 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30614 (RSA_PSS_SIG): Redefined using other constants.
30615 (RSA_PKCS1_V1_5_SIG): Likewise.
30616 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30617 * gnu/java/security/util/FormatUtil.java: New file.
30618 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30619 (getInstance): Let RSASignatureFactory handle RSA signature names.
30620 (getNames): Handle new RSA signature (with format) names.
30621 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30622 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30624 (name): Include hash algorithm name.
30625 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30626 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30627 (RSAPSSSignature): Call constructor with IMessageDigest.
30628 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30629 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30631 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30633 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30634 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30635 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30636 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30637 hash algorithm name to exception.
30638 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30639 * gnu/java/security/key/KeyPairCodecFactory.java
30640 (names): New class field.
30641 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30642 (getInstance(String,String)): New method.
30643 (getInstance(String,int)): New method.
30644 (getInstance(byte[])): Removed.
30645 (getInstance(Key)): Handle new formats.
30646 (getNames): Likewise.
30647 (getEncodingName(int)): Moved to FormatUtil.
30648 (getEncodingShortName(int)): Likewise.
30649 (getRawCodec(String)): New method.
30650 (getX509Codec(String)): Likewise.
30651 (getPKCS8Codec(String)): Likewise.
30652 (getRawCodec(Key)): Likewise.
30653 (getX509Codec(Key)): Likewise.
30654 (getPKCS8Codec(Key)): Likewise.
30655 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30656 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30657 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30658 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30659 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30660 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30661 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30662 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30663 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30665 2006-02-18 Mark Wielaard <mark@klomp.org>
30667 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30669 (NoDragGestureRecognizer): New static class.
30670 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30671 Toolkit doesn't support drag and drop.
30673 2006-02-18 Mark Wielaard <mark@klomp.org>
30675 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30676 (AbstractAction(String)): Just call putValue() for NAME.
30677 (putValue): Nothing to do is old and new value are both null.
30679 2006-02-18 Mark Wielaard <mark@klomp.org>
30681 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30682 through getContentPane().
30683 (preferredLayoutSize): Likewise.
30685 2006-02-18 Mark Wielaard <mark@klomp.org>
30687 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30688 actually set before painting.
30690 2006-02-18 Mark Wielaard <mark@klomp.org>
30692 * javax/swing/text/html/HTMLDocument.java (addContent):
30693 Fully qualify AbstractDocument.AttributeContext and
30694 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30696 2006-02-18 Mark Wielaard <mark@klomp.org>
30698 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30699 (getRepresentationClassFromMime): Add exception cause to
30700 IllegalArgumentException.
30702 2006-02-17 Lillian Angel <langel@redhat.com>
30704 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30705 Removed unneeded import.
30706 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30707 Removed unneeded imports.
30708 * java/awt/BorderLayout.java:
30709 Fixed comment, this is not yet handled in the JDK 1.5.
30710 * java/awt/Container.java:
30711 Removed unneeded import.
30713 2006-02-17 Lillian Angel <langel@redhat.com>
30715 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30716 (setBounds): Removed check. Coordinates should always be changed
30717 to incorporate the parent's coordinates.
30718 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30719 (setMenuBar): Added checks. Don't validate component if it has
30720 not been validated yet, it will be validated later. Only validate
30721 if it has already been validated, in that case it needs to be
30723 * java/awt/Window.java
30724 (show): Added check. If the window is visible, then bring it to the
30725 front. Otherwise, iterate through all its children windows and show them.
30726 No need to do both.
30728 2006-02-17 Roman Kennke <kennke@aicas.com>
30730 * javax/swing/text/html/ParagraphView.java: New file.
30732 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30734 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30735 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30736 same location where was the initial text.
30737 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30739 2006-02-17 Chris Burdess <dog@gnu.org>
30741 Fixes PRs 26319, 26320, 26321, 26322, 26325
30742 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30743 rethrowing exception.
30744 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30745 1.1-style prefix unbinding in 1.0 document" error for xmlns
30746 prefixes, not xmlns attributes. Fix a problem with empty namespace
30747 stack at the end of a document. Permit parameter entity references
30748 in element and attribute-list definition name area. Corrected
30749 normalisation of whitespace character entity references in CDATA
30750 attribute values. Fixed number of characters read following a
30751 reset when detecting end of character data with characters after a
30752 Unicode surrogate pair.
30754 2006-02-17 Roman Kennke <kennke@aicas.com>
30756 * javax/swing/text/html/HTMLEditorKit.java
30757 (HTMLFactory.create): Create InlineView for content tags.
30758 * javax/swing/text/html/HTMLDocument.java
30759 (HTMLReader.flush): Call create() on first flush and insert
30760 on subsequent flushes.
30762 2006-02-17 Roman Kennke <kennke@aicas.com>
30764 * javax/swing/text/AbstractDocument.java
30765 (BranchElement.getStartOffset): Implemented workaround for wrong
30767 (BranchElement.getEndOffset): Implemented workaround for wrong
30769 (ElementBuffer.split): Use createBranchElement() instead of
30770 new BranchElement().
30771 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30772 new BranchElement().
30773 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30774 instead of new BranchElement().
30775 (createDefaultRoot): Use createBranchElement() and createLeafElement
30776 instead of the constructors.
30777 (create): Rewritten.
30779 2006-02-17 Keith Seitz <keiths@redhat.com>
30781 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30782 (SIZE): New constant.
30783 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30784 (executeIDsizes): Use SIZE constant.
30785 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30786 (SIZE): New constant.
30788 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30790 * javax/swing/JTable.java (IconCellRenderer): Set the component
30791 text to empty string. (createDefaultRenderers): Register
30792 IconCellRenderer also for ImageIcon.
30793 (getCellEditor(int, int), getCellRenderer(int, int)):
30794 Use model index for data model and column index for column model.
30795 (getColumnClass): Convert to model index before requesting class
30798 2006-02-17 Roman Kennke <kennke@aicas.com>
30800 * javax/swing/text/html/HTMLDocument.java
30801 (createDefaultRoot): Implemented.
30802 (createLeafElement): Implemented.
30803 (createBranchElement): Implemented.
30804 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30805 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30806 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30807 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30808 (HTMLReader.blockOpen): Add name attribute with the current tag.
30809 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30811 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30813 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30815 * javax/swing/table/JTableHeader.java: Documenting related methods.
30817 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30820 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30821 (connect): Changed to use SystemProperties.
30822 (getInputStream): Try changeWorkingDirectory to figure out if
30823 url is a directory, if not use retrieve.
30824 (getOutputStream): Don't worry about directories, simply always
30827 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30829 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30830 (ActiveModeDTP): Mark accept thread as daemon.
30832 2006-02-17 Michael Koch <konqueror@gmx.de>
30834 * tools/.cvsignore: Ignore tools.zip.
30836 2006-02-16 Keith Seitz <keiths@redhat.com>
30838 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30839 Set the ID's reference.
30840 (<clinit>): Remove comments for field, method, and frame ID types,
30841 which will not be handled by VMIdManager.
30843 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30845 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30846 Use model index, not the column number.
30847 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30848 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30849 movement by painting draggingHeaderRect.
30850 * NEWS: Added entry about JTable columns.
30852 2006-02-16 Keith Seitz <keiths@redhat.com>
30854 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30855 default size of eight bytes.
30856 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30857 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30858 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30859 (executeIDsizes): Use new static methods.
30860 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30863 2006-02-16 David Daney <ddaney@avtrex.com>
30866 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30867 return value with 0xff.
30869 2006-02-16 Keith Seitz <keiths@redhat.com>
30871 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30872 (matches): Use Iterator instead of ListIterator.
30874 2006-02-16 Keith Seitz <keiths@redhat.com>
30876 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30877 processor thread for easier debugging.
30878 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30881 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30883 * javax/swing/JTable.java
30884 (TableColumnPropertyChangeHandler.propertyChange): Return without
30885 action if table header resizing column in not null. (doLayout):
30886 Only repaint the header if it is not null.
30887 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30888 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30889 Rewritten. (MouseInputHandler.endResizing): New method.
30891 2006-02-16 Roman Kennke <kennke@aicas.com>
30893 * javax/swing/text/html/InlineView.java: New file.
30895 2006-02-16 Roman Kennke <kennke@aicas.com>
30897 * javax/swing/JTabbedPane.java
30898 (AccessibleJTable.getAccessibleChild): Implemented to return
30899 the Page instance for the specified index.
30900 (Page): Changed to implement Accessible and extend
30902 (Page.getAccessibleContext): New method.
30903 (Page.getAccessibleRole): New method.
30904 (Page.getAccessibleStateSet): New method.
30905 (Page.getAccessibleIndexInParent): New method.
30906 (Page.getAccessibleChildrenCount): New method.
30907 (Page.getAccessibleChild): New methdod.
30908 (Page.getLocale): New method.
30910 2006-02-16 Roman Kennke <kennke@aicas.com>
30912 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30913 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30914 tabCount gets greater than tabRuns.length.
30915 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30916 when tabCount gets greater than tabRuns.length.
30917 (paintTabArea): Don't set tabCount == runCount.
30919 2006-02-16 Roman Kennke <kennke@aicas.com>
30921 * javax/swing/plaf/basic/BasicTextUI.java
30922 (installUI): Moved installation of PropertyChangeListener
30923 to installListeners(). Call modelChanged() after everything is
30925 (installListeners): Install PropertyChangeListener here.
30926 (uninstallUI): Moved uninstallation of PropertyChangeListener
30927 to uninstallListeners.
30928 (uninstallListeners): Uninstall PropertyChangeListener here.
30930 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30932 * javax/swing/JTable.java (doLayout):
30933 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30935 javax/swing/plaf/basic/BasicTableHeaderUI.java
30936 (MouseInputHandler.mouseDragged): Do not repaint the header.
30938 2006-02-16 Roman Kennke <kennke@aicas.com>
30940 * javax/swing/JViewport.java
30941 (static_initializer): Set default scrollMode to backingstore.
30943 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30945 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30946 returned by getCellRect. To not translate the component.
30948 2006-02-16 Roman Kennke <kennke@aicas.com>
30950 * javax/swing/JComponent.java
30951 (rectCache): Made field non-static to avoid nasty interferences.
30952 (computeVisibleRect): Avoid creation of new Rectangles and double
30953 calculations on ints by using Swing.computeIntersection() instead
30954 of Rectangle2D.intersect().
30955 (repaint): Interect the dirty region with the visible rectangle
30956 of this component to avoid unnecessary painting.
30958 2006-02-16 Gary Benson <gbenson@redhat.com>
30960 * java/lang/Thread.java (stop): Add a missing access check.
30962 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
30964 * javax/swing/text/JTextComponent.java:
30965 (replaceSelection): Added code to update the magic caret position.
30966 * javax/swing/text/DefaultEditorKit.java: Added code to update
30967 the magic caret position of the text component in all relevant
30968 movement actions, make use of the magic caret position in up
30969 and down movements and selections, simplified some actions
30972 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
30974 * gnu/java/lang/CharData.java: Regenerated from
30975 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30976 and scripts/unicode-muncher.pl.
30977 * java/lang/Character.java:
30978 (PrivateUseCharacters): New private static class.
30979 (UnassignedCharacters): Likewise.
30980 (blocks): Changed from char[] to char[][] to reflect the changes in
30981 gnu/java/lang/CharData. There is now one char[] per Unicode code
30984 (numValue): Likewise.
30987 (direction): Likewise.
30988 (readChar): Replaced this method with new method readCodePoint.
30989 (readCodePoint): New method.
30990 (isLowerCase(char)): Redirected to new isLowerCase(int).
30991 (isLowerCase(int)): New method.
30992 (isUpperCase(char)): Redirected to new isUpperCase(int).
30993 (isUpperCase(int)): New method.
30994 (isTitleCase(char)): Redirected to new isTitleCase(int).
30995 (isTitleCase(int)): New method.
30996 (isDigit(char)): Redirected to new isDigit(int).
30997 (isDigit(int)): New method.
30998 (isDefined(char)): Redirected to new isDefined(int).
30999 (isDefined(int)): New method.
31000 (isLetter(char)): Redirected to new isLetter(int).
31001 (isLetter(int)): New method.
31002 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31003 (isLetterOrDigit(int)): New method.
31004 (isJavaIdentifierStart(char)): Redirected to new
31005 isJavaIdentifierStart(int).
31006 (isJavaIdentifierStart(int)): New method.
31007 (isJavaIdentifierPart(char)): Redirected to new
31008 isJavaIdentifierPart(int).
31009 (isJavaIdentifierPart(int)): New method.
31010 (isUnicodeIdentifierStart(char)): Redirected to new
31011 isUnicodeIdentifierStart(int).
31012 (isUnicodeIdentifierStart(int)): New method.
31013 (isUnicodeIdentifierPart(char)): Redirected to new
31014 isUnicodeIdentifierPart(int).
31015 (isUnicodeIdentifierPart(int)): New method.
31016 (isIdentifierIgnorable(char)): Redirected to new
31017 isIdentifierIgnorable(int).
31018 (isIdentifierIgnorable(int)): New method.
31019 (toLowerCase(char)): Changed access to lower to correspond with new
31020 char[][] type of lower.
31021 (toLowerCase(int)) New method.
31022 (toUpperCase(char)): Changed access to upper to correspond with new
31023 char[][] type of upper.
31024 (toUpperCase(int)): New method.
31025 (toTitleCase(int)): New method.
31026 (digit(char, int)): Replaced call to readChar with call to
31027 readCodePoint and changed access to numValue to reflect new char[][]
31029 (digit(int, int)): New method.
31030 (getNumericValue(char)): Changed access to numValue to reflect new
31031 char[][] type of numValue.
31032 (getNumericValue(int)): New method.
31033 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31034 (isSpaceChar(int)): New method.
31035 (isWhitespace(char)): Redirected to new isWhitespace(int).
31036 (isWhitespace(int)): New method.
31037 (isISOControl(char)): Redirected to new isISOControl(int).
31038 (isISOControl(int)): New method.
31039 (getType(char)): Redirected to new getType(int).
31040 (getType(int)): New method.
31041 (getDirectionality(char)): Redirected to new getDirectionality(int).
31042 (getDirectionality(int)): New method.
31043 (isMirrored(char)): Changed call to readChar to readCodePoint.
31044 (isMirrored(int)): New method.
31045 * java/lang/String.java:
31046 (upperCaseExpansion): Changed access to Character.direction to reflect
31047 new char[][] type of direction.
31048 (offsetByCodePoints): New method.
31049 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31050 4.0.0 which introduced supplementary character assignments.
31052 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31054 * javax/swing/JTable.java,
31055 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31056 javax/swing/table/DefaultTableModel.java: Documented.
31058 2006-02-15 Lillian Angel <langel@redhat.com>
31060 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31061 Removed duplicate methods.
31063 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31065 * javax/swing/JTable.java (distributeSpillResizing): New method.
31066 (doLayout): Use distributeSpillResizing when resizing.
31067 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31068 Rewritten. (installListeners): Add mouse motion listener.
31069 (uninstallListeners): Remove mouse motion listener.
31071 2006-02-15 Lillian Angel <langel@redhat.com>
31073 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31074 (setVisible): Removed method.
31075 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31076 (setLocation): New method.
31077 (setLocationUnlocked): New method.
31078 (show): Changed to use setLocation instead of setBounds.
31079 * java/awt/Component.java
31080 (show): Should call peer.show(), not peer.setVisible(), so the
31081 location of the component is correctly set.
31082 (preferredSize): Added curly braces so else statements are
31083 properly associated with if's.
31084 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31085 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31087 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31088 LocationUnlocked): New function.
31089 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31090 Added declarations for Java_gnu_java_awt_peer_gtk_
31091 GtkWindowPeer_nativeSetLocation and
31092 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31093 _nativeSetLocationUnlocked.
31095 2006-02-15 Mark Wielaard <mark@klomp.org>
31097 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31098 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31099 Downcast gtk_plug_new result when used.
31101 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31103 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31104 Call assignNewHandle() after writing Proxy class.
31106 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31109 * java/io/ObjectInputStream.java (readClassDescriptor):
31110 Class doesn't have to be abstract for first_nonserial.
31112 2006-02-15 Roman Kennke <kennke@aicas.com>
31114 * javax/swing/JInternalFrame.java
31115 (setClosed): Call dispose to actually make the frame invisible
31118 2006-02-15 Roman Kennke <kennke@aicas.com>
31120 * javax/swing/JInternalFrame.java
31121 (dispose): Call setVisible(false) instead of hide.
31122 (doDefaultCloseOperation): Likewise.
31124 2006-02-15 Roman Kennke <kennke@aicas.com>
31126 * javax/swing/JComponent.java
31127 (paintChildren): Also check for the visibility of a child component
31128 to avoid artifacts.
31129 (repaint): Simply add this component to the RepaintManager rather than
31130 trying to do useless optimization here.
31132 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31134 * javax/swing/JSpinner.java
31135 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31136 PropertyChangeListener,
31137 (DefaultEditor.getSpinner): Updated API docs,
31138 (DefaultEditor.dismiss): Likewise,
31139 (DefaultEditor.getTextField): Likewise,
31140 (DefaultEditor.layoutContainer): Likewise,
31141 (DefaultEditor.minimumLayoutSize): Likewise,
31142 (DefaultEditor.preferredLayoutSize): Likewise,
31143 (DefaultEditor.propertyChange): Implemented,
31144 (DefaultEditor.stateChanged): Implemented,
31145 (DefaultEditor.removeLayoutComponent): Updated API docs,
31146 (DefaultEditor.addLayoutComponent): Likewise,
31147 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31148 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31149 (NumberEditor.getFormat): Implemented,
31150 (NumberEditor.getModel): Updated API docs,
31151 (NumberEditorFormatter): New static inner class,
31152 (ListEditor.getModel): Updated API docs,
31153 (DateEditor.dateFormat): Removed,
31154 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31155 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31156 (DateEditor.init): Removed,
31157 (DateEditor.getFormat): Reimplemented,
31158 (DateEditorFormatter): New static inner class,
31159 (ModelListener): New inner class,
31160 (model): Updated API docs,
31161 (editor): Likewise,
31162 (listener): Removed,
31163 (JSpinner()): Updated API docs,
31164 (JSpinner(SpinnerModel)): Set up ModelListener,
31165 (setEditor): Fire property change,
31166 (getModel): Updated API docs,
31167 (setModel): Removed check for null editor,
31168 (setValue): Updated API docs,
31169 (getUIClassID): Updated API docs,
31170 (createEditor): Handle SpinnerListModel case,
31171 * javax/swing/plaf/basic/BasicSpinnerUI.java
31172 (createUI): Updated API docs,
31173 (createPropertyChangeListener): Added FIXME,
31174 (installDefaults): Set text field border to null,
31175 (DefaultLayoutManager): Updated API docs,
31176 (DefaultLayoutManager.layoutContainer): Modified layout,
31177 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31178 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31179 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31180 (DefaultLayoutManager.addLayoutComponent): Likewise,
31181 (DefaultLayoutManager.minSize): Renamed prefSize,
31182 (DefaultLayoutManager.setBounds): Reformatted,
31183 (DefaultLayoutManager.editor): Added API docs,
31184 (DefaultLayoutManager.next): Likewise,
31185 (DefaultLayoutManager.previous): Likewise,
31186 * javax/swing/plaf/metal/MetalLookAndFeel.java
31187 (initComponentDefaults): Added entry for 'Spinner.border',
31188 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31190 2006-02-15 Chris Burdess <dog@gnu.org>
31192 * gnu/xml/validation/datatype/BooleanType.java,
31193 gnu/xml/validation/datatype/ByteType.java,
31194 gnu/xml/validation/datatype/DateTimeType.java,
31195 gnu/xml/validation/datatype/DateType.java,
31196 gnu/xml/validation/datatype/DecimalType.java,
31197 gnu/xml/validation/datatype/DoubleType.java,
31198 gnu/xml/validation/datatype/DurationType.java,
31199 gnu/xml/validation/datatype/FloatType.java,
31200 gnu/xml/validation/datatype/GDayType.java,
31201 gnu/xml/validation/datatype/GMonthDayType.java,
31202 gnu/xml/validation/datatype/GMonthType.java,
31203 gnu/xml/validation/datatype/GYearMonthType.java,
31204 gnu/xml/validation/datatype/GYearType.java,
31205 gnu/xml/validation/datatype/IntType.java,
31206 gnu/xml/validation/datatype/IntegerType.java,
31207 gnu/xml/validation/datatype/LongType.java,
31208 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31209 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31210 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31211 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31212 gnu/xml/validation/datatype/NegativeIntegerType.java,
31213 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31214 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31215 gnu/xml/validation/datatype/PositiveIntegerType.java,
31216 gnu/xml/validation/datatype/ShortType.java,
31217 gnu/xml/validation/datatype/SimpleType.java,
31218 gnu/xml/validation/datatype/TimeType.java,
31219 gnu/xml/validation/datatype/TypeBuilder.java,
31220 gnu/xml/validation/datatype/UnsignedByteType.java,
31221 gnu/xml/validation/datatype/UnsignedIntType.java,
31222 gnu/xml/validation/datatype/UnsignedLongType.java,
31223 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31224 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31225 minInclusive facets use the value space of the base type, and
31228 2006-02-15 Mark Wielaard <mark@klomp.org>
31230 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31231 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31232 gtk_plug_new() returns a GtkWindow.
31234 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31236 * javax/swing/SpinnerNumberModel.java
31237 (getNextValue): Check for null maximum,
31238 (getPreviousValue): Check for null minimum.
31240 2006-02-15 Roman Kennke <kennke@aicas.com>
31242 * javax/swing/plaf/basic/BasicTableUI.java
31243 (paint): Paint vertical and horizontal lines one pixel shifted
31246 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31248 * java/util/zip/ZipFile.java
31249 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31250 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31251 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31252 (readEntries): Rewritten to use PartialInputStream.
31253 (locBuf, checkLocalHeader): Removed.
31254 (getInputStream): Rewritten to use new PartialInputStream.
31255 (PartialInputStream): Rewritten to do buffering.
31257 2006-02-15 Michael Koch <konqueror@gmx.de>
31259 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31260 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31261 Make sure the embedded window gets no decorations.
31262 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31263 (window_get_frame_extents): Return early of the window has no
31266 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31268 * examples/gnu/classpath/examples/swing/TableDemo.java
31269 (TModel, createContent): Explain which value appears in the header.
31270 * javax/swing/JTable.java (setColumnModel): Only set the
31271 column header value if the getHeaderValue() returns null.
31273 2006-02-14 Mark Wielaard <mark@klomp.org>
31276 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31277 (getErrorImage): New static method.
31278 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31279 (bufferedImageOrError): Renamed to ...
31280 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31281 Returns GtkImage.getErrorImage() when argument null.
31282 (createImage(String)): Always use imageOrError.
31283 (createImage(URL)): Likewise.
31284 (createImage(ImageProducer)): Likewise.
31285 (createImage(byte[],int,int)): Likewise.
31287 2006-02-14 Roman Kennke <kennke@aicas.com>
31289 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31291 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31292 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31293 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31294 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31295 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31297 2006-02-14 Roman Kennke <kennke@aicas.com>
31299 * javax/swing/text/AsyncBoxView.java
31300 (ChildState.locator): Removed wrong field.
31301 (ChildState): Removed initialization of removed field.
31302 (locator): Changed access modifier to be protected as specified.
31304 2006-02-14 Roman Kennke <kennke@aicas.com>
31306 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31307 * javax/swing/Timer.java: Some small reindention.
31308 (task): Made package private to avoid synthetic accessor method.
31310 2006-02-14 Roman Kennke <kennke@aicas.com>
31312 * javax/swing/SwingUtilities.java
31313 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31316 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31318 * examples/gnu/classpath/examples/swing/TableDemo.java:
31319 Making the columns variable width.
31320 * javax/swing/JTable.java (distributeSpill, doLayout):
31321 Call getPreferredSize and not getSize().
31323 2006-02-14 Roman Kennke <kennke@aicas.com>
31325 * javax/swing/DefaultCellEditor.java
31326 (DefaultCellEditor): API doc fixlet.
31328 2006-02-14 Roman Kennke <kennke@aicas.com>
31330 * javax/swing/JViewport.java
31331 (isPaintRoot): New field.
31332 (repaint): Only call super here. Also added a comment regarding
31333 the diversion from the JDK.
31334 (paintBlit): Implemented real blitting.
31335 (paintImmediately2): New method. Overrides the same package private
31336 method in JComponent.
31338 2006-02-14 Roman Kennke <kennke@aicas.com>
31340 * javax/swing/plaf/basic/BasicTableUI.java
31341 (paint): Check for boundary cases when determining the painting
31344 2006-02-14 Mark Wielaard <mark@klomp.org>
31346 * java/awt/Menu.java (add): Always set parent of item to this. Call
31347 addNotify() on item when we have a MenuPeer already.
31348 (insert): Always adjust parent for item. Call addNotify() on item if
31349 we already have a peer.
31350 (remove(int)): Always clear item parent. Call removeNotify() on item
31353 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31355 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31356 row == getRowCount().
31358 2006-02-14 Lillian Angel <langel@redhat.com>
31360 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31361 (setVisible): New method to override super. Need to set the
31362 native bounds of the component, so it appears at the
31365 2006-02-14 Mark Wielaard <mark@klomp.org>
31367 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31368 (remove): If menu component is the current MenuBar remove it,
31369 otherwise call super.remove().
31370 * java/awt/MenuBar.java (frame): Remove field.
31371 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31373 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31375 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31376 to NameServicePersistent.
31377 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31378 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31380 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31382 * NEWS: Updated tool status.
31383 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31384 (constructor, bind, rebind): Rewritten.
31385 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31386 * tools/gnu/classpath/tools/giop/README: Updated.
31387 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31388 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31389 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31390 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31391 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31394 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31396 * javax/swing/JComponent.java
31397 (getListeners): Check for PropertyChangeListener.class and delegate to
31398 getPropertyChangeListeners() for that case.
31400 2006-02-13 Roman Kennke <kennke@aicas.com>
31402 * javax/swing/plaf/basic/BasicTableUI.java
31403 (paint): Determine the cells that need painting based on the
31404 current clip. Use getCellRect() for calculating the cell
31407 2006-02-13 Roman Kennke <kennke@aicas.com>
31409 * javax/swing/JTable.java
31410 (rectCache): New field.
31411 (getCellRect): Returns cached Rectangle instance.
31413 2006-02-13 Roman Kennke <kennke@aicas.com>
31415 * javax/swing/JLayeredPane.java
31416 (removeAll): New method. Avoid potential memory leak.
31417 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31420 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31422 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31423 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31425 2006-02-13 Tom Tromey <tromey@redhat.com>
31427 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31428 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31430 2006-02-13 Roman Kennke <kennke@aicas.com>
31432 * javax/swing/RepaintManager.java
31433 (offscreenBuffers): New field.
31434 (doubleBuffer): Removed field.
31435 (repaintUnderway): New field.
31436 (commitRequests): New field.
31437 (RepaintManager): Initialize new fields.
31438 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31440 (getOffscreenBuffer): Returns the offscreen buffer for the
31441 corresponding root component.
31442 (commitBuffer): New method.
31443 (commitRemainingBuffers): New method.
31444 * javax/swing/JComponent.java
31445 (paint): Call paintDoubleBuffered with the current clip.
31446 (paintImmediately2): Don't paint on screen here.
31447 (paintDoubleBuffered): Rewritten for real double buffering.
31448 (paintSimple): Draw to screen in this method.
31450 2006-02-13 Roman Kennke <kennke@aicas.com>
31452 * javax/swing/JRootPane.java
31453 (JRootPane): Set opaque property to true.
31455 2006-02-13 Tom Tromey <tromey@redhat.com>
31457 * .classpath: Updated for external/relaxngDatatype.
31459 2006-02-13 Chris Burdess <dog@gnu.org>
31461 * gnu/xml/stream/UnicodeReader.java,
31462 gnu/xml/validation/datatype/Annotation.java,
31463 gnu/xml/validation/datatype/AnySimpleType.java,
31464 gnu/xml/validation/datatype/AnyType.java,
31465 gnu/xml/validation/datatype/AnyURIType.java,
31466 gnu/xml/validation/datatype/AtomicSimpleType.java,
31467 gnu/xml/validation/datatype/Base64BinaryType.java,
31468 gnu/xml/validation/datatype/BooleanType.java,
31469 gnu/xml/validation/datatype/ByteType.java,
31470 gnu/xml/validation/datatype/DateTimeType.java,
31471 gnu/xml/validation/datatype/DateType.java,
31472 gnu/xml/validation/datatype/DecimalType.java,
31473 gnu/xml/validation/datatype/DoubleType.java,
31474 gnu/xml/validation/datatype/DurationType.java,
31475 gnu/xml/validation/datatype/EntitiesType.java,
31476 gnu/xml/validation/datatype/EntityType.java,
31477 gnu/xml/validation/datatype/EnumerationFacet.java,
31478 gnu/xml/validation/datatype/Facet.java,
31479 gnu/xml/validation/datatype/FloatType.java,
31480 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31481 gnu/xml/validation/datatype/GDayType.java,
31482 gnu/xml/validation/datatype/GMonthDayType.java,
31483 gnu/xml/validation/datatype/GMonthType.java,
31484 gnu/xml/validation/datatype/GYearMonthType.java,
31485 gnu/xml/validation/datatype/GYearType.java,
31486 gnu/xml/validation/datatype/HexBinaryType.java,
31487 gnu/xml/validation/datatype/IDRefType.java,
31488 gnu/xml/validation/datatype/IDRefsType.java,
31489 gnu/xml/validation/datatype/IDType.java,
31490 gnu/xml/validation/datatype/IntType.java,
31491 gnu/xml/validation/datatype/IntegerType.java,
31492 gnu/xml/validation/datatype/LanguageType.java,
31493 gnu/xml/validation/datatype/LengthFacet.java,
31494 gnu/xml/validation/datatype/ListSimpleType.java,
31495 gnu/xml/validation/datatype/LongType.java,
31496 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31497 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31498 gnu/xml/validation/datatype/MaxLengthFacet.java,
31499 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31500 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31501 gnu/xml/validation/datatype/MinLengthFacet.java,
31502 gnu/xml/validation/datatype/NCNameType.java,
31503 gnu/xml/validation/datatype/NMTokenType.java,
31504 gnu/xml/validation/datatype/NMTokensType.java,
31505 gnu/xml/validation/datatype/NameType.java,
31506 gnu/xml/validation/datatype/NegativeIntegerType.java,
31507 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31508 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31509 gnu/xml/validation/datatype/NormalizedStringType.java,
31510 gnu/xml/validation/datatype/NotationType.java,
31511 gnu/xml/validation/datatype/PatternFacet.java,
31512 gnu/xml/validation/datatype/PositiveIntegerType.java,
31513 gnu/xml/validation/datatype/QNameType.java,
31514 gnu/xml/validation/datatype/ShortType.java,
31515 gnu/xml/validation/datatype/SimpleType.java,
31516 gnu/xml/validation/datatype/StringType.java,
31517 gnu/xml/validation/datatype/TimeType.java,
31518 gnu/xml/validation/datatype/TokenType.java,
31519 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31520 gnu/xml/validation/datatype/Type.java,
31521 gnu/xml/validation/datatype/TypeBuilder.java,
31522 gnu/xml/validation/datatype/TypeLibrary.java,
31523 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31524 gnu/xml/validation/datatype/UnionSimpleType.java,
31525 gnu/xml/validation/datatype/UnsignedByteType.java,
31526 gnu/xml/validation/datatype/UnsignedIntType.java,
31527 gnu/xml/validation/datatype/UnsignedLongType.java,
31528 gnu/xml/validation/datatype/UnsignedShortType.java,
31529 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31530 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31531 RELAX NG datatype library implementation for XML Schema Datatypes.
31533 2006-02-13 Chris Burdess <dog@gnu.org>
31539 external/Makefile.am,
31540 external/relaxngDatatype/.cvsignore,
31541 external/relaxngDatatype/Makefile.am,
31542 external/relaxngDatatype/README.txt,
31543 external/relaxngDatatype/copying.txt,
31544 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31545 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31546 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31547 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31548 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31549 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31550 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31551 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31552 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31553 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31555 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31556 datatypes library API.
31558 2006-02-13 Mark Wielaard <mark@klomp.org>
31560 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31562 (gtkWidgetModifyFont(Font)): New protected helper method.
31563 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31564 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31565 protected and document.
31566 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31568 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31570 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31572 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31573 (setFont): Removed method. Done in GtkMenuComponent.
31574 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31575 abstract and protected.
31576 (setFont): Made private, add implementation.
31577 (setFont(Font)): Implemented.
31578 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31579 Made protected and document.
31580 (create): Made protected.
31581 (setFont): Removed method. Done in GtkMenuComponent.
31582 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31583 (gtkWidgetModifyFont): Made protected and document.
31584 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31585 Removed, similar to GtkGenericPeer super class implementation.
31586 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31587 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31588 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31591 2006-02-13 Mark Wielaard <mark@klomp.org>
31593 * java/lang/Math.java (static): Explicitly call
31594 System.loadLibrary("javalang").
31596 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31598 * javax/print/StreamPrintServiceFactory.java: New file.
31600 2006-02-13 Tom Tromey <tromey@redhat.com>
31602 * tools/.cvsignore: Added Makefile.
31604 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31606 * java/awt/print/PrinterGraphics.java: Reformatted.
31607 * java/awt/print/Paper.java: Likewise.
31608 * java/awt/print/PageFormat.java: Likewise.
31609 * java/awt/print/Pageable.java: Likewise.
31611 2006-02-13 Lillian Angel <langel@redhat.com>
31613 * java/awt/BorderLayout.java
31614 (layoutContainer): Rewrote part of this function to
31615 properly set the bounds of the components.
31616 (setBounds): Removed method, not needed.
31618 2006-02-13 Roman Kennke <kennke@aicas.com>
31620 * javax/swing/text/DefaultStyledDocument.java
31621 (ElementBuffer.clone): Fixed replace call.
31622 (clone): Removed method.
31624 2006-02-13 Roman Kennke <kennke@aicas.com>
31626 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31628 2006-02-13 Roman Kennke <kennke@aicas.com>
31630 * java/rmi/server/UnicastRemoteObject.java
31631 (exportObject(Remote)): Forward method call to export(Remote,int).
31633 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31635 * include/Makefile.am:
31636 Swapped Math.h for VMMath.h
31637 * include/java_lang_Math.h:
31639 * include/java_lang_VMMath.h:
31640 New autogenerated header for the new class.
31641 * java/lang/Math.java:
31642 (sin(double)): Changed to link to VMMath.
31643 (cos(double)): Changed to link to VMMath.
31644 (tan(double)): Changed to link to VMMath.
31645 (asin(double)): Changed to link to VMMath.
31646 (acos(double)): Changed to link to VMMath.
31647 (atan(double)): Changed to link to VMMath.
31648 (atan2(double)): Changed to link to VMMath.
31649 (exp(double)): Changed to link to VMMath.
31650 (log(double)): Changed to link to VMMath.
31651 (sqrt(double)): Changed to link to VMMath.
31652 (pow(double,double)): Changed to link to VMMath.
31653 (IEEEremainder(double,double)): Changed to link to VMMath.
31654 (ceil(double)): Changed to link to VMMath.
31655 (floor(double)): Changed to link to VMMath.
31656 (rint(double)): Changed to link to VMMath.
31657 * native/jni/java-lang/Makefile.am:
31658 Replaced java_lang_Math.c with java_lang_VMMath.c
31659 * native/jni/java-lang/java_lang_Math.c:
31661 * native/jni/java-lang/java_lang_VMMath.c:
31662 Renamed from java_lang_Math.c.
31663 * vm/reference/java/lang/VMMath.java:
31665 (sin(double)): New native method.
31666 (cos(double)): New native method.
31667 (tan(double)): New native method.
31668 (asin(double)): New native method.
31669 (acos(double)): New native method.
31670 (atan(double)): New native method.
31671 (atan2(double)): New native method.
31672 (exp(double)): New native method.
31673 (log(double)): New native method.
31674 (sqrt(double)): New native method.
31675 (pow(double,double)): New native method.
31676 (IEEEremainder(double,double)): New native method.
31677 (ceil(double)): New native method.
31678 (floor(double)): New native method.
31679 (rint(double)): New native method.
31681 2006-02-13 Lillian Angel <langel@redhat.com>
31683 * java/awt/Component.java
31684 (repaint): No need to call isShowing, it is done in the other repaint call.
31685 (repaint): Likewise.
31686 (repaint): Likewise.
31688 2006-02-13 Lillian Angel <langel@redhat.com>
31690 * java/awt/Component.java
31691 (repaint): Reverted last change.
31692 (repaint): Likewise.
31693 (repaint): Likewise.
31695 2006-02-13 Lillian Angel <langel@redhat.com>
31697 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31698 (handleEvent): Made more efficent by handling paint event and
31699 setting the clip for the graphics.
31700 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31701 (handleEvent): Likewise.
31702 * java/awt/Component.java
31703 (repaint): No need to call isShowing, it is done in the other repaint call.
31704 (repaint): Likewise.
31705 (repaint): Likewise.
31707 2006-02-13 Roman Kennke <kennke@aicas.com>
31709 * javax/swing/text/AbstractDocument.java
31710 (setParent): Added API docs. Call setParent(null) on children before
31711 disconnecting this view from the View hierarchy.
31713 2006-02-13 Roman Kennke <kennke@aicas.com>
31715 * javax/swing/text/AbstractDocument.java
31716 (readUnlock): Don't attempt to unlock when the current threads also
31717 holds a write lock.
31719 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31721 * javax/swing/plaf/metal/MetalBorders.java
31722 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31723 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31725 (Flush3DBorder.borderInsets): New field,
31726 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31727 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31728 null insets argument, and populate result from borderInsets,
31729 (PaletteBorder.borderInsets): New field,
31730 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31731 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31732 null insets argument, and populate result from borderInsets,
31733 (InternalFrameBorder.borderInsets): New field,
31734 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31736 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31737 for null insets argument, and populate result from borderInsets,
31738 (MenuItemBorder.borderInsets): Initialise to correct value.
31740 2006-02-13 Roman Kennke <kennke@aicas.com>
31742 * javax/swing/text/AsyncBoxView.java: New file.
31744 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31747 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31748 was moved to a new method parseCharClass.
31749 (parseCharClass): New method originally in initialize. Added parsing
31750 of nested character classes.
31751 (ParseCharClassResult): New inner class used as a return value of
31753 (getCharExpression),(getNamedProperty): Made static.
31754 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31755 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31756 nested character classes.
31757 (RETokenOneOf): New constructor accepting the Vector addition.
31758 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31759 stands for only one character.
31760 (match): Added the processing of the Vector addition.
31761 (matchN), (matchP): Do not check next token if addition is used.
31763 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31765 * AUTHORS: add self.
31767 2006-02-12 Tom Tromey <tromey@redhat.com>
31769 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31770 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31771 (securityContext): Likewise.
31774 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31778 * gnu/java/net/protocol/file/Connection.java (unquote):
31779 Convert Unicode characters outside basic plane to UTF-8,
31780 rather than throwing an exception.
31782 2006-02-12 Tom Tromey <tromey@redhat.com>
31784 * javax/sound/sampled/LineEvent.java (readObject): New method.
31785 (writeObject): Likewise.
31786 (serialVersionUID): New field.
31788 2006-02-12 Mark Wielaard <mark@klomp.org>
31790 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31791 Silently ignores null listener.
31792 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31793 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31794 array for null propertyName.
31796 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31798 * java/rmi/MarshalledObject.java: Added api docs to the class.
31799 * java/rmi/Remote.java: Added interface api docs.
31800 * java/rmi/package.html: Added package description.
31801 * java/rmi/AccessException.java: Minor api doc fixes.
31802 * java/rmi/NoSuchObjectException.java: Likewise.
31803 * java/rmi/AlreadyBoundException.java: Likewise.
31804 * java/rmi/RemoteException.java: Likewise.
31805 * java/rmi/NotBoundException.java: Likewise.
31806 * java/rmi/RMISecurityException.java: Likewise.
31807 * java/rmi/StubNotFoundException.java: Likewise.
31809 2006-02-12 Mark Wielaard <mark@klomp.org>
31811 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31812 q() to get EventQueue.
31813 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31814 (enableQueue): Remove static method.
31815 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31816 Don't call GtkGenericPeer.enableQueue().
31818 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31820 * java/rmi/MarshalledObject.java: Reformatted.
31821 * java/rmi/Naming.java: Likewise.
31823 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31825 * java/io/InputStream.java
31826 (read(byte[],int,int)): Changed argument validation to prevent
31827 integer overflow. Remove redundant check.
31829 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31832 * java/io/InputStreamReader.java
31833 (InputStreamReader(InputStream)): Use SystemProperties.
31834 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31835 Throw NullPointerException if in is null.
31836 Added maxBytesPerChar initialisation.
31837 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31838 Throw NullPointerException if in is null.
31840 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31842 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31843 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31844 (GnuDHPublicKey): New constructor.
31845 (getEncoded): Removed.
31846 (valueOf): Added support for ASN.1 encoding.
31847 (getEncoded(int)): Likewise.
31848 (equals): New method.
31849 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31850 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31851 (GnuDHPrivateKey(5)): New constructor.
31852 (getEncoded): Removed.
31853 (valueOf): Added support for ASN.1 encoding.
31854 (getEncoded(int)): Likewise.
31855 (equals): New method.
31856 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31857 (PREFERRED_ENCODING_FORMAT): New constant.
31858 (DEFAULT_ENCODING_FORMAT): Likewise.
31859 (preferredFormat): New field.
31860 (setup): Handle preferred encoding format identifier.
31861 (generate): Call constructors with format identifier.
31862 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31863 (GnuDHKey): Added an int argument.
31864 (getEncoded): New method.
31865 (getFormat): New implementation.
31866 (getEncoded(int)): New abstract method.
31867 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31868 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31869 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31870 key-pair generator and key-factory.
31871 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31872 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31873 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31874 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31875 (invokeConstructor): New method.
31876 (getConcreteClass): Likewise.
31877 (getConcreteCtor): Likewise.
31878 (invokeValueOf): Likewise.
31879 (getValueOfMethod): Likewise.
31880 (engineGeneratePublic): Add support for DH keys.
31881 (engineGeneratePrivate): Likewise.
31882 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31883 (decodeDHPublicKey(byte[])): Likewise.
31884 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31885 (decodeDHPrivateKey(byte[])): Likewise.
31887 2006-02-11 Mark Wielaard <mark@klomp.org>
31889 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31891 (repaint): Immediately post to queue when tm <= 0, otherwise call
31892 RepaintTimerTask.schedule().
31893 (RepaintTimerTask): Make static.
31894 (RepaintTimerTask.repaintTimer): New static final field.
31895 (RepaintTimerTask.awtComponent): New field.
31896 (schedule): New static method.
31898 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31900 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31901 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31902 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31903 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31904 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31906 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31908 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31910 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31911 (engineGeneratePublic): Added support for raw key-specifications.
31912 (engineGeneratePrivate): Likewise.
31913 (decodeDSSPublicKey): New method.
31914 (decodeRSAPublicKey): Likewise.
31915 (decodeDSSPrivateKey): Likewise.
31916 (decodeRSAPrivateKey): Likewise.
31917 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31918 (encodePrivateKey): Throw InvalidParameterException.
31919 (decodePublicKey): Likewise.
31920 (decodePrivateKey): Likewise.
31921 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31922 (encodePublicKey): Likewise.
31923 (encodePrivateKey): Likewise.
31924 (decodePublicKey): Likewise.
31925 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31926 (encodePrivateKey): Likewise.
31927 (decodePublicKey): Likewise.
31928 (decodePrivateKey): Likewise.
31929 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31930 (encodePublicKey): Likewise.
31931 (encodePrivateKey): Likewise.
31932 (decodePublicKey): Likewise.
31934 2006-02-10 Roman Kennke <kennke@aicas.com>
31936 * javax/swing/text/StyleContext.java
31937 (registerStaticAttributeKey): New static method.
31939 2006-02-10 Roman Kennke <kennke@aicas.com>
31941 * javax/swing/text/DefaultStyledDocument.java
31942 (ElementBuffer.clone): New method.
31944 2006-02-10 Roman Kennke <kennke@aicas.com>
31946 * javax/swing/text/ParagraphView.java
31947 (findOffsetToCharactersInString): New method.
31948 (getClosestPositionTo): New method.
31949 (getPartialSize): New method.
31950 (getTabBase): New method.
31951 (adjustRow): New method.
31952 (breakView): New method.
31953 (getBreakWeight): New method.
31955 2006-02-10 Roman Kennke <kennke@aicas.com>
31957 * javax/swing/text/GapContent.java
31958 (updateUndoPositions): New method.
31959 * javax/swing/text/StringContent.java
31960 (updateUndoPositions): New method.
31962 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
31964 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31966 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31967 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31968 Added support for encoded key specifications.
31969 (engineGeneratePrivate): Likewise.
31970 (engineGetKeySpec): Likewise.
31971 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31973 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
31975 * javax/swing/text/Utilities.java:
31976 (getTabbedTextOffset): Fixed usage of variable p0.
31977 (getPositionAbove): Rewritten.
31978 (getPositionBelow): Rewritten.
31980 2006-02-09 Roman Kennke <kennke@aicas.com>
31982 * javax/swing/text/BoxView.java
31983 (getAxis): Added @since tag.
31984 (setAxis): Added @since tag.
31985 (layoutChanged): Added @since tag.
31986 (isLayoutValid): Added @since tag.
31987 (paint): Don't call setSize here. This is done in RootView already.
31988 (getMaximumSpan): Reimplemented to return the requirements'
31989 maximum size. Added API docs.
31990 (getMinimumSpan): New method.
31991 (layout): Fixed layout order.
31992 (modelToView): Call layout instead of setSize here.
31993 (getResizeWeight): New method.
31994 (getChildAllocation): New method.
31995 (forwardUpdate): New method.
31996 (viewToModel): New method.
31997 (flipEastEndWestEnds): New method.
31998 * javax/swing/text/CompositeView.java
31999 (modelToView): Made this method more robust by returning a default
32000 location if it's not possible to calculate one via the children.
32001 This default location returns the left or right edge of this
32003 (createDefaultLocation): New helper method.
32004 * javax/swing/text/IconView.java
32005 (modelToView): Don't throw BadLocationException. This should
32006 really only be thrown if the position is outside the document
32007 model, not if it's outside the view's boundary.
32009 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32011 * tools/Makefile.am: Handle rmi and giop folders separately.
32013 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32015 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32016 * javax/swing/SpinnerNumberModel.java: Likewise.
32018 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32020 * javax/swing/SpinnerDateModel.java: Removed tabs,
32021 * javax/swing/SpinnerNumberModel.java: Likewise.
32023 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32025 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32026 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32028 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32031 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32032 (isRedirect): Removed, moved to Response.java.
32033 (connect): If error condition redirect responseSink to errorSink.
32034 (getInputStream): If error condition throw IOException, for the error
32035 codes 404 and 410 throw a FileNotFoundException.
32036 * gnu/java/net/protocol/http/Response.java (isError): New method.
32037 (isRedirect): New method, moved from HTTPURLConnection.java.
32039 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32041 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32042 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32043 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32045 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32047 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32048 AbstractMethodGenerator.
32049 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32050 tools/gnu/classpath/tools/rmi/RMIC.java,
32051 tools/gnu/classpath/tools/rmi/RMIC.txt,
32052 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32053 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32054 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32055 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32056 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32057 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32059 * NEWS: Corrected entry about the tools.
32061 2006-02-09 Lillian Angel <langel@redhat.com>
32063 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32064 (handleEvent): Added more to check to prevent assertion errors.
32065 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32066 (handleEvent): Likewise.
32067 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32068 (handleEvent): Likewise.
32070 2006-02-09 Mark Wielaard <mark@klomp.org>
32072 * javax/swing/JTable.java (tableChanged): Interpret null event as
32073 "everything changed".
32075 2006-02-09 Roman Kennke <kennke@aicas.com>
32077 * javax/swing/text/DefaultCaret.java
32078 (DocumentHandler.removeUpdate): When update policy is
32079 'on eventqueue', and the update doesn't come from the
32080 event queue, check if the current dot location is still
32082 (moveDot): Make sure the new dot location is valid.
32083 (setDot): Set the mark the same as the dot.
32085 2006-02-09 Roman Kennke <kennke@aicas.com>
32087 * javax/swing/text/AbstractDocument.java
32088 (remove): Perform all operations within a write lock and in the
32091 2006-02-09 Mark Wielaard <mark@klomp.org>
32093 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32094 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32095 creater than min, adjusting page_size if necessary.
32096 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32098 2006-02-09 Lillian Angel <langel@redhat.com>
32100 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32101 (handleEvent): Added code to handle PaintEvent.UPDATE.
32102 Sun does not call update(Graphics g) on Panels.
32103 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32104 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32105 Sun does not call update(Graphics g) on Panels.
32107 2006-02-09 Roman Kennke <kennke@aicas.com>
32109 * javax/swing/text/BoxView.java
32110 (myAxis): Made field private.
32111 (xLayoutValid): Replaced by layoutValid array.
32112 (yLayoutValid): Replaced by layoutValid array.
32113 (layoutValid): New field.
32114 (spansX): Replaced by spans array.
32115 (spansY): Replaced by spans array.
32116 (spans): New field.
32117 (offsetsX): Replaced by offsets array.
32118 (offsetsY): Replaced by offsets array.
32119 (offsets): New field.
32120 (requirements): New field.
32121 (BoxView): Initialize new fields.
32122 (layoutChanged): Rewritten to use the layoutValid array.
32123 (isLayoutValid): Rewritten to use the layoutValid array.
32124 (replace): Use the new arrays.
32125 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32126 instead of baselineRequirements.
32127 (baselineRequirements): Rewritten to calculate baseline requirements.
32128 (baselineLayout): Rewritten to calculate baseline layout.
32129 (childAllocation): Use new arrays.
32130 (layout): Rewritten. Only update the layout if necessary.
32131 (layoutMajorAxis): Directly set layoutValid.
32132 (layoutMinorAxis): Directly set layoutValid. Use cached size
32134 (getWidth): Use new span array.
32135 (getHeight): Likewise.
32136 (setSize): Rewritten to simply call layout().
32137 (validateLayout): Removed unneeded method.
32138 (getSpan): Use new arrays.
32139 (getOffset): Use new arrays.
32140 (getAlignment): Use cached requirements if possible.
32141 (preferenceChanged): Use new arrays.
32142 * javax/swing/text/FlowView.java
32143 (FlowStrategy.insertUpdate): Do nothing here.
32144 (FlowStrategy.removeUpdate): Do nothing here.
32145 (FlowStrategy.changedUpdate): Do nothing here.
32146 (FlowStrategy.layoutRow): Rewritten.
32147 (FlowStrategy.createView): Rewritten.
32148 (FlowStrategy.adjustRow): New method.
32149 (LogicalView.getViewIndex): Fixed condition for finding child
32151 (layoutDirty): New field indicating the state of the layout.
32152 (FlowView): Initialize new field.
32153 (loadChildren): Set parent on logical view so that preferenceChanges
32154 get propagated upwards.
32155 (layout): Rewritten to match the specs.
32156 (insertUpdate): Set layout to dirty.
32157 (removeUpdate): Set layout to dirty.
32158 (changedUpdate): Set layout to dirty.
32159 * javax/swing/text/GlyphView.java
32160 (getBreakWeight): Rewritten to use the Utilities class. Commented
32161 out though because that is broken.
32162 (insertUpdate): Call preferenceChanged on this object instead of
32164 * javax/swing/text/ParagraphView.java
32165 (Row.loadChildren): Overridden to be a noop to prevent initial
32166 creation of child views. This is carried out by the flow layout.
32167 * javax/swing/text/View.java
32168 (getPreferredSpan): Added API docs.
32169 (getResizeWeight): Added API docs.
32170 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32172 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32173 resizable instead of Integer.MAX_VALUE.
32174 (getAlignment): Added API docs.
32175 (replace): Added API docs.
32176 (forwardUpdate): Rewritten to only notify child views that need to
32179 2006-02-09 Roman Kennke <kennke@aicas.com>
32181 * javax/swing/plaf/basic/BasicTextUI.java
32182 (RootView.paint): Call setSize() before painting the view.
32184 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32187 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32188 flag which enables backslash escape in a replacement.
32189 (getReplacement): New public static method.
32190 (substituteImpl),(substituteAllImpl): Use getReplacement.
32191 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32192 * java/util/regex/Matcher.java(appendReplacement)
32193 Use RE#getReplacement.
32194 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32196 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32198 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32199 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32200 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32201 (PREFERRED_ENCODING_FORMAT): New constant.
32202 (DEFAULT_ENCODING_FORMAT): Likewise.
32203 (preferredFormat): New field.
32204 (setup): Add support for preferred encoding format.
32205 (generate): Call key constructors with explicit format identifier.
32206 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32207 Call constructor with 3 arguments..
32208 (GnuRSAPublicKey(3)): New constructor.
32209 (valueOf): Added support for ASN.1 format.
32210 (getEncoded): Likewise.
32211 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32212 Call constructor with 5 arguments.
32213 (GnuRSAPrivateKey(5)): New constructor.
32214 (GnuRSAPrivateKey(9)): New constructor.
32215 (valueOf): Added support for ASN.1 format.
32216 (getEncoded): Likewise.
32217 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32218 (GnuRSAKey): Modified constructor.
32219 (getFormat): Return preferred format identifier.
32220 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32221 (decodePrivateKey): Fixed documentation.
32222 Check Version field.
32223 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32224 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32226 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32227 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32228 (engineGeneratePublic): Added support for RSA.
32229 (engineGeneratePrivate): Likewise.
32231 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32233 * java/net/URLConnection.java:
32234 (setAllowUserInteraction): Throw IllegalStateException if connected.
32235 (getRequestProperty): Document return value if key is null.
32236 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32237 (getRequestProperty): Return null if key is null.
32238 (getRequestProperties): Throw IllegalStateException if connected.
32239 (setRequestProperty): Call super method for exception tests.
32240 (addRequestProperty): Likewise.
32242 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32244 * gnu/java/net/protocol/http/Request.java:
32245 (Request): Remove initialization of removed field.
32246 (requestBodyNegotiationThreshold): Removed now unused field.
32247 (setRequestBodyNegotiationThreshold): Remove now unused method.
32248 (dispatch): Do not use 'Expect 100-continue' header if content-length
32249 is over a treshold. If user specified 'Expect 100-continue' still
32250 initialize the expectingContinue variable.
32252 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32254 * javax/swing/SpinnerNumberModel.java
32255 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32256 maximum and minimum to take null values,
32257 (setValue): Only fire ChangeEvent if new value is different to old
32259 (setMinimum): Fixed test for updating value,
32260 (setMaximum): Likewise,
32261 (setStepSize): Likewise.
32263 2006-02-08 Tom Tromey <tromey@redhat.com>
32265 * tools/.cvsignore: Added Makefile.in.
32267 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32269 * java/rmi/server/RemoteRef.java,
32270 java/rmi/server/RemoteStub.java: Commented.
32272 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32274 * javax/swing/SpinnerDateModel.java
32275 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32277 (getPreviousValue): Check result against start, not end,
32278 (setValue): Check that value actually changes before firing
32281 2006-02-08 Lillian Angel <langel@redhat.com>
32283 * java/awt/Choice.java
32284 (select): Fixed up code, added some checks to prevent errors.
32285 (dispatchEventImpl): Removed. This function is not needed. It
32286 causes several assertion errors.
32288 2006-02-08 Roman Kennke <kennke@aicas.com>
32290 * javax/swing/text/PlainView.java
32291 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32292 drawing unnecessary characters.
32294 2006-02-08 Lillian Angel <langel@redhat.com>
32296 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32297 (handleEvent): Fixed check to determine if height or
32298 width is less than 1.
32300 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32302 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32304 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32306 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32307 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32308 Documenting the code generator.
32309 * gnu/CORBA/IOR.java (toStringFormatted,
32310 CodeSet_component.toStringFormatted): New methods.
32311 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32312 * tools/gnu/classpath/tools/giop/README: Rewritten.
32313 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32314 (printHelpAndExit): Removed.
32315 *tools/gnu/classpath/tools/giop/IorParser.java,
32316 tools/gnu/classpath/tools/giop/IorParser.txt,
32317 tools/gnu/classpath/tools/giop/NameService.java,
32318 tools/gnu/classpath/tools/giop/NamingService.txt,
32319 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32320 NEWS: Added note about GIOP tools.
32322 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32324 * .classpath: New source patch (tools).
32325 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32326 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32327 * tools/gnu/classpath/tools/Makefile.am,
32328 tools/gnu/classpath/tools/giop/GRMIC.java
32329 tools/gnu/classpath/tools/giop/GRMIC.txt,
32330 tools/gnu/classpath/tools/giop/README,
32331 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32332 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32333 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32334 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32335 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32336 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32337 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32338 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32339 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32340 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32341 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32342 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32344 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32346 * java/awt/BasicStroke.java: Updated API docs all over,
32347 * java/awt/doc-files/capjoin.png: New file.
32349 2006-02-07 Lillian Angel <langel@redhat.com>
32351 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32352 (handleEvent): Added check. Should not paint or update the
32353 component if it's width and height are both 0.
32355 2006-02-07 Roman Kennke <kennke@aicas.com>
32357 * javax/swing/text/AbstractDocument.java
32358 (insertString): Enclose locking/unlocking in try-finally block
32359 and also keep locked while notifying the listeners.
32361 2006-02-07 Roman Kennke <kennke@aicas.com>
32363 * javax/swing/text/GlyphView.java
32364 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32366 (getStartOffset): Return element boundary if startOffset < 0.
32367 (getEndOffset): Return element boundary if endOffset < 0.
32368 (createFragment): Set startOffset and endOffset fields of fragment
32369 if one of p0 or p1 is not at the element boundary.
32371 2006-02-07 Roman Kennke <kennke@aicas.com>
32373 * javax/swing/CellRendererPane.java
32374 (paintComponent): Enclosed painting in try finally to properly
32375 clean up even when throwing an exception.
32377 2006-02-07 Roman Kennke <kennke@aicas.com>
32379 * javax/swing/UIManager.java
32380 (listeners): Made this an instance of
32381 java.beans.PropertyChangeSupport instead of the obsoleted
32382 SwingPropertyChangeSupport.
32384 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32386 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32387 of actions "delete-next" and "delete-previous", added new TextAction
32388 implementations for "selection-begin", "selection-begin-line",
32389 "selection-end" and "selection-end-line".
32391 2006-02-07 Roman Kennke <kennke@aicas.com>
32393 * javax/swing/plaf/basic/BasicTextUI.java
32394 (paint): Acquire read lock on the document before calling
32396 (paintSafely): Added comment about what this method does.
32397 (paintBackground): Implemented to actually paint the background.
32398 (update): Overridden to _not_ paint the background. This is done
32399 in paintBackground in this UI.
32401 2006-02-07 Roman Kennke <kennke@aicas.com>
32403 * javax/swing/text/View.java
32404 (forwardUpdate): Don't notify newly added child views as specified.
32406 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32408 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32410 2006-02-07 Roman Kennke <kennke@aicas.com>
32412 * javax/swing/text/DefaultStyledDocument.java
32413 (ElementBuffer.insert): Only register change when the element
32416 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32418 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32420 (getEncodingShortName): Likewise.
32421 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32422 (PKCS8_FORMAT): Likewise.
32423 (ASN1_FORMAT): Likewise.
32424 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32425 constructor with 5 arguments.
32426 (DSSPublicKey(5)): New constructor.
32427 (valueOf): Handle ASN.1 encoding.
32428 (getEncoded): Likewise.
32429 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32430 constructor with 5 arguments.
32431 (DSSPrivateKey(5)): New constructor.
32432 (valueOf): Handle ASN.1 encoding.
32433 (getEncoded): Likewise.
32434 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32435 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32436 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32437 (PREFERRED_ENCODING_FORMAT): New constant.
32438 (DEFAULT_ENCODING_FORMAT): Likewise.
32439 (preferredFormat): New field.
32440 (setup): Handle preferred format ID.
32441 (generate): Use new ctors with 5 arguments.
32442 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32443 ID as an additional argument.
32444 (defaultFormat): new field.
32445 (getFormat): Returns the preferred format as a short string.
32446 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32447 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32449 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32450 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32452 (initialize(int,boolean,SecureRandom)): Likewise.
32453 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32454 writeLength() instead of write().
32455 return buf.length + 1 instead of buf.length.
32457 2006-02-07 Roman Kennke <kennke@aicas.com>
32459 * javax/swing/plaf/basic/BasicTextUI.java
32460 (RootView.preferenceChange): Changed view parameter to view so
32461 that it doesn't hide a field of that class.
32462 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32463 (RootView.modelToView): Removed unnecessary cast from View to View.
32464 (PropertyChangeHandler): Made inner class private.
32465 (updateHandler): Made field private.
32466 (getVisibleEditorRect): Removed unneeded local variable that
32467 shadowed a field with the same name and purpose.
32469 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32471 * javax/swing/text/JTextComponent.java:
32472 (getSelectedText): Calculate offset and use that as
32475 2006-02-07 Roman Kennke <kennke@aicas.com>
32477 * javax/swing/JTextPane.java
32478 (setCharacterAttributes): Replace input attributes when
32481 2006-02-07 Roman Kennke <kennke@aicas.com>
32483 * java/awt/Component.java
32484 (firePropertyChange(String,byte,byte)): Made method public.
32485 (firePropertyChange(String,char,char)): Made method public.
32486 (firePropertyChange(String,short,short)): Made method public.
32487 (firePropertyChange(String,long,long)): Made method public.
32488 (firePropertyChange(String,float,float)): Made method public.
32489 (firePropertyChange(String,double,double)): Made method public.
32491 2006-02-06 Tom Tromey <tromey@redhat.com>
32493 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32495 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32497 2006-02-06 Anthony Green <green@redhat.com>
32499 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32501 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32503 * .settings/org.eclipse.jdt.core.prefs:
32504 Force a line split on extends and implements.
32505 Force a white-space after unary operators.
32506 Don't force a new-line after @params.
32507 Add new-line at end-of-file.
32508 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32510 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32512 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32514 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32516 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32518 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32520 * gnu/java/security/provider/EncodedKeyFactory.java
32521 (ID_DSA): Redefined in terms of Registry constant.
32522 (ID_DSA): Redefined in terms of Registry constant.
32523 (ID_DH): Redefined in terms of Registry constant.
32524 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32525 (PKCS8_ENCODING): Likewise.
32526 (ASN1_ENCODING): Likewise.
32527 (RAW_ENCODING_SHORT_NAME): Likewise.
32528 (X509_ENCODING_SORT_NAME): Likewise.
32529 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32530 (ASN1_ENCODING_SHORT_NAME): Likewise.
32531 (X509_ENCODING_ID): Likewise.
32532 (PKCS8_ENCODING_ID): Likewise.
32533 (ASN1_ENCODING_ID): Likewise.
32534 (DSA_OID_STRING): Likewise.
32535 (RSA_OID_STRING): Likewise.
32536 (DH_OID_STRING): Likewise.
32538 2006-02-06 Roman Kennke <kennke@aicas.com>
32540 * javax/swing/text/GlyphView.java:
32541 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32542 Only fill background if there is a background set on the view.
32543 Call Utilities.drawTabbedText with the baseline height, rather than
32544 the upper left corner of the view rectangle.
32545 (getBackground): Return null if no background is set.
32546 * javax/swing/text/GlyphView.java:
32547 (setPropertiesFromAttributes): Use null for background when no
32548 background is set. StyleConstants.getBackground() doesn't work
32549 for this, because it returns Color.BLACK in that case.
32551 2006-02-06 Roman Kennke <kennke@aicas.com>
32553 * java/awt/Container.java
32554 (changeSupport): Removed duplicate (from Component) field.
32555 (addPropertyChangeListener): Call super.
32557 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32559 * java/util/regex/Matcher.java(matches):
32560 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32562 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32565 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32566 * gnu/regexp/CharIndexedCharArray.java
32567 (lookBehind),(length): Implemented.
32568 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32569 * gnu/regexp/CharIndexedString.java: Likewise.
32570 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32571 * gnu/regexp/REToken.java(getMaximumLength): New method.
32572 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32574 (initialize): Parse (?<=X), (?<!X), (?>X).
32575 (getMaximumLength): Implemented.
32576 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32577 * gnu/regexp/RETokenChar.java: Likewise.
32578 * gnu/regexp/RETokenEnd.java: Likewise.
32579 * gnu/regexp/RETokenEndSub.java: Likewise.
32580 * gnu/regexp/RETokenLookAhead.java: Likewise.
32581 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32582 * gnu/regexp/RETokenOneOf.java: Likewise.
32583 * gnu/regexp/RETokenPOSIX.java: Likewise.
32584 * gnu/regexp/RETokenRange.java: Likewise.
32585 * gnu/regexp/RETokenRepeated.java: Likewise.
32586 * gnu/regexp/RETokenStart.java: Likewise.
32587 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32588 * gnu/regexp/RETokenIndependent.java: New file.
32589 * gnu/regexp/RETokenLookBehind.java: New file.
32591 2006-02-06 Roman Kennke <kennke@aicas.com>
32593 * java/awt/Component.java
32594 (firePropertyChange(String,byte,byte)): New method.
32595 (firePropertyChange(String,char,char)): New method.
32596 (firePropertyChange(String,short,short)): New method.
32597 (firePropertyChange(String,long,long)): New method.
32598 (firePropertyChange(String,float,float)): New method.
32599 (firePropertyChange(String,double,double)): New method.
32601 2006-02-06 Roman Kennke <kennke@aicas.com>
32603 * javax/swing/JComponent.java
32604 (AccessibleJComponent.changeSupport): Changed to be a
32605 java.beans.PropertyChangeSupport rather than
32606 SwingPropertyChangeSupport.
32607 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32609 (changeSupport): Removed unneeded field.
32610 (removePropertyChangeListener): Removed unneeded methods.
32611 (addPropertyChangeListener): Removed unneeded methods.
32612 (getPropertyChangeListeners): Removed unneeded methods.
32613 (firePropertyChange(String,boolean,boolean)): Changed to simply
32614 call super. Added specnote.
32615 (firePropertyChange(String,char,char)): Changed to simply
32616 call super. Added specnote.
32617 (firePropertyChange(String,int,int)): Changed to simply
32618 call super. Added specnote.
32619 (firePropertyChange(String,byte,byte)): Removed.
32620 (firePropertyChange(String,Object,Object)): Removed.
32621 (firePropertyChange(String,double,double)): Removed.
32622 (firePropertyChange(String,float,float)): Removed.
32623 (firePropertyChange(String,long,long)): Removed.
32624 (firePropertyChange(String,short,short)): Removed.
32626 2006-02-06 Roman Kennke <kennke@aicas.com>
32628 * javax/swing/event/SwingPropertyChangeSupport.java
32629 (listeners): Removed field.
32630 (propertyListeners): Removed field.
32631 (source): Removed field.
32632 (SwingPropertyChangeSupport()): Removed initialization of removed
32634 (addPropertyChangeListener): Removed methods.
32635 (removePropertyChangeListener): Removed methods.
32636 (getPropertyChangeListeners): Removed methods.
32637 (firePropertyChange): Removed methods.
32638 (hasListeners): Removed methods.
32640 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32643 * java/net/InetAddress.java
32644 (readResolve): Implemented.
32646 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32649 * java/io/ObjectInputStream.java
32650 (readNextBlock()): Handle TC_RESET.
32652 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32654 * javax/print/attribute/standard/Compression.java,
32655 * javax/print/attribute/standard/Finishings.java,
32656 * javax/print/attribute/standard/JobMediaSheets.java,
32657 * javax/print/attribute/standard/JobSheets.java,
32658 * javax/print/attribute/standard/JobState.java,
32659 * javax/print/attribute/standard/JobStateReason.java,
32660 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32661 * javax/print/attribute/standard/PrintQuality.java,
32662 * javax/print/attribute/standard/Media.java,
32663 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32664 * javax/print/attribute/standard/PrinterStateReason.java,
32665 * javax/print/attribute/standard/PDLOverrideSupported.java:
32666 (getName): Make method final.
32667 (getCategory): Likewise.
32668 * javax/print/attribute/standard/MediaSize.java:
32669 (getName): Make method final.
32670 (getCategory): Likewise.
32671 (ISO): Added private default constructor.
32675 (Engineering): Likewise.
32677 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32679 * native/jni/java-net/javanet.c (_javanet_connect):
32680 Throw ConnectException instead of IOException if connection failed.
32681 * native/jni/java-net/javanet.h:
32682 Add a define for java.net.ConnectException
32684 2006-02-05 Mark Wielaard <mark@klomp.org>
32687 reported by Egon Willighagen <egon.willighagen@gmail.com>
32688 * javax/swing/DefaultListCellRenderer.java
32689 (getListCellRendererComponent): Turn null value into empty string.
32691 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32693 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32694 a Unicode block if the name starts with "In".
32695 (UnicodeBlockHandler): New inner class.
32697 2006-02-04 Roman Kennke <kennke@aicas.com>
32699 * java/awt/Container.java
32700 (getComponentZOrder): New method.
32701 (setComponentZOrder): New method.
32702 * javax/swing/JLayeredPane.java
32703 (setPosition): Reimplemented to use setComponentZOrder().
32704 (getIndexOf): Reimplemented to use getComponentZOrder().
32705 (addImpl): Pass layerContraint to super call. Important for possibly
32706 installed layout managers.
32707 (swapComponents): Remove unneeded method.
32709 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32711 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32712 DSAKeyPairGenerator.
32713 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32714 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32716 Surround call to adaptee in a try/catch.
32717 (initialize((DSAParams,SecureRandom)): New method.
32718 (initialize(int,boolean,SecureRandom)): New method.
32719 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32720 KeyPairGenerator rather than KeyPairGeneratorSpi.
32721 (KeyPairGeneratorAdapter): Call super with algorithm name.
32723 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32725 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32726 (getDefaultPRNG): New method.
32727 (parseO): Use method above.
32728 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32729 (getDefaultPRNG): New method.
32730 (createO): Use method above.
32731 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32732 (nextByte): Use above field.
32733 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32734 * gnu/java/security/sig/rsa/RSA.java: New class field.
32735 (newR): Use above field
32736 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32737 (encode): Use field.above.
32738 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32739 (getDefaultPRNG): new method.
32740 (nextRandomBytes): Use above method.
32741 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32742 * gnu/java/security/sig/BaseSignature.java: Likewise.
32743 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32744 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32745 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32746 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32747 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32748 (getDefaultPRNG): new method.
32749 (nextRandomBytes): Use above method.
32750 (STRICT_DEFAULTS): new class field.
32751 (USE_DEFAULTS): more documentation to clarify behavior.
32752 (setup): amended to handle new attribute.
32753 * gnu/java/security/util/PRNG.java: New file.
32755 2006-02-03 Lillian Angel <langel@redhat.com>
32757 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32758 chooser field should be protected, not package-private.
32760 2006-02-03 Lillian Angel <langel@redhat.com>
32762 * javax/swing/text/DefaultStyledDocument.java
32763 (changeUpdate): Cleaned up code.
32765 (insertUpdate): Set offset to be equal to pos after
32766 insertContentTag call.
32767 (insertContentTag): If paragraph has no children, should use
32768 replace instead of Edit.
32769 (insertFracture): Moved around code to prevent any exception. Also,
32770 left side of tree should not be recreated if it has already been
32771 edited. In that case, we should only be creating a new right branch
32773 (getEditForParagraphAndIndex): No need to check index. We should
32774 use the same edit for each paragraph.
32776 2006-02-03 Mark Wielaard <mark@klomp.org>
32778 * javax/swing/event/SwingPropertyChangeSupport.java
32779 (propertyListeners): Change type to HashMap.
32780 (SwingPropertyChangeSupport): Allocate HashMap.
32782 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32784 * java/security/KeyPairGenerator.java (getInstance): Test for
32785 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32787 2006-02-02 Roman Kennke <kennke@aicas.com>
32789 * javax/swing/RepaintManager.java
32790 Made fields private.
32791 (RepaintWorker.run): Enclosed work stuff in try finally block in
32792 order to clean up correctly if invalidation or painting fails,
32793 otherwise we would get no more RepaintWorkers onto the EventQueue.
32794 Also, now the RepaintWorker is marked 'dead' only after it has
32795 finished its work, avoid more than one RepaintWorker on the queue.
32796 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32797 instead of hierarchy depths.
32798 (workDirtyComponents): Removed unused field.
32799 (repaintOrder): Removed unused field.
32800 (workRepaintOrder): Removed unused field.
32801 (workInvalidComponents): Removed unused field.
32802 (RepaintManager()): Removed initialization of removed fields.
32803 (addInvalidComponent): Fine tuned synchronization.
32804 (removeInvalidComponent): Fine tune synchronization.
32805 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32806 synchronization. Don't manager repaintOrder here.
32807 (insertRepaintOrder): Removed method.
32808 (markCompletelyClean): Fine tuned synchronization.
32809 (validateInvalidComponents): Dont use a working copy of the
32810 invalidComponents list, instead fine tuned synchronization on this
32811 list. Also, don't search validateRoot, this is already done in
32812 addInvalidComponent().
32813 (paintDirtyRegions): Compute repaint order here, based on size of
32814 damaged regions. Fine tuned synchronization. Avoid use of working
32815 copies of dirtyComponent.
32817 2006-02-02 Lillian Angel <langel@redhat.com>
32819 * javax/swing/text/DefaultStyledDocument.java
32820 (insertUpdate): JoinNextDirection should push the
32821 'next' paragraph on the stack.
32823 2006-02-02 Lillian Angel <langel@redhat.com>
32825 * javax/swing/text/DefaultStyledDocument.java
32826 (insertUpdate): Rewrote code for Originate. This prevents
32827 leaves being created multiple times. If it is on the last
32828 ElementSpec, the leaves need to be created right then;
32829 otherwise, only a branch is created.
32830 (insertContentTag): Rewrote to add new leaf directly if
32831 this is a branch with no children. Otherwise, it
32832 recreates the remainder of the tree as before.
32834 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32836 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32837 for making a list of REMatch instances.
32838 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32839 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32840 (match): Rewritten using REMatchList.
32841 (matchRest): Rewritten using REMatchList.
32843 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32845 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32846 (friendsMove): Call repaint() only after endOfGame is assigned.
32848 2006-02-02 Mark Wielaard <mark@klomp.org>
32850 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32851 * java/util/AbstractCollection.java (toString): Only use Iterator,
32852 check whether collection contains itself.
32854 2006-02-01 Casey Marshall <csm@gnu.org>
32856 Partial fix for PR classpath/25143.
32857 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32858 (<init>): fill in `algName,' derive `algOid' from `algName.'
32859 (getOid): new method.
32860 (encode): embed NULL value for parameters if `params' is `null.'
32862 2006-02-01 Casey Marshall <csm@gnu.org>
32864 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32865 <monoman@gmail.com>.
32866 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32867 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32869 2006-02-01 Casey Marshall <csm@gnu.org>
32871 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32872 * gnu/java/security/der/DERValue.java
32873 (getLength, getEncoded, getEncodedLength): throw an exception,
32874 don't initialize `encoded' to a bogus value.
32875 (toString): return a more helpful string.
32877 Partial fix for PR classpath/25144.
32878 * gnu/java/security/der/DERWriter.java (write): if the value is
32879 the pseudo-value used for CONSTRUCTED, write the encoded value
32882 2006-02-01 Tom Tromey <tromey@redhat.com>
32884 * java/security/Security.java (loadProviders): Use system class
32887 2006-02-01 Mark Wielaard <mark@klomp.org>
32889 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32890 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32891 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32892 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32893 (UnicodeCategoriesHandler): New private static class.
32895 2006-02-01 Lillian Angel <langel@redhat.com>
32897 * javax/swing/text/DefaultStyledDocument.java:
32898 Removed unneeded fields.
32899 (insertUpdate): Removed field initialization.
32900 (insertContentTag): Rewrote part of function. Still
32903 2006-02-01 Lillian Angel <langel@redhat.com>
32905 * javax/swing/text/DefaultStyledDocument.java
32906 (insertParagraph): Cleaned up code.
32907 (insertFirstContentTag): Fixed call to recreateLeaves.
32908 (insertContentTag): Added check to code to determine where
32909 content should be inserted with respect to next element.
32910 (createFracture): Removed check, recreateLeaves is called in
32911 other places when needed.
32912 (recreateLeaves): Added new parameter for paragraph instead
32913 of checking the stack. Removed editing for newBranch, replaced
32914 with a replace call.
32916 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32918 * doc/unicode/Blocks-4.0.0.txt: New file.
32919 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32920 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32921 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32922 but replaced some 1.5-only features (such as enum).
32924 2006-01-31 Roman Kennke <kennke@aicas.com>
32926 * javax/swing/text/PasswordView.java
32927 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32929 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32932 2006-01-31 Roman Kennke <kennke@aicas.com>
32934 * javax/swing/JTextField.java
32935 (getPreferredSize): Also include textfield's insets in width
32938 2006-01-31 Roman Kennke <kennke@aicas.com>
32940 * javax/swing/plaf/basic/BasicTextUI.java
32941 (getPreferredSize): Include the textcomponent's insets in
32944 2006-01-31 Roman Kennke <kennke@aicas.com>
32946 * javax/swing/table/DefaultTableCellRenderer.java
32947 (getTableCellRendererComponent): Moved setting of the value into
32948 setValue(). Removed (bogus) special handling of JTextField values.
32949 (setValue): Made ?: statement more clear by rewriting it
32952 2006-01-31 Roman Kennke <kennke@aicas.com>
32954 * javax/swing/JLayeredPane.java
32955 (insertIndexForLayer): Fixed algorithm to correctly determine
32956 inser index for positions >= 0.
32957 (addImpl): Fixed API docs for the index parameter.
32959 2006-01-31 Mark Wielaard <mark@klomp.org>
32961 * java/net/URI.java (getURIGroup): Check for null to see whether
32962 group actually exists.
32964 2006-01-31 Lillian Angel <langel@redhat.com>
32966 * javax/swing/text/DefaultStyledDocument.java
32967 (changeUpdate): Fixed calls to split to incorporate
32969 (insertParagraph): Likewise. Uses 0 as editIndex
32970 because inserting into a new paragraph.
32971 (insertContentTag): Fixed check to use
32972 recreateLeaves. Added a FIXME comment.
32973 (split): Added a new parameter for edits.
32975 2006-01-31 Roman Kennke <kennke@aicas.com>
32977 * javax/swing/plaf/basic/BasicRootPaneUI.java
32978 (installDefaults): Don't install a background color here.
32980 2006-01-31 Lillian Angel <langel@redhat.com>
32982 * javax/swing/text/DefaultStyledDocument.java
32983 (insert): Removed comment.
32984 (insertUpdate): Added comment.
32985 (recreateLeaves): Removed call to push newBranch onto the
32986 stack. This does not need to be done here.
32988 2006-01-31 Chris Burdess <dog@gnu.org>
32990 * gnu/xml/stream/SAXParser.java,
32991 gnu/xml/stream/UnicodeReader.java,
32992 gnu/xml/stream/XIncludeFilter.java,
32993 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32994 only resolved the system ID not the stream. Make some utility methods
32995 public and static for use by other private XML APIs.
32996 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32997 called without throwing IllegalStateException.
32998 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33001 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33004 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33005 for an invalid index and return null for a skipped group.
33007 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33010 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33011 (NamedProperty): New inner class.
33012 (getNamedProperty): New method.
33013 (getRETokenNamedProperty): New Method.
33014 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33015 * gnu/regexp/RETokenNamedProperty.java: New file.
33017 2006-01-31 Roman Kennke <kennke@aicas.com>
33019 * javax/swing/plaf/PlainView.java
33020 (paint): Call drawLine with baseline coordinates.
33021 (drawLine): Documented and indented this method.
33022 (drawUnselecetedText): Documented and indented this method.
33023 * javax/swing/plaf/text/Utilites.java
33024 (drawTabbedText): The coordinates denote the baseline of the text
33025 not the upper left corner.
33027 2006-01-31 Roman Kennke <kennke@aicas.com>
33029 * javax/swing/plaf/basic/BasicTextUI.java
33030 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33031 UIManager. Added FIXME regarding the implementation of this method.
33033 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33035 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33036 (ButtonDemo): Move content initialisation to new method,
33037 (initFrameContent): New method,
33038 (main): Call initFrameContent(),
33039 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33040 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33041 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33042 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33043 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33045 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33047 * examples/gnu/classpath/examples/swing/Demo.java
33048 (Demo): Set frame size,
33049 (mkButtonBar): Removed stacked sub-panels.
33051 2006-01-30 Lillian Angel <langel@redhat.com>
33053 * javax/swing/text/DefaultStyledDocument.java:
33055 (insert): Initialized fields. Removed call to addEdit,
33056 and created ElementEdit instead.
33057 (insertUpdate): Added check for fracturing. If the
33058 fracturing was not successful, we should push the
33059 last element back on the stack.
33060 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33061 Also, changed replace calls to use Edit.
33062 (insertFirstContentTag): Removed unneeded check and fixed call
33064 (insertContent): Fixed check to use new fields. Added code in
33065 to check if leaves overlap.
33066 (createFracture): Fixed call to recreateLeaves.
33067 (recreateLeaves): Fixed code and cleaned it up a bit.
33068 (insertFracture): Set fracNotCreated field.
33069 (addEdit): Removed, this method is not needed.
33071 2006-01-30 Roman Kennke <kennke@aicas.com>
33073 * javax/swing/JRootPane.java
33074 (RootLayout.prefSize): Removed caching for preferredSize.
33075 (RootLayout.invalidateLayout): Likewise.
33076 (RootLayout.preferredLayoutSize): Likewise.
33078 2006-01-30 Roman Kennke <kennke@aicas.com>
33081 * javax/swing/JFrame.java
33082 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33083 * javax/swing/plaf/metal/MetalRootPaneUI.java
33084 (MetalFrameBorder): New inner class, provides the border for
33085 top level containers with L&F decorations.
33086 (MetalTitlePane): New inner class, provides the title pane for
33087 top level containers with L&F decorations.
33088 (MetalRootLayout): New inner class. Used to layout the root pane
33089 when L&F window decorations are enabled.
33090 (installUI): New method. Handles window decorations.
33091 (uninstallUI): New method. Handles window decorations.
33092 (propertyChange): Handles window decorations.
33093 (installWindowDecorations): New method. Handles window
33095 (uninstallWindowDecorations): New method. Handles window
33097 * javax/swing/plaf/metal/MetalLookAndFeel.java
33098 (getSupportsWindowDecorations): Overridden to return true.
33100 2006-01-30 Mark Wielaard <mark@klomp.org>
33102 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33103 IllegalArgumentException when orientation is illegal.
33104 (JProgressBar(int, int, int)): Likewise and throw exception.
33105 (setOrientation): Likewise.
33107 2006-01-30 Roman Kennke <kennke@aicas.com>
33109 * javax/swing/ViewportLayout.java
33110 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33112 2006-01-30 Mark Wielaard <mark@klomp.org>
33114 * javax/swing/JProgressBar.java (orientation): Always set by
33116 (JProgressBar(int)): Document default on 'illegal' value.
33117 (JProgressBar(int, int, int)): Likewise and set orientation to
33118 HORIZONTAL when 'illegal'.
33119 (setOrientation): Likewise.
33121 2006-01-30 Roman Kennke <kennke@aicas.com>
33123 * javax/swing/plaf/basic/BasicListUI.java
33124 (ListDataHandler.contentsChanged): Update the
33125 updateLayoutStateNeeded flag.
33126 (ListDataHandler.intervalAdded): Update the
33127 updateLayoutStateNeeded flag.
33128 (ListDataHandler.intervalRemoved): Update the
33129 updateLayoutStateNeeded flag.
33130 (PropertyChangeHandler.propertyChange): Correctly update the
33131 listeners on new list model.
33132 (maybeUpdateLayoutState): Don't consider the validation state
33135 2006-01-30 Mark Wielaard <mark@klomp.org>
33137 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33140 2006-01-30 Roman Kennke <kennke@aicas.com>
33142 * javax/swing/JLayeredPane.java
33143 (insertIndexForLayer): Fixed algorithm to correctly insert
33144 components within different layers and -1 position.
33146 2006-01-30 Mark Wielaard <mark@klomp.org>
33148 * doc/api/Makefile.am (create_html): Add -validhtml.
33150 2006-01-30 Roman Kennke <kennke@aicas.com>
33152 * javax/swing/JLayeredPane.java
33153 (insertIndexForLayer): Fixed algorithm to correctly insert
33154 components within same layer and -1 position.
33156 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33159 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33160 New execution flag.
33161 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33162 implicit RETokenEnd at the end of the regexp chain.
33163 Do not select the longest match, but select the first match.
33164 (match): Do not take care of REMatch.empty.
33165 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33166 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33167 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33168 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33169 Do not take care of REMatch.empty. Set and check REMatch.empty
33170 when trying to match the single token.
33172 2006-01-30 Mark Wielaard <mark@klomp.org>
33174 * java/awt/Cursor.java (toString): Include name and type.
33176 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33178 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33180 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33182 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33185 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33186 Consider the validation state of the list.
33188 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33190 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33192 * java/beans/XMLDecoder.java:
33193 (setExceptionListener): Use shared DefaultExceptionListener
33195 * java/beans/Encoder.java:
33196 (setExceptionListener): Use shared DefaultExceptionListener
33199 2006-01-29 Roman Kennke <kennke@aicas.com>
33201 * javax/swing/ScrollPaneLayout.java
33202 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33204 2006-01-29 Mark Wielaard <mark@klomp.org>
33206 * java/net/SocketPermission.java (setActions): Trim and lower case
33209 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33211 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33212 incorrectly failing primality test for some known primes. Fixed.
33213 (passFermatLittleTheorem): Removed.
33214 (passMillerRabin): Removed.
33215 (isProbablePrime): Cache primes that pass the primality tests.
33216 Use BigInteger.isProbablePrime(int) for primality tests.
33217 (debugBI): New static debugging method.
33219 2006-01-28 Roman Kennke <kennke@aicas.com>
33221 * javax/swing/plaf/basic/BasicListUI.java
33222 (updateLayoutState): Removed unneeded special case for VERTICAL.
33224 2006-01-28 Roman Kennke <kennke@aicas.com>
33226 * javax/swing/plaf/basic/BasicListUI.java
33227 (getCellBounds): Determine correct list width when having a
33228 layoutOrientation of VERTICAL.
33229 (maybeUpdateLayoutState): Don't consider the validation state of
33232 2006-01-28 Mark Wielaard <mark@klomp.org>
33234 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33235 * java/awt/print/NoPrinterJob.java: New (fake) class.
33236 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33238 2006-01-28 Mark Wielaard <mark@klomp.org>
33240 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33242 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33244 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33245 (addChildren): New method.
33247 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33249 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33250 constructor for cloning purposes.
33251 (clone): New implementation that ensures cloning.
33252 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33253 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33256 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33258 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33259 Call updateCurrentVisiblePath.
33261 2006-01-27 Roman Kennke <kennke@aicas.com>
33263 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33265 2006-01-27 Roman Kennke <kennke@aicas.com>
33267 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33268 (createContent): Only create new content if we don't have one
33270 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33271 (createContent): Only create new content if we don't have one
33273 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33274 (createContent): Only create new content if we don't have one
33276 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33277 (createContent): Only create new content if we don't have one
33279 * examples/gnu/classpath/examples/swing/SliderDemo.java
33280 (createContent): Only create new content if we don't have one
33282 * examples/gnu/classpath/examples/swing/TableDemo.java
33283 (createContent): Only create new content if we don't have one
33285 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33286 (createContent): Only create new content if we don't have one
33289 2006-01-27 Lillian Angel <langel@redhat.com>
33291 * javax/swing/text/DefaultStyledDocument.java
33292 (insertFirstContentTag): Removed check, not needed. This
33293 still needs to be fixed for some cases. Added call to
33295 (createFracture): Added call to recreateLeaves.
33296 (recreateLeaves): New method used to recreate all the
33297 leaves after the initial insertion. This still needs
33299 (handleInsertAfterNewline): Removed else, not needed.
33301 2006-01-27 Roman Kennke <kennke@aicas.com>
33303 * javax/swing/JLayeredPane.java
33304 (inserIndexForLayer): Fixed direction of search.
33306 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33308 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33309 node into nodeStates.
33311 2006-01-27 Roman Kennke <kennke@aicas.com>
33313 * javax/swing/JLayeredPane.java
33314 (FRAME_CONTENT_LAYER): Made field final.
33315 (componentToLayer): Made field private.
33316 (rectCache): Removed field.
33317 (layers): Removed field.
33318 (JLayeredPane()): Removed initialization of removed fields.
33319 (getLayer): Rewritten to make use of client properties in
33320 JComponents and to be more straighforward.
33321 (static getLayer): Rewritten to make use of client properties in
33323 (layerToRange): Removed method.
33324 (incrLayer): Removed method.
33325 (decrLayer): Removed method.
33326 (highestLayer): Rewritten to be more straightforward.
33327 (lowestLayer): Rewritten to be more straightforward.
33328 (getPosition): Rewritten to be more straightforward.
33329 (getComponentsInLayer): Rewritten to be more straightforward.
33330 (getComponentCountInLayer): Rewritten to be more straightforward.
33331 (getIndexOf): Rewritten to be more straightforward.
33332 (inserIndexForLayer): Rewritten to be more straightforward.
33333 (remove): Rewritten to be more straightforward.
33334 (setLayer): Rewritten to be more straightforward.
33335 (addImpl): Rewritten to be more straightforward.
33336 (putLayer): Rewritten to be more straightforward.
33338 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33340 * java/lang/Character.java:
33341 (offsetByCodePoints(CharSequence, int, int)): New API method.
33342 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33343 (toChars): Throw the Exception that the docs say we throw.
33344 (codePointAt): Fixed an off-by-one error in the bounds of the if
33346 * java/lang/String.java:
33347 (String(int[], int, int)): New API constructor.
33349 2006-01-27 Lillian Angel <langel@redhat.com>
33351 * javax/swing/text/DefaultStyledDocument.java
33352 (insert): Moved this loop to insertUpdate.
33353 (insertUpdate): Likewise. Fixed variable
33354 names. Incremented pos if new paragraph
33356 (split): Changed edits to use replace instead. Prevents
33358 (insertFirstContentTag): Removed else.
33359 (insertContentTag): Implemented else for JoinNextDirection.
33360 (createFracture): Fixed up code, still not fully complete.
33361 (insertFracture): Fixed to use return value from
33362 recreateAfterFracture.
33363 (recreateAfterFracture): Changed to return an array of the
33364 elements to be added. This prevents an assertion error.
33365 (contains): New function checks if an element is already in
33366 the Vector. Vector's contain function was not enough to use.
33367 (addAddedElement): Changed to use new contains function.
33368 (addAddedElements): Likewise.
33369 (addRemovedElement): Likewise.
33370 (addRemovedElements): Likewise.
33372 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33375 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33376 If no user class loaders found on the stack, return the thread
33377 context class loader. (currentClassLoader): Explained.
33379 2006-01-27 Roman Kennke <kennke@aicas.com>
33381 * java/awt/Container.java
33382 (swapComponents): Removed unspecified method.
33383 * javax/swing/JLayeredPane.java
33384 (setPosition): Reimplemented correctly.
33385 (swapComponents): New helper method.
33387 2006-01-27 Mark Wielaard <mark@klomp.org>
33389 * configure.ac: Set version to 0.21-pre.
33391 2006-01-27 Roman Kennke <kennke@aicas.com>
33394 * javax/swing/JComponent.java
33395 (findOverlapFreeParent): Improved the algorithm to make better use
33396 of the optimizedDrawingEnabled flag.
33397 * javax/swing/JLayeredPane.java
33398 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33399 * javax/swing/JViewport.java
33400 (computeBlit): Fixed check to decide if blitting is possible or not,
33401 so that it doesn't blit if nothing was scrolled (in order to
33402 update the buffer when the view updates itself).
33404 2006-01-27 Roman Kennke <kennke@aicas.com>
33406 * javax/swing/plaf/metal/MetalFileChooserUI.java
33407 (createList): Don't set scrollbar policy.
33409 2006-01-27 Roman Kennke <kennke@aicas.com>
33411 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33412 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33413 Fixed to also handle non-Swing toplevel containers.
33414 (PopupMenuHandler.popupMenuWillBecomeVisible):
33415 Fixed to also handle non-Swing toplevel containers.
33416 * javax/swing/Popup.java
33417 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33420 2006-01-27 Roman Kennke <kennke@aicas.com>
33422 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33423 (InternalFramePropertyChangeListener): Don't implement
33424 VetoableChangeListener.
33425 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33426 (internalFrameVetoableChangeListener): Removed unneeded field.
33427 (installListeners): Don't install vetoableChangeListener.
33428 * javax/swing/event/DocumentEvent.java
33429 (EventType): Made class final.
33431 2006-01-27 Roman Kennke <kennke@aicas.com>
33433 * javax/swing/SwingUtilities.java
33434 (calculateInsetArea): Removed unneeded method. The method
33435 calculateInnerArea has the same purpose and is actually specified.
33436 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33437 * javax/swing/plaf/basic/BasicMenuItemUI.java
33438 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33439 of SwingUtilities.calculateInsetArea().
33441 2006-01-27 Roman Kennke <kennke@aicas.com>
33443 * javax/swing/plaf/basic/BasicTreeUI.java
33444 (installDefaults): Removed requestFocusInWindow() call.
33445 * javax/swing/JComponent.java
33446 (requestFocusInWindow(boolean)): Made method protected.
33447 (printComponent): Made method protected.
33448 (printChildren): Made method protected.
33449 (printComponent): Made method protected.
33450 (printBorder): Made method protected.
33452 2006-01-27 Roman Kennke <kennke@aicas.com>
33454 * javax/swing/AbstractButton.java
33455 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33457 * javax/swing/ImageIcon.java
33458 (component): Made field final.
33459 (tracker): Made field final.
33460 * javax/swing/JApplet.java
33461 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33462 * javax/swing/JCheckBox.java
33463 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33465 * javax/swing/JDialog.java
33466 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33467 * javax/swing/JFrame.java
33468 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33469 * javax/swing/JLayeredPane.java
33470 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33472 (DEFAULT_LAYER): Made field final.
33473 (PALETTE_LAYER): Made field final.
33474 (MODAL_LAYER): Made field final.
33475 (POPUP_LAYER): Made field final.
33476 (DRAG_LAYER): Made field final.
33477 * javax/swing/JMenu.java
33478 (ActionChangeListener): Made class private.
33479 * javax/swing/JOptionPane.java
33480 (UNITITIALIZED_VALUE): Made field final.
33481 * javax/swing/JPanel.java
33482 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33483 * javax/swing/JPopupMenu.java
33484 (ActionChangeListener): Made class private.
33485 * javax/swing/JTree.java
33486 (paramString): Made method protected.
33487 * javax/swing/JViewport.java
33488 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33489 * javax/swing/JWindow.java
33490 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33491 * javax/swing/RepaintManager.java
33492 (RepaintWorker): Made class private.
33494 2006-01-27 Roman Kennke <kennke@aicas.com>
33496 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33497 (handleEvent): Removed debug statement.
33499 2006-01-27 Roman Kennke <kennke@aicas.com>
33501 * java/awt/Component.java
33502 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33503 more than it helps.
33505 2006-01-26 Lillian Angel <langel@redhat.com>
33507 * javax/swing/text/DefaultStyledDocument.java
33508 (createFracture): Commented out a known problem,
33511 2006-01-26 Lillian Angel <langel@redhat.com>
33513 * javax/swing/text/DefaultStyledDocument.java
33514 (ElementBuffer): Added fields.
33515 (remove): Initialized pos.
33516 (change): Likewise.
33517 (insert): Likewise.
33518 (insertUpdate): Incremented pos. Fixed check, createFracture should
33519 be called on first tag if it is not ContentType.
33520 (insertFirstContentTag): Reworked to use proper offsets and
33521 set offset accordingly. This might need more work in the future.
33522 (insertContentTag): Likewise. Fixed to use pos, instead of
33524 (createFracture): Fixed to recreate other leaves. Still needs
33526 (insertFracture): Reimplemented.
33527 (recreateAfterFracture): New method.
33528 (getParagraphElement): Reimplemented, more efficent.
33530 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33532 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33533 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33534 ordering for little-endian arms without VFP.
33536 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33539 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33541 2006-01-26 Mark Wielaard <mark@klomp.org>
33543 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33544 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33545 Add trailing zeros to the fraction of the decimal with the smallest
33548 2006-01-26 Roman Kennke <kennke@aicas.com>
33550 * javax/swing/text/html/ObjectView.java: New file.
33552 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33554 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33555 Call startEditing when appropriate.
33556 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33557 (startEditing): Always edit if directly ordered from
33558 MouseHandler.mousePressed.
33559 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33560 New field. (createTreeCellEditor): Set click count to start.
33561 (getTreeCellEditorComponent): Assing realEditor directly.
33563 2006-01-25 Casey Marshall <csm@gnu.org>
33565 Merging GNU Crypto and Jessie.
33567 * NEWS: mention the merge in the 0.21 notes.
33568 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33569 (SSL_RECORD_LAYER): new constants.
33570 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33572 * resource/java/security/classpath.security: add new providers.
33573 * gnu/javax/crypto/assembly/Assembly.java,
33574 gnu/javax/crypto/assembly/Cascade.java,
33575 gnu/javax/crypto/assembly/CascadeStage.java,
33576 gnu/javax/crypto/assembly/CascadeTransformer.java,
33577 gnu/javax/crypto/assembly/DeflateTransformer.java,
33578 gnu/javax/crypto/assembly/Direction.java,
33579 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33580 gnu/javax/crypto/assembly/ModeStage.java,
33581 gnu/javax/crypto/assembly/Operation.java,
33582 gnu/javax/crypto/assembly/PaddingTransformer.java,
33583 gnu/javax/crypto/assembly/Stage.java,
33584 gnu/javax/crypto/assembly/Transformer.java,
33585 gnu/javax/crypto/assembly/TransformerException.java,
33586 gnu/javax/crypto/cipher/Anubis.java,
33587 gnu/javax/crypto/cipher/BaseCipher.java,
33588 gnu/javax/crypto/cipher/Blowfish.java,
33589 gnu/javax/crypto/cipher/Cast5.java,
33590 gnu/javax/crypto/cipher/CipherFactory.java,
33591 gnu/javax/crypto/cipher/DES.java,
33592 gnu/javax/crypto/cipher/IBlockCipher.java,
33593 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33594 gnu/javax/crypto/cipher/Khazad.java,
33595 gnu/javax/crypto/cipher/NullCipher.java,
33596 gnu/javax/crypto/cipher/Rijndael.java,
33597 gnu/javax/crypto/cipher/Serpent.java,
33598 gnu/javax/crypto/cipher/Square.java,
33599 gnu/javax/crypto/cipher/TripleDES.java,
33600 gnu/javax/crypto/cipher/Twofish.java,
33601 gnu/javax/crypto/cipher/WeakKeyException.java,
33602 gnu/javax/crypto/jce/GnuCrypto.java,
33603 gnu/javax/crypto/jce/GnuSasl.java,
33604 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33605 gnu/javax/crypto/jce/cipher/AESSpi.java,
33606 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33607 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33608 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33609 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33610 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33611 gnu/javax/crypto/jce/cipher/DESSpi.java,
33612 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33613 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33614 gnu/javax/crypto/jce/cipher/PBES2.java,
33615 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33616 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33617 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33618 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33619 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33620 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33621 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33622 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33623 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33624 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33625 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33626 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33627 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33628 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33629 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33630 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33631 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33632 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33633 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33634 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33635 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33636 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33637 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33638 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33639 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33640 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33641 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33642 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33643 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33644 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33645 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33646 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33647 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33648 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33649 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33650 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33651 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33652 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33653 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33654 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33655 gnu/javax/crypto/jce/mac/MacAdapter.java,
33656 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33657 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33658 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33659 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33660 gnu/javax/crypto/jce/mac/OMacImpl.java,
33661 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33662 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33663 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33664 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33665 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33666 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33667 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33668 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33669 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33670 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33671 gnu/javax/crypto/jce/params/DEREncodingException.java,
33672 gnu/javax/crypto/jce/params/DERReader.java,
33673 gnu/javax/crypto/jce/params/DERWriter.java,
33674 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33675 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33676 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33677 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33678 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33679 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33680 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33681 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33682 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33683 gnu/javax/crypto/key/GnuSecretKey.java,
33684 gnu/javax/crypto/key/IKeyAgreementParty.java,
33685 gnu/javax/crypto/key/IncomingMessage.java,
33686 gnu/javax/crypto/key/KeyAgreementException.java,
33687 gnu/javax/crypto/key/KeyAgreementFactory.java,
33688 gnu/javax/crypto/key/OutgoingMessage.java,
33689 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33690 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33691 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33692 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33693 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33694 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33695 gnu/javax/crypto/key/dh/ElGamalSender.java,
33696 gnu/javax/crypto/key/dh/GnuDHKey.java,
33697 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33698 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33699 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33700 gnu/javax/crypto/key/dh/RFC2631.java,
33701 gnu/javax/crypto/key/srp6/SRP6Host.java,
33702 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33703 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33704 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33705 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33706 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33707 gnu/javax/crypto/key/srp6/SRP6User.java,
33708 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33709 gnu/javax/crypto/key/srp6/SRPKey.java,
33710 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33711 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33712 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33713 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33714 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33715 gnu/javax/crypto/keyring/BaseKeyring.java,
33716 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33717 gnu/javax/crypto/keyring/CertPathEntry.java,
33718 gnu/javax/crypto/keyring/CertificateEntry.java,
33719 gnu/javax/crypto/keyring/CompressedEntry.java,
33720 gnu/javax/crypto/keyring/EncryptedEntry.java,
33721 gnu/javax/crypto/keyring/Entry.java,
33722 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33723 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33724 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33725 gnu/javax/crypto/keyring/IKeyring.java,
33726 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33727 gnu/javax/crypto/keyring/IPublicKeyring.java,
33728 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33729 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33730 gnu/javax/crypto/keyring/MeteredInputStream.java,
33731 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33732 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33733 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33734 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33735 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33736 gnu/javax/crypto/keyring/Properties.java,
33737 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33738 gnu/javax/crypto/mac/BaseMac.java,
33739 gnu/javax/crypto/mac/HMac.java,
33740 gnu/javax/crypto/mac/HMacFactory.java,
33741 gnu/javax/crypto/mac/IMac.java,
33742 gnu/javax/crypto/mac/MacFactory.java,
33743 gnu/javax/crypto/mac/MacInputStream.java,
33744 gnu/javax/crypto/mac/MacOutputStream.java,
33745 gnu/javax/crypto/mac/OMAC.java,
33746 gnu/javax/crypto/mac/TMMH16.java,
33747 gnu/javax/crypto/mac/UHash32.java,
33748 gnu/javax/crypto/mac/UMac32.java,
33749 gnu/javax/crypto/mode/BaseMode.java,
33750 gnu/javax/crypto/mode/CBC.java,
33751 gnu/javax/crypto/mode/CFB.java,
33752 gnu/javax/crypto/mode/CTR.java,
33753 gnu/javax/crypto/mode/EAX.java,
33754 gnu/javax/crypto/mode/ECB.java,
33755 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33756 gnu/javax/crypto/mode/ICM.java,
33757 gnu/javax/crypto/mode/IMode.java,
33758 gnu/javax/crypto/mode/ModeFactory.java,
33759 gnu/javax/crypto/mode/OFB.java,
33760 gnu/javax/crypto/pad/BasePad.java,
33761 gnu/javax/crypto/pad/IPad.java,
33762 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33763 gnu/javax/crypto/pad/PKCS7.java,
33764 gnu/javax/crypto/pad/PadFactory.java,
33765 gnu/javax/crypto/pad/SSL3.java,
33766 gnu/javax/crypto/pad/TBC.java,
33767 gnu/javax/crypto/pad/TLS1.java,
33768 gnu/javax/crypto/pad/WrongPaddingException.java,
33769 gnu/javax/crypto/prng/ARCFour.java,
33770 gnu/javax/crypto/prng/CSPRNG.java,
33771 gnu/javax/crypto/prng/Fortuna.java,
33772 gnu/javax/crypto/prng/ICMGenerator.java,
33773 gnu/javax/crypto/prng/IPBE.java,
33774 gnu/javax/crypto/prng/PBKDF2.java,
33775 gnu/javax/crypto/prng/PRNGFactory.java,
33776 gnu/javax/crypto/prng/UMacGenerator.java,
33777 gnu/javax/crypto/sasl/AuthInfo.java,
33778 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33779 gnu/javax/crypto/sasl/ClientFactory.java,
33780 gnu/javax/crypto/sasl/ClientMechanism.java,
33781 gnu/javax/crypto/sasl/ConfidentialityException.java,
33782 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33783 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33784 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33785 gnu/javax/crypto/sasl/InputBuffer.java,
33786 gnu/javax/crypto/sasl/IntegrityException.java,
33787 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33788 gnu/javax/crypto/sasl/NoSuchUserException.java,
33789 gnu/javax/crypto/sasl/OutputBuffer.java,
33790 gnu/javax/crypto/sasl/SaslEncodingException.java,
33791 gnu/javax/crypto/sasl/SaslInputStream.java,
33792 gnu/javax/crypto/sasl/SaslOutputStream.java,
33793 gnu/javax/crypto/sasl/SaslUtil.java,
33794 gnu/javax/crypto/sasl/ServerFactory.java,
33795 gnu/javax/crypto/sasl/ServerMechanism.java,
33796 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33797 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33798 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33799 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33800 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33801 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33802 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33803 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33804 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33805 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33806 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33807 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33808 gnu/javax/crypto/sasl/plain/PlainClient.java,
33809 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33810 gnu/javax/crypto/sasl/plain/PlainServer.java,
33811 gnu/javax/crypto/sasl/srp/CALG.java,
33812 gnu/javax/crypto/sasl/srp/ClientStore.java,
33813 gnu/javax/crypto/sasl/srp/IALG.java,
33814 gnu/javax/crypto/sasl/srp/KDF.java,
33815 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33816 gnu/javax/crypto/sasl/srp/SRP.java,
33817 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33818 gnu/javax/crypto/sasl/srp/SRPClient.java,
33819 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33820 gnu/javax/crypto/sasl/srp/SRPServer.java,
33821 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33822 gnu/javax/crypto/sasl/srp/ServerStore.java,
33823 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33824 gnu/javax/net/ssl/Base64.java,
33825 gnu/javax/net/ssl/EntropySource.java,
33826 gnu/javax/net/ssl/NullManagerParameters.java,
33827 gnu/javax/net/ssl/PrivateCredentials.java,
33828 gnu/javax/net/ssl/SRPManagerParameters.java,
33829 gnu/javax/net/ssl/SRPTrustManager.java,
33830 gnu/javax/net/ssl/StaticTrustAnchors.java,
33831 gnu/javax/net/ssl/provider/Alert.java,
33832 gnu/javax/net/ssl/provider/AlertException.java,
33833 gnu/javax/net/ssl/provider/Certificate.java,
33834 gnu/javax/net/ssl/provider/CertificateRequest.java,
33835 gnu/javax/net/ssl/provider/CertificateType.java,
33836 gnu/javax/net/ssl/provider/CertificateVerify.java,
33837 gnu/javax/net/ssl/provider/CipherSuite.java,
33838 gnu/javax/net/ssl/provider/ClientHello.java,
33839 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33840 gnu/javax/net/ssl/provider/CompressionMethod.java,
33841 gnu/javax/net/ssl/provider/Constructed.java,
33842 gnu/javax/net/ssl/provider/ContentType.java,
33843 gnu/javax/net/ssl/provider/Context.java,
33844 gnu/javax/net/ssl/provider/DiffieHellman.java,
33845 gnu/javax/net/ssl/provider/DigestInputStream.java,
33846 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33847 gnu/javax/net/ssl/provider/Enumerated.java,
33848 gnu/javax/net/ssl/provider/Extension.java,
33849 gnu/javax/net/ssl/provider/Extensions.java,
33850 gnu/javax/net/ssl/provider/Finished.java,
33851 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33852 gnu/javax/net/ssl/provider/Handshake.java,
33853 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33854 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33855 gnu/javax/net/ssl/provider/Jessie.java,
33856 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33857 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33858 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33859 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33860 gnu/javax/net/ssl/provider/KeyPool.java,
33861 gnu/javax/net/ssl/provider/MacException.java,
33862 gnu/javax/net/ssl/provider/OverflowException.java,
33863 gnu/javax/net/ssl/provider/PRNG.java,
33864 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33865 gnu/javax/net/ssl/provider/Random.java,
33866 gnu/javax/net/ssl/provider/RecordInput.java,
33867 gnu/javax/net/ssl/provider/RecordInputStream.java,
33868 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33869 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33870 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33871 gnu/javax/net/ssl/provider/SSLHMac.java,
33872 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33873 gnu/javax/net/ssl/provider/SSLRandom.java,
33874 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33875 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33876 gnu/javax/net/ssl/provider/SSLSocket.java,
33877 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33878 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33879 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33880 gnu/javax/net/ssl/provider/SecurityParameters.java,
33881 gnu/javax/net/ssl/provider/ServerHello.java,
33882 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33883 gnu/javax/net/ssl/provider/Session.java,
33884 gnu/javax/net/ssl/provider/SessionContext.java,
33885 gnu/javax/net/ssl/provider/Signature.java,
33886 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33887 gnu/javax/net/ssl/provider/TLSHMac.java,
33888 gnu/javax/net/ssl/provider/TLSRandom.java,
33889 gnu/javax/net/ssl/provider/Util.java,
33890 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33891 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33892 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33893 gnu/javax/security/auth/Password.java,
33894 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33895 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33896 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33897 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33898 gnu/javax/security/auth/callback/GnuCallbacks.java,
33899 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33900 gnu/java/security/Registry.java,
33901 gnu/java/security/Properties.java,
33902 gnu/java/security/hash/BaseHash.java,
33903 gnu/java/security/hash/HashFactory.java,
33904 gnu/java/security/hash/Haval.java,
33905 gnu/java/security/hash/IMessageDigest.java,
33906 gnu/java/security/hash/MD2.java,
33907 gnu/java/security/hash/MD4.java,
33908 gnu/java/security/hash/MD5.java,
33909 gnu/java/security/hash/RipeMD128.java,
33910 gnu/java/security/hash/RipeMD160.java,
33911 gnu/java/security/hash/Sha160.java,
33912 gnu/java/security/hash/Sha256.java,
33913 gnu/java/security/hash/Sha384.java,
33914 gnu/java/security/hash/Sha512.java,
33915 gnu/java/security/hash/Tiger.java,
33916 gnu/java/security/hash/Whirlpool.java,
33917 gnu/java/security/jce/hash/HavalSpi.java,
33918 gnu/java/security/jce/hash/MD2Spi.java,
33919 gnu/java/security/jce/hash/MD4Spi.java,
33920 gnu/java/security/jce/hash/MD5Spi.java,
33921 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33922 gnu/java/security/jce/hash/RipeMD128Spi.java,
33923 gnu/java/security/jce/hash/RipeMD160Spi.java,
33924 gnu/java/security/jce/hash/Sha160Spi.java,
33925 gnu/java/security/jce/hash/Sha256Spi.java,
33926 gnu/java/security/jce/hash/Sha384Spi.java,
33927 gnu/java/security/jce/hash/Sha512Spi.java,
33928 gnu/java/security/jce/hash/TigerSpi.java,
33929 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33930 gnu/java/security/jce/prng/HavalRandomSpi.java,
33931 gnu/java/security/jce/prng/MD2RandomSpi.java,
33932 gnu/java/security/jce/prng/MD4RandomSpi.java,
33933 gnu/java/security/jce/prng/MD5RandomSpi.java,
33934 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33935 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33936 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33937 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33938 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33939 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33940 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33941 gnu/java/security/jce/prng/TigerRandomSpi.java,
33942 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33943 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33944 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33945 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33946 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33947 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33948 gnu/java/security/jce/sig/SignatureAdapter.java,
33949 gnu/java/security/key/IKeyPairCodec.java,
33950 gnu/java/security/key/IKeyPairGenerator.java,
33951 gnu/java/security/key/KeyPairCodecFactory.java,
33952 gnu/java/security/key/KeyPairGeneratorFactory.java,
33953 gnu/java/security/key/dss/DSSKey.java,
33954 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33955 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33956 gnu/java/security/key/dss/DSSPrivateKey.java,
33957 gnu/java/security/key/dss/DSSPublicKey.java,
33958 gnu/java/security/key/dss/FIPS186.java,
33959 gnu/java/security/key/rsa/GnuRSAKey.java,
33960 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33961 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33962 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33963 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33964 gnu/java/security/prng/BasePRNG.java,
33965 gnu/java/security/prng/EntropySource.java,
33966 gnu/java/security/prng/IRandom.java,
33967 gnu/java/security/prng/LimitReachedException.java,
33968 gnu/java/security/prng/MDGenerator.java,
33969 gnu/java/security/prng/PRNGFactory.java,
33970 gnu/java/security/prng/RandomEvent.java,
33971 gnu/java/security/prng/RandomEventListener.java,
33972 gnu/java/security/sig/BaseSignature.java,
33973 gnu/java/security/sig/ISignature.java,
33974 gnu/java/security/sig/ISignatureCodec.java,
33975 gnu/java/security/sig/SignatureFactory.java,
33976 gnu/java/security/sig/dss/DSSSignature.java,
33977 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33978 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33979 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33980 gnu/java/security/sig/rsa/EMSA_PSS.java,
33981 gnu/java/security/sig/rsa/RSA.java,
33982 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33983 gnu/java/security/sig/rsa/RSAPSSSignature.java,
33984 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33985 gnu/java/security/util/Base64.java,
33986 gnu/java/security/util/ExpirableObject.java,
33987 gnu/java/security/util/Prime2.java,
33988 gnu/java/security/util/Sequence.java,
33989 gnu/java/security/util/SimpleList.java,
33990 gnu/java/security/util/Util.java,
33991 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33992 new files imported from GNU Crypto and Jessie.
33994 2006-01-25 Tom Tromey <tromey@redhat.com>
33996 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33997 Fixed calculation of number of bytes to read.
33998 (size, count, meta, eof): Document.
34000 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34002 * java/lang/Character.java:
34003 (codePointCount(char[], int, int)): New API method.
34004 (codePointCount(CharSequence, int, int)): Likewise.
34006 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34009 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34011 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34012 action if not editing.
34013 * javax/swing/plaf/basic/BasicTreeUI.java
34014 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34015 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34016 (EditorUpdateTimer): Removed.
34017 (TreeAction.actionPerformed): Stop and not cancel the current editing
34018 when starting editing another node.
34019 (editorTimer, newVal): Removed.
34020 (cancelEditing): Do not send the cancel message.
34021 (completeEditing): Obtain the edited value from the editor.
34022 (finish): New method.
34023 (paintRow): Do not paint the editing component here.
34024 (startEditing, stopEditing): Rewritten.
34025 * javax/swing/tree/DefaultTreeCellEditor.java
34026 (DefaultTextField): Added SVUID.
34027 (EditorContainer): Rewritten.
34028 (RealEditorListener): New inner class.
34029 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34030 (constructor): Add cell editor listener. Do not instantiate timer.
34031 (actionPerformed): Return without action.
34032 (cancelCellEditing): Rewritten.
34033 (createTreeCellEditor): Add cell editor listener to the editor.
34034 (getCellEditorValue): Request the value from the realEditor.
34035 (isCellEditable): Removed timer management.
34036 (prepareForEditing): Remove all components befor adding the
34038 (startEditingTimer): Start only if it is not null.
34039 (stopCellEditing): Rewritten.
34040 (stopEditingTimer): New method.
34041 (valueChanged): Do not configure editing component here.
34043 2006-01-25 Roman Kennke <kennke@aicas.com>
34045 * javax/swing/text/html/FormView.java: New file.
34047 2006-01-25 Roman Kennke <kennke@aicas.com>
34049 * javax/swing/JSplitPane.java
34050 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34051 has been set in order to set an initial layout.
34052 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34053 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34054 layout of the right component.
34055 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34056 dividerLocation to the size of the left component.
34057 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34059 (setDividerLocation): Don't validate the location here. Sometimes
34060 the divider needs to be set to an invalid location.
34061 (startDragging): Don't revalidate and repaint here.
34062 (finishDraggingTo): Don't repaint here. Also, don't call
34063 dragDividerTo() here.
34064 * javax/swing/plaf/basic/BasicLookAndFeel.java
34065 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34068 2006-01-25 Roman Kennke <kennke@aicas.com>
34070 * javax/swing/JSplitPane.java
34071 (addImpl): Removed invalidate() and layout() call.
34072 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34073 (PropertyHandler.propertyChange): Remove layoutContainer() and
34076 2006-01-25 Roman Kennke <kennke@aicas.com>
34079 * native/Makefile.am
34080 * native/jni/classpath/Makefile.am
34081 * native/jni/classpath/jcl.c
34082 * native/jni/classpath/jcl.h
34083 * native/jni/classpath/native_state.c
34084 * native/jni/gtk-peer/Makefile.am
34085 * native/jni/java-io/Makefile.am
34086 * native/jni/java-io/java_io_VMFile.c
34087 * native/jni/java-io/java_io_VMObjectStreamClass.c
34088 * native/jni/java-lang/Makefile.am
34089 * native/jni/java-net/Makefile.am
34090 * native/jni/java-net/java_net_VMInetAddress.c
34091 * native/jni/java-net/javanet.c
34092 * native/jni/java-net/javanet.h
34093 * native/jni/java-nio/Makefile.am
34094 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34095 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34096 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34097 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34098 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34099 * native/jni/java-util/Makefile.am
34100 * native/jni/java-util/java_util_VMTimeZone.c
34101 * native/jni/midi-dssi/Makefile.am
34102 * native/jni/xmlj/Makefile.am
34103 * native/target/Makefile.am
34104 * native/target/Linux/target_native_math.h
34105 * native/target/Linux/target_native_memory.h
34106 * native/target/Linux/Makefile.am
34107 * native/target/Linux/target_native_io.h
34108 * native/target/Linux/target_native_math_float.h
34109 * native/target/Linux/target_native_math_int.h
34110 * native/target/generic/target_generic.c
34111 * native/target/generic/target_generic_io.c
34112 * native/target/generic/target_generic_math.h
34113 * native/target/generic/target_generic_memory.h
34114 * native/target/generic/target_generic_misc.c
34115 * native/target/generic/target_generic_network.c
34116 * native/target/generic/Makefile.am
34117 * native/target/generic/target_generic.h
34118 * native/target/generic/target_generic_file.h
34119 * native/target/generic/target_generic_io.h
34120 * native/target/generic/target_generic_math_float.h
34121 * native/target/generic/target_generic_math_int.h
34122 * native/target/generic/target_generic_misc.h
34123 * native/target/generic/target_generic_network.h:
34124 Reverted target native related changes back to the state of the
34126 * native/target/MinGW/.cvsignore
34127 * native/target/MinGW/Makefile.am
34128 * native/target/MinGW/target_native.h
34129 * native/target/MinGW/target_native_file.h
34130 * native/target/MinGW/target_native_io.h
34131 * native/target/MinGW/target_native_math.h
34132 * native/target/MinGW/target_native_memory.h
34133 * native/target/MinGW/target_native_misc.h
34134 * native/target/MinGW/target_native_network.h
34135 * native/target/RTEMS/.cvsignore
34136 * native/target/RTEMS/Makefile.am
34137 * native/target/RTEMS/target_native.h
34138 * native/target/RTEMS/target_native_file.h
34139 * native/target/RTEMS/target_native_io.h
34140 * native/target/RTEMS/target_native_math.h
34141 * native/target/RTEMS/target_native_memory.h
34142 * native/target/RTEMS/target_native_misc.h
34143 * native/target/RTEMS/target_native_network.h
34144 * native/target/SunOS/.cvsignore
34145 * native/target/SunOS/Makefile.am
34146 * native/target/SunOS/target_native.h
34147 * native/target/SunOS/target_native_file.h
34148 * native/target/SunOS/target_native_io.h
34149 * native/target/SunOS/target_native_math.h
34150 * native/target/SunOS/target_native_memory.h
34151 * native/target/SunOS/target_native_misc.h
34152 * native/target/SunOS/target_native_network.h
34153 * native/target/embOS/.cvsignore
34154 * native/target/embOS/Makefile.am
34155 * native/target/embOS/target_native.h
34156 * native/target/embOS/target_native_file.h
34157 * native/target/embOS/target_native_io.c
34158 * native/target/embOS/target_native_io.h
34159 * native/target/embOS/target_native_math.h
34160 * native/target/embOS/target_native_memory.h
34161 * native/target/embOS/target_native_misc.h
34162 * native/target/embOS/target_native_network.h
34163 * native/target/posix/.cvsignore
34164 * native/target/posix/Makefile.am
34165 * native/target/posix/target_posix.c
34166 * native/target/posix/target_posix.h
34167 * native/target/posix/target_posix_file.c
34168 * native/target/posix/target_posix_file.h
34169 * native/target/posix/target_posix_io.c
34170 * native/target/posix/target_posix_io.h
34171 * native/target/posix/target_posix_math.c
34172 * native/target/posix/target_posix_math.h
34173 * native/target/posix/target_posix_memory.c
34174 * native/target/posix/target_posix_memory.h
34175 * native/target/posix/target_posix_misc.c
34176 * native/target/posix/target_posix_misc.h
34177 * native/target/posix/target_posix_network.c
34178 * native/target/posix/target_posix_network.h:
34181 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34183 * javax/print/PrintService.java,
34184 * javax/print/DocPrintJob.java,
34185 * javax/print/CancelablePrintJob.java:
34186 Added and enhanced api documentation for class and methods.
34188 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34190 * javax/print/SimpleDoc.java: Make class final.
34191 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34192 * javax/print/attribute/DateTimeSyntax.java:
34193 (toString): New overridden method.
34194 * javax/print/attribute/standard/JobStateReasons.java:
34195 (add): Use the super.add method to avoid recursion.
34196 * javax/print/attribute/standard/PrinterStateReasons.java:
34197 (put): Use the super.put method to avoid recursion.
34199 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34201 * java/beans/XMLEncoder.java:
34202 (writeExpression): Added early return (fixes PR #25941).
34203 (setExceptionListener, anonymous Class): Removed printStackTrace
34205 * java/beans/Encoder: Removed unused imports.
34206 (setupDefaultPersistenceDelegates): Removed unneccessary
34207 PersistenceDelegates for subclasses.
34208 * java/beans/PersistenceDelegate:
34209 (initialize): Use local variable as first argument as it was
34211 * java/beans/DefaultPersistenceDelegate:
34212 (initialize): Added call to superclass' implementation, added
34215 2006-01-24 Tom Tromey <tromey@redhat.com>
34217 * java/util/regex/PatternSyntaxException.java: Added @since.
34218 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34219 * java/util/regex/MatchResult.java: New file.
34221 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34223 * javax/swing/text/StringContent.java: Added API docs all over, plus
34224 minor reformatting.
34226 2006-01-24 Gary Benson <gbenson@redhat.com>
34228 * java/net/SocketPermission.java: Implemented serialization.
34230 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34232 * javax/swing/text/StringContent.java
34233 (remove): Modified argument check to prevent removal of last character,
34234 (getChars): Removed null argument check to allow NullPointerException,
34236 (checkLocation): Added API docs and white space.
34238 2006-01-23 Lillian Angel <langel@redhat.com>
34240 * javax/swing/text/DefaultStyledDocument.java
34241 (insertUpdate): Should only call createFracture with
34242 StartTagType. Added check.
34243 (insertContentTag): Should use the tags length for splitting.
34244 Also, added a check to determine if current's start and end offset are
34245 equal to the offset and endOffset. If so, only one leaf element
34247 (createFracture): Removed FIXME. This function is complete.
34248 (split): Added calls to replace. Changed so the child is
34249 added immediately to the paragraph. Prevents NPEs.
34251 2006-01-23 Mark Wielaard <mark@klomp.org>
34253 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34255 2006-01-23 Tom Tromey <tromey@redhat.com>
34257 * gnu/java/security/x509/X509Certificate.java (parse):
34258 Unconditionally read value; for version==1 case when reading
34261 2006-01-23 Roman Kennke <kennke@aicas.com>
34263 * javax/swing/plaf/synth/ColorType.java,
34264 * javax/swing/plaf/synth/Region.java,
34265 * javax/swing/plaf/synth/SynthConstants.java,
34266 * javax/swing/plaf/synth/SynthContext.java
34267 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34268 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34269 * javax/swing/plaf/synth/SynthPainter.java,
34270 * javax/swing/plaf/synth/SynthStyle.java,
34271 * javax/swing/plaf/synth/SynthStyleFactory.java,
34272 * javax/swing/plaf/synth/package.html:
34273 New files. Added the public API and framework classes for the
34274 Synth look and feel.
34276 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34278 * javax/swing/text/Segment.java: API docs all over.
34280 2006-01-23 Lillian Angel <langel@redhat.com>
34282 * javax/swing/text/DefaultStyledDocument.java
34283 (split): Should not use createLeafElement and createBranchElement here.
34284 We should just instaniate the LeafElements and BranchElements instead
34285 to avoid the case where create*Element is overridden.
34287 2006-01-23 Lillian Angel <langel@redhat.com>
34289 * javax/swing/text/DefaultStyledDocument.java
34290 (insertFirstContentTag): Moved check outside of if-statement.
34291 This should be checked before creating the new leaf element.
34292 (insertFracture): Fixed check to prevent an NPE. The previous
34293 leaf should only be recreated if it has been created by
34294 insertFirstContentTag. Also, fixed up code: if the endOffset is
34295 greater than the offset, then we need to create a temp leaf
34296 as a place holder. Otherwise, the leaf elements should be
34299 2006-01-23 Gary Benson <gbenson@redhat.com>
34301 * java/net/SocketPermission.java: Almost completely rewritten.
34303 2006-01-23 Lillian Angel <langel@redhat.com>
34305 * javax/swing/text/DefaultStyledDocument.java
34306 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34308 2006-01-23 Lillian Angel <langel@redhat.com>
34310 * javax/swing/text/DefaultStyledDocument.java:
34311 Formatted ElementBuffer and added new fields.
34312 (remove): Added check to determine if length is 0.
34313 (insertFirstContentTag): Initialized firstCreated to the element that is created
34314 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34315 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34316 that have been recreated.
34317 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34318 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34319 FIXME tags to the lines that need to be rewritten.
34321 2006-01-23 Mark Wielaard <mark@klomp.org>
34323 * examples/Makefile.am: Add support for fastjar.
34325 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34327 * gnu/regexp/REToken.java(empty): Made Cloneable.
34328 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34329 Use separate methods matchN and matchP depending on the
34331 (matchN): New method used when negative. Done as before.
34332 (matchP): New method used when not negative. Each token is
34333 tried not by itself but by a clone of it.
34335 2006-01-23 Chris Burdess <dog@gnu.org>
34338 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34339 class to avoid getLength method contention.
34340 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34342 2006-01-23 Chris Burdess <dog@gnu.org>
34344 * native/jni/java-util/Makefile.am: Include library required
34345 explicitly by BSD systems.
34346 * native/target/generic/target_generic_misc.h: Remove old commented
34348 * native/target/generic/target_generic_network.h: Fallbacks (to
34349 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34351 2006-01-22 Tom Tromey <tromey@redhat.com>
34353 * native/target/posix/.cvsignore: Added .deps.
34355 2006-01-22 Mark Wielaard <mark@klomp.org>
34358 reported by James Damour <James.Damour@corp.request.com>
34359 * java/awt/Container.java (addImpl): Use empty string as name when
34360 null constraints for LayoutManager.addLayoutComponent().
34362 2006-01-22 Chris Burdess <dog@gnu.org>
34365 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34366 representing current directory as base for relative URLs.
34368 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34371 * gnu/regexp/REMatch.java(empty): New boolean indicating
34372 an empty string matched.
34373 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34375 (initialize): Support back reference \10, \11, and so on.
34376 (parseInt): renamed from getEscapedChar and returns int.
34377 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34378 when an empty string matched. Fixed a bug of the case where
34379 an empty string matched. Added special handling of {0}.
34380 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34381 when an empty string matched. Fixed the case insensitive matching.
34383 2006-01-21 Roman Kennke <kennke@aicas.com>
34385 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34386 (paint): Added painting of border if one is installed.
34388 2006-01-21 Roman Kennke <kennke@aicas.com>
34390 PR classpath/25843:
34391 * javax/swing/plaf/basic/BasicBorders.java
34392 (getSplitPaneDividerBorder): Use new border constructor
34394 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34395 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34396 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34397 colors are fetched dynamically in the paintBorder method.
34398 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34400 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34402 * javax/swing/plaf/basic/BasicLookAndFeel.java
34403 (initComponentDefaults): Added default for SplitPaneDivider.border.
34404 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34405 (tmpBorder): Removed unneeded inner class.
34406 (BasicSplitPaneDivider): Removed setting of border.
34407 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34409 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34410 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34411 to get behaviour right.
34412 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34413 implementation. This must be rewritten since the layout now works
34414 slightly different (basically, it shouldn't modify the sizes[]
34415 here but instead the dividerLocation.
34416 (dividerLocation): New field.
34417 (installDefaults): Initialize border on divider.
34418 (uninstallDefaults): Only remove background color and border from
34419 splitPane if they are instances of UIDefaults (== not set by
34421 (setDividerLocation): Set the dividerLocation field instead of
34422 doing stunt acts here.
34423 (getDividerLocation): Return dividerLocation field.
34424 (getMinimumDividerLocation): Fixed calculation of minimum location.
34426 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34429 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34431 * lib/Makefile.am: Likewise.
34433 2006-01-21 Roman Kennke <kennke@aicas.com>
34435 * javax/swing/PopupFactory.java
34436 (getPopup): If there is no Swing root found in any way, use a
34437 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34438 for the Swing AWT peers.
34440 2006-01-20 Tom Tromey <tromey@redhat.com>
34442 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34443 Read response body for redirect.
34445 2006-01-20 Chris Burdess <dog@gnu.org>
34447 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34450 2006-01-20 Lillian Angel <langel@redhat.com>
34452 * javax/swing/text/DefaultStyledDocument.java
34453 (pad): Removed, not needed.
34454 (printElements): Likewise.
34455 (printEdit): Likewise.
34457 2006-01-20 Roman Kennke <kennke@aicas.com>
34459 * javax/swing/text/DefaultFormatter.java
34460 (DefaultFormatter): Don't set a value class.
34462 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34464 * javax/swing/DefaultCellEditor.java: Commented.
34466 2006-01-19 Roman Kennke <kennke@aicas.com>
34468 * javax/swing/JOptionPane.java
34469 Added cast to Frame for JDialog constructor.
34471 2006-01-19 Roman Kennke <kennke@aicas.com>
34473 * javax/swing/JWindow.java
34474 (JWindow(Window)): Fixed to accept null owner argument.
34475 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34477 * javax/swing/SwingUtilities.java
34478 (getOwnerFrame): Owner parameter and return value are fixed to
34479 be of type Window for compatibity with the above JWindow
34481 * javax/swing/JDialog.java
34482 (JDialog): Added cast to Frame to make sure the correct constructor
34484 * javax/swing/JFileChooser.java
34485 (createDialog): Added cast to Frame for JDialog constructor.
34487 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34489 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34491 2006-01-19 Roman Kennke <kennke@aicas.com>
34493 * javax/swing/JWindow.java: Added API docs to the constructors.
34495 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34497 * javax/swing/JTable.java: Commenting method headers.
34498 (EditorUpdateTimer): Removed.
34500 2006-01-19 Roman Kennke <kennke@aicas.com>
34502 * javax/swing/JDialog.java
34503 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34504 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34505 SwingUtilities.getOwnerFrame() with the owner argument.
34506 * javax/swing/JFileChooser.java
34507 (showOpenDialog(Component)): Call pack() on the dialog instead of
34508 setting a fixed height.
34509 (showSaveDialog()): Likewise.
34510 (showDialog()): Likewise.
34511 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34512 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34514 * javax/swing/JWindow.java
34515 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34516 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34518 * javax/swing/SwingUtilities.java
34519 (getOwnerFrame): Changed to take a owner parameter that is returned
34520 as owner frame when not null.
34522 2006-01-19 Roman Kennke <kennke@aicas.com>
34524 * gnu/java/awt/peer/swing/SwingFramePeer.java
34525 (handleMouseEvent): Fixed handling of mouse events.
34526 (handleMouseMotionEvent): Fixed handling of mouse events.
34528 2006-01-19 Roman Kennke <kennke@aicas.com>
34530 * native/target/generic/target_generic_misc.c:
34531 (targetGenericMisc_formatString): Added missing method.
34533 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34535 * m4/acinclude.m4: Test also for ecj found before exiting configure
34536 with no javac found error message.
34538 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34541 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34542 \0123, \x1B, \u1234.
34543 (getEscapedChar): New method.
34544 (CharExpression): New inner class.
34545 (getCharExpression): New Method.
34546 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34547 RE_UNICODE_CHAR): New syntax bits.
34549 2006-01-19 Roman Kennke <kennke@aicas.com>
34551 * native/target/Makefile.am: Fixed so that posix stuff is really
34552 only built when requested.
34554 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34556 * javax/swing/JTable.java (editingStopped, editingCancelled):
34557 Repaint the edited cell.
34558 (setValueAt): Do not add the value object to this container.
34559 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34560 (editingStopped): Use editingRow, editingColumn and not
34561 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34562 (doLayout): Move the editor component, if present, into the new
34563 location and call repaint(). (moveToCellBeingEdited): new method.
34564 (TableTextField): new inner class.
34565 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34566 (setValueAt): Repaint the changed segment.
34567 (createDefaultEditors): Implemented.
34568 (BooleanCellRenderer): Center the checkbox and use the default foreground
34569 and background colors.
34570 * javax/swing/plaf/basic/BasicTableUI.java
34571 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34572 (paint): No need to allocate rectangle for each cell.
34573 * javax/swing/DefaultCellEditor.java: Rewritten.
34574 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34575 Use TableDemo.java table example.
34576 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34578 2006-01-19 Roman Kennke <kennke@aicas.com>
34580 * configure.ac: Added/fixed --enable-posix-layer option to enable
34581 build of posix layer.
34582 * native/target/Makefile.am: Added build for posix layer.
34584 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34586 * configure.ac: Set TARGET to Linux per default.
34587 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34589 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34590 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34593 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34595 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34596 what looked like proprietary documentation with original or new one.
34597 * java/security/spec/PSSParameterSpec.java: Likewise.
34598 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34599 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34600 * java/security/AlgorithmParameterGenerator.java: Likewise.
34601 * java/security/AlgorithmParameters.java: Likewise.
34602 * java/security/Identity.java: Likewise.
34603 * java/security/IdentityScope.java: Likewise.
34604 * java/security/KeyFactory.java: Likewise.
34605 * java/security/KeyPairGenerator.java: Likewise.
34606 * java/security/MessageDigest.java: Likewise.
34607 * java/security/Policy.java: Likewise.
34608 * java/security/ProtectionDomain.java: Likewise.
34609 * java/security/Security.java: Likewise.
34610 * java/security/Signature.java: Likewise.
34611 * java/security/SignatureSpi.java: Likewise.
34612 * java/security/SignedObject.java: Likewise.
34613 * java/security/Signer.java: Likewise.
34615 2006-01-18 Roman Kennke <kennke@aicas.com>
34617 * configure.ac: Added --enable-posix-layer option to enable
34618 build of the posix target layer.
34620 2006-01-18 Roman Kennke <kennke@aicas.com>
34622 * native/jni/java-net/java_net_VMInetAddress.c
34623 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34626 2006-01-18 Roman Kennke <kennke@aicas.com>
34628 * native/jni/java-util/java_util_VMTimeZone.c:
34629 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34630 to use target native layer.
34631 (jint_to_charbuf): Removed unneeded helper function.
34633 2006-01-18 Roman Kennke <kennke@aicas.com>
34635 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34636 Removed unnecessary include.
34637 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34638 Reorganized includes to only include sys/* headers when available.
34639 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34640 (get_pagesize): Return 0 when nothing else works.
34641 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34642 Replaced munmap() and strerror() with corresponding target macros.
34643 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34644 Replaced strerror() with corresponding target macro.
34645 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34646 Replaced strerror() with corresponding target macro.
34647 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34648 (Java_java_nio_VMDirectByteBuffer_allocate):
34649 Replaced malloc() with the corresponding target macro.
34650 (Java_java_nio_VMDirectByteBuffer_free):
34651 Replaced free() with the corresponding target macro.
34652 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34653 Add index to pointer when assigning the value.
34654 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34655 Replaced memcpy with corresponding target macro. Add index when
34656 doing the memcpy, not when fetching the pointer.
34657 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34658 Replaced memcpy with corresponding target macro.
34659 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34660 Replaced memmove with the corresponding target macro.
34662 2006-01-17 Tom Tromey <tromey@redhat.com>
34664 PR classpath/20198:
34665 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34666 (JarURLLoader): Likewise.
34667 (addURLImpl): Canonicalize file URLs.
34669 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34671 * configure.ac: Set TARGET.
34672 * native/Makefile.am, native/jni/classpath/Makefile.am,
34673 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34674 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34675 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34676 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34677 native/target/Linux/Makefile.am,
34678 native/target/generic/Makefile.am,
34679 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34680 and target stuff linked in and link it against lib*.so libraries.
34682 2006-01-17 Roman Kennke <kennke@aicas.com>
34684 * native/jni/java-net/javanet.c:
34685 (_javanet_connect): Changed type of some local variables to jint.
34686 Fixed error handling to throw a SocketTimeoutException if the
34687 connection attempt times out.
34688 (_javanet_bind): Changed type of some local variables to jint.
34689 (_javanet_accept): Likewise.
34690 (_javanet_recvfrom): Likewise.
34691 (_javanet_sendto): Fixed error handling to throw a
34692 PortUnreachableException when connection is refused.
34693 (_javanet_get_option): Changed type of some local variables to jint.
34694 Implemented SOCKOPT_SO_BROADCAST.
34695 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34696 target native macro.
34697 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34698 target native macro.
34699 * native/jni/java-net/javanet.h:
34700 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34701 SOCKOPT_SO_BROADCAST.
34703 2006-01-17 Lillian Angel <langel@redhat.com>
34705 * javax/swing/text/DefaultStyledDocument.java
34706 (insert): Cleaned up loop. No need to make so many calls
34707 to getAddedElements and getRemovedElements.
34708 (insertFracture): Removed unneeded array.
34710 2006-01-17 Lillian Angel <langel@redhat.com>
34712 * javax/swing/text/JTextComponent.java
34713 (AccessibleJTextComponent): Implemented.
34714 (getCaretPosition): Implemented.
34715 (getSelectedText): Implemented.
34716 (getSelectionStart): Implemented.
34717 (getSelectionEnd): Implemented.
34718 (getSelectionEnd): Implemented.
34719 (getCharCount): Implemented.
34720 (insertTextAtIndex): Implemented.
34721 (getTextRange): Implemented.
34722 (delete): Implemented.
34723 (cut): Implemented.
34724 (paste): Implemented.
34725 (replaceText): Implemented.
34726 (selectText): Implemented.
34728 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34730 * javax/swing/text/DefaultStyledDocument.java:
34731 (pad): New debugging method.
34732 (printElements): Likewise.
34733 (printPendingEdits): Likewise.
34734 (printElement): Likewise.
34735 (Edit): Improved docs, moved this class to be an inner class of
34736 ElementBuffer since it only applies within that scope. Changed added
34737 and removed to be Vectors instead of arrays because we need to be able
34738 to add to them after construction.
34739 (ElementBuffer): Updated docs with link to article that helped in this
34740 classes implementation.
34741 (ElementBuffer.Edit.getRemovedElements): New method.
34742 (ElementBuffer.Edit.getAddedElements): Likewise.
34743 (ElementBuffer.Edit.addRemovedElement): Likewise.
34744 (ElementBuffer.Edit.addRemovedElements): Likewise.
34745 (ElementBuffer.Edit.addAddedElement): Likewise.
34746 (ElementBuffer.Edit.addAddedElements): Likewise.
34747 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34749 (ElementBuffer.getEditForParagraphAndIndex): New method.
34750 (ElementBuffer.removeUpdate): Changed type of paragraph to
34751 BranchElement. Corrected style of adding the edit to use the new Edit
34753 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34754 the new Edit facilities.
34755 (ElementBuffer.split): Likewise.
34756 (ElementBuffer.insertParagraph): Likewise.
34757 (ElementBuffer.insertContentTag): Likewise.
34758 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34759 not just the root and the first one. Apply the structural changes to
34760 the tree at the same time as updating the DocumentEvent.
34761 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34762 handling of EndTags as the first ElementSpec. Instead have to handle
34763 ContentTags as a special case if they are the first ElementSpec and if
34764 not have to fracture the tree.
34765 (ElementBuffer.createFracture): New method. May not be complete yet.
34766 Added FIXME indicating what may remain to be done.
34767 (ElementBuffer.insertFirstContentTag): New method.
34768 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34769 be done. Changed the adding of edits to use the new Edit facilities.
34770 Removed the adding of edits for Elements that weren't in the tree prior
34772 (insertUpdate): Removed incorrect condition for setting a StartTag's
34773 direction to JoinNextDirection.
34774 * javax/swing/text/StyleContent.java:
34775 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34776 that was causing an ArrayOutOfBoundsException.
34778 2006-01-17 Roman Kennke <kennke@aicas.com>
34780 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34781 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34782 exception messages a little.
34783 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34784 alternative implementation for systems without filesystems.
34785 Replaced snprintf with the corresponding target native macro.
34786 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34787 Only do something when we have a filesystem.
34788 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34789 alternative implementation for systems without filesystems.
34790 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34791 alternative implementation for systems without filesystems.
34792 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34793 alternative implementation for systems without filesystems.
34794 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34795 Only do something when we have a filesystem.
34796 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34797 Only do something when we have a filesystem.
34798 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34799 alternative implementation for systems without filesystems.
34800 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34801 Replaced ssize_t variables with jint. Provided
34802 alternative implementation for systems without filesystems.
34803 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34804 Replaced ssize_t variables with jint. Provided
34805 alternative implementation for systems without filesystems.
34806 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34807 Replaced ssize_t variables with jint. Provided
34808 alternative implementation for systems without filesystems.
34809 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34810 Only do something when we have a filesystem.
34811 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34812 Replaced ssize_t variables with jint. Provided
34813 alternative implementation for systems without filesystems.
34814 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34815 to use the corresponding target native macro.
34816 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34817 to use the corresponding target native macro.
34819 2006-01-17 Lillian Angel <langel@redhat.com>
34821 * javax/swing/text/DefaultTextUI.java:
34822 Added deprecated tag.
34823 * javax/swing/text/JTextComponent.java
34824 (AccessibleJTextComponent): Fixed API doc and
34825 partiall9 implemented.
34826 (getCaretPosition): Fixed API doc and implemented.
34827 (getSelectedText): Fixed API doc.
34828 (getSelectionStart): Likewise.
34829 (getSelectionEnd): Likewise.
34830 (caretUpdate): Fixed API doc and
34831 partially implemented.
34832 (getAccessibleStateSet): Likewise.
34833 (getAccessibleRole): Fixed API doc and implemented.
34834 (getAccessibleEditableText): Implemented.
34835 (getAccessibleText): Fixed API doc and implemented.
34836 (insertUpdate): Fixed API doc.
34837 (changedUpdate): Likewise.
34838 (getIndexAtPoint): Likewise.
34839 (getRootEditorRect): Removed.
34840 (getCharacterBounds): Fixed API doc.
34841 (getCharCount): Likewise.
34842 (getCharacterAttribute): Likewise.
34843 (getAtIndex): Likewise.
34844 (getAfterIndex): Likewise.
34845 (getBeforeIndex): Likewise.
34846 (getAccessibleActionCount): Added function stub.
34847 (getAccessibleActionDescription): Added function,
34848 partially implemented.
34849 (doAccessibleAction): Added function stub.
34850 (setTextContents): Likewise.
34851 (insertTextAtIndex): Likewise.
34852 (delete): Likewise.
34855 (replaceText): Likewise.
34856 (selectText): Likewise.
34857 (setAttributes): Likewise.
34858 (getAccessibleContext): Implemented.
34860 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34863 * gnu/regexp/RETokenRange.java(constructor):
34864 Keep lo and hi as they are.
34865 (match): Changed the case insensitive comparison.
34867 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34869 * gnu/regexp/RETokenChar.java(chain):
34870 Do not concatenate tokens whose insens flags are diffent.
34872 2006-01-17 Roman Kennke <kennke@aicas.com>
34874 * native/target/generic/target_generic_network.c:
34875 (targetGenericNetwork_receive): Fixed signature to match the
34876 corresponding .h file.
34877 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34878 to match the corresponding .h file.
34880 2006-01-17 Roman Kennke <kennke@aicas.com>
34882 * native/jni/classpath/jcl.c:
34883 (JCL_malloc): Replaced calls to malloc with the corresponding
34884 target layer macro.
34885 (JCL_free): Replaced calls to free with the corresponding
34886 target layer macro.
34887 * native/jni/classpath/native_state.c:
34888 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34889 calloc with the corresponding target layer macro.
34890 (remove_node): Replaced calls to free with the corresponding
34891 target layer macro.
34892 (add_node): Replaced calls to malloc with the corresponding
34893 target layer macro.
34895 2006-01-17 Roman Kennke <kennke@aicas.com>
34897 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34898 (getFieldReference): Use MALLOC/FREE macros for portability instead
34899 of direct call to malloc() and free().
34901 2006-01-17 Roman Kennke <kennke@aicas.com>
34903 * native/jni/classpath/jcl.c: Added missing imports.
34904 (JCL_realloc): Fixed signature to include oldsize. This is needed
34905 for some targets. Make this function use the MEMORY_REALLOC macro
34907 * native/jni/classpath/jcl.h
34908 (JCL_realloc): Adjusted signature.
34909 * native/jni/java-io/java_io_VMFile.c:
34910 (Java_java_io_VMFile_create): Use target layer macro for handling
34911 errno, for portability.
34912 (Java_java_io_VMFile_length): Release filename string in error cases
34914 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34915 version of JCL_realloc.
34916 * native/jni/java-net/java_net_VMInetAddress.c:
34917 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34918 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34919 * native/jni/java-net/javanet.c:
34920 (_javanet_bind): Make errorstr variable const to avoid compiler
34922 (_javanet_set_option): Fixed typo.
34923 (_javanet_get_option): Fixed typo.
34924 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34925 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34926 error_string variable const to avoid compiler warning.
34927 * native/target/generic/target_generic_file.h:
34928 Replaced // comments with /* */ comments to avoid compiler warnings.
34929 Added some spaces to make code better readable.
34930 * native/target/generic/target_generic_memory.h:
34931 Replaced // comments with /* */ comments to avoid compiler warnings.
34932 * native/target/generic/target_generic_misc.c:
34933 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34934 compiler warnings due to use of varargs.
34935 * native/target/generic/target_generic_misc.h:
34936 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34937 compiler warnings due to use of varargs.
34938 * native/target/generic/target_generic_network.h:
34939 Replaced // comments with /* */ comments to avoid compiler warnings.
34940 (targetGenericNetwork_receive): Fixed signature to use signed chars
34941 for buffer parameter to avoid warning when passing a jbyte to the
34944 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34946 * javax/swing/text/StyleConstants.java
34947 (getAlignment): Removed isDefined() check, so that resolving parent is
34949 (getBackground): Likewise, plus changed default value to Color.BLACK,
34950 (getBidiLevel): Removed isDefined() check,
34951 (getComponent): Likewise,
34952 (getFirstLineIndent): Likewise,
34953 (getFontFamily): Likewise,
34954 (getFontSize): Likewise,
34955 (getForeground): Likewise,
34956 (getIcon): Likewise,
34957 (getLeftIndent): Likewise,
34958 (getLineSpacing): Likewise,
34959 (getRightIndent): Likewise,
34960 (getSpaceAbove): Likewise,
34961 (getSpaceBelow): Likewise,
34962 (getTabSet): Likewise,
34963 (isBold): Likewise,
34964 (isItalic): Likewise,
34965 (isStrikeThrough): Likewise,
34966 (isSubscript): Likewise,
34967 (isSuperscript): Likewise,
34968 (isUnderline): Likewise.
34970 2006-01-17 Gary Benson <gbenson@redhat.com>
34972 * java/lang/System.java (setSecurityManager): Catch
34973 ClassNotFoundException not Throwable.
34975 2006-01-16 Anthony Green <green@redhat.com>
34978 * gnu/java/net/protocol/http/Request.java
34979 (createResponseBodyStream): Remove Content-Encoding for
34980 compressed streams.
34982 2006-01-16 Chris Burdess <dog@gnu.org>
34984 * gnu/xml/stream/XMLParser.java,
34985 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34986 XMLStreamWriter arguments for conformance to the XML specifications.
34987 * gnu/xml/transform/Stylesheet.java,
34988 gnu/xml/transform/Template.java,
34989 gnu/xml/transform/TransformerImpl.java,
34990 gnu/xml/xpath/LangFunction.java,
34991 gnu/xml/xpath/Selector.java: better handling of template priorities;
34992 fix indents when pretty-printing; recursive tests for xml:lang.
34993 * gnu/xml/util/XHTMLWriter.java,
34994 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34996 2006-01-16 Roman Kennke <kennke@aicas.com>
34998 * native/target/MinGW/.cvsignore: New file.
34999 * native/target/RTEMS/.cvsignore: New file.
35000 * native/target/SunOS/.cvsignore: New file.
35001 * native/target/embOS/.cvsignore: New file.
35002 * native/target/posix/.cvsignore: New file.
35004 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35006 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35008 2006-01-16 Roman Kennke <kennke@aicas.com>
35010 * configure.ac: Include new target native directories in build.
35012 2006-01-16 Roman Kennke <kennke@aicas.com>
35014 * native/target/generic/target_generic_file.h: Added missing
35016 * native/target/generic/target_generic_network.c: Fixed several
35017 typos and includes.
35018 * native/target/generic/target_generic_network.h: Likewise.
35020 2006-01-16 Roman Kennke <kennke@aicas.com>
35022 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35023 to include the new targets.
35024 * native/target/posix/Makefile.am: Fixed filenames.
35026 2006-01-16 Roman Kennke <kennke@aicas.com>
35028 * native/target/Makefile.am: Include new targets.
35029 * native/target/Linux/Makefile.am: Include new memory layer.
35030 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35031 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35032 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35033 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35034 * native/target/generic/Makefile.am: Include new memory and math
35036 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35038 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35041 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35042 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35044 2006-01-16 Roman Kennke <kennke@aicas.com>
35046 * native/target/generic/target_generic_network.c: Fixed typo.
35047 * native/target/generic/target_generic_network.h: Fixed typo.
35049 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35051 * doc/vmintegration.texinfo: Updated subsection of the
35052 java.lang.InstrumentationImpl documentation.
35054 2006-01-16 Roman Kennke <kennke@aicas.com>
35056 * native/target/RTEMS/target_native.h,
35057 * native/target/RTEMS/target_native_file.h,
35058 * native/target/RTEMS/target_native_io.h,
35059 * native/target/RTEMS/target_native_math.h,
35060 * native/target/RTEMS/target_native_memory.h,
35061 * native/target/RTEMS/target_native_misc.h,
35062 * native/target/RTEMS/target_native_network.h:
35063 New files. Implement the target native layer for the RTEMS platform.
35065 2006-01-16 Roman Kennke <kennke@aicas.com>
35067 * native/target/SunOS/target_native.h,
35068 * native/target/SunOS/target_native_file.h,
35069 * native/target/SunOS/target_native_io.h,
35070 * native/target/SunOS/target_native_math.h,
35071 * native/target/SunOS/target_native_memory.h,
35072 * native/target/SunOS/target_native_misc.h,
35073 * native/target/SunOS/target_native_network.h:
35074 New files. Implement the target native layer for the SunOS platform.
35076 2006-01-16 Roman Kennke <kennke@aicas.com>
35078 * native/target/MinGW/target_native.h,
35079 * native/target/MinGW/target_native_file.h,
35080 * native/target/MinGW/target_native_io.h,
35081 * native/target/MinGW/target_native_math.h,
35082 * native/target/MinGW/target_native_memory.h,
35083 * native/target/MinGW/target_native_misc.h,
35084 * native/target/MinGW/target_native_network.h:
35085 New files. Implement the target native layer for the MinGW
35088 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35091 * javax/swing/DefaultCellEditor.java
35092 (delegate): Assign new instance immediately.
35093 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35094 (getTableCellEditorComponent): Rewritten.
35095 (prepareAsJTextField):New method (add listener only once).
35096 * javax/swing/JTable.java
35097 (editingCanceled): Rewritten.
35098 (editingStopped ): Rewritten.
35099 (rowAtPoint): Mind row margin.
35100 (getCellRect): Mind row margin.
35101 (getDefaultEditor): Removing JTextComponent border.
35102 (editCellAt): Rewritten.
35103 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35104 Activate editing mode by the mouse clicks.
35105 (getMaximumSize): Mind row margin.
35106 (getPreferredSize): Mind row margin.
35107 (TableAction): Added 'stop editing' command.
35109 2006-01-16 Roman Kennke <kennke@aicas.com>
35111 * jni/java-io/java_io_VMFile.c
35112 (Java_java_io_VMFile_list): Use new 4 argument version of
35113 TARGET_NATIVE_FILE_READ_DIR macro.
35114 * target/Linux/target_native_io.h: Fixed comment at #endif.
35115 * target/Linux/target_native_memory.h: New file. Contains
35116 portability macros for memory operations.
35117 * target/generic/target_generic.c: New file. Contains some functions
35119 * target/generic/target_generic.h: Use posix target and shorter macro
35120 names if CP_NEW is set.
35121 * target/generic/target_generic_file.h: Use posix target and shorter
35122 macro names if CP_NEW is set.
35123 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35124 * target/generic/target_generic_io.c: New file. Contains some
35125 functions for IO portability.
35126 * target/generic/target_generic_io.h: Use posix target and shorter
35127 macro names if CP_NEW is set.
35128 * target/generic/target_generic_misc.c: New file. Contains some
35129 functions for miscallaneaous portability issues.
35130 * target/generic/target_generic_misc.h: Use posix target and shorter
35131 macro names if CP_NEW is set.
35132 * target/generic/target_generic_network.c: New file. Contains some
35133 functions for networking portability.
35134 * target/generic/target_generic_network.h: Use posix target and
35135 shorter macro names if CP_NEW is set.
35136 * target/posix/Makefile.am,
35137 * target/posix/target_posix.c,
35138 * target/posix/target_posix.h,
35139 * target/posix/target_posix_file.c,
35140 * target/posix/target_posix_file.h,
35141 * target/posix/target_posix_io.c,
35142 * target/posix/target_posix_io.h,
35143 * target/posix/target_posix_math.c,
35144 * target/posix/target_posix_math.h,
35145 * target/posix/target_posix_memory.c,
35146 * target/posix/target_posix_memory.h,
35147 * target/posix/target_posix_misc.c,
35148 * target/posix/target_posix_misc.h,
35149 * target/posix/target_posix_network.c,
35150 * target/posix/target_posix_network.h:
35151 New files. This implements the target native layer macros for
35152 Posix-like systems.
35154 2006-01-16 Gary Benson <gbenson@redhat.com>
35156 * java/net/SocketPermission.java (implies): Fix action checks.
35158 2006-01-16 Roman Kennke <kennke@aicas.com>
35160 * native/target/generic/target_generic_math_float.h: Removed. This
35161 file has been replaced by target_generic_math.h.
35162 * native/target/generic/target_generic_math_int.h: Removed. This
35163 file has been replaced by target_generic_math.h.
35164 * native/target/generic/target_generic_math.h: New file. Replaces
35165 the old _int and _float versions.
35166 * native/target/Linux/target_native_math_float.h: Removed. This
35167 file has been replaced by target_native_math.h.
35168 * native/target/Linux/target_native_math_int.h: Removed. This
35169 file has been replaced by target_native_math.h.
35170 * native/target/Linux/target_native_math.h: New file. Replaces
35171 the old _int and _float versions.
35172 * native/target/Linux/Makefile.am: Adjusted for the changed
35174 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35175 instead of target_native_math_int.h.
35176 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35178 * native/target/generic/target_generic_file.h: Likewise.
35180 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35182 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35184 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35186 * javax/swing/text/SimpleAttributeSet.java
35187 (SimpleAttributeSet()): Initialise storage directly,
35188 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35189 NullPointerException,
35190 (containsAttribute): If key is found locally, don't check resolving
35191 parent if the value doesn't match,
35192 (getAttribute): Removed redundant instanceof and cast.
35194 2006-01-16 Gary Benson <gbenson@redhat.com>
35196 * java/lang/System.java (setSecurityManager): Ensure policy
35197 files are loaded before a security manager is put in place.
35199 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35201 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35203 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35205 * javax/print/attribute/standard/MediaSize.java:
35206 (static_initializer): Added comment.
35207 (MediaSize): Added javadoc to mention cache registration.
35208 (MediaSize): Likewise.
35209 (MediaSize): Likewise.
35210 (MediaSize): Likewise.
35212 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35215 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35216 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35217 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35218 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35220 (toString): Added method implementation.
35221 (LoginModuleControlFlag.toString): Removed class name from result.
35222 * javax/security/auth/login/Configuration.java: Updated copyright year.
35223 (getConfig(): replaced calls to NullConfiguration with
35226 2006-01-15 Tom Tromey <tromey@redhat.com>
35228 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35229 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35230 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35231 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35232 (setPersistenceDelegate): Likewise.
35234 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35236 * javax/print/attribute/standard/PrinterStateReasons.java:
35237 (printerStateReasonSet): Genericize the return type.
35239 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35241 * javax/swing/table/DefaultTableCellRenderer.java
35242 (getTableCellRendererComponent): Render null as the empty cell.
35244 2006-01-14 Anthony Green <green@redhat.com>
35246 * java/net/ServerSocket.java (accept): Remove bogus
35248 (implAccept): Add FIXME comment.
35250 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35253 * javax/print/Doc.java: Added and enhanced documentation.
35254 * javax/print/SimpleDoc.java: New file.
35256 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35258 * javax/print/attribute/standard/MediaSize.java:
35259 (Other.TABLOID): New MediaSize added in 1.5
35261 2006-01-14 Chris Burdess <dog@gnu.org>
35263 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35264 correctly when I/O and runtime exceptions occur during parsing.
35266 2006-01-13 Roman Kennke <kennke@aicas.com>
35268 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35269 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35270 * gnu/java/awt/peer/swing/SwingComponent.java,
35271 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35272 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35273 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35274 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35275 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35276 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35277 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35278 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35279 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35280 * gnu/java/awt/peer/swing/SwingToolkit.java,
35281 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35282 * gnu/java/awt/peer/swing/package.html:
35283 New files. Implemented some basic AWT peers based on Swing.
35285 2006-01-13 Roman Kennke <kennke@aicas.com>
35287 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35289 2006-01-13 Roman Kennke <kennke@aicas.com>
35291 * java/awt/MenuComponent.java: Reformatted to better match our
35294 2006-01-13 Roman Kennke <kennke@aicas.com>
35296 * java/awt/Frame.java: Reformatted to better match our
35299 2006-01-13 Roman Kennke <kennke@aicas.com>
35301 * java/awt/MenuBar.java
35302 (accessibleContext): Removed unnecessary field. This is already
35303 defined in MenuComponent.
35304 (setHelpMenu): Renamed the peer variable to myPeer because it was
35305 hiding a field of MenuComponent.
35306 (addNotify): Removed unnecessary cast.
35308 2006-01-13 Roman Kennke <kennke@aicas.com>
35310 * java/awt/MenuBar.java: Reformatted to better match our
35313 2006-01-13 Roman Kennke <kennke@aicas.com>
35315 * java/awt/MenuBar.java
35316 (frame): New field.
35317 (removeNotify): Clear frame field when beeing removed from the
35319 * java/awt/Frame.java
35320 (setMenuBar): Store a reference of the frame in the MenuBar.
35321 * java/awt/MenuComponent.java
35322 (postEvent): Implemented to forward the call to the parent until
35323 a parent can handle the event.
35324 (dispatchEvent): Moved handling of old style events from
35325 dispatchEventImpl() to here.
35326 (dispatchEventImpl): Moved handling of old style events to
35329 2006-01-13 Roman Kennke <kennke@aicas.com>
35331 * java/awt/Component.java
35332 (dispatchEvent): Moved handling of old style events from
35333 dispatchEventImpl() to this method.
35334 (translateEvent): Removed unnecessary cast.
35335 (dispatchEventImpl): Moved handling of old style events to
35338 2006-01-13 Lillian Angel <langel@redhat.com>
35340 * javax/swing/text/DefaultStyledDocument.java
35341 (createDefaultRoot): Removed FIXME.
35342 (setLogicalStyle): Added fireUndoableEditUpdate call and
35345 2006-01-13 Lillian Angel <langel@redhat.com>
35347 * javax/swing/text/DefaultStyledDocument.java
35348 (Edit): New inner class.
35349 (changeUpdate): Changed addEdit call to add a new
35350 instance of Edit to the edits Vector, so addEdits can
35353 (insertParagraph): Likewise.
35354 (insertFracture): Likewise.
35355 (insertContentTag): Likewise.
35356 (insert): Added loop to go through edits Vector and perform
35357 addEdit on each object.
35359 2006-01-13 Chris Burdess <dog@gnu.org>
35361 * gnu/xml/transform/AbstractNumberNode.java,
35362 gnu/xml/transform/ApplyImportsNode.java,
35363 gnu/xml/transform/ApplyTemplatesNode.java,
35364 gnu/xml/transform/AttributeNode.java,
35365 gnu/xml/transform/CallTemplateNode.java,
35366 gnu/xml/transform/ChooseNode.java,
35367 gnu/xml/transform/CommentNode.java,
35368 gnu/xml/transform/CopyNode.java,
35369 gnu/xml/transform/CopyOfNode.java,
35370 gnu/xml/transform/DocumentFunction.java,
35371 gnu/xml/transform/ElementNode.java,
35372 gnu/xml/transform/ForEachNode.java,
35373 gnu/xml/transform/IfNode.java,
35374 gnu/xml/transform/LiteralNode.java,
35375 gnu/xml/transform/MessageNode.java,
35376 gnu/xml/transform/OtherwiseNode.java,
35377 gnu/xml/transform/ParameterNode.java,
35378 gnu/xml/transform/ProcessingInstructionNode.java,
35379 gnu/xml/transform/Stylesheet.java,
35380 gnu/xml/transform/Template.java,
35381 gnu/xml/transform/TemplateNode.java,
35382 gnu/xml/transform/TextNode.java,
35383 gnu/xml/transform/TransformerImpl.java,
35384 gnu/xml/transform/ValueOfNode.java,
35385 gnu/xml/transform/WhenNode.java,
35386 gnu/xml/xpath/NodeTypeTest.java,
35387 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35388 with-param parameters when template does not define parameters; apply
35389 conflict resolution for templates; strip whitespace on documents
35390 retrieved via document() function; allow node() to match document
35393 2006-01-13 Mark Wielaard <mark@klomp.org>
35395 * doc/www.gnu.org/announce/20060113.wml: New file.
35396 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35397 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35399 2006-01-13 Lillian Angel <langel@redhat.com>
35401 * javax/swing/text/DefaultStyledDocument.java:
35402 Removed unused fields.
35403 (insert): Removed unused fields.
35404 (endEdit): Removed, not needed.
35405 (insertUpdate): Removed call to endEdit.
35406 (prepareContentInsertion): Removed, not needed.
35407 (insertContentTag): Removed call to prepareContentInsertion.
35408 (printElements): Removed, not needed.
35409 (attributeSetsAreSame): Removed, not needed.
35411 2005-01-13 Mark Wielaard <mark@klomp.org>
35413 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35414 Duplicate of toString(int, StringBuilder).
35416 2005-01-13 Mark Wielaard <mark@klomp.org>
35418 * configure.ac: Set version to 0.20.
35419 * NEWS: Add entries for all the new work done.
35421 2005-01-13 Mark Wielaard <mark@klomp.org>
35423 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35425 2005-01-13 Mark Wielaard <mark@klomp.org>
35427 * java/util/regex/Pattern.java (Pattern): Chain REException.
35429 2006-01-13 Chris Burdess <dog@gnu.org>
35431 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35433 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35435 * java/security/Security.java
35436 (getProperty): Added hack to skip security check when trusted
35437 code is direct caller.
35439 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35441 * java/io/PrintStream.java
35442 (line_separator, PrintStream(OutputStream,boolean)): Use
35445 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35447 * gnu/java/nio/charset/Provider.java: Added comment about its
35448 special relation with CharsetProvider.
35450 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35451 its special relation with CharsetProvider.
35453 * java/nio/charset/spi/CharsetProvider.java
35454 (CharsetProvider): Add special case to skip security check for
35455 built in providers.
35457 2005-01-13 Mark Wielaard <mark@klomp.org>
35459 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35460 name, accel, mnemonic and command are defined before setting.
35462 2005-01-12 Mark Wielaard <mark@klomp.org>
35464 * javax/swing/plaf/metal/MetalFileChooserUI.java
35465 (FileRenderer.getListCellRendererComponent): Set empty name and null
35466 icon when File is null.
35468 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35470 * gnu/java/rmi/server/UnicastRef.java (newCall):
35471 Throw ConnectException after catching IOException.
35473 2006-01-12 Lillian Angel <langel@redhat.com>
35475 * javax/swing/text/DefaultStyledDocument.java
35476 (insertUpdate): Removed unneeded check.
35478 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35480 * javax/swing/text/DefaultStyledDocument.java:
35481 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35482 and we haven't come immediately after a fracture, adjust the Element
35483 offsets. Added comment explaining the situation.
35484 (insert): Return early if no ElementSpecs passed in. Removed redundant
35485 call to insertUpdate. Fired the UndoableEditUpdate.
35487 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35490 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35491 character classes within a subexpression.
35493 2006-12-12 Lillian Angel <langel@redhat.com>
35495 * javax/swing/text/DefaultStyledDocument.java
35496 (insertUpdate): Added check to check if attribute set is
35498 (insertUpdate): Added check to determine if last character
35499 is a newline. If it is, we should not be fracturing.
35500 (insert): Added check to determine if attribute set is empty.
35501 If it is, insertUpdate should not be called.
35503 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35505 * configure.ac: Check for isnan.
35507 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35510 2006-01-12 Chris Burdess <dog@gnu.org>
35512 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35513 1.1 character ranges.
35515 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35517 * javax/swing/TransferHandler.java:
35518 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35519 gnu/testlet/javax/swing/JTextField/CopyPaste.
35521 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35523 * resource/Makefile.am: Install
35524 logging.properties into $(prefix)/lib.
35525 * resource/Makefile.am (securitydir): Changed to
35526 $(prefix)/lib/security.
35528 2006-01-12 Roman Kennke <kennke@aicas.com>
35530 * javax/swing/JTextField.java
35531 (createDefaultModel): Moved installation of the filterNewlines
35532 property to setDocument().
35533 (setDocument): New method. Installs the filterNewlines property
35536 2006-01-12 Chris Burdess <dog@gnu.org>
35538 * gnu/xml/dom/DomNode.java,
35539 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35541 * gnu/xml/xpath/NameTest.java,
35542 gnu/xml/xpath/NamespaceTest.java,
35543 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35545 * gnu/xml/transform/MessageNode.java: Use standard logging system
35546 for outputting messages.
35548 2006-01-12 Tom Tromey <tromey@redhat.com>
35550 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35551 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35552 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35553 (static initializer): Removed cache code.
35554 (checkCacheFor, addToCache): Removed.
35555 (getAllByName): Removed cache code.
35556 (lookup_time): Removed.
35557 (InetAddress): Updated.
35559 2006-01-12 Chris Burdess <dog@gnu.org>
35561 * gnu/xml/dom/DomDocument.java,
35562 gnu/xml/dom/DomElement.java,
35563 gnu/xml/dom/DomNode.java,
35564 gnu/xml/stream/XMLParser.java,
35565 gnu/xml/transform/Bindings.java,
35566 gnu/xml/transform/ElementAvailableFunction.java,
35567 gnu/xml/transform/ElementNode.java,
35568 gnu/xml/transform/FunctionAvailableFunction.java,
35569 gnu/xml/transform/NamespaceProxy.java,
35570 gnu/xml/transform/StreamSerializer.java,
35571 gnu/xml/transform/Stylesheet.java,
35572 gnu/xml/transform/TransformerImpl.java,
35573 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35574 document and element nodes; correct coalescing semantics when parsing;
35575 attribute-sets can only refer to top-level variables and parameters;
35576 fix namespace retrieval during element-available and
35577 function-available functions; implement xsl:fallback for extension
35578 elements; tokenize whitespace correctly during whitespace stripping;
35579 correct following and previous node axes selectors.
35581 2006-01-12 Roman Kennke <kennke@aicas.com>
35583 * java/util/Hashtable.java
35584 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35585 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35587 2006-01-12 Lillian Angel <langel@redhat.com>
35589 * javax/swing/text/GapContent.java
35590 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35592 2006-01-12 Mark Wielaard <mark@klomp.org>
35594 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35595 Throw UnknowHostException when name could not be resolved.
35597 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35599 * java/net/URL.java
35600 (static, getURLStreamHandler): Use SystemProperties.
35602 2006-01-12 Mark Wielaard <mark@klomp.org>
35604 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35605 Use packet.getLength().
35606 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35607 (nativeReceive): Check whether the receiver wants zero bytes.
35609 2006-01-12 Mark Wielaard <mark@klomp.org>
35611 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35612 other side orderly closed connection.
35613 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35614 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35615 when end of stream reached.
35617 2006-01-12 Mark Wielaard <mark@klomp.org>
35619 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35621 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35622 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35623 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35624 * native/jni/java-net/javanet.c: Likewise.
35626 2006-01-12 Mark Wielaard <mark@klomp.org>
35628 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35629 PR classpath/23863.
35631 2006-01-11 Chris Burdess <dog@gnu.org>
35633 * gnu/xml/transform/AttributeNode.java,
35634 gnu/xml/transform/ElementNode.java,
35635 gnu/xml/transform/LiteralNode.java,
35636 gnu/xml/transform/StreamSerializer.java,
35637 gnu/xml/transform/StrippingInstruction.java,
35638 gnu/xml/transform/Stylesheet.java,
35639 gnu/xml/transform/TransformerImpl.java,
35640 gnu/xml/transform/ValueOfNode.java,
35641 gnu/xml/xpath/Expr.java,
35642 gnu/xml/xpath/LocalNameFunction.java,
35643 gnu/xml/xpath/NameFunction.java,
35644 gnu/xml/xpath/NameTest.java,
35645 gnu/xml/xpath/NamespaceUriFunction.java,
35646 gnu/xml/xpath/NodeTypeTest.java,
35647 gnu/xml/xpath/SubstringFunction.java,
35648 javax/xml/namespace/QName.java: don't determine element namespace
35649 from namespace aliases when specified; better namespace handling
35650 when serializing elements; don't create HTML meta element unless
35651 head element exists; correct encoding of CDATA sections containing
35652 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35653 default encoding for HTML output; rewrite of XSLT
35654 strip-space/preserve-space handling; correct doctype-public and
35655 doctype-system output attributes; insert generated doctype before
35656 document element; fixed result tree whitespace stripping
35657 algorithm; fixed semantics of XPath name, local-name, and
35658 namespace-uri functions; name tests handle XML/XMLNS namespaces
35659 correctly; fixed semantics of processing-instruction node test.
35660 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35663 2006-01-11 Lillian Angel <langel@redhat.com>
35665 * javax/swing/text/DefaultStyledDocument.java
35666 (insertFracture): Added calls to addEdit for each time a structure
35667 is changed. addEdit is called on the newBranch, previous, and parent
35670 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35672 * javax/swing/text/DefaultStyledDocument.java:
35673 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35674 This will have been taken care of in insertFracture. Added a comment
35675 explaining that we need to add edits to the DocumentEvent and that
35676 this may be the place to do it.
35678 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35680 * javax/swing/text/DefaultStyledDocument.java:
35681 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35682 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35683 elementStack when there is a start tag with JoinNextDirection.
35685 2006-01-11 Roman Kennke <kennke@aicas.com>
35687 Reported by: Fridjof Siebert <siebert@aicas.com>
35688 * java/util/Hashtable.java
35689 (KEYS): Removed unneeded field.
35690 (VALUES): Removed unneeded field.
35691 (ENTRIES): Removed unneeded field.
35692 (keys): Return a KeyEnumerator instance.
35693 (elements): Returns a ValueEnumerator instance.
35694 (toString): Use an EntryIterator instance.
35695 (keySet): Return a KeyIterator instance.
35696 (values): Return a ValueIterator instance.
35697 (entrySet): Return an EntryIterator instance.
35698 (hashCode): Use EntryIterator instance.
35699 (rehash): Changed this loop to avoid redundant reads and make
35700 it obvious that null checking is not needed.
35701 (writeObject): Use EntryIterator instance.
35702 (HashIterator): Removed class.
35703 (Enumerator): Removed class.
35704 (EntryIterator): New class.
35705 (KeyIterator): New class.
35706 (ValueIterator): New class.
35707 (EntryEnumerator): New class.
35708 (KeyEnumerator): New class.
35709 (ValueEnumerator): New class.
35711 2006-01-11 Lillian Angel <langel@redhat.com>
35713 * javax/swing/text/DefaultStyledDocument.java
35714 (toString): Shouldn't append the '>' character here.
35715 (createDefaultRoot): Should not set the resolve parent. This
35716 causes problems when comparing attribute sets.
35718 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35720 * javax/swing/text/DefaultStyledDocument.java:
35721 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35723 (ElementBuffer.insertFracture): New method.
35724 (ElementBuffer.insertContentTag): Removed unnecessary case for
35725 JoinFractureDirection - this only applies to start tags, not content
35727 (insertUpdate): Corrected conditions for setting direction to
35730 2006-01-10 Roman Kennke <kennke@aicas.com>
35732 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35733 * ChangeLog-2005: New File.
35735 2006-01-10 Roman Kennke <kennke@aicas.com>
35737 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35738 (get): Release the array with the correct pointer.
35739 (put): Release the array with the correct pointer. Copy the array
35740 around _before_ releasing it.
35742 2006-01-10 Roman Kennke <kennke@aicas.com>
35744 * javax/swing/ViewportLayout.java
35745 (layoutContainer): Fixed condition, to avoid ClasscastException.
35747 2006-01-10 Roman Kennke <kennke@aicas.com>
35749 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35750 (MouseHandler.mousePressed): Fixed indendation.
35751 (MouseHandler.mouseDragged): Fixed indendation.
35753 2006-01-10 Roman Kennke <kennke@aicas.com>
35755 * javax/swing/plaf/basic/BasicLookAndFeel.java
35756 (playSound): Added @since 1.4 to the API docs.
35758 2006-01-10 Roman Kennke <kennke@aicas.com>
35760 * javax/swing/plaf/basic/BasicListUI.java
35761 (maybeUpdateLayoutState): Also update the layout state, if the
35762 list has been invalidated since the last update.
35764 2006-01-10 Roman Kennke <kennke@aicas.com>
35766 * javax/swing/plaf/ComponentUI.java
35767 (update): Fixed indendation.
35769 2006-01-10 Roman Kennke <kennke@aicas.com>
35771 * javax/swing/ViewportLayout.java
35772 (layoutContainer): Fixed condition, so that Scrollable components
35773 are always forced to have to Viewport size, when they
35774 return true for getScrollableTracksViewportHeight() and ..Width().
35776 2006-01-10 Roman Kennke <kennke@aicas.com>
35778 * javax/swing/RepaintManager.java
35779 (validateInvalidComponents): Fixed condition to avoid NPE.
35781 2006-01-10 Roman Kennke <kennke@aicas.com>
35783 * javax/swing/JViewport.java:
35784 (static_initializer): Removed unused variable myScrollMode.
35786 2006-01-10 Roman Kennke <kennke@aicas.com>
35788 * javax/swing/JTabbedPane.java:
35789 Cleared API docs a little.
35791 2006-01-10 Roman Kennke <kennke@aicas.com>
35793 * java/util/StringTokenizer.java
35794 (StringTokenizer(String, String, boolean)):
35795 Don't trigger NPE here for conformance with the spec.
35797 2006-01-10 Roman Kennke <kennke@aicas.com>
35799 * java/util/ArrayList.java
35800 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35802 2006-01-10 Roman Kennke <kennke@aicas.com>
35804 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35805 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35806 field to avoid NPE.
35808 2006-01-10 Roman Kennke <kennke@aicas.com>
35810 * native/jni/java-net/javanet.c
35811 (_javanet_shutdownOutput): Replaced strerror() with
35812 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35813 (_javanet_shutdownInput): Replaced strerror() with
35814 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35816 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35818 * java/beans/EventSetDescriptor.java: Reformatted and
35821 2006-01-10 Roman Kennke <kennke@aicas.com>
35823 * java/lang/SecurityManager.java
35824 Fully qualified AWT class references in API docs.
35826 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35828 * java/beans/EventSetDescriptor.java:
35829 (getGetListenerMethod): New method.
35831 2006-01-10 Mark Wielaard <mark@klomp.org>
35833 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35835 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35838 * java/util/Hashtable.java
35839 (contains): Call equals on existing value.
35840 (containsKey, get, put, remove): Call equals on existing key.
35841 (getEntry): Call equals on existing entry.
35843 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35846 * java/util/AbstractMap.java
35847 (equals(Object,Object)): Test for identity first.
35848 * java/util/WeakHashMap.java
35849 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35850 (WeakBucket.WeakEntry.toString): Fixed string representation of
35852 (internalGet): Use helper method to determine equality.
35854 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35856 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35859 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35861 * javax/swing/text/PlainDocument.java:
35862 (insertUpdate): Handle special case of an insertion immediately
35863 following a newline character.
35865 2006-01-09 Roman Kennke <kennke@aicas.com>
35867 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35868 (connect): Added stream parameter to _connect() call.
35869 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35870 (connect): Added stream parameter to _connect() call.
35871 * native/jni/java-net/javanet.c
35872 (_javanet_create_localfd): Added stream parameter. Look up
35873 fd field based on the stream parameter either in SocketImpl or
35874 in DatagramSocketImpl.
35875 (_javanet_connect): Added stream parameter. Call create_localfd
35876 using this stream parameter. Set localPort field either in
35877 SocketImpl or in DatagramSocketImpl, depending on the stream
35879 * native/jni/java-net/javanet.c
35880 (_javanet_connect): Added stream parameter.
35882 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35884 * javax.management.Attribute.java: Grammar and
35887 2006-01-09 Mark Wielaard <mark@klomp.org>
35889 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35890 exception when channel is not readable or writable.
35891 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35892 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35893 there is enough space to mmap().
35895 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35897 * java/beans/Introspector.java:
35898 (getBeanInfo(Class, int)): New method.
35899 (getBeanInfo(Class, Class): Moved common code in a new method.
35900 (merge): New method.
35902 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35904 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35906 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35908 * javax/swing/text/DefaultStyledDocument.java:
35909 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35910 inlined this method because it needs to change the value of the
35911 finalStartTag and finalStartDirection variables.
35912 (checkForInsertAfterNewline): Removed this method.
35913 (handleInsertAfterNewline): Added case for making the start tag's
35914 direction JoinNextDirection.
35916 2006-01-09 Lillian Angel <langel@redhat.com>
35918 * javax/swing/plaf/basic/BasicTreeUI.java:
35920 (setRowHeight): Row height is set to the max height of
35921 all the nodes, or 20 as a default value.
35922 (getPathBounds): Cleaned up code.
35923 (getMaxHeight): New helper function that gets the max
35924 height of all the rows.
35925 (getClosestPathForLocation): Fixed to use getMaxHeight.
35926 (updateCachedPreferredSize): Likewise.
35927 (installUI): Shouldn't expand tree on startup.
35928 (getNodeDimensions): Fixed to use getMaxHeight.
35930 2006-01-09 Mark Wielaard <mark@klomp.org>
35932 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35933 argument is negative.
35935 2006-01-08 Mark Wielaard <mark@klomp.org>
35937 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35939 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35941 * javax.management.Attribute.java: New file.
35943 2006-01-09 Roman Kennke <kennke@aicas.com>
35945 * java/net/DatagramSocketImpl.java
35946 (localPort): Renamed to localport for correct access from native
35949 2006-01-09 Roman Kennke <kennke@aicas.com>
35951 * javax/swing/Popup.java
35952 (LightweightPopup.hide): Repaint the layered pane when popup is
35955 2006-01-09 Roman Kennke <kennke@aicas.com>
35957 * java/awt/Container.java
35958 (remove): Don't repaint the container here.
35960 2006-01-08 Tom Tromey <tromey@redhat.com>
35962 * java/lang/InheritableThreadLocal.java: Organized imports.
35964 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
35967 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35968 when an empty string matched an empty token.
35970 2006-01-08 Chris Burdess <dog@gnu.org>
35972 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35973 content models from external entities.
35974 * gnu/xml/stream/UnicodeReader.java: Report error instead of
35975 attempting to continue with unpaired surrogates.
35976 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35977 resolving entities with character entity references; better
35978 checking of valid character ranges; don't report an error for URI
35979 fragments in notation declarations; check unbound namespace
35980 prefixes for elements and attributes, including XML 1.1 unbinding
35981 syntax; namespace-aware checking of attribute duplicates.
35983 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
35985 * java/beans/Statement.java: Doc fixes.
35986 (doExecute): Workaround for Class.forName call.
35987 (toString): Made output look more like on the JDK.
35988 * java/beans/Expression.java: Doc fixes.
35989 (toString): Made output look more like on the JDK.
35990 * java/beans/PersistenceDelegate.java,
35991 java/beans/DefaultPersistenceDelegate.java,
35992 java/beans/Encoder.java,
35993 java/beans/XMLEncoder.java: New file.
35994 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35995 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35996 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35997 gnu/java/beans/encoder/Context.java,
35998 gnu/java/beans/encoder/GenericScannerState.java,
35999 gnu/java/beans/encoder/IgnoringScannerState.java,
36000 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36001 gnu/java/beans/encoder/ObjectId.java,
36002 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36003 gnu/java/beans/encoder/ReportingScannerState.java,
36004 gnu/java/beans/encoder/Root.java,
36005 gnu/java/beans/encoder/ScanEngine.java,
36006 gnu/java/beans/encoder/ScannerState.java,
36007 gnu/java/beans/encoder/StAXWriter.java,
36008 gnu/java/beans/encoder/Writer.java: New file.
36009 * gnu/java/beans/encoder/elements/Array_Get.java,
36010 gnu/java/beans/encoder/elements/Element.java,
36011 gnu/java/beans/encoder/elements/List_Set.java,
36012 gnu/java/beans/encoder/elements/Array_Set.java,
36013 gnu/java/beans/encoder/elements/NullObject.java,
36014 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36015 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36016 gnu/java/beans/encoder/elements/StringReference.java,
36017 gnu/java/beans/encoder/elements/ClassResolution.java,
36018 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36019 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36020 gnu/java/beans/encoder/elements/ObjectReference.java,
36021 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36022 gnu/java/beans/encoder/elements/List_Get.java,
36023 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36025 2006-01-08 Chris Burdess <dog@gnu.org>
36027 * java/lang/Character.java (toChars,toCodePoint): Correct these
36028 methods to use algorithms from Unicode specification.
36030 2006-01-08 Mark Wielaard <mark@klomp.org>
36032 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36034 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36037 * examples/Makefile.am: Corrected DESTDIR install paths.
36039 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36041 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36042 ASCII character (line 46).
36044 2006-01-07 Roman Kennke <kennke@aicas.com>
36046 * javax/swing/text/TableView.java: New file.
36048 2006-01-07 Chris Burdess <dog@gnu.org>
36050 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36051 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36052 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36053 available; correct handling of unparsed entity references;
36054 absolutize all base URIs; remove commented out code.
36056 2006-01-07 Chris Burdess <dog@gnu.org>
36058 * gnu/xml/stream/SAXParser.java,
36059 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36060 URI of the current event.
36062 2006-01-07 Chris Burdess <dog@gnu.org>
36064 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36067 2006-01-07 Chris Burdess <dog@gnu.org>
36069 * gnu/xml/stream/SAXParser.java,
36070 gnu/xml/stream/XIncludeFilter.java,
36071 gnu/xml/stream/XMLParser.java: Updated documentation.
36073 2006-01-07 Chris Burdess <dog@gnu.org>
36075 * AUTHORS: add self.
36077 2006-01-06 Casey Marshall <csm@gnu.org>
36079 * AUTHORS: add myself.
36081 2006-01-06 Casey Marshall <csm@gnu.org>
36084 * javax/crypto/CipherInputStream.java (logger): new constant.
36085 (cipher): make final.
36086 (outLength, inBuffer, inLength): removed.
36087 (isStream): make final.
36088 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36090 (<init>): call `super,' not `this;' remove `inBuffer' and
36091 `outBuffer' initialization; init `eof;' add debug logging.
36092 (<init>): call `this' with a new null cipher.
36093 (available): fix javadoc to reflect the real semantics; if we
36094 don't have a buffer, call `nextBlock.'
36095 (close): synchronize.
36096 (read): synchronize; fix testing for buffered data.
36097 (read): synchronize; add `skip' semantics if first argument is
36098 `null;' decrypt stream cipher data only if there is any; fix tests
36100 (skip): stop using `available' to see how many data are buffered.
36101 (nextBlock): simplify to use cipher-allocated output buffers
36102 instead of internally allocated ones.
36104 2006-01-06 Tom Tromey <tromey@redhat.com>
36106 * java/lang/String.java (codePointCount): Fixed javadoc.
36108 2006-01-06 Tom Tromey <tromey@redhat.com>
36110 * java/lang/String.java (contains): Added @since.
36112 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36115 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36116 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36117 when an empty string matched an empty token.
36119 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36122 * gnu/java/util/WeakIdentityHashMap.java: New file.
36123 * java/lang/InheritableThreadLocal.java
36124 (newChildThread): Modified to remove key indirection.
36125 * java/lang/Thread.java
36126 (locals): Changed type to WeakIdentityHashMap.
36127 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36129 * java/lang/ThreadLocal.java
36130 (key, Key): Removed.
36131 (get, set): Changed to use "this" instead of "key".
36133 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36135 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36137 * native/fdlibm/java-assert.h: Removed file.
36139 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36140 Replaced use of JvAssert by assert.
36142 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36144 * javax/swing/text/DefaultCaret.java:
36145 (setDot): Fixed paramater to Math.max to be this.dot and not the
36148 2006-01-05 Roman Kennke <kennke@aicas.com>
36150 * javax/swing/plaf/basic/BasicListUI.java
36151 (getCellHeight): New helper method.
36152 (getCellBounds): Use new helper method for determining the cell
36154 (paint): Don't call list.indexToLocation() but instead call
36155 directly into the same UI method.
36156 (locationToIndex): Fixed calculation of # visible rows and handling
36158 (indexToLocation): Fixed calculation of # visible rows and handling
36161 2006-01-05 Roman Kennke <kennke@aicas.com>
36163 * javax/swing/plaf/metal/MetalFileChooserUI.java
36164 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36165 in the file chooser.
36167 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36169 * javax/swing/JTextPane.java:
36170 (replaceSelection): If the document is an AbstractDocument, use replace
36171 rather than remove and insert.
36172 * javax/swing/event/EventListenerList.java:
36173 (getListeners): Reversed the order of the listeners to match the
36174 reference implementation.
36175 * javax/swing/text/AbstractDocument.java:
36176 (insertString): Add the UndoableEdit from the content.insertString call
36177 to the DocumentEvent.
36178 (DefaultDocumentEvent.toString): Implemented.
36179 * javax/swing/text/DefaultCaret.java:
36180 (setDot): Make sure dot is > 0 and less than the length of the
36182 * javax/swing/text/DefaultStyledDocument.java:
36183 (ElementBuffer.insertUpdate): Set the modified tag of the document
36184 event when we get start and end tags. This ensures that we create the
36185 proper BranchElements in endEdit().
36186 (ElementBuffer.insertUpdate): Added FIXME to handle
36187 JoinFractureDirection case.
36188 (insertUpdate): Added code to check if we're inserting immediately
36189 after a newline and to handle this case (create start and end tags).
36190 Only change the direction of the first and last tags if they are of
36192 (checkForInsertAfterNewline): New helper method.
36193 (handleInsertAfterNewline): Likewise.
36194 * javax/swing/text/View.java:
36195 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36198 2006-01-05 Mark Wielaard <mark@klomp.org>
36200 * newsitems.txt: Add fosdem meeting.
36201 * events/events.wml: Likewise.
36202 * events/fosdem06.wml: New file.
36204 2006-01-05 Lillian Angel <langel@redhat.com>
36206 * javax/swing/text/GapContent.java
36207 (createPosition): No positions should be created inside the
36208 gap. Fixed check to ensure this does not happen.
36210 2006-01-05 Roman Kennke <kennke@aicas.com>
36212 * javax/swing/RepaintManager.java
36213 (validateInvalidComponents): Search for the validate root
36214 and start validating there.
36216 2006-01-05 Roman Kennke <kennke@aicas.com>
36218 * javax/swing/plaf/basic/BasicListUI.java
36219 (ComponentHandler): Removed unneeded class.
36220 (ListDataHandler.contentsChanged): Revalidate instead of calling
36222 (ListDataHandler.intervalAdded): Revalidate instead of calling
36224 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36226 (PropertyChangeHandler.propertyChange): Or flags together instead
36227 of adding them. Don't call damageLayout().
36228 (componentListener): Removed unnecessary field.
36229 (damageLayout): Removed unnecessary method.
36230 (installListeners): Don't install unnecessary listeners.
36231 (uninstallListeners): Dito.
36232 (getPreferredSize): Don't ask for the real list height and
36233 calculate with the previously calculated list height.
36234 (locationToIndex): Renamed list parameter to l so that it doesn't
36235 shadow the field with the same name.
36236 (indexToLocation): Renamed list parameter to l so that it doesn't
36237 shadow the field with the same name.
36239 2006-01-04 Tom Tromey <tromey@redhat.com>
36241 * include/.cvsignore: Ignore config-int.h.
36243 2006-01-04 Roman Kennke <kennke@aicas.com>
36245 * javax/swing/plaf/basic/BasicListUI.java
36246 (getPreferredSize): Rewritten to match the specs.
36248 2006-01-04 Roman Kennke <kennke@aicas.com>
36250 * javax/swing/JFileChooser.java
36251 (showOpenDialog): Set fixed width on the dialog.
36252 (showSaveDialog): Set fixed width on the dialog.
36253 (showDialog): Set fixed width on the dialog.
36255 2006-01-04 Roman Kennke <kennke@aicas.com>
36257 * javax/swing/plaf/basic/BasicListUI.java
36258 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36259 Adjusted iteration to not use visibleRowCount and instead iterate
36260 over the real number of elements in cellHeights.
36261 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36262 Adjusted iteration to not use visibleRowCount and instead iterate
36263 over the real number of elements in cellHeights.
36265 2006-01-04 Roman Kennke <kennke@aicas.com>
36267 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36268 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36269 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36271 2006-01-04 Roman Kennke <kennke@aicas.com>
36273 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36274 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36276 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36277 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36279 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36281 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36282 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36283 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36284 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36285 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36286 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36287 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36288 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36290 2006-01-04 Lillian Angel <langel@redhat.com>
36292 * javax/swing/plaf/metal/MetalFileChooserUI.java
36293 (propertyChange): Fixed to change the combo box label
36294 appropriately. Also, fixed to set the textfield's text
36296 (editFile): Fixed size of editing field.
36297 (installComponents): Correctly aligned all panels.
36298 (installStrings): Fixed to set the label's text
36299 appropriately depending on the dialog type.
36301 2006-01-04 Lillian Angel <langel@redhat.com>
36305 * javax/swing/JTree.java
36306 (JTree): Because some L&F defaults have been updated,
36307 the selectionMode for the tree needed to be set to SINGLE.
36308 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36309 Initialized accessoryPanel.
36310 * javax/swing/plaf/metal/MetalFileChooserUI.java
36311 (installComponents): Added accessoryPanel to the filechooser.
36313 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36315 * configure.ac: Added AX_CREATE_STDINT_H
36317 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36319 * m4/ax_create_stdint_h.m4: New file.
36321 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36322 typedefs. Removed stdint.h and inttypes.h includes.
36324 2006-01-03 Mark Wielaard <mark@klomp.org>
36326 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36327 register keyboard action when accelerator is not null.
36328 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36329 re-register accelerator if not null.
36330 (installKeyboardActions): Only put accelerator in map when not null.
36332 2006-01-04 Lillian Angel <langel@redhat.com>
36334 * javax/swing/plaf/basic/BasicLookAndFeel.java
36335 (initComponentDefaults): Removed unneeded default.
36336 * javax/swing/plaf/metal/MetalLookAndFeel.java
36337 (initComponentDefaults): Added and fixed several defaults.
36339 2006-01-04 Roman Kennke <kennke@aicas.com>
36341 * javax/swing/plaf/basic/BasicHTML.java: New class.
36343 2006-01-03 Tom Tromey <tromey@redhat.com>
36345 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36346 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36348 2006-01-03 Mark Wielaard <mark@klomp.org>
36350 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36352 2006-01-03 Mark Wielaard <mark@klomp.org>
36354 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36355 Always call createDefaultTheme().
36356 (createDefaultTheme): Check whether theme is still null.
36358 2006-01-03 Mark Wielaard <mark@klomp.org>
36360 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36361 Color.WHITE if null.
36363 2006-01-03 Lillian Angel <langel@redhat.com>
36365 * javax/swing/plaf/metal/MetalLookAndFeel.java
36366 (getDescription): Fixed to return the correct string.
36368 (getName): Likewise.
36369 (getDefaults): Added check to avoid NPE.
36370 (getAcceleratorForeground): Likewise.
36371 (getAcceleratorSelectedForeground): Likewise.
36372 (getBlack): Likewise.
36373 (getControl): Likewise.
36374 (getControlDarkShadow): Likewise.
36375 (getControlDisabled): Likewise.
36376 (getControlHighlight): Likewise.
36377 (getControlInfo): Likewise.
36378 (getControlShadow): Likewise.
36379 (getControlTextColor): Likewise.
36380 (getControlTextFont): Likewise.
36381 (getDesktopColor): Likewise.
36382 (getFocusColor): Likewise.
36383 (getHighlightedTextColor): Likewise.
36384 (getInactiveControlTextColor): Likewise.
36385 (getInactiveSystemTextColor): Likewise.
36386 (getMenuBackground): Likewise.
36387 (getMenuDisabledForeground): Likewise.
36388 (getMenuForeground): Likewise.
36389 (getMenuSelectedBackground): Likewise.
36390 (getMenuSelectedForeground): Likewise.
36391 (getMenuTextFont): Likewise.
36392 (getPrimaryControl): Likewise.
36393 (getPrimaryControlDarkShadow): Likewise.
36394 (getPrimaryControlHighlight): Likewise.
36395 (getPrimaryControlInfo): Likewise.
36396 (getPrimaryControlShadow): Likewise.
36397 (getSeparatorBackground): Likewise.
36398 (getSeparatorForeground): Likewise.
36399 (getSubTextFont): Likewise.
36400 (getSystemTextColor): Likewise.
36401 (getSystemTextFont): Likewise.
36402 (getTextHighlightColor): Likewise.
36403 (getUserTextColor): Likewise.
36404 (getUserTextFont): Likewise.
36405 (getWhite): Likewise.
36406 (getWindowBackground): Likewise.
36407 (getWindowTitleBackground): Likewise.
36408 (getWindowTitleFont): Likewise.
36409 (getWindowTitleForeground): Likewise.
36410 (getWindowTitleInactiveBackground): Likewise.
36411 (getWindowTitleInactiveForeground): Likewise.
36413 2006-01-03 Mark Wielaard <mark@klomp.org>
36415 * javax/swing/JTextArea.java
36416 (JTextArea(Document,text,int,int)): Only call setText() when text is
36419 2006-01-03 Lillian Angel <langel@redhat.com>
36421 * javax/swing/plaf/basic/BasicFileChooserUI.java
36422 (installStrings): Fixed installation of defaults that
36423 were changed in BasicLookAndFeel.
36424 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36425 (installDefaults): Fixed installation of defaults that
36426 were changed in BasicLookAndFeel.
36428 2006-01-03 Lillian Angel <langel@redhat.com>
36430 * javax/swing/plaf/basic/BasicLookAndFeel.java
36431 (initComponentDefaults): Fixed several defaults that differed
36434 2006-01-03 Lillian Angel <langel@redhat.com>
36436 * javax/swing/tree/DefaultTreeSelectionModel.java
36437 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36439 2006-01-03 Lillian Angel <langel@redhat.com>
36441 * javax/swing/AbstractAction.java
36442 (AbstractAction): Fixed to pass in null. Should not be
36443 an empty string. Removed TODO comment.
36444 (AbstractAction): Removed TODO comment.
36445 * javax/swing/JList.java
36446 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36447 * javax/swing/JMenuItem.java
36448 (JMenuItem): Set all defaults if the action passed in is not null.
36449 * javax/swing/JProgressBar.java
36450 (JProgressBar): Added check to prevent NPE.
36452 2006-01-03 Lillian Angel <langel@redhat.com>
36454 * javax/swing/plaf/basic/BasicListUI.java
36455 (getPreferredSize): The JDK adds some extra space to
36456 the list, so we should as well.
36457 * javax/swing/plaf/metal/MetalFileChooserUI.java
36458 (getPreferredSize): Should only take the fileListPanel's
36459 width into account when getting the size. Also, the buttonPanel's
36460 size should not be checked, since it is in the bottomPanel already.
36461 (getMinimumSize): Likewise.
36463 2006-01-03 Lillian Angel <langel@redhat.com>
36465 * javax/swing/JList.java
36466 (init): visibleRowCount should be 7, like the JDK.
36467 * javax/swing/plaf/metal/MetalFileChooserUI.java
36468 (installComponents): No need to add the fileFilterCombo
36469 to a panel. It can be added to the row directly.
36471 2006-01-03 Lillian Angel <langel@redhat.com>
36473 PR classpath/25480 PR classpath/25478
36474 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36475 (updateViewport): Made changes suggested by
36477 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36478 Removed unneeded import.
36479 (createList): Removed comment, JList wrapping
36481 (getPreferredSize): Made changes suggested by
36482 Chris Lansdown. Uses fileListPanel, instead
36484 (getMinimumSize): Uses fileListPanel, instead
36486 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36487 (paintFocus): Fixed height.
36489 2006-01-03 Roman Kennke <kennke@aicas.com>
36491 * javax/swing/plaf/basic/BasicListUI.java
36492 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36494 2006-01-03 Roman Kennke <kennke@aicas.com>
36496 * javax/swing/plaf/basic/BasicListUI.java
36497 (locationToIndex): Special case for when variable cell heights
36498 are possible. (cellHeights is used instead of cellHeight).
36499 (indexToLocation): Special case for when variable cell heights
36500 are possible. (cellHeights is used instead of cellHeight).
36502 2006-01-03 Roman Kennke <kennke@aicas.com>
36504 * javax/swing/text/DefaultStyledDocument.java
36505 (ElementBuffer.remove): New method.
36506 (ElementBuffer.removeUpdate): New method.
36507 (removeUpdate): New method.
36509 2006-01-03 Roman Kennke <kennke@aicas.com>
36512 (dist-hook): Preserve attributes of Java sources when copying to
36515 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36517 * AUTHORS: Added self.
36518 * java/security/Security.java (getProvider): Ensures provider's name is
36519 not null, not an empty string, and is trimmed before usage.
36521 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36523 * gnu/CORBA/Poa/AOM.java (add):
36524 Changed parameter Object into gnuServantObject.
36525 (Obj.object): Changed type to gnuServantObject.
36526 (findObject): Rewritten.
36528 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36530 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36531 buffering. Ability has gone in Qt-4.1.x.
36533 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36534 to have the right include flags.
36536 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36538 * java/security/MessageDigest.java (getInstance(String,String)):
36539 Use trimmed copy of provider name.
36540 * gnu/java/security/Engine.java
36541 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36542 service and algorithm names.
36544 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36546 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36547 localhost is null or is an empty string. Trim hostname before