1 2007-03-28 Casey Marshall <csm@gnu.org>
3 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
4 check keyEncipherment bit of the certificate, and just pass the public
7 2007-03-27 Casey Marshall <csm@gnu.org>
10 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
11 Always make a new socket.
12 (bind, connect, getInetAddress, getLocalAddress, getPort,
13 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
14 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
15 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
16 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
17 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
18 getTrafficClass, setReuseAddress, getReuseAddress, close,
19 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
20 isInputShutdown, isOutputShutdown): Always use
23 2007-03-27 Tom Tromey <tromey@redhat.com>
26 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
27 (createXMLReader): Code in Classpath default.
29 2007-03-27 Keith Seitz <keiths@redhat.com>
32 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
33 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
34 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
35 (executeGetValues): Use Value type.
36 (exectureSetValues): Ditto.
37 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
38 (executeGetValues): Use Value type.
39 (executeSetValues): Ditto.
40 (invokeMethod): Record method return type.
41 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
42 (executeGetValues): Use Value type.
43 (executeSetValues): Ditto.
44 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
45 (executeGetValues): Use Value type.
46 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
47 (executeGetValues): Use Value type.
48 (executeSetValues): Ditto.
49 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
51 (getResultType): New Method.
52 (setResultType): Ditto.
53 * gnu/classpath/jdwp/util/Value.java: Remove.
54 * gnu/classpath/jdwp/value: New Package.
55 * gnu/classpath/jdwp/value/Value.java: New file.
56 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
57 * gnu/classpath/jdwp/value/ByteValue.java: New file.
58 * gnu/classpath/jdwp/value/CharValue.java: New file.
59 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
60 * gnu/classpath/jdwp/value/FloatValue.java: New file.
61 * gnu/classpath/jdwp/value/IntValue.java: New file.
62 * gnu/classpath/jdwp/value/LongValue.java: New file.
63 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
64 * gnu/classpath/jdwp/value/ShortValue.java: New file.
65 * gnu/classpath/jdwp/value/StringValue.java: New file.
66 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
67 * gnu/classpath/jdwp/value/VoidValue.java: New file.
69 2007-02-28 Keith Seitz <keiths@redhat.com>
70 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
71 (executeSet): Check if VM has capability for field access
72 or modification events.
73 * gnu/classpath/jdwp/processor/MethodCommandSet.java
74 (executeByteCodes): Check if VM has capability and
76 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
77 (executeMonitorInfo): Likewise.
78 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
79 (executeSourceDebugExtension): Likewise.
80 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
81 (executePopFrames): Likewise.
82 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
83 (executeOwnedMonitors): Likewise.
84 (executeCurrentContendedMonitor): Likewise.
85 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
86 (executeCapabilities): Rewrite using new VMVirtualMachine
88 (executeRedefineClasses): Check if VM has capability and
90 (executeSetDefaultStratum): Likewise.
91 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
92 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
93 (canWatchFieldModification): New class constant.
94 (canWatchFieldAccess): Likewise.
95 (canGetBytecodes): Likewise.
96 (canGetSyntheticAttribute): Likewise.
97 (canGetOwnedMonitorInfo): Likewise.
98 (canGetCurrentContendedMonitor): Likewise.
99 (canGetMonitorInfo): Likewise.
100 (canRedefineClasses): Likewise.
101 (canAddMethod): Likewise.
102 (canUnrestrictedlyRedefineClasses): Likewise.
103 (canPopFrames): Likewise.
104 (canUseInstanceFilters): Likewise.
105 (canGetSourceDebugExtension): Likewise.
106 (canRequestVMDeathEvent): Likewise.
107 (canSetDefaultStratum): Likewise.
108 (redefineClasses): New method.
109 (setDefaultStratum): Likewise.
110 (getSourceDebugExtension): Likewise.
111 (getBytecodes): Likewise.
112 (getMonitorInfo): Likewise.
113 (getOwnedMonitors): Likewise.
114 (getCurrentContendedMonitor): Likewise.
115 (popFrames): Likewise.
117 2007-02-28 Keith Seitz <keiths@redhat.com>
118 * gnu/classpath/jdwp/processor/MethodCommandSet.java
119 (executeLineTable): Use ReferenceTypeId instead of
120 ClassReferenceTypeId.
121 (executeVariableTable): Likewise.
122 (executeVariableTableWithGeneric): Fix error message.
123 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
124 (executeSignatureWithGeneric): Fix error message.
125 (executeFieldWithGeneric): Likewise.
126 (executeMethodsWithGeneric): Likewise.
127 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
128 (executeGetValues): Use ThreadId instead of ObjectId.
129 (executeSetValues): Likewise.
130 (executeThisObject): Likewise.
132 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
133 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
134 * gnu/classpath/jdwp/util/NullObject.java: New class.
135 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
136 (getObjectId): Handle null object.
137 (get): Handle objectId of 0.
139 2007-02-22 Keith Seitz <keiths@redhat.ecom>
140 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
141 (getAllLoadedClassesCount): Remove.
142 (getAllLoadedClasses): Return a Collection.
143 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
144 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
145 now returns Collection.
146 (executeAllClasses): Likewise.
147 Get size of return from Colleciton instead of calling
148 getAllLoadedClassesCount.
150 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
151 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
152 (executeGetValues): Pass a signature byte to VMFrame.getValue.
153 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
156 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
157 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
158 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
159 (executeSetValues): Ditto.
160 (executeThisObject): Ditto.
161 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
162 and a constructor used to create VMFrames.
163 (getThread): New method.
164 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
165 Changed to take a long instead of a ByteBuffer to pass the frameID.
167 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
168 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
170 2007-03-26 Tom Tromey <tromey@redhat.com>
172 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
173 (rmid Tool): Likewise.
175 2007-03-25 Dalibor Topic <robilad@kaffe.org>
177 * doc/cp-tools.texinfo: Fix node ordering.
179 2007-03-19 Matthias Klose <doko@ubuntu.com>
181 * doc/Makefile.am: Build a gcjh(1) man page.
182 * doc/cp-tools.texinfo: Add documentation for gcjh.
184 2007-03-26 Stepan Kasal <skasal@redhat.com>
186 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
188 (getParser): Use new field.
190 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
192 * resource/com/sun/tools/javac/messages.properties
193 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
194 messages for when --with-ecj-jar is not specified.
195 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
196 * tools/Makefile.am: Build com.sun.tools.javac package
198 * configure, doc/api/Makefile.in, doc/Makefile.in,
199 examples/Makefile.in, external/jsr166/Makefile.in,
200 external/Makefile.in, external/relaxngDatatype/Makefile.in,
201 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
202 include/Makefile.in, lib/Makefile.in, Makefile.in,
203 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
204 native/jni/classpath/Makefile.in,
205 native/jni/gconf-peer/Makefile.in,
206 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
207 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
208 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
209 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
210 native/jni/midi-dssi/Makefile.in,
211 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
212 native/jni/xmlj/Makefile.in, native/Makefile.in,
213 native/plugin/Makefile.in, resource/Makefile.in,
214 scripts/Makefile.in, tools/Makefile.in: Regenerate.
215 * tools/classes/com/sun/tools/javac: New directory.
216 * tools/classes/com/sun/tools/javac/Main.class,
217 tools/classes/com/sun/tools/javac/Messages.class: New files.
219 2007-03-16 Tom Tromey <tromey@redhat.com>
221 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
224 2007-03-16 Tom Tromey <tromey@redhat.com>
226 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
227 (printClass): Added filename argument.
228 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
229 (printClass): Added filename argument.
230 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
231 (printClass): Use user's file name.
232 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
233 (printClass): Use user's file name.
234 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
236 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
238 (writeHeaders): Use a HashMap.
239 (run): Put class name into HashMap for writeHeaders.
241 2007-03-02 Mario Torre <neugens@limasoftware.net>
244 committed for Petteri Räty <betelgeuse@gentoo.org>
245 * configure.ac: fix broken build for gcj browser plugin
247 2007-02-20 Jakub Jelinek <jakub@redhat.com>
249 * java/util/Date.java (parse): Properly parse 09:01:02 as
250 hours/minutes/seconds, not as hours/minutes/year.
251 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
252 {start,end}TimeMode constructor by calling shorter constructor,
253 set {start,end}TimeMode fields after it returns.
254 (setStartRule): Don't adjust startTime into WALL_TIME. Set
255 startTimeMode to WALL_TIME.
256 (endStartRule): Similarly.
257 (getOffset): Handle properly millis + dstOffset overflowing into the
258 next day. Adjust startTime resp. endTime based on startTimeMode
260 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
262 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
263 If non-null, set up aliases0 and don't put anything into
265 (defaultZone): Call getTimeZone instead of timezones().get.
266 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
267 getTimeZoneInternal instead of timezones().get.
268 (parseTime): Parse correctly hour:minute.
269 (getTimeZoneInternal): New private method.
270 (getTimeZone): Do the custom ID checking first, canonicalize
271 ID for custom IDs as required by documentation. Call
272 getTimeZoneInternal to handle the rest.
273 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
274 (getAvailableIDs(File,String,ArrayList)): New private method.
275 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
276 * gnu/java/util/ZoneInfo.java: New file.
278 2007-02-20 Matthias Klose <doko@ubuntu.com>
280 * doc/Makefile.am: Add rules to build and install man pages
282 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
283 Rename, prefix files with "cp-".
284 * doc/cp-tools.texinfo: Add markup for man page generation,
285 add documentation for command line options for gjar, gjavah,
286 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
287 doc/texi2pod.pl: New, taken from the GCC sources.
289 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
292 * javax/management/MBeanInfo.java (MBeanInfo):
293 Use clone to duplicate the arrays in order to
294 preserve the array type.
296 2007-02-16 Andrew Haley <aph@redhat.com>
298 * gnu/java/lang/management/MemoryMXBeanImpl.java,
299 javax/management/MBeanServerDelegate.java: Use
300 gnu.javax.management.ListenerData rather than
301 gnu.classpath.ListenerData.
302 * gnu/javax/management/ListenerData.java: Move here from
303 gnu/classpath/ListenerData.java.
305 2007-02-14 Jakub Jelinek <jakub@redhat.com>
306 Andrew Haley <aph@redhat.com>
308 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
310 2007-02-09 Tom Tromey <tromey@redhat.com>
313 * configure: Rebuilt.
314 * configure.ac: Also check for jack/jack.h.
316 2007-02-09 Jakub Jelinek <jakub@redhat.com>
318 * java/util/TimeZone.java: Handle default (one hour) daylight
321 2007-02-09 Jakub Jelinek <jakub@redhat.com>
324 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
325 just Rule lines, in the other everything else. Pass 0 instead of
326 $savings as second argument to parseRule when parsing the start
328 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
330 2007-02-07 Chris Burdess <dog@gnu.org>
333 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
334 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
335 SAXSources without a backing URL or stream.
338 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
339 LSParser if implementation does not support asynchronous.
340 * gnu/xml/stream/XMLParser.java,
341 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
342 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
343 protocol handler problems.
345 2007-02-06 Tom Tromey <tromey@redhat.com>
348 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
349 (printClass): Always print a header.
351 2007-02-05 Andrew Haley <aph@redhat.com>
354 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
355 (printClass): Replace '/' in filenames with '_'.
356 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
357 (printClass): Likewise.
359 2007-02-05 Tom Tromey <tromey@redhat.com>
361 * java/net/Proxy.java (equals): Handle case where address==null.
362 (hashCode): Likewise.
363 (toString): Likewise.
365 2007-01-31 Tom Tromey <tromey@redhat.com>
367 * resource/gnu/classpath/tools/jar/messages.properties
368 (Main.Stdin): New message.
369 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
371 (readNames): New method.
374 2007-01-26 Andrew Haley <aph@redhat.com>
376 * java/lang/SecurityManager.java: Load and initialize
377 java.security.Security.
379 2007-01-26 Tom Tromey <tromey@redhat.com>
381 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
382 'volatile' after field type.
384 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
386 * java/util/Arrays.java (binarySearch): Change comparison order.
388 2007-01-17 Tom Tromey <tromey@redhat.com>
390 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
391 (PathOptionGroup): Set default boot class path.
393 2006-12-14 Andrew Haley <aph@redhat.com>
395 * tools/gnu/classpath/tools/jar/Creator.java: Close the
398 2006-10-12 Andrew Haley <aph@redhat.com>
400 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
401 * java/lang/ThreadLocal.java: Likewise.
403 2006-09-13 Andrew Haley <aph@redhat.com>
405 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
406 Revert previous gcj-specific disabling of checks.
407 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
409 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
412 2006-09-13 Andrew Haley <aph@redhat.com>
414 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
416 (Iterator.remove()): Decrement index after removing element.
418 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
420 * javax/net/ssl/SSLSocketFactory.java (getDefault):
421 Chain exception cause.
423 2006-12-11 Roman Kennke <kennke@aicas.com>
425 * .classpath: Include ASM in Eclipse classpath.
427 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
429 * gnu/java/lang/management/BeanImpl.java:
430 (translate(String)): Trim strings of whitespace.
431 * javax/management/MBeanAttributeInfo.java:
432 (MBeanAttributeInfo(String,String,Method,Method)):
433 Use Class.getName() for normal (non-parameterized) cases.
434 * javax/management/MBeanConstructorInfo.java:
435 (MBeanConstructorInfo(String, Constructor)):
437 * javax/management/MBeanOperationInfo.java:
438 (MBeanOperationInfo(String, Method)):
441 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
443 * java/lang/Class.java:
444 (getClasses()): Return Class<?>[].
445 (internalGetClasses()): Likewise.
446 (getConstructor(Class<?>...)): Add type parameter
448 (getDeclaredConstructor(Class<?>...)): Likewise.
449 (getDeclaredClasses()): Return Class<?>[].
450 (getDeclaredClasses(boolean)): Likewise.
451 (getDeclaredConstructors()): Return Constructor<?>[].
452 (getDeclaredConstructors(boolean)): Likewise.
453 (getDeclaredMethod(String,Class<?>...)): Add type
454 parameter to parameters.
455 (getInterfaces()): Return Class<?>[].
456 (getMethods(String,Class<?>...)): Add type
457 parameter to parameters.
458 * java/text/CollationKey.java:
460 * java/text/DecimalFormatSymbols.java:
463 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
465 * gnu/java/lang/management/BeanImpl.java:
466 (translate(String)): Handle Map and List as
467 Strings of the form "java.util.Map<K,V>" and
469 * javax/management/MBeanAttributeInfo.java:
470 (MBeanAttributeInfo(String,String,Method,Method)):
471 Use generic parameter and return types.
472 * javax/management/MBeanConstructorInfo.java:
473 (MBeanConstructorInfo(String, Constructor)):
474 Use generic parameter types.
475 * javax/management/MBeanOperationInfo.java:
476 (MBeanOperationInfo(String, Method)):
477 Use generic parameter and return types.
479 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
481 * gnu/java/lang/management/BeanImpl.java:
482 (translate(String)): Comment out code for using type
483 variables for Map and List.
484 * java/lang/Thread.java:
485 (Thread(ThreadGroup,Runnable,String,long)): Fix
486 incrementation of totalThreadsCreated to be prior to use.
488 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
490 * javax/management/MBeanServerFactory.java:
491 (createMBeanServer(String)): Added security check.
492 (findMBeanServer(String)): Likewise.
493 (newMBeanServer(String)): Likewise.
494 (releaseMBeanServer(String)): Likewise.
495 * javax/management/MBeanServerPermission.java:
498 2006-12-08 David Daney <ddaney@avtrex.com>
500 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
503 2006-12-08 David Daney <ddaney@avtrex.com>
505 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
507 2006-12-08 David Daney <ddaney@avtrex.com>
509 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
511 (HTTPConnection): Handle NumberFormatException in properties parsing.
512 (Pool.get): Set timeout on reused sockets.
513 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
515 (HTTPURLConnection): Cleanup properties handling.
516 (getConnection): Use both connection and read timeouts.
517 (setConnectTimeout): Removed.
518 (setReadTimeout): New method.
519 * java/net/URLConnection.java (timeout): Renamed to...
520 (connectTimeout): ... connectTimeout throughout.
521 (readTimeout): New field.
522 (getReadTimeout): New method.
523 (setReadTimeout): New method.
525 2006-12-08 Tania Bento <tbento@redhat.com>
527 * java/awt/ScrollPane.java
528 (doLayout): Change the location of the scrollpane's child
531 2006-12-08 David Daney <ddaney@avtrex.com>
533 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
535 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
536 SocketTimeoutException if a blocking socket timesout.
537 (Java_gnu_java_nio_VMChannel_readScattering): Same.
538 (Java_gnu_java_nio_VMChannel_read__I): Same.
539 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
540 (Java_gnu_java_nio_VMChannel_connect6): Same.
542 2006-12-08 Mark Wielaard <mark@klomp.org>
544 * configure.ac (VERSION): Set to 0.93-generics.
545 * NEWS: Add release date.
547 2006-12-08 Tania Bento <tbento@redhat.com>
549 * java/awt/ScrollPane.java
550 (getScrollPosition): Throw NullPointerException if scrollpane
552 (setScrollPosition(int, int)): Throw NullPointerException if
553 scrollpane does have a child. Check that both ints are within
554 the allowed bounds; If they are not, scroll to the closest allowed
557 2006-12-07 Roman Kennke <kennke@aicas.com>
559 * javax/swing/JEditorPane.java
560 (EditorKitMapping): New inner helper class.
561 (editorKits): New static field for caching editor kit instances.
562 (static_initiazer): Initialize static mappings here.
563 (createEditorKitForContentType): Try to use cached instance.
564 Use correct classloader for loading.
565 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
567 (getEditorKitForContentType): Store the fetched editor kit.
568 Fallback to createDefaultEditorKit().
569 (init): Don't clean the static registry here.
570 (registerEditorKitForContentType(String,String,ClassLoader)):
572 (registerEditorKitForContentType(String,String)): Delegate to
573 the other version of this method with the thread's context
576 2006-12-07 Mark Wielaard <mark@klomp.org>
578 * examples/gnu/classpath/examples/swing/HtmlDemo.java
579 (setPage): Don't convert URL to String for setPage().
581 2006-12-07 Mark Wielaard <mark@klomp.org>
583 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
585 2006-12-07 Mark Wielaard <mark@klomp.org>
587 * tools/Makefile.am: Explicitly define and use bootclasspath as
590 2006-12-07 Mark Wielaard <mark@klomp.org>
592 * javax/swing/JEditorPane.java (createEditorKitForContentType):
593 Always load from system class loader.
595 2006-12-07 Mark Wielaard <mark@klomp.org>
597 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
599 (URL(URL,String,URLStreamHandler)): Call new constructor.
600 (URL(URL,String)): Likewise.
601 (URL(String)): Likewise.
603 2006-12-07 Tom Tromey <tromey@redhat.com>
606 * INSTALL: Don't mention --with-asm.
607 * tools/external/README: New file.
608 * tools/toolwrapper.c (main): Don't use ASM_JAR.
609 * tools/gjavah.in: Don't use PATH_TO_ASM.
610 * tools/grmic.in: Likewise.
611 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
613 (javah, rmic): Removed variables.
614 (bin_PROGRAMS): Updated.
615 (gappletviewer_CFLAGS): Don't define ASM_JAR.
616 (gjarsigner_CFLAGS): Likewise.
617 (gkeytool_CFLAGS): Likewise.
618 (gjar_CFLAGS): Likewise.
619 (gnative2ascii_CFLAGS): Likewise.
620 (gserialver_CFLAGS): Likewise.
621 (grmiregistry_CFLAGS): Likewise.
622 (gtnameserv_CFLAGS): Likewise.
623 (gorbd_CFLAGS): Likewise.
624 (grmid_CFLAGS): Likewise.
625 (gjavah_CFLAGS): Likewise.
626 (grmic_CFLAGS): Likewise.
627 (bin_SCRIPTS): Updated.
628 (TOOLS_JAVA_FILES): Updated.
629 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
630 * configure.ac: Removed --with-asm. Always build gjavah.
632 2006-12-06 Roman Kennke <kennke@aicas.com>
634 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
636 * examples/gnu/classpath/examples/swing/HtmlDemo.java
637 (LoadActionListener): Call setPage() helper method.
638 (createContent): Register tweaked editor kit. For FormSubmitEvents
639 call submitForm(), otherwise setPage().
640 (postData): Helper method for posting form data.
641 (setPage): Helper method for navigating to a new URL.
642 (submitForm): Helper method for submitting a form.
643 * examples/gnu/classpath/examples/swing/forms.html:
644 Added text/password fields and select boxes.
645 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
647 2006-12-06 Roman Kennke <kennke@aicas.com>
649 * javax/swing/text/html/FormView.java
650 (SubmitThread.postData): Implemented.
651 (SubmitThread.run): Pass data to postData().
652 (actionPerformed): Reset form when reset button is activated.
653 (createComponent): Add support for select lists and comboboxes.
654 Don't set value of text and password fields here, this is done
655 now in HTMLDocument for consistency.
656 (getElementFormData): Add support for fetching form data from
657 select lists and comboboxes as well as textareas.
658 (getSelectData): New helper method. Fetches form data from
660 (getTextAreaData): New helper method. Fetches form data from
662 (resetForm): New helper method. Resets the entire form.
663 * javax/swing/text/html/HTMLDocument.java
664 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
665 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
666 (HTMLReader.FormAction.setModel): Initialize text and password
667 values here. Also, use the resetable special models.
668 Group radio buttons into ButtonGroup for exclusive selection.
669 (HTMLReader.FormTagAction): New class. Handles FORM tags.
670 (HTMLReader.buttonGroups): New field.
671 (HTMLReader.numOptions): New field.
672 (HTMLReader.option): New field.
673 (HTMLReader.selectModel): New field.
674 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
675 (HTMLReader.handleText): Handle OPTION text.
676 (HTMLReader.initTags): Map FORM tags to FormTagAction.
677 (HTMLReader.textAreaContent): Set initial content.
678 * javax/swing/text/html/Option.java
679 (Option): Make copy of attribute set. Initialize selected state.
680 (getValue): Fetch value from attribute set.
681 * javax/swing/text/html/ResetableModel.java: New interface.
682 * javax/swing/text/html/ResetablePlainDocument.java: New class.
683 Supports resetting the state.
684 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
685 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
686 * javax/swing/text/html/SelectListModel.java: Likewise.
688 2006-12-06 Roman Kennke <kennke@aicas.com>
690 * javax/swing/text/DefaultCaret.java
691 (appear): Adjust visibility here.
692 (setDotImpl): Don't adjust visibility here.
693 (moveDotImpl): Don't adjust visibility here.
695 2006-12-06 Roman Kennke <kennke@aicas.com>
697 * gnu/java/awt/peer/gtk/AsyncImage.java
698 (Loader.run): Synchronize on the AsyncImage to avoid threading
700 (addObservers): Check for obs==null outside and synchronize on
701 this inside to avoid locking issues.
702 (checkImage): New helper method.
703 (notifyObservers): Check that the correct lock is held and
704 remove actual locking.
705 * gnu/java/awt/peer/gtk/GtkToolkit.java
706 (checkImage): Added special handling for AsyncImages.
708 2006-12-06 Roman Kennke <kennke@aicas.com>
710 * examples/gnu/classpath/examples/swing/Demo.java
711 (getIcon): Made package private.
712 * examples/gnu/classpath/examples/swing/HtmlDemo.java
713 (hyperlinkUpdate): Convert URL to string.
715 2006-12-06 Mark Wielaard <mark@klomp.org>
717 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
720 2006-12-06 Roman Kennke <kennke@aicas.com>
722 * examples/gnu/classpath/examples/icons/back.png,
723 * examples/gnu/classpath/examples/icons/reload.png:
724 New icons for the HTML browser.
725 * examples/gnu/classpath/examples/swing/HtmlDemo.java
726 (history): New field. Manages the browsing history.
727 (HtmlDemo): Initialize history.
728 (createContent): Set location and add history. Add toolbar.
729 (createToolBar): New helper method.
730 (main): Make default size bigger.
731 * examples/gnu/classpath/examples/swing/frame1.html,
732 * examples/gnu/classpath/examples/swing/frame2.html,
733 * examples/gnu/classpath/examples/swing/frame3.html,
734 * examples/gnu/classpath/examples/swing/frame4.html,
735 * examples/gnu/classpath/examples/swing/frames.html,
736 * examples/gnu/classpath/examples/swing/tables.html:
738 * examples/gnu/classpath/examples/swing/welcome.html
739 Add a couple of links and new test pages.
741 2006-12-06 Roman Kennke <kennke@aicas.com>
743 * javax/swing/JEditorPane.java
744 (getStream): Buffer the stream for efficiency.
745 (setPage): Don't scroll the view at this point.
746 * javax/swing/plaf/basic/BasicTextUI.java
747 (RootView.paint): Call RootView's setSize to get synchronization.
748 (RootView.setSize): Synchronize to prevent race in layout code.
749 * javax/swing/text/AbstractDocument.java
750 (notifyListeners): New field.
751 (fireChangedUpdate): Track notifyListener field.
752 (fireRemoveUpdate): Track notifyListener field.
753 (fireIndertUpdate): Track notifyListener field.
754 (writeLock): Check notifyListener and throw IllegalStateException.
755 * javax/swing/text/View.java
756 (preferenceChanged): Create local var for better thread safety and
759 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
761 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
762 lightweight component, not just for non-Panel components.
763 (addImpl): Do not call doLayout.
764 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
765 (setNativeBounds): Ensure widget parent is a GtkFixed before
766 calling gtk_fixed_move.
767 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
768 (setNativeBounds): Likewise.
769 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
770 (setNativeBounds): Likewise.
772 2006-12-06 Roman Kennke <kennke@aicas.com>
774 * javax/swing/text/html/TableView.java
775 (RowView.layoutMajorAxis): Check column index for invalid value.
776 (updateGrid): Check column index for invalid value.
778 2006-12-06 Roman Kennke <kennke@aicas.com>
780 * javax/swing/text/html/BlockView.java
781 (getAlignment): Align blocks horizontally by the superclass.
782 * javax/swing/text/html/HTMLEditorKit.java
783 (HTMLFactory.create): Replace equals comparison by == for efficiency.
784 Add mapping for misplaced tr, td and th tags. Include object mapping.
785 * javax/swing/text/html/TableView.java
786 (RowView.replace): Invalidate grid early.
787 (gridValid): Initialize with false.
788 (create): Only create RowView and CellView for correctly placed
789 tags. Avoid unnecessary casts.
790 (getAlignment): Removed.
791 (replace): Invalidate grid early.
793 2006-12-06 Francis Kung <fkung@redhat.com>
795 * java/awt/geom/RectangularShape.java
796 (getBounds): Remove empty rectangle check.
798 2006-12-06 Ben Konrath <bkonrath@redhat.com>
801 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
802 newValue are the same.
803 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
805 2006-12-06 Tania Bento <tbento@redhat.com>
807 * javax/swing/border/CompoundBorder.java:
808 (isBorderOpaque): If inside border is null, return true if outside
809 border is opaque, false otherwise; if outside border is null, return
810 true if inside border is opaque, false otherwise; if inside or
811 outside border are both not null, then return true only if both the
812 inside and outside border are opaque, false otherwise.
814 2006-12-06 Tania Bento <tbento@redhat.com>
816 * javax/swing/border/CompoundBorder.java:
817 (isBorderOpaque): If inside and outside border both have a null
820 2006-12-06 Chris Burdess <dog@gnu.org>
823 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
824 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
826 2006-12-06 Chris Burdess <dog@gnu.org>
829 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
832 2006-12-06 Chris Burdess <dog@gnu.org>
835 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
836 discover schema factory implementation class.
838 2006-12-05 Francis Kung <fkung@redhat.com>
840 * java/awt/BasicStroke.java
841 (capEnd): Prevent division by zero.
842 * java/awt/geom/Arc2D.java
843 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
844 (ArcIterator.currentSegment): Handle a negative extent.
846 2006-12-05 Francis Kung <fkung@redhat.com>
848 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
849 (constructor): Handle translated subimages properly, ie, if the image's
850 0,0 position is not the data buffer's first element.
852 2006-12-05 Roman Kennke <kennke@aicas.com>
854 * gnu/java/awt/peer/gtk/AsyncImage.java
855 (Loader.run): Nullify observers after loading.
856 (observers): Made package private.
857 (addObserver): Check for null observers field. Create local
858 variable for thread safety.
859 (getHeight): Use addObserver() for checking state of field
860 and notifying observer when necessary.
861 (getWidth): Use addObserver() for checking state of field
862 and notifying observer when necessary.
863 (getProperty): Use addObserver() for checking state of field
864 and notifying observer when necessary.
865 (notifyObservers): Check for null observers field. Create local
866 variable for thread safety.
868 2006-12-05 Roman Kennke <kennke@aicas.com>
870 * javax/swing/text/html/HTMLEditorKit.java
871 (HTMLFactory.create): Removed debug output.
872 * javax/swing/text/html/InlineView.java
873 (getBreakWeight): Likewise.
874 * javax/swing/text/html/StyleSheet.java
876 (ListPainter.paint): Removed debug output.
878 2006-12-05 Roman Kennke <kennke@aicas.com>
880 * javax/swing/text/html/BlockView.java
881 (painter): Made package visible.
882 * javax/swing/text/html/StyleSheet.java
883 (translateBorder): New helper method.
884 (translateHTMLToCSS): Add mappings for border attributes.
885 * javax/swing/text/html/TableView.java
886 Made class subclass of BlockView to get CSS goodness.
887 (CellView.rowSpan): New field.
888 (CellView.setPropertiesFromAttributes): Fetch rowspan.
889 (RowView.overlap): New field.
890 (RowView.rowIndex): New field.
891 (RowView.layoutMajorAxis): Skip overlapping cells.
892 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
893 (numColumns): New field.
894 (tmpRect): New field.
895 (TableView): Initialize tmpRect.
896 (calculateColumnRequirements): Adjusted and fixed for multirows.
897 (getAlignment): Overridden to center tables.
898 (paint): Overridden to fix clipping.
899 (getStyleSheet): Made protected.
900 (layoutMajorAxis): Invalidate rows.
901 (setPropertiesFromAttributes): Made protected and call super.
902 (updateGrid): Update the overlapping information for multirows.
904 2006-12-05 Roman Kennke <kennke@aicas.com>
906 * gnu/java/awt/peer/gtk/AsyncImage.java
907 (addObserver): Check for null and ignore null observers.
908 (getWidth): Check for null and ignore null observers.
909 (getHeight): Check for null and ignore null observers.
910 (getProperty): Check for null and ignore null observers.
912 2006-12-05 Francis Kung <fkung@redhat.com>
914 * java/awt/BasicStroke.java
915 (capEnd): Prevent division by zero.
916 * java/awt/geom/Arc2D.java
917 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
918 (ArcIterator.currentSegment): Handle a negative extent.
920 2006-12-05 Francis Kung <fkung@redhat.com>
922 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
923 (constructor): Handle translated subimages properly, ie, if the image's
924 0,0 position is not the data buffer's first element.
926 2006-12-05 Roman Kennke <kennke@aicas.com>
928 * javax/swing/text/html/ImageView.java
929 (imageUpdate): Use spans field to determine if the CSS width/height
930 are set. Call safePreferenceChanged to protect view structure
931 from threading issues.
932 (spans): Made package private.
933 (ImageView): Initialize loadOnDemand with false.
934 (loadImage): Call Toolkit.prepareImage() to make sure we have
935 our Observer registered.
936 (safePreferenceChanged): New helper method. Calls preferenceChanged
937 in a thread safe environment.
939 2006-12-05 Roman Kennke <kennke@aicas.com>
941 * NEWS: Add entry about improved HTML support.
943 2006-12-05 Roman Kennke <kennke@aicas.com>
945 * javax/swing/text/html/ImageView.java
946 (ImageView): Initialize spans array here.
947 (setPropertiesFromAttributes): Moved init of spans array to
950 2006-12-05 Roman Kennke <kennke@aicas.com>
952 * javax/swing/text/html/BlockView.java
953 (painter): Made package visible.
954 * javax/swing/text/html/StyleSheet.java
955 (translateBorder): New helper method.
956 (translateHTMLToCSS): Add mappings for border attributes.
957 * javax/swing/text/html/TableView.java
958 Made class subclass of BlockView to get CSS goodness.
959 (CellView.rowSpan): New field.
960 (CellView.setPropertiesFromAttributes): Fetch rowspan.
961 (RowView.overlap): New field.
962 (RowView.rowIndex): New field.
963 (RowView.layoutMajorAxis): Skip overlapping cells.
964 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
965 (numColumns): New field.
966 (tmpRect): New field.
967 (TableView): Initialize tmpRect.
968 (calculateColumnRequirements): Adjusted and fixed for multirows.
969 (getAlignment): Overridden to center tables.
970 (paint): Overridden to fix clipping.
971 (getStyleSheet): Made protected.
972 (layoutMajorAxis): Invalidate rows.
973 (setPropertiesFromAttributes): Made protected and call super.
974 (updateGrid): Update the overlapping information for multirows.
976 2006-12-05 Roman Kennke <kennke@aicas.com>
978 * javax/swing/text/html/HTMLEditorKit.java
979 (HTMLFactory.create): Removed debug output.
980 * javax/swing/text/html/InlineView.java
981 (getBreakWeight): Likewise.
982 * javax/swing/text/html/StyleSheet.java
984 (ListPainter.paint): Removed debug output.
986 2006-12-06 Roman Kennke <kennke@aicas.com>
988 * javax/swing/text/html/BlockView.java
989 (getAlignment): Align blocks horizontally by the superclass.
990 * javax/swing/text/html/HTMLEditorKit.java
991 (HTMLFactory.create): Replace equals comparison by == for efficiency.
992 Add mapping for misplaced tr, td and th tags. Include object mapping.
993 * javax/swing/text/html/TableView.java
994 (RowView.replace): Invalidate grid early.
995 (gridValid): Initialize with false.
996 (create): Only create RowView and CellView for correctly placed
997 tags. Avoid unnecessary casts.
998 (getAlignment): Removed.
999 (replace): Invalidate grid early.
1002 2006-12-06 Roman Kennke <kennke@aicas.com>
1004 * javax/swing/text/html/TableView.java
1005 (RowView.layoutMajorAxis): Check column index for invalid value.
1006 (updateGrid): Check column index for invalid value.
1008 2006-12-06 Roman Kennke <kennke@aicas.com>
1010 * javax/swing/JEditorPane.java
1011 (getStream): Buffer the stream for efficiency.
1012 (setPage): Don't scroll the view at this point.
1013 * javax/swing/plaf/basic/BasicTextUI.java
1014 (RootView.paint): Call RootView's setSize to get synchronization.
1015 (RootView.setSize): Synchronize to prevent race in layout code.
1016 * javax/swing/text/AbstractDocument.java
1017 (notifyListeners): New field.
1018 (fireChangedUpdate): Track notifyListener field.
1019 (fireRemoveUpdate): Track notifyListener field.
1020 (fireIndertUpdate): Track notifyListener field.
1021 (writeLock): Check notifyListener and throw IllegalStateException.
1022 * javax/swing/text/View.java
1023 (preferenceChanged): Create local var for better thread safety and
1026 2006-12-06 Roman Kennke <kennke@aicas.com>
1028 * examples/gnu/classpath/examples/icons/back.png,
1029 * examples/gnu/classpath/examples/icons/reload.png:
1030 New icons for the HTML browser.
1031 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1032 (history): New field. Manages the browsing history.
1033 (HtmlDemo): Initialize history.
1034 (createContent): Set location and add history. Add toolbar.
1035 (createToolBar): New helper method.
1036 (main): Make default size bigger.
1037 * examples/gnu/classpath/examples/swing/frame1.html,
1038 * examples/gnu/classpath/examples/swing/frame2.html,
1039 * examples/gnu/classpath/examples/swing/frame3.html,
1040 * examples/gnu/classpath/examples/swing/frame4.html,
1041 * examples/gnu/classpath/examples/swing/frames.html,
1042 * examples/gnu/classpath/examples/swing/tables.html:
1044 * examples/gnu/classpath/examples/swing/welcome.html
1045 Add a couple of links and new test pages.
1047 2006-12-06 Roman Kennke <kennke@aicas.com>
1049 * examples/gnu/classpath/examples/swing/Demo.java
1050 (getIcon): Made package private.
1051 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1052 (hyperlinkUpdate): Convert URL to string.
1054 2006-12-06 Roman Kennke <kennke@aicas.com>
1056 * javax/swing/text/DefaultCaret.java
1057 (appear): Adjust visibility here.
1058 (setDotImpl): Don't adjust visibility here.
1059 (moveDotImpl): Don't adjust visibility here.
1061 2006-12-06 Roman Kennke <kennke@aicas.com>
1063 * javax/swing/text/html/FormView.java
1064 (SubmitThread.postData): Implemented.
1065 (SubmitThread.run): Pass data to postData().
1066 (actionPerformed): Reset form when reset button is activated.
1067 (createComponent): Add support for select lists and comboboxes.
1068 Don't set value of text and password fields here, this is done
1069 now in HTMLDocument for consistency.
1070 (getElementFormData): Add support for fetching form data from
1071 select lists and comboboxes as well as textareas.
1072 (getSelectData): New helper method. Fetches form data from
1074 (getTextAreaData): New helper method. Fetches form data from
1076 (resetForm): New helper method. Resets the entire form.
1077 * javax/swing/text/html/HTMLDocument.java
1078 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1079 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1080 (HTMLReader.FormAction.setModel): Initialize text and password
1081 values here. Also, use the resetable special models.
1082 Group radio buttons into ButtonGroup for exclusive selection.
1083 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1084 (HTMLReader.buttonGroups): New field.
1085 (HTMLReader.numOptions): New field.
1086 (HTMLReader.option): New field.
1087 (HTMLReader.selectModel): New field.
1088 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1089 (HTMLReader.handleText): Handle OPTION text.
1090 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1091 (HTMLReader.textAreaContent): Set initial content.
1092 * javax/swing/text/html/Option.java
1093 (Option): Make copy of attribute set. Initialize selected state.
1094 (getValue): Fetch value from attribute set.
1095 * javax/swing/text/html/ResetableModel.java: New interface.
1096 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1097 Supports resetting the state.
1098 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1099 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1100 * javax/swing/text/html/SelectListModel.java: Likewise.
1102 2006-12-06 Roman Kennke <kennke@aicas.com>
1104 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1106 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1107 (LoadActionListener): Call setPage() helper method.
1108 (createContent): Register tweaked editor kit. For FormSubmitEvents
1109 call submitForm(), otherwise setPage().
1110 (postData): Helper method for posting form data.
1111 (setPage): Helper method for navigating to a new URL.
1112 (submitForm): Helper method for submitting a form.
1113 * examples/gnu/classpath/examples/swing/forms.html:
1114 Added text/password fields and select boxes.
1115 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1117 2006-12-07 Mark Wielaard <mark@klomp.org>
1119 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1120 private constructor.
1121 (URL(URL,String,URLStreamHandler)): Call new constructor.
1122 (URL(URL,String)): Likewise.
1123 (URL(String)): Likewise.
1125 2006-12-07 Mark Wielaard <mark@klomp.org>
1127 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1128 Always load from system class loader.
1130 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1133 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1134 newValue are the same.
1135 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1137 2006-12-06 Chris Burdess <dog@gnu.org>
1140 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1141 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1143 2006-12-06 Chris Burdess <dog@gnu.org>
1146 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1149 2006-12-056 Chris Burdess <dog@gnu.org>
1152 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1153 discover schema factory implementation class.
1155 2006-12-05 Roman Kennke <kennke@aicas.com>
1157 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1158 asynchronous loading of images.
1159 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1160 (drawImage): Fetch real image from possibly AsyncImage.
1161 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1162 (drawImage): Fetch real image from possibly AsyncImage.
1163 * gnu/java/awt/peer/gtk/GtkToolkit.java
1164 (createImage(URL)): Create async image.
1165 (imageOrError): Made method static for easy access from AsyncImage.
1166 (prepareImage): For async images, register the observer to the
1169 2006-12-05 Roman Kennke <kennke@aicas.com>
1171 (paintComponent): Include paint area from event.
1172 (updateComponent): Include paint area from event.
1174 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1176 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1177 lightweight component, not just for non-Panel components.
1178 (addImpl): Do not call doLayout.
1179 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1180 (setNativeBounds): Ensure widget parent is a GtkFixed before
1181 calling gtk_fixed_move.
1182 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1183 (setNativeBounds): Likewise.
1184 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1185 (setNativeBounds): Likewise.
1187 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1189 * java/awt/Component.java (getFontImpl): Return a default font if
1190 topmost parent's font is null.
1192 2006-12-04 Mark Wielaard <mark@klomp.org>
1194 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1195 Remove debug output.
1197 2006-12-04 Roman Kennke <kennke@aicas.com>
1199 * java/awt/font/TextLayout.java
1200 (hitTestChar): Fixed conditions for inclusion of range.
1201 Use layout information in the run for more efficiency.
1203 2006-12-04 Roman Kennke <kennke@aicas.com>
1205 * javax/swing/text/GlyphView.java
1206 (J2DGlyphPainter): New inner class.
1207 (checkPainter): For Java2D capable environments create
1210 2006-12-04 Roman Kennke <kennke@aicas.com>
1212 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1213 (FreeTypeGlyphVector): Don't filter control chars here.
1214 (getGlyphs): Filter control chars and replace them by
1217 2006-12-04 Roman Kennke <kennke@aicas.com>
1219 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1220 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1222 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1224 * gnu/java/lang/management/BeanImpl.java:
1225 (translate(String)): Don't assume the list uses "E",
1226 just use the first and only type variable.
1227 * java/lang/management/ManagementFactory.java:
1228 (getPlatformMBeanServer()): Register logging bean.
1229 * javax/management/openmbean/OpenType.java:
1230 (OpenType(String,String,String)): Actually use
1231 the string created to handle arrays.
1233 2006-12-04 Mark Wielaard <mark@klomp.org>
1235 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1236 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1238 2006-12-04 Mark Wielaard <mark@klomp.org>
1240 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1242 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1243 (JCL_thread_interrupted): Only take JNIEnv.
1244 (vm_channel_class): New static variable.
1245 (initID): Set vm_channel_class.
1246 Wrap all reads() and writes() in do-while blocks that check
1249 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1251 * gnu/javax/management/Server.java:
1252 Make map final and initialise it.
1253 (unregisterMBean(ObjectName)): Match against
1254 delegate's object name and not the instance.
1255 * java/lang/management/ManagementFactory.java:
1256 Added constant fields.
1257 (getPlatformMBeanServer()): Implemented.
1258 * javax/management/MBeanServerFactory.java: New file.
1260 2006-12-04 Roman Kennke <kennke@aicas.com>
1262 * javax/swing/text/BoxView.java
1263 (paint): Replaced painting algorithm with more simple and more
1264 reliable painting of the box.
1265 * javax/swing/text/html/BlockView.java
1266 (PositionInfo): New inner class. Stores additional CSS
1267 positioning information.
1268 (positionInfo): New field.
1269 (BlockView): Initialize positionInfo field.
1270 (fetchLayoutInfo): New helper method. Fetches additional
1271 CSS positioning information.
1272 (layoutMajorAxis): Perform additional CSS layout.
1273 (layoutMinorAxis): Perform additional CSS layout.
1274 (positionView): New helper method.
1275 (replace): Overridden to fetch additional layout information.
1276 * javax/swing/text/html/CSS.java
1277 (Attribute.POSITION): New field.
1278 (Attribute.LEFT): New field.
1279 (Attribute.RIGHT): New field.
1280 (Attribute.TOP): New field.
1281 (Attribute.BOTTOM): New field.
1282 (getValue): Create Length for left, right, top and bottom
1285 2006-12-04 Roman Kennke <kennke@aicas.com>
1287 * gnu/javax/swing/text/html/parser/support/Parser.java
1288 (Sgml): Consume any whitespace that immediately follows
1290 (parseDocument): Consume any initial whitespace.
1292 2006-12-03 Mark Wielaard <mark@klomp.org>
1294 * gnu/javax/management/Server.java (beans): Initialize.
1295 (registerMBean): Don't initialize beans.
1297 2006-12-03 Mark Wielaard <mark@klomp.org>
1299 * java/util/logging/LogManager.java (getLevelProperty): Check
1300 whether value is null before passing to Level.parse().
1302 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1304 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1305 whether given a null lock and lockOwner.
1307 2006-12-03 Mark Wielaard <mark@klomp.org>
1309 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1310 (PageLoader.page): Made package local.
1311 (PageLoader.run): Don't reset loader.
1312 (PageLoader.cancel): New method.
1313 (loading): Renamed to loader.
1314 (getPage): Return loader.page.
1315 (setPage): Always set loader. Never reset to null.
1317 2006-12-03 Mark Wielaard <mark@klomp.org>
1319 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1321 (isLastChild): Return false when path is null.
1323 2006-12-03 Mark Wielaard <mark@klomp.org>
1325 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1326 to currentPaintArea.
1327 (paintComponent): Work with local reference to currentPaintArea.
1328 (updateComponent): Likewise.
1329 (coalescePaintEvent): Set currentPaintArea.
1331 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1333 * javax/management/MBeanServerBuilder.java: New file.
1335 2006-12-01 Mark Wielaard <mark@klomp.org>
1337 * java/text/DecimalFormat.java (parse): Always increment parsing
1338 index and adjust pos result.
1340 2006-12-01 Roman Kennke <kennke@aicas.com>
1342 * javax/swing/text/html/HTML.java
1343 (Attribute.DYNAMIC_CLASS): New field.
1344 (Attribute.PSEUDO_CLASS): New field.
1345 * javax/swing/text/html/HTMLDocument.java
1346 (HTMLReader.CharacterAction.start): Initialize anchor with link
1348 (updateSpecialClass): New helper method. Updates the dynamic
1349 or pseudo class for anchor tags.
1350 * javax/swing/text/html/HTMLEditorKit.java
1351 (LinkController.lastAnchorElement): New field. For tracking
1352 enter/exit of anchors.
1353 (LinkController.activateLink): Set pseudo class to 'visited'.
1354 (LinkController.mouseMoved): Added support for tracking
1355 the 'hover' dynamic class.
1356 * javax/swing/text/html/InlineView.java
1357 (changedUpdate): Fetch new properties.
1358 * javax/swing/text/html/StyleSheet.java
1359 (attributeSetToMap): New helper method.
1360 (getRule): Also append dynamic and pseudo class to key.
1361 (resolveStyle): Resolve style based generally on all attributes.
1362 * javax/swing/text/html/TableView.java
1363 (RowView.layoutMajorAxis): Make sure the grid is valid.
1364 (updateGrid): Made package private.
1365 * gnu/javax/swing/text/html/css/Selector.java
1366 (calculateSpecificity): Added support for dynamic and pseudo classes.
1367 (matches): Changed to operate on general attributes.
1368 Added support for dynamic and pseudo classes.
1370 2006-12-01 Mario Torre <neugens@limasoftware.net>
1372 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1373 fractional portion in a separate method.
1374 Also fixes the handling of decimal separator and its associated field.
1375 (handleFractionalPart): new method, needed to relax a bit
1378 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1380 * java/beans/beancontext/BeanContextServicesSupport.java:
1381 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1382 Class)): Implemented.
1383 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1384 Class, Object)): Implemented.
1385 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1386 Object, Object)): Implemented.
1387 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1389 (initialiseBeanContextResources()): Implemented.
1390 (releaseBeanContextResoures()): Implemented.
1392 2006-12-01 Mark Wielaard <mark@klomp.org>
1394 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1396 2006-12-01 Roman Kennke <kennke@aicas.com>
1398 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1399 handling border styles.
1400 * gnu/javax/swing/text/html/css/BorderWidth.java
1401 (isValid): New method.
1402 * gnu/javax/swing/text/html/css/Length.java
1403 (isValid): New method.
1404 * javax/swing/text/html/CSS.java
1405 (addInternal): Added shorthand parsing for border, padding and
1407 (parseBackgroundShorthand): Added API docs.
1408 (parsePaddingShorthand): New method. Handles padding shorthand
1410 (parseMarginShorthand): New method. Handles margin shorthand
1412 (parseBorderShorthand): New method. Handles border shorthand
1414 * javax/swing/text/html/StyleSheet.java
1415 (translateHTMLToCSS): Set specific padding attributes.
1416 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1417 These shorthands are now handled in CSS.
1418 (BoxPainter.paint): Exclude the outer margin.
1420 2006-12-01 Roman Kennke <kennke@aicas.com>
1422 * gnu/javax/swing/text/html/css/Length.java
1423 (emBase): New field.
1424 (exBase): New field.
1425 (isFontEMRelative): New field.
1426 (isFontEXRelative): New field.
1427 (Length): Recognize and setup EM and EX relative values.
1428 (getValue): Handle EM and EX relative values.
1429 (isEMRelative): New method.
1430 (isEXRelative): New method.
1431 (setEMBase): New method.
1432 (setEXBase): New method.
1433 (setFontBases): New method.
1434 * gnu/javax/swing/text/html/parser/support/Parser.java
1435 (_handleEmptyTag): Use new isBlock() helper method.
1436 (_handleEndTag_remaining): Use new isBlock() helper method.
1437 (_handleStartTag): Consume whitespace after block start tag.
1438 (Comment): Consume whitespace after a comment.
1439 (isBlock): New helper method.
1440 (readAttributes): Consider all characters in unquoted attribute
1442 * javax/swing/text/html/BlockView.java
1443 (layoutMinorAxis): Use cached span value.
1444 (paint): Added debug code (commented out).
1445 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1446 * javax/swing/text/html/CSSBorder.java
1447 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1449 (getBorderWidth): Set the EM and EX base on the length values.
1450 * javax/swing/text/html/HTMLDocument.java
1451 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1452 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1453 (HTMLReader.inImpliedParagraph): Removed.
1454 (HTMLReader.inParagraph): Removed.
1455 (HTMLReader.parseStack): New field.
1456 (HTMLReader.addContent): Use new paragraph handling.
1457 (HTMLReader.addSpecialElement): Use new paragraph handling.
1458 (HTMLReader.blockClose): Use new paragraph handling.
1459 (HTMLReader.blockOpen): Use new paragraph handling.
1460 (HTMLReader.inImpliedParagraph): New helper method.
1461 (HTMLReader.inParagraph): New helper method.
1462 * javax/swing/text/html/ImageView.java
1463 (attributes): New field. Caches view attributes.
1464 (spans): New field. Caches CSS spans.
1465 (getAttributes): Correctly setup CSS view attributes.
1466 (getPreferredSpan): Use caches spans.
1467 (getStyleSheet): Use the view's getDocument() method.
1468 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1469 (updateSize): Use cached spans.
1470 * javax/swing/text/html/ParagraphView.java
1471 (setPropertiesFromAttributes): Setup EM and EX.
1472 * javax/swing/text/html/StyleSheet.java
1473 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1474 (getEMBase): New helper method.
1475 (getEXBase): New helper method.
1476 * javax/swing/text/html/TableView.java
1477 (width): New field. Caches the table width.
1478 (calculateMinorAxisRequirements): Use caches span.
1479 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1480 (updateGrid): Correctly setup EM/EX.
1482 2006-11-30 Roman Kennke <kennke@aicas.com>
1484 * javax/swing/text/html/FormSubmitEvent.java: New class.
1485 * javax/swing/text/html/FormView.java
1486 (SubmitThread): New class for submitting data in a separate thread.
1487 (actionPerformed): Fetch the actual for data.
1488 (addData): New helper method.
1489 (getElementFormData): New helper method.
1490 (getFormData): New helper method.
1491 (getInputFormData): New helper method.
1492 (submitData): Implemented.
1493 * javax/swing/text/html/FrameView.java
1494 (createComponent): Add this as hyperlink listener.
1495 Set the target document as frame document.
1496 (getTopEditorPane): New helper method.
1497 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1498 (handleHyperlinkEvent): New helper method.
1499 (handleFormSubmitEvent): New helper method.
1500 * javax/swing/text/html/HTMLDocument.java
1501 (HTMLReader.BaseAction.start): Track the base target.
1502 (HTMLReader.BaseAction.end): Removed.
1503 (baseTarget): New field.
1504 (frameDocument): New field.
1505 (getBaseTarget): New property accessor.
1506 (isFrameDocument): New property accessor.
1507 (processHTMLFrameHyperlinkEvent): Implemented.
1508 (setFrameDocument): New property accessor.
1509 (updateFrame): New helper method.
1510 (updateFrameSet): New helper method.
1511 * javax/swing/text/html/HTMLEditorKit.java
1512 (LinkController.createHyperlinkEvent): Handle frame documents.
1513 (autoFormSubmission): New field.
1514 (HTMLEditorKit): Set autoFormSubmission to true.
1515 (isAutoFormSubmission): New property accessor.
1516 (setAutoFormSubmission): New property accessor.
1518 2006-11-30 Roman Kennke <kennke@aicas.com>
1520 * javax/swing/text/ElementIterator.java
1521 (ElementRef): New inner class.
1522 (currentDepth): Removed.
1523 (currentElement): Removed.
1524 (previousItem): Removed.
1525 (stack): New field. Holds the iteration stack.
1527 (ElementIterator(Document)): Removed init of removed fields.
1528 (ElementIterator(Element)): Removed init of removed fields.
1529 (current): Changed to stack based algorithm.
1530 (deepestLeaf): New helper method.
1531 (depth): Changed to stack based algorithm.
1532 (first): Changed to stack based algorithm.
1533 (next): Changed to stack based algorithm.
1534 (previous): Changed to stack based algorithm.
1536 2006-11-30 Francis Kung <fkung@redhat.com>
1538 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1539 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1541 2006-11-30 Francis Kung <fkung@redhat.com>
1543 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1544 (draw): Set transform in buffered composite.
1545 (drawComposite): Do not transform bounds; round bounds.
1546 (drawGlyphVector): Set transform in buffered composite.
1547 (drawRenderedImage): Set transform in buffered composite.
1548 (fill): Set transform in buffered composite.
1549 (updateBufferedImage): Fix scanline & height calculations.
1550 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1551 (createPath): Simplify width & height calculation.
1552 (drawImage): Also transform width & height.
1554 2006-11-30 Roman Kennke <kennke@aicas.com>
1556 * javax/swing/text/html/FrameSetView.java: New class. Implements
1558 * javax/swing/text/html/FrameView.java: New class. Implements
1560 * javax/swing/text/html/HTMLDocument.java:
1561 (HTMLReader.addSpecialElement): Only add one artificial space.
1562 * javax/swing/text/html/HTMLEditorKit.java
1563 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1564 * gnu/javax/swing/text/html/parser/support/Parser.java
1565 (_handleEmptyTag): Also consume whitespace after frame tags.
1567 2006-11-30 Gary Benson <gbenson@redhat.com>
1569 * java/lang/Thread.java: Javadoc fixes.
1571 2006-11-29 Tom Tromey <tromey@redhat.com>
1574 * java/lang/Class.java (getAnnotations): Rewrote.
1576 2006-11-29 Tania Bento <tbento@redhat.com>
1578 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1579 (parseParams): Unescape 'val' before putting it into the Map.
1580 (unescapeString): New private method.
1582 2006-11-29 Tom Tromey <tromey@redhat.com>
1584 * tools/gnu/classpath/tools/getopt/package.html: New file.
1586 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1588 * javax/swing/plaf/metal/MetalIconFactory.java
1589 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1590 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1592 2006-11-29 Mario Torre <neugens@limasoftware.net>
1594 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1595 with the default international currency sign \u00A4.
1596 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1597 table for string formatting.
1598 (formatInternal): likewise.
1599 (scanNegativePattern): likewise.
1600 (applyPattern): likewise.
1601 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1602 Locale is immutable and does not need clone.
1604 2006-11-29 Francis Kung <fkung@redhat.com>
1606 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1607 (drawLine): Remove hard-coded pixel shifting.
1609 2006-11-29 Roman Kennke <kennke@aicas.com>
1611 * java/awt/Component.java
1612 (isShowing): Simplified condition code and avoid unnecessary
1614 (coalesceEvents): Always coalesce paint events and let the peer
1615 figure out the expanding of the repaint area.
1616 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1617 (currentPaintEvents): Removed. Replaced by paintArea.
1618 (paintArea): New field. Tracks the dirty area.
1619 (SwingComponentPeer): Removed init of currentPaintEvents.
1620 (coalescePaintEvent): Simplified to only union the dirty regions.
1621 (handleEvent): Paint dirty region that was tracked in paintArea.
1622 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1623 (paintArea): New field. Tracks the dirty region.
1624 (coalescePaintEvent): Implemented to track the dirty region.
1625 (paintComponent): Use the dirty region in paintArea. Protect
1626 state by putting the paint and dispose code in a try-finally.
1627 (updateComponent): Use the dirty region in paintArea. Protect
1628 state by putting the paint and dispose code in a try-finally.
1630 2006-11-29 Roman Kennke <kennke@aicas.com>
1632 * java/awt/font/TextLayout.java
1633 (getVisualHighlightShape): Removed debug output.
1635 2006-11-28 Andrew Haley <aph@redhat.com>
1637 * vm/reference/sun/reflect/misc/ReflectUtil.java
1638 (checkPackageAccess): Implement.
1640 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1642 * native/jni/java-lang/java_lang_VMDouble.c:
1643 (parseDoubleFromChars) New function. Factored out from ...
1644 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1645 (dtoa_toString): New function. Factored out from ...
1646 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1647 Changed conversion mode to 2, as modes 0 and 1 don't round
1648 as the API spec demands. Invoke conversion function as often
1649 as necessary with growing precision until a reversible
1650 representation of the double in form of a string is reached.
1652 2006-11-28 Roman Kennke <kennke@aicas.com>
1654 * javax/swing/JComponent.java
1655 (putClientProperty): Do not fire event when both old and new
1658 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1660 * java/lang/Enum.java:
1661 Make name and ordinal final.
1663 2006-11-27 Casey Marshall <csm@gnu.org>
1665 * java/util/jar/JarEntry.java (certs): removed.
1666 (jarfile): new field.
1667 (getCertificates): read the certificates from the containing JarFile.
1668 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1669 fill in 'certs,' fill in 'jarfile' for the entry.
1670 (getEntry): likewise.
1672 2006-11-27 Francis Kung <fkung@redhat.com>
1674 * java/awt/image/WritableRaster.java
1675 (createChild): Implemented.
1677 2006-11-27 Roman Kennke <kennke@aicas.com>
1679 * java/awt/font/TextLayout.java
1680 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1681 (getVisualHighlightShape): Implemented.
1682 (layoutRuns): Fixed boundary so that the last run is also laid out.
1683 (left): New helper method.
1684 (right): New helper method.
1686 2006-11-27 Roman Kennke <kennke@aicas.com>
1688 * java/awt/font/TextLayout.java
1689 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1690 (getCaretShape(TextHitInfo)): Use natural bounds.
1691 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1692 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1693 above with DEFAULT_CARET_POLICY.
1694 (getCaretShapes(int)): Use natural bounds.
1696 2006-11-27 Roman Kennke <kennke@aicas.com>
1698 * java/awt/font/TextLayout.java
1699 (Run.font): New field.
1700 (Run.location): New field.
1701 (Run.Run): Initialize font.
1702 (font): Removed field. This is moved into Run as the actual font
1703 is something run-specific.
1704 (TextLayout(String,Font,FontRenderContext)): Set font on the
1705 single runs. Layout the runs here.
1706 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1707 (findRunAtIndex): New helper method.
1708 (getCaretInfo): Implemented.
1709 (layoutRuns): New helper method.
1710 (toString): Don't put font in output string.
1712 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1714 * AUTHORS: Added Jeroen Fritjers.
1716 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1718 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1719 for FieldPosition to be null.
1720 Check if the factional part is just 0 and can be omitted from the
1722 (scanNegativePattern): Fixed index out of bound exception when searching
1723 for international currency symbol in negative pattern.
1725 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1727 * java/beans/beancontext/BeanContextSupport.java:
1728 (readObject(ObjectInputStream)): Implemented.
1729 (writeObject(ObjectOutputStream)): Likewise.
1730 (BCSChild.getTargetChild()): Added.
1731 (bcsPreDeserializationHook()): Implemented.
1732 (bcsPreSerializationHook()): Likewise.
1733 (childDeserializedHook(Object,BCSChild)): Likewise.
1734 (isSerializing()): Likewise.
1735 (readChildren(ObjectInputStream)): Likewise.
1736 (writeChildren(ObjectOutputStream)): Likewise.
1738 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1739 Ian Lance Taylor <ian <at> airs.com>
1740 Paolo Bonzini <bonzini <at> gnu.org>
1744 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1745 increased portability. Likewise, use -f instead of -e.
1747 2006-11-26 Mark Wielaard <mark@klomp.org>
1749 * lib/Makefile.am (propertydirs): Removed.
1750 (resources): Explicitly create all dirs.
1752 2006-11-26 Mark Wielaard <mark@klomp.org>
1754 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1756 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1758 * native/target/.cvsignore,
1759 native/target/generic/.cvsignore,
1760 native/target/Linux/.cvsignore:
1761 Removed no longer used files.
1763 * native/target: Removed no longer used directory.
1765 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1769 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1770 (Java_gnu_java_nio_VMSelector_select):
1771 Use strerror if strerror_r is not available.
1773 Reported by: Michael Franz <mvfranz@gmail.com>,
1774 Riccardo Mottola <zuse@libero.it>
1776 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1780 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1781 STRICT_WARNING_CFLAGS since it caused the build to fail
1784 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1786 * doc/vmintegration.texinfo: Update VM Threading Model section.
1788 2006-11-26 Tom Tromey <tromey@redhat.com>
1790 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1792 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1794 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1795 Conditionally include ifaddrs.h.
1796 (getif_address): Updated conditional.
1797 (getif_index): Likewise.
1798 * configure.ac: Check for ifaddrs.h.
1800 2006-11-25 Mark Wielaard <mark@klomp.org>
1802 * java/io/File.java (list): Return empty list for unreadable dirs.
1804 2006-11-25 Mark Wielaard <mark@klomp.org>
1806 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1807 Synchronize on font peer.
1808 (setFont): Likewise.
1809 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1811 (getTextMetrics): Likewise.
1813 2006-11-25 Roman Kennke <kennke@aicas.com>
1815 * javax/swing/text/GapContent.java
1816 (getPositionsInRange): Rewritten to use the more efficient
1817 binary search searchFirst() and avoid an NPE that was caused
1820 2006-11-25 Mark Wielaard <mark@klomp.org>
1822 * javax/swing/text/CompositeView.java (modelToView): Never return
1825 2006-11-25 Mark Wielaard <mark@klomp.org>
1827 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1828 Check whether rowView instanceof RowView.
1829 (updateGrid): Likewise.
1831 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1834 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1835 * java/text/NumberFormat.java (format): all format methods, fixed
1836 FieldPosition argument should never be null.
1837 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1838 method is not final.
1839 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1841 * AUTHORS: added my name to the file.
1843 2006-11-25 Mark Wielaard <mark@klomp.org>
1845 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1846 getChildAllocation() returning null.
1848 2006-11-25 Mark Wielaard <mark@klomp.org>
1850 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1851 Use clazzIndex for id substring.
1853 2006-11-25 Mark Wielaard <mark@klomp.org>
1855 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1856 it is still running.
1858 2006-11-25 Mark Wielaard <mark@klomp.org>
1861 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1864 2006-11-24 Tania Bento <tbento@redhat.com>
1866 * java/awt/font/TextHitInfo.java
1867 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1868 (beforeOffset): Decreased first parameter by 1.
1870 2006-11-24 Francis Kung <fkung@redhat.com>
1872 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1873 (constructor): Check sample model when setting fastCM flag.
1874 (updateBufferedImage): Check scanline and sample model offsets before
1875 copying data directly into the image data buffer.
1877 2006-11-24 Francis Kung <fkung@redhat.com>
1879 * gnu/java/awt/java2d/QuadSegment.java
1880 (offsetSubdivided): Handle special straight-line cases.
1882 2006-11-24 Roman Kennke <kennke@aicas.com>
1884 * java/awt/dnd/DropTarget.java
1885 (DropTargetAutoScroller.HYSTERESIS): New constant.
1886 (DropTargetAutoScroller.DELAY): New constant.
1887 (DropTargetAutoScroller.inner): New field. A cached
1889 (DropTargetAutoScroller.outer): New field. A cached
1891 (DropTargetAutoScroller.timer): New field. The actual timer.
1892 (DropTargetAutoScroller.DropTargetAutoScroller):
1894 (DropTargetAutoScroller.actionPerformed): Implemented.
1895 (DropTargetAutoScroller.stop): Implemented.
1896 (DropTargetAutoScroller.updateLocation): Implemented.
1897 (clearAutoscroll): Stop the autoscroller before nullifying it.
1898 (createDropTargetAutoScroller): Don't set the field here,
1899 only return a new instance.
1900 (dragEnter): Only do something when active. Initialize
1902 (dragExit): Only do something when active. Stop auto scrolling.
1903 (dragOver): Only do something when active. Update auto scrolling.
1904 (drop): Only do something when active. Update auto scrolling.
1905 (dropActionChanged): Only do something when active. Update
1907 (initializeAutoScrolling): Check if component is an instance
1908 of Autoscroll, otherwise do nothing.
1909 (setActive): Disable autoscrolling when deactivating.
1910 (setComponent): When component is set to null, disable autoscrolling.
1912 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1914 * java/beans/beancontext/BeanContextServicesSupport.java
1915 (getChildBeanContextServicesListener): Implemented.
1917 2006-11-23 Roman Kennke <kennke@aicas.com>
1919 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1920 (createGraphics): Use constructor to create new instance of
1921 BufferedImageGraphics.
1922 * java/awt/Toolkit.java
1923 (getDefaultToolkit): Really try to get a real toolkit. Only
1924 use HeadlessToolkit if no other is available.
1925 * gnu/java/awt/peer/gtk/GtkToolkit.java
1926 (checkHeadless): New helper method. Checks for headless environment
1927 and throws HeadlessException if appropriate.
1928 (createButton): Check for headless.
1929 (createCanvas): Check for headless.
1930 (createCheckbox): Check for headless.
1931 (createCheckboxMenuItem): Check for headless.
1932 (createChoice): Check for headless.
1933 (createDialog): Check for headless.
1934 (createDragGestureRecognizer): Check for headless.
1935 (createDragSourceContextPeer): Check for headless.
1936 (createEmbeddedWindow): Check for headless.
1937 (createFileDialog): Check for headless.
1938 (createFrame): Check for headless.
1939 (createCheckbox): Check for headless.
1940 (createLabel): Check for headless.
1941 (createList): Check for headless.
1942 (createMenu): Check for headless.
1943 (createMenuBar): Check for headless.
1944 (createMenuItem): Check for headless.
1945 (createPanel): Check for headless.
1946 (createPopupMenu): Check for headless.
1947 (createScrollbar): Check for headless.
1948 (createScrollPane): Check for headless.
1949 (createTextArea): Check for headless.
1950 (createTextField): Check for headless.
1951 (createWindow): Check for headless.
1953 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1955 * java/beans/beancontext/BeanContextSupport.java
1956 (deserialize): Implemented,
1957 (serialize): Implemented.
1959 2006-11-23 Roman Kennke <kennke@aicas.com>
1961 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1962 (createGraphics): Try to use Cairo graphics if available.
1964 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1966 * java/beans/beancontext/BeanContextSupport.java
1967 (toArray): Added API docs,
1968 (toArray(Object[])): Added API docs, removed NotImplementedException.
1970 2006-11-22 Tania Bento <tbento@redhat.com>
1972 * javax/swing/JRootPane.java
1973 (setLayeredPane): Added documentation; throw
1974 IllegalComponentStateException if layered pane parameter is null.
1976 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1978 * java/beans/beancontext/BeanContextSupport.java
1979 (avoidingGui): Removed NotImplementedException.
1981 2006-11-22 Francis Kung <fkung@redhat.com>
1983 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1984 (drawGlyphVector): Clip updated area to glyph bounds.
1985 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1986 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1987 x-coordinate and y-coordinate pixel shifting.
1988 (shifted): Removed method.
1989 (shiftX): New method, recognising scaling transforms.
1990 (shiftY): New method, recognising scaling transforms.
1991 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1993 2006-11-22 Roman Kennke <kennke@aicas.com>
1995 * java/awt/font/TextLayout.java
1996 (hash): New field. Caches the hash code.
1997 (hashCode): Implemented.
1999 2006-11-22 Roman Kennke <kennke@aicas.com>
2001 * java/awt/image/ImageFilter.java
2002 Reformat whole class.
2003 (getFilterInstance): Don't touch the consumer field. Don't check
2005 (imageComplete): Don't check consumer.
2006 (setColorModel): Don't check consumer.
2007 (setDimensions): Don't check consumer.
2008 (setHints): Don't check consumer.
2009 (setPixels): Don't check consumer.
2010 (setProperties): Pass the original property too.
2011 * java/awt/image/IndexColorModel.java
2012 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2013 transparent pixel by calling the new helper method.
2014 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2015 transparent pixel by calling the new helper method.
2016 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2017 transparent pixel by calling the new helper method.
2018 (coerceData): Removed. This is not needed.
2019 (getAlpha): Simply return value from color map. The transparent
2020 pixel has to be there.
2021 (setTransparentPixel): New helper method. Inserts the transparent
2023 * java/awt/image/RGBImageFilter.java
2024 Reformat whole class.
2025 (convertColorModelToDefault): Removed. No longer needed.
2026 (filterIndexColorModel): Don't handle transparent pixels
2028 (filterRGBPixels): Set pixels on consumer already.
2029 (makeColor): Removed. No longer needed.
2030 * java/awt/image/ReplicateScaleFilter.java
2031 (replicatePixels): Removed.
2032 (setDimension): Correctly compute destination size, avoid double
2034 (setPixels): Avoid double calculations. Fixed some boundary cases.
2035 (setupSources): New helper method.
2036 * java/awt/image/SampleModel.java
2037 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2039 * java/awt/image/SinglePixelPackedSampleModel.java
2040 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2041 This is not needed as the superclass already copies line
2043 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2044 removed some checks that the RI also doesn't perform. Call
2045 DataBuffer.setElem().
2047 2006-11-22 Roman Kennke <kennke@aicas.com>
2049 * java/awt/text/TextLayout.java
2050 (getLogicalRangesForVisualSelection): Implemented.
2052 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2054 * sun/reflect/annotation/AnnotationParser.java,
2055 * sun/reflect/annotation/AnnotationType.java,
2056 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2057 * sun/reflect/annotation/ExceptionProxy.java:
2059 * sun/misc/ServiceConfigurationError.java,
2060 * sun/misc/Service.java:
2063 2006-11-21 Roman Kennke <kennke@aicas.com>
2065 * java/awt/text/TextLayout.java
2066 (Run.isLeftToRight): New helper method.
2067 (logicalToVisual): New field. Maps logical indices to visual
2069 (visualToLogical): New field. Maps visual indices to logical
2071 (TextLayout): Setup mappings.
2072 (setupMappings): New method for setting up the mappings.
2073 (getCharacterLevel): Reorganized code.
2074 (getNextLeftHit(int)): Implemented.
2075 (getNextLeftHit(int,CaretPolicy)): New method.
2076 (getNextLeftHit(TextHitInfo)): Implemented.
2077 (getNextRightHit(int)): Implemented.
2078 (getNextRightHit(int,CaretPolicy)): New method.
2079 (getNextRightHit(TextHitInfo)): New method.
2080 (getVisualOtherHit): Implemented.
2081 (checkHitInfo): New helper methods for checking parameters.
2082 (hitToCaret): New helper method. Maps hit infos to caret locations.
2083 (caretToHit): New helper method. Maps caret locations to hit infos.
2084 (isCharacterLTR): New helper method.
2085 (CaretPolicy.getStrongCaret): Implemented.
2087 2006-11-21 Francis Kung <fkung@redhat.com>
2089 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2090 (draw): Include stroke width when calculating bounds.
2091 (updateBufferedImage): Round bounds more generously, handle negative
2092 height/width values, and clip more intelligently.
2093 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2094 (createPath): Add shortcut optimization for lines.
2095 (draw): Include stroke width when calculating bounds.
2096 (drawLine): Delegate to main draw() method.
2097 (drawRect): Likewise.
2098 (fillRect): Delegate to main fill() method.
2099 (findStrokedBounds): New method.
2100 (setCustomPaint): Round bounds more generously.
2101 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2102 (drawLine): Removed.
2103 (drawRect): Removed.
2104 (fillRect): Removed.
2106 2006-11-21 Francis Kung <fkung@redhat.com>
2108 * gnu/java/awt/java2d/TexturePaintContext.java
2109 (getRaster): Handle negative coordinate values.
2110 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2111 (setPaint): Moved custom paint processing to a new method.
2112 (setPaintPixels): Added x, y parameters.
2113 (getRealBounds): Added documentation.
2114 (copy): Copy clipping information.
2115 (drawLine): Process custom paints.
2116 (setCustomPaint): New method.
2117 (fill): Process custom paints.
2118 (drawGlyphVector): Process custom paints.
2119 (drawRect): Process custom paints.
2120 (draw): Process custom paints.
2121 * gnu/java/awt/peer/gtk/CairoSurface.java
2122 (cairoCM_opaque): New constant.
2123 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2124 (argb32): Removed constant.
2125 (rgb32): Removed constant.
2126 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2127 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2128 (updateBufferedImage): Transform to device-space before updating.
2129 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2130 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2132 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2133 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2134 source at designated x, y origin.
2136 2006-11-21 Roman Kennke <kennke@aicas.com>
2138 * java/awt/text/TextLayout.java
2139 (Run): New inner helper class.
2140 (length): New field.
2141 (naturalBounds): New field.
2142 (offset): New field.
2143 (runIndices): Removed. This is now encapsulate in a Run object.
2144 (runs): Changed to Run[].
2145 (string): Changed to char[].
2146 (totalAdvance): New field. Caches advance value.
2147 (TextLayout(String,Font,FontRenderContext)): Change to store
2148 string as char[] and run layout as Run[]. Clean out empty
2150 (TextLayout(TextLayout,int,int)): Change to store
2151 string as char[] and run layout as Run[].
2152 (clone): Call private constructor for maximum efficiency.
2153 (determineWhitespace): Adapted to use char[] data.
2154 (draw): Adapted to use Run objects.
2155 (getAdvance): Cache computed total advance.
2156 (getBlackBoxBounds): Adapted to use Run objects.
2157 (getCaretInfo): Use natural layout bounds.
2158 (getCharacterCount): Return length field.
2159 (getLogicalHighlightShape): Adapted to use Run objects.
2160 (getNaturalBounds): New helper method. Calculates and returns the
2161 natural bounds of this text layout.
2162 (getOutline): Adapted to use Run objects.
2163 (getStringProperties): Adapted to use char[] data.
2164 (getVisibleAdvance): Adapted to use char[] and Run data.
2165 (handleJustify): Adapted to use char[] and Run data.
2166 (hitTestChar(float,float,Rectangle2D)): Implemented.
2167 (hitTestChar(float,float)): Use natural bounds.
2168 (setCharIndices): Adapted to use char[] and Run data.
2169 (toString): Adapted to use char[] and Run data.
2170 * java/text/Bidi.java
2171 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2173 2006-11-21 Roman Kennke <kennke@aicas.com>
2175 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2176 Removed. This is now an inner class in GdkFontPeer.
2177 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2178 (drawString(float,float)): Use text layout cache from
2180 (getFontMetrics): Delegate to GdkFontPeer.
2181 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2182 (getGlyphCodes): Also check array size.
2183 (getGlyphPositions): Also check array size.
2184 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2185 (GdkFontLineMetrics.fm): Removed.
2186 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2187 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2188 (GdkFontLineMetrics.underlineOffset): Removed.
2189 (GdkFontLineMetrics.underlineThickness): Removed.
2190 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2191 FontMetrics argument. Don't init removed fields.
2192 (GdkFontLineMetrics.getAscent): Return font peer's field.
2193 (GdkFontLineMetrics.getDescent): Return font peer's field.
2194 (GdkFontLineMetrics.getHeight): Return font peer's field.
2195 (GdkFontLineMetrics.getLeading): Return font peer's field.
2196 (GdkFontLineMetrics.getNumChars): Reformat.
2197 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2198 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2199 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2200 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2201 (GdkFontMetrics): Moved class in here as inner class.
2202 Make it use the font peer's fields and for the char(s) width
2203 and string width method, use TextLayout to measure the actual widths.
2204 (ascent): New field.
2206 (DEFAULT_CTX): New constant field.
2207 (descent): New field.
2208 (FONT_METRICS_ASCENT): New constant.
2209 (FONT_METRICS_DESCENT): New constant.
2210 (FONT_METRICS_HEIGHT): New constant.
2211 (FONT_METRICS_MAX_ADVANCE): New constant.
2212 (FONT_METRICS_MAX_ASCENT): New constant.
2213 (FONT_METRICS_MAX_DESCENT): New constant.
2214 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2215 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2216 (height): New field.
2217 (maxAdvance): New field.
2218 (maxAscent): New field.
2219 (maxDescent): New field.
2220 (metrics): New field. Stores a FontMetrics for this font.
2221 (textLayoutCache): New field. Caches TextLayout instances.
2222 (underlineOffset): New field.
2223 (underlineThickness): New field.
2224 (cinit): Don't initialize resource bundle.
2225 (GdkFontPeer): Setup the metrics.
2226 (getFontMetrics): Return stored metrics if possible.
2227 (getLineMetrics): Adapt to new constructor.
2228 (initFont): New helper method.
2229 (setupMetrics): New helper method.
2230 * gnu/java/awt/peer/gtk/GtkToolkit.java
2231 (LRUCache): Made class a static class.
2232 (getFontMetrics): Delegate to GdkFontPeer.
2233 * native/jni/gtk-peer/gdkfont.h
2234 Added new constant defines.
2235 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2236 (getFontMetrics): Rewritten to fetch the font metrics from
2239 2006-11-20 Tania Bento <tbento@redhat.com>
2241 * javax/swing/ButtonGroup.java:
2242 (setSelected): Select the ButtonModel if all conditions
2245 2006-11-20 Tania Bento <tbento@redhat.com>
2247 * javax/swing/JSlider.java:
2248 (updateLabelUIs): Removed casting.
2250 2006-11-20 Mark Wielaard <mark@klomp.org>
2252 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2253 (bundle): New static final String field.
2254 (getLocalizedMessage): Initialize messages when still null.
2255 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2256 (set): Use RE.getLocalizedMessage().
2258 (setLineSeparator): Likewise.
2260 2006-11-20 Roman Kennke <kennke@aicas.com>
2262 * javax/swing/text/html/StyleSheet.java
2263 (linked): New field.
2264 (styleSheet): Replaced by linked.
2265 (addStyleSheet): Use an arraylist for simplicity.
2266 (getRule): Removed useless instantiation.
2267 (getStyleSheets): Convert array list to array.
2268 (removeStyleSheet): Use an arraylist for simplicity.
2269 (resolveStyle): Include styles from linked lists.
2271 2006-11-20 Roman Kennke <kennke@aicas.com>
2273 * javax/swing/text/BoxView.java
2274 (BoxView): Initialize with invalid req's.
2275 (forwardUpdate): Trigger repaint when children changed the
2277 (getResizeWeight): Return resizable when the pref differs from
2278 the min or the pref differs from the max size.
2279 (layoutMajorAxis): Actually sum up the preferred sizes.
2280 (paint): Made binary search more robust.
2281 (replace): Let arrays shrink when needed.
2282 (replaceLayoutArray): Let arrays shrink when needed.
2283 (setAxis): Trigger preferenceChanged.
2284 * javax/swing/text/CompositeView.java
2285 (getInsideAllocation): Call insets method to take account
2286 of overriding subclasses.
2287 * javax/swing/text/DefaultStyledDocument.java
2288 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2289 (ElementBuffer.insertUpdate): Only remove the found element, not
2291 * javax/swing/text/GlyphView.java
2292 (insertUpdate): Pass null in preferenceChanged.
2293 (removeUpdate): Pass null in preferenceChanged.
2294 (changedUpdate): Pass null in preferenceChanged.
2295 * javax/swing/text/Utilities.java
2296 (drawTabbedText): Avoid single calls to charWidth() and instead
2297 call charsWidth() on whole chunks.
2298 * javax/swing/text/html/HTMLDocument.java
2299 (BlockElement.getName): Fall back to super when necessary.
2300 (RunElement.getName): Fall back to super when necessary.
2301 (HTMLReader.MAX_THRESHOLD): New constant field.
2302 (HTMLReader.GROW_THRESHOLD): New constant field.
2303 (HTMLReader.theshold): New field.
2304 (HTMLReader.HTMLReader): Fetch threshold from document.
2305 (HTMLReader.addContent): Sucessivly grow the threshold.
2306 (createLeafElement): Don't create two elemens and don't set
2308 * javax/swing/text/html/TableView.java
2309 (RowView.replace): Invalidate grid.
2310 (gridValid): Made package private.
2311 (layoutMinorAxis): Mark all rows as invalid.
2312 (replace): Invalidate grid.
2314 2006-11-20 Roman Kennke <kennke@aicas.com>
2316 * javax/swing/text/AbstractDocument.java
2317 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2318 (DefaultDocumentEvent.modified): Made private.
2319 (DefaultDocumentEvent.THRESHOLD): New constant field.
2320 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2322 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2323 exceeding threshold.
2324 (DefaultDocumentEvent.getChange): Use iterative approach
2325 when we have no hashmap yet.
2326 (documentCV): Removed.
2327 (numWriters): Renamed from numWritersWaiting.
2328 (createPosition): Reformat.
2329 (getCurrentWriter): Synchronized.
2330 (readLock): Implement more straightforward.
2331 (readUnlock): Implement more straightforward.
2332 (writeLock): Implement more straightforward.
2333 (writeUnlock): Implement more straightforward.
2334 (remove): Write-lock here.
2335 (removeImpl): Don't write-lock here.
2337 2006-11-20 Roman Kennke <kennke@aicas.com>
2339 * javax/swing/JEditorPane.java
2340 (setPage): Set priority on loading thread.
2342 2006-11-20 Roman Kennke <kennke@aicas.com>
2344 * javax/swing/plaf/basic/BasicTextUI.java
2345 (RootView.paint): Avoid allocation.
2346 (cachedInsets): New field. Caches an Insets instance.
2347 (getNextVisualPositionFrom): Read-lock the document to avoid
2348 thread nastiness. Push allocation.
2349 (getPreferredSize): Push fake allocation when not yet laid out.
2350 (getVisibleEditorRect): Use cached insets.
2351 (viewToModel): Read-lock the document to avoid
2352 thread nastiness. Push allocation.
2354 2006-11-20 Roman Kennke <kennke@aicas.com>
2356 * javax/swing/text/StyleContext.java
2357 (attributeSetPool): Synchronize this map.
2358 (addAttribute): Synchronize this method.
2359 (addAttributes: Synchronize this method.
2360 (readObject): Install synchronized map on target object.
2361 (removeAttribute): Synchronize this method.
2362 (removeAttributes): Synchronize this method.
2363 (removeAttributes): Synchronize this method.
2365 2006-11-20 Roman Kennke <kennke@aicas.com>
2367 * javax/swing/text/GapContent.java
2368 (GapContentPosition.GapContentPosition): Removed constructor.
2369 (Mark): Made subclass of WeakReference to refer directly to
2370 the associated position.
2371 (Mark.refCount): Removed.
2372 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2373 New constructor. Used to reference a position and register the
2375 (Mark.Mark(index)): Call super and don't adjust mark offset.
2376 (Mark.compareTo): Removed.
2377 (Mark.equals): Removed.
2378 (Mark.getOffset): Return at least null. Removed assert.
2379 (Mark.getPosition): New helper method.
2380 (garbageMarks): New field.
2381 (positions): Removed.
2382 (searchMark): New field.
2383 (GapContent): Removed init of positions map.
2384 (addImpl): New helper method.
2385 (adjustPositionsInRange): Removed.
2386 (compare): New helper method.
2387 (createPosition): Rewritten for new datastructures. This now
2388 performs a much more efficient binary search for finding
2389 a position at the requested offste.
2390 (garbageCollect): Rewritten to collect unused marks.
2391 (getPositionsInRange): Adjusted for new data structures.
2392 (removeImpl): New helper method.
2393 (replace): Use new addImpl() and removeImpl() helper method for
2394 correctly adjusting the positions and gap.
2395 (search): Rewritten. Implements a more suitable binary search.
2396 (searchFirst): New helper method.
2397 (setPositionsInRange): Removed.
2398 (shiftEnd): Update the marks here.
2399 (shiftGap): Update the marks here.
2400 (shiftGapEndUp): Update the marks here.
2401 (shiftGapStartDown): Update the marks here.
2403 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2405 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2406 digest algorithm implementations.
2407 (readSignatures): Parse the manifest once and reuse that data.
2408 Add support for line breaks.
2409 (verifyHashes): Use the parsed manifest entry.
2410 (readManifestEntry): Removed.
2412 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2414 * java/beans/beancontext/BeanContextServicesSupport.java:
2415 Added more documentation.
2416 (addService(Class,BeanContextServiceProvider,boolean)):
2417 Synchronized over global hierarchy lock.
2418 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2419 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2420 (childJustRemovedHook(Object,BCSChild)): Implemented.
2421 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2423 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2424 Added revocation-only listeners.
2425 (getBeanContextServicesPeer()): Implemented.
2426 (getCurrentServiceClasses(Class)): Synchronized over global
2428 (getCurrentServiceSelectors(Class)): Synchronized over global
2429 hierarchy lock, and fixed FIXME.
2430 (getService(BeanContextChild,Object,Class,Object,
2431 BeanContextServiceRevokedListener)): Implemented.
2432 (hasService(Class)): Synchronized over global hierarchy lock.
2433 (releaseService(BeanContextChild,Object,Object)): Implemented.
2434 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2435 * java/beans/beancontext/BeanContextSupport.java:
2436 (remove(Object, boolean)): Documentation correction.
2438 2006-11-19 Roman Kennke <kennke@aicas.com>
2440 * javax/swing/JEditorPane.java
2441 (PageStream): New inner class.
2442 (PageLoader): New inner class.
2443 (loading): New field.
2444 (setPage): Implemented asynchronous loading.
2445 * javax/swing/text/DefaultStyledDocument.java
2446 (ElementBuffer.create): New helper method.
2447 (create): Use new ElementBuffer method instead of hack.
2448 * javax/swing/text/html/HTMLDocument.java
2449 (HTMLReader.flushImpl): New helper method.
2450 (HTMLReader.addContent): Use flushImpl().
2451 (HTMLReader.blockClose): Added null check.
2452 (HTMLReader.flush): Use flushImpl().
2453 * javax/swing/text/html/HTMLEditorKit.java
2454 (createDefaultDocument): Set load priority to 4 and token threshold
2456 * javax/swing/text/html/TableView.java
2457 (insertUpdate): Overridden to provide correct view factory.
2458 (removeUpdate): Overridden to provide correct view factory.
2459 (changedUpdate): Overridden to provide correct view factory.
2461 2006-11-19 Roman Kennke <kennke@aicas.com>
2463 * javax/swing/text/BoxView.java
2464 (clipRect): New field.
2465 (tmpRect): New field.
2466 (layout): Reorganized code. Now uses layoutAxis() helper method.
2467 (layoutAxis): New helper method.
2468 (paint): Optimized by using cached Rectangle objects and
2469 a binary search for child views inside the clip.
2470 * javax/swing/text/CompositeView.java
2471 (insideAllocation): Made private and initialized in constructor.
2472 (getInsideAllocation): Removed initialization block for
2473 insideAllocation field. Avoid unnecessary allocations.
2474 * javax/swing/text/GlyphView.java
2475 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2476 The remaining stuff (background, underline and striking) is
2477 done in the GlpyhView itself. Avoid unnecessary allocations.
2478 (cached): A cached Segment instance.
2479 (getText): Return cached segment.
2480 (paint): Paint underline, strike and background here. Avoid
2483 2006-11-19 Roman Kennke <kennke@aicas.com>
2485 * javax/swing/text/html/StyleSheet.java
2486 (getFontSize): Removed debug output.
2487 (ListPainter.tmpRect): New field.
2488 (ListPainter.paint): Align bullet vertically centered to
2489 the first line of the paragraph.
2491 2006-11-17 Roman Kennke <kennke@aicas.com>
2493 * gnu/javax/swing/text/html/css/CSSParser.java
2494 (parseDeclaration): Trim string before reporting.
2495 * gnu/javax/swing/text/html/css/FontSize.java
2497 (isRelative): New field.
2498 (sizeIndex): New field.
2499 (FontSize): Initialize new fields.
2500 (getValue): Changed to call getValue(int).
2501 (getValue(int)): New method. Implements relative font sizes.
2502 (isRelative): New method.
2503 (mapAbsolute): Store index.
2504 (mapEM): New helper method.
2505 (mapLarger): New helper method.
2506 (mapPercent): New helper method.
2507 (mapRelative): New helper method.
2508 (mapSmaller): New helper method.
2509 (mapValue): New helper method.
2510 * javax/swing/text/html/CSS.java
2511 (parseBackgroundShorthand): Create CSSColor directly.
2512 * javax/swing/text/html/StyleSheet.java
2513 (addRule): Invalidate resolved styles.
2514 (getFont): Call new getFontSize() method to resolve relative
2516 (getFontSize): New helper method. Resolves relative font sizes.
2517 (translateHTMLToCSS): Create CSS objects directly.
2519 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2521 * gnu/java/util/regex/RETokenNamedProperty.java:
2522 (getHandler(String)): Add support for 'all'.
2524 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2526 * gnu/javax/management/Server.java:
2527 Initial implementation of a GNU management server.
2528 * javax/management/MBeanPermission.java,
2529 * javax/management/MBeanRegistration.java,
2530 * javax/management/MBeanTrustPermission.java:
2533 2006-11-17 Mark Wielaard <mark@klomp.org>
2535 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2537 2006-11-17 Gary Benson <gbenson@redhat.com>
2539 * java/net/DatagramSocket.java (getLocalAddress, connect,
2540 receive): Perform security check on address not hostname.
2542 2006-11-16 Roman Kennke <kennke@aicas.com>
2544 * gnu/javax/swing/text/html/parser/support/Parser.java
2545 (_handleText): Fixed condition for consuming whitespace.
2546 Removed validator check, this is superfluous now.
2548 2006-11-16 Roman Kennke <kennke@aicas.com>
2550 * gnu/javax/swing/text/html/css/CSSParser.java
2551 (parseRuleset): Support 'combined' selectors.
2552 (main): Adapt callback for combined selectors support.
2553 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2554 (startStatement): Take selector array as argument, to
2555 support combined selectors.
2556 * javax/swing/text/html/BlockView.java
2557 (calculateMinorAxisRequirements): Fetch and apply alignment.
2558 * javax/swing/text/html/StyleSheet.java
2559 (CSSStyle): Inverted the constants for correct precedence.
2560 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2562 (CSSStyleSheetParserCallback.style): Removed.
2563 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2564 (CSSStyleSheetParserCallback.end): Push multiple styles.
2565 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2567 2006-11-16 Roman Kennke <kennke@aicas.com>
2569 * javax/swing/text/FlowView.java
2570 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2571 * javax/swing/text/GlyphView.java
2572 (tabExpander): New field.
2574 (breakView): Set tabX on broken view.
2575 (getPartialSpan): Let the painter fetch the span.
2576 (getTabbedSpan): Update the tab expander field. Maybe trigger
2578 (getTabExpander): Simply return the stored expander.
2579 * javax/swing/text/Utilities.java
2580 (getTabbedTextOffset): Made algoritm a little smarter and more
2582 (getTabbedTextWidth): Don't add single char widths, instead add
2583 chunks of characters.
2584 * javax/swing/text/html/ParagraphView.java
2585 (calculateMinorAxisRequirements): Adjust margin only when the
2586 CSS span is not fixed.
2588 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2590 * java/beans/beancontext/BeanContextSupport.java
2591 (getChildBeanContextMembershipListener): Implemented,
2592 (getChildPropertyChangeListener): Implemented,
2593 (getChildSerializable): Implemented,
2594 (getChildVetoableChangeListener): Implemented,
2595 (getChildVisibility): Implemented,
2596 (setDesignTime): Use same property name as Sun's implementation.
2598 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2600 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2601 * java/beans/Statement.java
2602 (toString): Updated to match reference implementation.
2604 2006-11-15 Roman Kennke <kennke@aicas.com>
2606 * javax/swing/text/html/HTMLEditorKit.java
2607 (InsertHTMLTextAction.actionPerformed): Also try inserting
2608 the alternate tag. Adjust the selection accordingly.
2609 (InsertHTMLTextAction.adjustSelection): New helper method.
2610 Adjusts the selection after an insertion.
2611 (insertAtBoundary): Delegate to deprecated method.
2612 (insertAtBoundry): Implemented missing method.
2613 (tryInsert): New helper method.
2614 (defaultActions): Implemented to fill the array with
2615 a couple of InsertHTMLTextActions.
2617 2006-11-15 Roman Kennke <kennke@aicas.com>
2619 * javax/swing/text/html/ImageView.java
2620 (Observer): New class. Observes image loading.
2621 (haveHeight): New field.
2622 (haveWidth): New field.
2623 (height): New field.
2626 (imageIcon): New field.
2627 (loading): New field.
2628 (observer): New field.
2629 (reloadImage): New field.
2630 (reloadProperties): New field.
2631 (ImageView): Initialize observer and some flags.
2632 (getImage): Update the image state and return the image.
2633 (loadImage): New helper method. Actually starts loading.
2634 (paint): Rewritten to paint the image directly, not via Icon.
2635 (reloadImage): Rewritten. Loads the image and its properties.
2636 (renderIcon): Removed. No more necessary.
2637 (setPropertiesFromAttributes): Don't nullify image here.
2638 Added comment about missing impl.
2639 (setSize): Added comment about missing impl.
2640 (updateSize): New helper method. Updates the size attributes.
2641 (updateState): New helper method. Makes sure the image
2642 and its properties are valid.
2644 2006-11-15 Roman Kennke <kennke@aicas.com>
2646 * gnu/javax/swing/text/html/parser/support/Parser.java
2647 (_handleEndTag_remaining): Consume whitespace after a closing
2650 2006-11-15 Roman Kennke <kennke@aicas.com>
2652 * javax/swing/text/html/HTMLDocument.java
2653 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2655 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2657 (HTMLReader.parseStack): Removed.
2658 (HTMLReader.blockClose): Simply call addContent() with ' '
2659 instead of doing more complicated stuff. Removed parseStack
2661 (HTMLReader.blockOpen): Removed parseStack handling.
2662 (getInsertingReader): Removed parseStack init.
2663 * gnu/javax/swing/text/html/parser/htmlValidator.java
2664 (closeTag): Return true only when the tag actually should be
2666 * gnu/javax/swing/text/html/parser/support/Parser.java
2667 (_handleEndTag): Only actually close the tag when the validator
2670 2006-11-15 Roman Kennke <kennke@aicas.com>
2672 * javax/swing/text/html/CSS.java
2673 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2675 * javax/swing/text/html/StyleSheet.java
2676 (BoxPainter.bottomPadding): New field.
2677 (BoxPainter.leftPadding): New field.
2678 (BoxPainter.rightPadding): New field.
2679 (BoxPainter.topPadding): New field.
2680 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2682 (BoxPainter.getInset): Recognize and include the padding.
2683 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2684 javax/swing/text/html/TableView.java
2685 (RowView.calculateMajorAxisRequirements): Adjust req's for
2687 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2688 (cellSpacing): New field.
2689 (columnRequirements): Made package private to avoid accessor method.
2690 (calculateMinorAxisRequirements): Include cellSpacing.
2691 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2692 (layoutMajorAxis): Likewise.
2693 (layoutColumns): Respect cellSpacing.
2694 (setParent): Overridden to fetch the CSS attributes when view gets
2696 (setPropertiesFromAttributes): New method. Fetches the cell
2697 spacing from the CSS attributes.
2699 2006-11-15 Roman Kennke <kennke@aicas.com>
2701 * gnu/javax/swing/text/html/parser/support/Parser.java
2702 (_handleText): Consume whitespace directly before a closing tag.
2703 (restOfTag): Consume whitespace directly after opening.
2704 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2705 (preprocess): Don't perform array boundary checking by
2706 catch AIOOBE, instead check the boundary in loop condition.
2707 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2708 (TAG_CLOSE): New constants. Describes the token pattern for
2711 2006-11-14 Roman Kennke <kennke@aicas.com>
2713 * javax/swing/text/html/ImageView.java
2714 (getPreferredSpan): Use CSS length values.
2715 * javax/swing/text/html/TableView.java
2716 (CellView.calculateMajorAxisRequirements): Overridden to
2717 set the maximum reqs to maximum.
2718 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2720 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2721 the total column reqs.
2722 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2723 the total column reqs.
2724 * gnu/javax/swing/text/html/css/CSSColor.java
2725 (convertValue): Catch NumberFormatExceptions for more robustness.
2726 * gnu/javax/swing/text/html/css/FontSize.java
2727 (mapPixels): Actually map px values. Catch NFE for more robustness.
2729 2006-11-14 Roman Kennke <kennke@aicas.com>
2731 * gnu/java/awt/font/autofit/AxisHints.java,
2732 * gnu/java/awt/font/autofit/Constants.java,
2733 * gnu/java/awt/font/autofit/GlyphHints.java,
2734 * nu/java/awt/font/autofit/Latin.java,
2735 * nu/java/awt/font/autofit/LatinAxis.java,
2736 * gnu/java/awt/font/autofit/LatinMetrics.java,
2737 * gnu/java/awt/font/autofit/Scaler.java,
2738 * gnu/java/awt/font/autofit/Script.java,
2739 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2740 * gnu/java/awt/font/autofit/Segment.java,
2741 * gnu/java/awt/font/autofit/Width.java:
2742 New classes. This is some skeleton stuff for the FreeType-alike
2744 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2745 * gnu/java/awt/font/opentype/OpenTypeFont.java
2746 (unitsPerEm): Made field public.
2747 (getRawGlyphOutline): New method. Fetches the raw outline.
2748 * gnu/java/awt/font/opentype/Scaler.java
2749 (getRawGlyphOutline): New method. Fetches the raw outline.
2750 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2751 (loadGlyph): New method. This is used to load raw outlines.
2752 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2753 (getRawOutline): New method. Fetches the raw outline.
2754 * gnu/java/awt/font/opentype/truetype/Zone.java:
2757 2006-11-14 Roman Kennke <kennke@aicas.com>
2759 * javax/swing/RepaintManager.java
2760 (RepaintManager): Fetch the default state for the double buffering
2761 from a system property gnu.swing.doublebuffering.
2763 2006-11-14 Roman Kennke <kennke@aicas.com>
2765 * javax/swing/plaf/basic/BasicLabelUI.java
2766 (cachedInsets): New field.
2767 (getFontMetrics): New helper method. Fetches the font metrics
2768 from the component or the toolkit.
2769 (getPreferredSize): Use getFontMetrics() helper method for
2770 fetching the font metrics.
2771 (paint): Use getFontMetrics() helper method for
2772 fetching the font metrics. Only paint if icon or text
2773 are != null. Use cached insets.
2774 (paintDisabledText): Don't store/restore color object. The
2775 JComponent painting mechanism takes care of this by calling
2777 (paintEnabledText): Don't store/restore color object. The
2778 JComponent painting mechanism takes care of this by calling
2781 2006-11-14 Roman Kennke <kennke@aicas.com>
2783 * gnu/java/awt/peer/GLightweightPeer.java
2784 (handleEvent): Try to do something reasonable and trigger painting
2785 for the lightweight component.
2786 (getFontMetrics): Fetch and return a font metrics object from
2789 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2791 * gnu/java/util/regex/RETokenNamedProperty.java:
2792 (getHandler(String)): Add support for 'all'.
2794 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2796 * AUTHORS: Add myself.
2798 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2800 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2801 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2802 Roman Kennke's entry.
2804 2006-11-13 Roman Kennke <kennke@aicas.com>
2806 * java/awt/image/IndexColorModel.java
2807 (createCompatibleSampleModel): Implemented missing method.
2809 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2811 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2812 from big endian systems correctly.
2814 2006-11-11 Roman Kennke <kennke@aicas.com>
2816 * gnu/javax/swing/text/html/css/CSSColor.java
2817 (isValidColor): New helper method. Checks strings if they
2818 form a valid color value.
2819 * gnu/javax/swing/text/html/css/Length.java
2820 (Length): Catch number format exceptions.
2821 * javax/swing/text/html/CSS.java
2822 (addInternal): New method. Checks for shorthand CSS attributes
2824 (parseBackgroundShorthand): New method. Parses the background
2825 shorthand attribute.
2826 * javax/swing/text/html/HTMLDocument.java
2827 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2828 (HTMLReader.LinkAction.start): Implemented to load the linked
2830 (HTMLReader.LinkAction.end): Removed. This is not needed.
2831 * javax/swing/text/html/StyleSheet.java
2832 (CSSStyleSheetParserCallback.declaration): Push declaration
2833 through CSS.addInternal() to parse shorthand attributes.
2834 (addCSSAttribute): Push declaration through CSS.addInternal()
2835 to parse shorthand attributes.
2836 (importStyleSheet): Implemented. This adds a stylesheet from
2838 * javax/swing/text/html/TableView.java
2839 (calculateColumnRequirements): Increase column index for
2840 non CellView children to avoid endless loop.
2841 * javax/swing/text/CompositeView.java
2842 (setParent): Comparen with numChildren not with real arraylength.
2844 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2846 * java/beans/beancontext/BeanContextSupport.java
2847 (getChildBeanContextChild): Implemented.
2849 2006-11-10 Roman Kennke <kennke@aicas.com>
2851 * javax/swing/text/View.java
2852 (updateLayout): Only repaint when needed.
2854 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2856 * java/util/Collections.java
2857 (sort(List)): Minor API doc addition,
2858 (sort(List, Comparator)): Likewise.
2860 2006-11-10 David Fu <fchoong@netbeans.jp>
2862 * javax/swing/text/html/HTMLWriter.java
2863 (traverse): Removed Classpath specific handling of implied
2865 (traverseHtmlFragment): Removed Classpath specific handling of
2868 2006-11-10 Roman Kennke <kennke@aicas.com>
2870 * javax/swing/text/ParagraphView.java
2871 (Row.getMaximumSize): Removed. This method is not necessary.
2872 * javax/swing/text/html/TableView.java
2873 (CellView): Moved attribute init to setPropertiesFromAttributes().
2874 (setPropertiesFromAttributes): Fetch attributes here.
2875 (RowView.RowView): Documented.
2876 (RowView.getMaximumSpan): Overridden to restrict the max span
2878 (RowView.layoutMajorAxis): Correctly layout the spans.
2879 (columnWidths): New field. Stores the width attributes of
2881 (calculateColumnRequirements): Added support for relative
2882 (== percent) width attributes.
2883 (calculateMajorAxisRequirements): Removed.
2884 (calculateMinorAxisRequirements): Removed unnecessary code.
2885 (getMaximumSpan): Overridden to restrict the table's width.
2886 (layoutColumns): Documented. Implement more clever table layout,
2887 i.e. for relative columns etc.
2888 (layoutMinorAxis): Don't mark rows invalid.
2889 (updateGrid): Added docs. Initialize column widths.
2891 2006-11-09 Roman Kennke <kennke@aicas.com>
2893 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2894 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2895 Implement basic headless toolkit.
2896 * java/awt/Toolkit.java
2897 (getDefaultToolkit): Check headless property and create
2898 headless toolkit when true.
2900 2006-11-09 Ingo Proetel <proetel@aicas.com>
2901 2006-11-09 Roman Kennke <kennke@aicas.com>
2903 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2904 (SwingButton.button): New field.
2905 (SwingButton.SwingButton): Added constructor.
2906 (SwingButton.isShowing): Access button field instead of
2907 the surrounding class.
2908 (SwingButton.getParent): Access button field instead of
2909 the surrounding class.
2910 (SwingButtonPeer): Call new SwingButton constructor.
2911 * gnu/java/awt/peer/swing/SwingComponent.java:
2912 Several documentation updates.
2913 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2914 (currentPaintEvents): New field.
2915 (peerFont): New field.
2916 (SwingComponentPeer): Initialize currentPaintEvents fields.
2917 (coalescePaintEvents): Implemented.
2918 (dispose): Unregister peer from heavyweight list of its container.
2919 (getGraphics): Fetch graphics from parent component.
2920 (handleEvent): Discard paint event if its coalesced.
2921 (init): Register component with its container for proper painting.
2922 (paint): Call peerPaint().
2923 (peerPaint): Added argument that indicates if we should update.
2924 Call paint or update on the actual AWT component.
2925 (peerPaintComponent): New method. Paints the peer (Swing) component.
2926 (setFont): Set peerFont field.
2927 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2928 (backbuffer): New field.
2929 (focusOwner): New field.
2930 (heavyweightDescendents): New field.
2931 (SwingContainerPeer): Take Container as argument. Don't call init
2933 (addHeavyweightDescendent): New method.
2934 (getFocusOwner): New helper method.
2935 (getInsets): Delegate to insets().
2936 (handleKeyEvent): Dispatch event to focus owner.
2937 (handleMouseEvent): Dispatch to child component.
2938 (isDoubleBuffering): New helper method.
2939 (peerPaint): Overridden to implement container painting with
2941 (peerPaintChildren): New method. Paints the descendents of this
2943 (removeHeavyweightDescendent): New helper method.
2944 * gnu/java/awt/peer/swing/SwingFramePeer.java
2945 (peerPaint): Removed.
2946 (peerPaintComponent): Overridden to paint the menu bar.
2947 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2948 (SwingLabel.label): New field.
2949 (SwingLabel.SwingLabel): Added constructor with Label argument.
2950 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2951 the actual AWT component.
2952 (SwingLabel.getParent): Implemented to fetch the parent from
2954 (SwingLabel.isShowing): Access the label field.
2955 (SwingLabelPeer): Set alignment from label.
2956 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2957 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2959 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2960 Don't be a lighweight peer.
2961 (SwingPanelPeer): Call init.
2962 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2963 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2964 (SwingTextField.textField): New field.
2965 (SwingTextField.SwingTextField): New constructor.
2966 (SwingTextField.isShowing): Access field not enclosing class.
2967 (SwingTextField.getGraphics): New method.
2968 (SwingTextField.getParent): New method.
2969 (SwingTextFieldPeer): Call new constructor.
2970 (select): Renamed arguments.
2971 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2972 (SwingWindowPeer): Call init.
2974 2006-11-09 Tania Bento <tbento@redhat.com>
2976 * javax/swing/JLabel.java
2977 (JLabel(Icon)): Changed documentation; Changed text to null.
2978 (JLabel(Icon,int)): Likewise.
2979 (JLabel(text)): Changed documenation.
2980 (JLabel(text,int)): Likewise.
2981 (JLabel(text,Icon,int)): Changed documentation; Throw
2982 IllegalArgumentException if int is not one of LEFT, RIGHT,
2983 CENTER, LEADING or TRAILING.
2985 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2987 * java/beans/beancontext/BeanContextSupport.java
2988 (BeanContextSupport): Use correct dtime default,
2989 (BeanContextSupport(BeanContext)): Likewise,
2990 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2992 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2993 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2995 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2997 * java/beans/beancontext/BeanContextSupport.java
2998 (getBeanContextPeer): Implemented.
3000 2006-11-09 Roman Kennke <kennke@aicas.com>
3002 * javax/swing/text/html/BlockView.java
3003 (cssHeight): Removed.
3004 (cssWidth): Removed.
3005 (cssSpans): New field. Replaces the two fields above.
3006 (BlockView): Allocate cssSpans array.
3007 (layoutMinorAxis): Fetch and use child span, not this view's span.
3008 (setCSSSpan): Adjusted to use cssSpans array.
3009 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3011 2006-11-09 Roman Kennke <kennke@aicas.com>
3013 * javax/swing/text/html/InlineView.java
3014 (nowrap): New field.
3015 (getBreakWeight): Add support for nowrap.
3016 (setPropertiesFromAttributes): Fetch the nowrap setting.
3018 2006-11-09 Roman Kennke <kennke@aicas.com>
3020 * gnu/javax/swing/text/html/css/CSSParser.java
3021 (parseRuleset): Use new Selector class.
3022 (parseValue): Parse multiple anys, not only one.
3023 (main): Allow stylesheet be specified on the command line.
3024 Use new Selector class.
3025 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3026 (startStatement): Use Selector class.
3027 * gnu/javax/swing/text/html/css/CSSScanner.java
3028 (readName): Actually read a character in the loop to avoid
3030 * gnu/javax/swing/text/html/css/Length.java
3031 (getValue): Only multiply when we have a percentage value.
3032 * gnu/javax/swing/text/html/css/Selector.java:
3033 New class. Provides handling of CSS selectors.
3034 * javax/swing/text/html/StyleSheet.java
3035 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3036 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3037 (CSSStyle.PREC_NORM): New constant field.
3038 (CSSStyle.PREC_UA): New constant field.
3039 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3040 (CSSStyle.precedence): New field.
3041 (CSSStyle.priority): Removed.
3042 (CSSStyle.selector): New field.
3043 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3045 (CSSStyle.compareTo): Adjusted to use the precedence and
3046 specificity of the selector.
3047 (CSSStyleSheetParserCallback.precedence): New field.
3048 (CSSStyleSheetParserCallback.selector): Removed.
3049 (CSSStyleSheetParserCallback.style): New field.
3050 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3051 Initialize with precedence.
3052 (CSSStyleSheetParserCallback.declaration): Don't look up
3053 existing rule, simply create new one.
3054 (CSSStyleSheetParserCallback.endStatement): Append style
3056 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3058 (css): Changed to be ArrayList.
3059 (addRule): Create parser with author-normal precendence.
3060 (getRule): Fixed implementation.
3061 (loadRules): Create parser with UA precendence.
3062 (resolveStyle): Use Selector class for resolving and matching
3064 (translateHTMLToCSS): Added mappings for a couple of HTML
3067 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3070 * java/beans/SimpleBeanInfo.java
3071 (loadImage): Check for nulls.
3073 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3075 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3076 (getpeername): Added 16 byte offset to memcpy operation.
3078 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3080 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3081 (getsockname): Added 16 byte offset to memcpy operation.
3083 2006-11-08 Mark Wielaard <mark@klomp.org>
3086 * java/io/OutputStreamWriter.java
3087 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3088 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3090 2006-11-08 Roman Kennke <kennke@aicas.com>
3092 * javax/swing/text/html/HTMLEditorKit.java
3093 (getParser): Use plain HTML_401F DTD.
3094 * javax/swing/text/html/HTMLDocument.java
3095 (HTMLReader.print): Removed method and all calls to it.
3096 (HTMLReader.printBuffer): Removed method and all calls to it.
3097 (HTMLReader.inImpliedParagraph): New field.
3098 (HTMLReader.inParagraph): New field.
3099 (HTMLReader.addContent): Create implied p-tag if necessary.
3100 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3101 (HTMLReader.blockClose): Close implied p-tag if necessary.
3102 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3103 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3105 2006-11-08 Roman Kennke <kennke@aicas.com>
3107 * javax/swing/text/html/HTMLEditorKit.java
3108 (HTMLFactory.create): Removed mapping for TD tag. This
3109 is done in TableView.
3110 * javax/swing/text/html/TableView.java:
3111 Implemented from scratch.
3113 2006-11-07 Roman Kennke <kennke@aicas.com>
3115 * gnu/javax/swing/text/html/parser/support/Parser.java
3116 (_handleText): Check if text content is actually allowed before
3117 passing empty text fragments on to the parser callbacks.
3119 2006-11-07 Mark Wielaard <mark@klomp.org>
3121 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3125 2006-11-07 Tania Bento <tbento@redhat.com>
3127 * java/awt/FlowLayout.java
3128 (getSize): If parent does not have a component, then a
3129 different formula is used to calcuate the width.
3131 2006-11-07 Roman Kennke <kennke@aicas.com>
3133 * javax/swing/text/html/HTMLEditorKit.java
3134 (HTMLFactory.create): Include ListView.
3135 * javax/swing/text/html/ListView.java
3136 (paint): Removed comment.
3137 * javax/swing/text/html/StyleSheet.java
3138 (CSSStyle.priority): New field.
3139 (CSSStyle.CSSStyle(int)): New constructor with priority.
3140 (CSSStyle.compareTo): New method. Used for sorting the styles.
3141 (CSSStyleSheetParserCallback.declaration): Store the style
3142 with the complete selector.
3143 (ListPainter.attributes): Renamed as field.
3144 (ListPainter.styleSheet): New field.
3145 (ListPainter.type): New field.
3146 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3147 (ListPainter.paint): Provide simplistic implementation.
3148 (getListPainter): Pass StyleSheet to constructor.
3149 (resolveStyle): Fixed CSS style resolving.
3151 2006-11-07 Roman Kennke <kennke@aicas.com>
3153 * gnu/javax/swing/text/html/css/BorderWidth.java:
3154 New class. Handles CSS border width values.
3155 * gnu/javax/swing/text/html/css/Length.java
3156 (floatValue): Made protected so that BorderWidth can access it.
3157 * javax/swing/text/html/CSS.java
3158 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3159 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3160 (Attribute.BORDER_LEFT_COLOR): New static field.
3161 (Attribute.BORDER_LEFT_STYLE): New static field.
3162 (Attribute.BORDER_RIGHT_COLOR): New static field.
3163 (Attribute.BORDER_RIGHT_STYLE): New static field.
3164 (Attribute.BORDER_TOP_COLOR): New static field.
3165 (Attribute.BORDER_TOP_STYLE): New static field.
3166 (getValue): Added some mappings for the border color and
3167 border width values.
3168 * javax/swing/text/html/CSSBorder.java: New class. Implements
3170 * javax/swing/text/html/StyleSheet.java
3171 (BoxPainter.background): New field.
3172 (BoxPainter.border): New field.
3173 (BoxPainter.bottomInset): Documented.
3174 (BoxPainter.leftInset): Documented.
3175 (BoxPainter.rightInset): Documented.
3176 (BoxPainter.topInset): Documented.
3177 (BoxPainter.BoxPainter): Added support for borders and background.
3178 (BoxPainter.getInset): Add border insets.
3179 (BoxPainter.paint): Implemented. Paints the background and the
3181 (addRule): Be less picky about parse and IO exceptions.
3182 (getBoxPainter): Adjust to new BoxPainter constructor.
3184 2006-11-07 Andreas <a.tobler@schweiz.org>
3186 * examples/Makefile.am: Add rule to install the *.html files we use
3189 2006-11-06 Francis Kung <fkung@redhat.com>
3191 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3192 (fillRect): Handle custom composites.
3193 (drawRenderedImage): Handle custom composites.
3194 (drawImage): Handle custom composites.
3195 (createBuffer): New method.
3196 (drawLine): Handle custom composites.
3197 (drawComposite): New method.
3198 (fill): Handle custom composites.
3199 (getNativeCM): New method.
3200 (drawGlyphVector): Handle custom composites.
3201 (drawRect): Handle custom composites.
3202 (draw): Handle custom composites.
3203 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3204 (drawComposite): Unset composite during draw call, to prevent parent
3205 from handling composite again.
3206 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3207 (getBufferCM): Added comments.
3208 (getNativeCM): Made abstract.
3209 (setComposite): Removed comments.
3211 2006-11-06 Roman Kennke <kennke@aicas.com>
3213 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3214 Fixed initial window size and start document.
3216 2006-11-06 Roman Kennke <kennke@aicas.com>
3218 * javax/swing/text/html/HTMLDocument.java
3219 (HTMLReader.addSpecialElement): Removed comment about
3221 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3222 of htmlAttributeSet.
3223 * javax/swing/text/html/parser/DocumentParser.java
3224 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3225 of htmlAttributeSet.
3226 * javax/swing/text/html/parser/ParserDelegator.java
3227 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3228 of htmlAttributeSet.
3229 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3230 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3231 of htmlAttributeSet.
3232 * gnu/javax/swing/text/html/parser/support/Parser.java
3233 (getAttributes): Return a SimpleAttributeSet.
3234 (restOfTag): Don't set resolving parent here.
3236 2006-11-06 Tania Bento <tbento@redhat.com>
3238 * java/awt/TextComponent.java
3239 (setSelectionStart): Added check.
3241 2006-11-06 Tania Bento <tbento@redhat.com>
3243 * java/awt/TextField.java
3244 (minimumSize(int)): Check if minimum size has been previously
3245 set and changed values of Dimension returned if peer == null.
3246 (preferredSize(int)): Check if preferred size has been previously
3247 set and changed values of Dimension returned if peer == null.
3249 2006-11-06 Roman Kennke <kennke@aicas.com>
3251 * javax/swing/JTree.java
3252 (TreeModelHandler.treeNodesRemoved): Implemented.
3253 (TreeModelHandler.treeStructureChanged): Implemented.
3254 (nodeStates): Made package private.
3256 2006-11-06 Francis Kung <fkung@redhat.com>
3259 * javax/swing/JTree.java
3260 (clearSelectionPathStates): New private method to clean up nodeStates.
3261 (removeSelectionPath): Call clearSelectionPathStates().
3262 (removeSelectionPaths): Call clearSelectionPathStates().
3263 (removeSelectionRow): Call clearSelectionPathStates().
3264 (setSelectionPath): Call clearSelectionPathStates().
3265 (setSelectionPaths): Call clearSelectionPathStates().
3266 (setSelectionRow): Call clearSelectionPathStates().
3268 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3271 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3273 2006-11-06 Roman Kennke <kennke@aicas.com>
3275 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3276 Changed to implement a minimalistic browser.
3277 * examples/gnu/classpath/examples/swing/forms.html,
3278 * examples/gnu/classpath/examples/swing/textstyles.html,
3279 * examples/gnu/classpath/examples/swing/welcome.html:
3280 Some example content.
3282 2006-11-06 Roman Kennke <kennke@aicas.com>
3284 * javax/swing/text/ComponentView.java
3285 (setParent): Lock the document and repaint the hosting
3287 * javax/swing/text/FlowView.java
3288 (FlowStrategy.createView): Removed comment.
3289 (FlowView): Initialize span with Short.MAX_VALUE.
3290 (getFlowStart): Return 0 unconditionally.
3291 (layout): Moved code around to make it more readable.
3292 (loadChildren): Always set the parent.
3293 * javax/swing/text/GlyphView.java
3294 (DefaultGlyphPainter.fontMetrics): New field.
3295 (DefaultGlyphPainter.getAscent): Use new helper method to
3296 synchronize the font metrics.
3297 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3298 to synchronize the font metrics.
3299 (DefaultGlyphPainter.getDescent): Use new helper method to
3300 synchronize the font metrics.
3301 (DefaultGlyphPainter.getHeight): Use new helper method to
3302 synchronize the font metrics.
3303 (DefaultGlyphPainter.getSpan): Use new helper method to
3304 synchronize the font metrics.
3305 (DefaultGlyphPainter.modelToView): Use new helper method to
3306 synchronize the font metrics.
3307 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3308 font metrics caching.
3309 (DefaultGlyphPainter.viewToModel): Use new helper method to
3310 synchronize the font metrics. Fixed view to model mapping.
3311 * javax/swing/text/View.java
3312 (removeAll): Pass null to replace().
3313 (setParent): Only reparent children that have this view as parent.
3315 2006-11-05 Mark Wielaard <mark@klomp.org>
3317 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3318 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3319 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3321 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3323 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3324 Remove gnu_java_nio_channels_FileChannelImpl.c.
3326 2006-11-03 Roman Kennke <kennke@aicas.com>
3328 * javax/swing/text/html/BlockView.java
3329 (attributes): New field.
3330 (cssHeight): New field.
3331 (cssWidth): New field.
3332 (painter): New field.
3333 (calculateMajorAxisRequirements): Overridden to account for
3335 (calculateMinorAxisRequirements): Overridden to account for
3337 (layoutMinorAxis): Overridden to account for CSS settings.
3338 (changedUpdate): Formatting fixlet.
3339 (constrainSize): New helper method.
3340 (getAlignment): Fix alignment.
3341 (getAttributes): Cache attributes for better performance.
3342 (getStyleSheet): Fetch stylesheet from document rather than creating
3344 (paint): Remove comment.
3345 (setCSSSpan): New helper method.
3346 (setPropertiesFromAttributes): Implemented to fetch the
3347 recognized properties.
3348 * javax/swing/text/html/CSS.java
3349 (getValue): Added mapping for width and height attributes.
3350 * javax/swing/text/html/InlineView.java
3351 (longestWord): New field.
3352 (getLongestWord): New helper method.
3353 (calculateLongestWord): New helper method.
3354 (getMinimumSpan): Overridden to constrain the minimum span by the
3356 * javax/swing/text/html/ParagraphView.java
3357 (cssHeight): New field.
3358 (cssWidth): New field.
3359 (calculateMinorAxisRequirements): Overridden to account for
3361 (setCSSSpan): New helper method.
3362 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3364 * gnu/javax/swing/text/html/css/Length.java
3365 (percentage): New field.
3366 (Length): Determine percentage values.
3367 (getValue(float)): New method for handling percentage values.
3368 (isPercentage): New method.
3370 2006-11-03 Tania Bento <tbento@redhat.com>
3372 * java/awt/TextArea.java
3373 (getMinimumSize): Changed documentation.
3374 (getPreferredSize): Changed documentation.
3375 (getMinimumSize(int,int)): Changed documenation.
3376 (getPreferredSize(int,int)): Changed documenation.
3377 (minimumSize): Changed documentation.
3378 (preferredSize): Changed documenation.
3379 (minimumSize(int,int)): Changed documentation. Checked if
3380 minimum size had been previously set and changed values of
3381 Dimension returned if peer == null.
3382 (preferredSize(int, int)): Checked if preferred size had been
3383 previously set and changed values of Dimension returned if
3386 2006-11-03 Tania Bento <tbento@redhat.com>
3388 * java/awt/event/ComponentEvent.java
3389 (paramString): Changed format of string representation returned.
3391 2006-11-03 Roman Kennke <kennke@aicas.com>
3393 * javax/swing/text/html/HTMLDocument.java
3394 (HTMLReader.FormAction.start): Added support for textarea.
3395 (HTMLReader.FormAction.end): Added support for textarea.
3396 (HTMLReader.HeadAction.end): Call super to actually close the
3398 (HTMLReader.inTextArea): New field.
3399 (HTMLReader.textAreaDocument): New field.
3400 (HTMLReader.handleText): Call textAreaContent when inside
3402 (HTMLReader.textAreaContent): Implemented to initialize
3403 the text area's model.
3404 * javax/swing/text/html/FormView.java
3405 (createComponent): Added support for textarea tag.
3407 2006-11-03 Roman Kennke <kennke@aicas.com>
3409 * javax/swing/text/html/HTMLDocument.java
3410 (HTMLReader.IsindexAction.start): Implemented.
3412 2006-11-03 Roman Kennke <kennke@aicas.com>
3414 * javax/swing/text/html/StyleSheet.java
3415 (addRule): Implemented.
3416 * javax/swing/text/html/HTMLDocument.java
3417 (HTMLReader.inStyleTag): New field.
3418 (HTMLReader.styles): New field.
3419 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3421 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3422 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3423 (HTMLReader.handleText): When inside a style tag, add
3424 content to the styles array.
3426 2006-11-02 Roman Kennke <kennke@aicas.com>
3428 * javax/swing/text/html/FormView.java
3429 (maxIsPreferred): New field.
3430 (createComponent): Initialize components correctly.
3431 (getMaximumSpan): Return the preferred span for components
3432 that need this. The maxIsPreferred flag is set accordingly
3434 * javax/swing/text/html/HTMLDocument.java
3435 (HTMLReader.FormAction.start): Implemented to set the
3436 correct model as attribute.
3437 (HTMLReader.FormAction.setModel): New helper method.
3438 (HTMLReader.FormAction.end): Call super to finish the element.
3439 Added TODO about things left to do.
3440 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3441 than htmlAttributeSet.
3442 * javax/swing/text/html/HTMLEditorKit.java
3443 (HTMLFactory.create): Create BlockView for FORM tags.
3444 Create FormView for INPUT, TEXTAREA and SELECT tags.
3446 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3448 * java/awt/geom/GeneralPath.java: API doc fixes.
3450 2006-11-02 Roman Kennke <kennke@aicas.com>
3452 * javax/swing/text/html/ImageView.java
3453 (getImageURL): Fetch attribute from element. Consider the
3454 base URL for relative image locations.
3456 2006-11-02 Roman Kennke <kennke@aicas.com>
3458 * javax/swing/JEditorPane.java
3459 (setContentType): Strip off attributes.
3460 * javax/swing/text/html/HTMLEditorKit.java
3461 (LinkController.activateLink(int,JEditorPane,int,int): New
3462 method. Implements activation of a hyperlink.
3463 (LinkController.activateLinke(int,JEditorPane)): Delegate
3464 to the other activateLink() method.
3465 (LinkController.createHyperlinkEvent): New helper method.
3466 (LinkController.mouseClicked): Implemented to activate the link.
3467 (LinkController.mouseDragged): Added comment that this
3468 method does nothing.
3469 (LinkController.mouseMoved): Update cursor for hyperlinks.
3470 (mouseHandler): Renamed field to linkController.
3471 (HTMLEditorKit): Create a link controller.
3472 (clone): Give the clone a new link controller.
3473 (deinstall): De-install link controller as mouseMotionListener too.
3474 (install): Install link controller as mouseMotionListener too.
3476 2006-11-02 Roman Kennke <kennke@aicas.com>
3479 * javax/swing/text/FlowView.java
3480 (FlowStrategy.changedUpdate): Reversed condition. This caused
3481 wrong layout and bad performance.
3482 (FlowStrategy.insertUpdate): Reversed condition. This caused
3483 wrong layout and bad performance.
3484 (FlowStrategy.removeUpdate): Reversed condition. This caused
3485 wrong layout and bad performance.
3486 (LogicalView): Changed to be a subclass of CompositeView.
3487 (LogicalView()): Only take one Element argument.
3488 (LogicalView.childAllocation): New method for implementing
3489 the abstract CompositeView method.
3490 (LogicalView.forwardUpdateToView): Overridden for correct
3492 (getMinimumSpan): Overridden to handle line breaking correctly.
3493 (getPreferredSpan): Implemented to handle line breaking correctly.
3494 (getViewAtPoint): New method for implementing
3495 the abstract CompositeView method.
3496 (getViewIndexAtPosition): Overridden to handle leaf elements
3498 (isAfter): New method for implementing
3499 the abstract CompositeView method.
3500 (isBefore): New method for implementing
3501 the abstract CompositeView method.
3502 (loadChildren): Overridden to handle leaf elements
3504 (paint): New method for implementing
3505 the abstract CompositeView method.
3506 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3507 (loadChildren): Initialize flow layout by sending a synthetic
3508 insertUpdate() to the layout strategy.
3509 * javax/swing/text/GlyphView.java
3510 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3511 font metrics if component is not available. Add initial offset
3513 (breakView): Be more clever when breaking the view.
3514 (getBreakLocation): New helper method to determine a good
3516 (getBreakWeight): Be more clever when breaking the view.
3517 (getTabbedSpan): Make sure we have a painter. Use view's
3518 start and end offset rather than the element's.
3519 * javax/swing/text/Utilities.java
3520 (drawTabbedText): Avoid useless add and sub with the y offset.
3522 2006-11-02 Roman Kennke <kennke@aicas.com>
3525 * gnu/java/awt/peer/ClasspathFontPeer.java
3526 (getStringBounds): Removed abstract method. This is replaced
3527 in java.awt.Font to use a TextLayout.
3528 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3529 (GtkWindowPeer): Set a font on the window object.
3530 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3531 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3532 Changed to take char,int,int instead of String. Filter
3534 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3535 Create char array out of string.
3536 (getLogicalBounds): Don't translate bounds. They already are
3538 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3539 (stringWidth): Filter out control characters.
3540 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3541 (getStringBounds): Removed unneeded method.
3542 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3544 * gnu/java/awt/peer/qt/QtFontPeer.java
3545 (getStringBounds): Removed unneeded method.
3546 * gnu/java/awt/peer/x/XFontPeer.java
3547 (getStringBounds): Removed unneeded method.
3548 * gnu/java/awt/peer/x/XFontPeer2.java
3549 (getStringBounds): Removed unneeded method.
3550 * java/awt/Font.java
3551 (getStringBounds(char[],int,int,FontRenderContext)):
3552 Use TextLayout to determine the bounds.
3553 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3554 Delegate to the char[] version of this method.
3555 (getStringBounds(String,FontRenderContext)):
3556 Delegate to the char[] version of this method.
3557 (getStringBounds(String,int,int,FontRenderContext)):
3558 Delegate to the String version of this method.
3560 2006-11-01 Tania Bento <tbento@redhat.com>
3562 * java/awt/ScrollPaneAdjustable.java
3563 (paramString): Changed format of string representation returned.
3564 (paramStringHelper): New private method.
3566 2006-11-01 Tania Bento <tbento@redhat.com>
3568 * java/awt/GridBagLayout.java
3569 (toString): Implemented method.
3571 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3573 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3574 initialization to NP_Initialize.
3575 (NP_Initialize): Initialize GLib threading.
3577 2006-10-31 Tania Bento <tbento@redhat.com>
3579 * javax/swing/JTextField.java
3580 (fireActionPerformed): When creating the new event, if
3581 actionCommand == null, then getText() is used.
3583 2006-10-31 Francis Kung <fkung@redhat.com>
3585 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3586 (fillArc): Corrected arc type to Arc2D.PIE.
3588 2006-10-31 Roman Kennke <kennke@aicas.com>
3590 * javax/swing/text/html/HTMLDocument.java
3591 (HTMLReader.PreAction.end): Implemented.
3592 (HTMLReader.PreAction.start): Implemented.
3593 (HTMLReader.inPreTag): New field.
3594 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3595 (HTMLReader.preContent): Implemented.
3597 2006-10-31 Tania Bento <tbento@redhat.com>
3599 * javax/swing/JTextField.java
3600 (fireActionPerformed): When creating the new event,
3601 actionCommand should be used as the command, not
3604 2006-10-31 Roman Kennke <kennke@aicas.com>
3606 * javax/swing/text/html/HTMLEditorKit.java
3607 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3608 HTML or Styled documents.
3610 2006-10-31 David Fu <fchoong@netbeans.jp>
3612 * javax/swing/text/html/HTMLWriter.java: New class.
3614 2006-10-30 Roman Kennke <kennke@aicas.com>
3616 * java/awt/dnd/DragSourceContext.java
3617 (dragExit): Use constant fields instead of 0.
3618 (updateCurrentCursor): Completed implementation.
3620 2006-10-30 Roman Kennke <kennke@aicas.com>
3622 * java/awt/dnd/DragGestureRecognizer.java
3623 (resetRecognizer): Added API docs. Do not replace the events object
3624 but rather clear() it. Removed not implemented tag.
3626 2006-10-30 Roman Kennke <kennke@aicas.com>
3628 * java/awt/datatransfer/DataFlavor.java
3629 (writeExternal): Remove not implemented tag.
3631 2006-10-30 Roman Kennke <kennke@aicas.com>
3633 * java/awt/datatransfer/DataFlavor.java
3634 (javaFileListFlavor): Don't explicitly specify class.
3635 (plainTextFlavor): Don't explicitly specify class.
3636 (mimeType): Changed to type MimeType. Remove final.
3637 (representationClass): Remove final.
3638 (DataFlavor): Don't do anything here.
3639 (DataFlavor(Class,String,String)): Removed.
3640 (DataFlavor(Class,String)): Initialize here.
3641 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3642 (DataFlavor(String,String)): Initialize in init().
3643 (DataFlavor(String)): Initialize in init().
3644 (init): New initialization method.
3645 (getMimeType): Delegate to MimeType.toString().
3646 (getParameter(String,String)): Removed. Is now done in MimeType.
3647 (getParameter(String)): Delegate to MimeType.
3648 (getPrimaryType): Delegate to MimeType.
3649 (getRepresentationClassFromMime): Removed.
3650 (getRepresentationClassFromMimeThrows): Removed.
3651 (getSubType): Delegate to MimeType.
3652 (hashCode): Take MimeType.toString() for the hashCode.
3653 (isFlavorRemoveObjectType): Return true only when representation
3654 class is remove and serializable and the mime type is remote.
3655 (isFlavorSerializedObjectType): Return true only when representation
3656 class is serializable and the mime type is serialized.
3657 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3658 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3659 (readExternal): Implemented stub method.
3660 (writeExternal): Implemented stub method.
3661 * java/awt/datatransfer/MimeType.java: New helper class.
3663 2006-10-28 Roman Kennke <kennke@aicas.com>
3665 * javax/swing/TransferHandler.java
3666 (importData): Implemented stub method. Added API docs.
3668 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3670 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3672 * native/jni/classpath/classpath_jawt.h: Likewise.
3673 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3674 initializer for surface_info_x11->depth.
3676 2006-10-26 Tania Bento <tbento@redhat.com>
3678 * java/awt/FileDialog.java:
3679 (setFile): Changed if-clause condition.
3681 2006-10-25 Francis Kung <fkung@redhat.com>
3683 * include/gnu_java_nio_VMChannel.h,
3684 * include/java_net_VMNetworkInterface.h,
3685 * include/gnu_java_nio_EpollSelectorImpl.h,
3686 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3687 * include/gnu_java_nio_FileChannelImpl.h,
3688 * include/gnu_java_nio_KqueueSelectorImpl.h,
3689 * include/gnu_java_nio_VMPipe.h,
3690 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3692 2006-10-25 Tania Bento <tbento@redhat.com>
3694 * java/awt/Dialog.java: Created new private variable
3696 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3697 Set cursor to default cursor.
3698 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3700 (generateName): New method.
3701 (getUniqueLong): New private method.
3702 * java/awt/FileDialog.java: Created new private variable
3703 next_file_dialog_number.
3704 (setFile): If file == "", set it to null.
3705 (generateName): New method.
3706 (getUniqueLong): New private method.
3708 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3710 * java/net/MulticastSocket.java:
3711 (setNetworkInterface): Rewritten.
3713 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3715 * native/jni/java-net/javanet.h: Added declaration for
3716 _javanet_create_inetaddress.
3717 * native/jni/java-net/javanet.c:
3718 (_javanet_create_inetaddress): Removed static keyword.
3720 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3722 * gnu/java/net/PlainDatagramSocketImpl.java:
3723 (connect): Use VMChannel instance for connect call.
3724 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3725 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3726 (setOption): Handle multicast options.
3727 (getOption): Handle multicast options.
3728 * gnu/java/net/PlainSocketImpl.java:
3729 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3730 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3731 (setOption): Filter unappropriate options.
3732 (getOption): Filter unappropriate options.
3733 (connect): Use given SocketAddress.
3734 (close): Reset address and port.
3736 * include/Makefile.am: Removed all occurences of
3737 gnu_java_net_VMPlainDatagramSocketImpl.h.
3738 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3739 * native/jni/java-net/Makefile.am: Removed
3740 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3741 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3743 as SocketException, declare to throw SocketException.
3744 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3745 for SocketException and ConnectException.
3746 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3748 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3750 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3751 (JCL_thread_interrupted): New function.
3752 (initIDs): Added initialisation for isThreadInterrupted method id.
3753 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3754 CPNET_IP_TTL to java_sockopt enum.
3755 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3756 case, handle SO_LINGER case properly.
3757 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3758 case, handle SO_LINGER case properly.
3759 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3761 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3763 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3765 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3767 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3768 * vm/reference/gnu/java/nio/VMChannel.java:
3769 (connect(int, byte[], int, int)): Declare to throw SocketException.
3770 (connect6): Declare to throw SocketException.
3771 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3772 (isThreadInterrupted): New method.
3773 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3775 (setTimeToLive): New method.
3776 (getTimeToLive): New method.
3777 (setMulticastInterface(int, InetAddress)): New method.
3778 (setMulticastInterface(int, int, Inet4Address): New method.
3779 (setMulticastInterface6(int, int, Inet6Address): New method.
3780 (setOptions): Handle SO_LINGER case.
3781 (getOptions): Add missing SO_REUSEADDR case.
3782 * java/net/Socket.java:
3783 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3784 when exception was thrown out of connect().
3785 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3786 Boolean.FALSE with Integer.valueOf(-1).
3787 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3788 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3789 * NEWS: Documented VM interface changes.
3791 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3793 * java/net/Inet6Address.java:
3794 (isMulticastAddress): Fixed check.
3796 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3799 * java/net/MulticastSocket.java:
3800 (getNetworkInterface): Return a special NetworkInterface instance
3801 if the socket's multicast interface is set to any.
3803 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3806 * java/net/NetworkInterface.java:
3807 (createAnyInterface): New method.
3808 (equals): Added if-statement to handle case where netif.name is null.
3809 * vm/reference/java/net/VMNetworkInterface.java:
3810 (hashCode): Rewritten.
3811 (VMNetworkInterface): New constructor.
3813 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3815 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3816 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3817 Add ASM_JAR to bootclasspath.
3819 2006-10-24 Tania Bento <tbento@redhat.com>
3821 * java/awt/Scrollbar.java:
3822 (setLineIncrement): Removed unnecessary if-clause and if
3823 lineIncrement == 0, then it should be set to 1, not 0.
3824 (setPageIncrement): Removed unnecessary if-clause and if
3825 pageIncrement == 0, then it should be set to 1, not 0.
3826 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3827 If maximum <= minimum, maximum should be set to mininum + 1. The
3828 actual value of maximum is maximum - visibleAmount, so I made
3829 this change to the appropriate if-check. Remove the two unneccessary
3832 2006-10-23 Francis Kung <fkung@redhat.com>
3834 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3835 (cairoSetFont): New method.
3836 (copy): Set font using setFont method.
3837 (setFont): Call cairoSetFont.
3838 (setup): Set font using setFont method.
3839 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3840 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3841 (install_font_peer): Removed.
3842 (cairoDrawGlyphVector): Removed call to install_font_peer.
3843 (cairoSetFont): New method.
3845 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3847 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3848 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3849 NativeEventLoopRunningEvent after GTK main loop start and stop.
3850 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3851 (getNextEvent): Set dispatchThread to null.
3852 (postEventImpl): Set nativeLoopRunning.
3853 (pop): Interrupt event dispatch thread.
3854 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3856 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3858 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3860 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3863 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3865 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3866 * javax/crypto/CipherOutputStream.java: Re-implemented.
3867 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3868 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3869 decryption mode and check if it is a complete block.
3870 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3871 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3872 partially processed data into account.
3874 2006-10-21 Tom Tromey <tromey@redhat.com>
3877 * java/util/AbstractCollection.java (toArray): Removed cast.
3879 2006-10-20 Tom Tromey <tromey@redhat.com>
3881 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3882 Don't use mangled class name for .h file.
3883 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3884 Don't use mangled class name for .c file.
3885 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3886 Handle classes from the default package.
3888 2006-10-20 Francis Kung <fkung@redhat.com>
3890 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3892 2006-10-19 Francis Kung <fkung@redhat.com>
3895 * java/awt/image/BufferedImage.java
3896 (constructor): Updated some properties of default image types.
3897 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3898 (argb32): Updated field to match default in BufferedImage.
3900 2006-10-18 Roman Kennke <kennke@aicas.com>
3903 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3904 (copyArea): Changed size comparison to return when size == 0
3906 * javax/swing/JViewport.java
3907 (paintBackingStore): Check width and height of blitted area
3908 and only do blit if its > 0.
3909 (paintBlit): Check width and height of blitted area
3910 and only do blit if its > 0.
3912 2006-10-18 Roman Kennke <kennke@aicas.com>
3915 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3916 (maximize): New native method.
3917 (unmaximize): New native method.
3918 (iconify): New native method.
3919 (deiconify): New native method.
3920 (getState): Implemented.
3921 (setState): Implemented.
3922 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3923 (oldState): Rename to windowState and made protected, so that
3924 the FramePeer can access it.
3925 (postWindowEvent): Handle state change events more gently and
3927 * java/awt/Frame.java
3928 (getState): Fetch state from getExtendedState().
3929 (setExtendedState): Update the peer. Check if the state change
3930 is actually supported.
3931 (getExtendedState): Update the state from the peer.
3932 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3933 (maximize): New method.
3934 (unmaximize): New method.
3935 (iconify): New method.
3936 (deiconify): New method.
3937 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3938 (AWT_FRAME_NORMAL): New macro.
3939 (AWT_FRAME_ICONIFIED): New macro.
3940 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3941 (window_window_state_cb): Rewritten to handle window state changes
3942 more gently (mostly on the java side of the world).
3943 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3945 2006-10-18 Tania Bento <tbento@redhat.com>
3947 * java/awt/CardLayout.java:
3948 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3949 its height and width if Container passed as argument is null.
3950 (gotoComponent): Consider the case where the component is not visible.
3952 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3954 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3956 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3958 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3960 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3962 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3964 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3965 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3966 Retrieve user-visible strings through Messages.getString.
3967 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3968 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3970 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3972 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3974 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3976 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3978 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3981 2006-10-18 Roman Kennke <kennke@aicas.com>
3983 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3984 (AWT_WINDOW_OPENED): Remove unnecessary macro.
3985 (window_show_cb): Removed unnecessary function.
3986 (connect_signals): Don't connect signal for show. *
3987 gnu/java/awt/peer/gtk/GtkWindowPeer.java
3988 (hasBeenShown): Removed. This is handled in java.awt.Window.
3989 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3990 in java.awt.Window. * java/awt/Window.java
3991 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3993 2006-10-18 Francis Kung <fkung@redhat.com>
3995 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3996 (drawRenderedImage): New method.
3997 (drawImage): New method.
3998 (CairoSurfaceGraphics): Set clip.
3999 (createBuffer): New method.
4000 (getBufferCM): New method.
4001 (drawComposite): New method.
4003 (getNativeCM): New method.
4004 (drawGlyphVector): New method.
4006 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4007 (getNativeCM): Reflect renamed field.
4008 * gnu/java/awt/peer/gtk/CairoSurface.java
4009 (cairoCM_pre): Renamed from cairoColorModel.
4010 (cairoColorModel): Set premultiplication to false.
4012 2006-10-18 Roman Kennke <kennke@aicas.com>
4015 * javax/swing/JScrollPane.java
4016 (viewportBorder): Made field private.
4017 (wheelScrollingEnabled): Made field private.
4018 (JScrollPane): Enabled wheel scrolling by default.
4019 * javax/swing/JTree.java
4020 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4022 (getScrollableUnitIncrement): Fixed thinko.
4023 * javax/swing/plaf/basic/BasicScrollBarUI.java
4024 (static scrollByBlock): New static method to avoid code duplication
4025 for the BasicScrollPane wheel scrolling.
4026 (static scrollByUnits): New static method to avoid code duplication
4027 for the BasicScrollPane wheel scrolling.
4028 (scrollByBlock): Delegate to static helper method.
4029 (scrollByUnit): Delegate to static helper method.
4030 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4031 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4032 static helper methods to avoid code duplication.
4033 (MouseWheelHandler.bounds): Removed.
4034 (MouseWheelHandler.getValue): Removed.
4035 (MouseWheelHandler.scroll): Removed.
4037 2006-10-18 Roman Kennke <kennke@aicas.com>
4040 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4041 (updateComponent): Don't override this here.
4042 * java/awt/Window.java
4043 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4044 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4046 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4049 2006-10-18 Roman Kennke <kennke@aicas.com>
4051 * javax/swing/JEditorPane.java
4052 (getStream): Try to detect and set the content type of the
4055 2006-10-18 Roman Kennke <kennke@aicas.com>
4057 * javax/swing/RepaintManager.java
4058 (RepaintWorkerEvent): Pass full set of params to super.
4059 (RepaintWorker.dispatch): Overridden to allow apps to call this
4061 (addDirtyRegion): Synchronize a little more to protect the
4062 dirtyComponents field and avoid NPEs.
4063 (invokeLater): Pass full set of params to RepaintWorkerEvent
4066 2006-10-18 Roman Kennke <kennke@aicas.com>
4068 * javax/swing/JEditorPane.java
4069 (page): Removed field. The page is now stored in the correct
4071 (getPage): Fetch page URL from document property.
4072 (read): Set the document for this JEditorPane. Use a Reader
4073 for reading in the document.
4074 (setPage): Call getStream() to get the stream from which we read.
4075 Fire property change. Store page in document property.
4077 2006-10-18 Roman Kennke <kennke@aicas.com>
4079 * java/awt/datatransfer/DataFlavor.java
4080 (DataFlavor(String)): Removed check for space in mime string.
4082 2006-10-18 Roman Kennke <kennke@aicas.com>
4084 * java/awt/Container.java
4085 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4086 begin|endValidate().
4087 (validate): Call ContainerPeer.begin|endValidate() here.
4088 Added some local vars to avoid NPEs.
4090 2006-10-18 Roman Kennke <kennke@aicas.com>
4092 * native/target/.cvsignore
4093 * native/target/Linux/.cvsignore
4094 * native/target/generic/.cvsignore:
4095 Added to let CVS ignore the generated Makefile and Makefile.in
4098 2006-10-18 Roman Kennke <kennke@aicas.com>
4101 * java/awt/Window.java
4102 (eventTypeEnabled): Overridden to handle WindowEvents.
4103 (processEvent): Switch between processWindowEvent(),
4104 processWindowFocusEvent() and processWindowStateEvent() here,
4105 rather than simply calling processWindowEvent().
4106 (processWindowEvent): Only dispatch event to listener, do not
4107 switch to processWindowFocusEvent() or processWindowStateEvent()
4109 * javax/swing/JFrame.java
4110 (frameInit): Explicitly enable window and key events here.
4111 (processWindowEvent): Throw out some unnecessary code.
4112 * javax/swing/JWindow.java
4113 (windowInit): Explicitly enable key events here.
4114 * javax/swing/JDialog.java
4115 (close_action): Renamed to closeAction.
4116 (dialogInit): Explicitly enable window events here.
4117 (getDefaultCloseOperation): Renamed close_action to closeAction.
4118 (processWindowEvent): Throw out some unnecessary code.
4119 Renamed close_action to closeAction.
4120 (setDefaultCloseOperation): Renamed close_action to closeAction.
4122 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4124 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4125 to track native GTK event loop status.
4126 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4127 clear running flag when native GTK event loop starts and stops.
4129 2006-10-17 Roman Kennke <kennke@aicas.com>
4131 * javax/swing/TransferHandler.java
4132 (exportToClipboard): Implemented.
4134 2006-10-17 Francis Kung <fkung@redhat.com>
4136 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4137 region to account for pixel-shifting.
4138 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4141 2006-10-17 Francis Kung <fkung@redhat.com>
4144 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4145 (getLogicalBounds): Translate individual glyphs before appending bounds.
4146 (getOutline): Translate individual glyphs before appending outline.
4148 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4151 * java/awt/font/TextLayout.java
4153 (constructor): Store bidi in field.
4154 (getCharacterLevel): Implemented.
4156 2006-10-17 Roman Kennke <kennke@aicas.com>
4158 * javax/swing/TransferHandler.java
4159 (PropertyTransferable): New inner class. Handles transfers
4160 from component properties.
4161 (createTransferable): Implemented.
4163 2006-10-17 Francis Kung <fkung@redhat.com>
4165 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4166 (drawComposite): Ensure composite does not extend beyond buffer
4168 * java/awt/image/Raster.java
4169 (createChild): Ensure child does not extend beyond parent's
4171 * java/awt/image/WritableRaster.java
4172 (createWritableChild): Ensure child does not extend beyond
4175 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4177 * native/jni/classpath/jcl.c
4178 (JNI_OnLoad): Corrected calling convention.
4180 2006-10-16 Roman Kennke <kennke@aicas.com>
4182 * javax/swing/TransferHandler.java
4183 (propertyName): New field.
4184 (TransferHandler(String)): Store property name in field.
4185 (canImport): Implemented stub method.
4186 (exportDone): This is a no-op. Removed not-implemented mark.
4187 (getPropertyDataFlavor): New helper method.
4188 (getPropertyDescriptor): New helper method.
4190 2006-10-16 Roman Kennke <kennke@aicas.com>
4192 * javax/swing/AbstractButton.java
4193 (AccessibleJButton.getAfterIndex): Implemented.
4194 (AccessibleJButton.getAtIndex): Implemented.
4195 (AccessibleJButton.getBeforeIndex): Implemented.
4196 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4197 method implementation.
4199 2006-10-16 Roman Kennke <kennke@aicas.com>
4201 * javax/swing/JLabel.java
4202 (AccessibleJLabel.getIndexAtPoint): Implemented.
4203 (AccessibleJLabel.getCharacterBounds): Implemented.
4204 (AccessibleJLabel.getTextRectangle): New helper method.
4206 2006-10-16 Roman Kennke <kennke@aicas.com>
4208 * javax/swing/filechooser/FileSystemView.java
4209 (getFileSystemView): Mark as implemented.
4211 2006-10-14 Roman Kennke <kennke@aicas.com>
4214 * javax/swing/JComponent.java
4215 (toolTipText): Removed field.
4216 (createToolTip): Don't set tooltip text here. This is done
4217 in the ToolTipManager.
4218 (setToolTipText): Set tooltip text as client property.
4219 (getToolTipText): Get tooltip text from client property.
4220 * javax/swing/ToolTipManager.java
4221 (currentComponent): Made field non-static and of type JComponent.
4222 (currentPoint): Made field non-static.
4223 (currentTip): Made field non-static.
4224 (popup): Made field non-static.
4225 (toolTipText): New field. Stores the current tooltip text.
4226 (checkTipUpdate): New helper method. Checks for updates of
4227 the tooltip text and triggers the appropriate actions.
4228 (getContentPaneDeepestComponent): Removed unneeded casts.
4229 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4230 text from component.
4231 (mouseMoved): Check for tooltip text updates.
4232 (showTip): Set tooltip text from current setting.
4234 2006-10-14 Roman Kennke <kennke@aicas.com>
4237 * javax/swing/JSlider.java
4238 (setPaintLabels): Call setLabelTable() instead of setting
4239 the field directly. This also updates the label's size.
4241 2006-10-13 Tom Tromey <tromey@redhat.com>
4243 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4246 2006-10-13 Tania Bento <tbento@redhat.com>
4248 * java/awt/ScrollPane.java
4249 (setLayout): Should throw AWTError whenever called.
4251 2006-10-13 Roman Kennke <kennke@aicas.com>
4254 * java/awt/Component.java
4255 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4256 update the AWT's knowledge about a component's size.
4257 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4258 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4259 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4260 to update the AWT's knowledge about the component bounds.
4262 2006-10-13 Tania Bento <tbento@redhat.com>
4264 * java/awt/ScrollPaneAdjustable.java
4265 (setMaximum): Should throw AWTError whenever called.
4267 (setVisibleAmount): Same.
4269 2006-10-13 Tania Bento <tbento@redhat.com>
4271 * java/awt/ScrollPane.java
4272 (addImpl): When calling super, index should be value passed,
4274 (getIsValidString): New helper method for paramString().
4275 (getScrollbarDisplayString): New helper method for paramString().
4276 (paramString): Changed format of outputted string.
4278 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4280 * javax/swing/tree/DefaultTreeSelectionModel.java
4281 (clone): Added cast to TreePath[].
4283 2006-10-13 Roman Kennke <kennke@aicas.com>
4286 * javax/swing/JMenuItem.java
4287 (isDragging): New field. Indicates if we are inside a mouse
4289 (createMenuDragMouseEvent): Removed unneeded method.
4290 (processMenuDragMouseEvent): Track if we are dragging.
4291 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4292 * javax/swing/plaf/basic/BasicMenuItemUI.java
4293 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4294 MenuSelectionManager from event.
4295 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4296 MenuSelectionManager from event.
4297 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4298 MenuSelectionManager from event.
4299 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4300 release inside menu item, otherwise clear selection.
4301 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4302 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4303 (doClick): Perform an immediate click.
4305 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4307 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4308 return if object is not in the list.
4310 2006-10-12 Andrew Haley <aph@redhat.com>
4312 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4313 * java/lang/ThreadLocal.java: Likewise.
4315 2006-10-12 Roman Kennke <kennke@aicas.com>
4318 * javax/swing/JSlider.java
4319 (LabelUIResource): New inner class. A JLabel as UIResource.
4320 (createStandardLabels): Don't set label bounds here.
4321 Create LabelUIResource instances.
4322 (setInverted): Repaint.
4323 (setLabelTable): Update the label UIs. Revalidate and repaint.
4324 (setMajorTickSpacing): Update the label table. Repaint if
4326 (setMinorTickSpacing): Repaint if necessary.
4327 (setOrientation): Revalidate.
4328 (setPaintLabels): Revalidate and repaint.
4329 (setPaintTicks): Revalidate and repaint.
4330 (setPaintTrack): Repaint.
4331 (updateLabelUIs): Set the label sizes here.
4332 (updateUI): Also update the label UIs.
4333 * javax/swing/plaf/basic/BasicSliderUI.java
4334 (ComponentHandler.componentResized): Don't revalidate.
4335 (FocusHandler.focusGained): Don't set field.
4336 (FocusHandler.focusLost): Don't set field.
4337 (PropertyChangeHandler.propertyChange): Calculate geometry
4338 and repaint for a couple more properties.
4339 (TrackListener.mouseReleased): Repaint.
4340 (hasFocus): Removed unneeded field.
4341 (calculateContentRect): No need to check for content size < 0.
4342 (calculateFocusRect): Use insets from insetCache.
4343 (calculateLabelRect): Fixed calculation of label rectangle.
4344 It is relative to the tick rectangle, rather than the content
4346 (calculateTickRect): Small restructuring to avoid unnecessary
4348 (calculateTrackRect): Fixed calculation of track rectangle.
4349 (getMaximumSize): Fixed. Fetch preferred size and set
4350 the height of width to Short.MAX_VALUE.
4351 (getMinimumHorizontalSize): Fixed to return UIManager value.
4352 (getMinimumVerticalSize): Fixed to return UIManager value.
4353 (getPreferredHorizontalSize): Fixed to return UIManager value.
4354 (getPreferredVerticalSize): Fixed to return UIManager value.
4355 (getMinimumSize): Fixed to return the UIManager value plus
4357 (getPreferredSize): Fixed to return the UIManager value plus
4359 (getWidthOfWidestLabel): Restructured for more cleanness and
4361 (hitClip): New helper method.
4362 (paintHorizontalLabel): Replaced by more efficient and clean
4364 (paintVerticalLabel): Replaced by more efficient and clean
4366 (paintLabels): Replaced by more efficient and clean
4368 (paint): Check if rectangles intersect with clip for maximum
4370 (recalculateIfInsetsChanged): Fixed. This method should
4371 recalculate only when the insets changed.
4372 (setThumbLocation): Repaint with a reasonable clip.
4373 (xPositionForValue): Made more clean and efficient.
4374 (yPositionForValue): Made more clean and efficient.
4375 * javax/swing/plaf/basic/BasicLookAndFeel.java
4376 (initComponenDefaults): Added Slider.horizontalSize,
4377 Slider.verticalSize, Slider.minimumHorizontalSize and
4378 Slider.minimumVerticalSize properties.
4379 * javax/swing/plaf/metal/MetalSliderUI.java
4380 (getTickLength): Add 1 for horizontal sliders and 3 for
4382 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4383 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4384 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4385 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4387 2006-10-12 Roman Kennke <kennke@aicas.com>
4390 * javax/swing/text/FlowView.java
4391 (FlowStrategy.layout): Preserve logical views from getting lost.
4392 (FlowStrategy.layoutRow): Fix line breaking.
4393 (FlowStrategy.adjustRow): Fix line breaking.
4394 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4395 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4396 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4397 (createView): Don't check index.
4398 (contains): New helper method.
4399 (reparent): New helper method.
4400 (layoutDirty): Removed unneeded field.
4401 (FlowView): Removed layoutDirty field init.
4402 (changedUpdate): Removed layoutDirty handling.
4403 (insertUpdate): Removed layoutDirty handling.
4404 (removeUpdate): Removed layoutDirty handling.
4405 (layout): Use isLayoutValid() rather than the layoutDirty field.
4406 * javax/swing/text/GlyphView.java
4407 (startOffset): Removed.
4408 (endOffset): Removed.
4409 (offset): New field.
4410 (length): New field.
4411 (GlyphView): Initialize new fields. Removed old fields.
4412 (createFragment): Create fragment with new relative offsets.
4413 (getEndOffset): Work with new relative offsets.
4414 (getStartOffset): Work with new relative offsets.
4415 * javax/swing/text/ParagraphView.java
4416 (Row.getStartOffset): Overidden to determine the minimum start
4417 offset from the children.
4418 (Row.getEndOffset): Overidden to determine the maximum end
4419 offset from the children.
4420 * javax/swing/text/html/BRView.java
4421 Make subclass of InlineView.
4422 (getBreakWeight): Fall back to super for Y_AXIS.
4424 2006-10-12 Roman Kennke <kennke@aicas.com>
4427 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4428 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4429 one that avoids faulty state that could cause division by zero
4432 2006-10-12 Roman Kennke <kennke@aicas.com>
4435 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4436 (paint): Determine correct icon. Added support for HTML label.
4437 Added small optimizations.
4438 (getPreferredSize): Only consider the buttons iconTextGap, and
4439 only when the text is not null.
4440 * javax/swing/plaf/basic/BasicLookAndFeel.java
4441 (initComponentDefaults): Fetch border for RadioButton from
4442 BasicButtons.getRadioButtonBorder().
4443 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4444 (paintFocus): Paint focus rectangle one pixel smaller.
4446 2006-10-12 Roman Kennke <kennke@aicas.com>
4449 * javax/swing/tree/AbstractLayoutCache.java
4450 (getNodeDimensions): Don't throw InternalError, but instead
4452 (getRowsForPaths): Check for null here.
4453 (isFixedRowHeight): Returns true when rowHeight > 0.
4454 (setSelectionModel): Set this as the row mapper for the selection
4456 * javax/swing/tree/VariableHeightLayoutCache.java
4457 (NodeRecord.NodeRecord): Initialize bounds field.
4458 (getBounds): Simply return the bounds field.
4459 (row2Node): Changed to be an ArrayList.
4460 (RECT_CACHE): New field. Caches a Rectangle instance.
4461 (countRows): Added y parameter and return value. The method
4462 now takes the current y position as parameter, and returns
4463 the updated y position.
4464 (getBounds): Fixed to return the correct bounds.
4465 (getPathForRow): Replaced by fixed implementation.
4466 (getPreferredHeight): Replaced by more efficient implementation.
4467 This simply fetches the last node record and returns its lower
4469 (getPreferredWidth): Added null check.
4470 (getVisibleChildCount): Added null check.
4471 (getVisiblePathsFrom): Added null check.
4472 (setExpandedState): Also expand the ancestors of the node
4474 (setModel): Set dirty flag rather than updating for real.
4475 (setNodeDimensions): Overridden to set the dirty flag.
4476 (setRowHeight): Overridden to set the dirty flag.
4477 (update): Don't special case the root here, this is done now
4480 2006-10-12 Roman Kennke <kennke@aicas.com>
4482 * javax/swing/JComponent.java
4483 (paintImmediately2): Added support for components which need
4484 to force themselves as paint root.
4485 (isPaintRoot): New method. This should be overridden by components
4486 which need to force themselves as paint root.
4487 * javax/swing/JViewport.java
4488 (isPaintRoot): Overridden to force the viewport as paint root
4489 when running in backingstore mode.
4491 2006-10-12 Roman Kennke <kennke@aicas.com>
4493 * javax/swing/tree/DefaultTreeSelectionModel.java
4494 (PathPlaceHolder): New inner class. Wraps a path and its status
4496 (selectedPaths): New field. A supporting datastructure.
4497 (tmpPaths): New field. A supporting datastructure.
4498 (DefaultTreeSelectionModel): Initialize the list selection model,
4499 the leadIndex and the supporting datastructures.
4500 (addPropertyChangeListener): Create changeSupport object lazily.
4501 (addSelectionPaths): Mostly rewritten to handle the different
4502 selection modes correctly.
4503 (addSelectionPath): Delegate to addSelectionPaths().
4504 (arePathsContiguous): Replaced with more efficient implementation
4506 (canPathBeAdded): Removed unneeded method.
4507 (canPathsBeAdded): Replaced with more efficient implementation.
4508 (clearSelection): Create correct event. Clear the fields correctly,
4509 including the supporting datastructures.
4510 (clone): Also clone the supporting datastructures and nullify
4511 changeSupport field.
4512 (getMaxSelectionRow): Delegate to list selection model.
4513 (getMinSelectionRow): Delegate to list selection model.
4514 (getPath): Removed unneeded method.
4515 (getPropertyChangeListeners): Handle null changeSupport field
4517 (getRow): Handle null rowMapper field correctly.
4518 (getSelectionRows): Handle invisible rows correctly.
4519 (insureRowContinuity): Replaced by more efficient and correct
4521 (isRowSelected): Delegate to list selection model.
4522 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4524 (removePropertyChangeListener): Handle null changeSupport field.
4525 (removeSelectionPaths): Mostly rewritten to handle the different
4526 selection modes correctly.
4527 (removeSelectionPath): Delegate to removeSelectionPaths().
4528 (resetRowSelection): Handle list selection model.
4529 (selectOne): Removed unneeded field.
4530 (setRowMapper): Reset the row selection.
4531 (setSelectionMode): Check for invalid mode and set to
4532 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4533 (setSelectionPaths): Mostly rewritten to handle the different
4534 selection modes correctly.
4535 (setSelectionPath): Delegate to setSelectionPaths().
4536 (updateLeadIndex): Made more efficient.
4538 2006-10-11 Francis Kung <fkung@redhat.com>
4540 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4541 (buffer, locked): New fields.
4542 (constructors): Initialize new variables.
4543 (createBuffer): New method.
4544 (draw): Implement custom composites.
4545 (drawComposite): New method.
4546 (drawGlyphVector): Implement custom composites.
4547 (drawImage): Implement custom composites.
4548 (drawRenderedImage): Implement custom composites.
4549 (fill): Implement custom composites.
4550 (getBufferCM): New method.
4551 (getNativeCM): New method.
4552 (updateBufferedImage): Fix premultiplication.
4553 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4554 (copy): Copy composite.
4555 (drawImage): Set background properly.
4556 (getBufferCM): New method.
4557 (setComposite): Reset alpha composite when using custom composite.
4558 * gnu/java/awt/peer/gtk/CairoSurface.java
4559 (cairoColorModel): New field.
4560 (nativeColorModel): Renamed.
4561 (constructor): Use renamed createCairoSampleModel method.
4562 (createCairoSampleModel): New method.
4563 (createNativeSampleModel): Renamed.
4564 (getBufferedImage): Use renamed cairoColorModel field.
4565 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4566 (gdkColorModel): New field.
4567 (createGdkSampleModel): New method.
4568 (getPixels): Added comments.
4569 (getSnapshot): Use GDK colour and sample models.
4570 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4571 (createBuffer): Use GDK colour and sample models.
4572 (getNativeCM): Added comments.
4573 * java/awt/image/BufferedImage.java
4574 (constructor): Set premultiplied flag properly.
4576 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4578 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4579 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4581 2006-10-10 Francis Kung <fkung@redhat.com>
4584 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4585 (createPath): Added isDraw parameter.
4586 (draw): Updated createPath call.
4587 (fill): Updated createPath call.
4589 2006-10-10 Tom Tromey <tromey@redhat.com>
4592 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4593 there is a stylesheet.
4595 2006-10-10 Roman Kennke <kennke@aicas.com>
4597 * java/awt/Toolkit.java
4598 (getDefaultTookit): Make method synchronized to avoid
4599 accidentally creating more than one toolkits from different
4602 2006-10-10 Roman Kennke <kennke@aicas.com>
4604 * java/awt/LightweightDispatcher.java
4605 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4606 (redispatch): Transfer the button to the redispatched event.
4608 2006-10-10 Francis Kung <fkung@redhat.com>
4610 * java/awt/image/ColorModel.java (coerceData): Implemented.
4612 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4614 * vm/reference/java/lang/VMClassLoader.java:
4615 (defineClassWithTransformers): Use proper class name format.
4617 2006-10-09 Gary Benson <gbenson@redhat.com>
4619 * java/net/ServerSocket.java
4620 (implAccept): Add security check.
4621 (accept): Close socket if security check fails.
4622 (setSocketFactory): Add security check and already-set check.
4624 2006-10-09 Roman Kennke <kennke@aicas.com>
4627 * javax/swing/JSplitPane.java
4628 (dividerLocation): New field. Stores the divider location.
4629 (JSplitPane): Initialize dividerLocation with -1.
4630 (addImpl): Removed unneeded local variables.
4631 (getDividerLocation): Manage dividerLocation in the JSplitPane
4632 class, not in the UI.
4633 (setDividerLocation): Manage dividerLocation in the JSplitPane
4634 class, not in the UI. Only call the UI method for notification.
4635 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4636 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4637 location from the JSplitPane. Honour the minimumSize, but only
4638 if the divider location hasn't been set explicitly.
4639 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4641 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4643 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4644 the divider location.
4645 (dividerLocationSet): New field.
4646 (dividerLocation): Removed field.
4647 (createActionMap): Fetch and set divider location on the JSplitPane.
4648 (getDividerLocation): Return the actual real divider location.
4649 (getMaximumSize): Removed unneeded cast.
4650 (getPreferredSize): Removed unneeded cast.
4651 (getMinimumSize): Removed unneeded cast.
4652 (installUI): Initialize dividerLocationSet with false.
4653 (uninstallUI): Initialize dividerLocationSet with false.
4654 (setDividerLocation): Set dividerLocationSet to true.
4656 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4658 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4659 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4660 convert jstring into char *.
4661 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4662 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4663 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4664 (getif_address): Added const modifier to second argument.
4665 (getif_index): Dito.
4667 2006-10-09 Roman Kennke <kennke@aicas.com>
4669 * javax/swing/JTree.java
4670 (isSelected): Added API docs.
4672 2006-10-09 Roman Kennke <kennke@aicas.com>
4674 * javax/swing/JTree.java
4675 (isSelected): Delegate to the selection model directly.
4677 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4679 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4680 sizeof_struct_kevent to _sizeof_struct_kevent.
4682 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4684 * tools/gnu/classpath/tools/rmic/RMICException.java:
4685 javadoc corrections, reformatted.
4687 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4689 * gnu/java/lang/InstrumentationImpl.java:
4690 Made constructor package visible.
4692 2006-10-05 Gary Benson <gbenson@redhat.com>
4694 * java/net/Socket.java
4695 (Socket): Perform security check on address not hostname.
4697 2006-10-04 Roman Kennke <kennke@aicas.com>
4699 * javax/swing/tree/VariableHeightLayoutCache.java
4700 (getBounds): When rect is null, create a new Rectangle.
4702 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4704 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4705 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4706 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4707 (cpnio_select): Use CPNIO_EXPORT.
4708 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4709 inline instead of extern inline, as newer GCCs changed their
4712 2006-10-04 Gary Benson <gbenson@redhat.com>
4714 * java/net/InetAddress.java: Updated javadoc.
4715 (<clinit>, getByLiteral): Throw InternalError on failures.
4717 2006-10-03 Francis Kung <fkung@redhat.com>
4719 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4720 (compCtx): New field for composite context.
4721 (copy): Copy composite.
4722 (dispose): Dispose of composite context.
4723 (getNativeCM): New method.
4724 (setComposite): Discard old composite context and set up new context.
4725 (setRenderingHints): Update composite context.
4726 * gnu/java/awt/peer/gtk/CairoSurface.java
4727 (nativeColorModel): New field, renamed from nativeModel.
4728 (nativeModel): Renamed field to nativeColorModel.
4729 (CairoSurface(int, int)): Call new method to create sample model.
4730 (createNativeSampleModel): New method.
4731 (getBufferedImage): Updated variable name.
4732 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4733 (buffer): New field.
4734 (createBuffer): New method.
4736 (drawComposite): New method.
4737 (drawGlyphVector): New method.
4738 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4739 (drawImage(Image, int, int, ImageObserver)): Check composite.
4740 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4742 (getNativeCM): New method.
4743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4744 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4745 intermediary pixbuf to grab on-screen pixels.
4747 2006-10-03 Tom Tromey <tromey@redhat.com>
4750 * java/util/IdentityHashMap.java (tombstone): Removed.
4751 (emptyslot): Removed.
4752 (nullslot): New field.
4753 (IdentityHashMap): Don't fill array.
4754 (clear): Fill with null.
4755 (hash): Now final. Use linear probing.
4756 (xform): New method.
4757 (unxform): Likewise.
4758 (removeAtIndex): Likewise.
4759 (clone, containsKey, containsValue, entrySet, get, hashCode,
4760 keySet, put, remove, values): Updated.
4761 (IdentityIterator, IdentityEntry): Likewise.
4762 (writeObject): Likewise.
4764 2006-10-03 Tom Tromey <tromey@redhat.com>
4766 * java/util/Locale.java (hashcode): Updated javadoc.
4767 (hashcodeCache): Removed.
4769 (hashCode): Updated.
4770 (writeObject): New method.
4771 (readObject): Updated.
4773 2006-10-02 Francis Kung <fkung@redhat.com>
4775 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4776 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4777 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4778 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4779 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4780 pre-multiply data before drawing.
4781 (fillRect): Draw using regular fill() method.
4782 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4783 * gnu/java/awt/peer/gtk/CairoSurface.java
4784 (nativeModel): Use correct value for alpha premultiplication (true).
4785 * java/awt/image/BufferedImage.java
4786 (coerceData): Update isPremultiplied field.
4788 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4790 * gnu/classpath/ListenerData.java:
4791 New class for holding listener data.
4792 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4793 ListenerData class moved to its own file.
4794 * javax/management/MBeanServerDelegate.java,
4795 * javax/management/MBeanServerDelegateMBean.java,
4796 * javax/management/MBeanServerNotification.java:
4799 2006-10-02 Tania Bento <tbento@redhat.com>
4801 * java/ast/Rectangle.java:
4802 (Rectangle(Rectangle)): Do not throw NPE.
4803 (Rectangle(Point, Dimension)): Same.
4804 (Rectangle(Point)): Same.
4805 (Rectangle(Dimension)): Same.
4807 2006-09-29 Casey Marshall <csm@gnu.org>
4810 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4811 `AbstractSelectionKey.'
4812 (cancel, isValid): removed.
4813 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4814 (events): new field.
4815 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4817 (<clinit>): initialize those constants.
4818 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4819 (doSelect): deregister cancelled keys; remove keys attached to
4820 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4821 `events' buffer; reallocate `events' buffer if needed.
4822 (register): reallocate `events' buffer if needed.
4823 (reallocateBuffer): new method.
4826 2006-09-29 Roman Kennke <kennke@aicas.com>
4829 * javax/swing/JViewport.java
4830 (cinit): Renamed system property to gnu.swing.scrollmode
4831 to avoid bloat. Default to BACKINGSTORE, this is much
4833 (repaint): Forward repaint() to parent as is specified.
4835 2006-09-29 Tania Bento <tbento@redhat.com>
4837 * javax/swing/plaf/basic/BasicTableUI.java
4838 (getPreferredSize): The number of iterations for the for-loop should be
4839 the number of columns in the table's column model, not the number of
4840 columns of the table.
4841 * javax/swing/JTable.java
4842 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4843 lines that are not needed.
4844 (initializeLocalVars): dragEnabled should be set to false, not true.
4845 (getCellRenderer): Added a check to prevent an
4846 ArrayIndexOutOfBoundsException.
4847 (doLayout): The number of iterations for the for-loops should be the
4848 number of columns in the table's column model, not the number of columns
4851 2006-09-29 Roman Kennke <kennke@aicas.com>
4853 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4855 (isOptimized): Initialize with true.
4856 (paintRaster): Removed unneeded field.
4857 (shapeCache): New static field. Caches certain shapes for reuse.
4858 (computeIntersection): Removed unneeded casts.
4859 (drawArc): Use shape cache.
4860 (drawImage): Removed unneeded statement.
4861 (drawLine): Use shape cache. Pass untranslated coordinates
4863 (drawOval): Use shape cache.
4864 (drawPolygon): Use shape cache.
4865 (drawRect): Overridden to provide accelerated rectangle drawing
4866 if possible and to use the shape cache.
4867 (drawRoundRect): Use shape cache.
4868 (fillArc): Use shape cache.
4869 (fillOval): Use shape cache.
4870 (fillPolygon): Use shape cache.
4871 (fillRect): Pass untranslated coordinates to rawFillRect().
4873 (fillRoundRect): Use shape cache.
4874 (fillScanlineAA): Removed unneeded statement.
4875 (fillScanline): Updated API docs.
4876 (fillShapeAntialias): Removed unnecessary cast.
4877 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4878 (fillShape): Updated API docs.
4879 (getShapeCache): New helper method.
4880 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4881 certain shapes for reuse in AbstractGraphics2D.
4883 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4885 * javax/management/BadBinaryOpValueExpException.java:
4886 (getExp()): Implemented.
4887 * javax/management/MBeanConnection.java:
4888 Renamed to MBeanServerConnection.
4889 * javax/management/MBeanServer.java:
4890 (setAttribute(Attribute)): Fixed...
4891 (setAttribute(ObjectName,Attribute)): to this.
4892 * javax/management/MBeanServerConnection.java:
4893 Renamed from MBeanConnection.
4894 * javax/management/QueryExp.java:
4895 Extend Serializable.
4896 * javax/management/ValueExp.java:
4898 * javax/management/loading/ClassLoaderRepository.java:
4899 (loadClass(String)): Throw ClassNotFoundException.
4900 (loadClassBefore(ClassLoader,String)): Likewise.
4901 (loadClassWithout(String, ClassLoader): Fixed...
4902 (loadClassWithout(ClassLoader,String)): to this.
4904 2006-09-28 Roman Kennke <kennke@aicas.com>
4906 * javax/swing/tree/DefaultTreeCellRenderer.java
4907 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4908 property from UIManager.
4909 (paint): Rewritten to use super's implementation and only paint
4910 background and focus indicator before.
4911 (paintFocus): New helper method.
4912 (getXOffset): New helper method.
4914 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4916 * javax/management/BadBinaryOpValueExpException.java,
4917 * javax/management/MBeanConnection.java,
4918 * javax/management/MBeanServer.java,
4919 * javax/management/ObjectInstance.java:
4921 * javax/management/ObjectName.java:
4922 (setMBeanServer(MBeanServer)): Implemented.
4923 * javax/management/QueryExp.java,
4924 * javax/management/ValueExp.java,
4925 * javax/management/loading/ClassLoaderRepository.java:
4928 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4930 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4932 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4934 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4935 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4936 * gnu/java/nio/EpollSelectorImpl.java:
4937 (doSelect): Use Integer.valueOf() instead of constructor call.
4938 (register): Use Integer.valueOf() instead of constructor call.
4940 2006-09-27 Roman Kennke <kennke@aicas.com>
4942 * java/awt/Container.java
4943 (addContainerListener): Activate newEventsOnly for the component.
4944 Ignore null listeners.
4946 2006-09-27 Roman Kennke <kennke@aicas.com>
4948 * java/awt/EventQueue.java
4949 (Queue): New inner class. Implements the actual queue.
4950 (LOW_PRIORITY): New constant field.
4951 (NORM_PRIORITY): New constant field.
4952 (queueHead): Removed. Moved into Queue.
4953 (queueTail): Removed. Moved into Queue.
4954 (queues): New field.
4955 (EventQueue): Initialize two internal queues, one for
4956 normal events, one for low priority events.
4957 (getNextEventImpl): New helper method, fetches the next event.
4958 (getNextEvent): Use getNextEventImpl() for fetching the event.
4959 (peekEvent): Use getNextEventImpl() for fetching the event.
4960 (peekEvent(int)): Search for event in all queues.
4961 (postEventImpl(AWTEvent)): Moved actual posting into
4962 postEventImpl(AWTEvent,int). Prioritize events here.
4963 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4964 event into correct queue. Re-enable event coalescing.
4965 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4966 * javax/swing/RepaintManager.java
4967 (RepaintWorkerEvent): New internal class. This is a low priority
4968 event for the repaint worker.
4969 (addDirtyRegion): Use new internal invokeLater() for sending
4970 a low priority event.
4971 (addInvalidComponent): Use new internal invokeLater() for sending
4972 a low priority event.
4973 (commitBuffer): Added some null checks.
4974 (invokeLater): New helper method. Sends a low priority
4975 repaint worker event on the event queue.
4977 2006-09-27 Roman Kennke <kennke@aicas.com>
4981 * javax/swing/plaf/basic/BasicButtonUI.java
4982 (cachedInsets): New field.
4983 (installListeners): Fire synthetic property change to initialize
4984 TEXT_LAYOUT_CACHE for the button because the font has been
4986 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4987 (paint): Use cached insets.
4988 (paintText): Let new method forward to old one, not vice versa.
4989 * javax/swing/plaf/basic/BasicMenuItemUI.java
4990 (defaultAcceleratorLabelGap): Removed unused field.
4991 (MenuGap): Removed unused field.
4992 (propertyChangeListener): Made private.
4993 (getAcceleratorRect): Removed unused method.
4994 (getAcceleratorText): Removed unused method.
4995 (getPath): Removed unnecessary cast.
4996 (installListeners): Fire synthetic property change to initialize
4997 TEXT_LAYOUT_CACHE for the button because the font has been
4999 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5000 (layoutMenuItem): Removed unused statements.
5002 2006-09-27 Roman Kennke <kennke@aicas.com>
5005 * javax/swing/tree/DefaultTreeModel.java
5006 (isLeaf): Check if the node allows children when
5007 asksAllowsChildren is true, otherwise fall back
5008 to return the node's leaf property.
5010 2006-09-27 Mario Torre <neugens@limasoftware.net>
5012 * scripts/check_jni_methods.sh: removed methods from the
5014 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5015 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5016 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5017 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5018 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5019 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5020 to better follow the GNU style.
5021 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5022 regenerated header file for GConfNativePeer.
5024 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5026 * INSTALL: Added information about grmic being built when ASM
5027 is available, added information about gconf dependency, indented
5028 Qt4 dependency section.
5029 * configure.ac: Added information about grmic being built when ASM
5032 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5034 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5035 DeleteGlobalRef on a local ref.
5037 2006-09-24 Mario Torre <neugens@limasoftware.net>
5039 * scripts/check_jni_methods.sh: added two new methods in the
5041 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5043 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5044 * native/jni/gconf-peer/GConfNativePeer.c:
5045 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5046 refacored method name, renamed from
5047 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5048 Added code to unescape escaped GConf key names.
5049 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5050 refacored method name, renamed from
5051 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5052 Added code to unescape escaped GConf key names.
5053 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5055 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5057 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5058 version javadoc tag.
5059 (escapeString): new method.
5060 (unescapeString): likewise.
5061 (gconf_escape_key): new native method.
5062 (gconf_unescape_key): likewise.
5063 (gconf_client_suggest_sync): update native method signature, now
5064 explicity throws BackingStoreException.
5065 (gconf_client_all_nodes): update native method signature, now
5066 explicity throws BackingStoreException. Refactored method name,
5067 renamed from gconf_client_gconf_client_all_nodes.
5068 (gconf_client_all_keys): update native method signature, now
5069 explicity throws BackingStoreException. Refactored method name,
5070 renamed from gconf_client_gconf_client_all_keys.
5071 (getKeys): refactored to use the new method name
5072 gconf_client_all_keys.
5073 (getChildrenNodes): refactored to use the new method name
5074 gconf_client_all_nodes.
5075 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5076 version javadoc tag.
5077 (GConfBasedPreferences): Added code to escape node names from
5078 invalid characters so that GConf now accept invalid node names.
5079 (GConfBasedPreferences): Moved code to register the current
5080 node to the list of nodes watched by GConf outside the constructor.
5081 (childSpi): Added code to register the current node to the
5082 list of nodes watched by GConf.
5083 (getGConfKey): Added code to escape key names from
5084 invalid characters so that GConf now accept invalid key names.
5086 2006-09-26 Tom Tromey <tromey@redhat.com>
5088 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5089 call mkdirs in output-directory case.
5090 (getPrintStream): Create output directory.
5091 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5094 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5096 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5097 Accept three additional arguments.
5098 (writePreambleImpl): New method.
5099 (getPrintStreamImpl): Likewise.
5100 (printClass): Adapted to use new methods in Printer superclass.
5101 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5102 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5103 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5104 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5106 (getParser): Add support for -o option.
5107 Check that only one of -d or -o is defined.
5108 Add support for -jni option.
5109 Add support for -force option.
5110 (makeOutputFile): New method.
5111 (writeHeaders): Removed File argument from signature.
5112 (run): Take into account newly added fields.
5113 Invoke concrete PrintStream implementations with augmented constructors.
5114 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5115 (isDirectory): Likewise.
5117 (wrotePreamble): Likewise.
5118 (Printer): Changed ctor to accept three additional arguments.
5119 (printClass): Changed signature to accept one ClassWrapper argument.
5120 (writePreambleImpl): New abstract method.
5121 (getPrintStreamImpl): Likewise.
5122 (getPrintStream): New method.
5123 (writePreamble): Likewise.
5125 2006-09-26 Tania Bento <tbento@redhat.com>
5127 * java/awt/GridLayout.java
5128 (toString): There is no common before hgap.
5129 * java/awt/Rectangle.java
5130 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5131 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5133 (Rectangle(Point)): Throw NPE if Point is null.
5134 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5136 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5138 * javax/swing/plaf/metal/MetalIconFactory.java
5139 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5140 returned by getShift(),
5141 (FileIcon16.getShift): Updated API docs,
5142 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5143 returned by getShift(),
5144 (FolderIcon16.getShift): Updated API docs,
5145 (TreeFolderIcon.getShift): Likewise,
5146 (TreeLeafIcon.getShift): Likewise.
5148 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5150 * javax/swing/plaf/metal/MetalIconFactory.java
5151 (FileIcon16.paintIcon): Fetch colors from look and feel,
5152 (FolderIcon16.paintIcon): Likewise.
5154 2006-09-25 Casey Marshall <csm@gnu.org>
5156 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5158 (write): revert back to using `writeGathering.'
5159 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5160 the first buffer that has data remaining, and start at that one.
5162 2006-09-25 Tom Tromey <tromey@redhat.com>
5164 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5167 2006-09-25 Tom Tromey <tromey@redhat.com>
5169 * tools/.cvsignore: Updated.
5171 2006-09-25 Tom Tromey <tromey@redhat.com>
5174 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5175 (Encoder.canEncode): Likewise.
5176 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5177 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5179 (Encoder.canEncode): Likewise.
5180 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5182 (Encoder.canEncode): Likewise.
5184 2006-09-25 Tom Tromey <tromey@redhat.com>
5186 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5189 2006-09-25 Francis Kung <fkung@redhat.com>
5191 * java/awt/image/ColorModel.java
5192 (coerceData): Made abstract.
5193 (coerceDataWorker): New protected method.
5194 * java/awt/image/ComponentColorModel.java
5195 (coerceData): Return new instance of proper ColorModel.
5196 * java/awt/image/DirectColorModel.java
5197 (coerceData): Return new instance of proper ColorModel.
5198 * java/awt/image/IndexColorModel.java
5199 (coerceData): New method.
5201 2006-09-24 Casey Marshall <csm@gnu.org>
5203 * gnu/java/nio/FileChannelImpl.java
5204 (read): call `read' in a loop, don't use `readScattering.'
5205 (write): call `write' in a loop, don't use `writeGathering.'
5207 2006-09-24 Mark Wielaard <mark@klomp.org>
5209 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5211 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5213 * java/nio/channels/spi/AbstractSelectableChannel.java
5214 (register): Set interestOps and attachment when the key already
5217 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5219 * java/net/ServerSocket.java
5220 (bind(SocketAddress,int)): Added support for null address.
5221 Throw proper exception if already bound.
5222 Handle unresolved addresses correctly. Ignore exceptions that
5223 happen during close in error path (to prevent losing the original
5226 2006-09-24 Mark Wielaard <mark@klomp.org>
5228 Suggested by Aaron M. Ucko <ucko@debian.org>
5230 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5232 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5234 * java/nio/channels/spi/AbstractSelectableChannel.java
5235 (implCloseChannel): Cancel all keys after closing the channel.
5237 2006-09-22 Casey Marshall <csm@gnu.org>
5239 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5240 after we delete them.
5241 (selectedKeys): return an empty set if nothing's been selected.
5242 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5243 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5244 throw an exception on EBADF.
5245 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5246 throw exception on EINTR, just return 0.
5248 2006-09-22 Casey Marshall <csm@gnu.org>
5250 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5251 remove `const' from `filename.'
5252 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5254 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5256 2006-09-22 Casey Marshall <csm@gnu.org>
5258 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5259 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5260 allocate `filename,' and handle changes to `cpio_readDir.'
5261 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5262 available; copy the filename into the destination buffer; return
5263 an error code if readdir returns NULL, but errno is 0.
5264 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5265 parameter to `const char *.'
5267 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5269 * javax/management/ObjectName.java:
5272 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5274 * resource/gnu/classpath/tools/orbd: New directory.
5275 * resource/gnu/classpath/tools/rmic: Likewise.
5276 * resource/gnu/classpath/tools/rmid: Likewise.
5277 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5278 * resource/gnu/classpath/tools/tnameserv: Likewise.
5279 * tools/gnu/classpath/tools/giop: Move contents to...
5280 * tools/gnu/classpath/tools/orbd,
5281 tools/gnu/classpath/tools/tnameserv: New directories.
5282 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5283 * tools/gnu/classpath/tools/rmic: New directory.
5284 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5285 * tools/gnu/classpath/tools/rmid: New directory.
5286 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5287 * tools/gnu/classpath/tools/rmiregistry: New directory.
5288 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5289 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5290 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5291 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5293 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5295 * tools/gnu/classpath/tools/orbd/Main.java,
5296 tools/gnu/classpath/tools/orbd/Messages.java,
5297 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5298 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5299 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5300 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5301 tools/gnu/classpath/tools/rmic/CompilationError.java,
5302 tools/gnu/classpath/tools/rmic/Generator.java,
5303 tools/gnu/classpath/tools/rmic/GiopIo.java,
5304 tools/gnu/classpath/tools/rmic/HashFinder.java,
5305 tools/gnu/classpath/tools/rmic/Main.java,
5306 tools/gnu/classpath/tools/rmic/Messages.java,
5307 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5308 tools/gnu/classpath/tools/rmic/RMICException.java,
5309 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5310 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5311 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5312 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5313 tools/gnu/classpath/tools/rmic/Variables.java,
5314 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5315 tools/gnu/classpath/tools/rmic/templates,
5316 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5317 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5318 tools/gnu/classpath/tools/rmid/Main.java,
5319 tools/gnu/classpath/tools/rmid/Messages.java,
5320 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5321 tools/gnu/classpath/tools/rmiregistry/Main.java,
5322 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5323 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5324 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5325 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5326 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5327 tools/gnu/classpath/tools/tnameserv/Main.java,
5328 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5329 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5330 RMIC.java from cp-tools.
5331 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5332 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5333 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5335 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5336 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5338 (start): New method.
5339 * tools/Makefile.am: Add build support for new tool wrappers.
5340 * tools/gorbd.in: New file.
5341 * tools/grmic.in: Likewise.
5342 * tools/grmid.in: Likewise.
5343 * tools/grmiregistry.in: Likewise.
5344 * tools/gtnameserv.in: Likewise.
5345 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5346 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5348 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5349 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5350 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5352 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5355 * gnu/java/util/regex/RETokenRepeated.java
5356 (findMatch): Rewriten without using recursive calls,
5357 (FindMatchControlStack): New class,
5358 (FindMatchControl): New class,
5359 (TryAnotherResult): New class,
5360 (tryAnother): New method.
5362 2006-09-22 Gary Benson <gbenson@redhat.com>
5364 * java/net/SocketPermission.java
5365 (processHostport): Cope with IPv6 addresses with a
5366 one-digit first component.
5368 2006-09-22 Roman Kennke <kennke@aicas.com>
5370 * java/awt/Component.java
5371 (enableEvents): Set newEventsOnly flag.
5372 * java/awt/Container.java
5373 (dispatchEventImpl): Consume event if lightweight dispatcher
5374 dispatched the event. Don't call processEvent() here, this
5375 is already done in Component.dispatchEventImpl(). For
5376 heavyweights or when the lightweight dispatcher could
5377 not dispatch, fall back to calling super.
5378 (dispatchNoLightweight): New helper method to avoid
5379 recursivly calling the lightweight dispatcher.
5380 * java/awt/LightweightDispatcher.java
5381 (dragButton): Removed field.
5382 (dragTarget): Removed field.
5383 (mouseEventTarget): New field.
5384 (convertPointToChild): Removed method.
5385 (dispatchEvent): Don't depend on component beeing
5387 (findTarget): Improved algorithm for finding a target.
5388 Before we went down to the deepest component and went
5389 up again to find a suitable target. Now we go
5390 down only once, without going up.
5391 (handleMouseEvent): Broke method down into some smaller
5393 (isDragging): New helper method.
5394 (isMouseListening): New helper method.
5395 (redispatch): New helper method.
5396 (trackEnterExit): New helper method.
5398 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5400 * javax/swing/SizeSequence.java
5401 (getSize): Return 0 if index is out of bounds.
5403 2006-09-21 Tom Tromey <tromey@redhat.com>
5405 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5406 (PathOptionGroup): Make -I a joined option.
5407 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5408 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5409 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5410 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5411 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5412 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5413 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5414 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5415 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5416 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5417 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5418 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5419 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5420 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5421 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5422 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5423 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5424 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5425 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5426 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5427 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5429 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5430 * tools/gnu/classpath/tools/common/Messages.java: New file.
5431 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5432 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5434 (ClasspathToolParser): Add -J option here.
5435 (ClasspathToolParser): Call other constructor in this class.
5436 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5437 Handle joined options.
5438 (handleShortOptions): Likewise.
5439 (handleShortOption): Removed.
5440 (finalGroup): New field.
5441 (Parser): Initialize new field. Don't add -J option.
5442 (addFinal): New method.
5443 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5445 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5446 (Option): Check short option for validity.
5447 (Option): New constructors.
5448 (joined): New field.
5450 2006-09-21 csm <csm@pollux.local>
5452 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5453 `InterruptedIOException;' try again if it gets thrown.
5454 (receive): likewise, but re-throw `SocketTimeoutException.'
5455 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5456 if we have nothing to select.
5458 2006-09-21 Francis Kung <fkung@redhat.com>
5460 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5461 (getLogicalBounds): Respect glyph transformations.
5462 (getGlyphOutline): Added null pointer check.
5463 (getGlyphTransform): Do not generate identity transform (API permits null).
5464 (setGlyphPosition): Do not invalidate transform.
5465 (setGlyphTransform): Do not modify glyph position.
5467 2006-09-21 Francis Kung <fkung@redhat.com>
5469 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5471 2006-09-21 Francis Kung <fkung@redhat.com>
5473 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5474 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5475 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5477 2006-09-21 Tania Bento <tbento@redhat.com>
5479 * javax/swing/JTabbedPane.java:
5480 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5481 (setModel): A ChangeListener should be created only if there does not
5482 currently exist one.
5484 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5486 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5487 (MaximizeAction.actionPerformed): Change icon on maxButton.
5489 2006-09-21 Roman Kennke <kennke@aicas.com>
5491 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5492 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5493 Use more efficient getViewPosition() and getViewSize() methods
5494 to avoid creating a rectangle.
5495 (HSBChangeListener.stateChanged): Update the view position
5496 unconditionally. Let the Viewport figure out if something
5498 (VSBChangeListener.stateChanged): Update the view position
5499 unconditionally. Let the Viewport figure out if something
5501 * javax/swing/JViewport.java
5502 (ViewListener.componentResized): Fire state change, because
5503 the extentSize changes.
5504 (extentSize): Removed unneeded field.
5505 (viewSize): Removed unneeded field.
5506 (getExtentSize): Return the viewport's size here.
5507 (getViewRect): Reformatted.
5508 (getViewSize): Reordered for only one return statement.
5509 (paintImmediately2): Fixed up javadoc.
5510 (paint): Removed unneeded statement.
5511 (setExtentSize): Set viewport size and check for actual change
5513 (setViewPosition): Simplified condition. Set scrollUnderway
5514 true and don't set isViewSizeSet. Avoid creating one Point
5516 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5518 * javax/swing/JScrollBar.java
5519 (ScrollBarListener): New class. Forwards change events from
5520 the model as adjustment events.
5521 (sbChangeListener): New field.
5522 (JScrollBar): Install listener on new model.
5523 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5525 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5526 method to allow custom isAdjusting value.
5527 (setMaximum): Only forward to model.
5528 (setMinimum): Only forward to model.
5529 (setValue): Only forward to model.
5530 (setVisibleAmount): Only forward to model.
5531 (setValues): Only forward to model.
5532 (setModel): Update the change listener.
5534 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5536 * java/util/Formatter.java (basicIntegralConversion): Removed
5537 check for ZERO && !LEFT_JUSTIFY.
5539 2006-09-20 Roman Kennke <kennke@aicas.com>
5542 * javax/swing/plaf/metal/DefaultMetalTheme.java
5543 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5544 (BOLD_CONTROL_TEXT_FONT): New constant field.
5545 (PLAIN_MENU_TEXT_FONT): New constant field.
5546 (BOLD_MENU_TEXT_FONT): New constant field.
5547 (controlTextFont): Removed.
5548 (menuTextFont): Removed.
5549 (CONTROL_TEXT_FONT): New constant field.
5550 (MENU_TEXT_FONT): New constant field.
5551 (getControlTextFont): Use getFont() helper method for fetching
5553 (getMenuTextFont): Use getFont() helper method for fetching
5555 (getFont): New helper method.
5556 (isBoldMetal): New helper method.
5558 2006-09-20 Casey Marshall <csm@gnu.org>
5560 * NEWS: mention epoll selector along with the kqueue one.
5562 2006-09-20 Casey Marshall <csm@gnu.org>
5564 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5565 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5567 2006-09-20 Francis Kung <fkung@redhat.com>
5570 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5571 (getGlyphTransform): Use translation instead of scale.
5572 (performDefaultLayout): Increment position values instead of resetting, and
5573 pre-increment instead of post-increment.
5574 (setGlyphTransform): Handle null case with identity transform.
5576 2006-09-20 Casey Marshall <csm@gnu.org>
5578 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5579 (AC_CHECK_FUNCS): check for `epoll_create.'
5580 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5581 * gnu/java/nio/EpollSelectorImpl.java: new file.
5582 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5584 (openSelector): return epoll selector if requested and available.
5585 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5586 (gnu_java_nio_EpollSelectorImpl.h): new target.
5587 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5588 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5589 gnu_java_nio_EpollSelectorImpl.c.
5590 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5592 2006-09-20 Casey Marshall <csm@gnu.org>
5594 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5596 (isConnected): return false if `connectionPending' is true.
5598 2006-09-20 Francis Kung <fkung@redhat.com>
5601 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5602 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5603 (getGlyphOutline): Call getGylphTransform to generate transform.
5604 (getGylphPosition): Read position directly out of array.
5605 (getGlyphPositions): Read positions directly out of array.
5606 (getGlyphTransform): Generate transform based on gylphPositions array.
5607 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5608 (setGlyphPosition): Set position directly into array.
5609 (setGlyphTransform): Update positions array as well.
5611 2006-09-20 David Daney <ddaney@avtrex.com>
5614 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5615 default content-type for POST method.
5617 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5619 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5620 (BasicRadioButtonUI): Don't fetch icon here,
5621 (installDefaults): Initialise icon here,
5622 (getDefaultIcon): Just return icon.
5624 2006-09-20 Mark Wielaard <mark@klomp.org>
5626 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5627 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5628 (EXTRA_DIST): Include javanio.c.
5630 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5632 * java/awt/geom/RoundRectangle2D.java:
5633 (getPathIterator): Reimplemented,
5634 and updated various API doc comments.
5636 2006-09-20 Roman Kennke <kennke@aicas.com>
5638 * java/awt/Container.java
5639 (addImpl): Set the new component's parent after it has been
5640 added to the array. Call addNotify() and invalidate()
5641 after the component has been added, so that the peer
5642 gets to know about the component structure when it is created.
5643 * java/awt/Window.java
5644 (dispatchEventImpl): Only revalidate when window is resized,
5645 let the other stuff be processed by the superclass.
5646 (dispose): Post WINDOW_CLOSED event only when some listener
5647 is registered or event is explicitly enabled.
5648 (show): Post WINDOW_OPENED event when appropriate.
5650 2006-09-20 Roman Kennke <kennke@aicas.com>
5652 * java/awt/Component.java
5653 (addNotify): Invalidate here. Fetch peer font.
5654 (getFont): Delegate to helper method, to protect from
5655 overriding client code. Lock the tree while fetching the font.
5656 (getFontImpl): New helper method. Moved code from getFont() in
5658 (removeNotify): Nullify peerFont too.
5659 (setFont): Synchronize on tree and component to avoid threading
5660 issues. Update the peerFont correctly.
5661 (validate): Update the peer font if necessary, before validating.
5662 (getGraphics): Revert to recursive graphics fetching.
5663 Set component font on the Graphics object.
5664 (translateEvent): Removed unnecessary cast.
5665 * java/awt/Container.java
5666 (invalidateTree): Made final and private. Made implementation
5667 slightly more efficient.
5668 (setFont): Get old and new font via getFont() to account for
5669 the real font, and only invalidate the tree when they are not
5670 the same and not equal.
5671 (visitChild): Set the font of the child on the component graphics.
5672 * java/awt/Frame.java
5673 (setMenuBar): Create local reference of peer for thread safety.
5674 Only call simple invalidate, not invalidateTree().
5676 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5679 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5680 (constructor): Copy image field.
5682 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5684 * javax/swing/JMenuBar.java
5685 (getHelpMenu): Implemented to throw an Error, and added API docs,
5686 (getMargin): Added API docs,
5687 (setMargin): Likewise.
5689 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5691 * javax/swing/AbstractButton.java
5692 (AbstractButton): Don't call updateUI(),
5693 * javax/swing/JButton.java
5694 (JButton(String, Icon)): Call setModel() before init(),
5695 * javax/swing/JMenuItem.java
5696 (JMenuItem()): Delegate to another constructor,
5697 (JMenuItem(Icon)): Likewise,
5698 (JMenuItem(Action)): Set model,
5699 (JMenuItem(String, Icon)): Likewise,
5700 * javax/swing/JToggleButton.java
5701 (init): Call setModel() before init().
5703 2006-09-19 Mark Wielaard <mark@klomp.org>
5706 * java/util/logging/LogManager.java (addLogger): Always check for
5707 existing children of a new Logger.
5709 2006-09-19 Roman Kennke <kennke@aicas.com>
5711 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5712 (HSBChangeListener.stateChanged): Moved handling of header to
5713 syncScrollPaneWithViewport().
5714 (VSBChangeListener.stateChanged): Moved handling of header to
5715 syncScrollPaneWithViewport().
5716 (ViewportChangedHandler.stateChanged): Removed unused statements.
5717 (syncScrollPaneWithViewport): Added null checks. Use setValues
5718 rather then the single setter methods to avoid multiple
5719 adjustments and side effects. Also snyc the headers here.
5720 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5721 (uninstallUI): Removed unnecessary cast and this qualifier as well
5722 as the call to super.
5724 2006-09-19 Gary Benson <gbenson@redhat.com>
5726 * java/net/ResolverCache.java: New class (a DNS cache).
5727 * java/net/InetAddress.java
5728 (internalGetCanonicalHostName, getAllByName): Use the above.
5730 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5732 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5733 * java/net/ServerSocket.java
5735 (bind): Set port field.
5736 (close): Set impl to null.
5737 (isClosed): Check impl and channel instead of using VMChannel.
5738 (toString): Use port field and getLocalPort() method.
5739 * java/net/Socket.java
5740 (isClosed): Check impl and channel instead of using VMChannel.
5742 2006-09-18 Tom Tromey <tromey@redhat.com>
5744 * java/util/concurrent/CopyOnWriteArrayList.java
5745 (CopyOnWriteArrayList): New constructor.
5747 2006-09-18 Casey Marshall <csm@gnu.org>
5749 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5750 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5752 2006-09-18 Tom Tromey <tromey@redhat.com>
5754 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5755 isConnected): Removed old comment.
5756 (getRemoteSocketAddress): Uncommented.
5757 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5758 setTrafficClass, getTrafficClass, setReuseAddress,
5759 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5760 isOutputShutdown): Uncommented.
5762 2006-09-18 David Pirkle <dpirkle@symyx.com>
5765 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5766 input stream during resolution.
5768 2006-09-18 Roman Kennke <kennke@aicas.com>
5770 * java/awt/LightweightDispatcher.java
5771 (findTarget): Correctly translate child coordinates.
5772 Use Component.eventTypeEnabled() for checking if a component
5773 has a certain event enabled.
5774 (handleMouseEvent): Find the correct mouse event target.
5775 Use Component.eventTypeEnabled() for checking if a component
5776 has a certain event enabled.
5778 2006-09-18 Roman Kennke <kennke@aicas.com>
5780 * java/awt/Component.java
5781 (show): Test for the peer beeing lightweight directly.
5782 (paintAll): Validate before painting. Don't paint when not
5783 showing. Call peer.paint() when the component is heavyweight.
5784 (repaint): Delegate to the parent when lightweight, rather
5785 than skipping to the nearest heavyweight.
5786 (createImage): Added null check to prevent NPE.
5787 (dispatchEvent): Moved old event dispatching and toolkit
5788 event dispatching to dispatchEventImpl.
5789 (addComponentListener): Don't enable event. Only add listener
5790 when not null. Switch to new event dispatching only.
5791 (addFocusListener): Likewise.
5792 (addHierarchyListener): Likewise.
5793 (addHierarchyBoundsListener): Likewise.
5794 (addKeyListener): Likewise.
5795 (addMouseListener): Likewise.
5796 (addMouseMotionListener): Likewise.
5797 (addMouseWheelListener): Likewise.
5798 (addInputMethodListener): Likewise.
5799 (coalesceEvents): For mouse events coalesce them only when
5800 their modifiers are equal. For paint events coalesce the events
5801 when one contains the other, without going through complicated
5803 (dispatchEventImpl): Moved old event dispatching and toolkit
5804 event dispatching to dispatchEventImpl.
5805 (coalescePaintEvents): Removed.
5806 (HeavyweightInLightweightListener.componentHidden):
5808 * java/awt/Container.java
5809 (addImpl): Don't enable events on lightweights.
5810 (remove): Reordered operations. Don't remove any listeners.
5811 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5812 Only removeNotify() when peer is != null. Only invalidate if
5813 not already invalid. Only fire ContainerEvent if there is
5814 an interested listener or the event is enabled. Dispatch this
5815 event directly without the event queue.
5816 (removeAll): Likewise.
5817 (paintComponents): Only paint when showing. Also paint heavyweights.
5818 Don't paint the container itself.
5819 (removeNotify): Create local variables for improved thread safety.
5820 (addNotifyContainerChildren): Don't enable events for lightweights.
5822 2006-09-18 Roman Kennke <kennke@aicas.com>
5824 * java/awt/EventQueue.java
5825 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5826 (next_in): Removed obsolete field.
5827 (next_out): Removed obsolete field.
5828 (queueHead): New field. Markes the head of the queue.
5829 (queueTail): New field. Markes the tail of the queue.
5830 (queue): Removed obsolete field.
5831 (EventQueue): Documented empty block.
5832 (getNextEvent): Changed array based implementation to single-linked
5833 list based implementation.
5834 (invokeAndWait): Use an Object as synchronization object rather
5835 than the current thread.
5836 (peekEvent(int)): Changed array based implementation to single-linked
5837 list based implementation.
5838 (peekEvent()): Changed array based implementation to single-linked
5839 list based implementation.
5840 (pop()): Changed array based implementation to single-linked
5841 list based implementation.
5842 (postEvent): Foward to postEventImpl.
5843 (postEventImpl): Changed array based implementation to single-linked
5844 list based implementation.
5845 (push): Changed array based implementation to single-linked
5846 list based implementation.
5847 * java/awt/AWTEvent.java
5848 (queueNext): New field. Implements a single-linked list for
5851 2006-09-17 Mark Wielaard <mark@klomp.org>
5853 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5854 resource from HTMLEditorKit.class.
5856 2006-09-17 Mark Wielaard <mark@klomp.org>
5858 * javax/swing/plaf/basic/BasicToolBarUI.java
5859 (setBorderToNonRollover): Check whether border is null.
5860 (setBorderToRollover): Likewise.
5862 2006-09-17 Mark Wielaard <mark@klomp.org>
5864 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5866 2006-09-17 Mark Wielaard <mark@klomp.org>
5868 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5869 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5870 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5871 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5872 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5874 2006-09-17 Casey Marshall <csm@gnu.org>
5876 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5879 2006-09-17 Chris Burdess <dog@gnu.org>
5881 Fixes PR 27610 27687.
5882 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5883 * gnu/xml/transform/SAXTemplatesHandler.java,
5884 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5885 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5886 SAXTransformerFactory.
5888 2006-09-16 Casey Marshall <csm@gnu.org>
5891 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5892 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5894 (HAVE_INET6): define if IPv6 is supported.
5895 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5896 (native_fd): removed.
5898 (<init>): throw IOException; initialize fields.
5899 (finalize): removed.
5900 (getNativeFD): removed.
5901 (bind): use `PlainSocketImpl.bind.'
5902 (create): use `PlainSocketImpl.initSocket.'
5903 (disconnect): use `PlainSocketImpl.disconnect.'
5904 (getLocalPort): new method.
5905 (send): use `VMChannel.send.'
5906 (receive): use `VMChannel.receive.'
5907 (setOption): use `PlainSocketImpl.setOption.'
5908 (getOption): use `PlainSocketImpl.getOption.'
5909 (close): use `VMChannel.State.close.'
5910 (join): use `PlainSocketImpl.join.'
5911 (leave): use `PlainSocketImpl.leave.'
5912 (joinGroup, leaveGroup): implemented.
5913 * gnu/java/net/PlainSocketImpl.java: make non-final.
5914 (native_fd): removed.
5916 (channel): new field.
5917 (<init>): initialize `impl.'
5918 (finalize, getNativeFD): removed.
5919 (setOption): use `PlainSocketImpl.setOption.'
5920 (getOption): use `PlainSocketImpl.getOption.'
5921 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5922 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5923 (create): create `channel,' initialize `impl's native state.
5924 (connect): use `connect(SocketAddress, int).'
5925 (connect): use `SocketChannelImpl.connect;' initialize `address'
5927 (bind): use `VMPlainSocketImpl.bind.'
5928 (listen): use `VMPlainSocketImpl.listen.'
5929 (accept): use `SocketChannelImpl.accept.'
5930 (available): use `VMChannel.available.'
5931 (close): use `PlainSocketImpl.close.'
5932 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5933 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5934 getPort): new methods.
5935 (SocketInputStream.read): use `VMChannel.read.'
5936 (SocketInputStream.read): use `SocketChannel.read.'
5937 (SocketOutputStream.write): use `VMChannel.write.'
5938 (SocketOutputStream.write): use `SocketChannel.write.'
5939 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5940 (channel): new field.
5941 (<init>): initialize `channel.'
5942 (implCloseSelectableChannel): use `VMChannel.close.'
5943 (implConfigureBlocking): use `VMChannel.setBlocking.'
5944 (connect): use `VMChannel.connect.'
5945 (disconnect): use `VMChannel.disconnect.'
5946 (isConnected): use `VMChannel.getPeerAddress.'
5947 (write): use `VMChannel.write.'
5948 (write): use `VMChannel.writeGathering.'
5949 (read): use `VMChannel.read.'
5950 (read): use `VMChannel.readScattering.'
5951 (receive): use `VMChannel.receive.'
5952 (send): use `VMChannel.send.'
5953 (getVMChannel): new method.
5954 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5955 access native FD through VMChannel.State.
5956 * gnu/java/nio/FileChannelImpl.java: moved from
5957 gnu/java/nio/channels/FileChannelImpl.java.
5958 * gnu/java/nio/FileLockImpl.java: fix imports.
5959 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5960 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5961 * gnu/java/nio/NIOSocket.java (impl): removed.
5962 (channel): new field.
5963 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5964 (getPlainSocketImpl, setChannel): removed.
5965 (isConnected): new method.
5966 * gnu/java/nio/NIOSocketImpl.java: new file.
5967 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5969 (SourceChannelImpl.native_fd): removed.
5970 (SourceChannelImpl.<init>): init with a `VMChannel.'
5971 (SourceChannelImpl.getNativeFD): removed.
5972 (SourceChannelImpl.getVMChannel): new method.
5973 (SourceChannelImpl.implCloseSelectableChannel): implement.
5974 (SinkChannelImpl): implement `VMChannelOwner.'
5975 (SinkChannelImpl.native_fd): removed.
5976 (SinkChannelImpl.<init>): init with a `VMChannel.'
5977 (SinkChannelImpl.implCloseSelectableChannel): implement.
5978 (SinkChannelImpl.getNativeFD): removed.
5979 (SinkChannelImpl.getVMChannel): new method.
5980 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5982 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5983 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5984 (openSelector): return kqueue selector if available.
5985 * gnu/java/nio/ServerSocketChannelImpl.java: implement
5987 (channel): new field.
5988 (<init>): init `channel.'
5989 (finalizer): check if the `VMChannel.State' is valid.
5990 (implCloseSelectableChannel): use `VMChannel.close.'
5991 (implConfigureBlocking): use `VMChannel.setBlocking.'
5992 (accept): use `VMChannel.accept.'
5993 (getVMChannel): new method.
5994 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5995 access native FD through `VMChannel.State.'
5996 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5998 (channel, connected, connectAddress): new field.
5999 (<init>): new constructors.
6000 (getPlainSocketImpl): removed.
6001 (implCloseSelectableChannel): use `VMChannel.close.'
6002 (implConfigureBlocking): use `VMChannel.setBlocking.'
6003 (connect): use `connect(SocketAddress,int).'
6004 (connect): use `VMChannel.connect.'
6005 (finishConnect): don't use a selector.
6006 (isConnected): use `VMChannel.getPeerAddress.'
6007 (read): use `VMChannel.read.'
6008 (read): use `VMChannel.readScattering.'
6009 (write): use `VMChannel.write.'
6010 (write): use `VMChannel.writeGathering.'
6011 (getVMChannel): new method.
6012 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6013 native FD from `VMChannel.State.'
6014 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6015 get native FD from `VMChannel.State.'
6016 * gnu/java/nio/VMChannelOwner.java: new file.
6017 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6018 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6019 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6020 `gnu_java_nio_channels_FileChannelImpl.h.'
6021 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6022 * include/gnu_java_nio_FileChannelImpl.h: new file.
6023 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6024 * include/gnu_java_nio_VMChannel.h: regenerated.
6025 * include/gnu_java_nio_VMPipe.h: regenerated.
6026 * include/java_net_VMNetworkInterface.h: regenerated.
6027 * java/io/FileDescriptor.java: fix imports.
6028 * java/io/FileInputStream.java (<init>): handle exceptions.
6029 (read): wrap the destination arary.
6030 * java/io/FileOutputStream.java (<init>): handle exceptions.
6031 (write): wrap the source array.
6032 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6033 * java/net/DatagramSocket.java (<init>): handle exceptions.
6034 (receive): handle length/port setting.
6035 (connect): bind to any address/port if the argument is null.
6036 * java/net/NetworkInterface.java (name, inetAddress): removed.
6038 (<init>): make private.
6039 (getName): return `netif.name.'
6040 (getInetAddresses): access `netif.addresses.'
6041 (getDisplayName): return `netif.name.'
6042 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6043 (condense): removed.
6044 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6045 (equals): compare `netif' fields.
6046 (hashCode): get hash codes from `netif.'
6047 (toString): use a StringBuffer.
6048 * java/net/ServerSocket.java (close): don't set `impl' to null.
6049 (isClosed): use `VMChannel.State.isClosed.'
6050 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6051 the `SocketImpl' is a `PlainSocketImpl.'
6052 (close): just close the `impl.'
6053 (toString): use `super.toString' in the value we return.
6054 (isConnected): just access `impl,' not `getImpl.'
6055 (isBound): use `PlainSocketImpl' methods if we can.
6056 (isClosed): look at `VMChannel.State.'
6057 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6058 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6059 an exception if they were not.
6060 (JCL_GetRawData): throw an exception if cached fields weren't
6062 * native/jni/java-lang/java_lang_VMProcess.c: handle
6063 FileChannelImpl move.
6064 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6065 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6066 THROW_NO_NETWORK): new macros.
6067 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6068 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6069 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6070 (java_sockopt): new enum.
6071 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6072 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6073 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6075 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6077 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6079 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6080 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6081 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6082 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6083 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6084 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6085 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6086 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6087 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6088 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6089 (getif_address): new function.
6090 (getif_index): new function.
6091 * native/jni/java-net/java_net_VMNetworkInterface.c
6092 (java_net_VMNetworkInterface_init,
6093 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6094 (Java_java_net_VMNetworkInterface_initIds): new function.
6095 (struct netif_entry): new struct.
6096 (free_netif_list): new function.
6097 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6098 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6099 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6100 gnu_java_nio_channels_FileChannelImpl.c, add
6101 gnu_java_nio_KqueueSelectorImpl.c.
6102 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6103 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6104 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6105 ALIGN_DOWN): new macros.
6106 (JCL_init_buffer): get the address through GetDirectBufferAddress
6108 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6109 Java_gnu_java_nio_VMChannel_stdout_1fd,
6110 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6111 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6113 (Java_gnu_java_nio_VMChannel_read): renamed...
6114 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6115 this; handle interrupted IO; add HAVE_READ check.
6116 (Java_gnu_java_nio_VMChannel_write): renamed...
6117 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6118 this; handle zero-length write; add HAVE_WRITE check.
6119 (Java_gnu_java_nio_VMChannel_receive): new function.
6120 (Java_gnu_java_nio_VMChannel_send): new function.
6121 (Java_gnu_java_nio_VMChannel_send6): new function.
6122 (Java_gnu_java_nio_VMChannel_read__I): new function.
6123 (Java_gnu_java_nio_VMChannel_write__II): new function.
6124 (Java_gnu_java_nio_VMChannel_socket): new function.
6125 (Java_gnu_java_nio_VMChannel_connect): new function.
6126 (Java_gnu_java_nio_VMChannel_connect6): new function.
6127 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6128 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6129 (Java_gnu_java_nio_VMChannel_accept): new function.
6130 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6131 (Java_gnu_java_nio_VMChannel_close): new function.
6132 (Java_gnu_java_nio_VMChannel_available): new function.
6133 (FileChannel_mode): new enum.
6134 (Java_gnu_java_nio_VMChannel_open): new function.
6135 (Java_gnu_java_nio_VMChannel_position): new function.
6136 (Java_gnu_java_nio_VMChannel_seek): new function.
6137 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6138 (Java_gnu_java_nio_VMChannel_lock): new function.
6139 (Java_gnu_java_nio_VMChannel_unlock): new function.
6140 (Java_gnu_java_nio_VMChannel_size): new function.
6141 (Java_gnu_java_nio_VMChannel_map): new function.
6142 (Java_gnu_java_nio_VMChannel_flush): new function.
6143 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6144 (Java_gnu_java_nio_VMPipe_init): removed.
6145 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6146 * native/jni/java-nio/javanio.c: new file.
6147 * native/jni/java-nio/javanio.h: new file.
6148 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6149 systems without `gethostbyname_r.'
6150 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6152 (<init>, <init>): new constructors.
6153 (setOption, getOption): make instance methods; defer to native
6156 (bind): make an instance method; defer to native methods.
6158 (available): removed.
6159 (listen): make an instance method; defer to native method.
6161 (join, leave): new methods.
6163 (joinGroup, leaveGroup): new methods.
6164 (shutdownInput, shutdownOutput): make instance methods.
6165 (sendUrgentData): removed.
6167 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6170 (<init>): new, public constructors.
6171 (getVMChannel): methods removed.
6172 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6173 stderr_fd): new methods.
6174 (setBlocking): make an instance method.
6175 (available): new method.
6176 (read): get native fd from `nfd.'
6177 (read): new single-byte read method.
6178 (readScattering): get native fd from `nfd.'
6179 (receive): new method.
6180 (write, writeGathering): get native fd from `nfd.'
6182 (write): new single-byte write method.
6183 (initSocket): new method.
6184 (connect): new method.
6185 (disconnect): new method.
6186 (getLocalAddress): new method.
6187 (getPeerAddress): new method.
6188 (accept): new method.
6189 (openFile): new method.
6190 (position): new method.
6192 (truncate): new method.
6194 (unlock): new method.
6197 (flush): new method.
6198 (close): new method.
6201 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6202 (pipe, pipe0): new method.
6203 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6205 (<clinit>): call `initIds.'
6206 (initIds): new method.
6207 (getInterfaces): removed.
6208 (getVMInterfaces): new method.
6209 (addAddress): new method.
6210 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6212 2006-09-16 Chris Burdess <dog@gnu.org>
6215 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6216 when in text output mode.
6218 2006-09-16 Chris Burdess <dog@gnu.org>
6221 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6223 2006-09-14 Michael Koch <konqueror@gmx.de>
6225 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6227 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6229 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6230 Added !cl.isArray() to serialVersionUID mismatch check.
6232 2006-09-14 Francis Kung <fkung@redhat.com>
6234 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6235 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6236 be compatibe with Cairo 1.2.x.
6238 2006-09-14 Francis Kung <fkung@redhat.com>
6240 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6241 (cairoSurfaceSetFilter): Removed method.
6242 (drawImage): Pass interpolation type as argument to drawing methods.
6243 (drawPixels): Added interpolation parameter.
6244 (drawRaster): Pass interpolation type as argument to drawing method.
6245 (getInterpolation): New method.
6246 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6247 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6248 * gnu/java/awt/peer/gtk/CairoSurface.java
6249 (drawSurface): Added interpolation parameter.
6250 (nativeDrawSurface): Added interpolation parameter.
6251 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6252 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6254 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6255 * native/jni/gtk-peer/cairographics2d.h
6256 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6257 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6258 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6260 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6261 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6262 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6263 interpolation parameter.
6265 2006-09-14 Gary Benson <gbenson@redhat.com>
6267 * java/net/InetAddress.java
6268 (internalGetCanonicalHostName): New method.
6269 (getCanonicalHostName): Use internalGetCanonicalHostName.
6270 (getByLiteral): New method.
6271 (getAllByName): Use getByLiteral.
6272 * java/net/SocketPermission.java
6273 (host): Replaced with...
6274 (hostname, address): New fields.
6275 (equals, hashcode): Reflect the above.
6276 (setHostPort): Parse host into hostname or address.
6277 (implies): Rewrite host checks.
6279 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6282 * java/awt/Menu.java
6283 (insert(MenuItem, int)): Fixed loop range,
6284 (insert(String, int)): Updated API docs.
6286 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6289 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6290 architectures (like Arm).
6291 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6292 Reverted SWAP_DOUBLE patch.
6293 (doubleToRawLongBits): Likewise.
6294 (longBitsToDouble): Likewise.
6296 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6298 * java/awt/Menu.java: Reformatted source file.
6300 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6302 * gnu/java/rmi/server/ActivatableRef.java
6303 (readExternal, writeExternal): Partial fix for serialization format.
6305 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6308 * java/io/InputStreamReader.java
6309 (read(char[],int,int)): Fixed bug.
6311 2006-09-13 Francis Kung <fkung@redhat.com>
6313 * java/awt/image/BandCombineOp.java: Updated documentation.
6314 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6316 2006-09-13 Tom Tromey <tromey@redhat.com>
6319 * java/io/PipedReader.java (read): Return early if len==0.
6320 * java/io/PipedInputStream.java (read): Return early if len==0.
6322 2006-09-13 Francis Kung <fkung@redhat.com>
6324 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6325 Removed hard-coded max sample value.
6326 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6327 Fixed finding of max sample value.
6329 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6331 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6332 (setPaint): Check null argument ('p').
6334 2006-09-12 Francis Kung <fkung@redhat.com>
6337 * gnu/java/awt/java2d/TexturePaintContext.java
6338 (constructor): Fixed typo, getMinY instead of getMaxX.
6339 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6340 (setPaint): Implemented support for custom Paint classes.
6341 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6342 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6343 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6344 to setPaintPixels, and added repeat parameter.
6345 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6346 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6348 2006-09-12 Gary Benson <gbenson@redhat.com>
6350 * java/net/NetworkInterface.java (getInetAddresses):
6351 Fix port used in security check.
6353 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6355 * javax/swing/plaf/metal/DefaultMetalTheme.java
6356 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6357 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6358 (getControlTextFont): Check 'swing.boldMetal' setting before
6360 (getMenuTextFont): Likewise.
6362 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6364 * javax/swing/plaf/metal/OceanTheme.java
6365 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6367 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6369 * javax/swing/plaf/metal/MetalIconFactory.java
6370 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6372 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6374 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6376 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6378 * javax/swing/AbstractButton.java
6379 (AbstractButton): Initialise textIconGap field.
6381 2006-09-11 Tom Tromey <tromey@redhat.com>
6383 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6384 "volatile" when needed.
6386 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6388 * java/text/AttributedCharacterIterator.java
6389 (LANGUAGE): Initialise with lower case string,
6390 (INPUT_METHOD_SEGMENT): Likewise,
6391 (READING): Likewise,
6392 * java/text/AttributedStringIterator.java
6393 (getRunLimit): Check all attributes for changes.
6395 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6397 * java/text/AttributedCharacterIterator.java: Added @since tag,
6398 renamed some variables (no underscores) and removed some spaces to
6399 match the common style,
6400 * java/text/AttributedString.java: Likewise,
6401 * java/text/AttributedStringIterator.java: Likewise.
6403 2006-09-11 Gary Benson <gbenson@redhat.com>
6405 * java/net/Inet4Address.java
6406 (FAMILY): Renamed back to AF_INET.
6407 (<init>, writeReplace): Reflect the above.
6408 * java/net/Inet6Address.java
6409 (FAMILY): Renamed back to AF_INET6.
6410 (<init>): Reflect the above.
6412 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6415 * java/text/AttributedString.java
6416 (AttributedString(AttributedCharacterIterator, int, int,
6417 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6420 2006-09-11 Gary Benson <gbenson@redhat.com>
6422 * java/net/Inet4Address.java
6423 (AF_INET): Renamed to FAMILY.
6424 (<init>, writeReplace): Reflect the above.
6425 * java/net/Inet6Address.java
6426 (AF_INET6): Renamed to FAMILY.
6427 (<init>): Reflect the above.
6429 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6432 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6433 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6434 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6435 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6436 (bind): Call getImpl().create(true).
6438 2006-09-09 Chris Burdess <dog@gnu.org>
6440 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6441 an instance of org.w3c.dom.NodeList.
6443 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6445 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6446 missing security manager when run in standalone mode.
6448 2006-09-08 Francis Kung <fkung@redhat.com>
6450 * java/awt/image/AffineTransformOp.java: Updated documentation.
6451 (createCompatibleDestRaster): Updated formatting.
6452 (filter(BufferedImage, BufferedImage)): Updated formatting.
6453 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6454 if colour model is compatible.
6455 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6456 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6458 2006-09-08 Gary Benson <gbenson@redhat.com>
6460 * java/net/InetAddress.java
6461 (family): Updated javadoc and made private.
6462 (<init>): Add an address family argument.
6463 (readObject): Don't overwrite family.
6464 * java/net/Inet4Address.java
6465 (AF_INET): New constant.
6466 (<init>): Use AF_INET as the family.
6467 (writeReplace): Likewise.
6468 * java/net/Inet6Address.java
6469 (AF_INET6): New constant.
6470 (<init>): Use AF_INET6 as the family.
6472 2006-09-08 Gary Benson <gbenson@redhat.com>
6474 * java/net/InetAddress.java
6475 (getHostName): Move lookup into getCanonicalHostName.
6476 (getCanonicalHostName): Move lookup from getHostName,
6477 Perform security check on canonical name (ie after lookup).
6479 2006-09-08 Gary Benson <gbenson@redhat.com>
6481 * java/net/Inet4Address.java (isMulticastAddress,
6482 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6483 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6484 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6485 implementations from InetAddress.
6486 * java/net/InetAddress.java (isMulticastAddress,
6487 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6488 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6489 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6490 implementations with UnsupportedOperationExceptions.
6492 2006-09-08 Gary Benson <gbenson@redhat.com>
6494 * java/net/InetAddress.java
6495 (inaddr_any): Removed.
6496 (ANY_IF, LOCALHOST): Create using getByAddress.
6497 (<init>): Updated javadoc.
6498 (getHostName): Cache hostname even if the lookup failed.
6499 (getByAddress): Create Inet4Address objects when passed
6500 IPv4-mapped IPv6 addresses.
6502 (getAllByName): Create address objects using getByAddress.
6503 Do not perform security checks unless actually required.
6504 Do not strip whitespace from the hostname.
6505 (getInaddrAny): Removed.
6506 (getLocalHost): Return the loopback address if getByName
6507 throws a SecurityException.
6508 (readResolve): Updated javadoc.
6509 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6510 * include/java_net_VMInetAddress.h
6511 (Java_java_net_VMInetAddress_aton): Likewise.
6512 * native/jni/java-net/java_net_VMInetAddress.c
6513 (Java_java_net_VMInetAddress_aton): New method.
6514 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6515 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6516 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6517 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6518 * NEWS: Added note about updated VM interface.
6520 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6522 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6523 (setNorthPane): Assign component to titlePane.
6525 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6527 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6528 Remove unused variable alt_addr.
6529 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6530 Remove unused variables.
6532 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6534 * javax/swing/plaf/metal/MetalScrollBarUI.java
6535 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6536 (createDecreaseButton): Don't fetch scrollBarWidth here,
6537 (createIncreaseButton): Likewise.
6539 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6541 * java/awt/image/MemoryImageSource.java: Added API docs.
6543 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6545 * javax/swing/plaf/basic/BasicScrollBarUI.java
6546 (installDefaults): Call configureScrollBarColors().
6548 2006-09-06 Francis Kung <fkung@redhat.com>
6550 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6551 (constructor): Make copy of arrays.
6552 (createCompatibleDestImage): Changed treatment of null ColorModel.
6553 (filter(BufferedImage, BufferedImage)): Re-implemented.
6554 (filter(Raster, WritableRaster, boolean[])): New method.
6555 (filter(Raster, WritableRaster)): Re-implemented.
6556 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6557 (getPoint2D): Cleaned up formatting.
6558 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6560 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6562 * javax/swing/UIManager.java
6563 (getBoolean(Object)): Reimplemented,
6564 (getBoolean(Object, Locale)): Likewise,
6565 (getBorder(Object)): Likewise,
6566 (getBorder(Object, Locale)): Likewise,
6567 (getColor(Object)): Likewise,
6568 (getColor(Object, Locale)): Likewise,
6569 (getDimension(Object)): Likewise,
6570 (getDimension(Object, Locale)): Likewise,
6571 (getFont(Object)): Likewise,
6572 (getFont(Object, Locale)): Likewise,
6573 (getIcon(Object)): Likewise,
6574 (getIcon(Object, Locale)): Likewise,
6575 (getInsets(Object)): Updated API docs,
6576 (getInsets(Object, Locale)): Likewise,
6577 (getInt(Object)): Reimplemented,
6578 (getInt(Object, Locale)): Likewise,
6579 (getString(Object)): Likewise,
6580 (getString(Object, Locale)): Likewise.
6582 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6584 * javax/swing/UIManager.java
6585 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6586 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6588 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6590 * javax/swing/plaf/metal/MetalLookAndFeel.java
6591 (initComponentDefaults): Corrected various font defaults.
6593 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6595 * java/awt/List.java: Added @since to various methods.
6597 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6599 * native/jni/native-lib/cpprocess.c:
6600 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6601 Add redirection of stdout to stderr.
6602 * native/jni/native-lib/cpprocess.h:
6603 Added redirect argument.
6604 * native/jni/java-lang/java_lang_VMProcess.c
6605 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6606 * vm/reference/java/lang/VMProcess.java: Likewise.
6607 * include/java_lang_VMProcess.h: Regenerated.
6609 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6611 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6612 __attribute to __attribute__.
6614 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6617 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6619 * java/awt/List.java: Source code reformatted.
6621 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6623 * gnu/CORBA/CollocatedOrbs.java,
6624 gnu/CORBA/SafeForDirectCalls.java: New files.
6625 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6626 Implement gnu.CORBA.SafeForDirectCalls.
6627 * gnu/CORBA/NamingService/Ext.java: Likewise.
6628 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6629 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6630 of the local host. (ior_to_object): Return the local object
6631 where possible. (run): Register/unregister this ORB.
6632 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6633 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6634 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6635 (constructors): Initialize noRetain. (_invoke): Drop servant
6636 if noRetain is true. (getHandler): Always seach for the new servant
6637 if noRetain is true.
6638 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6639 * NEWS: Added note about the new feature.
6641 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6643 * java/awt/Choice.java
6644 (addItem): Fixed API doc glitch.
6646 2006-09-05 Francis Kung <fkung@redhat.com>
6648 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6649 (createCompatibleDestImage): Re-implemented.
6650 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6651 compatibility, and use ColorConvertOp for color conversion if needed.
6652 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6654 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6656 gnu/CORBA/CDR/Vio.java,
6657 org/omg/CORBA_2_3/ORB.java,
6658 org/omg/CORBA_2_3/portable/InputStream.java,
6659 org/omg/CORBA_2_3/portable/OutputStream.java,
6660 org/omg/CosNaming/BindingIteratorHelper.java,
6661 org/omg/CosNaming/BindingTypeHelper.java,
6662 org/omg/CosNaming/NameComponentHelper.java,
6663 org/omg/CosNaming/NameHelper.java,
6664 org/omg/CosNaming/NamingContextExtHelper.java,
6665 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6666 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6667 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6668 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6669 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6670 org/omg/CosNaming/NamingContextHelper.java,
6671 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6672 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6673 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6674 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6675 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6676 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6677 org/omg/DynamicAny/AnySeqHelper.java,
6678 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6679 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6680 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6681 org/omg/DynamicAny/DynAnyHelper.java,
6682 org/omg/DynamicAny/DynAnyOperations.java,
6683 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6684 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6685 org/omg/DynamicAny/DynAnySeqHelper.java,
6686 org/omg/DynamicAny/DynArrayHelper.java,
6687 org/omg/DynamicAny/DynEnumHelper.java,
6688 org/omg/DynamicAny/DynFixedHelper.java,
6689 org/omg/DynamicAny/DynSequenceHelper.java,
6690 org/omg/DynamicAny/DynStructHelper.java,
6691 org/omg/DynamicAny/DynStructOperations.java,
6692 org/omg/DynamicAny/DynUnionHelper.java,
6693 org/omg/DynamicAny/DynValueHelper.java,
6694 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6695 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6696 org/omg/IOP/CodecFactoryHelper.java,
6697 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6698 org/omg/IOP/CodecOperations.java,
6699 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6700 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6701 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6702 org/omg/IOP/ComponentIdHelper.java,
6703 org/omg/IOP/ExceptionDetailMessage.java,
6704 org/omg/IOP/MultipleComponentProfileHelper.java,
6705 org/omg/IOP/ProfileIdHelper.java,
6706 org/omg/IOP/ServiceContextListHelper.java,
6707 org/omg/IOP/ServiceIdHelper.java,
6708 org/omg/IOP/TAG_CODE_SETS.java,
6709 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6710 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6711 org/omg/PortableInterceptor/CurrentHelper.java,
6712 org/omg/PortableInterceptor/IORInfo.java,
6713 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6714 org/omg/PortableInterceptor/ORBIdHelper.java,
6715 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6716 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6717 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6718 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6719 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6720 org/omg/PortableInterceptor/RequestInfoOperations.java,
6721 org/omg/PortableInterceptor/ServerIdHelper.java,
6722 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6723 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6724 org/omg/PortableServer/AdapterActivatorOperations.java,
6725 org/omg/PortableServer/CurrentHelper.java,
6726 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6727 org/omg/PortableServer/ForwardRequestHelper.java,
6728 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6729 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6730 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6731 org/omg/PortableServer/LifespanPolicyValue.java,
6732 org/omg/PortableServer/POA.java,
6733 org/omg/PortableServer/POAHelper.java,
6734 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6735 org/omg/PortableServer/POAManagerPackage/State.java,
6736 org/omg/PortableServer/POAOperations.java,
6737 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6738 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6739 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6740 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6741 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6742 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6743 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6744 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6745 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6746 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6747 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6748 org/omg/PortableServer/ServantActivatorHelper.java,
6749 org/omg/PortableServer/ServantLocatorHelper.java,
6750 org/omg/PortableServer/ServantLocatorOperations.java,
6751 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6752 org/omg/PortableServer/ThreadPolicyValue.java,
6753 org/omg/PortableServer/_ServantActivatorStub.java,
6754 org/omg/PortableServer/_ServantLocatorStub.java,
6755 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6757 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6759 * javax/rmi/CORBA/Tie.java,
6760 org/omg/CORBA/AnyHolder.java,
6761 org/omg/CORBA/AnySeqHelper.java,
6762 org/omg/CORBA/AnySeqHolder.java,
6763 org/omg/CORBA/BooleanHolder.java,
6764 org/omg/CORBA/BooleanSeqHelper.java,
6765 org/omg/CORBA/BooleanSeqHolder.java,
6766 org/omg/CORBA/ByteHolder.java,
6767 org/omg/CORBA/CharHolder.java,
6768 org/omg/CORBA/CharSeqHelper.java,
6769 org/omg/CORBA/CharSeqHolder.java,
6770 org/omg/CORBA/Context.java,
6771 org/omg/CORBA/CurrentHelper.java,
6772 org/omg/CORBA/CustomValue.java,
6773 org/omg/CORBA/DataOutputStream.java,
6774 org/omg/CORBA/DefinitionKindHelper.java,
6775 org/omg/CORBA/DomainManagerOperations.java,
6776 org/omg/CORBA/DoubleHolder.java,
6777 org/omg/CORBA/DoubleSeqHelper.java,
6778 org/omg/CORBA/DoubleSeqHolder.java,
6779 org/omg/CORBA/DynAny.java,
6780 org/omg/CORBA/DynSequence.java,
6781 org/omg/CORBA/DynValue.java,
6782 org/omg/CORBA/DynamicImplementation.java,
6783 org/omg/CORBA/FieldNameHelper.java,
6784 org/omg/CORBA/FixedHolder.java,
6785 org/omg/CORBA/FloatHolder.java,
6786 org/omg/CORBA/FloatSeqHelper.java,
6787 org/omg/CORBA/FloatSeqHolder.java,
6788 org/omg/CORBA/IdentifierHelper.java,
6789 org/omg/CORBA/IntHolder.java,
6790 org/omg/CORBA/LocalObject.java,
6791 org/omg/CORBA/LongHolder.java,
6792 org/omg/CORBA/LongLongSeqHelper.java,
6793 org/omg/CORBA/LongLongSeqHolder.java,
6794 org/omg/CORBA/LongSeqHelper.java,
6795 org/omg/CORBA/LongSeqHolder.java,
6796 org/omg/CORBA/ORB.java,
6797 org/omg/CORBA/ObjectHelper.java,
6798 org/omg/CORBA/ObjectHolder.java,
6799 org/omg/CORBA/OctetSeqHelper.java,
6800 org/omg/CORBA/OctetSeqHolder.java,
6801 org/omg/CORBA/PolicyErrorCodeHelper.java,
6802 org/omg/CORBA/PolicyErrorHelper.java,
6803 org/omg/CORBA/PolicyHelper.java,
6804 org/omg/CORBA/PolicyListHelper.java,
6805 org/omg/CORBA/PolicyTypeHelper.java,
6806 org/omg/CORBA/PrincipalHolder.java,
6807 org/omg/CORBA/RepositoryIdHelper.java,
6808 org/omg/CORBA/Request.java,
6809 org/omg/CORBA/ShortHolder.java,
6810 org/omg/CORBA/ShortSeqHelper.java,
6811 org/omg/CORBA/ShortSeqHolder.java,
6812 org/omg/CORBA/StringSeqHelper.java,
6813 org/omg/CORBA/StringSeqHolder.java,
6814 org/omg/CORBA/ULongLongSeqHelper.java,
6815 org/omg/CORBA/ULongLongSeqHolder.java,
6816 org/omg/CORBA/ULongSeqHelper.java,
6817 org/omg/CORBA/ULongSeqHolder.java,
6818 org/omg/CORBA/UShortSeqHelper.java,
6819 org/omg/CORBA/UShortSeqHolder.java,
6820 org/omg/CORBA/ValueBaseHelper.java,
6821 org/omg/CORBA/ValueBaseHolder.java,
6822 org/omg/CORBA/VersionSpecHelper.java,
6823 org/omg/CORBA/WCharSeqHelper.java,
6824 org/omg/CORBA/WCharSeqHolder.java,
6825 org/omg/CORBA/WStringSeqHelper.java,
6826 org/omg/CORBA/WStringSeqHolder.java,
6827 org/omg/CORBA/WrongTransactionHelper.java,
6828 org/omg/CORBA/_IDLTypeStub.java,
6829 org/omg/CORBA/_PolicyStub.java,
6830 org/omg/CORBA/portable/BoxedValueHelper.java,
6831 org/omg/CORBA/portable/Delegate.java,
6832 org/omg/CORBA/portable/ObjectImpl.java,
6833 org/omg/CORBA/portable/ServantObject.java,
6834 org/omg/CORBA/portable/StreamableValue.java,
6835 org/omg/CosNaming/BindingType.java,
6836 org/omg/CosNaming/IstringHelper.java,
6837 org/omg/DynamicAny/FieldNameHelper.java,
6838 org/omg/PortableServer/Servant.java: Documentation fixes.
6840 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6842 * java/awt/Rectangle.java
6843 (setRect(double, double, double, double)): Modified rounding of input
6846 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6848 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6849 Disallow H1 - H6 in the paragraphs.
6850 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6851 (preprocess): Leave at most one leading and/or trailing space.
6852 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6853 Do not add any text after closing the HTML tag.
6855 2006-09-02 Roman Kennke <kennke@aicas.com>
6858 * javax/swing/plaf/basic/BasicTextUI.java
6859 (RootView.getPreferredSpan): Default to 10 when there is no
6861 (RootView.getMinimumSpan): Forward to view and default to 10
6862 when there is no real view.
6863 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6864 (getMaximumSize): Check for overflow.
6865 * javax/swing/text/FieldView.java
6866 (getResizeWeight): Removed unneeded assignment.
6868 2006-09-01 Francis Kung <fkung@redhat.com>
6869 * java/awt/image/ColorConvertOp.java
6870 (copyImage): Updated javadoc and comments.
6871 (copyRaster): Add javadoc.
6872 (createCompatibleColorModel): Add javadocs and comments.
6873 (createCompatibleDestImage): Use correct transfer type.
6874 (createCompatibleDestRaster): Add new parameter for transfer type.
6875 (filter): Use correct transfer type.
6876 * java/awt/image/ConvolveOp.java: Updated javadocs.
6877 (createCompatibleDestImage): Set new image properties correctly.
6878 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6879 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6881 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6883 * javax/swing/table/DefaultTableModel.java:
6884 (checkSize): Added null check for dataVector.
6886 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6888 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6889 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6890 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6892 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6894 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6895 (paintIcon): Removed unused import statements, lowered cast requirement
6896 from JCheckBox to AbstractButton.
6898 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6900 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6901 (initComponentDefaults): Added, changed and removed some
6902 tabbed pane properties.
6904 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6906 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6907 (createContent): Changed menu item name and tab naming.
6909 2006-09-01 Roman Kennke <kennke@aicas.com>
6912 * javax/swing/plaf/basic/BasicHTML.java
6913 (HTMLRootView.getAttributes): Overridden to return null.
6914 (HTMLRootView.getElement): Overridden to return the view's
6917 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6919 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6920 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6921 of accessing variable directly.
6922 (calculateTabAreaWidth): Dito.
6924 2006-08-31 Keith Seitz <keiths@redhat.com>
6926 * include/jvmti.h: Include jvmti_md.h.
6928 2006-08-31 Keith Seitz <keiths@redhat.com>
6930 From Martin Platter <motse@complang.tuwien.ac.at>:
6931 * Makefile.am (include_HEADERS): Include jvmti.h.
6932 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6933 (jvmtiError): Remove superfluous comma after last entry.
6934 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6935 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6936 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6937 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6939 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6940 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6941 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6944 2006-08-31 Roman Kennke <kennke@aicas.com>
6946 * javax/swing/text/BoxView.java
6947 (getWidth): Return the width with insets added, not with one
6948 added and one removed.
6949 (getHeight): Return the height with insets added, not with one
6950 added and one removed.
6951 * javax/swing/text/GlyphView.java
6952 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6953 * javax/swing/text/ParagraphView.java
6954 (Row.getAlignment): Adjust alignment with respect to
6955 the justification attribute.
6956 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6958 * javax/swing/text/html/CSS.java
6959 (getValue): Convert length values.
6960 * javax/swing/text/html/Paragraph.java
6961 (painter): New field.
6962 (paint): Implemented to delegate painting to the BoxPainter too.
6963 (setPropertiesFromAttributes): Implemented to load attributes
6965 * javax/swing/text/html/StyleSheet.java
6966 (BoxPainter.as): Removed field.
6967 (BoxPainter.leftInset): New field.
6968 (BoxPainter.bottomInset): New field.
6969 (BoxPainter.rightInset): New field.
6970 (BoxPainter.topInset): New field.
6971 (BoxPainter.BoxPainter): Implemented to load the insets from
6973 (BoxPainter.getInset): Implemented.
6974 * gnu/javax/swing/text/html/Length.java: New class.
6975 Converts CSS length units to usable values.
6977 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6979 * configure.ac: Add check for gethostbyname_r.
6980 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6981 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6982 SOCKET_NOSIGNAL according to the configure check.
6983 (cpnet_send): Use SOCKET_NOSIGNAL.
6984 (cpnet_sendTo): Likewise.
6985 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6987 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6990 * lib/Makefile.am (cssfiles): Add new rule to install css files.
6992 2006-08-31 Roman Kennke <kennke@aicas.com>
6994 * javax/swing/JEditorPane.java
6995 (getPreferredSize): Replace preferred size with minimum
6996 UI size only if the scrollable does _not_ track the viewport
6997 size and only if the viewport's size is smaller than the
6999 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7001 * javax/swing/plaf/basic/BasicTextUI.java
7002 (getPreferredSize): Read-lock the document to avoid
7003 concurrency problems.
7004 (getMaximumSize): Return maximum size of the view.
7005 Read-lock the document to avoid concurrency problems.
7006 (getMinimumSize): Return minimum size of the view.
7007 Read-lock the document to avoid concurrency problems.
7009 2006-08-31 Gary Benson <gbenson@redhat.com>
7011 * java/net/SocketPermission.java
7012 (maybeBracketIPv6Address): Renamed to processHostport.
7013 (processHostport): Also translate "" to "localhost".
7014 (setHostPort): Remove special cases for empty hostport and for
7015 extra colons in hostport (processHostport handles these now).
7017 2006-08-31 Mark Wielaard <mark@klomp.org>
7019 * javax/swing/text/ZoneView.java (Zone): Make static class.
7020 Constructor takes axis parameter.
7021 (createZone): Create Zone with getAxis() as major axis.
7023 2006-08-30 Roman Kennke <kennke@aicas.com>
7025 * javax/swing/text/ZoneView.java
7026 (loadChildren): Implemented.
7027 (getViewIndexAtPosition): Implemented.
7028 (checkZoneAt): New helper method.
7029 (splitZone): New helper method.
7030 (getPreferredZoneEnd): New helper method.
7032 2006-08-30 Roman Kennke <kennke@aicas.com>
7034 * javax/swing/text/ZoneView.java: New class.
7036 2006-08-30 Roman Kennke <kennke@aicas.com>
7038 * javax/swing/JMenu.java
7039 (getMenu): Removed unneeded cast.
7040 (getPopupMenuOrigin): Made positioning algorithm better respect
7042 (setMenuLocation): Also set the location on the popup if it's
7044 (setModel): Use menuChangeListener so that we don't override
7045 the changeListener field from AbstractButton.
7046 (setPopupMenuVisible): Use custom location if set, otherwise
7047 fallback to getPopupMenuOrigin().
7049 2006-08-29 Roman Kennke <kennke@aicas.com>
7051 * javax/swing/text/InternationalFormatter.java
7052 (stringToValue): Fixed bounds check.
7053 * javax/swing/text/MaskFormatter.java
7054 (MaskFormatter): Don't explicitly set allosInvalid property.
7055 (convertStringToValue): New helper method.
7056 (convertValueToString): New helper method.
7057 (convertValue): Removed. Replaced by the 2 convert* methods
7059 (getPadCharAt): Removed.
7060 (isCharValid): Removed.
7062 (stringToValue): Fixed stringToValue conversion.
7063 (stripLiterals): Removed.
7064 (valueToString): Fixed valueToString conversion.
7065 * javax/swing/text/DefaultFormatter.java
7066 (DefaultFormatter): Default to commitsOnValidEdit = false.
7068 2006-08-29 Roman Kennke <kennke@aicas.com>
7070 * javax/swing/text/TextAction.java
7071 (getTextComponent): Check event for null and return null in
7073 (augmentList): Augment Actions based on their names.
7074 * javax/swing/text/DefaultEditorKit.java
7075 (BeginAction.actionPerformed): Check target for null.
7076 (BeginLineAction.actionPerformed): Check target for null.
7077 (CopyAction.actionPerformed): Check target for null.
7078 (CutAction.actionPerformed): Check target for null.
7079 (EndAction.actionPerformed): Check target for null.
7080 (EndLineAction.actionPerformed): Check target for null.
7081 (InsertBreakAction.actionPerformed): Check target for null.
7082 (InsertTabAction.actionPerformed): Check target for null.
7083 (PasteAction.actionPerformed): Check target for null.
7084 (SelectAllAction.actionPerformed): Check target for null.
7085 (SelectionBeginAction.actionPerformed): Check target for null.
7086 (SelectionBeginLineAction.actionPerformed): Check target for null.
7087 (SelectionEndAction.actionPerformed): Check target for null.
7088 (SelectionEndLineAction.actionPerformed): Check target for null.
7089 (SelectLineAction.actionPerformed): Check target for null.
7090 (SelectWordAction.actionPerformed): Check target for null.
7092 2006-08-29 Roman Kennke <kennke@aicas.com>
7094 * javax/swing/plaf/basic/BasicTextUI.java
7095 (FocusHandler): New class. This is moved from the anonymous
7096 inner focus listener class to a static member class, and
7097 is now shared between components.
7098 (DocumentHandler): This class is combined with the PropertyHandler
7099 into the Handler class.
7100 (PropertyChangeHandler): This class is combined with the
7101 DocumentHandler into the Handler class.
7102 (Handler): New class. This combines the Property and Document
7103 handler into one class.
7104 (RootView.changedUpdate): Only forward if real view != null.
7105 (RootView.insertUpdate): Only forward if real view != null.
7106 (RootView.removeUpdate): Only forward if real view != null.
7107 (documentHandler): Removed field and replaced by handler.
7108 (focuslistener): Made field static and renamed to focusListener.
7109 (handler): New field.
7110 (kit): Lazily initialize field.
7111 (rootView): Lazily initialize field.
7112 (updateHandler): Removed and replaced by handler.
7113 (getEditorKit): Lazily instantiate field.
7114 (installDefaults): Don't set margin twice. Install correct
7115 property for disabledTextColor. Moved caret and highlighter
7116 initialization to installFixedDefaults.
7117 (installFixedDefaults): New method. Installs defaults that
7118 can't be overridden by subclasses.
7119 (installListeners): Only install focus handler when new
7120 system property gnu.swing.text.no-xlike-clipboard is not set.
7121 Lazily initialize focus handler.
7122 (installUI): Lazily initialize rootView. Install handler
7123 both for property and document changes.
7124 (uninstallDefaults): Uninstall the UI defaults.
7125 (uninstallFixedDefaults): New method. Uninstalls the fixed
7127 (installListeners): Only uninstall focus handler when not null.
7128 (uninstallUI): Uninstall property and document listener here.
7130 2006-08-29 Gary Benson <gbenson@redhat.com>
7132 * java/net/SocketPermission.java
7133 (maybeBracketIPv6Address): New method.
7134 (<init>): Pass the hostport argument through the above.
7136 * java/net/NetworkInterface.java (getInetAddresses):
7137 Don't bracket IPv6 addresses.
7139 2006-08-28 Roman Kennke <kennke@aicas.com>
7141 * javax/swing/text/BoxView.java
7142 (calculateMinorAxisRequirements): Initialize max size
7143 with Integer.MAX_VALUE.
7144 * javax/swing/text/Utilities.java
7145 (getBreakLocation): For simple chars, scan the text directly.
7146 * javax/swing/text/WrappedPlainView.java
7147 (tabBase): New field.
7148 (tabSize): New field.
7149 (calculateBreakPosition): Use Utilities. Fixed for correct
7151 (changedUpdate): Update children directly.
7152 (insertUpdate): Update children directly. Notify children.
7153 (removeUpdate): Update children directly. Notify children.
7154 (updateChildren): New helper method.
7155 (nextTabStop): Fixed to return correct results.
7156 (paint): Update tabBase.
7157 (updateMetrics): Update tab size.
7159 2006-08-28 Roman Kennke <kennke@aicas.com>
7161 * javax/swing/text/Position.java
7162 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7163 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7165 2006-08-28 Roman Kennke <kennke@aicas.com>
7167 * javax/swing/text/View.java
7168 (height): Removed unneeded field.
7169 (width): Removed unneeded field.
7170 (getBreakWeight): Return GoodBreakWeight when pos is after
7172 (getToolTipText): Check view index more carefully. Avoid
7174 (insertUpdate): Only execute method body if view count > 0.
7175 When updateChildren returns false, clear the ec variable.
7176 (updateChildren): Added null checks.
7177 (viewToModel): Initialize bias array correctly.
7178 * javax/swing/text/CompositeView.java
7179 (children): Made private.
7180 (numChildren): New field.
7181 (loadChildren): Check factory for null. Don't load children
7182 when factory is null.
7183 (replace): Removed null check. Nullify removed children. Made
7184 growing the array more efficient.
7185 (getViewCount): Return numChildren rather then the real array
7187 * javax/swing/text/BoxView.java
7188 (getViewAtPoint): Fixed algorithm for finding the view.
7189 (replace): Made array growing more efficient.
7190 (replaceLayoutArray): New helper method for growing/patching
7192 (viewToModel): Make sure we have a valid layout.
7194 2006-08-28 Tania Bento <tbento@redhat.com>
7196 * java/awt/MenuShortcut.java
7197 (MenuShortcut (int, boolean)): Set keyName.
7198 (toString): Modified string output.
7199 (setKeyName): New private method.
7201 2006-08-28 Roman Kennke <kennke@aicas.com>
7203 * javax/swing/text/GapContent.java
7204 (Mark.getOffset): Made assert less strict, include boundary.
7205 (search): Made package private to avoid accessor method.
7207 2006-08-28 Roman Kennke <kennke@aicas.com>
7209 * javax/swing/text/StringContent.java
7210 (InsertUndo.positions): New field.
7211 (InsertUndo.redo): Update the undo positions.
7212 (InsertUndo.undo): Fetch the undo positions.
7213 (Mark): New class. Layer of indirection to allow Positions
7214 to be GC'ed while we still hold references to the Mark.
7215 (RemoveUndo.len): New field.
7216 (RemoveUndo.positions): New field.
7217 (RemoveUndo.RemoveUndo): Fetch undo positions.
7218 (RemoveUndo.redo): Re-fetch positions and string.
7219 (RemoveUndo.undo): Update undo positions.
7220 (StickyPosition.mark): New field.
7221 (StickyPosition.offset): Removed field.
7222 (StickyPosition.StickyPosition): Create new Mark. Register
7223 Position in queueOfDeath. Update reference count on mark.
7224 (StickyPosition.getOffset): Return offset stored in mark.
7225 (StickyPosition.setOffset): Removed unneeded method.
7226 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7228 (marks): New field. Stores the marks.
7229 (positions): Removed field.
7230 (queueOfDeath): New field. Used for GCing the positions.
7231 (StringContent): Initialize queueOfDeath.
7232 (createPosition): Lazily create marks vector.
7233 (garbageCollect): New helper method. Collects positions
7234 to be GCed and updates their marks.
7235 (getChars): Fixed bounds check.
7236 (getPositionsInRange): When v == null, create new Vector,
7237 otherwise use v. Store UndoPosRefs in vector.
7238 (getString): Added comment about bug in RI.
7239 (insertString): Use new helper method for replacing the array.
7240 Correctly update positions.
7241 (length): Removed this qualifier.
7242 (remove): Use new helper method for replacing the array.
7243 Correctly update positions.
7244 (replace): New helper method for growing or patching the array.
7245 (updateUndoPositions): Implemented. Updates the positions
7246 for undo/redo operations.
7248 2006-08-27 Roman Kennke <kennke@aicas.com>
7250 * javax/swing/text/StyleContext.java
7251 (NamedStyle.attributes): Made field transient.
7252 (NamedStyle.changeEvent): Made field transient.
7253 (NamedStyle.name): Removed field. The name is stored as
7255 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7256 storing the name and check for null name and resolveParent.
7257 Don't initialize changeEvent.
7258 (NamedStyle.copyAttributes): Return a new NamedStyle,
7259 rather than a plain copy of the attributes field.
7260 (NamedStyle.fireStateChange): Lazily create changeEvent
7262 (NamedStyle.getName): Fetch name from attributes.
7263 (NamedStyle.setName): Store name from attributes.
7264 (NamedStyle.readObject): Implemented for correct
7266 (NamedStyle.writeObject): Implemented for correct
7268 (NamedStyle.setResolveParent): When new parent is null,
7269 remove resolveParent attribute. Use addAttribute() method
7270 rather than StyleContext addAttribute().
7271 (NamedStyle.toString): Fixed to produce output equal to the
7273 (SmallAttributeSet.resolveParent): New field.
7274 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7275 the resolveParent field correctly.
7276 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7277 array but store it directly. Update
7278 the resolveParent field correctly.
7279 (SmallAttributeSet.clone): Return this as the object is
7281 (SmallAttributeSet.containsAttributes): Make sure that keys
7282 and values are the same.
7283 (SmallAttributeSet.containsAttribute): Make sure that keys
7284 and values are the same.
7285 (SmallAttributeSet.copyAttributes): Return this as the object is
7287 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7288 are equal if they have the same number of attributes and
7289 one contains the other.
7290 (SmallAttributeSet.getAttribute): Improved lookup of
7292 (SmallAttributeSet.getResolveParent): Improved lookup of
7294 (SmallAttributeSet.isEqual): When comparing object is a
7295 SmallAttributeSet, consider them equal only if they are the
7297 (SmallAttributeSet.toString): Fixed to produce output equal to the
7299 (attributeSetPool): New field.
7300 (defaultStyleContext): Initialize lazily.
7301 (defaultStyle): Removed field. This is stored in the style context
7303 (listenerList): Removed field. The NamedStyle stores the
7305 (readAttributeKeys): New static field. Used for looking up
7306 the serialization mappings when reading.
7307 (search): New field. Used as search key.
7308 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7309 (styles): New field. Stores the styles and listeners.
7310 (styleTable): Removed field. Replaced by styles field.
7311 (writeAttributeKeys): New static field. Used for looking up
7312 the serialization mappings when writing.
7313 (static_initializer): Register mappings for all keys in
7315 (StyleContext): Initialize styles correctly.
7316 (addAttributes): Fixed caching of immutable attributes.
7317 (addAttribute): Fixed caching of immutable attributes.
7318 (removeAttributes): Fixed caching of immutable attributes.
7319 (removeAttribute): Fixed caching of immutable attributes.
7320 (addChangeListener): Add listener to styles field.
7321 (removeChangeListener): Remove listener from styles field.
7322 (getChangeListeners): Fetch listeners from styles field.
7323 (addStyle): Add style to styles field.
7324 (cleanupPool): New method.
7325 (getDefaultStyleContext): Lazily create context.
7326 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7327 (getMutableAttributeSet): New helper method. Used for
7329 (getStaticAttribute): Fetch key from readAttributeKeys.
7330 (getStyleNames): Return names from styles field.
7331 (getStyle): Lookup style in styles field.
7332 (removeStyle): Remove style from styles field.
7333 (readAttributeSet): Fixed deserialization.
7334 (writeAttributeSet): Fixed serialization.
7335 (readObject): Fixed deserialization.
7336 (writeObject): Fixed serialization.
7337 (reclaim): Simply cleanup the pool.
7338 (registerStaticAttributeKey): Store mapping in both ways.
7339 (searchImmutableSet): New helper method for caching.
7340 (toString): Fixed for output like the RI.
7341 * javax/swing/text/StyleConstants.java
7342 (keys): New field. Stores all known keys.
7343 (StyleConstants): Store created key in keys list.
7344 * javax/swing/event/EventListenerList.java
7345 (readObject): Fixed deserialization.
7346 (writeObject): Fixed serialization.
7348 2006-08-25 Roman Kennke <kennke@aicas.com>
7350 * javax/swing/text/CompositeView.java
7351 (insets): Removed. Replaced by single short fields.
7352 (top): New field. Replaces insets.
7353 (bottom): New field. Replaces insets.
7354 (left): New field. Replaces insets.
7355 (right): New field. Replaces insets.
7356 (CompositeView): Initialize insets fields.
7357 (createDefaultLocation): Removed unneeded method.
7358 (getBottomInset): Return field directly.
7359 (getTopInset): Return field directly.
7360 (getLeftInset): Return field directly.
7361 (getRightInset): Return field directly.
7362 (getInsideAllocation): Adjusted to work on new insets fields.
7363 (getViewIndex): Fixed check.
7364 (loadChildren): Don't replace the old children.
7365 (replace): Make sure that there is an array to operate on.
7366 Only set parent to null, when it is this View.
7367 (setInsets): Adjusted to work with new insets fields.
7368 (setParagraphInsets): Fixed to pull insets directly from
7371 2006-08-25 Roman Kennke <kennke@aicas.com>
7373 * javax/swing/text/ComponentView.java
7374 (Interceptor): New inner helper class. Used to propagate
7375 invalidate requests and cache component layout sizes.
7376 (interceptor): New field.
7377 (getAlignment): Fetch alignment from interceptor container.
7378 (getComponent): Don't create component here. This is done
7380 (getMaximumSpan): Fetch layout info from interceptor. Check
7382 (getMinimumSpan): Fetch layout info from interceptor. Check
7384 (getPreferredSpan): Fetch layout info from interceptor. Check
7386 (modelToView): Fixed model to view mapping.
7387 (viewToModel): Fixed view to model mapping.
7388 (paint): Check for null. Set bounds on interceptor rather
7390 (setParentImpl): Install interceptor between component
7391 and hosting container.
7392 (setParent): Call super.setParent() immediately.
7394 2006-08-25 Roman Kennke <kennke@aicas.com>
7396 * javax/swing/text/LabelView.java
7397 (setPropertiesFromAttributes): Only set background when
7398 the corresponding attribute is actually defined, otherwise
7399 set to null, as the StyleConstants would return black.
7400 * javax/swing/text/DefaultStyledDocument.java
7401 (ElementBuffer.documentEvent): Removed obsolete field.
7402 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7403 to correctly update the element structure.
7404 (ElementBuffer.insertContentTag): Removed unused statement.
7405 (ElementBuffer.recreateAfterFracture): Removed
7406 unused obsolete method.
7407 (setCharacterAttributes): Removed unused statement.
7409 2006-08-25 Roman Kennke <kennke@aicas.com>
7411 * examples/gnu/classpath/examples/swing/Demo.java
7412 (LaterMain.run): Removed unused local variable.
7413 (Demo): Don't put desktop in scrollpane.
7414 (addChildren): Removed unused method.
7415 (mkButtonBar): Added HTML demo.
7416 (mkMenuBar): Added HTML demo.
7417 (mkPanel): Removed unused method.
7418 (mkScrollPane): Removed unused method.
7419 (mkTree): Removed unused method.
7420 (valign2str): Removed unused method.
7421 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7422 Initialize text field with some HTML that already works.
7423 (DEBUG): New field. Set to true for debugging output.
7424 (createContent): Dump element tree after parsing.
7426 2006-08-25 Roman Kennke <kennke@aicas.com>
7428 * javax/swing/text/html/CSS.java
7429 (getValue): Added color value conversion.
7430 * javax/swing/text/html/HTMLDocument.java
7431 (HTMLReader.ConvertAction): New class, converts HTML style tags
7433 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7434 * javax/swing/text/html/InlineView.java
7435 (setPropertiesFromAttributes): Implemented to fetch
7436 CSS character attributes.
7437 * javax/swing/text/html/StyleSheet.java
7438 (addCSSAttribute): Convert value.
7439 (getBackground): Implemented to fetch CSS background color
7441 (getForeground): Implemented to fetch CSS color
7443 (getFont): Adjust font size for superscript and subscript.
7444 (translateHTMLToCSS): Rudimentary implementation that
7445 copies the original attributes, so that any CSS attributes in
7446 there are preserved.
7447 (stringToColor): Use CSSColor for conversion.
7448 * gnu/javax/swing/text/html/css/CSSColor.java:
7449 New class. Converts CSS color values to RGB color values.
7450 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7451 Removed. This is more or less replaced by CSSColor and the
7452 ConvertAction in HTMLReader.
7454 2006-08-25 Roman Kennke <kennke@aicas.com>
7456 * javax/swing/text/BoxView.java
7457 (childReqs): Removed obsolete field.
7458 (baselineLayout): Reimplemented for correct baseline layout.
7459 (baselineRequirements): Reimplemented for correct baseline
7461 (updateChildRequirements): Removed obsolete method.
7462 * javax/swing/text/GlyphView.java
7463 (DefaultGlyphPainter.getSpan): Removed unused statement.
7464 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7465 specially. The subscript/superscript layout is performed
7466 via the alignment, the font is supplied by the StyleContext.
7467 (breakView): Removed unused statements.
7468 (getAlignment): Adjust alignment according to the
7469 superscript/subscript setting.
7470 (getFont): Reimplemented to fetch the font from the style
7471 context, or from the document if the stylecontext is not
7473 (getPreferredSpan): Adjust span for superscript. Use switch
7475 * javax/swing/text/LabelView.java
7476 (setPropertiesFromAttributes): Fetch background and foreground
7477 from document / style context.
7478 (isSubscript): Resync properties if needed.
7479 * javax/swing/text/ParagraphView.java
7480 (Row.calculateMinorAxisRequirements): Overridden to perform
7482 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7484 2006-08-24 Roman Kennke <kennke@aicas.com>
7486 * javax/swing/text/Utilities.java
7487 (BUF_LENGTH): Removed unused field.
7488 (drawTabbedText): Removed unneeded cast.
7489 (getBreakLocation): Removed unneeded cast.
7490 Fixed offset to account for Segments not starting at 0.
7492 2006-08-24 Roman Kennke <kennke@aicas.com>
7494 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7495 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7496 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7497 (ScrollingPane.updateUI): Likewise.
7498 (calculateTabWidth): Rewritten to correctly and efficiently
7499 layout the tab width.
7500 (layoutLabel): Call SwingUtilities method with the tabPane
7502 (paintContentBorderLeftEdge): Removed unused statement.
7503 (paintContentBorderRightEdge): Removed unused statement.
7504 (paintContentBorder): Removed unused statement.
7506 2006-08-24 Roman Kennke <kennke@aicas.com>
7508 * javax/swing/plaf/basic/BasicTextUI.java
7509 (RootView.getAttributes): Overridden to return null,
7510 as the RootView has no parent.
7512 2006-08-24 Roman Kennke <kennke@aicas.com>
7514 * javax/swing/text/html/CSSParser.java: Removed.
7515 * javax/swing/text/html/CSS.java
7516 (getValue): New helper method. Returns special converter
7517 instances for certain kinds of property values.
7518 * javax/swing/text/html/HTMLDocument.java
7519 (HTMLReader.CharacterAction.start): Don't translate tags
7520 here. Instead, store the attributes directly with the tag
7522 (content): Removed field. The Content object is handled
7523 by AbstractDocument.
7524 (styleSheet): Removed field. The styleSheet is the styleContext
7525 of this document and handled by the DefaultStyledDocument already.
7526 (HTMLDocument(Content,StyleSheet): Simply call super here.
7527 The super classes already handle the content and styleContext.
7528 (HTMLDocument()): Call this() with a default GapContent and
7530 (getStyleSheet): Return the styleContext here.
7531 (insertUpdate): New method. Overridden to add the
7532 CONTENT dummy tag to the element's attributes.
7533 (setBase): Set the base on the styleContext.
7534 * javax/swing/text/html/HTMLEditorKit.java
7535 (styleContext): Removed unneeded field.
7536 (styleSheet): Made field private.
7537 (HTMLEditorKit): Do nothing here. The StyleSheet is
7538 created lazily in getStyleSheet(). A styleContext is not
7540 (getStyleSheet): Create StyleSheet correctly.
7541 (insertHTML): Removed unneeded cast.
7542 * javax/swing/text/html/InlineView.java
7543 (attributes): New field.
7544 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7545 (getAttributes): Implemented to fetch the attributes from
7547 * javax/swing/text/html/MultiAttributeSet.java: New class.
7548 Multiplexes between several AttributeSets.
7549 * javax/swing/text/html/MultiStyle.java: New class.
7550 Multiplexes between several Styles.
7551 * javax/swing/text/html/ParagraphView.java
7552 (attributes): New field.
7553 (getAttributes): Implemented to fetch the attributes from
7555 * javax/swing/text/html/StyleSheet.java
7556 (CssParser): Removed inner class.
7557 (CSSStyle): New inner class. Represents a style defined
7559 (CSSStyleSheetParserCallback): New class, for parsing
7561 (css): New field. Stores the CSS rules.
7562 (resolvedStyles): New field. Stores resolved styles.
7563 (StyleSheet): Initialize resolvedStyles map.
7564 (addRule): Removed bogus impl.
7565 (getFont): Implemented to fetch font, based on CSS rules.
7566 (getResolvedStyle): New helper method. Looks up resolved
7567 styles, and resolves a style if necessary.
7568 (resolveStyle): New pair of helper methods. Resolves
7570 (getRule(String)): Provide rudimentary implementation.
7571 (getRule(Tag,Element)): Implemented.
7572 (getViewAttributes): Implemented.
7573 (loadRules): Implemented.
7574 (translateHTMLToCSS): Tagged as not implemented.
7575 * javax/swing/text/html/ViewAttributeSet.java: New class.
7577 2006-08-24 Roman Kennke <kennke@aicas.com>
7579 * javax/swing/text/FlowView.java:
7580 (LogicalView.getAttributes): New method. Overrides super
7581 impl to return the attributes of the FlowView instance.
7582 * javax/swing/text/LabelView.java:
7583 (setPropertiesFromAttributes): Fetch attributes from
7584 View, rather then from the Element. (In the HTML
7585 package the getAttributes() method is overridden to
7586 return different attributes). Fetch font from the StyledDocument.
7588 2006-08-24 Roman Kennke <kennke@aicas.com>
7590 * javax/swing/text/DefaultEditorKit.java:
7591 (DefaultKeyTypedAction.actionPerform): Also filter
7592 ALT and CTRL modifiers.
7594 2006-08-24 Roman Kennke <kennke@aicas.com>
7596 * gnu/javax/swing/text/html/css/FontSize.java,
7597 * gnu/javax/swing/text/html/css/FontStyle.java,
7598 * gnu/javax/swing/text/html/css/FontWeight.java:
7599 New classes. Used to convert CSS font attributes to AWT/Swing
7602 2006-08-24 Francis Kung <fkung@redhat.com>
7603 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7604 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7605 (srccs, dstcs, rasterValid): Variables removed.
7606 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7607 (copyRaster): Check for null rendering hints
7608 (createCompatibleColorModel): New private method.
7609 (createCompatibleDestImage): Re-implemented.
7610 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7611 (createCompatibleDestRaster(Raster)): Re-implemented.
7612 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7613 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7614 (getPoint2D): Clean up formatting.
7615 * java/awt/image/ComponentColorModel.java
7616 (constructor): use findBits method instead of passing null.
7617 (findBits): New method.
7619 2006-08-24 Gary Benson <gbenson@redhat.com>
7621 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7624 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7626 * java/lang/ref/Reference.java
7627 (queue, nextOnQueue): Made volatile.
7628 (enqueue): Made thread safe.
7629 * java/lang/ref/ReferenceQueue.java
7631 (poll): Removed synchronized.
7632 (enqueue): Changed to synchronize on lock object, to update Reference
7633 state and return success status.
7634 (dequeue, remove): Synchronize on lock object.
7636 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7638 * java/security/SecureClassLoader.java
7639 (protectionDomainCache): Changed to HashMap.
7640 (SecureClassLoader): Removed redundant security check.
7641 (defineClass(String,byte[],int,int,CodeSource): Moved
7642 protection domain lookup/construction to new method.
7643 (defineClass(String,ByteBuffer,CodeSource): New method.
7644 (getProtectionDomain): New method.
7646 2006-08-23 Roman Kennke <kennke@aicas.com>
7648 * javax/swing/JComponent.java
7649 (isRepainting): Made package private.
7650 (paintChild): New field.
7651 (findOpaqueParent): Removed method. This is now in
7653 (findOverlapFreeParent): Removed method. This is now
7654 in paintImmediately2().
7655 (findPaintRoot): Removed method. This is now
7656 in paintImmediately2().
7657 (isCompletelyObscured): Changed to take rectangle as single
7659 (isPaintingDoubleBuffered): Removed method. This is now
7660 in paintImmediately2().
7661 (isPartiallyObscured): New helper method.
7662 (onTop): New helper method for optimization.
7663 (paintChildren): Paint only to specific child when
7664 requested like this from paintImmediately2().
7665 (paintDoubleBuffered): Changed to take rectangle as single int
7667 (paintImmediately2): Changed to take rectangle as single int
7668 arguments. Optimized determination of paint root.
7669 (paintImmediately(Rectangle)): Change to delegate to
7670 paintImmediately(int,int,int,int).
7671 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7672 and start painting there.
7673 (paint): Call paintDoubleBuffered() with int arguments. Only
7674 paint component, when not completely occupied by opaque child.
7675 (processKeyBinding): Removed unnecessary cast.
7676 (isOccupiedByChild): New helper method.
7677 * javax/swing/RepaintManager.java
7678 (repaintUnderway): Removed obsolete field.
7679 (commitRequests): Removed obsolete field.
7680 (RepaintManager): Removed initialization of obsolete fields.
7681 (addDirtyRegion): Removed unused statement.
7682 (commitBuffer): Changed to take plain ints as argument.
7683 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7684 Compute offsets in place, rather than using SwingUtilities.
7685 (paintDirtyRegions): Removed unused field.
7686 * javax/swing/JMenuItem.java
7687 (onTop): Return true when not descendant of JInternalFrame.
7688 * javax/swing/JPopupMenu.java
7689 (onTop): Return true.
7690 * javax/swing/JToolTip.java
7691 (onTop): Return true.
7692 * javax/swing/JViewport.java
7693 (paintImmediately2): Change signature to match the
7694 corresponding JComponent method.
7696 2006-08-23 Tania Bento <tbento@redhat.com>
7698 * java/awt/Color.java
7699 (brighter): Modified algorithm to correctly determine the
7700 new brighter colour.
7702 2006-08-23 Roman Kennke <kennke@aicas.com>
7704 * java/awt/Container.java
7705 (maxSize): Removed field. This is already declared in Component.
7706 (validateTree): Check for ContainerPeer. Don't addNotify here.
7707 Only validate Component instances if they are invalid.
7709 2006-08-22 Roman Kennke <kennke@aicas.com>
7711 * javax/swing/JComponent.java
7712 (preferredSize): Removed field.
7713 (maximumSize): Removed field.
7714 (minimumSize): Removed field.
7715 (getMaximumSize): Adjusted to delegate to Component, rather
7716 then managing the size in JComponent.
7717 (getMinimumSize): Adjusted to delegate to Component, rather
7718 then managing the size in JComponent.
7719 (getPreferredSize): Adjusted to delegate to Component, rather
7720 then managing the size in JComponent.
7721 (isMaximumSizeSet): Removed.
7722 (isMinimumSizeSet): Removed.
7723 (isPreferredSizeSet): Removed.
7724 (setMaximumSize): Removed.
7725 (setMinimumSize): Removed
7726 (setPreferredSize): Removed.
7728 2006-08-22 Roman Kennke <kennke@aicas.com>
7730 * javax/swing/AbstractButton.java
7731 (ButtonChangeListener.stateChanged): Delegate to combined
7733 (EventHandler): New inner class. Handles all three types
7734 of events on the model.
7735 (eventHandler): New field. Stores the combined event
7737 (AbstractButton): Moved listener initialization to
7739 (createActionListener): Return combined handler.
7740 (createChangeListener): Return combined handler.
7741 (createItemListener): Return combined handler.
7742 (getEventHandler): New helper method for creating the combined
7744 (setModel): Initialize listeners here.
7745 * javax/swing/plaf/basic/BasicButtonListener.java
7746 (ButtonAction): New class. Implements the keyboard action
7748 (checkOpacity): Implemented.
7749 (createDefaultActionMap): New helper method.
7750 (installKeyboardActions): Rewritten to install InputMap
7751 and ActionMap according to 'new' keyboard input method.
7752 (mouseClicked): Commented as no-op.
7753 (mouseDragged): Commented as no-op.
7754 (mouseMoved): Commented as no-op.
7755 (propertyChange): Check for contentAreaFilled change and
7756 update opacity. Pull handling of HTLM in font and text handler.
7757 (stateChanged): Repaint button.
7758 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7759 * javax/swing/plaf/basic/BasicButtonUI.java
7760 (listener): Removed.
7761 (sharedListener): New static field. Stores the shared listener.
7762 (sharedUI): New static field. Stores the shared UI.
7763 (createButtonListener): Return shared instance here.
7764 (createUI): Return shared instance here.
7765 (getButtonListener): New helper method. Looks for the
7766 BasicButtonListener installed on a button and returns it.
7767 (installDefaults): Correctly install rollover property here.
7768 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7769 (installKeyboardActions): Fetch listener with new helper method.
7770 (installListeners): Don't use removed field. Check for null.
7771 (installUI): Added comment about order of method invocations.
7772 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7773 (uninstallKeyboardActions): Fetch listener with new helper method.
7774 (uninstallListeners): Fetch listener with new helper method.
7775 (paintIcon): Paint icon offset when pressed and armed.
7776 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7777 * javax/swing/plaf/metal/MetalButtonUI.java
7778 (sharedUI): New field. Stores the shared UI.
7779 (MetalButtonUI): Don't initialize fields here.
7780 (createButtonListener): Removed method. Use super impl.
7781 (createUI): Return shared instance.
7782 (getDisabledTextColor): Update field here.
7783 (getFocusColor): Update field here.
7784 (getSelectColor): Update field here.
7785 (installDefaults): Don't handle rollover property here.
7786 (uninstallDefaults): Don't handle rollover property here.
7787 (paintButtonPressed): Use accessor method to update the
7790 2006-08-21 Mark Wielaard <mark@klomp.org>
7792 Merge NATIVE_LAYER branch.
7794 2006-08-20 Mark Wielaard <mark@klomp.org>
7796 * doc/tools.texinfo: Add file from trunk.
7797 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7798 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7800 * native/jni/java-lang/java_lang_VMProcess.c
7801 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7802 * native/jni/java-net/java_net_VMInetAddress.c
7803 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7804 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7806 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7808 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7810 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7812 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7814 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7816 * include/java_lang_VMProcess.h: Regenerated.
7818 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7820 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7821 (nativeReceive): Fixed the type of the arrays (use java types).
7822 (nativeSendTo): Force throwing an exception if port is 0.
7824 * native/jni/java-net/javanet.c:
7825 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7827 (_javanet_recvfrom): Likewise.
7828 (_javanet_sendto): Throw a NullPointerException if the socket is
7829 not connected and no address is given.
7831 * native/jni/java-net/javanet.h
7832 (NULL_EXCEPTION): Defined.
7834 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7836 * native/jni/java-net/java_net_VMInetAddress.c
7837 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7840 * native/jni/java-net/javanet.c
7841 (_javanet_accept): Fixed bogus call to TARGET.
7842 (_javanet_create_inetaddress): Fixed address generation. Fixed
7844 (_javanet_bind): set "Reuse address" flag.
7846 * native/jni/native-lib/cpio.c
7847 (cpio_getModificationTime): Fixed type.
7848 (cpio_removeFile): Use rmdir too.
7850 * native/jni/native-lib/cpnet.c
7851 (cpnet_getHostByName): Fixed error detection.
7853 * native/jni/native-lib/cpnet.h
7854 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7856 (cpnet_IPV4AddressToBytes): Fixed types.
7858 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7860 * native/jni/native-lib/cpio.c
7861 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7863 * native/jni/native-lib/cpnet.h:
7864 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7865 messed by signs in jbyte.
7867 * native/jni/native-lib/cpproc.h
7868 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7870 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7872 * native/jni/native-lib/cpnet.c
7873 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7874 (waitForWritable, waitForReadable): New functions.
7875 (socketTimeouts): New static global table to hold timeouts for all
7877 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7878 Added waitForXXXX safeguards to handle socket timeouts.
7880 * native/jni/java-net/javanet.c
7881 (_javanet_accept): Check for the right error value when a timeout
7884 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7886 * native/jni/java-io/Makefile.am,
7887 native/jni/java-lang/Makefile.am,
7888 native/jni/java-net/Makefile.am,
7889 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7891 * native/jni/native-lib/Makefile.am: Added cpproc.c
7893 * native/jni/native-lib/cpio.c: Implemented missing functions for
7896 * native/jni/native-lib/cpnet.c
7897 (cpnet_getHostByName): Fixed address array initialization.
7899 * native/jni/native-lib/cpproc.c: Implemented.
7901 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7903 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7905 * m4/gcc_attribute.m4: New file from ac_archive.
7907 * native/jni/java-net/javanet.c: Adapted to cpnet API
7910 * native/jni/native-lib/cpnet.c: Implemented.
7912 * native/jni/native-lib/cpnet.h
7913 (cpnet_openSocketDatagram,
7914 cpnet_openSocketStream): These calls need an address family now.
7915 (cpnet_IPV4AddressToBytes,
7916 cpnet_bytesToIPV4Address): Convert the address to network order.
7918 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7920 * native/jni/java-io/java_io_VMFile.c,
7921 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7922 native/jni/midi-dssi/dssi_data.h,
7923 native/jni/native-lib/cpio.c,
7924 native/jni/native-lib/cpmath.h: Removed cpmath
7925 dependency. Fixed coding style.
7927 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7929 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7930 dependency. Simplified the JNI code by moving some part into the
7933 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7935 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7937 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7938 errors. Removed any remaining TARGET invocations.
7940 * native/jni/java-net/javanet.c
7941 (_javanet_create_inetaddress): Removed spurious arr and
7942 octets. Fixed compilation errors.
7944 * native/jni/native-lib/cpnet.h
7945 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7946 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7947 cpnet_isIPV4Address): New functions.
7948 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7951 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7953 * native/jni/java-io/java_io_VMFile.c,
7954 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7955 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7956 native/jni/java-net/javanet.c,
7957 native/jni/java-net/javanet.h: Adapted the VM layer code
7958 to the new native layer.
7960 * native/jni/native-lib/cpnet.h
7961 (cpnet_addMembership,
7962 cpnet_dropMembership,
7963 cpnet_getAvailableBytes): Added the declarations of
7965 (cpnet_newIPV6Address,
7966 cpnet_IPV6AddressToBytes,
7967 cpnet_bytesToIPV6Address): Implemented.
7968 (cpnet_newIPV4Address): Initialize the sin_family field.
7970 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7972 * native/target: Removed.
7974 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7975 Makefile generation.
7977 * native/jni/native-lib/Makefile.am,
7978 native/jni/native-lib/cpnet.h,
7979 native/jni/native-lib/cpnet.c
7980 native/jni/native-lib/cpio.h,
7981 native/jni/native-lib/cpio.c,
7982 native/jni/native-lib/cpmath.h: Imported new native compatibility
7985 2006-08-21 Roman Kennke <kennke@aicas.com>
7987 * gnu/javax/swing/text/html/css/CSSParser.java:
7989 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7991 * gnu/javax/swing/text/html/css/CSSParserException.java:
7993 * gnu/javax/swing/text/html/css/CSSScanner.java:
7994 Adjusted API comments. Made all constants package private.
7995 (EOF): New constant field.
7996 (parseBuffer): Made package private.
7997 (tokenEnd): Made package private.
7998 (CSSScanner): Initialize lookahead buffer with -1.
7999 (main): Print out to System.out rather then System.err.
8000 (nextToken): Push back character after IDENT.
8002 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8004 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8006 2006-08-21 Roman Kennke <kennke@aicas.com>
8008 * gnu/javax/swing/text/html/css/CSSScanner.java
8009 (main): Use buffered input stream.
8010 (nextToken): Removed 65536 workaround. Use int value directly
8011 without cast to char.
8012 (readComment): Use int value directly without cast to char.
8013 Cast to char only when putting the character into the buffer.
8014 (readEscape): Likewise.
8015 (readIdent): Likewise.
8016 (readName): Likewise.
8017 (readNum): Likewise.
8018 (readString): Likewise.
8019 (readWhitespace): Likewise.
8021 2006-08-21 Ingo Proetel <proetel@aicas.com>
8023 * java/io/InputStreamReader.java
8024 (bytesCache): New field.
8025 (cacheLock): New field.
8026 (read(byte[],int,int): Avoid allocations of new byte
8027 array on every call and reuse cached byte array if possible.
8029 2006-08-21 Roman Kennke <kennke@aicas.com>
8031 * gnu/java/net/local/LocalSocketImpl.java
8032 Only load native lib if this is supported by runtime.
8033 * native/jni/java-net/local.c
8034 Include config.h unconditionally.
8035 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8036 Include config.h unconditionally.
8038 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8040 * java/io/ObjectInputStream.java
8041 (objectLookupTable): Changed to be a Vector.
8042 (ObjectInputStream): Initialize objectLookupTable as Vector.
8043 (assignNewHandle): Store Object using handle index rather than
8044 Hashtable, using the new rememberHandle() method.
8045 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8046 with a caching in ObjectStreamClass.
8047 (inputGetObjectStreamClass): Replaced by hierarchy().
8048 (lookupHandle): New method. Looks up an object by it's handle
8050 (parseContent): Avoid creating of Integer objects. Use
8051 hierarchy() method for looking up the class hierarchy.
8052 (processResolution): Use rememberHandle() to store
8053 handle per index, rather than Hashtabling the object.
8055 (rememberHandle): New method.
8056 * java/io/ObjectOutputStream.java
8057 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8058 Hashtable for improved lookup performance.
8059 (ObjectOutputStream): Initialize OIDLookupTable as
8060 ObjectIdentityMap2Int.
8061 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8062 (findHandle): Change to use ObjectIdentityMap2Int.
8063 (getBooleanField): Removed.
8064 (getByteField): Removed.
8065 (getCharField): Removed.
8066 (getDoubleField): Removed.
8067 (getField): Removed.
8068 (getFloatField): Removed.
8069 (getIntField): Removed.
8070 (getLongField): Removed.
8071 (getObjectField): Removed.
8072 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8073 (writeFields(Object,ObjectStreamField)): New helper method.
8074 Use switch rather then if-else cascade.
8075 (writeObject): Use int handle, rather then Integer.
8076 * java/io/ObjectStreamClass.java
8077 (hierarchy): New field. Caches the class hierarchy.
8078 (methodCache): New field. Caches methods.
8079 (readObjectSignature): New field. Stores the read signature.
8080 (uidCache): New field. Caches UIDs.
8081 (writeObjectSignature): New field. Stores the write signature.
8082 (cacheMethods): Cache methods in methodCache.
8083 (calculateClassID): Outsourced from getClassUID()
8084 for computing the UIDs.
8085 (getClassUIDFromField): Outsourced from getClassUID() for
8086 fetching the UID from the class field.
8087 (getClassUID): Use cached uid if possible. Use new helper
8088 methods for fetching the UID from the field or computing
8090 (getObjectStreamClasses): Removed. Replaced by more
8091 efficient hierarchy() method, that also caches the result.
8092 (hierarchy): Replaces getObjectStreamClasses() for caching
8094 (loadedByBootOrApplicationClassLoader): New helper method.
8095 (setClass): Invalidate hierarchy cache.
8096 (setSuperclass): Invalidate hierarchy cache.
8097 * java/io/ObjectStreamField.java
8098 (field): Made field package private for access from other
8100 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8101 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8102 hashtable for mapping objects to ints.
8104 2006-08-21 Roman Kennke <kennke@aicas.com>
8107 (getAbsolutePath): Fetch absolute path from
8108 VMFile.getAbsolutePath(). Moved actual impl to there.
8109 (isAbsolute): Let VMFile determine the absoluteness.
8110 (toURL): Let VMFile convert the filename.
8111 * vm/reference/java/io/VMFile.java
8112 (getAbsolutePath): New method.
8113 (isAbsolute): New method.
8114 (toURL): New method.
8116 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8118 * NEWS: Added note about updated VM interface.
8120 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8122 * java/lang/management/ManagementFactory.java:
8123 Updated documentation.
8125 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8128 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8130 * gnu/java/util/regex/CharIndexedCharSequence.java,
8131 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8133 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8134 (match): call the new method setHitEnd of the input,
8135 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8136 Some optimization commented out, Use CharIndexed#move1 instead of move.
8137 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8138 * gnu/java/util/regex/REToken.java(match): The method body has been
8139 moved to an internal private method, (matchFake): New method,
8140 (setHitEnd): New method.
8141 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8142 if the match is not complete, (matchOneString): Count the number of
8143 characters which matched the pattern.
8144 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8145 (setFake): New method, (match): Call super.match or super.matchFake.
8146 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8147 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8148 setHitEnd of the input,
8149 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8150 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8151 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8153 2006-08-18 Tom Tromey <tromey@redhat.com>
8155 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8156 the 'int', not the cast char.
8158 2006-08-18 Roger Sayle <roger@eyesopen.com>
8160 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8161 which isn't available in all shells.
8163 2006-08-18 Roger Sayle <roger@eyesopen.com>
8165 * lib/Makefile.am (resources): Fix some shell portability issues.
8167 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8169 * configure.ac (tool-wrappers): Check for ltdl support when tool
8170 wrapper binaries are enabled.
8171 * tools/Makefile.am (LIBJVM): Remove variable.
8172 (AM_CPPFLAGS): Add LIBJVM define.
8173 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8174 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8175 gjavah_LDFLAGS): Remove variables.
8176 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8178 2006-08-18 Tom Tromey <tromey@redhat.com>
8180 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8182 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8184 (readEntries): Likewise.
8186 2006-08-17 Roman Kennke <kennke@aicas.com>
8188 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8189 (layoutLabel): Reset the text and icon rectangles.
8191 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8194 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8195 Transform gappletviewer name using program_transform_name.
8197 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8199 * javax/swing/filechooser/FileSystemView.java
8200 (getFileSystemView): Always return UnixFileSystemView, since
8201 that's the only one we got. Marked with NotImplementedException.
8202 * javax/swing/plaf/basic/BasicFileChooserUI.java
8203 (mouseClicked, installUI): Don't parse path by hand.
8205 2006-08-17 Roman Kennke <kennke@aicas.com>
8207 * javax/swing/JComponent.java
8208 (scrollRectToVisible): Handle intermediate non-JComponents
8211 2006-08-17 Roman Kennke <kennke@aicas.com>
8213 * javax/swing/RepaintManager.java
8214 (blitBuffer): Removed. This is now done in commitBuffer().
8215 (commitBuffer): Always paint on the root window or applet.
8216 No need to look for intermediate heavyweights. Optimized
8217 rectangle translation.
8218 (commitRemainingBuffers): Removed. Not needed anymore.
8219 (getHeavyweightParent): Removed. Not needed anymore.
8220 (getOffscreenBuffer): Fetch offscreen image from the
8221 actual root component.
8222 (paintDirtyRegions): Don't call commitRemainingBuffers().
8224 2006-08-17 Roman Kennke <kennke@aicas.com>
8226 * javax/swing/SwingUtilities.java
8227 (clipString): New helper method for trimming strings.
8228 (layoutCompoundLabelImpl): Fixed algorithm to conform
8229 testsuites. Trim text if it's too long. Avoid creating
8230 new Rectangles. Optimized for performance.
8231 (layoutCompoundLabel): Use switch rather then if-else-chain.
8232 * javax/swing/plaf/basic/BasicButtonUI.java
8236 (paint): Reset and use cached rectangles. Only call paintIcon()
8237 if icon is not null. Don't call paintButtonPressed() when
8238 button is selected, only when it is both armed and pressed.
8239 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8240 (getPreferredButtonSize): Reused cached rectangles rather
8241 then creating new ones. Don't create new Rectangle via
8243 * javax/swing/plaf/basic/BasicLabelUI.java
8244 (getPreferredSize): Correctly reset cached rectangles. Especially
8245 the view rect must have a big size to give it room for layouting.
8246 Short cut layout when text == null.
8247 (paint): Correctly reset cached rectangles.
8248 * javax/swing/plaf/basic/BasicMenuItemUI.java
8249 (resetRectangles): New helper method.
8250 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8251 (paintMenuItem): Correctly reset the cached rectangles.
8252 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8253 (getPreferredSize): Use cached Rectangle objects and initialize
8255 (paint): Use cached Rectangle objects and initialize
8258 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8260 * java/util/Calendar.java: API doc additions.
8262 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8264 * javax/swing/DefaultButtonModel.java:
8265 (setRollover): Simplified statement.
8267 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8269 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8270 (loadClass): Rewritten to use getClassLoader.
8271 (loadProxyClass): Implemented.
8272 (getClassLoader): Fixed support for null or empty codebase.
8273 * gnu/java/rmi/server/RMIObjectInputStream.java
8274 (resolveClass): Use user class loader as default class loader.
8275 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8276 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8277 (loadClass): Simplified and use user class loader instead of
8278 context class loader as default.
8279 * java/io/ObjectInputStream.java
8280 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8281 * vm/reference/gnu/classpath/VMStackWalker.java
8282 (firstNonNullClassLoader): New method.
8283 * vm/reference/java/io/VMObjectInputStream.java
8284 (loaderAction, currentClassLoader): Removed.
8286 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8288 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8289 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8290 by current scroll offset, added method documention.
8291 (getTabBounds(int, Rectangle)): Added method documentation.
8292 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8293 (paintContentBorderLeftEdge): Changed y to 1.
8295 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8297 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8298 (MouseHandler.mouseReleased): Implemented.
8299 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8300 (MouseHandler.mouseEntered): Dito.
8301 (MouseHandler.mouseExited): Dito.
8302 (MouseHandler.mouseMoved): Dito.
8303 (MouseHandler.redispatchEvent): New method.
8304 (PropertyChangeHandler.propertyChange): Added extra block level,
8305 added code to handle tab placement changes, added comment.
8306 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8308 2006-08-16 Roman Kennke <kennke@aicas.com>
8310 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8311 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8314 2006-08-16 Mark Wielaard <mark@klomp.org>
8316 * java/awt/Component.java (orientation): Renamed to
8317 componentOrientation.
8318 (setComponentOrientation): Use new field name.
8319 (getComponentOrientation): Likewise.
8321 2006-08-16 Roman Kennke <kennke@aicas.com>
8324 * javax/swing/plaf/basic/BasicTreeUI.java
8325 (CellEditorHandler.editingCancelled): Call completeEditing
8327 (CellEditorHandler.editingStopped): Call completeEditing
8329 (NodeDimensionHandler.getNodeDimensions): Rewritten
8330 to use the preferred sizes of the renderer and editor.
8331 (TreeExpansionHandler.treeCollapsed): Complete editing
8333 (TreeSelectionHandler.valueChanged): Complete editing
8335 (cancelEditing): Call completeEditing with false, false and
8336 false. Don't call finish (removed method).
8337 (completeEditing(boolean,boolean,boolean): Only do something when
8338 stopEditingInCompleteEditing is true. Nullify editingComponent
8339 and editingPath. Remove editingComponent from tree. Update
8340 the layout when necessary and repaint.
8341 (completeEditing): Stop editing when necessary.
8342 (editorRequestFocus): New helper method. Request focus
8343 on the actual editor.
8344 (finish) Removed. This is now done in completeEditing().
8345 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8346 (setLargeModel): Complete editing here.
8347 (setRootVisible): Complete editing here.
8348 (setRowHeight): Complete editing here.
8349 (setSelectionModel): Complete editing here.
8350 (startEditing): Correctly initialize and start editing.
8351 (updateExpandedDescendants): Complete editing here.
8352 * javax/swing/tree/DefaultTreeCellEditor.java
8353 (DefaultTextField): Fetch size from super and use renderer's height
8355 (EditorContainer.EditorContainer): Set layout to null, just
8357 (EditorContainer.doLayout): Layout so that the editor
8358 is offset to the right of the icon.
8359 (EditorContainer.getPreferredSize): Implemented to
8360 provide a reasonable preferred size.
8361 (EditorContainer.paint): Position icon in the middle.
8362 Also paint border if appropriate.
8363 (EditorContainer.setBounds): Removed.
8364 (RealEditorListener): Removed.
8365 (DefaultTreeCellEditor): Set correct border.
8366 (cancelCellEditing): Message real editor. Call finish().
8367 (createCellEditor): Don't add listener.
8368 (determineOffset): Correctly determine offset, and update
8370 (finish): New helper method.
8371 (getTreeCellEditorComponent): Set correct font. Call
8372 prepareForEditing() and determineOffset() to correctly initialize
8374 (stopCellEditing): Messsage realEditor to stop editing. Call
8376 (stopEditingTimer): Removed.
8377 (valueChanged): Correctly reset lastPath.
8378 * javax/swing/tree/DefaultTreeCellRenderer.java
8379 (getPreferredSize): Return super plus some extra space for
8382 2006-08-16 Roman Kennke <kennke@aicas.com>
8384 * javax/swing/plaf/metal/MetalTreeUI.java
8385 (LineStyleListener): New property listener, that updates
8386 the line style setting if the corresponding property
8388 (lineStyleListener): New field.
8389 (lineStyle): New field.
8390 (LINE_STYLE_ANGLED): New constant field.
8391 (LINE_STYLE_HORIZONTAL): New constant field.
8392 (LINE_STYLE_NONE): New constant field.
8393 (LINE_STYLE_VALUE_ANGLED): New constant field.
8394 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8395 (LINE_STYLE_VALUE_NONE): New constant field.
8396 (LINE_STYLE_PROPERTY): New constant field.
8397 (decodeLineStyle): Implemented.
8398 (installUI): Install line style listener. Set initial
8400 (uninstallUI): Uninstall line style listener.
8401 (paintHorizontalPartOfLeg): Only call super for angled
8403 (paintVerticalPartOfLeg): Only call super for angled
8405 (paintHorizontalSeparators): Implemented.
8406 (paint): If lineStyle==HORIZONTAL, call
8407 paintHorizontalSeparators().
8408 * examples/gnu/classpath/examples/swing/TreeDemo.java
8409 (createContent): Add panel for selecting line styles.
8411 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8413 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8414 (createContent): Rewritten.
8415 (createPlacementChangingMenuItem): New method.
8416 (createLayoutPolicyChangingMenuItem): New method.
8417 (createTabbedPane): New method.
8418 (createTabContent): New method.
8420 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8422 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8423 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8424 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8426 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8428 * javax/swing/text/WrappedPlainView.java:
8429 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8430 (calculateBreakPosition): Add p0 to return value.
8432 2006-08-15 Roman Kennke <kennke@aicas.com>
8434 * javax/swing/plaf/basic/BasicTreeUI.java
8435 (MouseHandler.selectedOnPress): New field.
8436 (MouseHandler.handleEvent): New helper method for handling
8437 selection and start/stop editing for mouse events.
8438 (MouseHandler.mouseDragged): Commented as no-op method.
8439 (MouseHandler.mouseMoved): Commented as no-op method.
8440 (MouseHandler.mousePressed): Use handleEvent() to handle
8441 selection and editing handling.
8442 (MouseHandler.mouseReleased): Use handleEvent() to handle
8443 selection and editing handling.
8444 (MouseInputHandler.MouseInputHandler): Register itself
8445 as mouse listener on source. Redispatch event to
8447 (MouseInputHandler.dispatch): New helper method.
8448 (MouseInputHandler.mouseClicked): Dispatch event.
8449 (MouseInputHandler.mouseDragged): Dispatch event.
8450 (MouseInputHandler.mouseEntered): Stop dispatching
8451 if dragging stopped.
8452 (MouseInputHandler.mouseExited): Stop dispatching
8453 if dragging stopped.
8454 (MouseInputHandler.mouseMoved): Stop dispatching.
8455 (MouseInputHandler.mousePressed): Marked as no-op.
8456 (MouseInputHandler.mouseReleased): Dispatch and stop
8457 dispatching afterwards.
8458 (MouseInputHandler.removeFromSource): Implemented.
8459 (PropertyChangeHandler.propertyChange): Also handle
8460 editable property changes by calling setEditable().
8461 (SelectionModelPropertyChangeHandler.propertyChange):
8462 Reset row selection.
8463 (startEditTimer): Removed.
8464 (setCellEditor): Call updateEditor().
8465 (setEditable): Call updateEditor().
8466 (startEditingAtPath): Make path fully visible before starting
8468 (startEditing): Maybe cancel previous edit session. Add
8469 editing component itself, not its parent container.
8470 Register MouseInputHandler for correctly redispatching
8472 (stopEditing): Message cellEditor and only completeEditing()
8473 when approved by cell editor.
8474 (updateCellEditor): Complete editing before updating
8475 the cell editor. Get cell editor from JTree if possible,
8476 otherwise create default editor. Update the listeners
8478 * javax/swing/tree/DefaultTreeCellEditor.java
8479 (CLICK_COUNT_TO_START): Removed.
8480 (DefaultTreeCellEditor): Install correct border. Let setTree()
8481 update the listeners. Don't initialize lastPath and font yet.
8482 (actionPerformed): Implemented to start editing.
8483 (createTreeCellEditor): Set click count to start to 1, rather than
8485 (isCellEditable): Prepare editor here. Determine if we can
8486 start immediately, or if we trigger a timer to do so.
8487 (prepareForEditing): Don't removeAll() (not necessary),
8488 check editingComponent to be non-null.
8489 (setTree): Update listeners.
8490 (shouldStartEditingTimer): Check for left mouse button.
8491 (startEditingTimer): Lazily create timer.
8493 2006-08-15 Lillian Angel <langel@redhat.com>
8495 * java/awt/dnd/DropTargetDragEvent.java
8496 (getTransferable): Implemented.
8498 2006-08-15 Roman Kennke <kennke@aicas.com>
8500 * java/util/Vector.java
8501 (removeAll): Added comment about NPE.
8502 (retainAll): Added comment about NPE.
8504 2006-08-15 Roman Kennke <kennke@aicas.com>
8506 * java/util/zip/ZipFile.java
8507 (UTF8DECODER): Removed.
8508 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8509 (utf8Decoder): New instance field.
8510 (decodeChars): Lazily create UTF8 decoder. Use instance
8511 field rather than a static field to avoid corruption.
8513 2006-08-15 Roman Kennke <kennke@aicas.com>
8515 * java/io/PrintStream.java
8516 (line_separator): Provide default for system property.
8517 * java/io/FileDescriptor.java
8518 (valid): Create local copy of channel field for better
8521 2006-08-15 Ingo Proetel <proetel@aicas.com>
8523 * java/util/zip/ZipFile.java
8524 (PartialInputStream.UTF8DECODER): New constant field, used
8525 for decoding UTF8 strings.
8526 (readLeShort): Access buffer directly if it has enough bytes
8528 (readLeInt): Access buffer directly if it has enough bytes
8530 (decodeChars): New helper method for decoding UTF8 strings.
8531 (readString): Avoid NIO charset decoder if possible.
8533 2006-08-15 Roman Kennke <kennke@aicas.com>
8535 * java/util/Vector.java
8536 (removeAll): Don't explicitly null-check here. The RI allows
8537 null arguments when Vector is empty. In other cases we
8538 implicitly throw an NPE.
8539 (retainAll): Don't explicitly null-check here. The RI allows
8540 null arguments when Vector is empty. In other cases we
8541 implicitly throw an NPE.
8543 2006-08-14 Casey Marshall <csm@gnu.org>
8545 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8546 of changes made on this branch.
8548 * gnu/classpath/debug/Component.java
8549 * gnu/classpath/debug/SystemLogger.java
8550 * gnu/java/security/action/GetPropertyAction.java
8551 * gnu/java/security/action/GetSecurityPropertyAction.java
8552 * gnu/javax/crypto/RSACipherImpl.java
8553 * gnu/javax/net/ssl/PrivateCredentials.java
8554 * gnu/javax/net/ssl/provider/Alert.java
8555 * gnu/javax/net/ssl/provider/AlertException.java
8556 * gnu/javax/net/ssl/provider/Certificate.java
8557 * gnu/javax/net/ssl/provider/CertificateRequest.java
8558 * gnu/javax/net/ssl/provider/CertificateType.java
8559 * gnu/javax/net/ssl/provider/CertificateVerify.java
8560 * gnu/javax/net/ssl/provider/CipherSuite.java
8561 * gnu/javax/net/ssl/provider/ClientHello.java
8562 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8563 * gnu/javax/net/ssl/provider/CompressionMethod.java
8564 * gnu/javax/net/ssl/provider/Constructed.java
8565 * gnu/javax/net/ssl/provider/ContentType.java
8566 * gnu/javax/net/ssl/provider/DiffieHellman.java
8567 * gnu/javax/net/ssl/provider/Extension.java
8568 * gnu/javax/net/ssl/provider/Finished.java
8569 * gnu/javax/net/ssl/provider/Handshake.java
8570 * gnu/javax/net/ssl/provider/Jessie.java
8571 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8572 * gnu/javax/net/ssl/provider/Random.java
8573 * gnu/javax/net/ssl/provider/ServerHello.java
8574 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8575 * gnu/javax/net/ssl/provider/Signature.java
8576 * gnu/javax/net/ssl/provider/Util.java
8577 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8578 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8579 * java/security/MessageDigest.java
8580 * java/security/MessageDigestSpi.java
8581 * java/security/Signature.java
8582 * java/security/SignatureSpi.java
8583 * javax/crypto/Mac.java
8584 * javax/crypto/MacSpi.java
8585 * javax/net/ssl/HandshakeCompletedEvent.java
8586 * javax/net/ssl/HttpsURLConnection.java
8587 * javax/net/ssl/SSLContext.java
8588 * javax/net/ssl/SSLContextSpi.java
8589 * javax/net/ssl/SSLSession.java
8591 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8592 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8593 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8594 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8595 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8596 * gnu/javax/net/ssl/provider/ServerDHParams.java
8597 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8598 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8599 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8600 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8601 * gnu/javax/net/ssl/provider/ServerNameList.java
8602 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8603 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8604 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8605 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8606 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8607 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8608 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8609 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8610 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8611 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8612 * gnu/javax/net/ssl/provider/Record.java
8613 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8614 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8615 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8616 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8617 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8618 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8619 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8620 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8621 * gnu/javax/net/ssl/provider/ExtensionList.java
8622 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8623 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8624 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8625 * gnu/javax/net/ssl/provider/ServerHandshake.java
8626 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8627 * gnu/javax/net/ssl/provider/SessionImpl.java
8628 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8629 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8630 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8631 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8632 * gnu/javax/net/ssl/provider/HelloRequest.java
8633 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8634 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8635 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8636 * gnu/javax/net/ssl/provider/ClientHandshake.java
8637 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8638 * gnu/javax/net/ssl/provider/CertificateURL.java
8639 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8640 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8641 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8642 * gnu/javax/net/ssl/provider/Builder.java
8643 * gnu/javax/net/ssl/provider/Debug.java
8644 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8645 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8646 * gnu/javax/net/ssl/provider/DelegatedTask.java
8647 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8648 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8649 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8650 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8651 * javax/net/ssl/SSLEngine.java
8652 * javax/net/ssl/CertPathTrustManagerParameters.java
8653 * javax/net/ssl/KeyStoreBuilderParameters.java
8654 * javax/net/ssl/X509ExtendedKeyManager.java
8655 * javax/net/ssl/SSLEngineResult.java
8656 * gnu/javax/net/ssl/PreSharedKeyManager.java
8657 * gnu/javax/net/ssl/Session.java
8658 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8659 * gnu/javax/net/ssl/SSLCipherSuite.java
8660 * gnu/javax/net/ssl/AbstractSessionContext.java
8661 * gnu/javax/net/ssl/SessionStoreException.java
8662 * gnu/javax/net/ssl/SSLRecordHandler.java
8663 * gnu/javax/net/ssl/SSLProtocolVersion.java
8664 * gnu/javax/crypto/key/GnuPBEKey.java
8665 * gnu/java/security/util/ByteBufferOutputStream.java
8666 * gnu/java/security/Requires.java
8667 * gnu/javax/security/auth/callback/CertificateCallback.java
8669 * gnu/javax/net/ssl/provider/Context.java
8670 * gnu/javax/net/ssl/provider/DigestInputStream.java
8671 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8672 * gnu/javax/net/ssl/provider/Enumerated.java
8673 * gnu/javax/net/ssl/provider/Extensions.java
8674 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8675 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8676 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8677 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8678 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8679 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8680 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8681 * gnu/javax/net/ssl/provider/KeyPool.java
8682 * gnu/javax/net/ssl/provider/OverflowException.java
8683 * gnu/javax/net/ssl/provider/RecordInput.java
8684 * gnu/javax/net/ssl/provider/RecordInputStream.java
8685 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8686 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8687 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8688 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8689 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8690 * gnu/javax/net/ssl/provider/SSLSocket.java
8691 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8692 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8693 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8694 * gnu/javax/net/ssl/provider/SecurityParameters.java
8695 * gnu/javax/net/ssl/provider/Session.java
8696 * gnu/javax/net/ssl/provider/SessionContext.java
8697 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8698 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8700 2006-08-14 Roman Kennke <kennke@aicas.com>
8702 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8703 (DividerLayout.layoutContainer): Removed debug output.
8704 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8705 (BasicHorizontalLayoutManager.axis): New field.
8706 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8708 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8709 Call new axis constructor.
8710 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8712 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8714 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8715 Refactored to handle direction.
8716 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8717 to handle direction.
8718 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8720 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8721 to handle direction.
8722 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8723 to handle direction.
8724 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8725 to handle direction.
8726 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8728 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8729 New explicit constructor. Calls super with vertical axis.
8730 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8731 to BasicHorizontalLayoutManager.
8732 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8733 moved to BasicHorizontalLayoutManager.
8734 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8735 Functionality moved to BasicHorizontalLayoutManager.
8736 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8737 moved to BasicHorizontalLayoutManager.
8738 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8739 moved to BasicHorizontalLayoutManager.
8740 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8741 Functionality moved to BasicHorizontalLayoutManager.
8742 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8743 moved to BasicHorizontalLayoutManager.
8744 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8745 moved to BasicHorizontalLayoutManager.
8746 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8747 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8748 (BUTTON_SPRITE_R): New constant field.
8749 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8750 L sprite for left buttons.
8752 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8754 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8755 (query_formats): g_free 'name' after usage.
8756 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8757 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8759 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8762 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8765 2006-08-14 Francis Kung <fkung@redhat.com>
8768 * java/awt/image/ColorModel.java
8769 (coerceData): Added check for non-transparent images.
8771 2006-08-14 Francis Kung <fkung@redhat.com>
8773 * java/awt/image/BandCombineOp.java
8774 (BandCombineOp): Perform checks on validity of matrix.
8775 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8776 (filter): Updated to work with new matrix storage.
8777 (getMatrix): Updated javadoc.
8778 (getPoint2D): Formatting change.
8780 2006-08-14 Francis Kung <fkung@redhat.com>
8782 * java/awt/image/AffineTransformOp.java
8783 (AffineTransformOp): Updated javadoc.
8784 (createCompatibleDestImage): Match behaviour of reference implementation.
8785 (createCompatibleDestRaster): Formatting changes.
8786 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8787 (filter(Raster, WritableRaster)): Re-implemented.
8788 (filterBicubic): New private method.
8789 (filterBilinear): New private method.
8790 (filterNearest): New private method.
8791 (getBounds2D): No longer fixed around one point for rotations.
8792 (getInterpolationType): Add support for bicubic interpolation.
8794 2006-08-14 Roman Kennke <kennke@aicas.com>
8796 * javax/swing/plaf/metal/MetalLookAndFeel.java
8797 (MetalLookAndFeel): Moved theme initialization to
8799 (createDefaultTheme): Forward to getCurrentTheme().
8800 (getDefaults): Initialize theme before doing anything else.
8801 (getCurrentTheme): Recognize swing.metalTheme property.
8803 2006-08-14 Roman Kennke <kennke@aicas.com>
8805 * javax/swing/JTable
8806 (getScrollableUnitIncrement): Expose partially exposed
8807 row in scrolling direction.
8809 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8811 * javax/swing/JTable (getScrollableUnitIncrement):
8812 Removing my name as the whole method body have been
8813 recently completely replaced.
8815 2006-08-14 Roman Kennke <kennke@aicas.com>
8818 * javax/swing/text/Utilities.java
8819 (getTabbedTextOffset): Don't add p0 here.
8821 2006-08-14 Roman Kennke <kennke@aicas.com>
8824 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8825 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8826 when wheel is going up.
8828 2006-08-14 Roman Kennke <kennke@aicas.com>
8831 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8832 (BasicOneTouchButton): New inner class.
8833 (DividerLayout.changeButtonOrientation): Removed.
8834 (DividerLayout.positionButtons): Moved into layoutContainer.
8835 (DividerLayout.layoutContainer): Reworked for correct layout.
8836 (OneTouchAction): New inner class.
8837 (centerOneTouchButtons): New field.
8838 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8840 (createLeftOneTouchButton): Reimplemented to return
8841 BasicOneTouchButton.
8842 (createRightOneTouchButton): Reimplemented to return
8843 BasicOneTouchButton.
8844 (getPreferredSize): Reimplemented to return fixed preferredSize.
8845 (oneTouchExpandableChanged): Add OneTouchAction action to
8846 buttons. Don't install mouse listeners.
8847 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8848 (paint): Don't trigger extra paint for buttons.
8849 (propertyChange): Revalidate splitPane when orientation is changed.
8850 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8851 oneTouchExpandable is true.
8852 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8853 (installDefaults): Install dividerSize on the divider too.
8854 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8855 (MetalDividerLayout): Removed. Functionality is already
8856 in BasicSplitPaneDivider.DividerLayout.
8857 (MetalOneTouchButton): New inner class.
8858 (BUTTON_SPRITE): New constant field.
8859 (MetalSplitPaneDivider): Don't change layout.
8860 (createLeftOneTouchButton): Overridden to return custom button
8862 (createRightOneTouchButton): Overridden to return custom button
8864 (paint): Don't trigger button painting. Call super instead.
8866 2006-08-13 Roman Kennke <kennke@aicas.com>
8868 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8869 (installKeyboardAction): Unmarked as stub. Added comment
8870 explaining that the RI seems to do nothing here.
8871 (uninstallKeyboardAction): Unmarked as stub. Added comment
8872 explaining that the RI seems to do nothing here.
8874 2006-08-13 Roman Kennke <kennke@aicas.com>
8877 * javax/swing/ScrollPaneLayout.java
8878 (layoutContainer): Consider the viewportBorder of the
8880 (minimumLayoutSize): Consider the viewportBorder of the
8882 (preferredLayoutSize): Consider the viewportBorder of the
8884 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8885 (installDefaults): Also install viewportBorder if specified.
8886 (paint): Paint viewportBorder if present.
8887 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8888 Don't nullify foreground, background and font. Uninstall
8889 border via LookAndFeel helper method to avoid uninstall
8892 2006-08-13 Roman Kennke <kennke@aicas.com>
8895 * javax/swing/plaf/basic/BasicHTML.java
8896 (HTMLRootView.HTMLRootView): Trigger initial layout.
8897 (HTMLRootView.setSize): Overridden to forward to real view.
8898 * javax/swing/plaf/basic/BasicToolTipUI.java
8899 (PropertyChangeHandler): New inner class. Updates the HTML
8901 (propertyChangeHandler): New field.
8902 (getMaximumSize): Add HTML width delta.
8903 (getMinimumSize): Add HTML width delta.
8904 (getPreferredSize): Reimplemented to use HTML view for size
8905 calculation if appropriate, otherwise use simple stringWidth()
8907 (installListeners): Install propertyChangeHandler.
8908 (uninstallListeners): Uninstall propertyChangeHandler.
8909 (installUI): Update HTML renderer.
8910 (uninstallUI): Update HTML renderer.
8911 (paint): Reimplemented to use HTML view for rendering if
8912 appropriate, simple drawString otherwise.
8913 * javax/swing/plaf/metal/MetalToolTipUI.java
8914 (getPreferredSize): Call super and add accelerator delta.
8915 (paint): Simply call super.
8917 2006-08-13 Roman Kennke <kennke@aicas.com>
8919 * javax/swing/JMenu.java
8920 (changeListener): Renamed to menuChangeListener to avoid
8921 shadowing changeListener field from AbstractButton.
8923 2006-08-13 Roman Kennke <kennke@aicas.com>
8925 * javax/swing/JTree.java
8926 (getScrollableUnitIncrement): Fixed direction.
8927 (getScrollableBlockIncrement): Implemented to scroll one
8929 * javax/swing/tree/VariableHeightLayoutCache.java
8930 (distance): Consider y + height already outside the node.
8932 2006-08-13 Roman Kennke <kennke@aicas.com>
8934 * javax/swing/JTable.java
8935 (getScrollableUnitIncrement): Fixed direction. Make it behave
8937 (getScrollableBlockIncrement): Fixed direction. Make it behave
8940 2006-08-13 Roman Kennke <kennke@aicas.com>
8942 * javax/swing/JList.java
8943 (getScrollableUnitIncrement): Fixed direction. Implemented
8944 horizontal scrolling. Improved usability.
8945 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8947 2006-08-13 Roman Kennke <kennke@aicas.com>
8949 * javax/swing/plaf/basic/BasicScrollBarUI.java
8950 (scrollByUnit): Scroll by -unit when direction is not positive
8951 and +unit otherwise.
8952 (scrollByBlock): Scroll by -unit when direction is not positive
8953 and +unit otherwise.
8955 2006-08-13 Roman Kennke <kennke@aicas.com>
8958 * javax/swing/text/PlainView.java
8959 (paint): Limit painted area to the lines inside the clip
8962 2006-08-13 Roman Kennke <kennke@aicas.com>
8964 * javax/swing/plaf/basic/BasicTextUI.java
8965 (uninstallListeners): Unregister document listener.
8967 2006-08-13 Sven de Marothy <sven@physto.se>
8969 * java/util/Locale.java
8970 (hashcodeCache): New field.
8971 (hashCode): use the above field instead of the serialized one
8972 (writeObject): Removed method.
8973 (readObject): Intern strings.
8974 (equals): Revert to previous method.
8976 2006-08-13 Roman Kennke <kennke@aicas.com>
8978 * javax/swing/JTabbedPane.java
8979 (JTabbedPane): Call setModel() here and let this install the
8980 change listener correctly.
8981 (setModel): Correctly uninstall and reinstall ChangeListener when
8984 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8987 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8988 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8989 (lastDefaultLocale): Removed.
8990 (emptyLocale): Likewise.
8991 (BundleKey.defaultLocale): New field.
8992 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8993 (BundleKey.set): Likewise.
8994 (BundleKey.equals): Take defaultLocal field into consideration.
8995 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8997 2006-08-13 Roman Kennke <kennke@aicas.com>
8999 * javax/swing/JMenu.java
9000 (MenuChangeListener): New inner class, helps firing menu events.
9001 (changeListener): New field.
9002 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9003 (add(Action)): Create Action using createActionComponent()
9004 and add via add(Component).
9005 (setModel): Install and uninstall MenuChangeListener here.
9007 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9010 * java/math/BigInteger.java: Updated copyright year.
9011 (init): Consume as little bytes as possible.
9012 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9013 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9014 as per RI's documentation.
9016 2006-08-13 Sven de Marothy <sven@physto.se>
9018 * java/util/Locale.java
9019 (hashcode): Is a serialized field, not transient.
9020 (equals): Should NOT compare strings by reference.
9021 (readObject/writeObject): Use the default methods and handle the hash
9024 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9027 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9028 Updated documentation.
9030 (getInstance(String, String, Provider, Object[])): Likewise.
9031 Separate checks for null and empty string arguments.
9032 Include as much information as possible in the exception's message.
9033 Do not swallow original exception; instead use it as the cause of the
9034 resulting exception.
9035 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9036 (getInstance(String)): Updated documentation.
9038 Store last exception caught when iterating through all providers.
9039 If no implementation found, raise last exception if one was caught.
9040 (getInstance(String, String)): Updated documentation.
9042 Check for null or empty provider as per RI-5's documentation.
9043 (getInstance(String, Provider)): Updated documentation.
9045 Use as much information as possible in the exception message.
9046 Do not swallow original exception; instead use it as the cause for the
9047 ultimate raised exception(s).
9048 * java/security/cert/CertificateFactory.java: Likewise.
9049 * java/security/cert/CertPathBuilder.java: Likewise.
9050 * java/security/cert/CertPathValidator.java: Likewise.
9051 * java/security/cert/CertStore.java: Likewise.
9052 * java/security/AlgorithmParameterGenerator.java: Likewise.
9053 * java/security/AlgorithmParameters.java: Likewise.
9054 * java/security/KeyFactory.java: Likewise.
9055 * java/security/KeyPairGenerator.java: Likewise.
9056 * java/security/KeyStore.java: Likewise.
9057 * java/security/MessageDigest.java: Likewise.
9058 * java/security/SecureRandom.java: Likewise.
9059 * java/security/Signature.java: Likewise.
9060 * javax/crypto/Cipher.java: Likewise.
9061 * javax/crypto/ExemptionMechanism.java: Likewise.
9062 * javax/crypto/KeyAgreement.java: Likewise.
9063 * javax/crypto/KeyGenerator.java: Likewise.
9064 * javax/crypto/Mac.java: Likewise.
9065 * javax/crypto/SecretKeyFactory.java: Likewise.
9066 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9067 * javax/net/ssl/SSLContext.java: Likewise.
9068 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9070 2006-08-13 Roman Kennke <kennke@aicas.com>
9072 * javax/swing/JEditorPane.java
9073 (getScrollableTracksViewportHeight): Also check maximum size.
9074 * javax/swing/JTextPane.java
9075 (insertIcon): Use input attributes for adding the icon
9077 * javax/swing/plaf/basic/BasicTextUI.java
9078 (RootView.setSize): Overridden to forward to real view.
9079 (getPreferredSize): Trigger setSize() on the view.
9080 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9081 to viewToModel() call, rather then null.
9082 * javax/swing/text/ParagraphView.java
9083 (changedUpdate): Invalide layout. Call super.
9084 * javax/swing/text/SimpleAttributeSet.java
9085 (clone): Use super's clone method to create clone.
9086 * javax/swing/text/StyleConstants.java
9087 (setIcon): Also set element name attribute.
9088 * javax/swing/text/StyledEditorKit.java
9089 (BoldAction.actionPerformed): Actually set the bold attribute,
9091 (setCharacterAttributes): Replaced with more straightforward
9093 * javax/swing/text/TextAction.java
9094 (getFocusedComponent): Implemented.
9095 * javax/swing/text/Utilities.java
9096 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9098 * javax/swing/text/View.java
9099 (changedUpdate): Nullify element change when updateChildren
9102 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9104 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9105 Fix documentation typos.
9107 2006-08-11 David Daney <ddaney@avtrex.com>
9110 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9111 createResponseBodyStream in more cases and with new parameter.
9112 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9113 HEAD and !mayHaveBody responses specially.
9115 2006-08-11 Roman Kennke <kennke@aicas.com>
9117 * javax/swing/text/GlyphView.java
9118 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9119 * javax/swing/text/LabelView.java
9120 (valid): New flag indicating if the text attributes are valid.
9121 (LabelView): Initialize valid field with false.
9122 (setPropertiesFromAttributes): Call setter methods instead
9123 of setting properties directly. Set valid to true.
9124 (changedUpdate): Invalidate attributes. Call super.
9125 (getBackground): Sync attributes if necessary.
9126 (getForeground): Sync attributes if necessary.
9127 (getFont): Sync attributes if necessary.
9128 (isUnderline): Sync attributes if necessary.
9129 (isSuperscript): Sync attributes if necessary.
9130 (isStrikeThrough): Sync attributes if necessary.
9131 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9132 from toolkit if Container is not available yet.
9134 2006-08-11 Roman Kennke <kennke@aicas.com>
9136 * javax/swing/text/PlainView.java
9137 (tabBase): New field.
9138 (tabSize): New field.
9139 (updateMetrics): Update tabSize.
9140 (lineToRect): Only allocate when really necessary.
9141 (modelToView): Use tabBase for offset calculations.
9142 (paint): Only allocate when really necessary. Update tabBase.
9143 (nextTabStop): Fixed tab calculation.
9144 (viewToModel): Correctly handle multiline text and locations
9145 outside the view's bounds. Set bias.
9146 (getLineLength): Use tabBase.
9147 * javax/swing/text/Utilities.java
9148 (drawTabbedText): Don't special case newlines. The views
9149 must take care of this.
9151 2006-08-11 Roman Kennke <kennke@aicas.com>
9153 * javax/swing/text/GapContent.java
9154 (UndoPosRef): New inner class. Used for resetting positions
9155 after undo/redo operations.
9156 (InsertUndo.positions): New field.
9157 (InsertUndo.undo): Store positions in removed range.
9158 (InsertUndo.redo): Restore positions in re-inserted range.
9159 (UndoRemove.positions): New field.
9160 (UndoRemove.UndoRemove): Store positions in removed range.
9161 (UndoRemove.undo): Restore positions in re-inserted range.
9162 (UndoRemove.redo): Store positions in removed range.
9163 (insertString): Create InsertUndo instance before actually
9164 inserting the string.
9165 (remove): Create UndoRemove instance before actually
9167 (getPositionsInRange): Don't clear the Vector. Return Vector
9169 (updateUndoPositions): Implemented to reset all UndoPosRefs
9172 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9174 * java/io/ObjectInputStream.java (readClassDescriptor):
9175 Use class's class loader to resolve field types.
9176 * java/io/ObjectStreamField.java
9177 (ObjectStreamField(String,String,ClassLoader)): Removed.
9178 (ObjectStreamField(String,String)): Don't try to resolve typename.
9179 (resolveType): New method.
9181 2006-08-10 Roman Kennke <kennke@aicas.com>
9183 * javax/swing/text/BoxView.java
9184 (calculateMajorAxisRequirements): Sum up the preferred and
9186 (isAfter): Also add in the rectangle's with/height.
9187 (childAllocation): Don't trigger layout here.
9188 (layoutMinorAxis): Removed debug output.
9189 (getWidth): Consider the insets.
9190 (getHeight): Consider the insets.
9191 (setSize): Consider the insets.
9192 (updateRequirements): Check axis and throw
9193 IllegalArgumentException.
9195 2006-08-10 Roman Kennke <kennke@aicas.com>
9197 * javax/swing/text/AbstractDocument.java
9198 (BidiRootName): New constant field, denotes the element name
9199 for bidi root elements.
9200 (AsyncLoadPriority): New constant field, denotes the property
9201 to store the asynchronousLoadPriority.
9202 (I18N): New constant field, denotes the property for
9204 (bidiRoot): Made field type BidiRootElement.
9205 (AbstractDocument): Build initial element structure for
9207 (getAsynchronousLoadPriority): Implemented. Returns the
9208 value stored in the document properties.
9209 (setAsynchronousLoadPriority): Implemented. Sets the
9210 value stored in the document properties.
9211 (getEndPosition): Implemented to use a Position from the
9213 (getStartPosition): Implemented to use a Position from the
9215 (insertStringImpl): Update the I18N setting if necessary.
9216 (insertUpdate): Update the bidi structure if necessary.
9217 (postRemoveUpdate): Update the bidi structure if necessary.
9218 (putProperty): Update the I18N setting and bidi structure
9220 (updateBidi): New helper method for updating the bidi
9222 (getBidis): New helper method. Fetches the Bidi analysers
9223 for the paragraphs of the range to check.
9224 (dump): Also dump the bidi structure.
9225 (AbstractElement.dump): Indent the '>' correctly.
9226 (AbstractElement.children): Check numChildren rather then
9228 (BidiRootElement): New inner class.
9229 (BidiElement): New inner class.
9231 2006-08-10 Roman Kennke <kennke@aicas.com>
9233 * javax/swing/text/GapContent.java
9234 (getChars): Optimized to only copy array when really necessary.
9235 Respect the partialReturn property.
9237 2006-08-10 Lillian Angel <langel@redhat.com>
9239 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9240 (getComponentPeer): Added check to prevent NPE.
9242 2006-08-10 Gary Benson <gbenson@redhat.com>
9244 * java/security/AccessControlContext.java (<init>):
9245 Avoid a duplicated AccessController.getContext() call.
9247 2006-08-09 Mark Wielaard <mark@klomp.org>
9249 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9250 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9251 * doc/www.gnu.org/announce/20060809.wml: New file.
9253 2006-08-09 Mark Wielaard <mark@klomp.org>
9255 * configure.ac (VERSION): Set to 0.92-generics.
9256 * NEWS: Add updates for 0.92 release.
9258 2006-08-09 Tom Tromey <tromey@redhat.com>
9261 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9262 the pattern match any number of spaces in the text.
9264 2006-08-09 Sven de Marothy <sven@physto.se>
9266 * java/awt/image/BufferedImage.java
9267 (BufferedImage): Reimplement predefined-type constructor.
9268 (observers/tileObservers): Field renamed to tileObservers.
9269 (createDefaultIndexedColorModel): New method.
9271 2006-08-09 Tom Tromey <tromey@redhat.com>
9274 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9275 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9276 Create a 'short' array.
9278 2006-08-09 Tom Tromey <tromey@redhat.com>
9280 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9282 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9283 (writeFields): Print "L" after int constant. Don't mangle the field
9284 name. Only print int/long fields.
9286 2006-08-09 Tom Tromey <tromey@redhat.com>
9288 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9291 2006-08-09 Sven de Marothy <sven@physto.se>
9293 * javax/swing/JTree.java
9294 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9295 (setSelectionModel): Null parameter should create an EmptySelectionM.
9297 2006-08-09 Roman Kennke <kennke@aicas.com>
9299 * javax/swing/text/AbstractDocument.java
9300 (insertString): Perform modifications inside a write lock.
9301 (insertStringImpl): Don't lock here. This is already done
9303 (replace): Perform modifications inside a write lock.
9304 (AbstractElement.AbstractElement): Call addAttributes() to
9306 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9307 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9308 (BranchElement.BranchElement): Set lastIndex to -1.
9309 (BranchElement.getElementIndex): Implemented more efficient
9312 2006-08-09 Roman Kennke <kennke@aicas.com>
9314 * javax/swing/text/DefaultStyledDocument.java
9315 (Edit): Moved this inner class into ElementBuffer where it
9317 (edits): Moved this field into ElementBuffer.
9318 (getEditForParagraphAndIndex): Removed obsolete method.
9319 (insertUpdate): Added some optimizations and fixes. Split
9320 out handling insertion after newlines.
9321 (insertAfterNewline): New helper method. Handles insertions
9323 (ElementBuffer.Edit): New inner class. Moved here from
9324 DefaultStyledDocument.
9325 (ElementBuffer.createdFracture): New field.
9326 (ElementBuffer.documentEvent): Made private.
9327 (ElementBuffer.edits): New field. Moved here from
9328 DefaultStyledDocument.
9329 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9330 (ElementBuffer.fracturedChild): New field.
9331 (ElementBuffer.fracturedParent): New field.
9332 (ElementBuffer.insertPath): New field.
9333 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9335 (ElementBuffer.offsetLastIndex): New field.
9336 (ElementBuffer.offsetLastIndexReplace): New field.
9337 (ElementBuffer.recreateLeafs): New field.
9338 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9339 (ElementBuffer.canJoin): New helper method.
9340 (ElementBuffer.changeUpdate): Changed to use elementStack with
9341 Edits rather than Elements. Let the split method do the work.
9342 (ElementBuffer.cloneAsNecessary): New helper method.
9343 (ElementBuffer.createFracture): Changed to fracture the bottommost
9345 (ElementBuffer.finishEdit): New helper method. Moved out
9346 from insertUpdate to perform the actual changes and update
9348 (fracture): New helper method.
9349 (insertContentTag): Fixed some bugs and changed to use Edit
9350 instances in the stack, rather then Elements.
9351 (insertElement): New helper method. Moved out from insertUpdate()
9352 to process the ElementSpecs.
9353 (insertFirstContentTag): Fixed some problems and changed to use Edit
9354 instances in the stack, rather then Elements.
9355 (insertFracture): Removed. Basically moved into createFracture()
9357 (insertParagraph): Removed.
9358 (insertUpdate): Split out the ElementSpec processing into
9359 insertElement(). Use Edit instances in the stack. Fixed some
9361 (insert): Split out the preparation and finishing code into
9362 prepareEdit() and finishEdit().
9363 (join): New helper method.
9364 (pop): New helper method.
9365 (prepareEdit): New helper method.
9366 (recreateFracturedElement): New helper method.
9367 (recreateLeaves): Removed.
9368 (recreate): New helper method.
9369 (removeElements): New helper method. Split out from removeUpdate().
9370 (removeUpdate): Split out the actual removal. Use the
9371 Edit stack to perform removal and perform the remove actions
9372 and event updates afterwards, just like in insertImpl().
9373 (remove): Use prepareEdit() and finishEdit().
9374 (split): Replaced with more flexible impl.
9376 2006-08-09 Sven de Marothy <sven@physto.se>
9378 * gnu/java/awt/peer/gtk/CairoSurface.java
9379 Change class to extend WritableRaster and not DataBuffer.
9380 (CairoDataBuffer): New inner class.
9381 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9382 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9383 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9384 Accomodate the above change.
9386 2006-08-09 Sven de Marothy <sven@physto.se>
9388 * gnu/java/awt/peer/gtk/GtkMainThread.java
9390 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9391 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9392 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9393 * gnu/java/awt/peer/gtk/GtkToolkit.java
9394 Minor style fixes; removed unused fields,
9395 set fields to private where possible.
9396 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9397 Call GtkMainThread.createWindow().
9398 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9399 (dispose): New method.
9400 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9401 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9402 (gtkQuit): New native method.
9404 2006-08-08 Lillian Angel <langel@redhat.com>
9406 * java/awt/Component.java
9407 (setDropTarget): Added check.
9409 2006-08-08 Lillian Angel <langel@redhat.com>
9411 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9412 (GtkDragSourceContextPeer): Added FIXME. Changed call
9414 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9415 (GtkDropTargetContextPeer): Removed target initialization.
9416 * java/awt/Component.java
9417 (setTarget): Removed commented out code.
9419 2006-08-08 Mark Wielaard <mark@klomp.org>
9421 * javax/swing/text/DefaultHighlighter.java: Qualify
9422 Highlighter.HighlightPainter class name for gcj.
9424 2006-08-05 Roman Kennke <kennke@aicas.com>
9426 * javax/swing/plaf/basic/BasicTableUI.java
9427 (MouseInputHandler.mousePressed): Request focus on list
9430 2006-08-05 Roman Kennke <kennke@aicas.com>
9432 * javax/swing/plaf/basic/BasicListUI.java
9433 (MouseInputHandler.mousePressed): Request focus on list
9436 2006-08-05 Roman Kennke <kennke@aicas.com>
9439 * javax/swing/plaf/basic/BasicMenuBarUI.java
9440 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9441 than Tree.actionMap.
9442 * javax/swing/plaf/basic/BasicTreeUI.java
9443 (action): Removed obsolete field.
9444 (uninstallKeyboardActions): Removed action field handling.
9445 (installKeyboardActions): Removed action field handling.
9446 (createDefaultActions): Don't install removed TreeAction.
9447 (TreeAction): Removed obsolete inner class.
9448 (ActionListenerProxy): Removed obsolete inner class.
9449 (MouseHandler.mousePressed): Request focus on JTree component
9452 2006-08-08 Roman Kennke <kennke@aicas.com>
9454 * javax/swing/plaf/basic/BasicListUI.java
9455 (MouseInputHandler.mousePressed): Request focus on list
9458 2006-08-08 Roman Kennke <kennke@aicas.com>
9460 * javax/swing/plaf/basic/BasicTableUI.java
9461 (MouseInputHandler.mousePressed): Request focus on list
9464 2006-08-08 Roman Kennke <kennke@aicas.com>
9466 * javax/swing/plaf/basic/BasicTextUI.java
9467 (damageRange(JTextComponent,int,int)): Call damageRange() with
9468 correct biases, rather than null.
9469 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9470 to use simpler modelToView() approach without much special
9471 casing. This seems not worth the effort and actually
9472 caused problems. Added locking of the document.
9473 * javax/swing/text/BoxView.java
9474 (requirementsValid): New field.
9475 (calculateMajorAxisRequirements): Rewritten without using
9476 SizeRequirements. The SizeRequirements algorithms are slightly
9477 different and too inefficient.
9478 (calculateMinorAxisRequirements): Rewritten without using
9479 SizeRequirements. The SizeRequirements algorithms are slightly
9480 different and too inefficient.
9481 (getAlignment): Simply return the alignment of the cached
9483 (getMaximumSpan): Add insets.
9484 (getMinimumSpan): Add insets.
9485 (getPreferredSpan): Add insets.
9486 (layoutMajorAxis): Rewritten without using
9487 SizeRequirements. The SizeRequirements algorithms are slightly
9488 different and too inefficient.
9489 (layoutMinorAxis): Rewritten without using
9490 SizeRequirements. The SizeRequirements algorithms are slightly
9491 different and too inefficient.
9492 (modelToView): Call setSize() rather than layout().
9493 (paint): Check clip for more efficient painting.
9494 (preferenceChanged): Invalidate requirements here.
9495 (replace): Invalidate requirements here.
9496 (updateRequirements): Update requirements only when requirements
9498 * javax/swing/text/CompositeView.java
9499 (modelToView): Added some more checks and handling of corner cases.
9500 * javax/swing/text/FlowView.java
9501 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9502 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9503 * javax/swing/text/IconView.java
9504 (getAlignment): Implemented to return 1.0 for vertical alignment.
9505 * javax/swing/text/ParagraphView.java
9506 (Row.getMaximumSpan): Implemented to let Rows span the whole
9508 (getAlignment): Fixed horizontal alignment and vertical alignment
9509 for empty paragraphs to be 0.5.
9511 2006-08-08 Roman Kennke <kennke@aicas.com>
9513 * javax/swing/text/View.java
9514 (modelToView): Added special handling for corner case at the end
9515 of the view and for multiline views.
9517 2006-08-08 Roman Kennke <kennke@aicas.com>
9519 * javax/swing/plaf/basic/BasicTextUI.java
9520 (modelToView): Read-lock the document. Set size of the
9521 root view before fetching the model-to-view mapping.
9522 (getViewIndex): Check of the position is inside the range and
9523 return -1 if this is not the case.
9524 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9526 (getViewIndexAtPosition(int)): Delegate the index search to
9527 the element since we have a 1:1 mapping between elements and
9529 * javax/swing/text/DefaultCaret.java
9530 (appear): Ignore BadLocationException.
9531 (paint): Ignore BadLocationException.
9532 * javax/swing/text/FlowView.java
9533 (changedUpdate): Also notify the layoutPool view.
9534 (removeUpdate): Also notify the layoutPool view.
9535 * javax/swing/text/ParagraphView.java
9536 (Row.getViewIndexAtPosition): Overridden to search linearily
9537 through the view instead of relying on a 1:1 model to view
9539 * javax/swing/text/View.java
9540 (removeUpdate): Clear ElementChange object if updateChildren
9542 (forwardUpdate): Special handle some boundary cases.
9544 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9546 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9547 (hasInheritedParameters): New method.
9548 (equals): Updated documentation.
9549 Take into consideration the outcome of hasInheritedParameters invocation.
9550 (toString): Call hasInheritedParameters and adjust the result accordingly.
9551 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9552 Updated documentation.
9553 Handle case of public keys with null p, q, and g MPIs.
9554 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9556 2006-08-07 Tom Tromey <tromey@redhat.com>
9559 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9560 (attachment): Likewise.
9561 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9563 (isValid): Likewise.
9564 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9566 (interestOps): Synchronize.
9567 (readyOps): Likewise.
9568 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9571 2006-08-07 C. Scott Marshall <csm@gnu.org>
9574 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9575 the mark has been set.
9576 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9577 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9580 2006-08-07 Sven de Marothy <sven@physto.se>
9582 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9583 (drawGlyphVector): Synchronize against font object when drawing.
9584 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9585 (nativeDrawGlyphVector): Use pango locking when drawing.
9586 (install_font_peer): Use pango locking when creating the cairo face.
9588 2006-08-06 Roman Kennke <kennke@aicas.com>
9591 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9592 (getPreferredSize): Renamed method to preferredSize(). That's
9593 the one that gets called from java.awt.*.
9594 * java/awt/peer/ComponentPeer.java
9595 (getPreferredSize): Added specnote about this method never
9596 beeing called in the RI.
9597 (getMinimumSize): Added specnote about this method never
9598 beeing called in the RI.
9600 2006-08-03 Sven de Marothy <sven@physto.se>
9602 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9603 (grab, nativeGrab): New methods.
9604 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9605 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9606 (nativeGrab): New method.
9607 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9609 * java/awt/Component.java
9610 (printAll): Should call peer print method.
9612 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9614 * java/net/URL.java (getContent(Class[])): Implement.
9616 2006-08-06 Mark Wielaard <mark@klomp.org>
9619 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9620 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9622 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9625 2006-08-06 Roman Kennke <kennke@aicas.com>
9627 * NEWS: Added note about the X peers.
9628 * INSTALL: Added install notes about the X peers.
9630 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9631 Paul Jenner <psj@harker.dyndns.org>
9633 * README: Update bug, patches and cvs instructions plus new URLs of
9634 various external projects.
9636 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9638 * configure.ac (MOZILLA_FOUND): Fall back to
9639 mozilla-firefox-plugin.
9641 2006-08-06 Mario Torre <neugens@limasoftware.net>
9643 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9644 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9645 g_type_init earlier in function to correctly initialize the
9646 type system used by the backend.
9648 2006-08-05 Roman Kennke <kennke@aicas.com>
9650 * javax/swing/text/DefaultHighlight.java
9651 (DefaultHighlightPainter.paintHighlight): Removed method.
9652 (DefaultHighlightPainter.paintLayer): Implemented.
9653 (DefaultHighlightPainter.paint): Implemented more efficient
9654 painting for multiline-highlights.
9655 (HighlightEntry.p0): Changed to be a Position.
9656 (HighlightEntry.p1): Changed to be a Position.
9657 (HighlightEntry.HighlightEntry): Changed to take Position
9659 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9660 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9661 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9662 and tracks the painted rectangle for efficient repainting.
9663 (addHighlight): Handle layered highlight.
9664 (changeHighlight): Handle layered highlight.
9665 (paintLayeredHighlights): Implemented.
9666 (paint): Paint only non-layered highlights here.
9667 (removeAllHighlights): Trigger correct repaint.
9668 (removeHighlight): Handle layered highlight here for
9669 more efficient repainting.
9670 * javax/swing/text/GlyphView.java
9671 (paint): Handle layered highlights.
9672 * javax/swing/text/PlainView.java
9673 (paint): Handle layered highlights.
9674 * javax/swing/text/WrappedPlainView.java
9675 (WrappedLine.paint): Handle layered highlights.
9677 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9680 * NEWS: As suggested by Paul Jennier, added note about the fix of
9683 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9685 * NEWS: Added entry about the context factories for JNDI.
9687 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9690 * gnu/CORBA/Connected_objects.java (size): New method.
9691 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9693 * javax/naming/spi/NamingManager.java (getURLContext):
9694 Also search for the URL context factories in
9695 gnu/javax/naming/jndi/url.
9696 * gnu/javax/naming/giop/ContextContinuation.java,
9697 gnu/javax/naming/giop/CorbalocParser.java,
9698 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9699 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9700 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9701 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9702 gnu/javax/naming/giop/ListEnumeration.java,
9703 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9704 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9705 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9706 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9707 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9708 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9709 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9710 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9712 2006-08-06 Sven de Marothy <sven@physto.se>
9714 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9715 (drawGlyphVector): Synchronize against font object when drawing.
9716 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9717 (nativeDrawGlyphVector): Use pango locking when drawing.
9718 (install_font_peer): Use pango locking when creating the cairo face.
9720 2006-08-06 C. Scott Marshall <csm@gnu.org>
9723 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9724 the mark has been set.
9725 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9726 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9729 2006-08-06 Mark Wielaard <mark@klomp.org>
9732 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9733 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9735 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9738 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9739 Paul Jenner <psj@harker.dyndns.org>
9741 * README: Update bug, patches and cvs instructions plus new URLs of
9742 various external projects.
9744 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9746 * gnu/java/lang/management/BeanImpl.java:
9747 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9749 (getCachedMBeanInfo()): Return open variant.
9750 (getMBeanInfo()): Likewise.
9751 (getTypeFromClass(Class)): Implemented.
9752 (translateSignature(MBeanParameterInfo)): Likewise.
9753 (translate(String)): Likewise.
9754 * javax/management/StandardMBean.java:
9755 (getMBeanInfo()): Return attribute names with capital letters,
9756 as in docs for java.lang.management.ManagementFactory, and
9757 ensure descriptions are not "".
9758 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9759 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9760 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9761 (toString()): Use Arrays.toString().
9762 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9763 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9764 Set open type here rather than in other constructors.
9766 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9768 * javax/management/MBeanFeatureInfo.java:
9769 Make string variable package-private.
9770 * javax/management/StandardMBean.java:
9771 (getMBeanInterface()): Made final.
9772 * javax/management/openmbean/SimpleType.java:
9775 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9777 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9780 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9782 * examples/gnu/classpath/examples/swing/FillRect.java,
9783 * gnu/CORBA/Focused_ORB.java,
9784 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9785 * gnu/classpath/ByteArray.java,
9786 * gnu/classpath/ObjectPool.java,
9787 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9788 * gnu/java/awt/peer/x/fonts.properties,
9789 * gnu/java/security/util/Prime2.java,
9790 * gnu/javax/imageio/gif/GIFStream.java,
9791 * javax/swing/text/html/HTMLTableView.java,
9792 * native/cni/Makefile.am,
9793 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9794 * org/omg/CORBA/SendingContext/Runtime.java,
9795 * resource/gnu/regexp/MessagesBundle.properties,
9796 * resource/gnu/regexp/MessagesBundle_fr.properties,
9797 * resource/gnu/regexp/MessagesBundle_it.properties,
9798 * tools/appletviewer.in,
9799 * tools/jarsigner.in,
9801 * vm/reference/java/lang/management/VMThreadInfo.java:
9803 * examples/gnu/classpath/examples/awt/aicas.png,
9804 * examples/gnu/classpath/examples/awt/palme.gif,
9805 * examples/gnu/classpath/examples/java2d/aicas.png,
9806 * examples/gnu/classpath/examples/java2d/palme.gif,
9807 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9808 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9809 * java/awt/doc-files/capjoin.png,
9810 * java/awt/geom/doc-files/Area-1.png,
9811 * java/awt/geom/doc-files/Ellipse-1.png,
9812 * java/awt/geom/doc-files/GeneralPath-1.png:
9815 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9820 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9822 * gnu/java/lang/management/BeanImpl.java:
9823 (getAttribute(String)): Implemented.
9825 2006-08-05 Roman Kennke <kennke@aicas.com>
9827 * javax/swing/text/JTextComponent.java
9828 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9829 (AccessibleJTextComponent.textComp): Removed field
9830 and replace with JTextComponent.this construct.
9831 (AccessibleJTextComponent.AccessibleJTextComponent):
9832 Fetch caret position.
9833 (caretUpdate): Implemented. Fires property change events and
9834 updates the caretDot field.
9835 (changedUpdate): Implemented. Fires property change events.
9836 (insertUpdate): Implemented. Fires property change events.
9837 (removeUpdate): Implemented. Fires property change events.
9838 (cut): Replaced textComp with JTextComponent.this construct.
9839 (paste): Replaced textComp with JTextComponent.this construct.
9840 (replaceText): Replaced textComp with JTextComponent.this construct.
9841 (selectText): Replaced textComp with JTextComponent.this construct.
9842 (getCaretPosition): Replaced textComp with JTextComponent.this
9844 (getCharCount): Replaced textComp with JTextComponent.this construct.
9845 (getSelectedText): Replaced textComp with JTextComponent.this
9847 (getSelectionEnd): Replaced textComp with JTextComponent.this
9849 (getSelectionStart): Replaced textComp with JTextComponent.this
9851 (getTextRange): Replaced textComp with JTextComponent.this
9853 (doAccessibleAction): Implemented.
9854 (getAccessibleActionCount): Implemented.
9855 (getAccessibleActionDescription): Implemented.
9856 (getAccessibleStateSet): Implemented.
9857 (getAfterIndex): Implemented.
9858 (getBeforeIndex): Implemented.
9859 (getAtIndex): Implemented.
9860 (getAtIndexImpl): New helper method.
9861 (getCharacterAttribute): Implemented.
9862 (getCharacterBounds): Implemented.
9863 (getIndexAtPoint): Implemented.
9864 (insertTextAtIndex): Implemented.
9865 (setAttributes): Implemented.
9866 (setTextContents): Implemented.
9868 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9870 * configure.ac: Better handling of default-preferences-peer option.
9872 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9874 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9877 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9879 * javax/management/openmbean/TabularData.java:
9880 Documentation corrections.
9881 * javax/management/openmbean/TabularDataSupport.java:
9884 2006-08-04 Francis Kung <fkung@redhat.com>
9886 * java/awt/BasicStroke.java
9887 (dashedStroke): Implemented.
9889 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9891 * javax/management/BadAttributeValueExpException.java,
9892 * javax/management/BadStringOperationException.java,
9893 * javax/management/InstanceAlreadyExistsException.java,
9894 * javax/management/InstanceNotFoundException.java,
9895 * javax/management/InvalidApplicationException.java,
9896 * javax/management/MBeanRegistrationException.java,
9897 * javax/management/MalformedObjectNameException.java,
9898 * javax/management/RuntimeErrorException.java,
9899 * javax/management/RuntimeMBeanException.java,
9900 * javax/management/ServiceNotFoundException.java:
9903 2006-08-04 Roman Kennke <kennke@aicas.com>
9905 * javax/swing/SwingUtilities.java
9906 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9907 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9908 layoutCompoundLabelImpl().
9909 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9910 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9911 layoutCompoundLabelImpl().
9912 (layoutCompoundLabelImpl): New helper method. Moved impl from
9913 layoutCompoundLabel() to here and added handling of HTML.
9914 * javax/swing/plaf/basic/BasicButtonUI.java
9915 (installUI): Update HTML view if appropriate.
9916 (uninstallUI): New method. Do the usual uninstallUI things
9917 and uninstall HTML view.
9918 (getMinimumSize): New method. Adjusts the minimum size
9919 by the HTML view minimum size.
9920 (getMaximumSize): New method. Adjusts the maximum size
9921 by the HTML view maximum size.
9922 (getPreferredSize): Pass the button's iconTextGap to the
9923 BasicGraphicsUtils method.
9924 (paint): Let HTML view paint the text, if present.
9925 * javax/swing/plaf/basic/BasicButtonListener.java
9926 (propertyChange): Update the HTML view when the button's
9929 2006-08-04 Mario Torre <neugens@limasoftware.net>
9931 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9932 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9933 g_type_init earlier in function to correctly initialize the
9934 type system used by the backend.
9936 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9939 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9941 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9943 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9945 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9947 * gnu/xml/dom/DomIterator.java:
9948 (successor): Added if-statement.
9950 2006-08-04 Mark Wielaard <mark@klomp.org>
9952 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9954 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9956 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9957 (update): Check size and paint smaller gradient.
9958 * javax/swing/plaf/metal/MetalBorders.java:
9959 (MenuBarBorder): Removed borderColor field.
9960 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9963 2006-08-03 Roman Kennke <kennke@aicas.com>
9966 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9967 (ComponentHandler.componentResized): Reimplemented to handle
9969 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9970 component listener on changed ancestor.
9971 (installListeners): Install componentListener.
9972 (uninstallListeners): Uninstall componentListener.
9974 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9976 * StrictMath.java (cbrt): Return argument if it is a NaN.
9981 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9983 * java/lang/StrictMath.java (tanh): New method.
9985 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
9987 * scripts/import-cacerts.sh: Batch CA certificates import script.
9989 2006-08-03 Roman Kennke <kennke@aicas.com>
9992 * javax/swing/plaf/basic/BasicListUI.java
9993 (paintCell): Pass row index to cell renderer.
9994 * javax/swing/plaf/basic/MetalFileChooserUI.java
9995 (DirectoryComboBoxRenderer.indentIcon): New field.
9996 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9997 Initialize indentIcon.
9998 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9999 Fall back to super and removed standard functionality.
10000 Handle indentation.
10001 (IndentIcon): New class. Wraps and indents another icon.
10003 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10005 * javax/management/MBeanConstructorInfo.java:
10006 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10007 Copy array rather than directly assigning.
10008 * javax/management/MBeanInfo.java:
10009 (MBeanInfo(String,String,MBeanAttributeInfo[],
10010 MBeanConstructorInfo[], MBeanOperationInfo[],
10011 MBeanNotificationInfo[])): Likewise.
10012 * javax/management/MBeanOperationInfo.java:
10013 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10015 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10016 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10018 * javax/management/openmbean/OpenMBeanInfo.java:
10019 Corrected documentation.
10020 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10022 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10023 Corrected documentation.
10024 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10026 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10027 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10028 Call other constructor rather than reimplementing.
10030 2006-08-02 Lillian Angel <langel@redhat.com>
10032 * java/awt/dnd/DragSource.java
10033 (isDragImageSupported): Implemented.
10034 (getDragThreshold): Changed default value.
10035 * java/awt/dnd/DropTarget.java
10036 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10037 (DropTarget): Likewise.
10038 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10039 (addDropTargetListener): Added check to determine if new DropTargetListener
10040 is this class. If so, an IllegalArgumentException is thrown. If the
10041 new listener is null, nothing happens.
10043 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10045 * configure.ac (MOZILLA_FOUND): Fall back to
10046 mozilla-firefox-plugin.
10048 2006-08-02 Sven de Marothy <sven@physto.se>
10050 * java/awt/geom/AffineTransform.java
10051 (hashCode): Tweak impl.
10052 * java/awt/font/FontRenderContext.java
10053 (hashCode): Implement.
10055 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10057 * java/lang/StrictMath.java (sinh): New method.
10059 2006-08-02 Roman Kennke <kennke@aicas.com>
10062 * javax/swing/JComboBox.java
10063 (setSelectedItem): Fire ActionEvent here.
10064 * javax/swing/plaf/basic/BasicDirectoryModel.java
10065 (directories): Changed to type Vector.
10066 (files): New field.
10067 (loadThread): New field.
10068 (DirectoryLoadThread): New inner class. This loads the contents
10069 of directories asynchronously.
10070 (getDirectories): Return cached Vector.
10071 (getFiles): Return cached Vector.
10072 (getSize): Return plain size of contents Vector.
10073 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10074 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10075 (sort): Don't store sorted list in contents. This must be done
10076 asynchronously from the EventThread.
10077 (validateFileCache): Rewritten for asynchronous reading
10078 of directory contents.
10079 * javax/swing/plaf/basic/BasicFileChooserUI.java
10080 (installListeners): Install model as PropertyChangeListener.
10081 (uninstallListeners): Uninstall model as PropertyChangeListener.
10082 (createPropertyChangeListener): Return null just like the
10085 2006-08-02 Sven de Marothy <sven@physto.se>
10087 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10088 (remove): Force event on removing item 0 when it's selected.
10089 (handleEvent): Always call Choice.selected().
10090 * java/awt/Choice.java:
10091 (remove): Simplify and correct.
10093 2006-08-02 Mark Wielaard <mark@klomp.org>
10096 * configure.ac (gconf-peer): Check for gdk-2.0.
10097 * native/jni/gconf-peer/Makefile.am
10098 (AM_LDFLAGS): Use GDK_LIBS.
10099 (AM_CFLAGS): Use GDK_CFLAGS.
10101 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10103 * java/net/URL.java (getContent(Class[])): Implement.
10105 2006-08-02 Roman Kennke <kennke@aicas.com>
10108 * javax/swing/JMenu.java
10109 (JMenu()): Removed setting of delay.
10110 (JMenu(String)): Removed setting of delay.
10111 (JMenu(Action)): Removed setting of delay.
10112 (JMenu(String,boolean)): Removed setting of delay.
10113 (setSelectedHelper): Removed unneeded method.
10114 (setSelected): Simply set the model state.
10115 (setPopupMenuVisible): Recognize the popup location
10116 determined by getPopupMenuOrigin().
10117 (getPopupMenuOrigin): Recognize the UI properties for
10119 (menuSelectionChanged): Call setSelected() directly.
10120 * javax/swing/JPopupMenu.java
10121 (menuSelectionChanged): If invoker is a JMenu, then delegate
10122 to that to get the position right.
10123 * javax/swing/Popup.java
10124 (LightweightPopup.show): Insert the popup as first component
10125 in the layer, so that it overlaps it's caller.
10126 * javax/swing/plaf/basic/BasicMenuItemUI.java
10127 (getPath): Don't include the popup.
10128 * javax/swing/plaf/basic/BasicMenuUI.java
10129 (SelectMenuAction): New class. This invokes the popup when
10130 a menu is selected.
10131 (installDefaults): Install delay of 200 ms.
10132 (setupPostTimer): Implemented.
10133 (MouseInputHandler.mouseClicked): Do nothing here.
10134 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10135 magic to handle the selection. Open the menu via a timer.
10136 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10137 magic to handle the selection. Open the menu via a timer.
10138 (MenuDragMouseHandler.menuMouseDragged): Probably use
10140 (menuDragMouseEntered): Do nothing here.
10142 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10144 * javax/management/openmbean/InvalidOpenTypeException.java,
10145 * javax/management/openmbean/KeyAlreadyExistsException.java:
10148 2006-08-02 Roman Kennke <kennke@aicas.com>
10151 * javax/swing/plaf/basic/BasicChooserUI.java
10152 (BasicFileView.getName): Fetch the real name from the
10153 file chooser's FileSystemView.
10154 * javax/swing/plaf/metal/MetalChooserUI.java
10155 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10156 Set the text fetched from the JFileChooser.getName().
10157 * javax/swing/FileSystemView.java
10158 (createFileObject): When file is a filesystem root,
10159 create a filesystem root object first.
10160 (getSystemDisplayName): Return the filename. Added specnote
10161 about ShellFolder class that is mentioned in the spec.
10162 * javax/swing/UnixFileSystemView.java
10163 (getSystemDisplayName): Implemented to return the real name
10164 of a file, special handling files like '.' or '..'.
10166 2006-08-03 Mark Wielaard <mark@klomp.org>
10168 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10170 2006-08-03 Roman Kennke <kennke@aicas.com>
10173 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10174 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10175 components when visual property chanegs.
10177 2006-08-03 Roman Kennke <kennke@aicas.com>
10180 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10181 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10182 component when visual properties change.
10184 2006-08-03 Roman Kennke <kennke@aicas.com>
10187 * javax/swing/JTree.java
10188 (JTree(TreeModel)): Set cell renderer to null.
10189 * javax/swing/plaf/basic/BasicTreeUI.java
10190 (setCellRenderer): Finish editing before setting the
10191 cell renderer. Refresh the layout. Don't set the
10192 currentCellRenderer field here (that's done in updateRenderer).
10193 (updateRenderer): Handle createdRenderer field here too.
10194 Set renderer to a default handler when the current renderer
10195 in the JTree is null.
10197 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10200 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10202 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10205 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10206 Updated documentation to clarify that RFC-2459 states that the parameters
10207 field of the AlgorithmIdentifier element MUST be NULL if present.
10208 Amended the code to reflect the specs.
10209 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10211 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10213 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10214 Call parameter 'defaultValue' not 'defValue'.
10216 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10218 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10221 2006-08-01 Roman Kennke <kennke@aicas.com>
10224 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10225 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10226 components when visual property chanegs.
10228 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10230 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10231 (toString()): Corrected documentation.
10232 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10233 * javax/management/openmbean/OpenMBeanInfo.java,
10234 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10236 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10237 (toString()): Corrected documentation.
10239 2006-08-01 Tania Bento <tbento@redhat.com>
10241 * java/awt/Choice.java
10242 (remove(int)): Added documentation.
10244 2006-08-01 Tania Bento <tbento@redhat.com>
10246 * java/awt/Choice.java
10247 (remove(int)): An IllegalArgumentException should not be thrown
10248 if int is invalid. Update selectedIndex and peer selection.
10250 2006-08-01 Tania Bento <tbento@redhat.com>
10252 * java/awt/CardLayout.java
10253 (toString): Changed format of string outputted.
10254 (goToComponent): Changed the order of the if-clause.
10256 2006-07-31 Tom Tromey <tromey@redhat.com>
10258 * INSTALL: Updated for ASM.
10260 2006-07-31 Tom Tromey <tromey@redhat.com>
10263 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10264 (attachment): Likewise.
10265 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10267 (isValid): Likewise.
10268 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10270 (interestOps): Synchronize.
10271 (readyOps): Likewise.
10272 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10275 2006-07-31 Roman Kennke <kennke@aicas.com>
10277 * NEWS: Added note about the X peers.
10278 * INSTALL: Added install notes about the X peers.
10280 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10282 * StrictMath.java (getLowDWord): Return long instead of int.
10283 (getHighDWord): Likewise.
10284 (buildDouble): Take two long arguments.
10285 (cbrt): Adapted to int -> long change.
10289 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10291 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10294 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10296 * java/security/Provider.java: Updated copyright year.
10297 Updated documentation.
10299 (put): Updated documentation.
10300 Added security manager check.
10301 Canonicalize the key before adding its mapping.
10302 (get): Override superclass implementation to use canonicalized keys.
10303 (remove): Updated documentation.
10304 Added security manager check.
10305 Canonicalize the key before removing its mapping.
10306 (clear): Updated documentation.
10307 Added security manager check.
10308 (toCanonicalKey): New method.
10310 2006-07-30 Matt Wringe <mwringe@redhat.com>
10312 * gnu/java/security/Engine.java
10313 (getInstance): Ignore self referencing aliases.
10315 2006-07-30 Mark Wielaard <mark@klomp.org>
10317 * javax/swing/JComponent.java (getListeners): Revert
10320 2006-07-30 Mark Wielaard <mark@klomp.org>
10322 * resource/java/security/classpath.security: Add /dev/urandom as
10323 default securerandom.source.
10325 2006-07-30 Mark Wielaard <mark@klomp.org>
10327 * java/util/GregorianCalendar.java (maximums): Months can have up to
10329 (nonLeniencyCheck): weeks is either 5 or 6.
10331 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10333 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10334 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10337 2006-07-30 Matt Wringe <mwringe@redhat.com>
10339 * gnu/java/security/Engine.java
10340 (getInstance): Ignore self referencing aliases.
10342 2006-07-30 Sven de Marothy <sven@physto.se>
10344 * java/awt/Choice.java:
10345 (accessibleAction): Call select() directly.
10346 (add, insert, remove): Reimplement.
10347 (dispatchEventImpl): Always call super.
10348 (processItemEvent): Does not set the index.
10349 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10350 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10352 (nativeAdd): Name changed to add.
10353 (selection_changed_cb): Simplify callback.
10354 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10355 (selected): New field.
10356 (add): Replaced with native impl.
10357 (handleEvent): New method.
10359 2006-07-30 Sven de Marothy <sven@physto.se>
10361 * java/awt/Choice.java:
10362 Reformat, fix copyright year.
10364 2006-07-29 Mark Wielaard <mark@klomp.org>
10366 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10367 static field isPaintingDoubleBuffered to not have the same name
10370 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10372 * examples/gnu/classpath/examples/management/TestBeans.java:
10374 * javax/management/MBeanAttributeInfo.java:
10375 (toString()): Implemented.
10376 * javax/management/MBeanConstructorInfo.java:
10377 (toString()): Implemented.
10378 * javax/management/MBeanFeatureInfo.java:
10379 (toString()): Implemented.
10380 * javax/management/MBeanInfo.java:
10381 (toString()): Implemented.
10382 * javax/management/MBeanNotificationInfo.java:
10383 (toString()): Implemented.
10384 * javax/management/MBeanOperationInfo.java:
10385 (toString()): Implemented.
10386 * javax/management/MBeanParameterInfo.java:
10387 (toString()): Implemented.
10388 * javax/management/StandardMBean.java:
10389 (getMBeanInfo()): Fix attribute naming.
10391 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10393 * gnu/java/lang/management/BeanImpl.java:
10394 Extended javax.management.StandardMBean.
10395 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10396 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10397 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10398 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10399 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10400 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10401 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10402 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10403 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10404 Call the superclass with the appropriate class.
10405 * java/lang/management/ManagementFactory.java:
10406 (getOperatingSystemMXBean()): Catch exception from
10408 (getRuntimeMXBean()): Likewise.
10409 (getClassLoadingMXBean()): Likewise.
10410 (getThreadMXBean()): Likewise.
10411 (getMemoryMXBean()): Likewise.
10412 (getCompilationMXBean()): Likewise.
10413 (getMemoryPoolMXBeans()): Likewise.
10414 (getMemoryManagerMXBeans()): Likewise.
10415 (getGarbageCollectorMXBeans()): Likewise.
10416 * javax/management/MBeanFeatureInfo.java:
10417 hashCode()): Fixed to check for null values.
10419 2006-07-29 Matt Wringe <mwringe@redhat.com>
10421 * gnu/java/security/Engine.java
10422 (getInstance): Add case insentivity to algorithm names
10423 * java/security/Provider.java
10424 (put): Stop using canonical key naming
10426 (toCanonicalKey): Method removed
10427 (get): Method removed, no longer needs to overwrite
10428 parent implementation
10430 2006-07-29 Mark Wielaard <mark@klomp.org>
10432 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10433 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10434 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10435 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10436 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10437 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10440 2006-07-29 Sven de Marothy <sven@physto.se>
10442 * java/math/BigDecimal.java
10443 Adjust copyright date.
10444 (divide(BigDecimal): Implement.
10445 (precision): Reimplement.
10446 (numDigitsInBigInteger, numDigitsInLong): Removed.
10447 (toString): Get exponent from string length,
10448 fix negative values with exponential form.
10449 (toEngineeringString): Same as for toString.
10450 (setScale): Throw ArithmeticException if scale < 0.
10452 2006-07-27 Francis Kung <fkung@redhat.com>
10454 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10455 (cp1): Renamed from first().
10456 (c2): Renamed from last().
10457 (first): Renamed to cp1().
10458 (getDisplacedSegments): Implemented.
10459 (last): Renamed to cp2().
10460 * gnu/java/awt/java2d/LineSegment.java
10461 (cp1): Renamed from first().
10462 (c2): Renamed from last().
10463 (first): Renamed to cp1().
10464 (last): Renamed to cp2().
10465 * gnu/java/awt/java2d/QuadSegment.java
10466 (cp1): Renamed from first().
10467 (c2): Renamed from last().
10468 (first): Renamed to cp1().
10469 (last): Renamed to cp2().
10470 * gnu/java/awt/java2d/Segment.java: Added comments.
10471 (first): New field.
10472 (Segment): Keep track of first element in list.
10473 (add): Update first & last element variables.
10474 (cp1): Renamed from first().
10475 (c2): Renamed from last().
10476 (first()): Renamed to cp1() to reduce ambiguity.
10477 (last()): Renamed to cp2() to reduce ambiguity.
10478 (reverseAll): Update first element variable..
10479 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10480 (draw): Remove flattening path iterator.
10481 * java/awt/BasicStroke.java: Clarified comments.
10482 (addSegments): Refactored some code into joinSegments and
10484 (capEnd): Rename of Segment.first() and Segment.end().
10485 (joinInnerSegments): New method.
10486 (joinOuterSegments): New method.
10487 (joinSegments): Refactored some code into joinOuterSegments.
10488 (solidStroke): Connect segments together properly.
10490 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10492 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10494 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10496 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10498 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10501 2006-07-28 Tom Tromey <tromey@redhat.com>
10503 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10505 2006-07-28 Lillian Angel <langel@redhat.com>
10507 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10508 Removed function declarations.
10509 (connect_signals_for_widget): Removed implementation because
10510 stub functions have been removed.
10511 (drag_begin_cb): Removed function.
10512 (drag_motion_cb): Likewise.
10513 (drag_data_get_cb): Likewise.
10514 (drag_data_delete_cb): Likewise.
10515 (drag_drop_cb): Likewise.
10516 (drag_end_cb): Likewise.
10517 (drag_data_received_cb): Likewise.
10519 2006-07-28 Mark Wielaard <mark@klomp.org>
10521 * configure.ac: Set version to 0.93-pre.
10523 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10525 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10527 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10529 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10530 (getCallbackHandler): Fully qualify linked class in javadoc.
10531 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10532 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10533 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10535 2006-07-27 Tom Tromey <tromey@redhat.com>
10537 PR classpath/28486:
10538 * java/net/URLStreamHandler.java (equals): Properly handle default
10539 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10541 2006-07-27 Roman Kennke <kennke@aicas.com>
10543 * javax/swing/text/AbstractDocument.java
10544 (documentCV): Made field private.
10545 (bypass): Made field private.
10546 (bidiRoot): New field.
10547 (AbstractDocument): Initialize bidiRoot.
10548 (getBidiRootElement): Return bidiRoot.
10549 (getRootElements): Adjusted to also return the bidiRoot element.
10550 (BranchElement.startOffset): Removed unneeded field.
10551 (BranchElement.endOffset): Removed unneeded field.
10552 (BranchElement.BranchElement): Removed unneeded fields.
10553 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10554 done automatically when there's no element left in the array.
10555 (BranchElement.getStartOffset): Likewise.
10556 (BranchElement.replace): Reordered calculations to avoid double
10558 (removeImpl): Silently ignore requests with length <= 0.
10559 * javax/swing/text/GapContent.java
10560 (createPosition): Removed explicit check for correct offset.
10561 This class can deal with offsets outside the document.
10562 (shiftEnd): Update all positions, even those outside the
10564 (adjustPositionsInRange): Fixed to also adjust positions outside
10565 the document boundary.
10567 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10569 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10571 (getParameter): Returns _klass field instead of determining
10572 class from _instance.
10573 (setCatchLoc): New method.
10574 (writeData): Now assumes Location deals with empty locations instead of
10576 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10577 locations and write out accordingly.
10578 (getEmptyLocation): New method.
10580 2006-07-27 Roman Kennke <kennke@aicas.com>
10582 * javax/swing/text/SimpleAttributeSet.java
10583 (EMPTY): Use EmptyAttributeSet for this field rather than
10584 SimpleAttributeSet.
10585 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10586 an empty and immutable AttributeSet.
10588 2006-07-27 Roman Kennke <kennke@aicas.com>
10590 * java/awt/Component.java
10591 (reshape): Invalidate the component itself only when the
10592 size has changed. Invalidate the parent always. Fixed
10593 repainting. Pulled out the notification into
10595 (notifyReshape): New helper method. Notify interested listeners
10597 (update): Simply call paint() without clearing the background.
10598 This is done in Container.update() if appropriate.
10599 (repaint): Delagate the repaint to the nearest heavyweight
10600 parent (for lightweights) and send an UPDATE event, rather than
10601 calling ComponentPeer.repaint().
10602 * java/awt/Container.java
10603 (backCleared): Removed field.
10604 (paint): Removed handling of backCleared flag.
10605 (update): Only paint if the container is actually
10606 showing. Removed handling of backCleared flag.
10608 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10610 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10612 (NavigateAction): New inner class.
10613 (NavigatePageDownAction): New inner class.
10614 (NavigatePageUpAction): New inner class.
10615 (RequestFocusAction): New inner class.
10616 (RequestFocusForVisibleComponentAction): New inner class.
10617 (FocusHandler.focusGained): Implemented.
10618 (FocusHandler.focusLost): Implemented.
10619 (MouseHandler.mouseReleased): Implemented.
10620 (MouseHandler.mousePressed): Rewritten.
10621 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10622 currentScrollLocation to 0.
10623 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10624 removed local variables, fixed indentation to stay under 80 column
10626 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10627 one, set selectedIndex to 0 if its negative, corrected start values
10628 for normalization, suppressed padding when only one tab run,
10629 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10630 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10631 80 column limit, corrected the starting value for the bounds fixing
10633 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10634 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10635 selectedRun, set start index for loop to 0.
10636 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10637 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10638 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10639 alignment and visibility handling.
10640 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10642 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10643 (currentScrollOffset): New field.
10644 (tabRuns): Rewritten documentation.
10645 (selectedColor): New field.
10646 (tempTextRect): New field.
10647 (tempIconRect): New field.
10648 (scrollTab): New method.
10649 (updateButtons): New method.
10650 (updateViewPosition): New method.
10651 (createLayoutManager): Reordered method calls, predefine new fields,
10652 register proper listeners.
10653 (uninstallComponents): Implemented.
10654 (installDefaults): Corrected property names, fixed indentation,.
10655 (uninstallDefaults): Set new fields to null.
10656 (uninstallListeners): Remove listeners from components neccessary for
10657 scrolling tab layout.
10658 (installKeyboardActions): Implemented.
10659 (uninstallKeyboardActions): Implemented.
10660 (paint): Paint tab area background.
10661 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10663 (getTabLabelShiftX): Rewritten.
10664 (getTabLabelShiftY): Rewritten.
10665 (paintFocusIndicator): Reindented.
10666 (paintTabBorder): Rewritten.
10667 (paintTabBackground): Corrected color usage, rewritten background
10668 rectangle painting.
10669 (paintContentBorderTopEdge): Rewritten.
10670 (paintContentBorderBottomEdge): Rewritten.
10671 (paintContentBorderLeftEdge): Rewritten.
10672 (paintContentBorderRightEdge): Rewritten.
10673 (tabForCoordinate): Return selected index when no tab could be
10674 found, removed FIXME note.
10675 (getRunForTab): Changed return value for first if-statement.
10676 (navigateSelectedTab): Fixed last argument for both
10677 getTabRunOffset() calls.
10678 (selectedNextTabInRun): Added scrolling code.
10679 (selectedPreviousTabInRun): Added scrolling code.
10680 (selectedNextTab): Added scrolling code.
10681 (selectedPreviousTab): Added scrolling code.
10682 (selectAdjacentRunTab): Added scrolling code.
10683 (getTextViewForTab): Added FIXME note.
10684 (calculateTabHeight): Changed FIXME note.
10685 (getTabRunOffset): Fixed indentation.
10686 (getNextTabIndexInRun): Corrected return value.
10687 (rotateInsets): Make TOP case the default in switch-statement.
10688 (getActionMap): New method.
10689 (createActionMap): New method.
10690 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10691 (createLayoutManager): Rewritten.
10692 (paintLeftTabBorder): Do not paint left line when previous tab
10693 is selected but current tab is the first in its run, do not paint
10694 left line when current tab is selected and is first in its run.
10695 (paintRightTabBorder): Added missing setColor() call, fixed color
10696 usage, do not paint right line if previous tab is selected but
10697 current tab is the first in its run.
10698 (paintBottomTabBorder): Do not paint left line if tab is selected
10699 and is the first tab in the last run.
10700 (paintFocusIndicator): New method.
10701 (getLabelShiftX): New method.
10702 (getLabelShiftY): New method.
10704 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10706 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10707 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10708 g_assert from unused obj.
10709 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10710 obj as unused and remove g_assert on it.
10712 2006-07-26 Roman Kennke <kennke@aicas.com>
10714 * javax/swing/RepaintManager.java
10715 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10717 (isCompletelyDirty): Consider a component completely dirty
10718 when it has a dirty region with Integer.MAX_VALUE.
10720 2006-07-26 Roman Kennke <kennke@aicas.com>
10722 * java/awt/KeyboardFocusManager.java
10723 (getGlobalFocusOwner): Explicitly check for thread security.
10724 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10725 (getGlobalFocusedWindow): Explicitly check for thread security.
10726 (getGlobalActiveWindow): Explicitly check for thread security.
10727 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10728 (getGlobalObject): Added new argument for specifying if
10729 a security check should be performed or not.
10730 (setGlobalObject): Don't check for thread security when
10731 calling getGlobalObject.
10733 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10735 * javax/management/MBeanConstructorInfo.java:
10737 * javax/management/MBeanInfo.java:
10738 (MBeanInfo(String,String,MBeanAttributeInfo[],
10739 MBeanConstructorInfo[], MBeanOperationInfo[],
10740 MBeanNotificationInfo[])): Implemented.
10741 (equals(Object)): Likewise.
10742 (getAttributes()): Likewise.
10743 (getConstructors()): Likewise.
10744 (getOperations()): Likewise.
10745 (hashCode()): Likewise.
10746 * javax/management/MBeanOperationInfo.java,
10747 * javax/management/NotCompliantMBeanException.java,
10748 * javax/management/StandardMBean.java:
10751 2006-07-26 Sven de Marothy <sven@physto.se>
10753 * java/awt/geom/GeneralPath.java: Fix severe typo.
10755 2006-07-26 Sven de Marothy <sven@physto.se>
10757 * include/java_lang_VMSystem.h
10758 * vm/reference/java/lang/VMSystem.java
10759 * native/jni/java-lang/java_lang_VMSystem.c
10760 (nanoTime, currentTimeMillis): Switch the former to native code and
10761 the latter to java.
10763 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10765 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10766 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10767 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10768 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10769 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10770 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10771 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10772 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10773 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10774 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10775 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10776 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10777 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10778 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10779 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10780 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10781 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10782 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10783 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10784 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10785 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10787 2006-07-26 Roman Kennke <kennke@aicas.com>
10789 * java/awt/KeyboardFocusManager.java
10790 (getFocusOwner): Don't check permanent owner.
10791 (getGlobalFocusOwner): Don't check permanent owner.
10793 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10795 * StrictMath.java (cosh): New method.
10796 (expm1): New method.
10797 (EXPM1_Q1): New field.
10798 (EXPM1_Q2): Likewise.
10799 (EXPM1_Q3): Likewise.
10800 (EXPM1_Q4): Likewise.
10801 (EXPM1_Q6): Likewise.
10803 2006-07-26 Roman Kennke <kennke@aicas.com>
10805 * javax/swing/plaf/basic/BasicButtonListener.java
10806 (mousePressed): Request focus if appropriate.
10807 * javax/swing/text/DefaultCaret.java
10808 (mousePressed): Also handle the focus of the text component
10809 as specified. Don't consume events.
10811 2006-07-26 Roman Kennke <kennke@aicas.com>
10813 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10814 (focusRequest): Removed field.
10815 (postFocusEvent(int,boolean,Component)): Removed.
10816 (postFocusEvent(int,boolean)): Reverted to post event using
10817 the heavyweight component.
10818 (requestFocus): Post focus event using the heavyweight
10820 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10821 (requestFocus): Post focus event using the heavyweight
10823 * java/awt/AWTEvent.java
10824 (isFocusManagerEvent): New field, indicating if this is
10825 an event that is redispatched by the KeyboardFocusManager.
10826 * java/awt/Component.java
10827 (requestFocusImpl): Register component for
10828 heavyweight->lightweight mapping.
10829 (dispatchEventImpl): Retarget focus events before dispatching
10830 to the KeyboardFocusManager. Use new AWTEvent flag instead
10831 of locking hack. Dispatch all events through the
10832 KeyboardFocusManager. Don't request focus on lightweight
10834 * java/awt/DefaultKeyboardFocusManager.java
10835 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10837 (handleFocusGained): Fixed handling of temporary vs permanent
10838 focus changes. Added some checks.
10839 (handleFocusLost): Fixed handling of temporary vs permanent
10840 focus changes. Added some checks.
10841 * java/awt/EventDispatchThread.java
10842 (run): Don't dispatch to KeyboardFocusManager here. This
10843 is done in Component.dispatchEventImpl().
10844 * java/awt/KeyboardFocusManager.java
10845 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10846 (focusRequests): New field.
10847 (retargetFocusEvent): New method. Retargets focus events
10848 that come from heavyweights to the correct lightweight component.
10849 (addLightweightFocusRequest): New method. Stores a mapping
10850 for later retargetting of heavyweight focus events.
10851 * java/awt/Window.java
10852 (addFocusListener): Removed bogus method. If at all, this
10853 should be performed in the KeyboardFocusManager.
10854 (Window): Don't install a focus listener on the Window.
10856 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10858 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10859 (drawLine): Apply shift to line coordinates.
10861 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10863 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10864 (copyimage): Do not call setRenderingHints() when the respective map
10866 (filter): Removed code to clone the ColorModel instance.
10867 * java/awt/image/ColorModel.java:
10868 (cloneColorModel): Removed.
10870 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10872 * javax/swing/JTabbedPane.java:
10873 (setSelectedIndex): Removed updating of component visibility status,
10875 (remove(Component)): Use indexOfComponent() to find whether we have
10876 to use super.remove(int) or removeTabAt().
10878 2006-07-26 Roman Kennke <kennke@aicas.com>
10880 * javax/swing/JOptionPane.java
10881 (createDialog): Add property change handler for closing
10882 the dialog when the value property changes.
10883 (ValuePropertyHandler): New inner helper class.
10884 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10885 (OptionPaneCloseAction): New class.
10886 (messageForeground): Removed field.
10887 (messageBorder): Removed field.
10888 (buttonBorder): Removed field.
10889 (addIcon): Configure the new label.
10890 (addMessageComponents): Configure newly created labels.
10891 (burstStringInto): Likewise.
10892 (createButtonArea): Install border here.
10893 (createMessageArea): Install border and foreground here.
10894 (createSeparator): Added comment and removed
10895 NotImplementedException.
10896 (installComponents): Don't install the UI defaults for the
10897 message and button area here. This is moved to the
10898 corresponding create* methods. Adjusted comment about
10900 (installDefaults): Removed initialization of removed fields.
10901 (installKeyboardActions): Implemented.
10902 (getActionMap): New helper method.
10903 (createDefaultActions): New helper method.
10904 (uninstallDefaults): Removed de-initialization of removed fields.
10905 (uninstallKeyboardActions): Implemented.
10906 (configureLabel): New helper method.
10907 * javax/swing/plaf/basic/BasicTableUI.java
10908 (getActionMap): Fixed the UI property names.
10909 * javax/swing/plaf/basic/BasicToolBarUI.java
10910 (getActionMap): Fixed the UI property names.
10912 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10914 * java/awt/image/BandedSampleModel.java
10915 (getDataElements): Check for negative x or y,
10916 (getPixels): Likewise,
10917 (getSamples): Likewise,
10918 (setSamples): Likewise.
10920 2006-07-26 Roman Kennke <kennke@aicas.com>
10922 * javax/swing/plaf/basic/BasicToolBarUI.java
10923 (ToolBarAction): New inner class for handling keyboard
10925 (installKeyboardActions): Implemented.
10926 (getActionMap): New helper method.
10927 (createDefaultActions): New helper method.
10928 (installListeners): Install focus listener on toolbar's
10929 children, rather than the toolbar itself.
10930 (navigateFocusedComp): Implemented.
10931 (uninstallKeyboardActions): Implemented.
10932 (uninstallListeners): Uninstall focus listener from
10933 toolbar's children, rather than the toolbar itself.
10934 (ToolBarContListener.componentAdded): Install focus
10935 listener on added child.
10936 (ToolBarContListener.componentRemoved): Uninstall focus
10937 listener from removed child.
10938 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10939 (ToolBarFocusListener.focusGained): Implemented.
10940 (ToolBarFocusListener.focusLost): Implemented.
10942 2006-07-26 Roman Kennke <kennke@aicas.com>
10944 * java/awt/DefaultKeyboardFocusManager.java
10945 (dispatchEvent): Notify old focus owner when it has lost
10948 2006-07-26 Roman Kennke <kennke@aicas.com>
10950 * javax/swing/plaf/basic/BasicTableUI.java
10951 (FocusHandler.focusGained): Implemented to refresh the
10953 (FocusHandler.focusLost): Implemented to refresh the
10955 (FocusHandler.repaintLeadCell): New helper method.
10956 (MouseInputHandler.mouseEntered): Do nothing here.
10957 (MouseInputHandler.mouseExited): Do nothing here.
10958 (MouseInputHandler.mouseMoved): Do nothing here.
10959 (installKeyboardActions): Rewritten to use a shared InputMap
10960 and ActionMap and correctly install the maps via SwingUtilities
10962 (getActionMap): New helper method.
10963 (createDefaultActions): New helper method.
10964 (ActionListenerProxy): Removed unneeded class.
10965 (TableAction): Made class static.
10966 (TableAction.actionPerformed): Determine table by fetching
10967 the event source. Pass the table to helper methods.
10968 Use __command__ hack to determine the action command.
10969 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10970 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10971 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10972 (TableAction.getLastVisibleRowIndex): Get table as argument.
10973 (TableAction.advanceMultipleSelection): Get table as argument.
10974 (uninstallDefaults): Do nothing here.
10975 (uninstallKeyboardActions): Uninstall the keyboard actions.
10977 2006-07-26 Roman Kennke <kennke@aicas.com>
10979 * javax/swing/JComponent.java
10980 (processKeyBinding): Store the action command as property
10981 in the Action instance that we call. This allows for
10982 improvement on the side of the Action.
10984 2006-07-26 Roman Kennke <kennke@aicas.com>
10986 * javax/swing/plaf/metal/MetalUtils.java
10987 (fillMetalPattern): Use fillRect() instead of drawLine() to
10988 fill single pixels.
10990 2006-07-26 Roman Kennke <kennke@aicas.com>
10992 * javax/swing/text/GapContent.java
10993 (getChars): Check for negative length and throw
10994 BadLocationException.
10996 2006-07-26 Roman Kennke <kennke@aicas.com>
10998 * javax/swing/plaf/basic/BasicMenuBarUI.java
10999 (FocusAction): Made class static.
11001 2006-07-26 Roman Kennke <kennke@aicas.com>
11003 * javax/swing/plaf/basic/BasicLookAndFeel.java
11004 (initComponentDefaults): Add keyboard bindings for
11007 2006-07-26 Roman Kennke <kennke@aicas.com>
11009 * javax/swing/UIManager.java
11010 (getLookAndFeelDefaults): Return the look and feel defaults.
11011 (setLookAndFeel): Improved exception messsage.
11013 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11015 * javax/swing/text/StringContent.java
11016 (StringContent): Changed initialLength to 10.
11018 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11020 * java/util/Vector.java: Fixed API doc typo.
11022 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11024 * java/awt/image/BandedSampleModel.java
11025 (createCompatibleSampleModel): Fixed typo in loop increment, set
11026 correct scanlineStride, and updated API docs.
11028 2006-07-25 Roman Kennke <kennke@aicas.com>
11030 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11031 (NavigateAction): New inner class. This is responsible for
11032 keyboard navigation through menus.
11033 (KeyboardHelper): New inner class. This manages the
11034 keyboard mappings and focus when a popup opens or closes.
11035 (keyboardHelper): New static field.
11036 (numPopups): New static field.
11037 (installUI): Create KeyboardHelper for first popup.
11038 Call installKeyboardActions().
11039 (installKeyboardActions): Removed NotImplementedException.
11040 This method is a no-op.
11041 (installKeyboardActionsImpl): New method. Installs keyboard
11042 mapping when a popup is opened.
11043 (getActionMap): New helper method.
11044 (createDefaultActions): New helper method.
11045 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11046 uninstalled. Call uninstallKeyboardActions().
11047 (uninstallKeyboardActions): Removed NotImplementedException.
11048 This method is a no-op.
11049 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11050 mapping when a popup is closed.
11052 2006-07-25 Roman Kennke <kennke@aicas.com>
11054 * java/awt/Component.java
11055 (requestFocus()): Reimplemented to use requestFocusImpl().
11056 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11057 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11058 (requestFocusInWindow(boolean)): Reimplemented to use
11059 requestFocusImpl().
11060 (requestFocusImpl): Reimplemented focus request to use
11061 new peer method. Also added some obvious additional checks
11062 for rejecting focus requests early.
11063 * java/awt/ComponentPeer.java
11064 (requestFocus(Component,boolean,boolean,long)): Documented
11066 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11067 (requestFocus): New field.
11068 (gtkWidgetHasFocus): New native method.
11069 (gtkWidgetCanFocus): New native method.
11070 (requestFocus): Replaced with assert false to prevent
11071 usage of obsolete method.
11072 (postFocusEvent(int,boolean,Component)): New overloaded method
11073 for posting the focus event to a specific target.
11074 (postFocusEvent(int,boolean)): Post event to requestFocus
11076 (requestFocus(Component,boolean,boolean,long)): Implemented.
11077 (getWindowFor): New helper method.
11078 (isLightweightDescendant): New helper method.
11079 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11080 (gtkWindowHasFocus): New native method.
11081 (requestFocus(Component,boolean,boolean,long)): New method.
11082 Overrides GtkComponentPeer method to specially handly the
11083 case when a Window receives a focus request for a lightweight
11085 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11086 (gtkWidgetHasFocus): New native method.
11087 (gtkWidgetCanFocus): New native method.
11088 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11089 (gtkWindowHasFocus): New native method.
11090 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11091 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11094 2006-07-25 Francis Kung <fkung@redhat.com>
11096 * java/awt/DefaultKeyboardFocusManager.java
11097 (dispatchEvent): Add check for valid component.
11099 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11101 * javax/management/MBeanConstructorInfo.java:
11103 * javax/management/MBeanNotificationInfo.java:
11105 * javax/management/MBeanParameterInfo.java:
11108 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11110 * java/awt/peer/gtk/CairoGraphics.java:
11111 (drawLine): Added special case for 1 pixel lines.
11113 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11116 * java/awt/peer/gtk/CairoGraphics.java:
11117 (drawLine): Removed calls to shifted().
11119 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11121 * javax/swing/JTabbedPane.java:
11122 (remove(Component)): Rewritten.
11123 (setSelectedIndex): Implemented updating of component visibility state.
11125 2006-07-25 Sven de Marothy <sven@physto.se>
11127 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11128 (init): Default to the actual depth in the worst case.
11130 * java/awt/Font.java
11131 (createFont(int, File)): New method.
11133 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11136 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11138 (RETokenEnd): New constructer to set check_java_line_terminators.
11139 (matchThis): Checck line terminators if check_java_line_terminators.
11140 * gnu/java/util/regex/RETokenStart.java: Likewise.
11141 * gnu/regexp/RE.java(initialize): Use the new constructors for
11142 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11143 * java/util/regex/Pattern.java(Patteren): Changed so that
11144 gnu/regexp/RE.java may use the new the new constructors.
11146 2006-07-25 Roman Kennke <kennke@aicas.com>
11148 * java/awt/Container.java
11149 (focusTraversalPolicyProvider): New field.
11150 (isFocusTraversalPolicyProvider): New method.
11151 (setFocusTraversalPolicyProvider): New method.
11152 * java/awt/ContainerOrderFocusTraversalPolicy.java
11153 (getFirstComponent): Use accept() instead of lengthy checks.
11154 Don't fetch getComponents() to avoid copying of array.
11155 Traverse down the hierarchy to find the first focused component.
11156 * java/awt/DefaultKeyboardFocusManager.java
11157 (dispatchEvent): Let the initial component request focus.
11159 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11161 * javax/swing/text/Segment.java
11162 (last): Update current index before returning DONE for zero count.
11164 2006-07-24 Mark Wielaard <mark@klomp.org>
11166 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11168 2006-07-25 Roman Kennke <kennke@aicas.com>
11170 * javax/swing/plaf/basic/BasicMenuBarUI.java
11171 (FocusAction): New inner class. Used to grab focus.
11172 (installKeyboardActions): Implemented.
11173 (uninstallKeyboardActions): Implemented.
11174 (getActionMap): New helper method.
11175 (createDefaultActions): New helper method.
11177 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11179 * examples/gnu/classpath/examples/swing/Demo.java:
11180 (mkMenuBar): Install instantiable basic look and feel.
11181 (InstantiableBasicLookAndFeel): New inner class.
11183 2006-07-25 Roman Kennke <kennke@aicas.com>
11185 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11186 (GlassPaneDispatcher.dragTarget): New field.
11187 (GlassPaneDispatcher.isDragging): New field.
11188 (GlassPaneDispatcher.pressedComponent): Removed field.
11189 (GlassPaneDispatcher.tempComponent): Removed field.
11190 (GlassPaneDispatcher.pressCount): Removed field.
11191 (GlassPaneDispatcher.mousePressed): Call
11192 borderListener.mousePressed() to activate the frame.
11193 (acquireComponentForMouseEvent): Removed method.
11194 (handleEvent): Rewritten.
11195 (redispatch): New method.
11196 (InternalFramePropertyChangeListener.propertyChange):
11197 Make glasspane invisible when frame is selected, and visible
11198 if it gets deselected.
11200 2006-07-25 Roman Kennke <kennke@aicas.com>
11202 * java/awt/LightweightDispatcher.java
11203 (handleMouseEvent): Dispatch event to real target if
11204 the dragTarget has become invisible in the meantime.
11206 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11208 * javax/swing/text/TabSet.java
11209 (equals): New method override for 1.5,
11210 (hashCode): Likewise,
11211 (toString): Added spaces to match reference implementation.
11213 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11215 * javax/management/IntrospectionException.java,
11216 * javax/management/MBeanAttributeInfo.java:
11218 * javax/management/MBeanNotificationInfo.java:
11219 Documentation cleanups.
11221 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11223 * javax/swing/text/TabSet.java
11224 (TabSet): Check for null argument,
11225 (getTab): Throw IllegalArgumentException for index out of bounds,
11226 (getTabIndexAfter): Changed test to '<=',
11227 and updated API docs all over,
11228 * javax/swing/text/TabStop.java: Updated API docs.
11230 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11232 * javax/swing/text/TabStop.java
11233 (toString): Don't use 'left ' prefix, and added space between tab
11234 location and '(w/leader)' suffix.
11236 2006-07-24 Francis Kung <fkung@redhat.com>
11238 * javax/swing/JComboBox.java
11239 (DefaultKeySelectionManager): Implemented.
11240 (createDefaultKeySelectionManager): Implemented.
11241 (getKeySelectionManager): Implemented.
11242 (processKeyEvent): Removed duplicate code.
11243 * javax/swing/JPopupMenu.java
11244 (selectionModel): Changed visibility.
11245 * javax/swing/plaf/basic/BasicComboBoxUI.java
11246 (KeyHandler.keyPressed): Added navigation keys.
11247 (configureEditor): Add key listener.
11248 (installListeners): Install focus listener to combo box.
11249 (isNavigationKey): Added enter, escape, and tab.
11250 (selectPreviousPossibleValue): Added out of bounds check.
11251 (unconfigureEditor): Remove key listener.
11252 * javax/swing/plaf/metal/MetalComboBoxButton.java
11253 (paintComponent): Highlight combo box when in focus.
11255 2006-07-24 Roman Kennke <kennke@aicas.com>
11257 * javax/swing/SwingUtilities.java
11258 (isLeftMouseButton): Fixed condition.
11259 * java/awt/LightweightDispatcher.java
11260 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11263 2006-07-24 Roman Kennke <kennke@aicas.com>
11265 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11266 (setPaint): Fixed scaleX and scaleY.
11268 2006-07-24 Roman Kennke <kennke@aicas.com>
11270 * javax/swing/JTable.java
11271 (handleInsert): Repaint the whole table for variable row
11272 height tables and an optimized region otherwise.
11273 (handleDelete): Likewise.
11274 (handleUpdate): Likewise.
11276 2006-07-24 Mario Torre <neugens@limasoftware.net>
11278 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11279 now explicity registerListeners on GtkMouseDragGestureRecognizer
11281 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11282 (unregisterListeners): new method, overrided from base class
11283 to rise visibility (from protected to public).
11284 (registerListeners): Likewise.
11285 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11286 removed call to registerListeners from the constructor.
11288 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11290 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11291 * java/lang/management/MemoryPoolMXBean.java:
11292 (getType()): Changed return type to MemoryType.
11293 * java/lang/management/MemoryType.java:
11296 2006-07-23 Mark Wielaard <mark@klomp.org>
11298 * configure.ac: Check for moc and moc-qt4.
11300 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11302 * java/awt/image/Kernel.java: API doc updates.
11304 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11306 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11309 2006-07-22 Mark Wielaard <mark@klomp.org>
11311 * java/lang/Iterable.java: Import all of java.util.
11312 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11313 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11315 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11317 * doc/vmintegration.texinfo:
11318 Document getType(String).
11319 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11320 * java/lang/management/MemoryPoolMXBean.java:
11321 (getType()): Implemented.
11322 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11323 (getType(String)): Implemented.
11325 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11327 * doc/vmintegration.texinfo:
11328 Move end of itemization block.
11330 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11332 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11333 (initComponentDefaults): Added new properties, added comments.
11335 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11337 * doc/vmintegration.texinfo:
11338 Mention callback methods.
11339 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11340 (fireNotification(String,String,long,long,long,long,long)):
11341 Made package-private.
11342 (fireThresholdExceededNotification(String,long,long,long,
11343 long,long)): Likewise.
11344 (fireCollectionThresholdExceededNotification(String,long,
11345 long,long,long,long)): Likewise.
11346 * java/lang/management/MemoryMXBean.java:
11347 Document notifications.
11349 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11351 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11352 (fireNotification(String,String,long,long,long,long,long)):
11354 (fireThresholdExceededNotification(String,long,long,long,
11355 long,long)): Likewise.
11356 (fireCollectionThresholdExceededNotification(String,long,
11357 long,long,long,long)): Likewise.
11358 * java/lang/management/MemoryNotificationInfo.java:
11359 Use composite type from MemoryMXBeanImpl.
11360 * javax/management/openmbean/CompositeData.java:
11361 Correct documentation.
11362 * javax/management/openmbean/CompositeDataSupport.java,
11363 * javax/management/openmbean/InvalidKeyException.java:
11366 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11368 * gnu/java/security/util/IntegerUtil.java: New file.
11370 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11373 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11374 (KEY_SIZE): Likewise.
11375 (adjustParity(int,byte[],int): New method.
11376 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11377 (isParityAdjusted(int,byte[],int)): New method.
11378 (isParityAdjusted): Call above method with 3 as 1st argument.
11379 (keySizes): Add 8 and 16 as other valid key sizes.
11380 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11382 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11384 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11385 code for the pixel swap routine to be more efficient.
11387 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11389 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11390 (lastIndexOf(E, int)): Likewise.
11391 (add(E)): Increase the size of newData array by one.
11392 (add(int, E)): Likewise.
11394 2006-07-20 Lillian Angel <langel@redhat.com>
11396 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11397 Removed unused fields.
11398 (GtkMouseDragGestureRecognizer): Removed initializations.
11400 2006-07-20 Lillian Angel <langel@redhat.com>
11402 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11403 (GtkMouseDragGestureRecognizer): New constructor.
11404 (GtkMouseDragGestureRecognizer): New constructor.
11405 (GtkMouseDragGestureRecognizer): New constructor.
11406 (mouseClicked): Removed FIXME.
11407 (mousePressed): Implemented.
11408 (mouseReleased): Implemented.
11409 (mouseEntered): Implemented.
11410 (mouseDragged): Implemented to check mouse point and trigger origin.
11411 (mouseMoved): Removed FIXME.
11412 (getDropActionFromEvent): New helper function used to convert mouse event
11413 modifiers to a drop action.
11414 * java/awt/dnd/DragSource.java
11415 (getDragThreshold): Changed to return some arbitrary value for testing
11418 2006-07-20 Roman Kennke <kennke@aicas.com>
11420 * java/awt/LightweightDispatcher.java
11421 (findTarget): Also consider components that have their eventMask
11422 set, for compatibility with stonage AWT. Optimized check
11424 (handleMouseEvent): Likewise.
11426 2006-07-20 Roman Kennke <kennke@aicas.com>
11428 * javax/swing/JTable.java
11429 (tableChanged): Split out handling of the event into multiple
11431 (handleCompleteChange): New method. Clear the selection and
11432 check the lead/anchor indices.
11433 (handleInsert): New method. Check the lead/anchor indices.
11434 Optimized repainting.
11435 (handleDelete): New method. Check the lead/anchor indices.
11436 Optimized repainting.
11437 (handleUpdate): New method. Optimized repainting.
11438 (checkSelection): New helper method.
11439 (setSelectionModel): Update lead/anchor indices.
11441 2006-07-20 Lillian Angel <langel@redhat.com>
11444 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11445 (dispose): Reset all fields.
11447 2006-07-20 Roman Kennke <kennke@aicas.com>
11449 * gnu/java/awt/peer/x/XToolkit.java
11450 (createImage(InputStream)): Only copy image to Pixmap if
11451 it's actually opaque. Transparent images are left as
11452 BufferedImage and composited later onto the screen.
11453 * gnu/java/awt/peer/x/XGraphics.java
11454 (XGraphics): Fetch some parameters for image rendering.
11455 (drawImage): Added special handling of transparent images.
11456 (getRGB): New helper method.
11457 (setRGB): New helper method.
11459 2006-07-20 Roman Kennke <kennke@aicas.com>
11461 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11462 ImageInputStreams as normal InputStreams.
11463 * gnu/javax/imageio/gif/GIFStream.java:
11464 Moved to gnu/javax/imageio/IIOInputStream.java.
11465 * gnu/javax/imageio/gif/GIFImageReader.java
11466 (readImage): Use IIOInputStream.
11467 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11468 (canDecodeInput): Use IIOInputStream.
11469 * gnu/javax/imageio/png/PNGException.java: Make subclass
11471 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11472 Implements the ImageIO ImageReader for PNG.
11473 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11474 Implements the ImageIO ImageReaderSpi for PNG.
11475 * javax/imageio/spi/IIORegistry.java:
11476 (IIORegistry): Add PNGImageReaderSpi.
11478 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11480 * java/awt/image/ComponentSampleModel.java
11481 (getPixel): Added argument check,
11482 (getSample): Modified exception message.
11484 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11487 * java/awt/image/ConvolveOp.java
11488 (filter(Raster, WritableRaster)): Reimplemented,
11489 (fillEdge): New private method.
11491 2006-07-19 Keith Seitz <keiths@redhat.com>
11493 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11494 (JVMTI_VERSION): Define.
11496 2006-07-19 Roman Kennke <kennke@aicas.com>
11498 * resource/gnu/regexp/MessagesBundle.properties,
11499 * resource/gnu/regexp/MessagesBundle_fr.properties,
11500 * resource/gnu/regexp/MessagesBundle_it.properties:
11501 Moved to resource/gnu/java/util/regex.
11502 * resource/gnu/java/util/regex/MessagesBundle.properties,
11503 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11504 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11506 * gnu/java/util/regex/RE.java
11507 Use new resource bundle location.
11509 2006-07-19 Roman Kennke <kennke@aicas.com>
11511 * javax/swing/JComponent.java
11512 (paintChildren): Refactored. The paintChildrenOptimized method
11513 has been moved back in here. Added locking of the tree and
11514 only check for completely obscured child components
11515 when not optimized drawing enabled. Use Graphics.create() to
11516 protect from irreversible changes.
11517 (isCompletelyObscured): New helper method.
11518 (paintComponent): Also use Graphics.create() for Graphics2D,
11519 to protect from irreverible changes.
11520 (clipAndTranslateGraphics): Refactored to use more efficient
11521 iterative (vs recursive) approach.
11522 * javax/swing/RepaintManager.java
11523 (getOffscreenBuffer): Create image from root component.
11525 2006-07-19 Roman Kennke <kennke@aicas.com>
11527 * gnu/java/awt/peer/x/XGraphics.java
11528 (translate): Don't set the clip on the X server.
11529 (clipRect): Use setXClip() to set the clip on the X server.
11530 (hitClip): More efficient and correct implementation.
11531 (setClip): Use setXClip() to set the clip on the X server.
11532 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11533 (copyArea): Translate and clip the source rectangle correctly.
11534 (dispose): Only flush when object is not yet disposed.
11535 (clone): Use setXClip() to set the clip on the X server.
11537 2006-07-19 Sven de Marothy <sven@physto.se>
11539 * gnu/javax/imageio/png/PNGChunk.java,
11540 * gnu/javax/imageio/png/PNGData.java,
11541 * gnu/javax/imageio/png/PNGDecoder.java,
11542 * gnu/javax/imageio/png/PNGEncoder.java,
11543 * gnu/javax/imageio/png/PNGException.java,
11544 * gnu/javax/imageio/png/PNGFile.java,
11545 * gnu/javax/imageio/png/PNGFilter.java,
11546 * gnu/javax/imageio/png/PNGGamma.java,
11547 * gnu/javax/imageio/png/PNGHeader.java,
11548 * gnu/javax/imageio/png/PNGICCProfile.java,
11549 * gnu/javax/imageio/png/PNGPalette.java,
11550 * gnu/javax/imageio/png/PNGPhys.java,
11551 * gnu/javax/imageio/png/PNGTime.java:
11554 2006-07-19 Sven de Marothy <sven@physto.se>
11556 * java/net/Inet6Address.java:
11557 (getScopedId, getScopedInterface): New methods.
11559 2006-07-19 Lillian Angel <langel@redhat.com>
11561 * examples/gnu/classpath/examples/awt/Demo.java
11562 (DragDropWindow): Fixed typo in Label text.
11563 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11564 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11565 (startDrag): Initialized context field.
11566 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11568 (dragEnter): New function.
11569 (dragExit): Likewise.
11570 (dragDropEnd): Likewise.
11571 (dragMouseMoved): Likewise.
11572 (dragOver): Likewise.
11573 (dragActionChanged): Likewise.
11575 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11578 * resource/java/security/classpath.security: Updated copyright year.
11579 (auth.login.defaultCallbackHandler): New property; set to our default
11580 callback handler. This is needed by the LoginContext when no callback
11581 handler was specified.
11582 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11583 (LoginContext(4)): Assign passed parameters to local fields before invoking
11586 2006-07-19 Roman Kennke <kennke@aicas.com>
11588 * gnu/java/awt/peer/x/XGraphics.java
11589 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11590 Fixed ordering of parameters.
11592 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11594 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11595 (MemoryMXBeanImpl()): Implemented.
11596 (ListenerData): New private class.
11597 (addNotificationListener(NotificationListener,
11598 NotificationFilter, Object)): Implemented.
11599 (getNotificationInfo()): Likewise.
11600 (removeNotificationListener(NotificationListener)):
11602 (removeNotificationListener(NotificationListener,
11603 NotificationFilter, Object)): Likewise.
11605 2006-07-18 Roman Kennke <kennke@aicas.com>
11607 * gnu/java/awt/peer/x/XFontPeer.java
11608 (encodeFont): Be more flexible with font sizes.
11609 (validSize): New helper method.
11610 * gnu/java/awt/peer/x/XGraphics.java
11611 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11613 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11615 * gnu/java/awt/peer/x/XImage.java
11616 (properties): New field.
11617 (getProperty): Implemented.
11618 * resource/gnu/java/awt/peer/x/fonts.properties:
11619 Added copyright header. Fixed font size field.
11621 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11623 * java/awt/image/BandedSampleModel.java
11624 (createDataBuffer): New method override,
11625 * java/awt/image/ByteLookupTable.java
11626 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11627 (ByteLookuptable(int, byte[])): Check for null array,
11628 * java/awt/image/ComponentSampleModel.java
11629 (createDataBuffer): Removed unnecessary braces,
11630 (getSample): Check (x, y) is within bounds,
11631 * java/awt/image/ShortLookupTable.java
11632 (ShortLookupTable(int, short[][])): Create new array to hold references,
11633 (ShortLookupTable(int, short[])): Check for null array,
11634 (getTable): Added API docs,
11635 (lookupPixel): Source reformatting.
11637 2006-07-18 Tania Bento <tbento@redhat.com>
11639 * java/awt/GridLayout.java
11640 (setHgap): Illegal Argument Exception should not be thrown if
11642 (setVgap): Illegal Argument Exception should not be thrown if
11644 (toString): Opening square braket ([) should appear before hgap
11645 value, not the name of the class.
11647 2006-07-18 Roman Kennke <kennke@aicas.com>
11649 * lib/copy-vmresources.sh.in: Reverted.
11650 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11651 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11653 2006-07-18 Roman Kennke <kennke@aicas.com>
11655 * lib/copy-vmresources.sh.in: Include properties from X peers.
11657 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11660 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11661 certificate validity.
11662 (getIssuerName): New method.
11663 (getSubjectName): Likewise.
11664 (getNotAfterDate): Likewise.
11665 (getNotBeforeDate): Likewise.
11666 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11667 messages for newly added messages in SFHelper.
11669 2006-07-18 Roman Kennke <kennke@aicas.com>
11671 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11672 * gnu/java/awt/peer/x/XEventPump.java
11673 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11674 * gnu/java/awt/peer/x/XFramePeer.java
11675 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11676 * gnu/java/awt/peer/x/XGraphics.java
11677 Made subclass of Graphics rather than Graphics2D. Removed
11678 all Graphics2D specific method stubs.
11679 (setColor): Map colors using the X color map that is
11680 stored in XToolkit.
11681 * gnu/java/awt/peer/x/XToolkit.java
11682 (colorMap): New field.
11683 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11685 (createDialog): Implemented.
11686 (createImage(ImageProducer)): Implemented.
11687 (createImage(InputStream)): Use createImage(ImageProducer)
11688 to convert the BufferedImage to an XImage.
11689 * gnu/java/awt/peer/x/XWindowPeer.java
11690 (XWindowPeer): Removed debug output.
11692 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11694 * java/awt/image/BufferedImageOp.java: API docs added,
11695 * java/awt/image/RasterOp.java: Likewise.
11697 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11699 * java/awt/Graphics2D.java: API docs updated.
11701 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11703 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11706 2006-07-18 Sven de Marothy <sven@physto.se>
11708 * java/net/Inet6Address.java:
11709 Add 1.5 serialized fields.
11710 (getByAddress): New methods.
11711 (readObject, writeObject): New methods.
11712 (equals): Reimplement.
11714 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11716 * java/awt/image/Raster.java: Added API docs and reformatted source
11719 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11721 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11723 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11724 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11725 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11726 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11727 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11728 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11729 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11730 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11731 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11732 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11733 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11734 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11735 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11736 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11737 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11738 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11739 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11740 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11741 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11742 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11743 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11745 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11747 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11748 to make it compile again under jikes. Note added.
11750 2006-07-17 Lillian Angel <langel@redhat.com>
11752 * examples/gnu/classpath/examples/awt/Demo.java
11753 (Demo): Added new window for DnD demo.
11754 (DragDropWindow): New class.
11755 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11756 Added new fields and declarations for native functions.
11757 (GtkDragSourceContextPeer): Implemented.
11758 (getComponentPeer): New function.
11759 (startDrag): Partially implemented.
11760 (getCursor): Implemented.
11761 (setCursor): Implemented.
11762 * include/GtkDragSourceContextPeer.h: New file.
11763 * include/Makefile.am: Added new header file.
11764 * java/awt/Component.java
11765 (addNotify): Added call to the dropTarget's addNotify.
11766 * java/awt/dnd/DragSource.java
11767 (startDrag): Fixed code to use shared instances of peer and
11769 (getDragThreshold): Added stub.
11770 * java/awt/dnd/DropTarget.java
11771 (DropTarget): Implemented fully.
11772 (addNotify): Added code to get the peer of the parent that is
11774 * java/awt/dnd/DropTargetDragEvent.java
11775 (getTransferable): Added stub.
11776 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11777 * native/jni/gtk-peer/Makefile.am: Added new c file.
11778 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11779 Changed to extend GtkGenericPeer.
11780 (GtkDropTargetContextPeer): New constructor.
11781 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11782 Changed to extend GtkGenericPeer.
11783 (GtkDropTargetContextPeer): New constructor.
11785 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11787 * java/awt/image/SinglePixelPackedSampleModel.java
11788 (createSubsetSampleModel): Added argument check and API docs.
11790 2006-07-17 Roman Kennke <kennke@aicas.com>
11792 * gnu/java/awt/peer/x/XGraphics.java
11793 (copyArea): Implemented.
11795 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11797 * java/awt/image/SinglePixelPackedSampleModel.java
11798 (getSampleSize): Return copy of array,
11799 (getOffset): Added API docs,
11800 (getScanlineStride): Likewise,
11801 (hashCode): Implemented.
11803 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11805 * java/awt/image/MultiPixelPackedSampleModel.java
11806 (getOffset): Updated API docs and source reformatting,
11807 (getBitOffset): Source reformatting only,
11808 (getDataElements): Likewise,
11809 (getPixel): Likewise,
11810 (getPixels): Removed method override,
11811 (setDataElements): Reimplemented.
11813 2006-07-17 Gary Benson <gbenson@redhat.com>
11815 * resource/META-INF/services/.cvsignore: New file.
11816 * lib/.cvsignore: Updated.
11818 2006-07-17 Roman Kennke <kennke@aicas.com>
11820 * javax/swing/plaf/basic/BasicButtonListener.java
11821 (propertyChange): Only do the text layout caching as long
11822 as the noGraphics2D property isn't set.
11823 * javax/swing/plaf/basic/BasicMenuItemUI.java
11824 (PropertyChangeHandler.propertyChange): Only do the text layout
11825 caching as long as the noGraphics2D property isn't set.
11827 2006-07-17 Roman Kennke <kennke@aicas.com>
11829 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11830 (XGraphicsEnvironment): Make constructor public so that it
11831 can be called via Class.forName().newInstance().
11832 * gnu/java/awt/peer/x/XImage.java
11833 (XImage): Fetch GraphicsEnvironment via
11834 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11835 than the XToolkit method, to avoid double instantiation
11836 of the XGraphicsEnvironment.
11837 * gnu/java/awt/peer/x/XToolkit.java
11838 (env): Removed field.
11839 (getLocalGraphicsEnvironment): Removed impl. This method
11840 should not be called since we set the graphicsenv property
11841 in the constructor.
11843 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11845 * java/util/UUID.java:
11846 (compareTo(Object)): Call compareTo(UUID).
11847 (compareTo(UUID)): Implemented.
11849 2006-07-16 Tom Tromey <tromey@redhat.com>
11851 * java/lang/StrictMath.java (cbrt): Added '@since'.
11853 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11855 * java/lang/StrictMath.java (cbrt): New method.
11856 (getLowDWord): New helper method.
11857 (getHighDWord): Likewise.
11858 (buildDouble): Likewise.
11859 (CBRT_B1): New field.
11860 (CBRT_B2): Likewise.
11861 (CBRT_C): Likewise.
11862 (CBRT_D): Likewise.
11863 (CBRT_E): Likewise.
11864 (CBRT_F): Likewise.
11865 (CBRT_G): Likewise.
11867 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11869 * javax/management/MBeanInfo.java:
11870 (getNotifications()): Implemented.
11871 * javax/management/NotificationBroadcaster.java:
11872 (removeNotificationListener(NotificationListener)):
11873 Renamed from removeListener.
11874 * javax/management/NotificationEmitter.java:
11875 (removeNotificationListener(NotificationListener,
11876 NotificationFilter, Object)): Likewise.
11877 * javax/management/NotificationFilter.java:
11878 Implement Serializable.
11879 * javax/management/NotificationListener.java:
11880 Implement java.util.EventListener.
11881 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11882 Implement Serializable.
11884 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11886 * java/lang/management/MemoryNotificationInfo.java:
11889 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11892 * gnu/javax/swing/text/html/parser/htmlValidator.java
11893 (tagIsValidForContext): If it is not possible to insert any tag, but
11894 is possible to insert a P, insert a P.
11895 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11896 (newInstance): Removed print statement. (getBodyElements):
11897 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11898 valid body level tags (will be enclosed into P's).
11900 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11902 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11903 Condition the creation of .keystore (a default keystore) based on the
11904 createIfNotFound argument as well.
11906 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11909 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11910 Removed heading p tag from the parsing example.
11911 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11912 (createHtmlContentModel): Explained.
11913 (defineElements): Call getBodyElements to get the body
11914 elements. (getBodyElements): New method. (model):
11915 Made protected from private.
11916 * gnu/javax/swing/text/html/parser/htmlValidator.java
11917 (openTag): Mind that current content model may be null.
11918 (tagIsValidForContext): If the tag is PCDATA, and it is not
11919 valid for context, but the paragraph (P) is valid for context,
11920 suggest to insert the P tag here.
11921 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11922 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11923 implied P tags here.
11924 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11925 Get the custom parser, using HTML_401Swing.java DTD.
11926 * javax/swing/text/html/parser/ParserDelegator.java:
11927 Removed the obsolete note that HTMLEditorKit does not exist.
11928 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11929 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11931 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11933 * javax/management/ListenerNotFoundException.java:
11935 * javax/management/MBeanFeatureInfo.java:
11936 (hashCode()): Use summation instead of multiplication
11937 for consistency with other classes.
11938 * javax/management/MBeanNotificationInfo.java,
11939 * javax/management/Notification.java,
11940 * javax/management/NotificationBroadcaster.java,
11941 * javax/management/NotificationEmitter.java,
11942 * javax/management/NotificationFilter.java,
11943 * javax/management/NotificationListener.java:
11945 * javax/management/OperationsException.java:
11946 (serialVersionUID): Added.
11948 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11949 Mark Wielaard <mark@klomp.org>
11951 * java/io/PrintStream.java: Added four constructors, for File and
11952 String describing a filename with or without explicit encoding.
11954 2006-07-16 Sven de Marothy <sven@physto.se>
11956 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11957 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11960 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11963 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11965 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11966 (setProviderClassNameParam): Made private.
11967 (setKeystoreTypeParam): Likewise.
11968 (setKeyPasswordParam): Likewise
11969 (setKeystorePasswordParam): Likewise.
11970 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11971 create or not the keystore if it's not there, and the second is the store's
11972 password to process before loading the keystore. Amended the code
11974 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11975 setKeyStoreParams(5) with true as its first argument.
11976 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11977 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11979 2006-07-16 Sven de Marothy <sven@physto.se>
11981 * java/util/UUID.java: New file.
11983 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11985 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11986 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11987 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11988 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11989 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11990 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11991 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11992 added Key Wrapping Algorithm SPIs.
11994 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11996 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11997 wrapping/unwrapping to invoke their engineGetOutputSize.
11999 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12001 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12002 (engineInit): If a SecureRandom was specified then use it.
12003 (nextRandomBytes): New method.
12004 (engineWrap): Use above method.
12005 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12006 (getDefaultPRNG): New method.
12007 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12008 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12011 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12013 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12014 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12016 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12018 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12019 offset into consideration.
12021 2006-07-16 Mario Torre <neugens@limasoftware.net>
12023 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12024 Fixed comment. This functions now requires to be called
12025 with gdk lock held, the comment states that.
12026 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12027 Introduces gdk locks around critical regions of code.
12028 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12030 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12032 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12034 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12036 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12038 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12040 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12042 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12044 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12046 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12047 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12049 2006-07-15 Sven de Marothy <sven@physto.se>
12051 * javax/swing/JFileChooser.java
12052 Change default selection mode to FILES_ONLY.
12053 * javax/swing/plaf/basic/BasicDirectoryModel.java
12054 Document, fix selection mode filtering.
12055 (renameFile): Implement
12056 * javax/swing/plaf/basic/BasicFileChooserUI.java
12057 (selectedDir): New field to handle selected directories,
12058 disallow selecting of directories in FILES_ONLY mode.
12059 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12060 (EditingActionListener.actionPerformed):
12061 Stop editing on all actions (e.g. return-key press)
12063 2006-07-15 Mark Wielaard <mark@klomp.org>
12065 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12067 (JNI Implementation): Mark JVMTI Implementation as next.
12068 (JVMTI Implementation): Mark JNI Implementation as prev.
12070 2006-07-15 Mark Wielaard <mark@klomp.org>
12072 * include/Makefile.am: Remove
12073 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12074 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12075 * native/jni/gtk-peer/Makefile.am: Remove
12076 gnu_java_awt_peer_gtk_GdkTextLayout.c
12077 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12080 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12082 2006-07-15 Mark Wielaard <mark@klomp.org>
12084 * autogen.sh: Recognize autoconf 2.60.
12086 2006-07-15 Keith Seitz <keiths@redhat.com>
12088 * NEWS: Update for JVMTI and jvmti.h.
12089 * doc/vmintegration.texinfo: Likewise.
12090 * include/jvmti.h: New file.
12092 2006-07-15 Mark Wielaard <mark@klomp.org>
12094 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12095 Removed C++ style comment.
12097 2006-07-15 Sven de Marothy <sven@physto.se>
12099 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12100 * java/awt/MouseInfo.java,
12101 * java/awt/PointerInfo.java,
12102 * java/awt/peer/MouseInfoPeer.java:
12105 * java/awt/Image.java
12106 (accelerationPriority): New field.
12107 (setAccelerationPriority, getAccelerationPriority): New methods..
12109 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12110 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12111 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12112 (getMouseCoordinates): New method.
12114 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12115 (updateAlwaysOnTop): Remove stub overload.
12117 * gnu/java/awt/ClasspathToolkit.java,
12118 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12119 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12120 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12121 (getMouseInfoPeer): New method.
12122 (getMouseNumberOfButtons): New method.
12124 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12125 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12126 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12127 (gtkWindowSetAlwaysOnTop): New method.
12128 (updateAlwaysOnTop): Implement.
12130 * java/awt/Toolkit.java,
12131 (getMouseInfoPeer): New method.
12133 * java/awt/Window.java
12134 (alwaysOnTop): New field.
12135 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12137 * java/awt/peer/WindowPeer.java: Doc fix.
12139 2006-07-14 Sven de Marothy <sven@physto.se>
12141 * java/awt/font/TextLayout.java:
12142 (hitTestChar): Stub method.
12143 * java/awt/font/TextMeasurer.java:
12144 (getLayout): Throw exception on invalid argument.
12146 2006-07-14 Sven de Marothy <sven@physto.se>
12148 * java/awt/image/DataBuffer.java
12149 (DataBuffer): Call constructors in the correct order,
12151 2006-07-14 Mark Wielaard <mark@klomp.org>
12153 Revert to previous implementation.
12154 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12155 constraints insets.
12157 2006-07-14 Roman Kennke <kennke@aicas.com>
12159 * gnu/java/awt/peer/x/XToolkit.java
12160 (XToolkit): Install properties to SystemProperties
12161 rather than System, to avoid SecurityManager.
12162 (getImage(String)): Return error image when string is invalid.
12163 (createImage(URL)): Moved image loading to helper method.
12164 (createImage(ImageProducer)): Implemented.
12165 (createImage(byte[],int,int)): Implemented.
12166 (createImage(InputStream)): New helper method.
12168 2006-07-14 Tania Bento <tbento@redhat.com>
12170 * java/awt/FlowLayout.java
12171 (setHgap): No Excpetion should be thrown if hgap has
12173 (setVgap): No Exception should be thrown if vgap has
12176 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12178 * java/awt/image/MultiPixelPackedSampleModel.java:
12179 Added API docs all over.
12181 2006-07-14 Matt Wringe <mwringe@redhat.com>
12183 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12184 (engineInit): Throw InvalidAlgorithmParameterException
12185 for invalid IVParameterSpec IV length.
12187 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12189 * java/awt/image/MultiPixelPackedSampleModel.java
12190 (createDataBuffer): Include dataBitOffset in calculating the size for
12193 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12195 * java/awt/image/MultiPixelPackedSampleModel.java
12196 (getSampleSize()): Return a copy of the array,
12197 (getTransferType()): New method override.
12199 2006-07-14 Roman Kennke <kennke@aicas.com>
12201 * java/awt/CardLayout.java
12202 (show): Validate parent to make sure that the layout is
12205 2006-07-14 Roman Kennke <kennke@aicas.com>
12207 * java/awt/Component.java
12208 (enable): Added tree locking.
12209 (disable): Added tree locking.
12210 (show): Added tree locking.
12211 (hide): Added tree locking.
12212 (getLocationOnScreen): Added tree locking.
12213 (reshape): Added tree locking.
12214 (addHierarchyListener): Added tree locking.
12215 (removeHierarchyListener): Added tree locking.
12216 (addHierarchyBoundsListener): Added tree locking.
12217 (removeHierarchyBoundsListener): Added tree locking.
12218 (addNotify): Added tree locking.
12219 (removeNotify): Added tree locking.
12220 * java/awt/Container.java
12221 (invalidateTree): Added tree locking.
12222 (getAlignmentX): Added tree locking.
12223 (getAlignmentY): Added tree locking.
12224 (addNotify): Added tree locking.
12225 (setComponentZOrder): Added tree locking.
12226 (getComponentZOrder): Added tree locking.
12228 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12230 * java/awt/image/MultiPixelPackedSampleModel.java
12231 (createSubsetSampleModel): Restored argument check, but let null
12234 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12236 * java/awt/image/MultiPixelPackedSampleModel.java
12237 (createSubsetSampleModel): Removed argument check.
12239 2006-07-14 Roman Kennke <kennke@aicas.com>
12241 * java/awt/Component.java
12242 (numHierarchyListeners): New field.
12243 (numHierarchyBoundsListeners): New field.
12244 (show): Fire hierarchy events here. Only fire component event
12245 if there is actually a listener for it.
12246 (hide): Fire hierarchy events here. Only fire component event
12247 if there is actually a listener for it.
12248 (reshape): Fire hierarchy events here. Only fire component event
12249 if there is actually a listener for it.
12250 (addHierarchyListeners): Update listener counters.
12251 (removeHierarchyListeners): Update listener counters.
12252 (addHierarchyBoundsListeners): Update listener counters.
12253 (removeHierarchyBoundsListeners): Update listener counters.
12254 (fireHierarchyEvent): New helper method for firing hierarchy
12256 * java/awt/Container.java
12257 (addImpl): Update listener counters. Fire hierarchy event.
12258 (remove): Update listener counters. Fire hierarchy event.
12259 (fireHierarchyEvent): New helper method for firing hierarchy
12261 (updateHierarchyListenerCount): New helper method for
12262 updating the listener counters.
12264 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12266 * java/awt/image/MultiPixelPackedSampleModel.java
12267 (equals): New method override,
12268 (hashCode): Likewise.
12270 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12272 * java/awt/image/MultiPixelPackedSampleModel.java
12273 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12274 Corrected scanlineStride calculation.
12276 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12278 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12279 (AES_KWA): Likewise.
12280 (AES128_KWA): Likewise.
12281 (AES192_KWA): Likewise.
12282 (AES256_KWA): Likewise.
12283 (RIJNDAEL_KWA): Likewise.
12284 (TRIPLEDES_KWA): Likewise.
12285 (DESEDE_KWA): Likewise.
12286 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12287 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12288 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12289 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12290 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12291 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12293 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12295 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12296 (PADDING_BLOCK_SIZE): New constant.
12297 (init(Map attributes)): New method.
12298 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12300 2006-07-14 Mario Torre <neugens@limasoftware.net>
12302 * gnu/java/security/OID.java (OID): Private Constructor removed as
12303 it is not needed anymore.
12304 (clone): Fixed. Now uses super.clone instead of the private
12305 constructor as per specification of clone method.
12306 (serialVersionUID): added new field to allow serialization.
12308 2006-07-13 Sven de Marothy <sven@physto.se>
12310 * gnu/javax/imageio/gif/GIFImageReader.java
12311 (read): Remove old debugging trace.
12313 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12316 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12319 2006-07-13 Roman Kennke <kennke@aicas.com>
12321 * java/awt/Component.java
12322 (DEFAULT_MAX_SIZE): New static constant.
12323 (preferredSize): Return copy of the actual value computed
12324 by new helper method.
12325 (preferredSizeImpl): New helper method. Adds locking and
12326 correct handling of cached value.
12327 (minimumSize): Return copy of the actual value computed
12328 by new helper method.
12329 (minimumSizeImpl): New helper method. Adds locking and
12330 correct handling of cached value.
12331 (getMaximumSize): Return copy of the actual value computed
12332 by new helper method.
12333 (maximumSizeImpl): New helper method. Adds locking and
12334 correct handling of cached value.
12335 (invalidate): Correct handling of cached layout information.
12337 * java/awt/Container.java
12338 (preferredSize): Minimized locking. Corrected handling of cached
12339 values. Return copy of real value.
12340 (minimumSize): Minimized locking. Corrected handling of cached
12341 values. Return copy of real value.
12342 (getMaximumSize): Minimized locking. Corrected handling of cached
12343 values. Return copy of real value.
12345 2006-07-13 Tania Bento <tbento@redhat.com>
12347 * gnu/java/awt/peer/ClasspathFontPeer.java
12348 (isLogicalFontName): Return true if name == default.
12349 (logicalFontNameToFaceName): Check if name == default,
12350 and if so, return "Dialog.plain".
12351 (setStandardAttributes(String, Map)): If name == null,
12352 it should be set to "Default", not "SansSerif".
12353 * java/awt/Canvas.java
12354 (generateName): Fixed documentation.
12355 * java/awt/CheckboxMenuItem.java
12356 Added static variable "next_chkmenuitem_number".
12357 (generateName): Added and implemented method.
12358 (getUniqueLong): Likewise.
12359 * java/awt/Choice.java
12360 Added static variable "next_choice_number".
12361 (generateName): Added and implemented method.
12362 (getUniqueLong): Likewise.
12363 * java/awt/Cursor.java
12364 (Cursor(int)): Set name depending on the type passed.
12365 * java/awt/List.java
12366 Added static variable "next_list_number".
12367 (generateName): Added and implemented method.
12368 (getUniqueLong): Likewise.
12369 * java/awt/Menu.java
12370 Added static variable "next_menu_number".
12371 (generateName): Added and implemented method.
12372 (getUniqueLong): Likewise.
12373 * java/awt/MenuBar.java
12374 Added static variable "next_menubar_number".
12375 (generateName): Added and implemented method.
12376 (getUniqueLong): Likewise.
12377 * java/awt/MenuComponent.java
12378 (getName): Before returning name, check if name == null
12379 and name is not explicity set. If this is the case,
12380 name will be generated.
12381 (generateName): Added and implemented method.
12382 * java/awt/MenuItem.java
12383 Added static variable "next_menuitem_number".
12384 (generateName): Added and implemented method.
12385 (getUniqueLong): Likewise.
12386 * java/awt/PopupMenu.java
12387 Added static variable "next_popup_number".
12388 (generateName): Added and implemented method.
12389 (getUniqueLong): Likewise.
12390 * java/awt/ScrollPane.java
12391 Added static variable "next_scrollpane_number".
12392 (generateName): Added and implemented method.
12393 (getUniqueLong): Likewise.
12394 * java/awt/TextField.java
12395 Added static variable "next_textfield_number".
12396 (generateName): Added and implemented method.
12397 (getUniqueLong): Likewise.
12400 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12402 * java/awt/image/SinglePixelPackedSampleModel.java
12403 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12404 mask correctly as an unsigned integer,
12405 (equals): New method override.
12407 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12409 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12410 insertAfterStart, insertBeforeEnd): Removed stub markings.
12412 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12414 * java/awt/image/BandedSampleModel.java: API doc updates and source
12416 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12418 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12420 * java/awt/image/BandedSampleModel.java: API doc updates.
12422 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12424 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12425 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12426 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12427 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12428 (HRMLReader.blockClose): Mind that parser stack may be empty.
12429 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12430 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12431 (HTMLReader.shouldInsert): New method. (getElement(String)):
12432 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12433 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12434 Implemented. (getInsertingReader): New method.
12435 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12436 Added buttons to demonstrate the work of the insert actions.
12438 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12440 * java/awt/image/SampleModel.java: API doc updates and additions,
12441 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12443 2006-07-12 Sven de Marothy <sven@physto.se>
12445 * javax/swing/JFileChooser.java:
12446 (createDialog): Close operation should cause a cancel.
12448 2006-07-12 Francis Kung <fkung@redhat.com>
12450 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12451 (cairoArc): New native method.
12452 (cairoRestore): New native method.
12453 (cairoSave): New native method.
12454 (cairoScale): New native method.
12455 (createPath): New method to centralize code from draw and fill.
12456 (draw): Modified to use createPath method.
12457 (fill): Modified to use createPath method.
12458 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12459 function declarations.
12460 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12461 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12463 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12465 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12468 2006-07-12 Tom Tromey <tromey@redhat.com>
12471 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12472 on PartialInputStream.
12473 (PartialInputStream.dummyByteCount): New field.
12474 (PartialInputStream.fillBuffer): Handle dummy byte.
12475 (PartialInputStream.read): Likewise.
12476 (PartialInputStream.addDummyByte): New method.
12478 2006-07-12 Mario Torre <neugens@limasoftware.net>
12480 * native/jni/gconf-peer/GConfNativePeer.c
12481 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12482 Fixed C++ style comment.
12484 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12486 * java/util/Arrays.java
12487 (asList): Updated API docs.
12489 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12492 * native/jni/gconf-peer/GConfNativePeer.c:
12493 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12494 Changed if-expression.
12495 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12496 Added check for _value not being NULL.
12498 2006-07-11 Roman Kennke <kennke@aicas.com>
12500 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12501 (read): Use fd when local sockets are disabled to make the
12505 2006-07-11 Roman Kennke <kennke@aicas.com>
12507 * java/awt/image/MultiPixelPackedSampleModel.java
12508 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12509 division gets rounded up.
12511 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12513 * java/lang/management/ManageFactory.java:
12514 (getMemoryManagerMXBeans()): Use addAll, not add.
12516 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12519 * gnu/classpath/ByteArray.java: Removed (moved).
12520 * gnu/java/security/util/ByteArray.java: New File.
12521 * gnu/javax/crypto/RSACipherImpl.java: Reference
12522 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12524 2006-07-11 Roman Kennke <kennke@aicas.com>
12526 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12527 (available): Pass fd as argument and avoid JNI class/field
12531 * include/gnu_java_net_local_LocalSocketImpl.h:
12533 * gnu/java/net/local/LocalSocketImpl.h
12534 (available): Pass fd as argument and avoid JNI class/field
12539 2006-07-11 Sven de Marothy <sven@physto.se>
12541 * gnu/javax/sound/sampled/AU/AUReader.java:
12542 Correct file extension from .as to .au.
12544 2006-07-11 Sven de Marothy <sven@physto.se>
12546 * gnu/javax/sound/sampled/AU/AUReader.java:
12548 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12549 Added new provider.
12551 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12553 * javax/swing/JTable.java
12554 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12555 (setColumnSelectionAllowed): Likewise.
12557 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12560 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12561 AccessController.doPrivileged instead of SystemProperties.getProperty.
12562 * gnu/classpath/debug/SystemLogger.java: Likewise.
12563 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12564 repeated getProperty calls for "file.seperator".
12565 (refresh): Since already in privileged block, call System.getProperty
12566 instead of SystemProperties.getProperty.
12567 * gnu/java/security/key/dss/DSSKey.java
12568 (toString): Use AccessController.doPrivileged instead of
12569 SystemProperties.getProperty.
12570 * gnu/java/security/key/dss/DSSPrivateKey.java
12571 (toString): Likewise.
12572 * gnu/java/security/key/dss/DSSPublicKey.java
12573 (toString): Likewise.
12574 * gnu/java/security/key/rsa/GnuRSAKey.java
12575 (toString): Likewise.
12576 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12577 (toString): Likewise.
12578 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12579 (toString): Likewise.
12580 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12581 * gnu/javax/crypto/key/dh/GnuDHKey.java
12582 (toString): Likewise.
12583 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12584 (toString): Likewise.
12585 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12586 (toString): Likewise.
12588 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12590 * javax/swing/AbstractButton.java
12591 (disabledIcon): Fixed name (was 'disabeldIcon'),
12592 (getDisabledIcon): Updated for corrected field name,
12593 (setDisabledIcon): Fire a PropertyChangeEvent.
12595 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12597 * javax/swing/DefaultBoundedRangeModel.java
12598 (readObject): New private method,
12599 (writeObject): Likewise.
12601 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12603 * javax/swing/ButtonGroup.java
12604 (add): Ignore null argument,
12605 (remove): Ignore null argument. If removing selected button, clear the
12607 (findButton): Changed case for method name, and documented,
12608 (setSelected): Updated for modification to findButton() method name,
12609 (isSelected): Updated API docs.
12611 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12613 * java/awt/image/BufferedImage.java
12614 (BufferedImage(int, int, int)): Use correct color space for
12615 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12616 IllegalArgumentException for an unrecognised type.
12618 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12620 * java/lang/management/ManagementFactory.java:
12621 (getMemoryPoolMXBeans): Genericized fully.
12622 (getMemoryManagerMXBeans): Likewise.
12623 (getGarbageCollectorMXBeans): Likewise.
12625 2006-07-10 Tom Tromey <tromey@redhat.com>
12627 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12629 (getMemoryManagerMXBeans): Likewise.
12630 (getGarbageCollectorMXBeans): Likewise.
12632 2006-07-10 Mario Torre <neugens@limasoftware.net>
12634 * java/awt/BasicStroke.java: Removed unused import.
12635 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12636 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12637 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12639 2006-07-10 Matt Wringe <mwringe@redhat.com>
12641 PR classpath/28212:
12642 * javax/crypto/spec/SecretKeySpec.java
12643 (equals): Check object type.
12645 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12647 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12648 communication/StructureToPassHelper.java,
12649 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12650 communication/StructureToReturnHelper.java,
12651 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12652 communication/TreeNodeHelper.java,
12653 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12654 communication/WeThrowThisExceptionHelper.java,
12655 gnu/CORBA/ForwardRequestHelper.java,
12656 org/omg/CORBA/CompletionStatusHelper.java,
12657 org/omg/CORBA/CurrentHelper.java,
12658 org/omg/CORBA/DefinitionKindHelper.java,
12659 org/omg/CORBA/IDLTypeHelper.java,
12660 org/omg/CORBA/NameValuePairHelper.java,
12661 org/omg/CORBA/ObjectHelper.java,
12662 org/omg/CORBA/ParameterModeHelper.java,
12663 org/omg/CORBA/PolicyErrorCodeHelper.java,
12664 org/omg/CORBA/PolicyErrorHelper.java,
12665 org/omg/CORBA/PolicyHelper.java,
12666 org/omg/CORBA/PolicyListHelper.java,
12667 org/omg/CORBA/PolicyTypeHelper.java,
12668 org/omg/CORBA/ServiceDetailHelper.java,
12669 org/omg/CORBA/ServiceInformationHelper.java,
12670 org/omg/CORBA/SetOverrideTypeHelper.java,
12671 org/omg/CORBA/StringValueHelper.java,
12672 org/omg/CORBA/UnionMemberHelper.java,
12673 org/omg/CORBA/UnknownUserExceptionHelper.java,
12674 org/omg/CORBA/VisibilityHelper.java,
12675 org/omg/CORBA/WStringValueHelper.java,
12676 org/omg/CORBA/WrongTransactionHelper.java,
12677 org/omg/CosNaming/BindingHelper.java,
12678 org/omg/CosNaming/BindingIteratorHelper.java,
12679 org/omg/CosNaming/BindingListHelper.java,
12680 org/omg/CosNaming/BindingTypeHelper.java,
12681 org/omg/CosNaming/NameComponentHelper.java,
12682 org/omg/CosNaming/NameHelper.java,
12683 org/omg/CosNaming/NamingContextExtHelper.java,
12684 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12685 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12686 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12687 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12688 org/omg/CosNaming/NamingContextHelper.java,
12689 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12690 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12691 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12692 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12693 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12694 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12695 org/omg/DynamicAny/AnySeqHelper.java,
12696 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12697 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12698 org/omg/DynamicAny/DynAnyHelper.java,
12699 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12700 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12701 org/omg/DynamicAny/DynAnySeqHelper.java,
12702 org/omg/DynamicAny/DynArrayHelper.java,
12703 org/omg/DynamicAny/DynEnumHelper.java,
12704 org/omg/DynamicAny/DynFixedHelper.java,
12705 org/omg/DynamicAny/DynSequenceHelper.java,
12706 org/omg/DynamicAny/DynStructHelper.java,
12707 org/omg/DynamicAny/DynUnionHelper.java,
12708 org/omg/DynamicAny/DynValueHelper.java,
12709 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12710 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12711 org/omg/DynamicAny/NameValuePairHelper.java,
12712 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12713 org/omg/IOP/CodecFactoryHelper.java,
12714 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12715 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12716 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12717 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12718 org/omg/IOP/ComponentIdHelper.java,
12719 org/omg/IOP/IORHelper.java,
12720 org/omg/IOP/MultipleComponentProfileHelper.java,
12721 org/omg/IOP/ProfileIdHelper.java,
12722 org/omg/IOP/ServiceContextHelper.java,
12723 org/omg/IOP/ServiceContextListHelper.java,
12724 org/omg/IOP/ServiceIdHelper.java,
12725 org/omg/IOP/TaggedComponentHelper.java,
12726 org/omg/IOP/TaggedProfileHelper.java,
12727 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12728 org/omg/PortableInterceptor/AdapterNameHelper.java,
12729 org/omg/PortableInterceptor/AdapterStateHelper.java,
12730 org/omg/PortableInterceptor/CurrentHelper.java,
12731 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12732 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12733 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12734 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12735 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12736 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12737 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12738 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12739 org/omg/PortableServer/CurrentHelper.java,
12740 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12741 org/omg/PortableServer/ForwardRequestHelper.java,
12742 org/omg/PortableServer/POAHelper.java,
12743 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12744 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12745 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12746 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12747 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12748 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12749 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12750 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12751 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12752 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12753 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12754 org/omg/PortableServer/ServantActivatorHelper.java,
12755 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12756 typecode caching and always use OrbRestricted.Singleton.
12758 2006-07-09 Tom Tromey <tromey@redhat.com>
12760 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12762 2006-07-09 Mark Wielaard <mark@klomp.org>
12764 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12765 New static final boolean field.
12766 (getComponentGraphics): Use hasXRenderExtension.
12767 (setClip): Override method for locking.
12769 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12771 * javax/swing/AbstractButton.java
12772 (setHorizontalTextPosition): Added check for illegal argument,
12773 (setVerticalTextPosition): Likewise.
12775 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12777 * javax/swing/Timer.java
12778 (setDelay): Throw IllegalArgumentException for negative delay,
12779 (setInitialDelay): Likewise,
12780 * javax/swing/ToolTipManager.java
12781 (setInitialDelay): Document IllegalArgumentException,
12782 (setDismissDelay): Likewise,
12783 (setReshowDelay): Likewise.
12785 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12787 * java/lang/management/MemoryUsage.java:
12788 (from(javax.management.openmbean.CompositeData)):
12790 * java/lang/management/ThreadInfo.java:
12791 Changed to use open types throughout for the state.
12792 (ThreadInfo(long,String,String,long,long,String,
12793 long,String,long,long,boolean,StackTraceElement[])):
12795 (checkAttribute(javax.management.openmbean.CompositeType,
12796 String, javax.management.openmbean.OpenType)): New method.
12797 (from(javax.management.openmbean.CompositeData)):
12799 (getLockName()): Fixed to use new variable.
12800 (getLockOwnerId()): Likewise.
12801 (getLockOwnerName()): Likewise.
12802 (getThreadId()): Likewise.
12803 (getThreadName()): Likewise.
12804 (getThreadState()): Likewise.
12805 (toString()): Refactored to use new variables.
12806 * javax/management/openmbean/ArrayType.java:
12808 * javax/management/openmbean/CompositeType.java:
12809 Variables should be transient, not volatile.
12810 * javax/management/openmbean/OpenDataException.java:
12811 (serialVersionUID): Added.
12812 * javax/management/openmbean/SimpleType.java:
12814 * javax/management/openmbean/TabularType.java
12815 Variables should be transient, not volatile.
12817 2006-07-09 Tom Tromey <tromey@redhat.com>
12819 * tools/.cvsignore: Updated for new tools.
12821 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12823 * javax/management/openmbean/CompositeData.java,
12824 * javax/management/openmbean/CompositeType.java,
12825 * javax/management/openmbean/OpenDataException.java,
12826 * javax/management/openmbean/OpenType.java,
12827 * javax/management/openmbean/TabularData.java,
12828 * javax/management/openmbean/TabularType.java,
12829 * javax/management/openmbean/package.html:
12832 2006-07-09 Mark Wielaard <mark@klomp.org>
12834 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12835 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12836 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12838 2006-07-08 Anthony Green <green@redhat.com>
12840 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12841 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12844 2006-07-09 Mario Torre <neugens@limasoftware.net>
12846 * native/jni/gconf-peer/GConfNativePeer.c:
12847 Fixed indentation to be more compliant to the GNU coding
12849 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12850 Added explicit test for errors in the GConf backend.
12851 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12852 Added explicit test for errors in the GConf backend.
12853 Fixed Segmentation Fault when non valid key names are given as input.
12854 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12856 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12857 Added explicit test for errors in the GConf backend.
12858 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12859 Added javadoc comments for all native methods.
12860 (nodeExist): removed test to check for valid absolute path name
12862 (startWatchingNode): likewise.
12863 (stopWatchingNode): likewise.
12864 (setString): likewise, plus fixed javadoc comments.
12865 (unset): likekwise.
12866 (getKey): likewise.
12867 (getKeys): likewise, also fixed javadoc comments.
12868 (getChildrenNodes): likewise.
12869 * gnu/java/util/prefs/GConfBasedPreferences.java:
12870 changed DEFAULT_USER_ROOT to /apps/classpath.
12871 (constructor): Test to check for a valid absolute path for nodes
12872 is now in the contructor for that node, instead of being on
12873 each method of the backend.
12874 (getGConfKey): removed empty new line.
12876 2006-07-08 Mark Wielaard <mark@klomp.org>
12878 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12880 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12882 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12883 Handle the forced break in the same way as exceeding the
12884 available row space.
12885 * javax/swing/text/html/HRuleView.java: Rewritten.
12886 * javax/swing/text/html/HTMLDocument.java
12887 (HTMLReader.addSpecialElement):Reserve two characters for
12888 the special elements.
12889 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12890 (text): Extended the HTML example to parse.
12892 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12894 * javax/swing/AbstractButton.java
12895 (setHorizontalAlignment): Check for illegal argument,
12896 (setVerticalAlignment): Likewise.
12898 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12900 * javax/swing/text/html/TableView.java
12901 (getStyleSheet): New method. (RowView.getStyleSheet):
12904 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12906 * javax/swing/AbstractButton.java
12907 (setRolloverIcon): Call setRolloverEnabled(true),
12908 (setRolloverSelectedIcon): Likewise.
12910 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12912 * javax/swing/border/TitledBorder.java
12913 (setTitlePosition): Added message to exception,
12914 (setTitleJustification): Likewise.
12916 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12918 * javax/swing/plaf/metal/MetalLookAndFeel.java
12919 (createDefaultTheme): Corrected API docs,
12920 (initComponentDefaults): Added entry for 'TitledBorder.border',
12921 (getCurrentTheme): Initialise theme if it is null.
12923 2006-07-07 Roman Kennke <kennke@aicas.com>
12925 * java/awt/Component.java
12926 (isValid): Return false when component has no peer,
12927 don't query the showing state.
12929 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12931 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12932 Advance the offset also in the case of the enforced break.
12934 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12936 * javax/swing/plaf/basic/BasicArrowButton.java
12937 (MAXIMUM_SIZE): Removed field,
12938 (MINIMUM_SIZE): Likewise,
12939 (PREFERRED_SIZE): Likewise,
12940 (getMaximumSize): Return new instance every time,
12941 (getMinimumSize): Likewise,
12942 (getPreferredSize): Likewise.
12944 2006-07-07 Roman Kennke <kennke@aicas.com>
12946 * java/awt/LightweightDispatcher.java
12947 (findTarget): Avoid array copying in
12948 Container.getComponents().
12950 2006-07-07 Roman Kennke <kennke@aicas.com>
12952 * javax/swing/JComponent.java
12953 (paintChildrenWithOverlap): Avoid array copying in
12954 Container.getComponents().
12955 (paintChildrenOptimized): Avoid array copying in
12956 Container.getComponents().
12957 (fireAncestorEvent): Avoid array copying in
12958 Container.getComponents().
12959 (findOverlapFreeParent): Avoid array copying in
12960 Container.getComponents().
12962 2006-07-07 Matt Wringe <mwringe@redhat.com>
12964 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12965 (passwordValid): New field.
12966 (setPassword): New method.
12967 (setSalt): Likewise.
12968 (setIterationCount): Likewise.
12969 (setKeyLength): Likewise.
12970 (PBEKeySpec(char[])): Use new setter methods.
12971 (PBEKeySpec(char[], byte[], int)): Likewise.
12972 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12973 (clearPassword): Set passwordValid to false.
12974 (getPassword): Check that clearPassword() was not called earlier.
12975 Return a clone of the password.
12976 (getSalt): Return a clone of the salt if it was not null.
12978 2006-07-07 Roman Kennke <kennke@aicas.com>
12980 * java/awt/Component.java
12981 (isValid): Always return false when component is
12983 (setFont): Always set font, even when setting
12984 the same or equal font again.
12986 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12988 * javax/swing/plaf/metal/MetalIconFactory.java
12989 (CheckBoxMenuItemIcon): Implement UIResource,
12990 (FileChooserDetailViewIcon): Likewise,
12991 (FileChooserHomeFolderIcon): Likewise,
12992 (FileChooserListViewIcon): Likewise,
12993 (FileChooserNewFolderIcon): Likewise,
12994 (FileChooserUpFolderIcon): Removed redundant 'implements',
12995 (RadioButtonMenuItemIcon): Implement UIResource,
12996 (HorizontalSliderThumbIcon): Likewise,
12997 (InternalFrameCloseIcon): Likewise,
12998 (InternalFrameDefaultMenuIcon): Likewise,
12999 (InternalFrameAltMaximizeIcon): Likewise,
13000 (InternalFrameMaximizeIcon): Likewise,
13001 (InternalFrameMinimizeIcon): Likewise,
13002 (VerticalSliderThumbIcon): Likewise,
13003 (TreeHardDriveIcon): Likewise,
13004 (TreeFloppyDriveIcon): Likewise,
13005 (TreeComputerIcon): Likewise,
13006 (horizontalSliderThumbIcon): New field,
13007 (verticalSliderThumbIcon): New field,
13008 (getHorizontalSliderThumbIcon): Cache icon,
13009 (getVerticalSliderThumbIcon): Likewise.
13011 2006-07-06 Mark Wielaard <mark@klomp.org>
13013 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13014 (DISTCLEANFILES): Add standard.omit.
13015 (clean-local): Remove Makefile.deps, only remove dirs.
13017 2006-07-06 Roman Kennke <kennke@aicas.com>
13019 * java/awt/Component.java
13020 (setFont): Only invalidate when component is valid.
13021 * java/awt/Container.java
13022 (setLayout): Only invalidate when component is valid.
13024 2006-07-06 Lillian Angel <langel@redhat.com>
13026 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13027 New class not fully implemented.
13028 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13029 New class not fully implemented.
13030 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13031 New class not fully implemented.
13032 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13033 New class not fully implemented.
13034 * nu/java/awt/peer/gtk/GtkToolkit.java:
13036 (createDragSourceContextPeer): Implemented.
13037 (createDragGestureRecognizer): New function to override
13038 java.awt.Toolkit.createDragGestureRecognizer.
13039 * java/awt/dnd/DragSource.java
13040 (NoDragGestureRecognizer): Removed inner class.
13041 (createDragGestureRecognizer): Re-Implemented to
13042 call Toolkit's createDragGestureRecognizer.
13043 (createDefaultDragGestureRecognizer): Re-Implemented to
13044 call Toolkit's createDragGestureRecognizer.
13045 * java/awt/dnd/DropTarget.java
13046 (addNotify): Added check to determine type of peer and call
13048 (removeNotify): Added call to removeDropTarget.
13050 2006-07-06 Tom Tromey <tromey@redhat.com>
13052 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13054 (run): Wait on queue, not 'this'.
13056 2006-07-06 Lillian Angel <langel@redhat.com>
13058 * java/awt/dnd/DragSource.java
13059 (startDrag): Implemented. Added comments describing
13060 what the function should do. Removed FIXME.
13062 2006-07-06 Tania Bento <tbento@redhat.com>
13064 * gnu/java/awt/Canvas.java
13065 Added new private variable 'next_canvas_number'.
13066 (generateName): Added.
13067 (getUniqueLong): Added.
13069 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13071 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13072 (getColor): Made public.
13073 * javax/swing/text/html/StyleSheet.java (stringToColor):
13074 Use CharacterAttributeTranslator.getColor(String)
13076 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13078 * javax/swing/text/html/HTMLEditorKit.java:
13079 (HTMLFactory.createElement): Update reference to the html table view.
13080 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13081 * javax/swing/text/html/TableView.java: New file.
13083 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13085 * javax/swing/text/html/HTMLEditorKit.java:
13086 (HTMLFactory.createElement): Uncomment
13087 code for BRView and HRuleView.
13088 * javax/swing/text/html/BRView.java,
13089 javax/swing/text/html/HRuleView.java: New files.
13091 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13093 * java/lang/Thread.java:
13094 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13095 Added generic type signature.
13097 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13100 * doc/vmintegration.texinfo: Likewise.
13101 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13102 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13103 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13104 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13105 * java/lang/management/GarbageCollectorMXBean.java:
13107 * java/lang/management/ManagementFactory.java:
13108 (getGarbageCollectorMXBeans()): Implemented.
13109 (getMemoryManagerMXBeans()): Likewise.
13110 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13111 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13113 * vm/reference/java/lang/management/VMManagementFactory.java:
13114 (getMemoryManagerNames()): Added.
13115 (getGarbageCollectorNames()): Added.
13117 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13119 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13120 from lib_LTLIBRARIES.
13121 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13123 2006-07-05 Lillian Angel <langel@redhat.com>
13125 * java/awt/dnd/DragGestureEvent.java:
13127 (DragGestureEvent): Initialized new fields, added to check and
13128 added documentation.
13129 (getSourceAsDragGestureRecognizer): Added documentation and
13130 changed to use getSource.
13131 (getComponent): Added documentation and fixed to return the proper
13133 (getDragSource): Likewise.
13134 (getDragOrigin): Added documentation.
13135 (iterator): Implemented and added documentation.
13136 (toArray): Likewise.
13137 (toArray): Likewise.
13138 (getDragAction): Likewise.
13139 (getTriggerEvent): Likewise.
13140 (startDrag): Likewise.
13141 * java/awt/dnd/DragGestureRecognizer.java
13142 (resetRecognizer): Added FIXME.
13143 * java/awt/dnd/DragSource.java:
13145 (DragSource): Set ds to be null if headless.
13146 (getDefaultDragSource): Added documentation and implemented.
13147 (isDragImageSupported): Marked as unimplemented.
13148 (startDrag): Likewise.
13149 (createDragSourceContext): Implemented.
13150 (NoDragGestureRecognizer): Formatted inner class.
13151 * java/awt/dnd/DropTarget.java
13152 (stop): Marked as unimplemented.
13153 (actionPerformed): Likewise.
13154 (addDropTargetListener): Added code to throw exception.
13155 (removeDropTargetListener): Added check, removed FIXME.
13156 (dragEnter): Implemented.
13157 (dragOver): Implemented.
13158 (dropActionChanged): Implemented.
13159 (dragExit): Implemented.
13160 (drop): Implemented.
13161 (addNotify): Implemented.
13162 (removeNotify): Implemented.
13163 (createDropTargetContext): Implemented.
13164 (createDropTargetAutoScroller): Implemented.
13165 (initializeAutoscrolling): Implemented.
13166 (updateAutoscroll): Implemented.
13167 (clearAutoscroll): Implemented.
13168 * java/awt/dnd/DropTargetContext.java
13169 (dropComplete): Implemented.
13170 (acceptDrag): Implemented.
13171 (rejectDrag): Implemented.
13172 (acceptDrop): Implemented.
13173 (rejectDrop): Implemented.
13174 (getCurrentDataFlavors): Implemented.
13175 (getTransferable): Partially implemented.
13176 * java/awt/dnd/DropTargetDragEvent.java
13177 (getDropAction): Uncommented correct code.
13178 * java/awt/dnd/DropTargetDropEvent.java
13179 (dropComplete) :Implemented.
13180 * java/awt/dnd/InvalidDnDOperationException.java
13181 (InvalidDnDOperationException): Added call to super.
13183 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13185 * javax/swing/plaf/basic/BasicArrowButton.java:
13186 (paint): Removed getBounds() call, changed center point
13189 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13191 * javax/swing/InputMap.java
13192 (inputMap): Don't initialize yet,
13193 (InputMap): Removed TODO,
13194 (get): Check for null inputMap,
13195 (put): Return immediately for null keyStroke, check for null inputMap
13196 and initialize if necessary,
13197 (remove): Check for null inputMap,
13201 (allKeys): Likewise,
13202 (writeObject): Removed,
13203 (readObject): Removed.
13205 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13207 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13208 (createContent): Use different labels for buttons.
13210 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13213 * doc/vmintegration.texinfo: Likewise.
13214 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13215 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13217 * java/lang/management/ManagementFactory.java:
13218 (getMemoryPoolMXBeans()): Implemented.
13219 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13220 * vm/reference/java/lang/management/VMManagementFactory.java:
13223 2006-07-04 Lillian Angel <langel@redhat.com>
13225 * java/awt/dnd/DragSourceContext.java:
13226 Removed FIXMEs from fields.
13227 (DragSourceContext): Added code to initialize cursor and sourceActions.
13228 (getDragSource): Added documentation.
13229 (getComponent): Likewise.
13230 (getTrigger): Likewise.
13231 (getSourceActions): Added documentation and implemented.
13232 (setCursor): Implemented. Added documentation.
13233 (getCursor): Implemented. Added documentation.
13234 (dragEnter): Added code to notify DragSource's listeners.
13235 (dragOver): Likewise.
13236 (dragExit): Likewise.
13237 (dropActionChanged): Likewise.
13238 (dragDropEnd): Likewise.
13239 (dragMouseMoved): Implemented.
13240 (getTransferable): Added API documentation.
13241 (updateCurrentCursor): Added API documentation and partially implemented.
13243 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13245 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13247 2006-07-04 Lillian Angel <langel@redhat.com>
13249 * java/awt/dnd/DragSourceContext.java
13250 (DragSourceContext): Implemented fully. Fixed API docs.
13251 (transferablesFlavorsChanged): Implemented.
13252 (dragEnter): Implemented.
13253 (dragOver): Implemented.
13254 (dragExit): Implemented.
13255 (dropActionChanged): Implemented.
13256 (dragDropEnd): Implemented.
13258 2006-07-04 Lillian Angel <langel@redhat.com>
13260 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13261 Fixed name of constant.
13262 (getIconWidth): Changed name of constant returned.
13263 (getIconHeight): Likewise.
13265 (createSeparator): Marked as unimplemented.
13266 * javax/swing/plaf/basic/BasicTableUI.java
13267 (focusGained): Marked as unimplemented.
13268 (focusLost): Marked as unimplemented.
13269 (mouseEntered): Likewise.
13270 (mouseMoved): Likewise.
13271 (uninstallDefaults): Likewise.
13272 * javax/swing/plaf/basic/BasicToolBarUI.java
13273 (mouseClicked): Changed comment.
13274 (mouseEntered): Likewise.
13275 (mouseExited): Likewise.
13276 (mouseMoved): Likewise.
13277 (setOrientation): Implemented.
13278 (ToolBarFocusListener): Marked as unimplemented.
13279 (focusGained): Marked as unimplemented.
13280 (focusLost): Marked as unimplemented.
13282 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13285 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13286 Mind the effect of the root visibility on the position of the control.
13287 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13288 vertical line over first level nodes.
13290 2006-07-04 Lillian Angel <langel@redhat.com>
13292 * javax/swing/plaf/basic/BasicMenuUI.java
13293 (installKeyboardActions): Implemented to call super. Nothing else
13294 needs to be done here.
13295 (setupPostTimer): Marked as unimplemented.
13296 (uninstallKeyboardActions): Implemented to call super. Nothing else
13297 needs to be done here.
13298 (mouseMoved): Removed TODO. Nothing to be done here.
13299 (ChangeHandler): Implemented.
13300 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13301 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13302 (menuKeyReleased): Removed TODO. Nothing to be done here.
13303 (menuKeyTyped): Marked as unimplemented.
13305 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13308 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13309 (getDefaults): Set hash color to black.
13310 * javax/swing/plaf/basic/BasicLookAndFeel.java
13311 (initComponentDefaults): Set hash color to grey blue.
13312 * javax/swing/plaf/basic/BasicTreeUI.java
13313 (instellDefaults): Set hash color.
13314 * javax/swing/plaf/metal/MetalIconFactory.java
13315 (TreeControlIcon.paint): Rewritten.
13317 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13320 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13321 Always cancel the current editing session before doing anything else,
13322 return immediately if this fails.
13323 (TreeHomeAction): Ensure that the lead selection path is visible after
13324 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13325 Likewise. TreeTraverseAction: Likewise.
13327 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13330 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13331 Returned back the code to handle the start of the click-pause-click
13332 editing initiation, explained about this code.
13333 (TreeStartEditingAction): New inner class.
13334 (stopEditingInCompleteEditing): Explained about this field.
13335 (completeEditing(boolean, boolean, boolean): Only return early
13336 if there is no current editing session.
13337 (createDefaultActions): Install TreeStartEditingAction and
13338 TreeCancelEditingAction.
13340 2006-07-04 Mario Torre <neugens@limasoftware.net>
13342 * configure.ac: Added new option --enable-default-preferences-peer
13343 to pass user specified default preference backend.
13344 If the GConf peer is built, GConf become the default backend.
13345 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13347 * lib/Makefile.am: excludes files terminating in 'in' from
13348 the metafiles list.
13349 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13350 from copy into META-INF.
13351 * java/util/prefs/Preferences.java: added two new import
13352 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13353 (getFactory): Now try to check for
13354 a system defined default preference backend before to fall back on
13355 FileBasedPreference.
13357 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13360 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13361 (EXPANDED): Initialise to Boolean.TRUE.
13362 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13363 First configure layout cache and then set the assigned value
13364 as row mapper. Set the root visibility property.
13365 (toggleExpandState): Obtains expansion state from the layout cache.
13367 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13369 * java/lang/management/MemoryPoolMXBean.java:
13372 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13374 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13376 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13378 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13379 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13380 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13381 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13382 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13383 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13384 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13385 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13386 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13387 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13388 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13389 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13390 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13391 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13392 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13393 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13394 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13395 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13396 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13397 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13398 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13399 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13400 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13401 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13402 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13403 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13404 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13405 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13406 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13407 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13408 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13409 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13410 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13411 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13412 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13413 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13414 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13415 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13416 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13417 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13418 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13419 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13420 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13421 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13422 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13423 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13424 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13426 2006-07-02 Anthony Green <green@redhat.com>
13428 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13429 sure that every track written ends with an End Of Track meta
13432 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13434 * java/lang/management/MemoryUsage.java:
13435 (toString()): Fix missing MB for maximum memory usage.
13437 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13440 Updated to include VMCompilationMXBeanImpl.
13441 * doc/vmintegration.texinfo:
13442 Likewise, along with update to VMMemoryMXBeanImpl
13444 * examples/gnu/classpath/examples/management/TestCompilation.java,
13445 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13446 * java/lang/management/CompilationMXBeanImpl.java:
13448 * java/lang/management/ManagementFactory.java:
13449 (getCompilationMXBean()): Implemented.
13450 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13452 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13453 (getHeapMemoryUsage()): Added default implementation.
13455 2006-07-02 Anthony Green <green@redhat.com>
13457 * NEWS: Mention MIDI file reader/writer providers.
13459 2006-07-02 Anthony Green <green@redhat.com>
13461 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13462 gnu/javax/sound/midi/file/MidiFileWriter.java,
13463 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13465 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13468 Updated to include VMMemoryMXBeanImpl.
13469 * doc/vmintegration.texinfo: Likewise.
13470 * examples/gnu/classpath/examples/management/TestMemory.java:
13472 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13473 Remove redundant import.
13474 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13476 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13477 Remove redundant import.
13478 * java/lang/management/ManagementFactory.java:
13479 (getMemoryMXBean()): Implemented.
13480 * java/lang/management/MemoryMXBean.java,
13481 * java/lang/management/MemoryUsage.java:
13483 * java/lang/management/ThreadInfo.java:
13484 (toString()): Updated documentation.
13485 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13488 2006-07-01 Anthony Green <green@redhat.com>
13490 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13491 gnu/javax/sound/midi/file/MidiFileReader.java,
13492 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13493 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13495 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13497 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13498 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13499 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13500 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13501 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13502 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13503 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13505 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13507 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13508 * gnu/javax/crypto/pad/IPad.java: Likewise.
13509 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13510 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13511 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13512 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13513 * gnu/javax/crypto/pad/TBC.java: Likewise.
13514 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13515 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13517 2006-07-01 Anthony Green <green@redhat.com>
13519 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13521 (setMessage): Fix it again, in a different setMessage method.
13523 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13525 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13526 * gnu/javax/crypto/mode/CBC.java: Likewise.
13527 * gnu/javax/crypto/mode/CFB.java: Likewise.
13528 * gnu/javax/crypto/mode/CTR.java: Likewise.
13529 * gnu/javax/crypto/mode/EAX.java: Likewise.
13530 * gnu/javax/crypto/mode/ECB.java: Likewise.
13531 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13532 * gnu/javax/crypto/mode/ICM.java: Likewise.
13533 * gnu/javax/crypto/mode/IMode.java: Likewise.
13534 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13535 * gnu/javax/crypto/mode/OFB.java: Likewise.
13537 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13539 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13540 * gnu/javax/crypto/mac/HMac.java: Likewise.
13541 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13542 * gnu/javax/crypto/mac/IMac.java: Likewise.
13543 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13544 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13545 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13546 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13547 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13548 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13549 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13551 2006-07-01 Anthony Green <green@redhat.com>
13553 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13555 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13557 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13558 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13559 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13560 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13561 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13562 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13563 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13564 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13565 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13566 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13567 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13568 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13569 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13570 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13571 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13572 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13573 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13574 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13575 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13576 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13577 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13578 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13579 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13580 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13582 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13584 * javax/swing/AbstractCellEditor.java: Source code formatting,
13585 * javax/swing/AbstractSpinnerModel.java: Likewise,
13586 * javax/swing/Box.java: Likewise,
13587 * javax/swing/BoxLayout.java: Likewise,
13588 * javax/swing/DefaultListModel.java: Likewise,
13589 * javax/swing/GrayFilter.java: Likewise,
13590 * javax/swing/LookAndFeel.java: Likewise,
13591 * javax/swing/ProgressMonitor.java: Likewise,
13592 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13593 * javax/swing/ScrollPaneLayout.java: Likewise,
13594 * javax/swing/SpringLayout.java: Likewise,
13595 * javax/swing/event/EventListenerList.java: Likewise,
13596 * javax/swing/event/MenuEvent.java: Likewise,
13597 * javax/swing/event/TreeExpansionListener.java: Likewise.
13599 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13602 Mention threading bean and getState().
13603 * doc/vmintegration.texinfo:
13604 Update documentation for threading bean and new
13605 method of VMThread.
13607 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13609 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13610 * examples/gnu/classpath/examples/management/TestOS.java,
13611 * examples/gnu/classpath/examples/management/TestRuntime.java,
13612 * examples/gnu/classpath/examples/management/TestThread.java:
13615 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13617 * java/lang/ThreadGroup.java
13618 (getThreadFromId, getThreadFromIdImpl): New methods.
13620 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13622 * java/lang/Thread.java:
13623 Make thread IDs start from 1 in a more efficient way.
13625 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13627 * java/lang/Thread.java:
13628 Make thread IDs start from 1.
13630 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13632 * gnu/java/lang/management/BeanImpl.java:
13633 New superclass for all bean implementations.
13634 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13635 Extend BeanImpl and call permission code there.
13636 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13638 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13639 Extend BeanImpl and call permission code there.
13640 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13642 * java/lang/management/ManagementFactory.java:
13643 (getThreadMXBean()): Implemented.
13644 * java/lang/management/ThreadInfo.java:
13645 (ThreadInfo(Thread,int)): Replaced...
13646 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13647 boolean, boolean, StackTraceElement[])): with this.
13648 (getBlockedCount()): Refactored to use local variables.
13649 (getBlockedTime()): Likewise.
13650 (getLockName()): Likewise.
13651 (getLockOwnerId()): Likewise.
13652 (getLockOwnerName()): Likewise.
13653 (getStackTrace()): Likewise.
13654 (getWaitedCount()): Likewise.
13655 (getWaitedTime()): Likewise.
13656 (isInNative()): Likewise.
13657 (isSuspended()): Likewise.
13658 (toString()): Changed to use new local variables.
13659 * java/lang/management/ThreadMXBean.java:
13660 (getThreadInfo(long, int)): Corrected documentation.
13661 (getThreadInfo(long[], int)): Likewise.
13662 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13664 * vm/reference/java/lang/management/VMThreadInfo.java:
13667 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13669 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13670 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13671 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13672 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13673 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13674 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13675 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13676 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13677 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13678 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13679 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13680 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13681 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13682 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13683 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13684 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13685 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13686 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13687 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13688 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13689 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13690 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13691 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13692 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13693 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13694 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13695 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13696 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13697 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13698 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13699 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13700 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13702 2006-07-01 Roman Kennke <kennke@aicas.com>
13704 * gnu/java/awt/java2d/AbstractGraphics2D.java
13705 (transform): Make field protected.
13706 (getDestinationRaster): Provide default implementation for
13707 previously abstract method.
13709 2006-06-30 Tania Bento <tbento@redhat.com>
13711 * java/awt/TextArea.java
13712 (TextArea(String, int, int, int)): No longer throws
13713 IllegalArgumentException if rows, columns, or scrollbarVisibility
13714 values are invalid.
13715 (TextArea(String, int, int, int)): If rows or columns are < 0,
13716 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13717 gets set to the default value of 0 (SCROLLBARS_BOTH).
13718 (appendText): Added case when peer = null.
13719 (insertText): Added case when peer == null.
13720 (replaceText): Added case when peer == null.
13721 * java/awt/TextComponent.java
13722 (TextComponent(String)): If text == null, set it to "".
13724 2006-06-30 Lillian Angel <langel@redhat.com>
13726 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13727 (create): Added synchronized block around groupMap.get calls.
13728 (setCheckboxGroup): Likewise.
13730 2006-06-30 Lillian Angel <langel@redhat.com>
13732 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13733 (create): Changed to be non-synchronized.
13734 (setLabel): Likewise.
13735 (setCheckboxGroup): Likewise.
13736 (addToGroupMap): Likewise. Added synchronized block around
13738 (dispose): Changed to be non-synchronized.
13740 2006-06-30 Lillian Angel <langel@redhat.com>
13742 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13743 Changed all return values of native functions to void.
13744 (create): Changed function to be synchronized. Removed
13745 call to put value in groupMap, this is now done from
13747 (setState): Changed function to be synchronized.
13748 (setLabel): Changed function to be synchronized.
13749 (setCheckboxGroup): Changed function to be synchronized. Removed
13750 call to put value in groupMap, this is now done from
13752 (postItemEvent): Changed function to be synchronized.
13753 (addToGroupMap): New function. Called by native code to add
13754 new value to the group.
13755 (dispose): Changed function to be synchronized.
13756 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13758 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13759 (cp_gtk_checkbox_init_jni): Added code to link to
13761 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13762 Changed return value to void. Added call
13763 to java function to set pointer in groupMap.
13764 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13765 changed check to an assert. Also, removed call to set/del pointer.
13766 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13767 Likewise. Also, added check to determine if native_group should be
13769 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13771 2006-06-30 Sven de Marothy <sven@physto.se>
13773 * gnu/java/awt/ClasspathToolkit.java,
13774 * gnu/java/awt/peer/x/XToolkit.java,
13775 * gnu/java/awt/peer/qt/QtToolkit.java,
13776 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13777 Remove ClasspathTextLayoutPeer.
13778 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13779 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13782 2006-06-30 Sven de Marothy <sven@physto.se>
13784 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13785 (drawGlyphVector): Don't draw empty vectors.
13787 2006-06-30 Lillian Angel <langel@redhat.com>
13788 Tom Fitzsimmons <fitzsim@redhat.com>
13790 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13791 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13792 Added current_group, groupMap fields. Added definitions for
13793 new native functions.
13794 (create): Removed FIXME. Added code to create the check button or
13795 radio button when appropriate. Updated groupMap to contain
13796 pointer to the newly created group.
13797 (setCheckboxGroup): Added code to handle all cases. Removing
13798 a button from a group, adding a button to a group, or changing the
13800 (dispose): Changed to call super.
13801 * include/Makefile.am: Removed reference to
13802 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13803 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13804 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13806 * native/jni/gtk-peer/Makefile.am: Removed reference to
13807 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13808 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13810 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13811 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13812 Renamed to checkbox_get_widget.
13813 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13814 Changed to use checkbox_get_widget.
13815 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13817 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13818 Changed to use checkbox_get_widget.
13819 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13821 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13822 New function. Creates checkbutton without a group.
13823 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13824 Creates a radio button in a group, using groupPointer. If groupPointer
13825 is 0, then a new group is created.
13826 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13827 check button to a group, using groupPointer. A radio button is created
13828 in its place. If groupPointer is 0, then a new group is created.
13829 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13830 radio button is removed from the group. A check button is created in
13832 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13833 radio button is moved to a new group.
13835 2006-06-30 Mark Wielaard <mark@klomp.org>
13837 * configure.ac: Move standard.omit creation after dirs are created.
13838 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13839 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13840 (clean-local): Remove standard.omit.
13841 * lib/gen-classlist.sh.in: Use omit file in build dir.
13842 * lib/standard.omit.in: Make exclude regex more explicit.
13844 2006-06-30 Roman Kennke <kennke@aicas.com>
13846 * lib/Makefile.am: Added Escher dir/jar to classpath when
13848 * configure.ac: Moved handling of standard.omit to a place
13849 where it actually gets executed.
13851 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13853 * java/awt/TextComponent.java: Reformatted source code,
13854 * java/awt/TextField.java: Likewise.
13856 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13858 * java/lang/Thread.java:
13859 (getState()): Handle case of no VMThread
13862 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13864 * java/lang/Thread.java,
13865 * java/lang/VMThread.java:
13866 Reverted patch from 2006-06-28.
13868 2006-06-29 Roman Kennke <kennke@aicas.com>
13870 * gnu/java/awt/peer/x/GLGraphics.java,
13871 * gnu/java/awt/peer/x/ImageConverter.java,
13872 * gnu/java/awt/peer/x/KeyboardMapping.java,
13873 * gnu/java/awt/peer/x/XEventPump.java,
13874 * gnu/java/awt/peer/x/XFontPeer.java,
13875 * gnu/java/awt/peer/x/XFontPeer2.java,
13876 * gnu/java/awt/peer/x/XFramePeer.java,
13877 * gnu/java/awt/peer/x/XGraphics.java,
13878 * gnu/java/awt/peer/x/XGraphics2D.java,
13879 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13880 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13881 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13882 * gnu/java/awt/peer/x/XImage.java,
13883 * gnu/java/awt/peer/x/XLightweightPeer.java,
13884 * gnu/java/awt/peer/x/XToolkit.java,
13885 * gnu/java/awt/peer/x/XWindowPeer.java,
13886 * gnu/java/awt/peer/x/fonts.properties: New files.
13887 * lib/standard.omit: Removed.
13888 * lib/standard.omit.in: Added.
13889 * configure.ac: Added configure option --with-escher. Added some
13890 configury for omitting gnu.java.awt.peer.x package when
13891 this option is not specified.
13893 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13895 * javax/swing/JComponent.java
13896 (JComponent()): Initialize the locale here, not the default locale,
13897 (getDefaultLocale): If null, return Locale.getDefault(),
13898 (setDefaultLocale): Added API docs.
13900 2006-06-29 Tania Bento <tbento@redhat.com>
13902 * java/awt/Container.java
13903 (applyComponentOrientation): Implemented method.
13905 2006-06-29 Gary Benson <gbenson@redhat.com>
13907 * java/io/File.java (listRoots): Merge security checks from libgcj.
13909 2006-06-29 Gary Benson <gbenson@redhat.com>
13911 * java/io/FilePermission.java (implies): Work when path is "/".
13913 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13915 * java/lang/Thread.java:
13916 (Thread(ThreadGroup,Runnable,String,long)): Update
13918 (Thread(VMThread,String,int,boolean)): Likewise.
13919 (join(long,int)): Likewise.
13920 (resume()): Likewise.
13921 (sleep(long,int)): Likewise.
13922 (start()): Likewise.
13923 (stop()): Likewise.
13924 (suspend()): Likewise.
13926 (getState()): Return either state or use VMThread.
13927 * java/lang/VMThread.java:
13928 (getState()): Added default implementation to return
13931 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13933 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13934 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13935 endian swapping code.
13937 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13938 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13939 without alpha information correctly on big endian systems.
13941 2006-06-28 Roman Kennke <kennke@aicas.com>
13943 * gnu/java/net/local/LocalSocket.java
13944 (setSoTimeout): Don't throw exception and ignore request.
13945 (getSoTimeout): Don't throw exception and always return 0.
13947 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13949 * javax/swing/JComponent.java
13950 (getRegisteredKeyStrokes): Implemented.
13952 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13954 * javax/swing/JComponent.java
13955 (verifyInputWhenFocusTarget): Initialise to true.
13957 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13959 * java/beans/VetoableChangeSupport.java
13960 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13962 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13963 for null property name and/or listener,
13964 * javax/swing/JComponent.java
13965 (getListeners): Handle VetoableChangeListener.class as a special case,
13966 (getVetoableChangeListeners): Fetch these from the
13967 vetoableChangeSupport object.
13969 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13971 * javax/swing/JComponent.java
13972 (componentPopupMenu): New field,
13973 (inheritsPopupMenu): New field,
13974 (getInheritsPopupMenu): Implemented,
13975 (setInheritsPopupMenu): Likewise,
13976 (getComponentPopupMenu): Likewise,
13977 (setComponentPopupMenu): Likewise,
13978 * javax/swing/JLabel.java
13979 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13981 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
13983 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13984 (toString): New method.
13985 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13986 (toString): New method.
13987 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13988 (toString): New method.
13989 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13990 Handle case when Q is null.
13991 (decodePrivateKey): Likewise.
13992 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13994 (decodePublicKey): Likewise.
13995 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13996 aliases for all block ciphers.
13997 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13998 (engineDoPhase): Compute fully the shared secret.
13999 (checkState): New method.
14001 (engineGenerateSecret()): Reset key-agreement before returning.
14002 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14003 Reset key-agreement before returning.
14004 (engineGenerateSecret(String)): Reset key-agreement before returning.
14005 (engineInit(Key,SecureRandom)): Call reset() before returning.
14006 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14007 (engineInit): Replace printing to System.out with conditional logging.
14008 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14009 When the key-size is not specified, attempt best effort to find a suitable
14010 value among those advertised by the cipher before setting it to the length
14011 of provided key material.
14013 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14015 * javax/swing/table/DefaultTableColumnModel.java
14016 (changeEvent): Don't initialize yet, removed FIXME,
14017 (fireColumnModelChanged): Initialize changeEvent if necessary.
14019 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14021 * java/lang/Thread.java:
14022 (getAllStackTraces()): Implemented.
14023 (getStackTrace()): Likewise.
14025 2006-06-27 Tania Bento <tbento@redhat.com>
14027 * java/awt/Component.java
14028 (setComponentOrientation): NPE should not be thrown.
14030 2006-06-27 Tom Tromey <tromey@redhat.com>
14032 * configure.ac: Create gjar, gnative2ascii, gserialver.
14033 * tools/gappletviewer.in: Quote $@.
14034 * tools/gkeytool.in: Likewise.
14035 * tools/gjarsigner.in: Likewise.
14036 * tools/gjar.in: New file.
14037 * tools/gnative2ascii.in: Likewise.
14038 * tools/gserialver.in: Likewise.
14039 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14041 (bin_SCRIPTS): Likewise.
14043 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14045 * java/lang/management/ThreadMXBean.java:
14046 (getThreadInfo(long[])): Corrected return type.
14047 (getThreadInfo(long[], int)): Likewise.
14049 2006-06-27 Mark Wielaard <mark@klomp.org>
14051 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14052 nothing when listener is null.
14053 (removeFlavorListener): Likewise.
14055 * java/awt/datatransfer/DataFlavor.java
14056 (getRepresentationClassFromMime): Renamed to
14057 getRepresentationClassFromMimeThrows.
14058 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14059 (isRepresentationClassSerializable): Likewise.
14060 (isFlavorJavaFileListType): Likewise and check primary and
14062 (getParameter): Parameters are separated by semi-colons.
14063 (DataFlavor(Class,String,String)): Do some sanity checks.
14064 (DataFlavor(String,String,ClassLoader)): Call
14065 getRepresentationClassFromMimeThrows.
14066 (DataFlavor(String)): Likewise.
14067 (equals(DataFlavor)): Special case primary type text and charset
14070 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14072 * java/awt/Component.java
14073 (setName): Fire required PropertyChangeEvent,
14074 * java/awt/Label.java
14075 (getText): Removed redundant brackets,
14076 (generateName): New method (override),
14077 (nextLabelNumber): New field,
14078 (getUniqueLong): New method.
14080 2006-06-27 Roman Kennke <kennke@aicas.com>
14082 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14083 (createImage): Delegate this to the parent.
14084 (handleEvent): Only handle PAINT/UPDATE events when the
14085 component is actually showing.
14086 (hide): Repaint the parent after hiding a component.
14087 (prepareImage): Have only one return point.
14088 (setVisible): Delegate to show() and hide().
14089 (createVolatileImage): Added null check to avoid NPE.
14091 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14093 * java/awt/Label.java: Reformatted source code.
14095 2006-06-27 Roman Kennke <kennke@aicas.com>
14097 * java/awt/image/BufferedImage.java
14098 (getSource): Use a fixed DirectColorModel to deliver the
14099 RGB pixels to the ImageConsumer.
14101 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14103 * java/awt/Point.java
14104 (setLocation(double, double)): Round to nearest integer coordinates.
14106 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14108 * java/awt/Component.java
14109 (minSizeSet): New field,
14110 (maxSize): Likewise,
14111 (maxSizeSet): Likewise,
14112 (isMaximumSizeSet): Implemented,
14113 (isMinimumSizeSet): Likewise,
14114 (isPreferredSizeSet): Likewise,
14115 (setMaximumSize): Likewise,
14116 (setMinimumSize): Likewise,
14117 (setPreferredSize): Likewise.
14119 2006-06-27 Roman Kennke <kennke@aicas.com>
14121 * javax/imageio/spi/IIORegistry.java
14122 (IIORegistry): Added BMP codec.
14124 2006-06-27 Mark Wielaard <mark@klomp.org>
14126 * javax/swing/JComponent.java
14127 (firePropertyChange(String,char,char)): New override method.
14129 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14131 * java/lang/Thread.java:
14132 (getState()): New method.
14133 * java/lang/management/ClassLoadingMXBean.java:
14134 Corrected class documentation.
14135 * java/lang/management/ManagementFactory.java:
14136 Added new temporary marked stub to get thread bean.
14137 * java/lang/management/OperatingSystemMXBean.java:
14138 Corrected class documentation.
14139 * java/lang/management/RuntimeMXBean.java:
14140 Corrected class documentation.
14141 * java/lang/management/ThreadInfo.java,
14142 * java/lang/management/ThreadMXBean.java:
14144 * vm/reference/java/lang/VMThread.java:
14145 (getState()): New method.
14146 * vm/reference/java/lang/management/VMThreadInfo.java:
14149 2006-06-26 Sven de Marothy <sven@physto.se>
14151 * gnu/javax/imageio/gif/GIFFile.java
14152 * gnu/javax/imageio/gif/GIFImageReader.java
14153 * gnu/javax/imageio/gif/GIFImageSpi.java
14154 * gnu/javax/imageio/gif/GIFStream.java
14156 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14158 2006-06-26 Tania Bento <tbento@redhat.com>
14160 * java/awt/List.java
14161 (List): A list should have at least 4 visible rows.
14162 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14163 not an IllegalArgumentException.
14164 (makeVisible): Should not throw an IllegalArgumentException if
14165 the specified index is out of range.
14167 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14169 * javax/swing/JList.java
14170 (getNextMatch): Reimplemented to perform a circular search for the
14173 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14175 * javax/swing/JList.java
14176 (init): Set default value for visibleRowCount to 8,
14177 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14179 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14181 * javax/swing/JList.java
14182 (valueIsAdjusting): Removed,
14183 (init): Removed initialization of valueIsAdjusting field,
14184 (getValueIsAdjusting): Fetch value from selection model,
14185 (setValueIsAdjusting): Store value in selection model.
14187 2006-06-26 Roman Kennke <kennke@aicas.com>
14189 * javax/swing/plaf/basic/BasicListUI.java
14190 (installKeyboardActions): Rewritten to fit with the
14191 ActionMap/InputMap architecture.
14192 (uninstallKeyboardActions): Implemented.
14193 (ListAction): Made private. Added TODO for splitting
14194 up this bulk Action.
14195 (ListAction.ListAction): New constructor. This one
14196 takes a cmd parameter to be installed as actionCommand.
14198 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14200 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14201 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14203 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14205 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14206 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14207 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14208 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14209 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14210 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14211 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14212 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14213 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14214 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14215 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14216 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14217 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14218 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14219 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14220 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14221 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14222 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14223 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14224 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14225 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14226 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14227 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14228 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14229 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14230 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14231 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14232 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14233 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14234 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14235 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14236 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14237 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14238 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14239 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14240 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14241 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14242 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14243 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14244 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14245 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14246 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14247 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14248 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14249 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14250 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14251 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14252 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14253 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14254 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14255 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14256 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14257 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14258 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14259 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14260 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14261 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14262 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14263 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14264 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14265 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14266 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14267 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14268 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14269 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14270 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14271 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14272 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14273 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14274 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14275 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14276 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14277 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14278 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14279 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14280 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14281 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14282 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14283 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14284 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14285 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14286 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14288 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14290 * javax/swing/JList.java
14291 (setLayoutOrientation): Check for valid argument.
14293 2006-06-26 Roman Kennke <kennke@aicas.com>
14295 * javax/swing/JComponent.java
14296 (firePropertyChange(String,int,int)): New method. Overrides
14297 Component method and makes it public.
14298 (firePropertyChange(String,boolean,boolean)): Likewise.
14300 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14302 * gnu/java/security/.cvsignore: New File.
14303 * gnu/java/security/Configuration.java.in: New File.
14304 * gnu/java/security/Properties.java: Change import from
14305 gnu.classpath.Configuration to gnu.java.security.Configuration.
14306 * gnu/java/security/hash/Whirlpool.java: Likewise.
14307 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14308 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14309 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14310 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14311 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14312 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14313 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14314 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14315 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14316 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14317 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14318 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14319 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14320 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14321 * gnu/java/security/util/Base64.java: Likewise.
14322 * gnu/java/security/x509/X509CRL.java: Likewise.
14323 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14324 * gnu/java/security/x509/ext/Extension.java: Likewise.
14325 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14326 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14327 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14328 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14329 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14330 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14331 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14332 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14333 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14334 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14335 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14336 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14337 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14338 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14339 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14340 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14341 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14342 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14343 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14344 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14345 * gnu/javax/crypto/pad/TBC.java: Likewise.
14346 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14347 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14348 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14349 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14350 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14351 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14352 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14353 * gnu/javax/security/auth/login/GnuConfiguration.java
14354 (getAppConfigurationEntry): Change reference to
14355 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14356 (getConfigFromUserHome): Likewise.
14357 (getInputStreamFromURL): Likewise.
14358 (getUserHome): Likewise.
14360 (processSecurityProperties): Likewise.
14361 (processSystemProperty): Likewise.
14362 (processUserHome): Likewise.
14363 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14364 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14367 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14369 * javax/swing/text/DefaultCaret.java (isActive): New method.
14371 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14373 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14374 * java/lang/management/ClassLoadingMXBean.java:
14375 (getTotalLoadedClassCount()): Corrected return type.
14376 (getUnloadedClassCount()): Likewise.
14377 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14378 (getUnloadedClassCount()): Likewise.
14380 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14382 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14383 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14384 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14385 * gnu/javax/crypto/cipher/Square.java: Likewise.
14386 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14387 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14388 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14389 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14390 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14391 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14392 * gnu/javax/crypto/cipher/DES.java: Likewise.
14393 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14394 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14395 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14396 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14397 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14399 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14401 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14402 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14403 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14404 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14405 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14406 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14407 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14408 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14409 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14410 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14411 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14412 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14413 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14415 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14418 * doc/vmintegration.texinfo:
14419 Updated with information on new VM interface.
14420 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14421 * java/lang/management/ClassLoadingMXBean.java:
14422 New files implementing the class loading bean.
14423 * java/lang/management/ManagementFactory.java:
14424 (getClassLoadingMXBean()): Implemented.
14425 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14426 New VM interface file.
14428 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14430 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14431 (isBootClassPathSupported()): Use SystemProperties
14432 rather than System.getProperty.
14434 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14436 * gnu/java/security/Properties.java: Source formatting.
14437 * gnu/java/security/Registry.java: Likewise.
14439 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14441 * gnu/java/security/util/Util.java: Source formatting.
14442 * gnu/java/security/util/SimpleList.java: Likewise.
14443 * gnu/java/security/util/Sequence.java: Likewise.
14444 * gnu/java/security/util/PRNG.java: Likewise.
14445 * gnu/java/security/util/ExpirableObject.java: Likewise.
14446 * gnu/java/security/util/Base64.java: Likewise.
14447 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14448 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14449 * gnu/java/security/sig/ISignature.java: Likewise.
14450 * gnu/java/security/sig/BaseSignature.java: Likewise.
14451 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14452 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14453 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14454 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14455 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14456 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14457 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14458 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14459 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14460 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14461 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14462 * gnu/java/security/provider/Gnu.java: Likewise.
14463 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14464 * gnu/java/security/prng/RandomEvent.java: Likewise.
14465 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14466 * gnu/java/security/prng/MDGenerator.java: Likewise.
14467 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14468 * gnu/java/security/prng/IRandom.java: Likewise.
14469 * gnu/java/security/prng/EntropySource.java: Likewise.
14470 * gnu/java/security/prng/BasePRNG.java: Likewise.
14472 2006-06-23 Francis Kung <fkung@redhat.com>
14474 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14475 (Harness.actionPerformed): Process additional options.
14476 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14477 (J2dBenchmarkWrapper.setAlias): New method.
14478 (J2dBenchmarkWrapper.setComposite): New method.
14479 (J2dBenchmarkWrapper.setFill): New method.
14480 (J2dBenchmarkWrapper.setRotation): New method.
14481 (J2dBenchmarkWrapper.setShear): New method.
14482 (J2dBenchmarkWrapper.setStroke): New method.
14483 (J2dBenchmarkWrapper.setTranslation): New method.
14484 (run): Add additional options to GUI.
14485 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14486 Added protected fields for various options.
14487 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14488 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14489 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14490 (getNextColor): Renamed to setRandom.
14491 (init): Load additional image for texturing if needed.
14492 (loadBufferedImage): New method.
14493 (main): Accept additional command-line switches.
14494 (prepareGraphics): New method.
14495 (resetGraphics): New method.
14496 (runTestSuite): Accept additional image-processing options.
14497 (setRandom): Renamed from getNextColor; generate various random options
14498 (test_drawArc): Rename getNextColor to setRandom.
14499 (test_drawCubic): Likewise.
14500 (test_drawEllipse): Likewise.
14501 (test_drawGeneralPath): Likewise.
14502 (test_drawImage): Likewise.
14503 (test_drawLine): Likewise.
14504 (test_drawQuadCurve): Likewise.
14505 (test_drawRectangle): Likewise.
14506 (test_drawRoundRectangle): Likewise.
14507 (test_drawTransparentImage): Likewise.
14508 (test_fillArc): Rename getNextColor to setRandom.
14509 (test_fillEllipse): Likewise.
14510 (test_fillGeneralPath): Likewise.
14511 (test_fillRectangle): Likewise.
14512 (test_fillRoundRectangle): Likewise.
14513 (TestRecorder.getAverage): Round the average time.
14515 2006-06-23 Tom Tromey <tromey@redhat.com>
14517 * java/util/logging/LoggingMXBean.java: New file.
14518 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14519 (loggingBean): New field.
14520 (getLoggingMXBean): New method.
14522 2006-06-23 Tania Bento <tbento@redhat.com>
14524 * java/awt/TextField.java
14525 (TextField): Default number of columns should be 0, not 1.
14526 (TextField): Check if number of columns given as argument
14527 is valid (>= 0) and set the number of columns accordingly.
14528 (TextField): Check if the string passed is null. If it is,
14529 set columns to 0, else columns is set to the length of
14532 2006-06-23 Roman Kennke <kennke@aicas.com>
14534 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14535 (InternalFramePropertyChangeListener.propertyChange):
14536 Don't call getPropertyName() repeatedly. Added null checks
14537 to avoid NPEs. Call closeFrame() if the closed property
14540 2006-06-23 Roman Kennke <kennke@aicas.com>
14542 * javax/swing/JInternalFrame.java
14543 (maxTransition): Removed.
14544 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14545 Don't initialize storedBounds here.
14546 (dipose): Rewritten to correctly dispose the JInternalFrame.
14547 (getDesktopIcon): Don't initialize desktopIcon here.
14548 (getLayer): Delegate to JLayeredPane.getLayer().
14549 (getNormalBounds): Return bounds when storedBounds == null,
14550 otherwise storedBounds.
14551 (hide): Don't change selection. Also hide the desktopIcon.
14552 (moveToBack): Call getParent() only once.
14553 (moveToFront): Call getParent() only once.
14554 (pack): Call validate() to make sure that the layout is
14555 propagated to the children.
14556 (setClosed): Fire InternalFrameEvent first, before the
14558 (setJMenuBar): Fire PropertyChangeEvent for this property.
14559 (setLayer): Delegate to JLayeredPane.
14560 (setLayeredPane): Check for null and throw IllegalArgumenException.
14561 (setMaximum): Remove handling of maxTransition and normalBounds.
14562 Should probably be done in the UI.
14563 (setNormalBounds): Store Rectangle object directly, not a copy.
14564 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14565 adding the RootPane doesn't add it to the contentPane.
14566 Fire PropertyChangeEvent.
14567 (setSelected): Added condition for when this property must not
14569 (show): Don't ask the DesktopPane to select the frame. Moved
14570 code around to fire InternalFrameEvent before actually calling
14571 super.show(). Also make the desktopIcon visible.
14572 (setTitle): Fire PropertyChangeEvent unconditionally.
14574 2006-06-23 Roman Kennke <kennke@aicas.com>
14576 * javax/swing/JLayeredPane.java
14577 (getPosition): Moved code around to avoid unnecessary method calls.
14578 (setPosition): Delegate to setLayer().
14579 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14580 (insertIndexForLayer(Component,int,int)): New helper method
14581 to support the use of setComponentZOrder() which doesn't remove
14582 the component and thus the insertIndexForLayer must ignore
14583 the component to be moved to get the index right.
14584 (setLayer): Added check to prevent unnecessary execution of
14585 method body. Changed to update the component order here.
14586 Added repaint() to make sure that the update becomes visible.
14587 (addImpl): Call setLayer() only when a constraint has been specified.
14588 Validate and repaint the JLayeredPane.
14590 2006-06-23 Roman Kennke <kennke@aicas.com>
14592 * java/awt/Container.java
14593 (getComponentZOrder): Use ncomponents instead of
14594 component.length so that we don't consider the empty space
14595 after the last component.
14597 2006-06-22 Roman Kennke <kennke@aicas.com>
14599 * javax/swing/JComponent.java
14600 (vetoableChangeSupport): New field.
14601 (removeVetoableChangeListener): Rewritten to use
14602 vetoableChangeSupport.
14603 (addVetoableChangeListener): Rewritten to use
14604 vetoableChangeSupport.
14605 (fireVetoableChange): Rewritten to use
14606 vetoableChangeSupport.
14607 (addPropertyChangeListener): Removed. This is handled in
14609 (firePropertyChange(String,boolean,boolean)): Likewise.
14610 (firePropertyChange(String,char,char)): Likewise.
14611 (firePropertyChange(String,int,int)): Likewise.
14612 (revalidate): Don't do anything when the commponent has no
14615 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14617 * javax/swing/JLabel.java: Updated API docs.
14619 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14621 * java/awt/Insets.java: Updated copyright year.
14622 (toString): Changed string, removed a line from the
14625 2006-06-22 Roman Kennke <kennke@aicas.com>
14627 * javax/swing/text/AbstractDocument.java
14628 (AbstractDocument): Set the i18n document property.
14629 (removeImpl): Added checks for correct boundaries.
14631 2006-06-22 Roman Kennke <kennke@aicas.com>
14633 * javax/swing/text/PlainDocument.java
14634 (rootElement): Changed type to Element.
14635 (tabSize): Removed field. This is stored in the document properties
14637 (PlainDocument): Set tabSize property. Init rootElement without
14639 (insertUpdate): Rewritten. The previous implementation did not
14640 handle some corner cases properly and was a mess.
14641 (removeUpdate): Cast rootElement to BranchElement.
14643 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14645 * javax/swing/plaf/basic/BasicLabelUI.java
14646 (installKeyboardActions): Implemented,
14647 (uninstallKeyboardActions): Implemented,
14648 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14651 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14653 * javax/swing/JMenu.java:
14654 (removeAll): Added check for popupMenu not being null.
14656 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14658 * javax/swing/JLabel.java
14659 (getText): Updated API docs,
14660 (setText): Corrected the check for an unchanged value, and the update
14661 of the displayedMnemonicIndex.
14663 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14665 * javax/swing/JLabel.java
14666 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14668 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14669 where label text is null.
14671 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14673 * javax/swing/JLabel.java
14674 (setDisplayedMnemonic): Updated API docs,
14675 (getDisplayedMnemonic): Removed unnecessary type-cast,
14676 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14677 (getDisplayedMnemonicIndex): Updated API docs.
14679 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14681 * java/util/Collections (entrySet): Fixed compile error.
14683 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14685 * javax/swing/DefaultListSelectionModel.java
14686 (getSelectionMode): Updated API docs,
14687 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14688 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14689 setSelectionInterval(),
14690 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14691 SINGLE_INTERVAL_SELECTION cases.
14693 2006-06-21 Roman Kennke <kennke@aicas.com>
14695 * javax/swing/text/AbstractDocument.java
14696 (BranchElement.numChildren): New field.
14697 (BranchElement.BranchElement): Initialize children array with
14698 one element (that's the least number of elements that makes sense).
14699 Initialize numChildren.
14700 (BranchElement.children): Use numChildren as boundary.
14701 (BranchElement.getElement): Use numChildren as boundary.
14702 (BranchElement.getElementCount): Use numChildren as boundary.
14703 (BranchElement.getElementIndex): Use numChildren as boundary.
14704 (BranchElement.getEndOffset): Use numChildren as boundary.
14705 (BranchElement.getStartOffset): Use numChildren as boundary.
14706 (BranchElement.positionToElement): Use numChildren as boundary.
14707 (BranchElement.replace): Handle the children array more efficiently
14708 by growing in blocks > 1, and reusing space from removed elements.
14709 (LeafElement.startDelta): Removed.
14710 (LeafElement.endDelta): Removed.
14711 (LeafElement.LeafElement): Removed handling of deltas.
14712 (LeafElement.getEndOffset): Likewise.
14713 (LeafElement.getStartOffset): Likewise.
14714 * javax/swing/text/JTextComponent.java
14715 (setDocument): Added locking of the old document to avoid dangling
14716 notification beeing delivered while the document is beeing
14718 (getScrollableTracksViewportWidth): Fixed condition.
14719 * javax/swing/text/PlainDocument.java
14720 (createDefaultRoot): Create elements without AttributeSet.
14721 * javax/swing/text/rtf/RTFParser.java
14722 (parseFile): Handle slightly incorrect RTF gracefully.
14723 * javax/swing/text/rtf/RTFScanner.java
14724 (lastToken): New field.
14725 (readTokenImpl): New method.
14726 (peekToken): New method.
14727 (readToken): Changed to call readTokenImpl or return the lastToken
14728 if there's one present.
14730 2006-06-21 Tania Bento <tbento@redhat.com>
14732 * javax/swing/JMenu.java
14733 (remove): An IllegalArgumentException should be thrown if
14734 either index < 0 or if index > 0 and there are no menu
14735 components. Also, a check was added that ensures there are
14736 menu components before removing the desired the component.
14738 2006-06-21 Lillian Angel <langel@redhat.com>
14740 * javax/swing/text/DefaultCaret.java
14741 (install): Added check to prevent NPE.
14742 (propertyChange): Added checks to prevent NPEs.
14744 2006-06-21 Tania Bento <tbento@redhat.com>
14746 * javax/swing/JMenu.java
14747 Changed instantiation of popupMenu to null.
14748 (JMenu): Instantiated popupMenu to new JPopupMenu.
14749 (JMenu): Instantiated popupMenu to new JPopupMenu.
14750 (add): Changed popupMenu to getPopupMenu().
14751 (add): Changed popupMenu to getPopupMenu().
14752 (add): Changed popupMenu to getPopupMenu().
14753 (add): Changed popupMenu to getPopupMenu().
14754 (remove): Changed popupMenu to getPopupMenu().
14755 (remove): Changed popupMenu to getPopupMenu().
14756 (insert): Changed popupMenu to getPopupMenu().
14757 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14758 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14759 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14760 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14761 (getMenuComponents): Changed popupMenu to getPopupMenu().
14762 (getPopupMenu): Check first if popupMenu is null and if so,
14763 instantiate it to a new JPopupMenu and set the invoker.
14764 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14765 (popupMenuWillBecomeVisible): Component Listener should only
14766 be added to the root container if the root container is not
14767 null. This avoids a null pointer exception.
14769 2006-06-21 Tania Bento <tbento@redhat.com>
14771 * javax/swing/JMenu.java
14772 (JMenu): Delay should be set to 200, not default of 0.
14773 (JMenu): Delay should be set to 200, not default of 0.
14774 (JMenu): Delay should be set to 200, not default of 0.
14775 (JMenu): Delay should be set to 200, not default of 0.
14776 (remove): Added check that index >= 0 before removing
14778 (getItem): Return null if item count equals 0.
14779 (isTearOff): Should throw new error and not return false.
14780 (getMenuComponent): Return null if popupMenu is null or
14781 if there are no menu components.
14783 2006-06-21 Roman Kennke <kennke@aicas.com>
14785 * java/awt/font/FontRenderContext.java:
14786 (equals): Added special conditions for affineTransform beeing
14789 2006-06-21 Roman Kennke <kennke@aicas.com>
14791 * javax/swing/UIManager.java
14792 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14793 must not be cleared.
14795 2006-06-21 Roman Kennke <kennke@aicas.com>
14797 * javax/swing/plaf/metal/MetalUtils.java
14798 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14799 Graphics2D is available. Use fillRect instead of drawLine, this
14801 (paintVerticalGradient): Use paintHorizontalGradient2D when
14802 Graphics2D is available. Use fillRect instead of drawLine, this
14804 (paintHorizontalGradient2D): New method. Paints gradient
14805 using Graphics2D functions.
14806 (paintVerticalGradient2D): New method. Paints gradient
14807 using Graphics2D functions.
14809 2006-06-21 Roman Kennke <kennke@aicas.com>
14811 * javax/swing/plaf/basic/BasicButtonListener.java
14812 (propertyChange): Create a TextLayout and store it in the button
14813 when the 'text' property changes.
14814 * javax/swing/plaf/basic/BasicButtonUI.java
14815 (paintText): Call BasicGraphicsUtils utility method for
14816 drawing strings, instead of Graphics.drawString().
14817 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14818 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14819 cached text layouts as client properties in JComponents.
14820 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14821 (drawStringUnderlineCharAt): New helper method.
14822 * javax/swing/plaf/basic/BasicMenuItemUI.java
14823 (PropertyChangeHandler.propertyChange): Update cached text layout
14824 when 'text' property changes. Use equals() instead of == for
14826 (paintText): Use new BasicGraphicsUtils methods for painting
14827 the cached text layout.
14828 (installListeners): Call super.installListeners() and remove
14829 the unneeded listener installs.
14830 (uninstallListeners): Call super.uninstallListeners() and remove
14831 the unneeded listener uninstalls.
14833 2006-06-21 Roman Kennke <kennke@aicas.com>
14835 * javax/swing/plaf/basic/BasicTextUI.java
14836 (PropertyChangeHandler.propertyChange): Handle document listener
14838 (background): Removed unneeded fields.
14839 (inactiveBackground): Remove unneeded fields.
14840 (installUI): Install the document listener. Slightly changed
14841 order of operations. Don't trigger modelChanged().
14842 (installDefaults): Only install properties when the
14843 current properties are null or instances of UIResource.
14844 (installListeners): Removed unnecessary listener installs.
14845 (installDocumentListeners): Removed unneeded method.
14846 (uninstallListeners): Removed unnecessary listener uninstalls.
14847 (modelChanged): Removed call to installDocumentListeners().
14848 * javax/swing/plaf/basic/BasicTextFieldUI.java
14849 (propertyChange): Update the colors by fetching them from
14850 SharedUIDefaults. Fixed conditions.
14851 * javax/swing/plaf/basic/SharedUIDefaults.java
14852 (getColor): New method.
14854 2006-06-21 Roman Kennke <kennke@aicas.com>
14856 * javax/swing/SizeSequence.java
14857 (SizeSequence): Initialize array with correct number of entries.
14859 2006-06-21 Roman Kennke <kennke@aicas.com>
14861 * javax/swing/JSplitPane.java
14862 (setDividerLocation): Substract divider size when computing
14865 2006-06-21 Roman Kennke <kennke@aicas.com>
14867 * javax/swing/JComponent.java
14868 (paintChildrenWithOverlap): Determine opaque property by
14869 calling the corresponding Component method, without requiring
14871 (paintChildrenOptimized): Removed old unneeded code.
14872 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14873 method instead of SwingUtilities.convertRectangle(). This is
14876 2006-06-21 Roman Kennke <kennke@aicas.com>
14878 * javax/swing/AbstractButton.java
14879 (init): Call setText() instead of setting the property directly,
14880 so that listeners (especially in the UI) get notified.
14882 2006-06-21 Roman Kennke <kennke@aicas.com>
14884 * javax/swing/UIManager.java
14885 (MultiplexUIDefaults): New inner class.
14886 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14887 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14888 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14889 directly. Print stacktrace if something goes wrong.
14890 (get): Delegate call to currentUIDefaults.
14891 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14893 (getUI): Delegate call to currentUIDefaults.
14894 (put): Delegate call to currentUIDefaults.
14895 (setLookAndFeel): Initialize currentUIDefaults with
14896 MultiplexUIDefaults. Set lookAndFeelDefaults.
14897 (setLookAndFeel): Use current thread's context classloader for
14900 2006-06-21 Roman Kennke <kennke@aicas.com>
14902 * javax/swing/text/GapContent.java
14903 (GapContentPosition.GapContentPosition): Replace
14904 Collections.binarySearch with call to local search() to make
14905 sure we find the first object that equals the searched object.
14906 (setPositionsInRange): Likewise.
14907 (adjustPositionsInRange): Likewise.
14908 (search): New helper method.
14910 2006-06-21 Gary Benson <gbenson@redhat.com>
14912 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14913 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14914 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14916 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14918 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14919 APPLETVIEWER_EXECUTABLE to gappletviewer.
14921 2006-06-20 Tom Tromey <tromey@redhat.com>
14923 PR classpath/28095:
14924 * java/net/URL.java (URL): Throw MalformedURLException if a
14925 RuntimeException is caught. Chain exceptions.
14927 2006-06-20 Lillian Angel <langel@redhat.com>
14929 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14930 (create): Added check to prevent Seg Fault. Should not
14931 set the label if it is null.
14932 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14933 (setText): Changed to be a non-native function. Calls
14934 setNativeText if the String parameter is non-null.
14935 (setNativeText): Replaces old native setText function.
14936 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14937 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14938 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14939 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14940 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14941 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14943 2006-06-20 Lillian Angel <langel@redhat.com>
14945 * javax/swing/text/JTextComponent.java
14946 (AccessibleJTextComponent): Rewrote all javadocs
14947 for this inner class.
14949 2006-06-20 Francis Kung <fkung@redhat.com>
14951 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14952 Changed many members to be protected.
14953 (J2dBenchmark): moved to init() instead.
14954 (init): New method.
14955 (main): Call init() after creating object
14956 (testComplete): New method.
14957 (test_drawArc): Use maxTests varialbe instead of constant.
14958 (test_drawCubicCurve): Likewise.
14959 (test_drawEllipse): Likewise.
14960 (test_drawGeneralPath): Likewise.
14961 (test_drawImage): Likewise.
14962 (test_drawLine): Likewise.
14963 (test_drawQuadCurve): Likewise.
14964 (test_drawRectangle): Likewise.
14965 (test_drawRoundRectangle): Likewise.
14966 (test_drawTransparentImage): Likewise.
14967 (test_fillArc): Likewise.
14968 (test_fillEllipse): Likewise.
14969 (test_fillGeneralPath): Likewise.
14970 (test_fillRectangle): Likewise.
14971 (test_fillRoundRectangle): Likewise.
14972 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14973 (GraphicsTest.runSetWithClipping): Likewise.
14974 (GraphicsTest.runSetZeroClipping): Likewise.
14975 (GraphicsTest.run): Added checks for more option flags.
14976 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14979 2006-06-20 Roman Kennke <kennke@aicas.com>
14981 * javax/swing/text/GapContent.java
14982 (GapContentPosition.mark): New field.
14983 (GapContentPosition.index): Removed.
14984 (GapContentPosition.GapContentPosition): Changed to take the
14985 real offset as parameter. Added handling of reference counter.
14986 Try to cleanup before creating new instances.
14987 (getOffset): Delegate to the Mark method with same name.
14988 (Mark): New class, encapsulating a mark.
14989 (positionMarks): Removed field.
14990 (numMarks): Removed field.
14991 (marks): New field.
14992 (queueOfDeath): New field.
14993 (GapContent): Removed init of old fields, added init of new fields.
14994 (createPosition): Added check for validity of arguments.
14995 Create GapContentPosition directly with offset.
14996 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14997 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14998 (shiftGapStartDown): Call resetMarksAtZero().
14999 (shiftGapEndUp): Call resetMarksAtZero().
15000 (replace): Don't call resetMarksAtZero().
15001 (setPositionInRange): Replaced by simpler algorithm, similar to
15002 adjustPositionsInRange.
15003 (adjustPositionsInRange): Adapted to use of Mark objects.
15004 (resetMarksAtZero): Reset all marks that point to zero instead
15005 of only the first one.
15006 (dumpMarks): Adjusted to dump Mark objects.
15007 (insertMark): Removed.
15008 (garbageCollect): New method. Cleans up the marks list.
15009 (binarySearch): Removed.
15011 2006-06-20 Lillian Angel <langel@redhat.com>
15013 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15014 (drawImage): Added call to updateColor because
15015 Cairo seems to lose the current color.
15017 2006-06-20 Gary Benson <gbenson@redhat.com>
15019 * java/awt/Toolkit.java: Add security check.
15020 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15021 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15023 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15025 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15026 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15027 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15028 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15029 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15030 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15031 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15032 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15033 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15034 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15035 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15036 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15037 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15038 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15039 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15040 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15041 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15042 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15043 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15045 2006-06-19 Lillian Angel <langel@redhat.com>
15047 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15048 (drawImage): Should always use getRGB to get the pixels.
15049 getData returns an incorrect array of pixels.
15051 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15053 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15054 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15055 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15056 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15057 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15058 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15059 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15060 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15061 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15062 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15063 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15064 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15065 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15066 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15067 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15068 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15069 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15070 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15071 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15072 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15073 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15074 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15075 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15076 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15077 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15078 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15079 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15080 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15081 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15082 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15083 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15084 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15085 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15086 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15087 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15088 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15090 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15092 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15094 2006-06-19 Roman Kennke <kennke@aicas.com>
15096 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15097 (drawImage): Clip volatile image correctly.
15098 (drawVolatileImage): Added arguments for clipping.
15099 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15100 (drawVolatileImage): Added arguments for clipping. Clip image
15102 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15104 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15107 * java/rmi/server/UID.java (constructor): Synchronized
15108 the whole constructor on the UID class.
15110 2006-06-19 Roman Kennke <kennke@aicas.com>
15112 * javax/swing/RepaintManager.java
15113 (addInvalidComponent): Only add component that are displayable,
15114 that have displayable parents and that have a validateRoot.
15115 Also, don't validate components that have a CellRendererPane
15118 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15120 * javax/swing/plaf/IconUIResource.java
15121 (IconUIResource): Throw IllegalArgumentException for null icon.
15123 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15126 * java/rmi/server/UID.java (constructor): First increment
15127 uidCounter, and then use the value.
15129 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15131 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15132 * java/awt/GridBagConstraints.java: Indent.
15134 2006-06-18 Tom Tromey <tromey@redhat.com>
15136 * native/jni/gconf-peer/.cvsignore: New file.
15138 2006-06-18 Tom Tromey <tromey@redhat.com>
15140 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15141 Also handle short options.
15143 2006-06-18 Jim Huang <jserv@kaffe.org>
15145 PR classpath/28076:
15146 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15149 2006-06-19 Mark Wielaard <mark@klomp.org>
15151 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15152 on gnu/java/util/prefs/gconf/%.class.
15153 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15154 chache typo, should be cache.
15155 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15157 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15159 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15160 Don't return a value for void function.
15161 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15163 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15164 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15166 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15167 Mark clazz ad unused.
15169 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15171 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15172 * gnu/java/security/hash/Tiger.java: Likewise.
15173 * gnu/java/security/hash/Sha512.java: Likewise.
15174 * gnu/java/security/hash/Sha384.java: Likewise.
15175 * gnu/java/security/hash/Sha256.java: Likewise.
15176 * gnu/java/security/hash/Sha160.java: Likewise.
15177 * gnu/java/security/hash/RipeMD160.java: Likewise.
15178 * gnu/java/security/hash/RipeMD128.java: Likewise.
15179 * gnu/java/security/hash/MD5.java: Likewise.
15180 * gnu/java/security/hash/MD4.java: Likewise.
15181 * gnu/java/security/hash/MD2.java: Likewise.
15182 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15183 * gnu/java/security/hash/Haval.java: Likewise.
15184 * gnu/java/security/hash/HashFactory.java: Likewise.
15185 * gnu/java/security/hash/BaseHash.java: Likewise.
15187 2006-06-18 Sven de Marothy <sven@physto.se>
15189 * java/awt/event/KeyEvent.java:
15190 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15191 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15192 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15194 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15196 * gnu/java/security/util/Prime2.java: Removed.
15197 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15198 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15199 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15200 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15201 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15202 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15203 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15204 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15205 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15206 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15207 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15208 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15210 2006-06-18 Sven de Marothy <sven@physto.se>
15212 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15213 * java/awt/font/TextMeasurer.java: Fix copyright date,
15214 remove commented-out code.
15216 2006-06-18 Sven de Marothy <sven@physto.se>
15218 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15219 (FreetypeGlyphVector, clone): Implement cloning.
15220 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15221 * java/awt/font/TextMeasurer.java: Implement.
15222 * java/awt/font/LineBreakMeasurer.java:
15223 Reimplement to use TextMeasurer.
15224 * java/awt/font/TextLayout.java
15226 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15227 (getText, getFont): New private static methods.
15228 (setCharIndices): New method.
15229 * java/text/AttributedString.java
15230 (AttributedString): Fix constructor to stop at end point.
15232 2006-06-17 Tom Tromey <tromey@redhat.com>
15234 * lib/gen-classlist.sh.in: Search all top-level directories, not
15235 just 'org', in external.
15237 2006-06-12 Mario torre <neugens at limasoftware.net>
15239 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15240 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15241 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15242 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15244 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15245 * configure.ac: update to introduce new files. Added options
15246 to build gconf native peer used by the GConf preference backend.
15247 * include/Makefile.am: update to introduce new files.
15248 * native/jni/Makefile.am update to introduce new files.
15249 * scripts/check_jni_methods.sh: added three new ignored file
15251 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15252 build gconf-peer shared library.
15254 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15256 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15257 Use Integer.valueOf() instead of new Integer().
15258 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15259 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15260 * gnu/java/security/util/Sequence.java: Likewise.
15261 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15262 * gnu/java/security/x509/X509Certificate.java: Likewise.
15263 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15264 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15265 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15266 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15267 * gnu/javax/crypto/cipher/DES.java: Likewise.
15268 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15269 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15270 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15271 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15272 * gnu/javax/crypto/cipher/Square.java: Likewise.
15273 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15274 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15275 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15276 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15277 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15278 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15279 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15280 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15281 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15282 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15283 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15284 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15285 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15286 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15287 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15288 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15289 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15290 * gnu/javax/crypto/mode/EAX.java: Likewise.
15291 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15292 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15293 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15294 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15295 * java/security/cert/X509CertSelector.java: Likewise.
15297 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15299 * javax/management/DynamicMBean.java:
15300 (setAttribute): Fixed to return void.
15301 * javax/management/MBeanFeatureInfo.java:
15304 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15306 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15307 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15308 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15309 into engineInitHandler and reuse the code in
15310 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15311 (engineInitHandler): New method.
15312 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15313 null, use random or default information when possible.
15315 2006-06-16 Francis Kung <fkung@redhat.com>
15317 * examples/gnu/classpath/examples/swing/Demo.java:
15318 (mkButtonBar): Rename FillRect to JNIOverhead.
15319 (mkMenuBar): Rename FillRect to JNIOverhead.
15320 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15321 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15322 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15323 Moved from old FillRect.
15325 2006-06-16 Tom Tromey <tromey@redhat.com>
15327 * tools/.cvsignore: Added new tool names.
15329 2006-06-16 Keith Seitz <keiths@redhat.com>
15331 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15332 instantiation so that EventManager is created when getDefault
15334 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15337 2006-06-16 Keith Seitz <keiths@redhat.com>
15339 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15340 (_initCount): New field.
15341 (Jdwp): Don't set isDebugging until fully initialized.
15342 (subcomponentInitialized): New method.
15343 (run): Wait for PacketProcessor and JdwpConnection to
15344 startup, then set isDebugging, and then let this thread
15346 * gnu/classpath/jdwp/transport/JdwpConnection.java
15347 (run): Add synchronization notification.
15348 * gnu/classpath/jdwp/processor/PacketProcessor.java
15351 2006-06-16 Tom Tromey <tromey@redhat.com>
15353 * NEWS: Updated for JSR 166.
15355 2006-06-16 Tom Tromey <tromey@redhat.com>
15357 * lib/Makefile.am (compile_classpath): Added jsr166.
15358 * configure.ac: Added external/jsr166/Makefile.
15359 * external/Makefile.am (SUBDIRS): Added jsr166.
15360 * external/jsr166/Makefile.am: New file.
15361 * lib/gen-classlist.sh.in: Look in external/jsr166.
15363 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15365 * gnu/classpath/jdwp/event/ExceptionEvent:
15366 Added Object instance to javadoc in constructor
15367 * gnu/classpath/jdwp/event/MethodEntryEvent:
15369 * gnu/classpath/jdwp/event/MethodExitEvent:
15371 * gnu/classpath/jdwp/event/SingleStepEvent:
15374 2006-06-16 Tom Tromey <tromey@redhat.com>
15376 Imported JSR 166 reference implementation:
15377 * .classpath: Added external/jsr166.
15378 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15379 * java/util/AbstractQueue.java: Removed.
15380 * java/util/Queue.java: Removed.
15381 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15382 (runPeriodic): Added explicit cast.
15383 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15386 2006-06-16 Tom Tromey <tromey@redhat.com>
15388 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15390 (getCallerClass): Now static.
15391 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15393 2006-06-16 Lillian Angel <langel@redhat.com>
15395 * java/awt/FileDialog.java
15396 (FileDialog): Added @since tag to API docs.
15397 (FileDialog): Likewise.
15398 (FileDialog): Likewise.
15399 * java/awt/Font.java:
15400 Added @since tag to TYPE1_FONT field docs.
15401 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15402 (isThumbRollover): Likewise.
15403 (setThumbRollover): Likewise.
15404 (getSupportsAbsolutePositioning): Likewise.
15405 * javax/swing/plaf/basic/BasicSliderUI.java:
15406 (isDragging): Likewise.
15408 2006-06-16 Lillian Angel <langel@redhat.com>
15410 * java/awt/FileDialog.java
15411 (FileDialog): Implemented.
15412 (FileDialog): Implemented.
15413 (FileDialog): Implemented.
15414 * java/awt/Font.java:
15415 Added TYPE1_FONT constant field.
15417 2006-06-16 Lillian Angel <langel@redhat.com>
15419 * java/awt/font/TextLayout.java:
15420 Removed unneeded imports.
15421 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15422 Added new thumbRollover field.
15423 (mouseMoved): Added code to set thumbRollover field.
15424 (isThumbRollover): New function.
15425 (setThumbRollover): New function.
15426 (getSupportsAbsolutePositioning): Implemented. This
15427 needs to be changed once the feature has been
15429 * javax/swing/plaf/basic/BasicSliderUI.java:
15430 Added new dragging field.
15431 (mouseDragged): Initialized dragging field.
15432 (isDragging): New function.
15433 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15434 (focusGained): Marked as not implemented.
15435 (focusLost): Likewise.
15437 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15439 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15440 Added check for null ThreadId to avoid null pointer
15443 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15445 * javax/swing/DefaultComboBoxModel.java
15446 (removeElementAt): Set new selected item by calling setSelectedItem().
15448 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15450 * javax/swing/DefaultButtonModel.java
15451 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15453 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15455 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15456 (ListDataEvent): Handle case where index0 > index1,
15457 (toString): Implemented.
15459 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15461 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15462 (update): Added subexpression to if-statement.
15464 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15466 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15467 (installDefaults): Removed unneccessary code.
15468 (paint): Removed complex if-cascade, revert to default icon if
15469 icon property is not set.
15470 (getPreferredSize): New method.
15472 2006-06-16 Roman Kennke <kennke@aicas.com>
15475 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15476 (drawImage): Don't use setClip() but instead clipRect() to
15477 intersect the current clip with a new one.
15479 2006-06-15 Tom Tromey <tromey@redhat.com>
15481 * scripts/sanitize-jsr166: New file.
15482 * external/jsr166/IMPORTING: New file.
15483 * vm/reference/sun/reflect/Reflection.java: New file.
15484 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15485 * vm/reference/sun/misc/Unsafe.java: ...here.
15487 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15489 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15490 gjarsigner and keytool to gkeytool.
15491 * doc/tools.texinfo: Add note about tool exectable names.
15492 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15493 jarsigner to gjarsigner and keytool to gkeytool.
15494 * tools/appletviewer.in: Rename ...
15495 * tools/gappletviewer.in: New file.
15496 * tools/jarsigner.in: Rename ...
15497 * tools/gjarsigner.in: New file.
15498 * tools/keytool.in: Rename ...
15499 * tools/gkeytool.in: New file.
15500 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15502 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15504 * javax/management/AttributeList.java:
15505 Add serialization UID.
15506 * javax/management/DynamicMBean.java:
15508 * javax/management/JMRuntimeException.java:
15509 Add serialization UID and correct name
15510 of serialized field.
15511 * javax/management/MBeanInfo.java: New file.
15513 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15515 * javax/management/AttributeList.java,
15516 * javax/management/JMRuntimeException.java,
15517 * javax/management/RuntimeOperationsException.java:
15520 2006-06-15 Lillian Angel <langel@redhat.com>
15522 * java/awt/font/TextLayout.java:
15523 DEFAULT_CARET_POLICY changed to be public static final.
15525 2006-06-15 Tania Bento <tbento@redhat.com>
15527 * javax/swing/plaf/metal/MetalScrollButton.java
15528 (MetalScrollButton): Should set 'focusable' to false.
15530 2006-06-15 Tania Bento <tbento@redhat.com>
15532 * javax/swing/plaf/basic/BasicArrowButton.java
15533 (BasicArrowButton): Should set 'focusable' to false.
15534 (BasicArrowButton): Should set 'focusable' to false.
15536 2006-06-15 Mark Wielaard <mark@klomp.org>
15538 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15539 (getGraphicsConfiguration): Return default screen device.
15540 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15542 (GtkVolatileImage): Record initiating component.
15543 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15544 (getDeviceConfiguration): Return configuration of image component.
15546 2006-06-15 Mark Wielaard <mark@klomp.org>
15548 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15551 2006-06-15 Mark Wielaard <mark@klomp.org>
15553 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15554 with null argument.
15556 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15558 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15559 (matches): Added explicit brackets to return statement.
15561 2006-06-15 Tania Bento <tbento@redhat.com>
15563 * javax/swing/JRadioButtonMenuItem.java
15564 (JRadioButtonMenuItem): Should set 'focusable' to false.
15566 2006-06-15 Tania Bento <tbento@redhat.com>
15568 * javax/swing/JCheckBoxMenuItem.java
15569 (JCheckBoxMenuItem): Should set 'focusable' to false.
15571 2006-06-15 Tania Bento <tbento@redhat.com>
15573 * javax/swing/AbstractButton.java:
15574 (AbstractButton): 'Focusable' should be set to true and not false.
15576 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15578 * java/lang/management/ManagementFactory.java:
15579 Add private constructor to prevent instance creation.
15580 * java/lang/management/ManagementPermission.java:
15583 2006-06-15 Francis Kung <fkung@redhat.com>
15585 * javax/swing/plaf/basic/BasicArrowButton.java:
15586 (BasicArrowButton): move client property for not triggering out
15588 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15589 (configureArrowButton): set client property for not triggering
15590 (installUI): set client property for not triggering
15591 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15592 (PopupHelper.mousePressed): check client property for triggering
15594 2006-06-15 Roman Kennke <kennke@aicas.com>
15597 * javax/swing/RepaintManager.java
15598 (blitBuffer): Substract coordinates the other way around.
15600 2006-06-15 Roman Kennke <kennke@aicas.com>
15603 * javax/swing/JComponent.java
15604 (paintImmediately2): Only paint component without double buffering
15605 when all of it's parents have also double buffering disabled.
15606 (isPaintingDoubleBuffered): New helper method.
15608 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15610 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15611 (draw(Shape)): Pass null transform to getPathIterator(),
15612 (getClip): Likewise,
15613 * gnu/java/print/PostscriptGraphics2D.java
15614 (drawStringShape): Pass null transform to getPathIterator(),
15615 (writeShape): Likewise,
15616 * java/awt/Shape.java: Small updates to API docs.
15618 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15620 * javax/naming/InitialContext.java:
15621 (list(javax.naming.Name)): Fixed generic type.
15622 (list(String)): Likewise.
15623 (listBindings(javax.naming.Name)): Likewise.
15624 (listBindings(String)): Likewise.
15626 2006-06-14 Roman Kennke <kennke@aicas.com>
15628 * javax/swing/plaf/basic/BasicComboBoxUI.java
15629 (getAccessibleChildrenCount): Implemented.
15630 (getAccessibleChild): Implemented.
15631 (isNavigationKey): Implemented.
15632 (KeyHandler.keyPressed): Implemented.
15634 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15636 * java/lang/management/ManagementPermission.java:
15637 Added serialization UID.
15638 * javax/management/Attribute.java: Likewise.
15639 * javax/management/MBeanException.java,
15640 * javax/management/ReflectionException.java:
15641 Added serialization UID and changed to extend
15642 javax.management.JMException.
15644 2006-06-14 Lillian Angel <langel@redhat.com>
15646 * java/awt/Component.java
15647 (ignoreOldMouseEvents): Made static.
15648 (translateEvent): Made static.
15649 * java/awt/TextComponent.java
15650 (ignoreOldMouseEvents): Made static.
15652 2006-06-14 Mark Wielaard <mark@klomp.org>
15654 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15656 (drawRect): Likewise.
15657 (fillRect): Likewise.
15659 2006-06-14 Lillian Angel <langel@redhat.com>
15661 * java/awt/Component.java
15662 (ignoreOldMouseEvents): New helper function.
15663 (translateEvent): Changed to be non-static and use new helper.
15664 * java/awt/TextComponent.java
15665 (ignoreOldMouseEvents): New helper function.
15667 2006-06-14 Roman Kennke <kennke@aicas.com>
15669 * javax/swing/RepaintManager.java
15670 (MERGE_REGIONS): New constant flag.
15671 (commitBuffer): Exclude the merging of regions by default. This
15672 was causing painting artifacts in some applications, especially
15673 when different areas of the GUI are updated synchronously.
15675 2006-06-14 Roman Kennke <kennke@aicas.com>
15677 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15678 New file. This is a benchmark for AWT 1.1 style graphics operations.
15679 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15680 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15682 2006-06-14 Tom Tromey <tromey@redhat.com>
15684 * java/io/File.java (getParent): Javadoc fix.
15686 2006-06-14 Tom Tromey <tromey@redhat.com>
15688 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15690 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15691 when index entry does not exist.
15693 2006-06-14 Tania Bento <tbento@redhat.com>
15695 * javax/swing/AbstractButton.java
15696 (AbstractButton): Set focusable to false, not true.
15698 2006-06-14 Tania Bento <tbento@redhat.com>
15700 * javax/swing/JMenuItem.java
15701 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15703 2006-06-14 Tania Bento <tbento@redhat.com>
15705 * javax/swing/JCheckBoxMenuItem.java
15706 (JCheckBoxMenuItem): Added check to set the selected state.
15708 2006-06-14 Roman Kennke <kennke@aicas.com>
15710 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15711 (cairoDrawLine): New native method.
15712 (cairoDrawRect): New native method.
15713 (cairoFillRect): New native method.
15714 (drawLine): Use special native method.
15715 (drawRect): Use special native method.
15716 (fillRect): Use special native method.
15717 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15718 (cairoDrawLine): New native method.
15719 (cairoDrawRect): New native method.
15720 (cairoFillRect): New native method.
15721 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15723 2006-06-14 Mark Wielaard <mark@klomp.org>
15725 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15726 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15727 cannot be allocated.
15729 2006-06-14 Tom Tromey <tromey@redhat.com>
15732 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15733 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15735 2006-06-14 Roman Kennke <kennke@aicas.com>
15737 * javax/swing/JComponent.java
15738 (isRepainting): New flag.
15739 (paintImmediately2): Set isRepainting flag.
15740 (getRoot): Removed obsolete method.
15741 (paintDoubleBuffered): Differenciate between paint calls from
15742 RepaintManager and from AWT refresh. Call
15743 RepaintManager.commitBuffer with this and local coordinates.
15744 (findOpaqueParent): Stop searching at heavyweight component. These
15746 (paintChildrenOptimized): Don't paint heavyweight children. These
15747 should care for themselves.
15748 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15749 should care for themselves.
15750 * javax/swing/RepaintManager.java
15751 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15753 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15754 toplevel windows only.
15755 (getRoot): Removed obsolete method.
15756 (commitBuffer): Blit buffer on nearest heavyweight.
15757 (blitBuffer): New helper method.
15758 (getHeavyweightParent): New helper method.
15759 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15760 * javax/swing/SwingUtilities.java
15761 (convertRectangleToAncestor): New helper method.
15763 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15765 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15766 Condition all trace/debug code based on Configuration.DEBUG.
15767 Use logger instead of STDOUT and ot STDERR.
15769 2006-06-13 Lillian Angel <langel@redhat.com>
15771 * native/plugin/gcjwebplugin.cc
15772 (NP_Initialize): Removed code to create whitelist file.
15773 (GCJ_New): Added code to create whitelist file.
15774 (plugin_user_trusts_documentbase): Fixed error message.
15776 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15778 * javax/swing/plaf/metal/MetalIconFactory.java
15779 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15780 prevent overwriting border,
15781 (VerticalSliderThumbIcon.gradientMask): Likewise.
15783 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15785 * javax/management/AttributeNotFoundException.java,
15786 * javax/management/InvalidAttributeValueException.java,
15787 * javax/management/JMException.java,
15788 * javax/management/MBeanException.java,
15789 * javax/management/OperationsException.java,
15790 * javax/management/ReflectionException.java:
15793 2006-06-13 Roman Kennke <kennke@aicas.com>
15795 * java/awt/Component.java
15796 (dispatchEvent): Handle events even when consumed (this might be
15797 picked up later in the dispatching chain).
15798 * javax/swing/plaf/basic/BasicLookAndFeel.java
15799 (PopupHelper.mousePressed): Don't consume event. Only close popup
15800 when target component isn't flagged as DONT_CANCEL_POPUP.
15801 (DONT_CANCEL_POPUP): New package private constant for flagging
15802 special components that don't trigger popup closing.
15803 * javax/swing/plaf/basic/BasicArrowButton.java
15804 (BasicArrowButton): Set client property for not triggering closing
15807 2006-06-13 Lillian Angel <langel@redhat.com>
15809 * java/awt/image/PixelGrabber.java
15810 (PixelGrabber): Added to API documentation.
15812 2006-06-13 Keith Seitz <keiths@redhat.com>
15814 From Kyle Galloway <kgallowa@redhat.com>:
15815 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15816 (ExceptionOnlyFilter): Allow null refId.
15818 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15819 compatibility with filters.
15820 (getParameter): Modified to allow access to above.
15822 2006-06-13 Sven de Marothy <sven@physto.se>
15824 * gnu/java/awt/peer/gtk/CairoSurface.java
15825 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15826 (create): Use stride in ints.
15828 2006-06-13 Keith Seitz <keiths@redhat.com>
15830 From Kyle Galloway <kgallowa@redhat.com>:
15831 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15833 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15835 * javax/swing/plaf/basic/BasicSliderUI.java
15836 (calculateThumbSize): Removed unnecessary code,
15837 (calculateThumbLocation): Shift position by one,
15838 (calculateTickRect): Shift position by one when ticks are displayed,
15839 (calculateLabelRect): Calculate rect differently according to whether
15840 or not the labels are visible,
15841 (paintTrack): Shift track down one pixel.
15843 2006-06-13 Lillian Angel <langel@redhat.com>
15845 * java/awt/image/PixelGrabber.java
15846 (PixelGrabber): Removed check to throw exception. JDK does
15848 (startGrabbing): Removed line to print stacktrace.
15850 2006-06-13 Mark Wielaard <mark@klomp.org>
15852 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15853 allocate unused AffineTransform. Add comment about conversion to
15855 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15856 Recognize identity transform as "easy". Always convert to
15857 BufferedImage before calling super.
15859 2006-06-13 Roman Kennke <kennke@aicas.com>
15861 * java/awt/Component.java
15862 (getGraphics): Translate child graphics correctly.
15863 (dispatchEvent): Only dispatch event if it hasn't been consumed
15864 yet by the global dispatcher.
15865 * javax/swing/plaf/basic/BasicLookAndFeel.java
15866 Added some API docs.
15867 (PopupHelper.mousePressed): Consume the event after closing
15870 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15872 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15874 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15875 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15876 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15877 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15878 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15879 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15880 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15881 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15882 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15883 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15884 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15885 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15886 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15887 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15888 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15889 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15891 2006-06-12 Sven de Marothy <sven@physto.se>
15893 * java/awt/font/LineBreakMeasurer.java): Implement.
15895 2006-06-12 Keith Seitz <keiths@redhat.com>
15897 From Kyle Galloway <kgallowa@redhat.com>:
15898 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15900 2006-06-12 Keith Seitz <keiths@redhat.com>
15902 From Kyle Galloway <kgallowa@redhat.com>:
15903 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15905 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15907 2006-06-12 Roman Kennke <kennke@aicas.com>
15909 * javax/swing/JComponent.java
15910 (paintDoubleBuffered): Correctly translate and clip the Graphics
15912 (clipAndTranslateGraphics): New helper method.
15914 2006-06-12 Roman Kennke <kennke@aicas.com>
15916 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15917 (copy): Use getClip() to copy the clip. Make copied transform
15918 null when original transform is null. Set clip here.
15919 (setTransform): Correctly update the clip.
15920 (setTransformImpl): New method. Updates the actual transform for
15922 (transform): Correctly update the clip.
15923 (translate): Correctly update the clip.
15924 (clip): Handle null clip and argument correctly.
15925 (clipRect): Avoid creating new Rectangle objects.
15926 (getClip): Get the correct copy of the clip.
15927 (setClip): Correctly handle null argument.
15928 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15929 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15930 be null or whatever has been set in copy().
15931 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15932 (drawImage): Add translation to the image coordinates.
15933 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15934 (VolatileImageGraphics): Don't set clip here. The clip can either
15935 be null or whatever has been set in copy().
15937 2006-06-12 Keith Seitz <keiths@redhat.com>
15939 From Kyle Galloway <kgallowa@redhat.com>:
15940 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15941 (forCaught): Removed unused/unnecessary method.
15942 (forUncaught): Likewise.
15943 (matches): Implement.
15945 2006-06-12 Keith Seitz <keiths@redhat.com>
15947 From Kyle Galloway <kgallowa@redhat.com>:
15948 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15950 2006-06-12 Keith Seitz <keiths@redhat.com>
15952 From Kyle Galloway <kgallowa@redhat.com>:
15953 * gnu/classpath/jdwp/event/Event.java: Added constants for
15955 (getParameter): Changed parameter type from Class to int.
15956 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15957 Changed from Class type to constants.
15958 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15960 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15962 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15964 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15966 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15968 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15970 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15972 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15974 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15977 2006-06-12 Lillian Angel <langel@redhat.com>
15979 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15980 (StandaloneAppletWindow): Changed title of standalone window.
15982 2006-06-12 Lillian Angel <langel@redhat.com>
15984 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15985 (layoutContainer): Added missing selectedComponent assignment.
15987 2006-06-12 Lillian Angel <langel@redhat.com>
15989 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15990 (layoutContainer): Added check to prevent exception.
15992 2006-06-12 Tom Tromey <tromey@redhat.com>
15994 * java/lang/Thread.java (uncaughtException): Javadoc fix.
15996 2006-06-12 Mark Wielaard <mark@klomp.org>
15998 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16001 (lock): New method.
16002 (unlock): Likewise.
16003 (draw): Use lock() and unlock().
16005 (drawRenderedImage): Likewise.
16006 (drawImage): Likewise.
16007 (drawGlyphVector): Likewise.
16009 2006-06-12 Roman Kennke <kennke@aicas.com>
16011 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16012 (drawPixels): Include alpha in parameter list.
16013 (cairoFill): Include alpha in parameter list.
16014 (setComposite): Don't modify the color.
16015 (draw(Shape))): Use fill when the current composite has an alpha
16016 of != 1.0, so that the stroked shaped will be composited.
16017 (fill(Shape)): Call cairoFill() with alpha.
16018 (drawImage): Call drawPixels or drawSurface with alpha.
16019 (drawGlyphVector): When composite alpha is != 1.0, render the
16020 outline using fill() to enable compositing for text.
16021 (drawRaster): Call drawPixels with alpha.
16022 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16023 (nativeDrawSurface): Include alpha in parameter list.
16024 (drawSurface): Include alpha in parameter list. Pass it to
16025 nativeDrawSurface().
16026 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16027 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16029 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16030 (drawPixels): Handle possible alpha for compositing.
16031 (cairoFill): Likewise.
16032 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16033 (nativeDrawSurface): Handle possible alpha for compositing.
16035 2006-06-12 Mark Wielaard <mark@klomp.org>
16037 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16038 Notify data when completely done. Wait for worker thread to finish.
16039 Rethrow any pending exceptions.
16040 (exception): New field.
16041 (run): Store pending exception.
16043 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16045 * java/lang/management/ManagementPermission.java:
16048 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16050 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16052 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16054 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16055 Use String.charAt().
16057 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16059 * doc/tools.texinfo
16060 (Applet Tools): New chapter.
16061 (appletviewer Tool): New section.
16062 (gcjwebplugin): New section.
16064 2006-06-11 Mark Wielaard <mark@klomp.org>
16066 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16067 Takes GdkPixbufWriter.
16068 (GdkPixbufWriter): Implements Runnable.
16069 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16071 (DATADONE): New static final field.
16073 (write(byte[])): New method.
16075 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16076 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16077 Get dataOutputWriteID from writeClass.
16078 (stream_save_request): Change stream field to writer.
16079 (save_to_stream): Remove FIXME, call writer.
16080 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16083 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16086 Mention new VM interface and use of properties.
16087 * doc/vmintegration.texinfo:
16088 Update with new gnu.java.lang.management section.
16089 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16091 * java/lang/management/ManagementFactory.java:
16092 (getRuntimeMXBean()): Implemented.
16093 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16094 New VM interface file.
16096 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16099 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16100 debug code based on Configuration.DEBUG.
16101 Use logger instead of STDOUT and ot STDERR.
16102 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16103 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16104 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16105 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16106 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16107 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16108 * gnu/javax/crypto/pad/TBC.java: Likewise.
16109 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16110 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16111 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16112 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16113 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16114 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16115 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16116 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16117 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16118 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16119 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16120 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16121 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16122 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16123 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16124 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16125 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16126 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16127 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16128 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16129 * gnu/java/security/Properties.java: Likewise.
16130 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16131 * gnu/java/security/x509/X509CRL.java: Likewise.
16132 * gnu/java/security/x509/ext/Extension.java: Likewise.
16133 * gnu/java/security/util/Prime2.java: Likewise.
16134 * gnu/java/security/util/Base64.java: Likewise.
16135 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16136 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16137 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16138 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16139 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16140 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16141 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16142 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16143 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16144 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16145 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16146 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16147 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16148 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16149 * gnu/java/security/hash/Whirlpool.java: Likewise.
16151 2006-06-11 Mark Wielaard <mark@klomp.org>
16153 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16154 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16155 Remove unused variable glyph_index.
16157 2006-06-11 Mark Wielaard <mark@klomp.org>
16159 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16160 Don't recurse, return false if not an BufferedImage and no image
16162 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16163 end_gdk_drawing() to finally block.
16165 (drawRenderedImage): Likewise.
16166 (drawImage): Likewise.
16167 (drawGlyphVector): Likewise.
16169 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16171 * doc/tools.texinfo: Added text for new -cacert command.
16172 Re-structured sections.
16173 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16174 for -cacert command.
16175 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16176 (_CACERT): Likewise.
16177 (shutdownThread): New field.
16178 (Main): Install shutdown thread.
16179 (main): Uninstall shutdown thread.
16180 (start): Handle new -cacert command.
16181 (getParser): Likewise.
16182 (teardown): Increased visibility.
16183 (ShutdownHook): New inner class.
16184 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16186 2006-06-11 Sven de Marothy <sven@physto.se>
16188 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16189 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16190 (getOutline): Operate on the shape directly.
16191 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16192 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16193 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16194 (getGlyph renamed getGlyphs)
16195 * java/awt/geom/AffineTransform.java
16196 (getTranslateInstance): Set fields directly.
16197 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16198 (getGlyphs): Get all glyph codes at once.
16200 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16203 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16205 2006-06-11 Sven de Marothy <sven@physto.se>
16207 * java/awt/font/TextLayout.java
16208 (getLogicalHighlightShape): Add check.
16209 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16210 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16212 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16214 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16215 Check that every component of 'cn' starts with a valid Java identifier char.
16217 2006-06-10 Tom Tromey <tromey@redhat.com>
16219 * java/io/File.java (pathSeparator): Typo fix.
16221 2006-06-10 Mark Wielaard <mark@klomp.org>
16223 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16225 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16226 Mark all unused parameters.
16227 (cp_gtk_get_cairo_t): Removed.
16228 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16229 Don't mix declerations and statements.
16230 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16231 Mark all unused parameters.
16232 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16233 Get cairographics2d pointer directly.
16234 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16235 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16236 Use jlong to pass pointer.
16237 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16238 Mark all unused parameters.
16239 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16240 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16241 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16242 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16243 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16244 * include/java_io_VMFile.h: Regenerated.
16246 2006-06-10 Roman Kennke <kennke@aicas.com>
16248 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16249 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16250 instead of setClip(), so that an already present clip is intersected
16253 2006-06-10 Mark Wielaard <mark@klomp.org>
16255 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16256 Call getSize() to avoid accessor method.
16258 2006-06-10 Mark Wielaard <mark@klomp.org>
16260 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16261 Qualify ElementSpec.
16263 2006-06-10 Mark Wielaard <mark@klomp.org>
16265 * lib/.cvsignore: Add sun.
16266 * lib/Makefile.am (dist-hook): Likewise.
16268 2006-06-10 Roman Kennke <kennke@aicas.com>
16270 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16271 * gnu/java/awt/peer/gtk/CairoSurface.java
16272 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16273 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16274 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16275 * native/jni/gtk-peer/cairographics2d.h
16276 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16277 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16278 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16279 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16280 Changed method signatures and calls to pass native pointers directly
16281 into the JNI code, in order to avoid costly lookups on each
16283 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16284 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16285 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16286 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16289 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16292 * javax/swing/text/DefaultStyledDocument.java
16293 (ElementBuffer.insertContentTag):
16294 Do not recreate leaves and do not remove elements here.
16296 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16298 * javax/swing/text/html/HTMLDocument.java
16299 (HTMLReader.HiddenAction): Implemented.
16301 2006-06-10 Roman Kennke <kennke@aicas.com>
16303 * javax/swing/RepaintManager.java
16304 (getVolatileOffscreenBuffer): Store the created buffer.
16305 * javax/swing/JComponent.java
16306 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16307 for better performance.
16309 2006-06-10 Roman Kennke <kennke@aicas.com>
16311 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16312 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16314 (getRealBounds): Overridden to return the correct bounds.
16316 2006-06-10 Roman Kennke <kennke@aicas.com>
16318 * javax/swing/plaf/metal/MetalButtonUI.java
16319 (update): Fixed to paint the gradient under the correct conditions.
16320 (updateWidthGradient): Removed.
16321 (isToolbarButton): New helper method.
16322 (isDrawingGradient): New helper method.
16324 2006-06-09 Roman Kennke <kennke@aicas.com>
16326 * javax/swing/JTabbedPane.java
16327 (setSelectedIndex): Don't change the visibility of the components,
16328 this is done by the UI class.
16329 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16330 (TabbedPaneLayout.layoutContainer): Change visibility of component
16331 here, depending on the selected index. Only do this if the new
16332 selected component is not null. Some programs seem to expect
16334 (visibleComponent): New field.
16335 (getVisibleComponent): Changed to return visibleComponent field.
16336 (setVisibleComponent): Changed to set the visibility of
16337 the old and new visible component.
16339 2006-06-09 Roman Kennke <kennke@aicas.com>
16341 * javax/swing/JComponent.java
16342 (paintChildrenOptimized): Paint component with a new Graphics
16343 object to protect the other painting code from modifications
16344 done in that object, and avoid cleanup ops on possibly dispose()ed
16347 2006-06-09 Sven de Marothy <sven@physto.se>
16349 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16350 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16351 Use GTK locks while disposing (Xlib) surface.
16353 2006-06-09 Tom Tromey <tromey@redhat.com>
16355 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16356 (uninstall-local): Delete 'sun' directory.
16357 (glibj.zip): Include 'sun' classes.
16358 (clean-local): Delete 'sun' directory.
16359 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16361 2006-06-09 Roman Kennke <kennke@aicas.com>
16363 * gnu/java/awt/java2d/AbstractGraphics2D.java
16364 (drawImage): Fixed scaling.
16365 (fillShape): Removed offset handling.
16366 (fillShapeImpl): Limit scanlining to device bounds.
16367 (getSegments): Removed offset handling.
16368 * gnu/java/awt/java2d/PolyEdge.java
16369 (toString): Include isClip flag in output.
16371 2006-06-08 Sven de Marothy <sven@physto.se>
16373 * java/awt/font/TextLayout.java
16374 (getOutline): Allow null transform.
16376 2006-06-08 Sven de Marothy <sven@physto.se>
16378 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16379 (drawString): Use TextLayout instead of GlyphVector.
16381 2006-06-08 Sven de Marothy <sven@physto.se>
16383 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16384 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16385 New constructor for bidirectionality.
16386 (getGlyphMetrics): Return whitespace glyphs.
16387 (getLogicalBounds): Offset rectangles to correct positions.
16388 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16389 (getBaselineFor): Default to ROMAN_BASELINE.
16390 (GdkFontLineMetrics): Guess some values for underline and
16392 (layoutGlyphVector): Use bidirectionality.
16393 * java/awt/font/TextLayout.java: Implement, mostly.
16395 2006-06-09 Anthony Green <green@redhat.com>
16397 PR classpath/27888:
16398 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16399 * java/util/Collections.java (binarySearch): Use unsigned shift.
16400 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16402 2006-06-09 Tom Tromey <tromey@redhat.com>
16404 * tools/.cvsignore: Added .deps.
16406 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16408 PR classpath/27966:
16409 * gnu/javax/security/auth/login/ConfigFileParser.java
16410 (validateClassName): Quote '.' in regexp.
16412 2006-06-09 Tom Tromey <tromey@redhat.com>
16414 PR classpath/23863:
16415 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16417 * native/fdlibm/mprec.c: New version from newlib. Commented out
16418 some includes. Added <assert.h>.
16419 (_reent, _Bigint): New defines.
16420 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16421 (__ULong, __Long): New types.
16422 (_calloc_r): New function.
16423 (Balloc): Dynamically add new _freelist entries as needed.
16424 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16425 MAX_BIGNUMS to size _x[].
16426 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16427 _allocation_map, num. Added _max_k.
16429 2006-06-09 Roman Kennke <kennke@aicas.com>
16431 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16432 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16435 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16437 * java/awt/image/BufferedImage.java
16438 (BufferedImage(int, int, int)): Added API docs,
16439 (getProperty(String)): Return correct value for undefined properties,
16440 (getPropertyNames()): Added comments and removed FIXME.
16442 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16444 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16445 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16447 2006-06-09 Francis Kung <fkung@redhat.com>
16449 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16450 (getPreferredSize): Return correct height for null or empty
16453 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16455 * java/awt/datatransfer/DataFlavor.java
16456 (readExternal): Mark as stub,
16457 (writeExternal): Likewise,
16458 * java/awt/dnd/DropTargetContext.java
16459 (dropComplete): Mark as stub,
16460 (acceptDrag): Likewise,
16461 (rejectDrag): Likewise,
16462 (acceptDrop): Likewise,
16463 (rejectDrop): Likewise,
16464 (getCurrentDataFlavors): Likewise,
16465 (getTransferable): Likewise,
16466 * java/awt/dnd/DropTargetDropEvent.java
16467 (dropComplete): Mark as stub.
16469 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16471 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16472 (constructor): Do not lowercase the values.
16473 * javax/swing/text/html/HTMLDocument.java
16474 (HTMLReader.addSpecialElement): Implemented.
16475 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16477 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16479 On behalf of Matthew Wringe <mwringe@redhat.com>
16480 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16481 * gnu/javax/crypto/pad/ISO10126.java: New class.
16482 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16483 (getInstance): Added support for ISO-10126 scheme.
16484 (getNames): Likewise.
16485 Cache result for speed.
16487 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16489 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16490 flexible self-test by sub-classes.
16491 (test1BlockSize): New method.
16493 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16495 * javax/swing/plaf/basic/BasicLookAndFeel.java
16496 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16497 * javax/swing/plaf/basic/BasicScrollBarUI.java
16498 (installKeyboardActions): Implemented,
16499 (uninstallKeyboardActions): Implemented,
16500 (getInputMap): New method,
16501 (getActionMap): New method,
16502 (createActionMap): New method,
16503 (installUI): Call installKeyboardActions(),
16504 (uninstallUI): Call uninstallKeyboardActions().
16506 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16508 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16509 (getActionMap): Use correct key to store action map.
16511 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16513 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16514 (executeInstruction): Added NOT support.
16516 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16518 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16521 2006-06-08 Tom Tromey <tromey@redhat.com>
16523 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16526 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16528 * java/lang/management/RuntimeMXBean.java:
16531 2006-06-08 Lillian Angel <langel@redhat.com>
16533 * native/plugin/gcjwebplugin.cc:
16534 (NP_Shutdown): Freed whitelist_filename.
16536 2006-06-08 Lillian Angel <langel@redhat.com>
16538 * native/plugin/Makefile.am:
16539 Removed DATA_DIRECTORY.
16540 * native/plugin/gcjwebplugin.cc:
16541 Added new global fields for whitelist_file
16542 and data_directory. Removed WHITELIST_FILE.
16543 (NP_Initialize): Initialized new fields. Also,
16544 Changed to use new fields.
16545 (NP_Shutdown): Freed data_directory.
16546 (GCJ_New): Changed to use new fields.
16547 (plugin_ask_user_about_documentbase): Likewise.
16549 2006-06-08 Lillian Angel <langel@redhat.com>
16551 * native/plugin/Makefile.am:
16552 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16553 * native/plugin/gcjwebplugin.cc:
16554 Changed all instances of PLUGIN_DATA_DIRECTORY
16557 2006-06-08 Roman Kennke <kennke@aicas.com>
16559 * java/awt/LightweightDispatcher.java
16560 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16561 with convertPointToChild(). This is more efficient and avoids
16562 problems with getLocationOnScreen().
16563 (findTarget): Check for component beeing showing() early.
16564 Simplified AWTUtilities.convertPoint() to a simple substraction
16566 (convertPointToChild): New helper method.
16568 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16570 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16573 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16574 Lillian Angel <langel@redhat.com>
16576 * native/plugin/gcjwebplugin.cc
16577 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16578 Also, reset initialized field.
16580 2006-06-08 Lillian Angel <langel@redhat.com>
16582 * javax/swing/plaf/basic/BasicProgressBarUI.java
16583 (paintString): Fixed to paint string at the correct location.
16585 2006-06-08 Roman Kennke <kennke@aicas.com>
16587 * javax/swing/plaf/basic/BasicTreeUI.java
16588 (createDefaultActions): Added new actions.
16589 (TreePageAction.TreePageAction): Set action name.
16590 (TreePageAction.actionPerformed): Implemented.
16591 (TreePageAction.isEnabled): Implemented.
16592 (TreeToggleAction.TreePageAction): Set action name.
16593 (TreeToggleAction.actionPerformed): Implemented.
16594 (TreeToggleAction.isEnabled): Implemented.
16595 (TreeTraverseAction.TreeTraverseAction): Set action name.
16596 (TreeTraverseAction.actionPerformed): Use action name as command.
16597 (TreeTraverseAction.isEnabled): Implemented.
16599 2006-06-08 Roman Kennke <kennke@aicas.com>
16601 * javax/swing/plaf/basic/BasicTreeUI.java
16602 (installKeyboardActions): Rewritten to correctly install the UI
16603 input and action maps.
16604 (getActionMap): New helper method.
16605 (createDefaultActionMap): New helper method.
16606 (TreeHomeAction.TreeHomeAction()): Implemented.
16607 (TreeHomeAction.actionPerformed): Implemented.
16608 (TreeHomeAction.isEnabled): Implemented.
16609 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16610 (TreeIncrementAction.actionPerformed): Use action name as command.
16611 (TreeIncrementAction.isEnabled): Implemented.
16613 2006-06-08 Mark Wielaard <mark@klomp.org>
16616 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16617 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16620 2006-06-08 Mark Wielaard <mark@klomp.org>
16622 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16623 (attrs): Removed unused static.
16625 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16627 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16628 (getInputMap): New method,
16629 (getActionMap): New method,
16630 (createActionMap): New method,
16631 (installKeyboardActions): Implemented,
16632 (uninstallKeyboardActions): Implemented.
16634 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16636 * javax/swing/border/MatteBorder.java:
16637 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16639 (paintBorder): Added if-statement to abort painting early.
16641 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16644 * gnu/xml/dom/DomIterator.java:
16645 (successor): Changed expression.
16647 2006-06-08 Sven de Marothy <sven@physto.se>
16649 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16650 (defaultLayout): Do kerning.
16651 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16652 (getKerning): Correct class name, removed unused variable.
16654 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16656 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16657 libqtpeer.so unconditionally.
16659 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16661 * java/util/InputMismatchException.java:
16664 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16666 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16668 2006-06-07 Roman Kennke <kennke@aicas.com>
16670 * javax/swing/plaf/basic/BasicTreeUI.java
16671 (completeUIUninstall): Implemented.
16672 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16673 editing before uninstalling anything.
16674 (isToggleEvent): Implemented.
16675 (selectPathForEvent): Make use of isToggleEvent().
16676 (ComponentHandler.componentMoved): Implemented.
16677 (ComponentHandler.startTimer): Implemented.
16678 (ComponentHandler.getScrollPane): Implemented.
16679 (ComponentHandler.actionPerformed): Implemented.
16681 2006-06-07 Francis Kung <fkung@redhat.com>
16683 * javax/swing/JMenuBar.java:
16684 (getSubElements): Do not return null values.
16686 2006-06-07 Roman Kennke <kennke@aicas.com>
16689 * gnu/regexp/BacktrackStack.java
16690 * gnu/regexp/CharIndexed.java
16691 * gnu/regexp/CharIndexedCharArray.java
16692 * gnu/regexp/CharIndexedCharSequence.java
16693 * gnu/regexp/CharIndexedInputStream.java
16694 * gnu/regexp/CharIndexedString.java
16695 * gnu/regexp/CharIndexedStringBuffer.java
16696 * gnu/regexp/RE.java
16697 * gnu/regexp/REException.java
16698 * gnu/regexp/REFilterInputStream.java
16699 * gnu/regexp/REMatch.java
16700 * gnu/regexp/REMatchEnumeration.java
16701 * gnu/regexp/RESyntax.java
16702 * gnu/regexp/REToken.java
16703 * gnu/regexp/RETokenAny.java
16704 * gnu/regexp/RETokenBackRef.java
16705 * gnu/regexp/RETokenChar.java
16706 * gnu/regexp/RETokenEnd.java
16707 * gnu/regexp/RETokenEndOfPreviousMatch.java
16708 * gnu/regexp/RETokenEndSub.java
16709 * gnu/regexp/RETokenIndependent.java
16710 * gnu/regexp/RETokenLookAhead.java
16711 * gnu/regexp/RETokenLookBehind.java
16712 * gnu/regexp/RETokenNamedProperty.java
16713 * gnu/regexp/RETokenOneOf.java
16714 * gnu/regexp/RETokenPOSIX.java
16715 * gnu/regexp/RETokenRange.java
16716 * gnu/regexp/RETokenRepeated.java
16717 * gnu/regexp/RETokenStart.java
16718 * gnu/regexp/RETokenWordBoundary.java
16719 * gnu/regexp/UncheckedRE.java
16720 * gnu/java/util/regex/BacktrackStack.java
16721 * gnu/java/util/regex/CharIndexed.java
16722 * gnu/java/util/regex/CharIndexedCharArray.java
16723 * gnu/java/util/regex/CharIndexedCharSequence.java
16724 * gnu/java/util/regex/CharIndexedInputStream.java
16725 * gnu/java/util/regex/CharIndexedString.java
16726 * gnu/java/util/regex/CharIndexedStringBuffer.java
16727 * gnu/java/util/regex/RE.java
16728 * gnu/java/util/regex/REException.java
16729 * gnu/java/util/regex/REFilterInputStream.java
16730 * gnu/java/util/regex/REMatch.java
16731 * gnu/java/util/regex/REMatchEnumeration.java
16732 * gnu/java/util/regex/RESyntax.java
16733 * gnu/java/util/regex/REToken.java
16734 * gnu/java/util/regex/RETokenAny.java
16735 * gnu/java/util/regex/RETokenBackRef.java
16736 * gnu/java/util/regex/RETokenChar.java
16737 * gnu/java/util/regex/RETokenEnd.java
16738 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16739 * gnu/java/util/regex/RETokenEndSub.java
16740 * gnu/java/util/regex/RETokenIndependent.java
16741 * gnu/java/util/regex/RETokenLookAhead.java
16742 * gnu/java/util/regex/RETokenLookBehind.java
16743 * gnu/java/util/regex/RETokenNamedProperty.java
16744 * gnu/java/util/regex/RETokenOneOf.java
16745 * gnu/java/util/regex/RETokenPOSIX.java
16746 * gnu/java/util/regex/RETokenRange.java
16747 * gnu/java/util/regex/RETokenRepeated.java
16748 * gnu/java/util/regex/RETokenStart.java
16749 * gnu/java/util/regex/RETokenWordBoundary.java
16750 * gnu/java/util/regex/UncheckedRE.java
16751 Moved gnu.regexp classes to gnu.java.util.regex package.
16752 * java/util/regex/Matcher.java
16753 * java/util/regex/Pattern.java
16754 Adjusted import statements for new package name for gnu regexp.
16756 2006-06-07 Tom Tromey <tromey@redhat.com>
16758 PR classpath/27905:
16759 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16760 Added missing charsets.
16761 (charsetForName): Don't check 'extendedLoaded'.
16763 2006-06-07 Roman Kennke <kennke@aicas.com>
16766 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16767 (clip(Shape)): Implemented correctly, so that the current shape
16768 gets intersected by the parameter shape.
16770 2006-06-07 Lillian Angel <langel@redhat.com>
16772 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16773 (getTabBounds): If this method is called with a tab index
16774 that is not in the rects array, we need to re-layout the container
16777 2006-06-07 Lillian Angel <langel@redhat.com>
16779 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16780 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16781 * java/lang/String.java
16782 (codePointCount): Fixed check to match API. Shouldn't throw exception
16783 if end == count. end is 1 more than the endIndex, so end == count is
16786 2006-06-07 Gary Benson <gbenson@redhat.com>
16789 * native/jni/java-io/java_io_VMFile.c
16790 (Java_java_io_VMFile_toCanonicalForm): New method.
16791 * configure.ac: Added checks for lstat and readlink.
16792 * include/java_io_VMFile.h: Added new method.
16793 * vm/reference/java/io/VMFile.java: Use new method.
16794 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16795 * NEWS: Documented the above.
16796 * java/io/File.java: Javadoc fix.
16798 2006-06-07 Roman Kennke <kennke@aicas.com>
16801 * javax/swing/JTree.java
16802 (JTree()): Initialize with default model.
16803 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16804 on the updateUI() / setModel() order.
16805 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16807 * javax/swing/plaf/basic/BasicTreeUI.java
16808 (BasicTreeUI()): Initialize listeners in installListeners().
16809 (setModel): Complete editing on model change. Correctly resetup
16810 the listeners. Update the layout cache accordingly.
16811 (setShowRootHandles): Complete editing and update layout. Do not
16812 call back into the JTree, this could cause cycles.
16813 (prepareForUIInstall): Implemented. Moved some init code from
16814 installUI() to this method.
16815 (completeUIInstall): Implemented. Moved some init code from
16816 installUI() to this method.
16817 (createDefaultCellEditor): Check for type of renderer, and install
16818 with null renderer when not DefaultTreeCellRenderer.
16819 (updateLayoutCacheExpandedNodes): Added null check for tree root
16821 (updateRenderer): Call updateEditor().
16822 (installListeners): Initialize the listeners here. Added some null
16823 checks to avoid NPEs.
16824 (installUI): Moved some init code to prepareForUIInstall() and
16825 completeUIInstall().
16826 (completeEditing): Return immediately if editing component is null
16827 or if the setting is to not stop editing on complete editing.
16828 (checkForClickInExpandControl): Call handleExpandControlClick()
16829 instead of toggleExpandState() directly.
16830 (isLocationInExpandControl): Rewritten to correctly determine the
16831 expand click location.
16832 (MouseHandler.mousePressed): Rewritten to make better use of the
16833 instance methods of BasicTreeUI to handle the click.
16834 (PropertyHandler.propertyChange): Handle model and cell renderer
16836 * javax/swing/tree/DefaultTreeCellEditor.java
16837 (DefaultTreeCellEditor): Removed initialization of the icon. This
16838 is done so that the constructor can deal with null renderer as the
16839 RI does. Maybe this needs more fixing.
16840 * javax/swing/tree/TreePath.java
16841 (isDescendant): Fixed this method. The previous version did too
16842 much and compared the wrong things, which lead to a ClassCastException
16844 * javax/swing/tree/VariableHeightLayoutCache.java
16845 (update): Do nothing when model is null.
16846 (setModel): Clear the tables and update the layout. Added null
16847 check to prevent NPE.
16849 2006-06-07 Sven de Marothy <sven@physto.se>
16851 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16853 2006-06-07 Sven de Marothy <sven@physto.se>
16855 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16856 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16857 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16860 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16861 (getGlyphVector): Removed native method.
16862 (createGlyphVector, getStringBounds): Use new GV class.
16864 * include/Makefile.am
16865 * native/jni/gtk-peer/Makefile.am
16868 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16869 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16870 (getGlyphVector): Removed native method.
16872 2006-06-07 Chris Burdess <dog@gnu.org>
16874 * gnu/classpath/debug/TeeInputStream.java,
16875 gnu/classpath/debug/TeeOutputStream.java,
16876 gnu/classpath/debug/TeeReader.java,
16877 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16878 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16879 read more characters than absolutely necessary in tryRead method.
16881 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16883 * examples/gnu/classpath/examples/swing/Demo.java:
16884 (mkMenuBar): Put look and feel radio buttons into
16885 appropriate button group.
16887 2006-06-07 Chris Burdess <dog@gnu.org>
16889 * gnu/xml/stream/SAXParser.java,
16890 gnu/xml/stream/XMLParser.java: Add command line options for setting
16891 parsing parameters (for simpler debugging).
16892 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16893 closing output stream is propagated to application.
16895 2006-06-06 Mark Wielaard <mark@klomp.org>
16898 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16899 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16900 call disposeSurface.
16901 (disposeSurface): New native method.
16902 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16903 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16905 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16906 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16907 cairo_pattern_destroy.
16908 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16909 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16910 New function to destroy the surface.
16911 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16912 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16913 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16915 2006-06-06 Mark Wielaard <mark@klomp.org>
16917 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16920 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16922 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16923 (paint): If has focus, paint special background color,
16924 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16925 (FocusHandler.focusGained): Implemented,
16926 (FocusHandler.focusLost): Implemented.
16928 2006-06-06 Tom Tromey <tromey@redhat.com>
16930 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16932 (writeAttributeSet): Implemented.
16934 2006-06-06 Tom Tromey <tromey@redhat.com>
16936 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16938 (SpecialAction.end): Removed.
16939 (IsindexAction.end): Likewise.
16941 2006-06-06 Tom Tromey <tromey@redhat.com>
16943 * include/jni.h (JDK1_1InitArgs): New struct.
16944 (JDK1_1AttachArgs): Likewise.
16946 2006-06-06 Tom Tromey <tromey@redhat.com>
16948 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16950 (getUnresolvedName): New method.
16951 (getUnresolvedActions): New method.
16952 (getUnresolvedCerts): New method.
16954 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16956 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16957 (getColor): Removed debugging code.
16959 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16961 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16962 (getColor): Added support for "rgb(red, green, blue)" notation.
16963 (translateTag): Use Boolean.TRUE, not new Boolean().
16965 2006-06-06 Roman Kennke <kennke@aicas.com>
16968 * javax/swing/JTree.java
16969 (JTree(TreeModel)): Call updateUI() before setModel().
16970 (setModel): Don't call updateUI here.
16972 2006-06-06 Lillian Angel <langel@redhat.com>
16974 * native/plugin/gcjwebplugin.cc:
16975 Fixed failure message and commenting.
16976 (NP_Initialize): Added more comments.
16978 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16980 * javax/swing/JSplitPane.java
16981 (AccessibleJSplitPane): API doc fixes,
16982 (setDividerLocation): Likewise,
16983 * javax/swing/plaf/basic/BasicLookAndFeel.java
16984 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16985 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16986 (getInputMap): New method,
16987 (getActionMap): New method,
16988 (createActionMap): New method,
16989 (installKeyboardActions): Implemented,
16990 (uninstallKeyboardActions): Implemented.
16992 2006-06-06 Roman Kennke <kennke@aicas.com>
16995 * javax/swing/MenuSelectionManager.java
16996 (processKeyEvent): Added check to avoid
16997 ArrayIndexOutOfBoundsException.
16999 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17001 * gnu/javax/swing/text/html/htmlAttributeSet.java
17002 (getAttributeNames): Rewritten
17004 2006-06-06 Chris Burdess <dog@gnu.org>
17006 * gnu/xml/transform/TransformerImpl.java: Check type of created
17007 document (more cases).
17009 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17011 * gnu/javax/swing/text/html/htmlAttributeSet.java
17012 (clone): New method. (copyAttributes): New method.
17013 (getResolveParent): Comment fix. (getAttribute):
17014 Rewritten. (addAttribute): Rewritten.
17015 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17018 2006-06-06 Roman Kennke <kennke@aicas.com>
17021 * javax/swing/JMenuBar.java
17022 (processKeyBindingHelper): Added null check to prevent NPE.
17024 2006-06-06 Roman Kennke <kennke@aicas.com>
17026 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17027 (ShowSystemMenuAction): New class.
17028 (installKeyboardActions): Implemented.
17029 (uninstallKeyboardActions): Implemented.
17030 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17031 (installKeyboardActions): Overridden to remove showSystemMenu action.
17033 2006-06-06 Chris Burdess <dog@gnu.org>
17035 * gnu/xml/transform/TransformerImpl.java: Check type of created
17038 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17040 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17041 (getScreenDevices): Added explicit cast.
17043 2006-06-06 Roman Kennke <kennke@aicas.com>
17045 * javax/swing/plaf/basic/BasicTextUI.java
17046 (installKeyboardActions): Use shared input map. Correctly
17047 install the input/action maps in the component's input/action
17049 (getActionMap): New helper method for fetching an ActionMap from
17050 the UIManager or creating a default one if there is none supplied
17052 (createActionMap): Add the TransferHandler's actions here. Made
17054 (getInputMap): Leave out unnecessary method parameter. Load
17056 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17058 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17060 * configure.ac: Added missing [ to expression.
17062 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17064 * configure.ac: Added missing { to expression.
17066 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17068 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17069 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17070 * include/Makefile.am: Added
17071 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17072 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17073 (GdkGraphicsConfiguration): Rewritten.
17074 (getColorModel): Rewritten.
17075 (getColorModel(int)): Rewritten.
17076 (getBounds): Rewritten.
17077 (createCompatibleVolatileImage): Implemented.
17078 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17080 (getDefaultScreenDevice): Rewritten.
17081 (nativeGetDefaultScreenDevice): New method.
17082 (getScreenDevices): Rewritten.
17083 (nativeGetScreenDevices): New method.
17084 (nativeInitState): New method.
17085 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17087 (X11DisplayMode): New inner class.
17088 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17089 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17090 * native/jni/gtk-peer/gdkdisplay.h: New file.
17091 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17092 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17094 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17096 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17097 _nativeGetScreenDevices):
17099 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17100 _nativeGetDefaultScreenDevice):
17102 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17104 * configure.ac: Added check for Xrandr library.
17106 2006-06-06 Roman Kennke <kennke@aicas.com>
17108 * javax/swing/plaf/basic/BasicTableUI.java
17109 (getMaximumSize): Don't return null. Fixed calculation of
17111 (getMinimumSize): Don't return null. Fixed calculation of
17113 (getPreferredSize): Fixed calculation of with and height. Added
17115 (getHeight): New helper method.
17117 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17119 * javax/swing/JComponent.java
17120 (getInputMap(int)): Throw IllegalArgumentException for unknown
17121 condition argument, and added API docs,
17122 (getInputMap()): Added API docs.
17124 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17126 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17128 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17130 * javax/swing/JTable.java
17131 (AccessibleJTableHeaderCell.header): New field,
17132 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17133 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17134 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17135 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17136 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17137 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17138 (AccessibleJTable.getAccessibleAt): Reimplemented.
17140 2006-06-05 Sven de Marothy <sven@physto.se>
17142 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17143 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17144 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17145 (initFromVolatile): New method.
17146 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17147 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17149 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17150 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17151 (copyArea, drawVolatileImage): New methods.
17153 2006-06-05 Tania Bento <tbento@redhat.com>
17155 * javax/swing/JFrame.java
17156 (frameInit): Set background color and fixed layout parameters.
17158 2006-06-05 Tom Tromey <tromey@redhat.com>
17160 * NEWS: Mention VMURLConnection.
17162 2006-06-05 Lillian Angel <langel@redhat.com>
17164 * native/plugin/gcjwebplugin.cc:
17165 Added new field to keep track of initialization.
17166 (plugin_start_appletviewer): Fixed to return an error value, if
17167 an error was encountered when loading the appletviewer.
17168 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17170 (plugin_failed): New helper function. Shows a warning if the appletviewer
17171 has not been installed.
17172 (NP_Initialize): Added code to make sure this function is only called
17175 2006-06-05 Lillian Angel <langel@redhat.com>
17177 * native/plugin/Makefile.am:
17178 Fixed to use a set plugin directory in the .mozilla directory.
17179 All applet logs are now stored here, instead of /tmp.
17180 * native/plugin/gcjwebplugin.cc:
17181 Added new fields for security warning.
17182 (GCJ_NEW): Added code to generate a security warning for all pages
17183 that spawn an appletviewer. This warning asks the user if they trust
17184 the applet and if they would like to add it to a 'whitelist'. This
17185 whitelist keeps track of all the addresses the user would like
17186 to trust indefinitely.
17187 (plugin_user_trusts_documentbase): New helper function.
17188 (plugin_add_documentbase_to_whitelist): New helper function.
17189 (plugin_ask_user_about_documentbase): New helper function.
17190 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17192 (plugin_start_appletviewer): Likewise.
17193 (plugin_create_applet_tag): Reset all fields to null after they have been
17195 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17196 if channel_error has been set.
17197 (plugin_stop_appletviewer): Likewise.
17198 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17201 2006-06-05 Francis Kung <fkung@redhat.com>
17204 * gnu/java/awt/peer/gtk/GtkImage.java
17205 (getSource): Added check to determine if in
17206 errorLoading state.
17207 * gnu/java/awt/peer/gtk/GtkToolkit.java
17208 (createImage): Added check to prevent NPE.
17210 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17212 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17213 Create the ImageView, when applicable.
17214 * gnu/javax/swing/text/html/CombinedAttributes.java,
17215 javax/swing/text/html/ImageView.java: New files.
17217 2006-06-05 Roman Kennke <kennke@aicas.com>
17220 * javax/swing/text/GapContent.java
17221 (setPositionsInRange): Compare with startIndex and endIndex
17222 rather than start and end.
17223 (dumpMarks): Only dump real marks.
17225 2006-06-05 Sven de Marothy <sven@physto.se>
17227 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17228 (ComponentGraphics): Use 0,0 as clip origin.
17230 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17232 * java/util/Formattable.java,
17233 * java/util/FormattableFlags.java,
17234 * java/util/Formatter.java:
17237 2006-06-04 Tom Tromey <tromey@redhat.com>
17239 * javax/naming/Context.java (list): Genericized.
17240 (listBindings): Likewise.
17241 * javax/naming/Reference.java (addrs): Genericized.
17242 * javax/naming/InitialContext.java (myProps): Fixed type.
17243 (init): Genericized.
17245 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17247 * java/util/DuplicateFormatFlagsException.java,
17248 * java/util/FormatFlagsConversionMismatchException.java,
17249 * java/util/FormatterClosedException.java,
17250 * java/util/IllegalFormatCodePointException.java,
17251 * java/util/IllegalFormatConversionException.java,
17252 * java/util/IllegalFormatException.java,
17253 * java/util/IllegalFormatFlagsException.java,
17254 * java/util/IllegalFormatPrecisionException.java,
17255 * java/util/IllegalFormatWidthException.java,
17256 * java/util/MissingFormatArgumentException.java,
17257 * java/util/MissingFormatWidthException.java,
17258 * java/util/UnknownFormatConversionException.java,
17259 * java/util/UnknownFormatFlagsException.java:
17262 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17264 * java/lang/System.java:
17265 (getenv()): Handle cases where split only
17266 returns an array of size 1.
17268 2006-06-04 Sven de Marothy <sven@physto.se>
17270 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17271 (createVolatileImage): Pass peer to VolatileImage constructor.
17272 * java/awt/Component.java
17273 (createVolatileImage): Call peer method directly.
17275 2006-06-04 Sven de Marothy <sven@physto.se>
17277 * gnu/java/awt/peer/gtk/CairoSurface.java
17278 (getFlippedBuffer): New method.
17279 (getGtkImage): Renamed method.
17280 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17281 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17282 Renamed getSharedImage to getGtkImage.
17283 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17284 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17285 (getFlippedBuffer): New method
17286 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17287 Avoid window casts.
17288 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17290 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17291 (drawVolatile): Add casts.
17292 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17293 (getOutline): Add casts.
17294 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17295 Comment out unused prototype.
17296 (getPixels): Add appropriate cast and comment out unused variable.
17298 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17300 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17301 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17302 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17303 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17304 (getSystemInstance): Fix javadoc @link.
17305 (counter): Increased visibility.
17306 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17307 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17308 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17309 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17310 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17311 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17312 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17313 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17314 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17315 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17316 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17317 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17318 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17319 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17320 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17321 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17322 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17323 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17324 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17325 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17326 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17327 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17328 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17329 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17330 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17331 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17332 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17333 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17334 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17335 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17336 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17338 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17340 * gnu/java/security/PolicyFile.java: Updated copyright year.
17341 (logger): Increased visibility.
17342 * gnu/java/security/x509/Util.java: Updated copyright year.
17343 (hexDump): Fix javadoc @link.
17344 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17345 Removed unused import.
17346 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17347 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17348 * gnu/java/security/util/ExpirableObject.java: Likewise.
17349 (destroy): Likewise.
17350 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17351 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17352 Updated copyright year.
17353 (checkCRL): Fix javadoc @param.
17355 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17357 * java/lang/annotation/IncompleteAnnotationException.java:
17360 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17362 * java/lang/ProcessBuilder.java:
17364 (environment): Create as a copy.
17365 * java/lang/System.java:
17366 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17368 (EnvironmentMap.put(String,String)): Override superclass
17369 method with checks for nulls and non-Strings.
17371 2006-06-02 Sven de Marothy <sven@physto.se>
17373 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17374 (cairoPreserveClip, cairoResetClip): New methods.
17375 (setClip, clip): Reimplement.
17376 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17377 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17378 (cairoPreserveClip, cairoResetClip): New methods.
17380 2006-06-02 Sven de Marothy <sven@physto.se>
17382 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17383 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17384 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17386 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17387 (drawImage): Overloads for VolatileImage drawing.
17388 (drawVolatile): New method.
17389 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17390 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17391 (drawVolatile): New method.
17392 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17393 Unstub implementation.
17394 * include/Makefile.am
17395 * native/jni/gtk-peer/Makefile.am
17397 * native/jni/gtk-peer/gtkpeer.h
17400 2006-06-03 Roman Kennke <kennke@aicas.com>
17403 * javax/swing/plaf/basic/BasicTextUI.java
17404 (damageRange): Added null check to avoid NPE.
17406 2006-06-03 Roman Kennke <kennke@aicas.com>
17408 * javax/swing/text/PlainView.java
17409 (updateDamage): Check for valid longestLine and initialize if
17412 2006-06-03 Mark Wielaard <mark@klomp.org>
17414 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17417 2006-06-02 Sven de Marothy <sven@physto.se>
17420 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17421 (copyArea): Implement.
17422 (copyAreaImpl, getRealBounds): New methods.
17423 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17424 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17425 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17426 (copyAreaImpl, getRealBounds): Implement.
17427 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17428 (nativeCopyArea): Reimplement.
17430 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17432 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17433 (XTEST_LIBS): New, substitute.
17434 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17436 2006-06-02 Roman Kennke <kennke@aicas.com>
17439 * javax/swing/text/PlainView.java
17440 (updateDamage): Rewritten for correct repainting and revalidating.
17441 (findLongestLine): New helper method.
17442 (getLineLength): New helper method.
17444 2006-06-02 Sven de Marothy <sven@physto.se>
17446 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17447 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17448 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17449 (nativeCopyArea): Change stride parameter to use # of ints.
17450 (setPixels): Add checks.
17451 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17452 (ComponentGraphics): Set background, clip.
17453 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17454 (Cairographics2D): Don't set clip.
17455 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17458 2006-06-02 Lillian Angel <langel@redhat.com>
17461 * java/awt/DefaultKeyboardFocusManager.java
17462 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17463 to get the focused window.
17465 2006-06-01 Miriam Schuster <schmir11@web.de>
17467 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17468 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17470 2006-06-02 Roman Kennke <kennke@aicas.com>
17472 * javax/swing/JTable.java
17473 (columnSelectionChanged): Don't return when there's only one
17474 column (might still need repainting). Correctly calculate
17476 (valueChanged): Use return value of SwingUtilities.computeUnion
17479 2006-06-01 Keith Seitz <keiths@redhat.com>
17481 From Martin Platter <motse@complang.tuwien.ac.at>:
17482 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17483 (executeSet): Fix buffer underflow reading reference ID.
17484 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17485 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17486 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17487 (executeSuperclass): Handle case of Object with ID zero.
17489 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17491 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17492 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17493 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17494 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17495 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17496 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17497 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17498 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17499 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17500 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17501 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17503 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17505 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17506 (Command): Add the shutdown hook.
17507 (doCommand): Remove the shutdown hook.
17508 (ShutdownHook): New class.
17510 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17512 * tools/jarsigner.in: Use @VM_BINARY@.
17513 * tools/keytool.in: Likewise.
17515 2006-06-01 Sven de Marothy <sven@physto.se>
17517 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17518 (setColor): Update the cairo paint.
17520 2006-06-01 Mark Wielaard <mark@klomp.org>
17522 * java/util/logging/LogManager.java (createInstance): Always add
17523 original exception on warning.
17525 2006-06-01 Lillian Angel <langel@redhat.com>
17527 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17528 (prependCodebase): Fixed check. No dirname was ever considered to
17529 be a file, so every applet fell into the if-statement causing a lot
17530 of classloading problems with the applets.
17532 2006-06-01 Sven de Marothy <sven@physto.se>
17534 Patch submitted by Boris Dusek.
17535 * native/jni/qt-peer/qtmenupeer.cpp
17538 2006-06-01 Roman Kennke <kennke@aicas.com>
17540 * javax/swing/JTable.java
17541 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17542 why the behaviour is like it is.
17543 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17544 (AccessibleJTableHeader): New inner class.
17545 (AccessibleJTableHeaderCell): New inner class.
17546 (AccessibleJTable.lastSelectedRow): New field.
17547 (AccessibleJTable.lastSelectedColumn): New field.
17548 (AccessibleJTable.caption): New field.
17549 (AccessibleJTable.summary): New field.
17550 (AccessibleJTable.rowDescriptions): New field.
17551 (AccessibleJTable.columnDescriptions): New field.
17552 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17553 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17554 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17555 (AccessibleJTable.addAccessibleSelection): Implemented.
17556 (AccessibleJTable.removeAccessibleSelection): Implemented.
17557 (AccessibleJTable.clearAccessibleSelection): Implemented.
17558 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17559 (AccessibleJTable.valueChange): Implemented.
17560 (AccessibleJTable.tableRowsInserted): Implemented.
17561 (AccessibleJTable.tableRowsDeleted): Implemented.
17562 (AccessibleJTable.handleRowChange): New helper method.
17563 (AccessibleJTable.columnAdded): Implemented.
17564 (AccessibleJTable.columnMarginChanged): Implemented.
17565 (AccessibleJTable.columnMoved): Implemented.
17566 (AccessibleJTable.columnRemoved): Implemented.
17567 (AccessibleJTable.columnSelectionChanged): Implemented.
17568 (AccessibleJTable.handleColumnChange): New helper method.
17569 (AccessibleJTable.editingCanceled): Implemented.
17570 (AccessibleJTable.editingStopped): Implemented.
17571 (AccessibleJTable.getAccessibleRow): Implemented.
17572 (AccessibleJTable.getAccessibleColumn): Implemented.
17573 (AccessibleJTable.getAccessibleIndex): Implemented.
17574 (AccessibleJTable.getAccessibleCaption): Implemented.
17575 (AccessibleJTable.setAccessibleCaption): Implemented.
17576 (AccessibleJTable.getAccessibleSummary): Implemented.
17577 (AccessibleJTable.setAccessibleSummary): Implemented.
17578 (AccessibleJTable.getAccessibleRowCount): Implemented.
17579 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17580 (AccessibleJTable.getAccessibleAt): Implemented.
17581 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17582 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17583 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17584 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17585 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17586 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17587 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17588 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17589 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17590 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17591 (AccessibleJTable.isAccessibleSelected): Implemented.
17592 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17593 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17594 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17595 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17596 (getAccessibleContext): Register listeners for the accessibility
17597 class on the JTable.
17599 2006-06-01 Sven de Marothy <sven@physto.se>
17601 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17602 (setPaint): Scale +1 pixel larger.
17604 2006-06-01 Sven de Marothy <sven@physto.se>
17607 * gnu/java/awt/Buffers.java (getData): Reimplement.
17608 * gnu/java/awt/peer/gtk/CairoSurface.java
17609 (getElem, setElem): Call native methods.
17611 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17613 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17615 2006-06-01 Sven de Marothy <sven@physto.se>
17617 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17618 (drawImage): Check for zero size.
17619 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17620 (setFont): Declare new native method.
17621 (GdkTextLayout): Read some attributes.
17622 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17623 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17624 (setFont): New native method.
17626 2006-06-01 Sven de Marothy <sven@physto.se>
17628 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17629 (updateBufferedImage): Fix some errors.
17631 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17633 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17635 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17636 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17637 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17638 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17639 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17640 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17641 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17642 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17643 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17644 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17646 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17648 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17649 * javax/swing/JEditorPane.java: Likewise,
17650 * javax/swing/JFormattedTextField.java: Likewise,
17651 * javax/swing/JLayeredPane.java: Likewise,
17652 * javax/swing/JScrollPane.java: Likewise,
17653 * javax/swing/JSlider.java: Likewise,
17654 * javax/swing/JSpinner.java: Likewise,
17655 * javax/swing/JTree.java: Likewise,
17656 * javax/swing/JViewport.java: Likewise,
17657 * javax/swing/UIDefaults.java: Likewise,
17658 * javax/swing/UIManager.java: Likewise.
17660 2006-06-01 Sven de Marothy <sven@physto.se>
17662 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17663 (BufferedImageGraphics): Cache surfaces.
17664 (updateBufferedImage): Copy directly for certain color models.
17665 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17666 (drawImage): Reimplement.
17668 2006-06-01 Sven de Marothy <sven@physto.se>
17670 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17671 (setPixels): Don't swap, correct size.
17673 2006-05-31 Anthony Green <green@redhat.com>
17676 * java/net/InetSocketAddress.java: Defer getting the host
17677 name until somebody calls InetSocketAddress.getHostName().
17678 Fix "represenation" typo.
17680 2006-06-01 Sven de Marothy <sven@physto.se>
17682 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17683 (updateBufferedImage): Simplify.
17684 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17685 (getPixels): Don't swap.
17687 2006-06-01 Sven de Marothy <sven@physto.se>
17689 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17690 (setGradient): Reimplement.
17692 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17694 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17695 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17696 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17697 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17698 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17699 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17700 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17703 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17705 * javax/swing/table/JTableHeader.java
17706 (getColumnHeaderRenderer): New method,
17707 (getAccessibleColumnHeaderRenderer): Delegate part to new
17708 getColumnHeaderRenderer() method,
17709 (getLocale): Implemented.
17711 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17713 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17714 (cp_gtk_grab_current_drawable): Rename
17715 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17716 cp_gtk_grab_current_drawable, remove static declaration.
17717 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17719 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17720 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17721 Remove prototype of
17722 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17723 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17725 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17726 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17727 cp_gtk_grab_current_drawable here.
17729 2006-05-31 Sven de Marothy <sven@physto.se>
17731 Should fix PR 27835
17732 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17733 (updateBufferedImage): Keep within image bounds.
17735 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17736 Andreas Tobler <a.tobler@schweiz.ch>
17738 * configure.ac: Check for libXrender when the GTK peers are
17739 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17741 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17742 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17743 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17745 2006-05-31 Lillian Angel <langel@redhat.com>
17747 * javax/swing/plaf/basic/BasicProgressBarUI.java
17748 (paintString): Implemented to paint the string vertically.
17750 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17752 * javax/swing/JTable.java
17753 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17754 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17756 (AccessibleJTable.getAccessibleTable()): Likewise,
17757 (getAccessibleContext): Create new context if required.
17759 2006-05-31 Roman Kennke <kennke@aicas.com>
17761 * javax/swing/JTabbedPane.java
17762 (AccessibleJTabbedPane.stateChanged): Implemented.
17763 (Page.getAccessibleStateSet): Implemented.
17764 (Page.getAccessibleIndexInParent): Implemented.
17765 (getAccessibleContext): Add AccessibleJTabbedPane object
17766 as ChangeListener to the JTabbedPane.
17768 2006-05-31 Roman Kennke <kennke@aicas.com>
17770 * javax/swing/JMenuItem.java
17771 (getAccessibleContext): Register accessible object as ChangeListener
17773 (AccessibleJMenuItem.armed): New field.
17774 (AccessibleJMenuItem.focusOwner): New field.
17775 (AccessibleJMenuItem.pressed): New field.
17776 (AccessibleJMenuItem.selected): New field.
17777 (stateChanged): Implemented.
17779 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17781 * javax/swing/ListSelectionModel.java: Added API docs all over.
17783 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17785 * examples/gnu/classpath/examples/swing/FillRect.java
17786 (paintComponent): Optionally paint lines rather than rectangles.
17787 (createContent): Added option to test line painting.
17789 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17791 * javax/swing/event/EventListenerList.java
17792 (getListenerList): Updated API docs.
17794 2006-05-30 Sven de Marothy <sven@physto.se>
17796 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17797 (drawImage): Clip scaled image to dest rectangle.
17799 2006-05-30 Sven de Marothy <sven@physto.se>
17801 * gnu/java/awt/peer/gtk/CairoSurface.java:
17802 (CairoSurface): Convert pixels properly.
17803 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17804 Remove commented-out lines.
17806 2006-05-30 Sven de Marothy <sven@physto.se>
17808 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17809 (drawImage): Use Toolkit to convert to BufferedImage.
17810 * gnu/java/awt/peer/gtk/CairoSurface.java
17811 (CairoSurface(GtkImage)): New Constructor.
17812 (getBufferedImage): New method.
17813 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17814 Don't fill background - FIXME.
17815 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17816 Remove unused methods.
17817 * gnu/java/awt/peer/gtk/GtkImage.java:
17818 (pixbuflock): New field. Methods change to use this lock.
17819 * gnu/java/awt/peer/gtk/GtkToolkit.java
17820 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17822 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17823 (setPixels): Correct length in bytes.
17825 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17827 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17828 System.loadLibrary unconditionally.
17829 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17830 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17831 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17832 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17834 2006-05-30 Mark Wielaard <mark@klomp.org>
17836 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17837 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17838 Mark unused parameters, remove unused variables.
17840 2006-05-30 Sven de Marothy <sven@physto.se>
17842 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17843 (copyArea): Implemented.
17844 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17845 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17846 (copyAreaNative): New method.
17848 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17850 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17851 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17852 for non big endian systems.
17853 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17855 2006-05-30 Roman Kennke <kennke@aicas.com>
17857 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17858 * java/awt/TexturePaint.java
17859 (createContext): Implemented.
17861 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17863 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17866 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17868 * java/awt/Container.java:
17869 (removeAll): Reimplemented, added note.
17871 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17873 * java/awt/Container.java:
17874 (removeAll): Implemented different removal mechanism, added note.
17876 2006-05-30 Lillian Angel <langel@redhat.com>
17879 * java/awt/Component.java:
17880 (translateEvent): Added handling to translate WindowEvents
17881 * java/awt/Window.java:
17882 Removed unneeded imports.
17884 2006-05-30 Mark Wielaard <mark@klomp.org>
17886 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17889 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17891 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17893 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17895 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17896 (clearRect): Do not reuse the fg field, call updateColor.
17897 (drawRaster): Likewise.
17898 (setColor): Call updateColor.
17899 (updateColor): New method.
17901 2006-05-30 Mark Wielaard <mark@klomp.org>
17903 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17904 (PTR_TO_JLONG): Likewise.
17905 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17906 (getPointer): Use new conversion macros.
17907 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17908 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17909 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17911 (setNativeObject): Likewise.
17912 (getNativeObject): Likewise.
17913 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17914 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17916 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17917 Correctly cast XID and pointer values.
17918 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17919 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17920 Mark unused variables.
17921 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17923 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17924 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17925 Remove unused cairographics2d struct.
17926 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17927 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17928 Use new conversion macros.
17929 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17931 2006-05-30 Mark Wielaard <mark@klomp.org>
17933 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17935 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17937 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17938 (copy): Do not reuse the fd field.
17939 (setColor): Do not set the color if the parameter
17941 (translate(double, double): Rewritten to use
17942 AffineTransform.translate.
17944 2006-05-30 Sven de Marothy <sven@physto.se>
17946 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17947 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17948 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17950 * include/Makefile.am
17951 * native/jni/gtk-peer/Makefile.am
17953 * gnu/java/awt/peer/gtk/CairoSurface.java
17954 (getSharedGtkImage): New method.
17955 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17956 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17958 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17959 Support a non-xrender context.
17960 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17962 * gnu/java/awt/peer/gtk/GtkImage.java
17963 * include/gnu_java_awt_peer_gtk_GtkImage.h
17964 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17965 (initFromBuffer): New method.
17966 * native/jni/gtk-peer/gtkpeer.h:
17967 Remove declarations of previouslyremoved methods.
17969 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17971 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17973 2006-05-29 Mark Wielaard <mark@klomp.org>
17975 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17976 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17978 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17979 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17980 early. Remove unused return statement in void function.
17981 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17983 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17984 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17986 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17987 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17989 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17992 2006-05-29 Sven de Marothy <sven@physto.se>
17994 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17995 (setPixels): Remove superfluous return statement.
17997 2006-05-29 Sven de Marothy <sven@physto.se>
17999 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18000 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18001 * gnu/java/awt/peer/gtk/CairoSurface.java
18002 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18003 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18004 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18005 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18006 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18007 * native/jni/gtk-peer/cairographics2d.h
18008 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18009 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18012 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18013 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18014 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18017 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18018 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18019 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18020 (releasePeerGraphicsResource): Moved to Font peer class.
18022 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18023 (createGraphics): Use new context classes.
18025 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18026 Use native BufferedImages where possible.
18028 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18029 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18030 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18031 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18032 renamed to cairoDrawGdkTextLayout.
18034 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18035 (getGraphics): Use ComponentGraphics context.
18036 (createImage): Use native BufferedImage.
18038 * gnu/java/awt/peer/gtk/GtkImage.java:
18039 * include/gnu_java_awt_peer_gtk_GtkImage.h
18040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18041 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18042 Remove drawing methods.
18044 * gnu/java/awt/print/JavaPrinterGraphics.java:
18045 Use CairoSurface instead of GtkImage.
18047 * include/Makefile.am
18048 * native/jni/gtk-peer/Makefile.am
18049 Update for new files.
18051 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18052 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18053 Remove superfluous GtkImage code for GdkPixmaps.
18055 * native/jni/gtk-peer/gtkpeer.h
18056 Remove graphics2d structure.
18058 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18060 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18061 Do not reuse fg in the constructor.
18063 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18065 * java/io/ObjectStreamConstants.java: Added API docs.
18067 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18069 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18070 Take no action if this color is already set.
18072 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18074 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18076 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18077 Optionally paint with translation. (createContent): Added option
18078 to test painting with translation
18080 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18082 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18083 pattern to the default value when null.
18084 Pass field pattern, and not parameter with same name to createFileStream.
18086 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18088 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18089 New class implementing the OS bean.
18090 * gnu/java/lang/management/package.html:
18091 New file to document the gnu.java.lang.management package.
18092 * java/lang/management/ManagementFactory.java:
18093 New class to provide access to the OS bean.
18094 * java/lang/management/OperatingSystemMXBean.java:
18096 * java/lang/management/package.html:
18097 New file to document the java.lang.management package.
18099 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18101 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18104 (SECURITY): Likewise.
18105 (CACERTS): Likewise.
18106 (CACERTS_GKR): Likewise.
18107 (gkrCaCertsPathName): New field.
18108 (jksCaCertsPathName): Likewise.
18109 (selfSignedCertificate): Likewise.
18110 (start): Initialize trusted certificate key stores if -trustcacerts is
18112 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18113 (orderChain): Implemented.
18114 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18115 certificate key stores if -trustcacerts option is specified.
18116 (findTrustInCACerts): Removed.
18117 (getCertPathParameters): New method.
18118 (validate): New method.
18119 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18121 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18123 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18124 (PATTERN_KEY): Likewise.
18125 (DEFAULT_PATTERN): Likewise.
18126 (LIMIT_KEY): Likewise.
18127 (DEFAULT_LIMIT): Likewise.
18128 (COUNT_KEY): Likewise.
18129 (DEFAULT_COUNT): Likewise.
18130 (APPEND_KEY): Likewise.
18131 (DEFAULT_APPEND): Likewise.
18132 (FileHandler()): Use pattern value as set in logging.properties.
18133 Use constants defined above.
18134 (FileHandler(1)): Use constants defined above.
18135 (FileHandler(2)): Likewise.
18136 (FileHandler(3)): Likewise.
18137 (FileHandler(4)): Likewise.
18138 (createFileStream): Likewise.
18140 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18142 * java/util/logging/FileHandler.java: Reverted previous patch.
18143 * java/util/logging/LogManager.java: Likewise.
18145 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18147 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18148 (DEFAULT_PATTERN): Likewise.
18149 (FileHandler()): Use configured pattern property if any; otherwise use a
18150 default value as per RI documentation.
18151 * java/util/logging/LogManager.java (getStringProperty): New method.
18153 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18155 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18157 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18159 * configure.ac (FOUND_CACAO): New automake conditional.
18160 Add --enable-tool-wrappers.
18161 * NEWS: Introduce the --enable-tool-wrappers option.
18162 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18163 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18165 * tools/toolwrapper.c: New file.
18167 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18169 * java/awt/Graphics2D.java: Use full class name for
18170 PrinterJob in javadoc.
18172 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18174 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18175 (callMouseMethod): Likewise.
18177 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18179 * native/jni/java-net/java_net_VMURLConnection.c:
18180 Fix function declarations to specify unused parameters.
18181 * scripts/check_jni_methods.sh:
18182 Remove copies of the same function using uniq.
18184 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18186 * vm/reference/java/net/VMURLConnection.java:
18187 Make package-private and final.
18189 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18191 * examples/gnu/classpath/examples/swing/TableDemo.java
18192 (TModed): Added editor for the icons column.
18193 (createContent): Increase the row height by 2 px.
18195 2006-05-26 Tom Tromey <tromey@redhat.com>
18197 PR classpath/27685:
18198 * java/math/BigInteger.java (modPow): Correctly handle negative
18201 2006-05-26 Tom Tromey <tromey@redhat.com>
18203 * configure.ac: Check for magic.h and -lmagic.
18204 * vm/reference/java/net/VMURLConnection.java: New file.
18205 * include/java_net_VMURLConnection.h: New file.
18206 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18207 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18208 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18210 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18211 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18213 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18215 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18217 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18219 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18220 libjawtgnu.la libjawt.la.
18222 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18224 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18227 2006-05-25 Lillian Angel <langel@redhat.com>
18230 * java/awt/Window.java
18231 (Window): Moved code to helper.
18232 (addWindowFocusListener): New function. Handles focus
18233 listener code. Added code to handle focus lost/gained
18236 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18239 Make pkg-config check for GTK+ >= 2.8.
18241 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18243 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18244 (flush): Remove debugging printfs.
18246 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18248 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18249 (schedule_flush): New function.
18250 (end_drawing_operation): Call schedule_flush.
18252 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18254 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18255 paint performance demo.
18256 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18258 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18260 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18261 Cairo version requirement. Do not mention --enable-gtk-cairo
18263 * NEWS: Add entry for GdkGraphics2D.
18264 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18265 Cairo library and headers.
18266 * .externalToolBuilders/Configure.launch: Remove
18267 --enable-gtk-cairo from configure line.
18268 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18270 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18271 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18272 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18273 useGraphics2D references. Always assume Graphics2D is enabled.
18274 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18275 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18276 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18277 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18278 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18279 useGraphics2D references. Always assume Graphics2D is enabled.
18280 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18281 Graphics2D check. Always assume Graphics2D is enabled.
18282 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18283 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18284 (realize): Remove method.
18285 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18286 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18287 (isRealized): Remove method.
18288 (realize): Implement as a native method. Remove useGraphics2D
18289 references. Always assume Graphics2D is enabled.
18290 * gnu/java/awt/peer/gtk/GtkImage.java,
18291 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18292 GdkGraphics references with GdkGraphics2D references.
18293 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18294 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18295 useGraphics2D references. Always assume Graphics2D is enabled.
18296 * include/Makefile.am (GTKPEER_H_FILES): Remove
18297 gnu_java_awt_peer_gtk_GdkGraphics.h.
18298 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18299 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18300 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18301 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18302 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18303 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18304 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18305 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18306 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18307 (AM_LDFLAGS): Remove CAIRO_LIBS.
18308 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18309 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18311 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18313 2006-05-25 Lillian Angel <langel@redhat.com>
18315 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18316 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18317 Added check to prevent assertion error. If widget->window is null, then
18318 use the parent widget's window to set the cursor on.
18320 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18322 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18325 2006-05-24 Lillian Angel <langel@redhat.com>
18327 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18328 (prependCodeBase): Added check to determine if the documentbase
18329 points to a directory or a file.
18331 2006-05-24 Sven de Marothy <sven@physto.se>
18333 * java/awt/dnd/DragGestureRecognizer.java
18334 (resetRecognizer): Implement.
18335 (fireDragGestureRecognized): Implement.
18337 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18339 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18340 fixed source code formatting.
18342 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18344 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18346 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18348 Reported by Antony Balkisson.
18349 * javax/swing/JTable.java (selectAll): Return without action
18350 if the table is empty.
18352 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18354 * examples/gnu/classpath/examples/swing/TableDemo.java:
18355 (SliderCell): New inner class. (setCustomEditors,
18356 setInformativeHeaders): New fields. (createContent):
18358 * javax/swing/DefaultCellEditor.java
18359 (JComboBoxDelegate.shouldSelectCell): New method.
18360 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18361 * javax/swing/plaf/basic/BasicTableUI.java
18362 (MouseInputHandler.mouseClicked): Start editing on a single
18363 click if the cell editor is not a default cell editor.
18365 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18367 * javax/swing/naming/CompositeName.java,
18368 javax/swing/naming/CompoundName.java:
18371 2006-05-23 Archie Cobbs <archie@dellroad.org>
18373 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18376 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18378 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18379 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18380 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18381 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18382 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18383 * javax/swing/tree/ExpandVetoException.java: Likewise,
18384 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18385 * javax/swing/tree/RowMapper.java: Likewise,
18386 * javax/swing/tree/TreeNode.java: Likewise,
18387 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18388 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18390 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18392 * javax/swing/tree/DefaultTreeCellRenderer.java
18393 (DefaultTreeCellRenderer): Changed key for
18394 setBackgroundNonSelectionColor(),
18395 plus API docs all over.
18397 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18400 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18401 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18402 Initialise in constructor. (columnMoved): Cancel editing.
18403 (createDefaultEditors): Rewritten. (editCellAt):
18404 Just invert the value if this is a boolean cell.
18405 (initialiseLocalVars): Do not initialise renderer and editor tables.
18406 (setUI): Create editors and renderers here.
18408 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18410 * examples/gnu/classpath/examples/awt/Demo.java:
18411 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18412 instance as subframe.
18413 (ResolutionWindow): New inner class.
18414 (FullscreenWindow): New inner class.
18416 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18419 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18420 Set horizontal alignment to centered.
18422 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18424 * javax/accessibility/AccessibleContext.java
18425 (getAccessibleComponent): Fixed typo in docs,
18426 * javax/swing/JLabel.java:
18427 (AccessibleJLabel.getAccessibleName): Check for explicit
18429 * javax/swing/JTableHeader.java
18430 (AccessibleJTableHeaderEntry.columnIndex): New field,
18431 (AccessibleJTableHeaderEntry.parent): New field,
18432 (AccessibleJTableHeaderEntry.table): New field,
18433 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18435 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18437 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18438 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18439 (AccessibleJTableHeaderEntry.contains): Implemented,
18440 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18441 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18442 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18443 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18444 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18445 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18446 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18447 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18448 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18449 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18450 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18451 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18452 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18453 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18454 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18455 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18456 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18457 (AccessibleJTableHeaderEntry.getFont): Implemented,
18458 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18459 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18460 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18461 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18462 (AccessibleJTableHeaderEntry.getSize): Implemented,
18463 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18464 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18465 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18466 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18467 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18468 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18470 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18471 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18472 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18473 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18474 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18475 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18476 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18477 (AccessibleJTableHeaderEntry.setFont): Implemented,
18478 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18479 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18480 (AccessibleJTableHeaderEntry.setSize): Implemented,
18481 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18482 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18483 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18484 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18485 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18487 2006-05-22 Tom Tromey <tromey@redhat.com>
18491 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18493 * javax/swing/JLabel.java
18494 (AccessibleJLabel.getAccessibleName): New method (override),
18495 (setLabelFor): Fire 'labelFor' property change event before other
18498 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18500 * javax/swing/JLabel.java
18501 (AccessibleJLabel.getAccessibleRole): New method (override).
18503 2006-05-22 Tom Tromey <tromey@redhat.com>
18505 * resource/gnu/classpath/tools/serialver/messages.properties: New
18507 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18508 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18510 (classpath): Likewise.
18513 (addFileURL): New method.
18514 (getClassLoader): Likewise.
18515 (printMessage): Likewise.
18517 2006-05-22 Tom Tromey <tromey@redhat.com>
18519 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18521 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18523 * javax/swing/JTable.java (doLayout): In the column
18524 resize mode, only repaing the changed part of the table.
18525 (getLeftResizingBoundary): New method.
18527 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18529 * javax/naming/spi/InitialContextFactory.java,
18530 javax/naming/spi/InitialContextFactoryBuilder.java,
18531 javax/naming/spi/NamingManager.java,
18532 javax/naming/spi/ObjectFactory.java,
18533 javax/naming/spi/ResolveResult.java,
18534 javax/naming/spi/Resolver.java,
18535 javax/naming/spi/StateFactory.java: Documented.
18537 2006-05-21 Tom Tromey <tromey@redhat.com>
18539 PR classpath/27688:
18540 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18542 (initSet): Removed.
18543 (shouldExtract): Removed.
18545 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18546 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18549 (allItems): New field.
18550 (run): Initialize it.
18553 2006-05-22 Sven de Marothy <sven@physto.se>
18555 * java/nio/CharBuffer.java
18556 (wrap): Fix bounds checking.
18558 2004-08-26 Tom Tromey <tromey@redhat.com>
18560 * java/io/OutputStream.java
18561 (OutputStream): Implements Closeable, Flushable.
18563 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18565 * java/io/ObjectOutputStream.java:
18566 (writeObject(Object)): Added enum support.
18567 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18568 * java/io/ObjectStreamClass.java:
18569 (isEnum()): New package-private method.
18570 (setFlags(Class)): Added enum support.
18571 * java/io/ObjectStreamConstants.java:
18574 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18576 * java/io/ObjectInputStream.java:
18577 (parseContent(byte)): Added enum support.
18578 * java/io/ObjectStreamConstants.java:
18580 (TC_MAX): Changed to new maximum, TC_ENUM.
18582 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18584 * java/beans/beancontext/BeanContextSupport.java:
18585 (instantiateChild(String)): Implemented.
18587 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18589 * java/beans/beancontext/BeanContextSupport.java:
18590 (add(Object)): Add further documentation.
18591 (isEmpty()): Documented.
18592 (propertyChange(PropertyChangeEvent)): Implemented.
18593 (remove(Object)): Documented.
18594 (remove(Object,boolean)): Documented and implemented.
18595 (vetoableChange(PropertyChangeEvent)): Marked as
18596 implemented (only subclasses appear to need this).
18598 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18600 * java/beans/beancontext/BeanContextSupport.java:
18601 (add(Object)): Implement support for the child being
18602 a BeanContextChild.
18603 (avoidingGui()): Implemented.
18604 (dontUseGui()): Likewise.
18605 (needsGui()): Likewise.
18606 (okToUseGui()): Likewise.
18608 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18610 * javax/naming/Context.java,
18611 javax/naming/ContextNotEmptyException.java,
18612 javax/naming/Reference.java: Documented.
18614 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18616 * javax/swing/text/html/MinimalHTMLWriter.java
18617 (writeComponent, writeImage): Declare that the method
18618 may throw the IOException.
18620 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18623 * javax/naming/InitialContext.java (colon_list): Changed type to
18624 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18625 (merge): Rewritten.
18627 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18629 * javax/naming/InitialContext.java: Documented.
18631 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18633 * javax/naming/NameParser.java,
18634 javax/naming/NamingEnumeration.java,
18635 javax/naming/PartialResultException.java,
18636 javax/naming/SizeLimitExceededException.java,
18637 javax/naming/spi/ObjectFactory.java,
18638 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18640 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18642 * gnu/java/net/loader/JarURLLoader.java:
18643 Use Map.Entry instead of LinkedHashMap.Entry
18645 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18647 * javax/naming/Context.java: Documented.
18649 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18651 * javax/naming/Referenceable.java: Documented.
18652 * javax/naming/spi/NamingManager.java: Documented.
18654 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18656 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18657 to messages.properties.
18658 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18659 Renamed to messages.properties.
18660 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18662 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18663 Renamed from MessageBundle.properties.
18664 Added copyright notice.
18665 * resource/gnu/classpath/tools/keytool/messages.properties:
18667 * tools/gnu/classpath/tools/jarsigner/Messages.java
18668 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18669 (getFormattedString): Fixed a spelling mistake.
18670 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18672 2006-05-20 Sven de Marothy <sven@physto.se>
18674 * gnu/java/awt/font/opentype/NameDecoder.java
18676 (getName): Use getShort instead of getChar(), fix PS name.
18677 (decodeName): New method.
18678 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18679 (getSubFamilyName): Implement.
18680 (getPostScriptName): Use the NameDecoder class instead.
18681 (parsePSName): Removed.
18684 2006-05-20 Sven de Marothy <sven@physto.se>
18686 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18687 (getTrueTypeTable): New native method.
18688 (getPostScriptName): Reimplement.
18689 (parsePSName): New method.
18690 (getNumGlyphs): Implement.
18691 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18692 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18693 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18694 New function. File is now explicitly dependent on FT2.
18696 2006-05-20 Tom Tromey <tromey@redhat.com>
18698 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18699 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18701 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18702 (HandleFile): New class.
18703 (input, output, encoding, reversed): New fields.
18704 (createParser): New method.
18707 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18708 (notifyFile): Throws OptionException.
18710 2006-05-20 Tom Tromey <tromey@redhat.com>
18712 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18715 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18717 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18718 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18721 2006-05-20 Sven de Marothy <sven@physto.se>
18723 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18725 2006-05-20 Sven de Marothy <sven@physto.se>
18727 * gnu/java/awt/print/JavaPrinterJob.java
18728 (print): Use PostScriptGraphics2D.
18729 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18731 2006-05-20 Sven de Marothy <sven@physto.se>
18733 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18735 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18737 * gnu/java/security/OID.java: Updated copyright year.
18738 (OID): Removed unused Javadoc param tag.
18739 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18740 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18742 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18744 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18746 Added trace/debug statements.
18747 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18748 Entry. Also ensure that any previous entry for this alias is removed
18749 before a new one is added.
18750 (engineGetKey): Do not trace/log passwords.
18751 Trace key's class name only.
18752 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18753 Certificate Entry. Also ensure that previous entry for this alias is
18754 removed before a new one is added.
18755 (engineLoad): Do not trace/log passwords.
18756 (engineStore): Likewise.
18757 (engineSize): Use size of enumeration instead of collection size.
18759 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18761 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18762 (toString): New method.
18763 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18764 Do not trace/log passwords.
18765 Set masked to false before decoding envelope.
18766 Do not set payload to null.
18767 (encrypt): Set masked to true.
18768 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18769 Do not trace/log passwords.
18770 Set masked to false before decoding envelope.
18771 Do not set payload to null.
18772 Added trace/debug statements.
18773 (authenticate): Do not trace/log passwords.
18774 Set masked to true.
18775 Added trace/debug statements.
18776 (getMac): Added trace/debug statements.
18777 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18778 (remove(String)): Changed the signature to return a boolean.
18779 (toString): New method.
18780 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18782 (getCertificate): Likewise.
18783 (putCertificate): Likewise.
18785 Do not trace/log passwords.
18787 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18788 Do not trace/log passwords.
18789 Added more trace/logging statements.
18790 (putPrivateKey): Do not trace/log passwords.
18791 Trace only key's class name.
18793 (containsPublicKey): Formatting.
18794 (getPublicKey): Likewise.
18795 Trace only key's class name.
18796 (putPublicKey): Trace only key's class name.
18797 (containsCertPath): Formatting.
18798 (getCertPath): Likewise.
18799 (putCertPath): Likewise.
18800 (load): Do not trace/log passwords.
18803 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18804 (add): Do not set payload to null.
18805 Added trace/debug statements.
18806 (containsAlias): Added trace/debug statements.
18808 (remove(Entry)): Likewise.
18809 (remove(String)): Likewise.
18810 Changed the signature to return a boolean.
18811 Do not set payload to null unless really removed.
18812 (toString): New method.
18813 (decodeEnvelope): Clear entries before proceeding.
18814 (makeAliasList): Added trace/debug statements.
18815 Ensure only non-null aliases and alias-lists are added.
18816 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18817 (TYPES): New constant.
18818 (toString): New method.
18819 (defaultDecode): Add trace/debug statement.
18821 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18823 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18824 Increased visibility.
18825 (setup): Do not trace/log passwords.
18826 (parsed): Was not setting correct (rfc) field; fixed.
18827 (print1Chain): Formatting.
18828 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18829 Do not trace/log passwords.
18830 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18831 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18832 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18833 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18834 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18835 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18836 (orderChain): Added FIXME.
18837 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18838 Do not trace/log passwords.
18839 Removed commented out code.
18840 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18841 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18842 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18843 (setKeystoreURLParam): Likewise.
18844 (setKeystorePasswordParam): Do not trace/log passwords.
18845 (saveKeyStore): Likewise.
18847 2006-05-19 Roman Kennke <kennke@aicas.com>
18849 * gnu/java/awt/java2d/AbstractGraphics2D.java
18851 (pixel): Removed obsolete field.
18852 (draw(Shape)): Removed commented out code.
18853 (drawImage): Formatting.
18854 (drawString): Added optimization hook.
18855 (setPaint): Removed rawSetForeground().
18856 (getFontRenderContext): Return context with correct transform.
18857 (drawGlyphVector): Draw complete outline in one go.
18858 (copyArea): Added optimization hook.
18859 (clearRect): Added optimization hook.
18860 (drawImage): Added optimization hook.
18861 (fillShape): (Temporarily) Set antialiasing off by default for
18862 font rendering. Adjust the shape by some bits to improve rendering.
18863 Pass clip bounds to the render methods.
18864 (drawPixel): Removed.
18865 (rawSetPixel): Removed.
18866 (rawSetForeground): Removed.
18867 (rawDrawLine): Default impl calls standard pipeline.
18868 (rawDrawString): New method, calls standard pipeline for rendering.
18869 (rawClearRect): New method, calls standard pipeline for rendering.
18870 (rawFillRect): New method, calls standard pipeline for rendering.
18871 (rawDrawImage): New method, calls standard pipeline for rendering.
18872 (rawCopyArea): New method.
18873 (copyAreaImpl): New method.
18874 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18876 (fillShapeAntialias): Fixed AA rendering.
18877 (fillScanlineAA): Fixed AA rendering.
18878 (getSegments): Take offset into account.
18880 2006-05-19 Sven de Marothy <sven@physto.se>
18882 * javax/swing/text/AbstractWriter.java
18883 (getText): Fix parameters (start, length) not (start, end).
18885 2006-05-19 Tom Tromey <tromey@redhat.com>
18887 PR classpath/27444:
18888 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18889 Changed return type.
18890 * java/net/URLClassLoader.java (urlloaders): Removed.
18891 (addURLImpl): Updated.
18892 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18893 (indexSet): Likewise.
18894 (classPath): Changed type.
18895 (JarURLLoader): New constructor.
18896 (initialize): New method.
18897 (getResource): Use index set if it exists.
18898 (getClassPath): Updated.
18899 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18900 (prefixes): New field.
18901 (headers): Removed.
18902 (IndexListParser): Fill in prefixes.
18903 (clearAll): Clear prefixes.
18904 (getHeaders): Changed return type.
18906 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18908 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18909 (MouseInputHandler.mouseExitted): No nothing there.
18910 (MouseInputHandler.endDragging): Move column to the
18911 first/last position if released outside the horizontal
18914 2006-05-19 Lillian Angel <langel@redhat.com>
18916 * java/awt/font/GlyphVector.java
18917 (getGlyphCharIndex): Implemented.
18918 (getGlyphCharIndices): Implemented.
18919 (getGlyphOutline): Implemented.
18920 (getGlyphVisualBounds): Implemented.
18921 (getGlyphVisualBounds): Implemented.
18922 (getPixelBounds): Implemented.
18923 (getLayoutFlags): Implemented.
18925 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18927 * java/awt/LightweightDispatcher.java: Added field dragButton and
18928 documentation for it.
18929 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18930 added subexpression to if-clause in MOUSE_RELEASED case.
18932 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18934 * javax/swing/metal/MetalButtonUI.java:
18935 (update): Removed some subexpression from if-clause and call
18936 updateWithGradient.
18937 (updateWithGradient): New method.
18939 2006-05-19 Roman Kennke <kennke@aicas.com>
18941 * javax/swing/JComponent.java
18942 (findOverlapFreeParent): Implemented algorithm for finding
18943 overlapping in component hierarchy.
18945 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18947 * java/lang/Thread.java
18948 (contextClassLoaderIsSystemClassLoader): New field.
18949 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18950 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18951 and set contextClassLoaderIsSystemClassLoader.
18952 (Thread(ThreadGroup,Runnable,String,long)):
18953 Set contextClassLoaderIsSystemClassLoader.
18954 (createAnonymousThreadName): New method.
18955 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18956 and fixed security check.
18957 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18959 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18961 * javax/swing/plaf/basic/BasicToolBarUI.java:
18962 (createNonRolloverBorder): Rewritten.
18963 (createRolloverBorder): Rewritten.
18964 (setToNonRolloverBorder): Store old border instance in hashtable.
18965 (setToRolloverBorder): Store old border instance in hashtable, use
18966 AbstractButton instead of JButton in statements.
18967 (setBorderToNormal): Rewritten.
18968 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18969 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18970 ToolBar.nonrolloverBorder.
18972 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18974 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18975 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18977 2006-05-18 Lillian Angel <langel@redhat.com>
18979 * java/awt/font/GlyphMetrics.java
18980 (getLSB): Implemented.
18981 (getRSB): Implemented.
18983 2006-05-18 Lillian Angel <langel@redhat.com>
18985 * java/awt/font/GraphicAttribute.java:
18986 Documented entire class.
18987 (GraphicAttribute): Added check for alignment.
18988 (getBounds): Implemented.
18989 (getJustificationInfo): Implemented.
18991 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18993 * java/awt/LightweightDispatcher.java:
18994 (handleMouseEvent): Added note, added subexpression to if-statement.
18996 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18998 * javax/swing/plaf/basic/BasicToolBarUI.java:
18999 (navigateFocusedComp): Marked as stub.
19000 (createRolloverBorder): Create a different Border instance, added note.
19001 * javax/swing/plaf/metal/MetalBorders.java:
19002 (ButtonBorder): Added documentation.
19003 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19004 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19005 subexpression into if-else cascade, added note.
19007 2006-05-18 Lillian Angel <langel@redhat.com>
19009 * java/awt/font/ShapeGraphicAttribute.java:
19010 Documented entire class.
19011 (ShapeGraphicAttribute): Initialized bounds field.
19012 (draw): Implemented.
19013 (equals): Implemented.
19014 (getAdvance): Implemented.
19015 (getAscent): Implemented.
19016 (getBounds): Implemented.
19017 (getDescent): Implemented.
19018 (hashCode): Implemented.
19020 2006-05-18 Roman Kennke <kennke@aicas.com>
19022 * javax/swing/CellRendererPane.java
19023 (CellRendererPane): Set CellRendererPane to invisible.
19025 2006-05-18 Roman Kennke <kennke@aicas.com>
19027 * gnu/java/awt/peer/gtk/GdkGraphics.java
19028 (clipRect): Removed old intersection statement.
19030 2006-05-18 Roman Kennke <kennke@aicas.com>
19032 * gnu/java/awt/peer/gtk/GdkGraphics.java
19033 (clipRect): Don't use Rectangle.intersection() to avoid creating
19034 2 unnecessary Rectangle instances and fix a clipping problem.
19035 (computeIntersection): New helper method, adapted from SwingUtilities.
19037 2006-05-18 Roman Kennke <kennke@aicas.com>
19039 * javax/swing/JComponent.java
19040 (isCompletelyDirty): Removed.
19041 (paint): Don't mark children as clean, this is no longer necessary.
19042 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19043 painting when something overlaps the viewport (like a popup/menu).
19044 * javax/swing/RepaintManager.java
19045 (currentRepaintManagers): Made package private to avoid accessor
19047 (dirtyComponents): Made private.
19048 (dirtyComponentsWork): Made private.
19049 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19050 component-local not parent-local. Do not set flag in JComponent.
19051 (markCompletelyClean): Don't set JComponent flag.
19052 (isCompletelyDirty): Rewritten to return true when the complete
19053 component is marked dirty.
19054 (paintDirtyRegions): Improved parent-merging so that the merged-in
19055 components don't get painted too. 'Outsourced' the compilation
19056 of the repaint root components.
19057 (compileRepaintRoots): New helper method.
19059 2006-05-18 Roman Kennke <kennke@aicas.com>
19062 * javax/swing/text/GapContent.java
19063 (GapContentPosition(int)): Use adapted binarySearch method to
19064 allow for having a greater array than number of entries.
19065 (numMarks): New field, holds the end of the marks list.
19066 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19067 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19068 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19069 (setPositionsInRange): Changed signature to narrow the purpose and
19070 special cases inside. Reimplemented to crunch together equal marks.
19071 (adjustPositionsInRange): Added assertion to make sure we do
19072 not accidentally change the order of the mark. Added some debug
19073 output for a special case of which I don't know if it even exists.
19074 (resetMarksAtZero): Made impl simpler.
19075 (dumpMarks): New debug helper method.
19076 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19077 (binarySearch): New method. An adaption of Arrays.binarySearch()
19078 that allows for an maxIndex parameter.
19080 2006-05-18 Roman Kennke <kennke@aicas.com>
19082 * javax/swing/KeyboardManager.java
19083 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19085 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19087 * gnu/java/net/loader/JarURLLoader.java
19088 (JarURLLoader): Use a slightly more efficient URL constructor.
19090 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19092 * gnu/java/awt/print/JavaPrinterGraphics.java
19093 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19094 (drawImage(Image, int, int, ImageObserver)): Likewise,
19095 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19096 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19097 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19098 ImageObserver)): Likewise,
19099 (drawImage(Image, int, int, int, int, int, int, int, int,
19100 ImageObserver)): Likewise.
19102 2006-05-17 Tom Tromey <tromey@redhat.com>
19104 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19107 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19109 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19110 * javax/swing/border/BevelBorder.java: Likewise,
19111 * javax/swing/border/CompoundBorder.java: Likewise,
19112 * javax/swing/border/TitledBorder.java: Likewise.
19114 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19116 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19117 * javax/swing/table/DefaultTableModel.java: Likewise,
19118 * javax/swing/table/TableCellEditor.java: Likewise,
19119 * javax/swing/table/TableCellRenderer.java: Likewise.
19121 2006-05-17 Lillian Angel <langel@redhat.com>
19123 * java/awt/font/ImageGraphicAttribute.java:
19124 Documented entire class.
19125 (ImageGraphicAttribute): Changed to call this.
19126 (ImageGraphicAttribute): Implemented.
19127 (draw): Implemented.
19128 (equals): Implemented.
19129 (getAdvance): Implemented.
19130 (getAscent): Implemented.
19131 (getBounds): Implemented.
19132 (getDescent): Implemented.
19133 (hashCode): Implemented.
19134 * javax/swing/text/html/HTMLDocument.java
19135 (create): Removed. Sufficent enough for
19136 super to be called.
19137 (insert): Likewise.
19138 (insertUpdate): Likewise.
19139 (processHTMLFrameHyperlinkEvent): Marked as stub.
19140 (start): Removed FIXME.
19142 (start): Called super.
19143 (end): Called super.
19144 (getElement): removed unneeded code.
19145 (setParagraphAttribute): Removed. Sufficent enough
19146 for super to be called.
19147 (fireChangedUpdate): Likewise.
19148 (fireUndoableEditUpdate): Likewise.
19150 2006-05-17 Lillian Angel <langel@redhat.com>
19152 * java/awt/TexturePaint.java:
19153 Added documentation for class and all functions.
19154 (getTransparency): Implemented.
19156 2006-05-17 Roman Kennke <kennke@aicas.com>
19158 * java/awt/LightweightDispatcher.java
19159 (findTarget): Translate point to child components.
19161 2006-05-17 Roman Kennke <kennke@aicas.com>
19164 * javax/swing/text/GapContent.java
19165 (GapContentPosition): Do no more implement Comparable.
19166 (GapContentPosition.mark): Removed field.
19167 (GapContentPosition.index): New field to hold the index into
19168 the positions array.
19169 (GapContentPosition(int)): Rewritten to use the new indirection
19170 to the positions array.
19171 (GapContentPosition.compareTo): Removed.
19172 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19173 positionMarks array.
19174 (WeakPositionComparator): Removed obsolete class.
19175 (positions): Changed type to WeakHashMap.
19176 (positionMarks): New field, holds the marks of the positions.
19177 (GapContent): Initialize new fields.
19178 (createPosition): Rewritten to use the new indirection
19179 to the positions array.
19180 (getPositionsInRange): Rewritten to use the new indirection
19181 to the positions array.
19182 (setPositionsInRange): Rewritten to use the new indirection
19183 to the positions array.
19184 (adjustPositionsInRange): Rewritten to use the new indirection
19185 to the positions array.
19186 (insertMark): New helper method.
19187 (clearPositionReferences): Removed obsolete methods.
19189 2006-05-17 Lillian Angel <langel@redhat.com>
19191 * java/awt/GraphicsConfiguration.java
19192 (getImageCapabilities): Implemented.
19193 (getBufferCapabilities): Implemented.
19195 2006-05-17 Lillian Angel <langel@redhat.com>
19197 * javax/swing/plaf/basic/BasicSliderUI.java
19198 (focusGained): Implemented.
19199 (focusLost): Implemented.
19200 (paint): Added code to paint the focus.
19201 * javax/swing/plaf/metal/MetalSliderUI.java
19202 (paintThumb): Added code to set the thumbColor.
19203 (paintFocus): Implemented properly.
19205 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19208 * javax/naming/spi/NamingManager.java (getURLContext):
19209 Always search for the factory class in all possible places
19210 and use VMStackWalker.
19211 (forName): New method.
19213 2006-05-17 Roman Kennke <kennke@aicas.com>
19215 * java/awt/LightweightDispatcher.java
19216 (handleMouseEvent): Fixed search algorithm for finding the
19217 mouse event target.
19218 (findTarget): Fixed search algorithm for finding the
19219 mouse event target.
19221 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19223 * javax/naming/spi/NamingManager.java: Documented.
19225 2006-05-17 Mark Wielaard <mark@klomp.org>
19227 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19228 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19229 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19230 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19232 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19235 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19237 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19239 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19241 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19244 * java/awt/LightweightDispatcher.java:
19245 (handleMouseEvent): Moved assignment into switch-block, added notes.
19247 2006-05-16 Lillian Angel <langel@redhat.com>
19249 * javax/swing/text/StyleContext.java:
19250 Changed staticAttributeKeys to be a Hashtable.
19251 (getStaticAttribute): Implemented.
19252 (getStaticAttributeKey): Implemented.
19253 (readAttributeSet): Implemented.
19254 (writeAttributeSet): Added FIXME. Not sure how
19256 (readAttributes): Implemented.
19257 (writeAttributes): Implemented.
19258 (registerStaticAttibuteKey): Fixed to add key to
19261 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19263 * javax/swing/DefaultButtonModel.java
19264 (setGroup): Removed event notification.
19266 2006-05-16 Lillian Angel <langel@redhat.com>
19268 * javax/swing/plaf/basic/BasicComboBoxUI.java
19269 (installKeyboardActions): Implemented.
19270 (uninstallKeyboardActions): Implemented.
19271 * javax/swing/plaf/basic/BasicComboPopup.java
19272 (uninstallKeyboardActions): Removed FIXME. Nothing
19274 (installKeyboardActions): Likewise.
19275 * javax/swing/plaf/basic/BasicTextUI.java
19276 (uninstallKeyboardActions): Implemented.
19277 * javax/swing/plaf/basic/BasicTreeUI.java:
19278 Added field for hashColor.
19279 Marked stub methods.
19280 (getHashColor): Implemented to use field.
19281 (setHashColor): Likewise.
19282 (getRowX): Implemented.
19283 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19285 2006-05-16 Roman Kennke <kennke@aicas.com>
19288 * javax/swing/JTable.java
19289 (rowHeights): New field.
19290 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19291 in order to initialize rowHeights correctly.
19292 (tableChanged): Nullify rowHeights when model changes. Only
19293 create default columns from model when corresponding property
19294 is set. Sync table model with rowHeights as appropriate.
19295 (valueChanged): Call repaint with the correct rectangle.
19296 (rowAtPoint): Handle rowHeights.
19297 (getCellRect): Mostly rewritten. Check for boundaries
19298 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19299 Handle component orientation. Round correctly.
19300 (getRowHeight(int)): Implemented for variable row height.
19301 (setRowHeight(int,int)): Implemented for variable row height.
19302 (setRowHeight(int)): Nullify rowHeights.
19303 (setModel): Notify tableChanged().
19304 * javax/swing/plaf/basic/BasicTableUI.java
19305 (installDefaults): Create rendererPane in installUI.
19306 (installUI): Create and install rendererPane.
19307 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19309 (paint): Correctly handle rowMargin.
19311 2006-05-16 Tom Tromey <tromey@redhat.com>
19313 PR classpath/27563:
19314 * java/text/NumberFormat.java (getIntegerInstance): Use
19315 "integerFormat", not "numberFormat".
19317 2006-05-16 Lillian Angel <langel@redhat.com>
19319 * javax/swing/JPopupMenu.java
19320 (addMenuKeyListener): Implemented.
19321 (removeMenuKeyListener): Implemented.
19322 (getMenuKeyListeners): Implemented.
19323 * javax/swing/ProgressMonitor.java:
19324 Added new protected field.
19325 (getAccessibleContext): Implemented.
19327 2006-05-16 Lillian Angel <langel@redhat.com>
19329 * javax/swing/JFileChooser.java:
19330 Added new private field.
19331 (setDragEnabled): Implemented.
19332 (getDragEnabled): Implemented.
19334 2006-05-16 Lillian Angel <langel@redhat.com>
19336 * java/awt/Window.java
19337 (applyResourceBundle): Implemented.
19339 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19341 * javax/swing/DefaultButtonModel.java
19342 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19345 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19347 * javax/swing/JList.java (getSelectedValues):
19348 Ask the value for the indexed array element.
19350 2006-05-16 Roman Kennke <kennke@aicas.com>
19352 * javax/swing/JTable.java
19353 (valueChanged): Also repaint when table has only 1 row. Fixed
19354 repaint rectangle to span the entire changed rows.
19356 2006-05-16 Roman Kennke <kennke@aicas.com>
19359 * javax/swing/JOptionPane.java
19360 (startModal): Rewritten. The events are now dispatched, even
19361 when the event dispatch thread gets blocked by the call
19362 to this method. Also, mouse events get intercepted outside the
19365 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19367 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19368 (BorderListener.mouseDragged):Do not set cursor
19369 if the frame is being dragged.
19371 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19373 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19374 (BorderListener): Rewritten. (InternalFrameBorder):
19375 Made package private.
19376 (InternalFrameBorder.offset):
19377 Renamed to cornerSize, made package private.
19378 (bSize): Made package private.
19380 2006-05-16 Roman Kennke <kennke@aicas.com>
19382 * javax/swing/JMenu.java
19383 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19384 (AccessibleJMenu.getAccessibleChild): Implemented.
19385 (AccessibleJMenu.getAccessibleSelection): Implemented.
19386 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19387 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19388 (AccessibleJMenu.getAccessibleRole): Documented.
19389 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19390 (AccessibleJMenu.addAccessibleSelection): Implemented.
19391 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19392 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19393 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19394 (createPath): New helper method.
19396 2006-05-15 Tom Tromey <tromey@redhat.com>
19398 * java/text/MessageFormat.java (format): Now varargs.
19400 2006-05-15 Tom Tromey <tromey@redhat.com>
19402 * java/lang/Thread.java (State): Fixed typo.
19404 2006-05-15 Tom Tromey <tromey@redhat.com>
19406 * java/net/URLClassLoader.java: Moved inner classes to
19407 gnu.java.net.loader.
19408 (factoryCache): Changed type.
19409 (URL_LOADER_PREFIX): New constant.
19410 (URLClassLoader): Updated for new factoryCache.
19411 (addURLImpl): Use reflection to search for a loader.
19412 (findClass): Use getClass method on URLLoader.
19413 (getURLStreamHandler): Removed.
19414 * gnu/java/net/loader/URLLoader.java: New file, extracted
19415 from URLClassLoader.
19416 * gnu/java/net/loader/Resource.java: Likewise.
19417 * gnu/java/net/loader/FileResource.java: Likewise.
19418 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19419 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19420 * gnu/java/net/loader/JarURLResource.java: Likewise.
19421 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19422 * gnu/java/net/loader/RemoteResource.java: Likewise.
19423 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19425 2006-05-15 Sven de Marothy <sven@physto.se>
19427 * native/target/generic/target_generic_network.h:
19428 Add a pair of parenthesis.
19430 2006-05-15 Mark Wielaard <mark@klomp.org>
19432 * java/awt/Graphics2D.java: Remove PrinterJob import.
19434 2006-05-15 Mark Wielaard <mark@klomp.org>
19436 * doc/www.gnu.org/announce/20060515.wml: New file.
19437 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19438 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19440 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19442 * NEWS: Announce inclusion of gcjwebplugin.
19443 Announce inclusion of appletviewer.
19444 * INSTALL: Note gcjwebplugin dependencies.
19446 2006-05-15 Mark Wielaard <mark@klomp.org>
19448 * configure.ac (VERSION): Set to 0.91-generics.
19450 2006-05-15 Mark Wielaard <mark@klomp.org>
19452 * NEWS: Add release date and VMClassLoader.getBootPackages()
19455 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19457 * README: Added CACAO to list of VMs.
19459 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19461 * javax/swing/RepaintManager.java (paintDirtyRegions):
19462 Break loop as soon as the component repaint is merged
19463 with some parent. (ComponentComparator): Removed.
19464 (comparator): Removed.
19466 2006-05-15 Roman Kennke <kennke@aicas.com>
19468 * javax/swing/border/TitledBorder.java
19469 (paintBorderWithTitle): Fixed indentation.
19471 2006-05-15 Roman Kennke <kennke@aicas.com>
19473 * javax/swing/border/TitledBorder.java
19474 (layoutBorderWithTitle): Fetch border using getBorder() instead
19475 of using the border field directly. Allows for the use of
19476 an UI supplied border in the case when a null border was set.
19477 Fixed component orientation.
19478 (paintBorderWithTitle): Fetch border using getBorder() instead
19479 of using the border field directly. Allows for the use of
19480 an UI supplied border in the case when a null border was set.
19482 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19484 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19485 (contains): New method.
19487 2006-05-15 Tom Tromey <tromey@redhat.com>
19489 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19491 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19494 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19496 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19498 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19499 region. (paintDirtyRegions): Rewritten.
19501 2006-05-15 Tom Tromey <tromey@redhat.com>
19503 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19505 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19507 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19508 (run): Use MessageFormat.
19509 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19510 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19511 (writeFile): Use MessageFormat.
19513 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19515 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19516 instead of directly calling the class loader.
19518 2006-05-15 Tom Tromey <tromey@redhat.com>
19520 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19521 Removed old comment.
19522 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19523 Externalized strings.
19524 (getVersionString): Use MessageFormat.
19525 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19526 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19527 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19528 (getArgument): Use a MessageFormat.
19529 (handleLongOption): Likewise.
19532 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19535 * javax/swing/text/FieldView.java:
19536 (paint): Calculate intersection between clip and allocation area and
19537 set that as new clip.
19539 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19541 * javax/swing/text/JTextComponent.java: Marked stub methods.
19543 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19545 * javax/swing/JTable.java: Marked stub methods.
19547 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19549 * tools/gnu/classpath/tools/jarsigner/Main.java:
19550 Increased visibility of fields used by parser anonymous classes.
19551 (KEYTOOL_TOOL): New constant.
19552 (cmdLineParser): Changed type to ToolParser.
19553 (fileAndAlias): new field.
19554 (main): Don't catch OptionException.
19555 (processArgs): Removed validation checks; now handled by ToolParser.
19556 (getParser): Removed.
19557 (ToolParserCallback): New inner class.
19558 (ToolParser): Likewise.
19560 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19562 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19565 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19567 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19568 endResizingFrame): Do not repaint, unless in the outline mode.
19570 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19572 * javax/swing/JTabbedPane.java
19573 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19574 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19575 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19576 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19577 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19578 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19579 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19580 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19581 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19582 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19583 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19584 (Page.getAccessibleName): Implemented.
19586 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19588 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19589 Do not repaint nor revalidate here.
19591 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19593 * javax/swing/RepaintManager.java (addDirtyRegion):
19594 If there is a lightweight parent, recursively add the corresponding
19595 region of the parent instead.
19597 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19599 * java/awt/Graphics2D.java: Added some API doc comments.
19601 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19603 * javax/swing/JTabbedPane.java
19604 (paramString): Reimplemented,
19605 (getAccessibleContext): Added API docs.
19607 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19609 * javax/swing/JFileChooser.java
19610 (paramString): Reimplemented,
19611 (getAccessibleContext): Updated API docs,
19612 (AccessibleJFileChooser): Added API docs.
19614 2006-05-14 Tom Tromey <tromey@redhat.com>
19616 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19618 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19620 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19622 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19623 validation to JarParser.
19624 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19625 (run): Moved validation to JarParser. Don't throw OptionException.
19626 (initializeParser): Create a JarParser.
19627 (main): Don't catch OptionException.
19628 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19630 (validate): New method.
19631 (parse): Call it. Print '-help' in error message when long-only.
19633 2006-05-14 Tom Tromey <tromey@redhat.com>
19635 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19638 2006-05-15 Sven de Marothy <sven@physto.se>
19640 * gnu/java/awt/print/JavaPrinterGraphics.java:
19641 Sweeping changes I can't be bothered to document in detail.
19642 * gnu/java/awt/print/JavaPrinterJob.java
19643 (getPageAttributes): New method.
19644 (setPageable,cancel,isCancelled): Implement.
19646 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19648 * javax/swing/JCheckBoxMenuItem.java
19649 (requestFocus): Fixed typo in API docs,
19650 (paramString): Just call super.paramString(),
19651 (getAccessibleContext): Added API docs,
19652 (AccessibleJCheckBoxMenuItem): Likewise.
19654 2006-05-14 Tom Tromey <tromey@redhat.com>
19656 * tools/gnu/classpath/tools/jar/Indexer.java
19657 (writeCommandLineEntries): Simplify insertion.
19658 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19661 2006-05-14 Tom Tromey <tromey@redhat.com>
19663 PR classpath/27514:
19664 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19666 (JAR_INDEX_VERSION_KEY): Likewise.
19667 (IndexListParser): Updated.
19668 (getVersionInfo): Likewise.
19669 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19670 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19672 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19674 (ModeOption): New constructor.
19675 (parsed): Updated. Use setArchiveFile.
19676 (setArchiveFile): New method.
19677 (run): Handle no-argument case.
19678 (main): Emit --help message on option error.
19679 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19680 (createManifest): New method.
19681 (run): Updated. Throws OptionException. Correctly copy zip entry.
19682 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19684 (writeManifest): Removed.
19685 (outputStream): Now a JarOutputStream.
19686 (writeCommandLineEntries): Changed parameters. Updated callers.
19687 (run): Throws OptionException.
19688 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19689 * java/util/jar/Manifest.java (read): Typo fix.
19691 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19693 * javax/swing/JMenuItem.java
19694 (paramString): Fixed class name in API doc comment.
19696 2006-05-14 Tom Tromey <tromey@redhat.com>
19698 * native/plugin/.cvsignore: Updated.
19700 2006-05-14 Mark Wielaard <mark@klomp.org>
19702 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19705 2006-05-14 Chris Burdess <dog@gnu.org>
19707 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19708 nodes to be preserved during cloneNode.
19710 2006-05-14 Mark Wielaard <mark@klomp.org>
19713 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19714 inherited timeout on socket.
19716 2006-05-14 Lillian Angel <langel@redhat.com>
19718 * java/util/SimpleTimeZone.java: Reverted patch.
19719 (SimpleTimeZone): Throw exception if startMonth ==
19721 (SimpleTimeZone): Likewise.
19722 (checkRule): Rewritten to properly check all values (more
19724 This code is now more stable, at least less buggy than before.
19725 Fixed API documentation.
19726 (setStartRule): Moved checkRule call to end.
19727 (setStartRule): Likewise.
19728 (setEndRule): Likewise.
19729 (setEndRule): Likewise.
19731 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19733 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19736 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19739 * javax/swing/text/AbstractDocument.java:
19740 (insertString): Flipped if-expression and its blocks.
19742 (replace): Flipped if-expression and its blocks, added note, invoke
19743 insertString and remove instead of insertStringImpl and removeImpl.
19745 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19747 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19749 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19751 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19753 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19754 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19755 Increased visibility of fields used by parser anonymous classes.
19756 (processArgs): Removed.
19757 (getParser): New method.
19758 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19759 (setup): Mark (Eclipse) strings that need not be externalised.
19761 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19762 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19763 command line option parsing.
19764 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19765 Increased visibility of fields used by parser anonymous classes.
19766 (processArgs): Removed.
19767 (setup): set 'all' local field.
19768 (getParser): New method.
19769 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19770 Increased visibility of fields used by parser anonymous classes.
19771 (processArgs): Removed.
19772 (getParser): New method.
19773 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19774 (setNewKeyPassword): Fixed comments.
19775 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19776 Increased visibility of fields used by parser anonymous classes.
19777 (processArgs): Removed.
19778 (getParser): New method.
19779 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19781 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19782 Increased visibility of fields used by parser anonymous classes.
19783 (processArgs): Removed.
19784 (setup): Mark (Eclipse) strings that need not be externalised.
19785 (getParser): New method.
19786 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19787 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19788 Increased visibility of fields used by parser anonymous classes.
19789 (processArgs): Removed.
19790 (getParser): New method.
19791 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19792 (ATTRIBUTES_OPT): New constant.
19793 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19794 Increased visibility of fields used by parser anonymous classes.
19795 (processArgs): Removed.
19796 (setup): Mark (Eclipse) strings that need not be externalised.
19798 Reduced logging level.
19799 (getParser): New method.
19800 * tools/gnu/classpath/tools/keytool/Command.java
19801 (processArgs): Made it concrete.
19802 (getParser): New abstract method.
19803 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19805 2006-05-13 Casey Marshall <csm@gnu.org>
19807 Patch by Michael Barker <mike@middlesoft.co.uk>.
19808 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19809 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19810 gnu.java.nio.SocketChannelSelectionKeyImpl.
19811 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19812 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19814 * include/gnu_java_nio_VMChannel.h: new file.
19815 * java/nio/FileChannel.java (read,write): changed to call abstract
19817 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19818 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19819 `gnu_java_nio_VMChannel.c.'
19820 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19822 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19824 * javax/swing/text/AbstractDocument.java:
19825 (insertString): Flipped if-expression and its blocks.
19827 (replace): Flipped if-expression and its blocks, added note, invoke
19828 insertString and remove instead of insertStringImpl and removeImpl.
19830 2006-05-13 Tom Tromey <tromey@redhat.com>
19832 * java/nio/ByteBufferImpl.java (compact): Always set position.
19834 2006-05-13 Sven de Marothy <sven@physto.se>
19836 * gnu/java/awt/print/JavaPrinterGraphics.java
19837 (spoolPostScript): Use a faster writer.
19839 2006-05-13 Sven de Marothy <sven@physto.se>
19841 * gnu/java/awt/print/JavaPrinterGraphics.java
19842 (colorTripleHex): Reimplement better.
19844 2006-05-13 Sven de Marothy <sven@physto.se>
19846 * javax/swing/text/html/HTMLDocument.java
19847 (CharacterAction.start): Translate tag to StyleAttribute.
19848 (pushCharacterStyle): Push copy of attributes onto stack.
19849 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19852 2006-05-13 Sven de Marothy <sven@physto.se>
19854 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19855 * java/awt/print/PrinterJob.java
19856 (getPrinterJob): Return a JavaPrinterJob
19857 (setPrintService,getPrintService): Implement.
19858 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19859 (getPixels): Gtk_threads_enter required.
19860 * gnu/java/awt/print/JavaPrinterGraphics.java
19861 * gnu/java/awt/print/JavaPrinterJob.java
19862 * gnu/java/awt/print/SpooledDocumet.java:
19865 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19867 * javax/swing/text/TextAction.java:
19868 (HorizontalMovementAction): New inner class.
19869 (VerticalMovementAction): New inner class.
19870 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19871 new inner classes to array 'defaultActions'.
19872 (SelectionBeginWordAction): New inner class.
19873 (SelectionEndWordAction): New inner class.
19874 (BeginWordAction): New inner class.
19875 (EndWordAction): New inner class.
19876 (PreviousWordAction.actionPerformed): Rewritten.
19877 (SelectLineAction): New inner class.
19878 (SelectWordAction): New inner class.
19879 (SelectionDownAction): Rewritten.
19880 (SelectionUpAction): Rewritten.
19881 (DownAction): Rewritten.
19882 (UpAction): Rewritten.
19883 (SelectionForwardAction): Rewritten.
19884 (SelectionBackwardAction): Rewritten.
19885 (ForwardAction): Rewritten.
19886 (BackwardAction): Rewritten.
19887 (BeginAction): New inner class.
19888 (EndAction): New inner class.
19889 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19890 Character.isISOControl.
19892 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19894 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19895 (WordFilter.getNextVisualPositionFrom): Added statement to check
19896 for variable pt not being null.
19898 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19900 * javax/swing/text/Utilities.java:
19901 (getNextWord): Fixed grammar in exception message.
19902 (getPreviousWord): Changed expression in first if-clause, added sub-
19903 expression to if-clause in while-loop.
19904 (getWordStart): Changed expression in if-clause.
19905 getNextVisualPositionFrom): Added package-private helper method.
19907 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19909 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19912 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19914 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19916 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19917 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19918 * tools/gnu/classpath/tools/jarsigner/Main.java:
19919 Increased visibility of fields used by parser anonymous classes.
19920 (HELP_PATH): Removed.
19921 (cmdLineParser): New field.
19922 (main): Handle JVM exit status.
19923 Handle command line parsing exceptions.
19924 (processArgs): Use getopt command line parser.
19925 (getParser): New method.
19926 (setupCommonParams): Removed checks now handled by processArgs().
19927 (setupSigningParams): Likewise.
19928 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19929 Reuse an existing message-bundle constant.
19931 2006-05-12 Tom Tromey <tromey@redhat.com>
19933 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19934 Explicitly specify class for synchronization.
19936 2006-05-12 Tom Tromey <tromey@redhat.com>
19938 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19940 2006-05-12 Sven de Marothy <sven@physto.se>
19942 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19943 * gnu/java/net/protocol/http/HTTPURLConnection.java
19944 (setConnectTimeout): New method.
19945 (getConnection): Add timeout parameter.
19946 * java/net/URLConnection.java
19947 (getConnectTimeout, setConnectTimeout): Implement.
19948 * native/target/generic/target_generic_network.h:
19949 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19951 2006-05-12 Sven de Marothy <sven@physto.se>
19953 * gnu/javax/print/CupsServer.java
19954 (CupsServer): Make the Cups host configurable.
19955 * java/lang/System.java: Document the system property.
19957 2006-05-12 Roman Kennke <kennke@aicas.com>
19959 * javax/swing/border/TitledBorder.java
19960 (paintBorder): Rewritten for simplicity and correctness.
19961 (layoutBorderWithTitle): New helper method.
19962 (paintBorderWithTitle): New helper method.
19963 (getBorderInsets): Rewritten.
19964 (getMinimumSize): Rewritten.
19965 (getRealJustification): Removed.
19966 (getMeasurements): Removed.
19967 (Measurements): Removed.
19969 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19971 * javax/swing/plaf/basic/BasicPanelUI.java
19972 (sharedUI): New field,
19973 (createUI): Return a shared instance rather than a new instance,
19974 (installUI): Reformatted and added API docs,
19975 (installDefaults): Install border if one is defined,
19976 (uninstallDefaults): Uninstall border.
19978 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19980 * javax/swing/JProgressBar.java: Updated API docs all over.
19982 2006-05-11 Lillian Angel <langel@redhat.com>
19984 * java/awt/ContainerOrderFocusTraversalPolicy.java
19985 (getComponentAfter): Should not throw exception if
19986 the ancestor is null. Added a check for this.
19987 Also, changed to use new helper function, we should
19988 iterate through all the components at least once.
19989 (getNextAvailableComponent): New helper function.
19990 (getPrevAvailableComponent): New helper function.
19991 (getComponentBefore): Should not throw exception if
19992 the ancestor is null. Added a check for this.
19993 Also, changed to use new helper function, we should
19994 iterate through all the components at least once.
19995 (getFirstComponent): Changed check to manually check
19996 fields. Calling accept() casts the object to a Component,
19997 so different values may be returned.
19998 (getLastComponent): Likewise.
20000 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20002 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20003 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20004 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20005 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20006 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20007 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20008 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20009 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20010 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20011 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20012 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20013 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20014 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20015 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20016 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20017 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20018 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20019 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20021 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20023 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20024 package-private, added field 'active'.
20025 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20026 cases to update field 'active'.
20027 (mouseDragged): Added documentation, added if-clause to update
20028 selection or caret position.
20029 (mouseClicked): Added early return when text component is disabled.
20030 (focusGained): Moved statements into an if-clause.
20031 (focusLost): Added subexpression to if-clause.
20032 (install): Preset value of 'active'.
20033 (paint): Added subexpression to if-clause.
20034 (isVisible): Extended return expression.
20035 * javax/swing/text/JTextComponent.java:
20036 (copy): Copy only if component is enabled.
20037 (cut): Cut only if component is enabled and editable.
20040 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20042 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20043 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20044 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20045 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20046 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20047 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20048 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20050 2006-05-11 Roman Kennke <kennke@aicas.com>
20052 * gnu/java/awt/font/GNUGlyphVector.java
20053 (GNUGlyphVector): Don't apply the font renderer context's
20056 2006-05-11 Mark Wielaard <mark@klomp.org>
20058 * java/util/logging/Logger.java (global): Initialize inside static
20061 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20063 * javax/swing/JFrame.java
20064 (EXIT_ON_CLOSE): Added note to API docs,
20065 (close_action): Renamed closeAction,
20066 (JFrame()): Change title to "",
20067 (JFrame(String)): Added API docs,
20068 (getAccessibleContext): Likewise,
20069 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20070 (processWindowEvent): Updated for renamed field,
20071 (setDefaultCloseOperation): Likewise, and updated API docs.
20073 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20075 * javax/swing/JFrame.java
20076 (paramString): Reimplemented,
20077 * javax/swing/SwingUtilities.java
20078 (convertWindowConstantToString): New method.
20080 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20082 * javax/swing/WindowConstants.java: Updated API docs.
20084 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20086 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20087 (createUI): Removed 'final' qualifier for parameter,
20088 (paint): Reformatted.
20090 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20092 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20093 (createUI): Removed 'final' qualifier on method argument.
20095 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20097 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20098 (getDefaultIcon): Removed this redundant method.
20100 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20102 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20103 (paint): Pass component size to paintFocus().
20105 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20107 * java/awt/Component.java:
20108 (dispatchEventImpl): Added comment.
20110 2006-05-11 Mark Wielaard <mark@klomp.org>
20112 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20113 Option constructor null argument to String.
20115 2006-05-11 Mark Wielaard <mark@klomp.org>
20117 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20118 Fully qualify PathIterator constants
20120 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20122 * java/awt/Component.java:
20123 (dispatchEventImpl): Added subexpression to if-clause.
20125 2006-05-11 Mark Wielaard <mark@klomp.org>
20127 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20130 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20132 * javax/swing/TransferHandler.java: Marked stub methods.
20134 2006-05-10 Roman Kennke <kennke@aicas.com>
20137 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20138 (installDefaults): Set background of content pane to null, if
20139 no custom color has been installed by the application yet.
20141 2006-05-10 Roman Kennke <kennke@aicas.com>
20144 * javax/swing/JRootPane.java
20145 (createContentPane): Don't set background to null.
20147 2006-05-10 Sven de Marothy <sven@physto.se>
20149 * java/awt/print/PrinterJob.java:
20150 (lookupPrintServices): Un-comment-out.
20152 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20154 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20155 (FILLER): New constant.
20156 (formatText(PrintStream,String,int)): New method.
20157 (formatText(PrintStream,String,int,Locale)): Likewise.
20158 (printHelp): Use formatText method.
20159 * tools/gnu/classpath/tools/getopt/Parser.java
20160 (MAX_LINE_LENGTH): New constant.
20161 (formatText(PrintStream,String)): New method.
20162 (formatText(PrintStream,String,Locale)): Likewise.
20163 (printHelp): New method.
20164 (printHelp(PrintStream)): Increased visibility to protected.
20165 Use formatText method.
20167 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20169 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20170 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20171 modify the lookup key.
20173 2006-05-10 Lillian Angel <langel@redhat.com>
20175 * java/util/SimpleTimeZone.java: Reverted patch.
20176 (SimpleTimeZone): Throw exception if startMonth ==
20178 (SimpleTimeZone): Likewise.
20179 (checkRule): Rewritten to properly check all values (more
20181 This code is now more stable, at least less buggy than before.
20182 Fixed API documentation.
20183 (setStartRule): Moved checkRule call to end.
20184 (setStartRule): Likewise.
20185 (setEndRule): Likewise.
20186 (setEndRule): Likewise.
20188 2006-05-10 Roman Kennke <kennke@aicas.com>
20190 * gnu/java/awt/peer/swing/SwingComponent.java:
20191 Some API comment fixlets.
20192 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20193 (createImage): Create a BufferedImage, not a Toolkit image.
20194 (paint): Removed bogus API comment.
20195 (prepareImage): Added checks to avoid NPE.
20196 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20197 (getInsets): Added check to avoid NPE.
20198 (handleMouseEvent): Added check to avoid NPE.
20199 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20200 Some API comment fixlets.
20201 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20202 Some API comment fixlets.
20203 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20204 Changed start_pos name to startPos.
20205 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20206 Some API comment fixlets.
20208 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20210 * java/awt/BasicStroke.java
20211 (equals): Fixed typo in HTML tag for API doc comment.
20213 2006-05-10 Gary Benson <gbenson@redhat.com>
20215 * java/lang/ThreadGroup.java (parent): Make package-private.
20216 * java/lang/SecurityManager.java (checkAccess(Thread)):
20217 Reference ThreadGroup.parent directly to avoid extra checks.
20218 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20221 2006-05-10 Roman Kennke <kennke@aicas.com>
20223 Reported by Ingo Proetel (proetel@aicas.com)
20224 * java/awt/EventDispatchThread.java
20225 (DEFAULT_PRIORITY): New constant field.
20226 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20227 system property for adjusting the priority of the event
20230 2006-05-10 Roman Kennke <kennke@aicas.com>
20232 Reported by Ingo Proetel (proetel@aicas.com)
20233 * java/awt/image/ColorModel.java
20234 (S_RGB_MODEL): New constant field.
20235 (getRGBDefault): Return constant SRGBColorModel.
20236 (SRGBColorModel): Specialized color model for sRGB.
20238 2006-05-10 Roman Kennke <kennke@aicas.com>
20240 * java/awt/ColorPaintContext.java
20241 (getRaster): Create Raster with (0,0) as source location.
20243 2006-05-10 Roman Kennke <kennke@aicas.com>
20245 * gnu/java/awt/java2d/AlphaCompositeContext.java
20246 (compose): Don't premultiply alpha to alpha itself.
20248 2006-05-10 Roman Kennke <kennke@aicas.com>
20250 * gnu/java/awt/java2d/AbstractGraphics2D.java
20251 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20252 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20254 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20255 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20256 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20258 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20259 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20261 (scale): Inverse transform by doing 1/scale instead of -scale.
20262 (drawImage(Image,int,int,ImageObserver)): Implemented.
20263 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20264 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20265 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20266 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20268 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20270 (fillScanline): Work on translated destination raster for
20271 correct compositin.
20272 (init): Fetch the clip after the destination raster is initialized.
20273 * gnu/java/awt/java2d/ImagePaint.java: New file.
20274 * gnu/java/awt/java2d/RasterGraphics
20275 (drawImage): Removed.
20277 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20279 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20280 Clarify option descriptions.
20281 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20282 uppercase for metasyntactic variables.
20284 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20287 * javax/swing/text/AbstractDocument.java:
20288 (insertString): Added more documentation, added argument check.
20289 (remove): Added more documentation.
20290 (removeImpl): Added argument check.
20291 (replace): Added more documentation, added argument check.
20293 2006-05-09 Tom Tromey <tromey@redhat.com>
20295 * tools/.cvsignore: Added appletviewer.
20297 2006-05-09 Tom Tromey <tromey@redhat.com>
20299 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20302 2006-05-09 Tom Tromey <tromey@redhat.com>
20304 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20305 Special case for '-J'. Use space instead of '='.
20306 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20309 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20311 * configure.ac: Add --disable-plugin and --with-vm options. Check
20312 for plugin support headers and libraries.
20313 * native/Makefile.am: Recurse into plugin directory.
20314 * native/plugin/.cvsignore: New file.
20315 * native/plugin/Makefile.am: New file.
20316 * native/plugin/gcjwebplugin.cc: New file.
20317 * tools/Makefile.am: Install appletviewer wrapper script.
20318 * tools/appletviewer.in: Replace VM location heuristic with
20319 VM_BINARY configure substitution.
20321 2006-05-09 Tom Tromey <tromey@redhat.com>
20323 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20324 an initial pass to look for short options. Added 'longOnly' option.
20325 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20327 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20328 options into final group. Added -J.
20329 (add): Insert new groups before final group.
20330 (printHelp): Updated.
20332 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20335 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20336 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20337 Expect -classpath option.
20338 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20339 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20341 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20342 (classLoader): New field. (loadClass, setClassPath):
20345 2006-05-09 Roman Kennke <kennke@aicas.com>
20347 * gnu/java/awt/java2d/RasterGraphics.java
20348 (RasterGraphics): Call init() and super().
20349 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20352 2006-05-09 Gary Benson <gbenson@redhat.com>
20354 * java/lang/Thread.java (Thread): Always perform threadgroup
20355 access checks on thread creation.
20357 2006-05-09 Chris Burdess <dog@gnu.org>
20359 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20360 be preserved during cloneNode.
20362 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20365 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20366 Do not demand all thrown exceptions to be an instance of RemoteException.
20368 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20370 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20371 Use hash-style comments.
20372 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20375 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20377 * javax/swing/JLabel.java
20378 (paramString): Added more attribute details,
20379 * javax/swing/SwingUtilities.java
20380 (convertHorizontalAlignmentCodeToString): New method,
20381 (convertVerticalAlignmentCodeToString): New method.
20383 2006-05-08 Tom Tromey <tromey@redhat.com>
20385 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20386 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20387 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20390 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20392 (run): Use ZipInputStream.
20393 (initSet): New method.
20394 (shouldExtract): Likewise.
20395 (run): Use new methods.
20396 * tools/gnu/classpath/tools/jar/Creator.java
20397 (writeCommandLineEntries): New overload.
20398 (writeFile): Use System.err for verbose.
20399 (writeManifest): New method.
20400 (writtenItems): New field.
20401 (writeFile): Update it.
20402 (writeCommandLineEntries): Return void. Call writeManifest.
20403 (addEntries): Don't add extra '/'.
20404 * NEWS: Mention jar.
20406 2006-05-08 Lillian Angel <langel@redhat.com>
20408 * gnu/java/net/IndexListParser.java: New class.
20409 * java/net/URLClassLoader.java
20410 (JarURLLoader): Fixed code to use new class.
20412 2006-05-08 Roman Kennke <kennke@aicas.com>
20414 * javax/swing/JComboBox.java
20415 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20416 (AccessibleJComboBox.getAccessibleChild): Implemented.
20417 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20418 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20419 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20420 (AccessibleJComboBox.getAccessibleAction): Implemented.
20421 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20422 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20423 (AccessibleJComboBox.doAccessibleAction): Implemented.
20424 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20425 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20426 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20427 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20428 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20430 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20432 * configure.ac: Add support for building appletviewer.
20433 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20435 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20437 * tools/appletviewer.c: New file.
20438 * tools/appletviewer.in: New file.
20439 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20441 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20443 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20444 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20446 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20448 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20450 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20452 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20454 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20455 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20457 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20459 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20461 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20463 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20465 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20467 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20470 2006-05-08 Tom Tromey <tromey@redhat.com>
20472 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20473 * tools/gnu/classpath/tools/jar/Action.java: New file.
20474 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20475 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20476 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20477 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20478 * tools/gnu/classpath/tools/jar/Main.java: New file.
20479 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20480 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20481 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20482 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20483 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20484 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20487 2006-05-08 Lillian Angel <langel@redhat.com>
20489 * java/net/URLClassLoader.java
20490 (JarURLLoader): Added check to make sure the INDEX.LIST file
20493 2006-05-08 Roman Kennke <kennke@aicas.com>
20495 * gnu/java/awt/java2d/AbstractGraphics2D.java
20496 (fill): Removed commented out code.
20497 (fillShape): Also determine the outline of the clip and feed
20498 it into the rendering method. Use new helper method for
20499 converting the shapes into lists of segments.
20500 (getUserBounds): Removed obsolete method.
20501 (rawFillShape): Respect the clip when rendering shapes.
20502 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20503 However, the implementation can't clip still.
20504 (getSegments): New helper method for converting a shape into
20505 a list of segments.
20506 (clipShape): Removed obsolete method.
20507 * gnu/java/awt/java2d/PolyEdge.java
20508 (isClip): New field.
20509 (PolyEdge): Added isField argument to constructor.
20511 2006-05-08 Roman Kennke <kennke@aicas.com>
20514 * javax/swing/JRootPane.java
20515 (createContentPane): Set background of the content pane to null,
20516 so that the content pane inherits its background from the
20519 2006-05-08 Roman Kennke <kennke@aicas.com>
20522 * javax/swing/ButtonGroup.java
20523 (add): Check if new button is selected and if so, deselect other
20524 buttons in the group.
20526 2006-05-08 Lillian Angel <langel@redhat.com>
20529 * java/net/URLClassLoader.java
20530 (JarURLLoader): Added code to go through
20531 META-INF/INDEX.LIST file to load all jars listed.
20533 2006-05-08 Roman Kennke <kennke@aicas.com>
20536 * javax/swing/ImageIcon.java
20537 (ImageIcon(URL)): Set description to URL.toString().
20539 2006-05-08 Roman Kennke <kennke@aicas.com>
20542 * javax/swing/JTable.java
20543 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20544 null when cell value is null.
20546 2006-05-08 Roman Kennke <kennke@aicas.com>
20549 * javax/swing/DefaultDesktopManager.java
20550 (closeFrame): Don't perform default close action on the frame
20551 to prevent endless loop.
20553 2006-05-08 Roman Kennke <kennke@aicas.com>
20556 * javax/swing/table/DefaultTableModel.java
20557 (addExtraRows): New helper method.
20558 (checkSize): New helper method.
20559 (setRowCount): Use addExtraRows helper method.
20560 (addColumn): Use addExtraRows helper method.
20561 (getColumnName): Check and adjust size if necessary using
20564 2006-05-08 Roman Kennke <kennke@aicas.com>
20567 * javax/swing/JTable.java
20568 (setValueAt): Allow setting values even when table is editable.
20570 2006-05-08 Tom Tromey <tromey@redhat.com>
20572 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20573 space to error message.
20575 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20577 * javax/swing/AbstractButton.java: Fixed comment typos.
20579 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20581 PR classpath/27435:
20582 * java/util/zip/DeflaterEngine.java:
20583 (deflateFast(boolean,boolean)): Empty buffer when full.
20585 2006-05-07 Sven de Marothy <sven@physto.se>
20588 * java/util/Calendar.java (setTimeZone): Force recalculation.
20590 2006-05-07 Sven de Marothy <sven@physto.se>
20593 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20594 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20596 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20598 PR classpath/27311:
20599 * gnu/java/text/StringFormatBuffer.java:
20600 (toString()): Implemented so we can see the contents.
20601 * java/text/DecimalFormat.java:
20602 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20603 Don't calculate the exponent when the number is 0 or less.
20604 Also, use log10 instead of log now it's available.
20606 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20608 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20609 Use instance's field creationDate not the constructor's argument.
20610 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20611 Removed unused imports.
20614 (decrypt): Added trace/debug/timing statements.
20615 (encrypt): Likewise.
20616 Use PRNG instead of instantiating every time a new SecureRandom.
20617 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20618 Removed unused imports.
20621 (verify): Added trace/debug/timing statements.
20622 (authenticate): Likewise.
20623 Use PRNG instead of instantiating every time a new SecureRandom.
20625 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20627 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20628 (THREAD_FORMAT): Likewise.
20629 (dateFormat): Added field.
20630 (threadFormat): Added field.
20631 (format): Initialize instance fields if null.
20632 Use StringBuilder instead of StringBuffer.
20634 2006-05-07 Roman Kennke <kennke@aicas.com>
20636 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20638 2006-05-07 Roman Kennke <kennke@aicas.com>
20640 * gnu/java/awt/java2d/AbstractGraphics2D.java
20641 (fillShape): Determine user space bounds of shape and feed them
20642 into the actual rendering pipeline.
20643 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20644 (rawSetForeground): Likewise.
20645 (getDestinationColorModel): Removed.
20646 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20647 (rawFillShape): Handle paint context.
20648 (fillScanline): Implement painting and compositing.
20649 (fillShapeAntialias): Handle paint context.
20650 (fillScanlineAA): Implemented preliminary antialiasing based on
20651 composite context. Not working yet.
20652 (fillScanlineAlpha): Removed.
20653 (init): Fetch destination raster.
20654 (getDestinationRaster): New abstract method.
20655 (updateRaster): New backend method.
20657 2006-05-07 Roman Kennke <kennke@aicas.com>
20659 * gnu/java/awt/java2d/AlphaCompositeContext.java
20660 (compose): Fixed loops, conditions and logic to make compositing
20663 2006-05-07 Roman Kennke <kennke@aicas.com>
20665 * java/awt/ColorPaintContext.java
20666 (ColorPaintContext): Fixed filling of the raster.
20668 2006-05-07 Sven de Marothy <sven@physto.se>
20671 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20672 * java/awt/Component.java (processMouseEvent):
20673 Do lightweight cursor handling.
20674 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20675 (endResizing,mouseMoved): Save and reset original cursor, not the
20678 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20681 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20682 getNodeDimensions): Mind the size of the node icon. (getRowX):
20683 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20684 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20685 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20686 (installDefaults): assign totalChildIndent. (installUI): Call
20687 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20688 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20691 2006-05-06 Sven de Marothy <sven@physto.se>
20694 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20695 Check for zero image sizes.
20697 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20700 * java/util/Calendar.java (clear(int)): Forced internal state
20701 completion before performing a field clearing.
20703 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20705 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20706 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20707 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20708 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20709 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20710 UnmodifiableMapEntry as part of their return value.
20712 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20714 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20715 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20716 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20717 Generate jarsigner and keytool scripts.
20718 * tools/keytool.in: New file (renamed from keytool.sh.in).
20719 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20720 * tools/.cvsignore: Replaced *.sh with *
20721 * configure.ac: Replaced tools/*.sh with tools/*.
20723 2006-05-05 Roman Kennke <kennke@aicas.com>
20725 * java/awt/image/ColorModel.java
20726 (getNormalizedComponents): Implemented.
20728 2006-05-05 Roman Kennke <kennke@aicas.com>
20730 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20731 (paint): Query the button model for it's state, not the
20734 2006-05-05 Roman Kennke <kennke@aicas.com>
20736 * javax/swing/JTable.java
20737 (tableChanged): Sync selection model with table model changes.
20739 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20741 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20742 if there are no visible nodes to paint.
20744 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20746 * javax/swing/JOptionPane.java: API doc updates.
20748 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20750 * javax/swing/JToolBar.java
20751 (paramString): Reimplemented.
20753 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20755 * javax/swing/JScrollBar.java
20756 (paramString): Reimplemented.
20758 2006-05-04 Tom Tromey <tromey@redhat.com>
20760 PR classpath/27375:
20761 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20762 (readEntries): Updated.
20763 (getEntries): Likewise.
20764 (getEntry): Likewise.
20765 (getInputStream): Likewise.
20767 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20769 * gnu/javax/imageio/jpeg/DCT.java,
20770 gnu/javax/imageio/jpeg/HuffmanTable.java,
20771 gnu/javax/imageio/jpeg/JPEGComponent.java,
20772 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20773 gnu/javax/imageio/jpeg/JPEGException.java,
20774 gnu/javax/imageio/jpeg/JPEGFrame.java,
20775 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20776 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20777 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20778 gnu/javax/imageio/jpeg/JPEGMarker.java,
20779 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20780 gnu/javax/imageio/jpeg/JPEGScan.java,
20781 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20782 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20784 2006-05-04 Lillian Angel <langel@redhat.com>
20786 * javax/swing/JLabel.java
20787 (JLabel): Pass in an empty string for the text parameter.
20788 (JLabel): Likewise.
20789 (JLabel): Likewise.
20791 2006-05-04 Roman Kennke <kennke@aicas.com>
20793 * javax/swing/plaf/basic/BasicButtonListener.java
20794 (mouseEntered): Fixed conditions for changing states.
20796 2006-05-04 Roman Kennke <kennke@aicas.com>
20798 * javax/swing/JOptionPane.java
20799 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20801 2006-05-04 Roman Kennke <kennke@aicas.com>
20803 * javax/swing/JLabel.java
20804 (AccessibleJLabel.getSelectedText): Return null instead of "".
20805 (AccessibleJLabel.getSelectionStart): Added comment why
20806 return -1 is correct here.
20807 (AccessibleJLabel.getSelectionEnd): Added comment why
20808 return -1 is correct here.
20809 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20811 (AccessibleJLabel.getCharCount): Added comment about what
20813 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20814 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20815 (paramString): Return super.paramString() here, this provides
20816 a more meaningful output.
20818 2006-05-04 Roman Kennke <kennke@aicas.com>
20820 * javax/swing/JComponent.java
20821 (paint): Added null check to avoid NPE when clip == null.
20823 2006-05-04 Roman Kennke <kennke@aicas.com>
20825 * javax/swing/AbstractButton.java
20826 (addImpl): New method. Installs an OverlayLayout if no
20827 other layout has been installed before.
20828 (setLayout): New method. Detect if a client app installs a custom
20831 2006-05-04 Roman Kennke <kennke@aicas.com>
20833 * javax/swing/table/DefaultTableCellRenderer.java
20834 (noFocusBorder): Fixed width of empty border to 1.
20835 (getTableCellRendererComponent): Don't change the colors for
20836 focuses cells. Fixed border for focused cells.
20838 2006-05-04 Roman Kennke <kennke@aicas.com>
20840 * javax/swing/JTable.java
20841 (moveToCellBeingEdited): Adjust bounding box of editing component
20842 to exactly cover the grid.
20843 * javax/swing/plaf/basic/BasicTableUI.java
20844 (paint): Paint grid to the bottom and right of the cells instead
20845 of left and top. Adjust bounding box of cells accordingly.
20846 * javax/swing/plaf/metal/MetalLookAndFeel.java
20847 (initComponentDefaults): Fixed color of JTable selection border.
20848 * javax/swing/plaf/metal/OceanTheme.java
20849 (addCustomEntriesToTable): Fixed color of JTable selection border.
20851 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20853 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20854 Use _alias instead of alias.
20856 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20859 Set version to 0.92-pre.
20861 Add space for 0.92 entries.
20863 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20865 * include/Makefile.am:
20866 Added rules for gnu.java.net.local.LocalSocketImpl.h
20867 * include/java_lang_VMSystem.h:
20868 Regenerated correctly.
20870 2006-05-03 Sven de Marothy <sven@physto.se>
20873 * java/awt/Image.java:
20874 (getScaledInstance): Default to AreaAveraging for "smooth",
20875 don't thrown an error on illegal flag values.
20876 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20878 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20880 * javax/swing/text/FieldView.java:
20881 (adjustAllocation): Added if-block to return null when shape argument
20883 * javax/swing/text/PlainView.java:
20884 (updateDamage): Added if-block to return early if a is null.
20886 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20888 * javax/swing/plaf/basic/BasicTextUI.java:
20889 (changeUpdate): Added note.
20890 (removeUpdate): Dito.
20891 (insertUpdate): Dito.
20892 (damageRange): Added if-block to return early.
20893 (modelToView): Added check of getVisibleEditorRect's return value.
20894 (getVisibleEditorRect): Return null instead of empty rectangle.
20895 * javax/swing/text/DefaultCaret.java:
20896 (clearHighlight): Removed if-clause to create a highlight entry if it
20897 did not exist before.
20898 * javax/swing/text/WrappedPlainView.java:
20899 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20900 removed 2nd part of if-expression.
20901 (WrappedLine.updateDamage): Added more documentation, added check
20902 whether allocation area rectangle is null.
20904 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20906 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20907 Reset to preferred sizes if the argument is negative.
20909 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20911 * javax/swing/JList.java: Added/updated API docs.
20913 2006-05-03 Lillian Angel <langel@redhat.com>
20915 * javax/swing/JComponent.java
20916 (getRoot): New private function. Gets the root appropriate
20917 for painting. If an applet exists as a parent, then it is returned.
20918 (paintDoubleBuffered): Changed to use new function.
20919 * javax/swing/RepaintManager.java
20920 (getRoot): New private function. Gets the root appropriate
20921 for painting. If an applet exists as a parent, then it is returned.
20922 (getOffscreenBuffer): Changed to use new function.
20923 * javax/swing/SwingUtilties.java
20924 (getRoot): Reverted last patch to return Window, even if
20927 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20929 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20930 a pair of one public keyring and one private keyring.
20931 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20932 (containsCertificate): Added logging.
20933 (getCertificate): Likewise.
20934 (putCertificate): Likewsie.
20937 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20938 (containsPrivateKey): Added logging.
20939 (getPrivateKey): Likewise.
20940 (putPrivateKey): Likewise.
20941 (containsPublicKey): Likewise.
20942 (getPublicKey): Likewise.
20943 (putPublicKey): Likewise.
20944 (containsCertPath): Likewise.
20945 (getCertPath): Likewise.
20946 (putCertPath): Likewise.
20950 2006-05-03 Roman Kennke <kennke@aicas.com>
20952 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20953 * java/awt/AlphaComposite.java
20954 (createContext): Implemented.
20956 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20958 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20959 Set the current color again after drawing the raster.
20961 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20963 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20964 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20966 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20968 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20969 Assign returned value to field handler.
20970 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20973 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20975 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20976 Return without action if there is no view in the viewport.
20977 * javax/swing/text/WrappedPlainView.java
20978 (WrappedLine.getPreferredSpan): If metrics == null, update
20980 * javax/swing/tree/DefaultTreeModel.java (constructors):
20981 Do not call setRoot, assign the root node directly.
20983 2006-05-02 Lillian Angel <langel@redhat.com>
20985 * javax/swing/SwingUtilities.java
20986 (getRoot): Should return the Applet if it exists.
20987 Only return the Window if an Applet has not been
20990 2006-05-02 Lillian Angel <langel@redhat.com>
20992 * gnu/javax/swing/text/html/parser/support/Parser.java
20993 (readAttributes): Reverted Audrius' last patch. There is
20994 a slight difference in code between the NUMTOKEN and SLASH case.
20996 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20998 * javax/swing/text/JTextComponent.java:
20999 (setText): Throw InternalError from catch-block.
21000 * javax/swing/text/GapContent.java:
21001 (removed): Removed if-expression, changed '>' to '>='.
21003 2006-05-02 Roman Kennke <kennke@aicas.com>
21005 * gnu/java/awt/java2d/AbstractGraphics2D.java
21006 (AA_SAMPLING): New constant.
21007 (alpha): New field. Used in the antialiasing renderer.
21008 (edgeTable): New field. Used in the antialiasing renderer.
21009 (AbstractGraphics2D): Initialize rendering hints wrt
21011 (draw): Clip after stroking. Commented out clipping for now,
21012 it seems to be buggy.
21013 (fill): Commented out clipping for now, it seems to be buggy.
21014 (setComposite): Don't create composite context.
21015 (setPaint): Only change paint when parameter is not null.
21016 (translate): Call setClip() so subclasses can update their clip
21018 (clip): Call setClip() so subclasses can update their clip
21020 (drawGlyphVector): Added clipping, but left it commented out
21021 because it's buggy.
21022 (getClipBounds): Returns null when clip is null.
21023 (drawLine): Call rawDrawLine with translation applied.
21024 (filLRect): Call rawFillRect with translation applied.
21025 (fillShape): Added support for anti-aliasing.
21026 (rawSetForeground(int,int,int)): New method.
21027 (rawFillShape): A couple of painting fixes.
21028 (fillScanline): Implemented to call rawDrawLine.
21029 (fillShapeAntialias): New method. Implements an anti-aliasing
21031 (fillScanlineAA): New method. Used for the anti-aliasing
21033 (fillScanlineAlpha): New method. Used for the anti-aliasing
21035 (init): Initialize clip with the device bounds.
21036 (updateOptimization): Fixed the optimization condition.
21038 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21040 * javax/swing/text/GapContent.java:
21041 (GapContent): Restrict size argument by 2.
21042 (insertString): Changed expression from >= to >.
21043 (remove): Changed right side of expression to 'length - 1', changed
21045 (getChars): Throw exception if where below 0.
21046 (replace): Replaced call to setPositionsInRange() with
21047 resetMarksAtZero(), removed note.
21049 2006-05-02 Roman Kennke <kennke@aicas.com>
21052 * javax/swing/MenuSelectionManager.java
21053 (setSelectedPath): Rewritten.
21055 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21057 * gnu/javax/swing/text/html/parser/support/Parser.java
21058 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21061 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21063 * tools/.cvsignore: Added keytool.sh.
21064 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21066 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21068 * doc/tools.texinfo: New file.
21069 * doc/Makefile.am: Generate tools documentation.
21071 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21073 * tools/keytool.sh.in: New file.
21074 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21075 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21076 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21077 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21078 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21079 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21080 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21081 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21082 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21083 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21084 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21085 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21086 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21087 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21088 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21089 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21090 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21091 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21093 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21095 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21096 resemble more closely man-page style text.
21097 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21098 Mark (Eclipse) strings that need not be externalised.
21099 (writeSF): Likewise.
21100 (writeDSA): Likewise.
21101 Use package-private Messages class to provide i18n-ready strings.
21103 Use package-private Messages class to provide i18n-ready strings.
21104 (updateEntry): Likewise.
21105 Mark (Eclipse) strings that need not be externalised.
21106 (finishSigning): Likewise.
21107 * tools/gnu/classpath/tools/jarsigner/Main.java:
21108 Mark (Eclipse) strings that need not be externalised.
21109 (main): Do not use constant strings as class name.
21110 Use package-private Messages class to provide i18n-ready strings.
21111 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21112 (processArgs): Do not use constant strings as class name.
21113 Mark (Eclipse) strings that need not be externalised.
21114 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21115 (start): Do not use constant strings as class name.
21116 (teardown): Likewise.
21118 (setupCommonParams): Do not use constant strings as class name.
21119 Use package-private Messages class to provide i18n-ready strings.
21120 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21121 (installNewProvider): Do not use constant strings as class name.
21123 (setupSigningParams): Do not use constant strings as class name.
21124 Use package-private Messages class to provide i18n-ready strings.
21125 Mark (Eclipse) strings that need not be externalised.
21126 (getCallbackHandler): Use CallbackUtil.
21127 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21128 Use package-private Messages class to provide i18n-ready strings.
21129 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21130 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21131 (verifySF): Likewise.
21132 (verifySFEntries): Do not use constant strings as class name.
21133 Use Boolean.valueOf instead of new Boolean().
21134 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21135 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21137 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21138 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21140 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21142 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21143 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21144 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21146 2006-05-01 Tom Tromey <tromey@redhat.com>
21148 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21150 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21151 (close): Synchronize.
21152 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21153 * java/nio/LongBufferImpl.java (compact): Rewrote.
21154 * java/nio/IntBufferImpl.java (compact): Rewrote.
21155 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21156 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21157 * java/nio/CharBufferImpl.java (compact): Rewrote.
21158 * gnu/java/nio/ChannelWriter.java: New file.
21159 * java/nio/channels/Channels.java (newWriter): Implemented.
21161 2006-05-01 Lillian Angel <langel@redhat.com>
21163 * java/util/SimpleTimeZone.java
21164 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21165 (SimpleTimeZone): Likewise.
21166 (checkRule): Rewritten to properly check all values (more efficently).
21167 This code is now more stable, at least less buggy than before. Fixed
21169 (setStartRule): Moved checkRule call to end.
21170 (setStartRule): Likewise.
21171 (setEndRule): Likewise.
21172 (setEndRule): Likewise.
21174 2006-05-01 Tom Tromey <tromey@redhat.com>
21176 * lib/.cvsignore: Added classes.2.
21178 2006-05-01 Tom Tromey <tromey@redhat.com>
21180 * java/util/jar/JarFile.java (provider): Now package-private.
21181 * java/lang/Enum.java (compareTo): Javadoc fix.
21182 * java/lang/Boolean.java (compareTo): Javadoc fix.
21184 2006-05-01 Lillian Angel <langel@redhat.com>
21186 * gnu/javax/swing/text/html/parser/support/Parser.java
21187 (readAttributes): Formatted function. Added handling for
21188 SLASH token. The value of an attribute may start with a slash
21189 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21190 We should not be skipping over these type of attributes.
21192 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21194 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21195 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21196 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21197 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21198 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21199 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21200 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21201 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21202 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21203 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21204 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21205 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21206 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21207 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21208 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21209 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21210 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21211 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21212 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21213 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21214 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21215 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21216 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21217 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21218 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21219 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21220 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21221 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21222 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21223 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21224 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21225 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21226 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21227 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21228 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21229 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21230 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21231 * include/gnu_java_awt_peer_qt_QMatrix.h,
21232 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21233 * include/gnu_java_awt_peer_qt_QPen.h,
21234 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21235 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21236 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21237 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21238 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21239 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21240 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21241 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21242 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21243 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21244 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21245 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21246 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21247 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21248 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21249 * include/gnu_java_awt_peer_qt_QtImage.h,
21250 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21251 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21252 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21253 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21254 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21255 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21256 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21257 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21258 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21259 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21260 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21261 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21262 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21263 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21264 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21265 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21266 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21267 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21268 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21269 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21270 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21271 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21272 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21273 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21274 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21275 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21276 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21277 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21278 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21279 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21280 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21281 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21282 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21283 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21284 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21285 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21286 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21287 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21288 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21289 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21290 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21291 * include/java_lang_VMProcess.h:
21293 * native/jni/java-lang/java_lang_VMProcess.c:
21294 Redirect when pipe_count is 2 not 3.
21296 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21298 * gnu/java/awt/font/FontDelegate.java,
21299 * gnu/java/awt/font/FontFactory.java,
21300 * gnu/java/awt/font/GNUGlyphVector.java,
21301 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21302 * gnu/java/awt/font/opentype/GlyphNamer.java,
21303 * gnu/java/awt/font/opentype/MacResourceFork.java,
21304 * gnu/java/awt/font/opentype/NameDecoder.java,
21305 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21306 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21307 * gnu/java/awt/font/opentype/Scaler.java,
21308 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21309 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21310 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21311 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21312 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21313 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21314 * gnu/java/awt/font/opentype/truetype/Zone.java,
21315 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21316 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21317 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21318 New files. Imported font framework from:
21319 http://www.brawer.ch/software/fonts/
21321 2006-04-30 Roman Kennke <kennke@aicas.com>
21323 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21324 (lastTabInRun): Fix calculation of the last tab in a run. This
21325 has caused painting problems sometimes, making the
21326 last tab painted incorrectly.
21328 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21331 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21332 Use for and not while to prevent the endless loop.
21334 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21336 * javax/swing/JList.java
21337 (paramString): Changed from public to protected.
21339 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21341 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21342 (printHelpAndExit): Re-factored to use the above method.
21344 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21346 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21347 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21348 * tools/gnu/classpath/tools/jarsigner/Main.java:
21349 Changed license to GPL + Exception.
21350 (handler): New field.
21351 (getCallbackHandler): New method.
21352 (setupSigningParams): Use above method.
21353 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21354 Changed license to GPL + Exception.
21355 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21356 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21357 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21358 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21360 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21362 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21363 (handleConfirmation): Use print instead of println.
21364 (handleConfirmation): When case is YES_NO_OPTION, print default option
21366 (handleLanguage): Use print instead of println.
21368 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21370 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21371 (putComponent): Handle O and OU components.
21372 (getDer): Use correct (it2) iterator.
21373 (readAttributeValue): Read next character and break if end-of-stream.
21375 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21377 * gnu/java/security/provider/Gnu.java (run):
21378 Add "RSA" as an alias to MD5withRSA.
21379 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21380 Always encode a NULL as the value of an algorithm parameters field.
21381 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21382 (encodePrivateKey): Added trace/log statements.
21383 (decodePrivateKey): Likewise.
21384 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21385 (setup): Added trace/log statements.
21386 (generate): Likewise.
21387 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21388 (toString): New method.
21389 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21391 (toString): New method.
21392 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21393 (getEncoded): Use defaultFormat.
21394 (toString): New method.
21395 * gnu/java/security/key/dss/DSSKey.java (toString):
21396 Include defaultFormat in string.
21397 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21398 Break if successfully decoded public key.
21399 (engineGeneratePrivate): Break if successfully decoded private key.
21401 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21403 * java/security/Security.java <clinit>: Add our Callback provider.
21404 * resource/java/security/classpath.security: Likewise
21406 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21409 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21410 Decide about scroll bars from the preferred view size, not
21412 * javax/swing/ViewportLayout.java (layoutContainer):
21413 Do not change returned preferred size. Do not treat JScrollPane
21416 2006-04-28 Sven de Marothy <sven@physto.se>
21418 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21419 * javax/swing/ProgressMonitor.java (actionPerformed):
21420 Avoid divide-by-zero.
21422 2006-04-28 Sven de Marothy <sven@physto.se>
21424 * javax/swing/JSpinner.java: Fix default text justification.
21425 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21427 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21429 * javax/swing/JList.java
21430 (getMinSelectionIndex): Return correct value, added API docs,
21431 (getMaxSelectionIndex): Added API docs.
21433 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21435 * javax/swing/JList.java
21436 (JList(Object[])): Pass new model directly to init(),
21437 (JList(Vector)): Likewise,
21438 (JList(ListModel)): Renamed argument and updated API docs,
21439 (init): Throw IllegalArgumentException for null argument,
21440 (setListData(Object[])): Delegate model creation,
21441 (setListData(Vector)): Likewise,
21442 (createListModel(Object[])): New private method,
21443 (createListModel(Vector)): New private method,
21444 (paramString): Implemented.
21446 2006-04-28 Tom Tromey <tromey@redhat.com>
21448 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21450 (isSynthetic): Likewise.
21451 (isAnnotation): Likewise.
21452 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21453 (isAnnotation): Likewise.
21454 (isEnum): Likewise.
21456 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21458 * javax/swing/text/View.java:
21459 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21462 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21464 * javax/swing/text/View.java:
21465 (getNextVisualPositionFrom): Rewritten.
21466 * javax/swing/text/CompositeView.java:
21467 (getNextEastWestVisualPositionFrom): Partly implemented.
21468 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21470 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21472 * javax/swing/JList.java
21473 (setFixedCellHeight): Use correct property name for event.
21475 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21477 * javax/swing/text/Utilities.java:
21478 (getNextWord): Use codePointAt instead of charAt, added note, changed
21479 if-expression, added throwing of exception.
21480 (getPreviousWord): Use codePointAt instead of charAt.
21482 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21484 * java/lang/StringBuilder.java
21485 (ensureCapacity, getChars, append(StringBuffer),
21486 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21487 insert(int,String), insert(int,char), trimToSize): Replaced
21488 System.arraycopy calls with VMSystem.arraycopy.
21490 2006-04-27 Tom Tromey <tromey@redhat.com>
21492 * java/awt/image/renderable/RenderableImageProducer.java
21493 (requestTopDownLeftRightResend): Implemented.
21495 (startProduction): Add new consumer.
21497 2006-04-27 Sven de Marothy <sven@physto.se>
21499 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21501 2006-04-27 Roman Kennke <kennke@aicas.com>
21503 * java/awt/LightweightDispatcher.java
21504 Dispatch events only to targets that have a mouselistener
21505 attached. Changed to also handle null targets.
21507 2006-04-27 Roman Kennke <kennke@aicas.com>
21509 * NEWS: Added entries about accessibility support and L&F
21510 window decorations.
21512 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21514 * javax/swing/text/Utilities.java:
21515 (getTabbedTextOffset): Introduced width variable, rewritten the check
21516 which ends the loop.
21517 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21520 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21522 * examples/gnu/classpath/examples/swing/TreeDemo.java
21523 (createContent): Added root visibility and selection listener demos.
21524 * javax/swing/JTree.java (setRootVisible): If false, unselect
21525 the root node, if it is selected.
21526 * javax/swing/plaf/basic/BasicTreeUI.java
21527 (TreeTraverseAction.actionPerformed): Do not select the root if it
21529 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21530 removeSelectionPaths): Reset lead to null if the current lead path is
21531 removed from selection.
21532 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21533 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21534 Return the same path regardless is root visible or not. (update):
21535 Reduce the identation if the root is not visible.
21536 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21537 Return the same path regardless is root visible or not. (update):
21538 Reduce the identation if the root is not visible.
21540 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21542 * javax/swing/plaf/basic/BasicTreeUI.java
21543 (TreeAction.actionPerformed):Newly obtain the current lead
21544 path that must stay visible.
21545 (TreeTraverseAction.actionPerformed):Rewritten.
21546 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21547 Do not treat root specially. (setModel): Assume the root node
21548 initially expanded.
21549 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21550 Do not treat root specially. (setModel): Assume the root node
21551 initially expanded.
21553 2006-04-26 Chris Burdess <dog@gnu.org>
21556 * javax/xml/datatype/DatatypeFactory.java: Use complete
21557 implementation resolution mechanism.
21559 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21561 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21563 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21564 Removed NoImplementException form the implemented method.
21566 2006-04-26 Tom Tromey <tromey@redhat.com>
21568 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21571 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21573 * javax/swing/DefaultListSelectionModel.java
21574 (clone): Initialise empty listener list,
21575 (setSelectionMode): Throw IllegalArgumentException for bad input.
21577 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21579 * javax/swing/DefaultListSelectionModel.java
21580 (clearSelection): Clear the Bitset.
21582 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21584 * javax/swing/JTree.java (setLeadSelectionPath):
21585 Repaint the new and old lead pathes.
21586 * javax/swing/plaf/basic/BasicTreeUI.java
21587 (FocusHandler): Repaint the lead row when focus changes.
21588 (PropertyChangeHandler): Use existing constants, not the
21589 string literals for the property names.
21590 (TreeIncrementAction): Shrink the selection when moving
21591 from the selection edge to the selection anchor.
21592 (TreeSelectionHandler.valueChanged): Repaint the
21593 new and old lead pathes.
21594 (paintRow): Treat row as focused only if it is the lead row.
21595 * javax/swing/tree/DefaultTreeCellRenderer.java
21596 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21597 (paint): Rewritten.
21598 * javax/swing/tree/DefaultTreeSelectionModel.java
21599 (addSelectionPath): Event construction fix (old and new lead were
21601 (addSelectionPaths): Likewise.
21602 * javax/swing/JComponent.java (setOpaque): Explained.
21603 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21605 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21608 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21610 * examples/gnu/classpath/examples/swing/TreeDemo.java
21611 (createContent): Call DefaultTreeModel.reload(), not the
21612 tree.repaint(). Expand the parent of the added node.
21613 * javax/swing/JTree.java (constructor): Do not call
21614 UpdateUI (and documented why). (treeDidChange):
21615 Added comment, excluding the misinterpretation of this method.
21616 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21617 focusListener, keyListener, mouseListener, propertyListener,
21618 selectionModelPropertyChangeListener, treeModelListener,
21619 treeSelectionListener): Made package private.
21620 (PropertyChangeHandler): If the model changes, install the
21621 listener on it. (installUI): Assign treeModel.
21622 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21623 comment, excluding misinterpretation.
21624 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21625 (reload(TreeNode)): Implemented.
21627 2006-04-25 Tom Tromey <tromey@redhat.com>
21629 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21630 * javax/swing/tree/VariableHeightLayoutCache.java
21631 (getVisiblePathsFrom): Genericized.
21632 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21635 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21637 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21638 If clicked on the other row, cancel the current editing session.
21640 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21642 * javax/swing/plaf/basic/BasicTreeUI.java
21643 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21644 (paintExpandControl): Always paint in one gap distance from the left
21645 border of the path bounds.
21646 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21647 into consideration.
21648 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21651 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21653 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21655 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21657 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21658 Allow slashes (/) in the unquoted parameter value.
21660 2006-04-25 Roman Kennke <kennke@aicas.com>
21662 * gnu/java/awt/java2d/AbstractGraphics2D.java
21663 (drawString(String,int,int)): Implemented.
21664 (drawString(String,float,float)): Implemented.
21665 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21666 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21667 (getFontRenderContext): Implemented.
21668 (drawGlyphVector): Implemented.
21669 (getFont): Implemented.
21670 (setFont): Don't change font setting when null.
21671 (getFontMetrics): Implemented.
21672 (fillShape): Re-written to fill call rawFillShape() with a list
21673 of the edges instead of double arrays.
21674 (rawFillShape): Implemented using a polygon scanline conversion.
21675 (fillScanline): New helper method.
21676 (init): Initialize foreground black. Set font.
21677 * gnu/java/awt/java2d/PolyEdge.java: New file.
21678 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21680 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21682 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21684 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21686 * javax/swing/JTable.java: Fixed API doc tags,
21687 * javax/swing/text/AsyncBoxView.java: Likewise,
21688 * javax/swing/text/FlowView.java: Likewise.
21690 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21692 * javax/swing/table/DefaultTableColumnModel.java
21693 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21695 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21697 * javax/swing/table/DefaultTableColumnModel.java
21698 (DefaultTableColumnModel): Set selection model field and add 'this' as
21700 (addColumn): Add 'this' as a PropertyChangeListener,
21701 (removeColumn): Remove column before firing event, and remove 'this' as
21702 a PropertyChangeListener,
21703 (setSelectionModel): Remove 'this' as a listener from old model,
21704 (propertyChange): Check for 'width' property rather than
21705 TableColumn.COLUMN_WIDTH_PROPERTY.
21707 2006-04-24 Chris Burdess <dog@gnu.org>
21710 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21711 attributes when no doctype exists.
21713 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21715 * javax/swing/event/ChangeEvent.java: Updated API docs,
21716 * javax/swing/event/ChangeListener.java: Likewise,
21717 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21718 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21719 * javax/swing/table/TableColumnModel.java: Likewise.
21721 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21723 * javax/swing/text/Utilities.java:
21724 (getBreakLocation): Introduced shift variable, added notes.
21725 * javax/swing/text/WrappedPlainView.java:
21726 (calculateBreakPosition): Decrease allocation area bounds by insets,
21727 added early return when allocation area is empty, provide start offset
21729 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21730 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21731 numLines after loop.
21732 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21733 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21734 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21735 decreasing variable end by one, changed break condition in while-loop,
21736 added check for return value.
21737 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21738 allocation area is empty.
21740 2006-04-24 Sven de Marothy <sven@physto.se>
21742 * gnu/java/awt/java2d/Segment.java: New file.
21743 * gnu/java/awt/java2d/CubicSegment.java: New file.
21744 * gnu/java/awt/java2d/QuadSegment.java: New file.
21745 * gnu/java/awt/java2d/LineSegment.java: New file.
21746 * java/awt/BasicStroke.java
21747 (start): New field.
21749 (createStrokedShape): Implemented.
21750 (solidStroke): New method.
21751 (dashedStroke): New method.
21752 (capEnds): New method.
21753 (convertPath): New method.
21754 (addSegments): New method.
21755 (capEnd): New method.
21756 (lineIntersection): New method.
21757 (joinSegments): New method.
21759 2006-04-24 Roman Kennke <kennke@aicas.com>
21761 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21764 (clip): Changed clip to be in user space not in target space.
21765 (isOptimized): Added flag to allow optimized drawing for
21766 primitive operations (e.g. for Swing).
21767 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21768 with the paint context etc.
21769 (draw): Clip the shape before drawing it.
21770 (fill): Clip the shape before drawing it.
21771 (setComposite): Update isOptimized flag.
21772 (setPaint): Likewise.
21773 (setStroke): Likewise.
21774 (translate): Update the clip.
21775 (rotate): Likewise.
21778 (transform): Likewise.
21779 (setTransform): Likewise.
21780 (clip): Added optimization for rectangle clips.
21781 (create): Implemented.
21782 (clone): New method.
21783 (setFont): Basic implementation.
21784 (setClip): Update opimization flag.
21785 (drawLine): Added possible optimization.
21786 (fillRect): Added possible optimization.
21787 (fillShape): Implemented shape-filling by filling the flattended
21788 shape using polygon fill.
21789 (drawPixel): Added basic painting.
21790 (rawSetPixel): Changed signature to only take coordinates.
21791 (rawSetForeground): New abstract method.
21792 (getUserBounds): Implemented default for this method.
21793 (rawDrawLine): New method.
21794 (rawFillRect): New method.
21795 (rawFillPolygon): New method.
21796 (init): New method.
21797 (updateOptimization): New method.
21798 (computeIntersection): New method.
21799 (updateClip): New method.
21800 (clipShape): New method.
21802 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21804 * java/lang/Package.java: Added compatibility constructor to ease
21805 VM interface migration.
21807 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21809 * java/lang/Class.java (getEnumConstants): Implemented without
21810 delegating to VMClass.
21811 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21813 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21815 * java/lang/ClassLoader.java (definePackage): Added argument to
21816 Package constructor.
21817 * java/lang/Package.java (Package): Added ClassLoader argument.
21818 (loader): New field.
21819 (getDeclaredAnnotations): Implemented without help from VMPackage.
21820 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21821 to Package constructor.
21822 * vm/reference/java/lang/VMPackage.java: Removed.
21824 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21826 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21827 (createContent): Added check box to swith between single and
21828 multiple selection.
21829 * javax/swing/JTree.java (leadSelectionPath): Removed.
21830 (addSelectionInterval): Explained. (getLeadSelectionPath):
21831 Request the path from model. (getPathsBetweenRows): Explained.
21832 (setLeadSelectionPath): Set the path in model.
21833 * javax/swing/plaf/basic/BasicTreeUI.java
21834 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21835 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21836 (MouseHandler.mousePressed): Call selectPathForEvent.
21838 2006-04-23 Roman Kennke <kennke@aicas.com>
21840 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21842 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21845 Mention changes to VMProcess and VMSystem.
21846 * doc/vmintegration.texinfo:
21847 Change documentation on VMProcess and VMSystem.
21848 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21849 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21850 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21851 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21852 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21853 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21854 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21855 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21856 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21857 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21858 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21859 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21860 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21861 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21862 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21863 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21864 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21865 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21866 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21867 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21868 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21869 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21870 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21871 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21872 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21873 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21874 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21875 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21876 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21877 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21878 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21879 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21880 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21881 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21882 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21883 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21884 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21885 * include/gnu_java_awt_peer_qt_QMatrix.h,
21886 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21887 * include/gnu_java_awt_peer_qt_QPen.h,
21888 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21889 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21890 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21891 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21892 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21893 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21894 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21895 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21896 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21897 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21898 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21899 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21900 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21901 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21902 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21903 * include/gnu_java_awt_peer_qt_QtImage.h,
21904 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21905 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21906 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21907 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21908 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21909 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21910 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21911 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21912 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21913 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21914 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21915 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21916 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21917 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21918 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21919 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21920 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21921 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21922 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21923 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21924 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21925 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21926 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21927 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21928 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21929 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21930 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21931 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21932 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21933 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21934 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21935 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21936 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21937 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21938 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21939 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21940 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21941 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21942 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21943 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21944 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21945 * include/java_lang_VMProcess.h,
21946 * include/java_lang_VMSystem.h:
21947 Regenerated with GCJ 4.1.
21949 2006-04-22 Casey Marshall <csm@gnu.org>
21951 Fixes PR classpath/27228.
21952 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21953 (initialize): also accept `DHParameterSpec.'
21954 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21955 handle a passed-in `DHParameterSpec' properly.
21956 (generate): don't check if the random exponent is less than `q -
21957 1' if no `q' was specified.
21959 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21961 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21962 Only repaint the patches, speficied in the passed event.
21963 (expandPath): Do nothing if the path is already expanded.
21964 (scrollPathToVisible): Only scroll to visible, do nothing else.
21965 * javax/swing/plaf/basic/BasicTreeUI.java
21966 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21967 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21968 (TreeTraverseAction.actionPerformed): Collapse the node on the
21969 action "selectParent". (selectPath): Rewritten.
21970 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21971 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21972 Do not reuse selection array.
21973 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21975 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21978 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21980 * javax/swing/tree/DefaultTreeSelectionModel.java
21981 (addSelectionPath): If the path cannot be added, set it.
21982 (addSelectionPaths): Call insureRowContinuity.
21983 (arePathsContiguous): Implemented.
21984 (canPathBeAdded): New private method.
21985 (canPathsBeAdded): Implemented.
21986 (canPathsBeRemoved): Implemented.
21987 (getPath): New private method.
21988 (insureRowContinuity): Implemented.
21989 (removeSelectionPath): Call insureRowContinuity.
21990 (removeSelectionPaths): Call insureRowContinuity.
21991 (resetRowSelection): Removed stub marking, not used in implementation
21992 (nothing to do there).
21993 (selectOne): New private method.
21994 (setSelectionMode) Call insureRowContinuity.
21995 (setSelectionPaths) Remove the current selection by clearing it.
21997 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
21999 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22000 parameters consistendly, documented some methods.
22001 * java/sql/Blob.java: Likewise.
22002 * java/sql/CallableStatement.java: Likewise.
22003 * java/sql/Clob.java: Likewise.
22004 * java/sql/Connection.java: Likewise.
22005 * java/sql/DatabaseMetaData.java: Likewise.
22006 * java/sql/Date.java: Likewise.
22007 * java/sql/Driver.java: Likewise.
22008 * java/sql/PreparedStatement.java: Likewise.
22009 * java/sql/ResultSet.java: Likewise.
22010 * java/sql/ResultSetMetaData.java: Likewise.
22011 * java/sql/SQLData.java: Likewise.
22012 * java/sql/SQLOutput.java: Likewise.
22013 * java/sql/SQLWarning.java: Likewise.
22014 * java/sql/Statement.java: Likewise.
22015 * java/sql/Time.java: Likewise.
22016 * java/sql/Timestamp.java: Likewise.
22018 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22020 * java/lang/reflect/AccessibleObject.java:
22021 Implemented AnnotatedElement.
22022 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22023 isAnnotationPresent): New methods.
22025 2006-04-21 Tom Tromey <tromey@redhat.com>
22027 PR classpath/27163:
22028 * gnu/java/net/protocol/ftp/FTPConnection.java
22029 (changeWorkingDirectory): Do nothing if path is empty.
22031 2006-04-21 Tom Tromey <tromey@redhat.com>
22034 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22035 case where no '/' appears in 'location'.
22037 2006-04-21 Tom Tromey <tromey@redhat.com>
22039 * java/security/Security.java (<clinit>): Add all default providers.
22040 * resource/java/security/classpath.security: Added comment.
22042 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22044 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22045 * javax/swing/SpinnerNumberModel.java: Likewise.
22047 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22049 * javax/swing/SpinnerDateModel.java
22050 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22051 checking to call compareTo() on start and end.
22053 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22055 * javax/swing/border/AbstractBorder.java: API doc updates,
22056 * javax/swing/border/BevelBorder.java: Likewise,
22057 * javax/swing/border/CompoundBorder.java: Likewise,
22058 * javax/swing/border/EtchedBorder.java: Likewise,
22059 * javax/swing/border/LineBorder.java: Likewise,
22060 * javax/swing/border/MatteBorder.java: Likewise,
22061 * javax/swing/border/TitledBorder.java: Likewise.
22063 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22065 * gnu/javax/crypto/cipher/Anubis.java:
22066 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22068 * gnu/javax/crypto/cipher/Blowfish.java:
22069 (selfTest): Likewise,
22070 * gnu/javax/crypto/cipher/Cast5.java:
22071 (selfTest): Likewise,
22072 * gnu/javax/crypto/cipher/Khazad.java:
22073 (selfTest): Likewise,
22074 * gnu/javax/crypto/cipher/Rijndael.java:
22075 (selfTest): Likewise,
22076 * gnu/javax/crypto/cipher/Serpent.java:
22077 (selfTest): Likewise,
22078 * gnu/javax/crypto/cipher/Square.java:
22079 (selfTest): Likewise,
22080 * gnu/javax/crypto/cipher/Twofish.java:
22081 (selfTest): Likewise,
22082 * gnu/javax/crypto/mac/UMac32.java:
22083 (selfTest): Likewise,
22084 * gnu/javax/crypto/prng/CSPRNG.java:
22085 (getSystemInstance): Likewise.
22087 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22089 * gnu/java/security/hash/Haval.java:
22090 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22092 * gnu/java/security/hash/MD2.java:
22093 (selfTest): Likewise,
22094 * gnu/java/security/hash/MD4.java:
22095 (selfTest): Likewise,
22096 * gnu/java/security/hash/MD5.java:
22097 (selfTest): Likewise,
22098 * gnu/java/security/hash/RipeMD128.java:
22099 (selfTest): Likewise,
22100 * gnu/java/security/hash/RipeMD160.java:
22101 (selfTest): Likewise,
22102 * gnu/java/security/hash/Sha160.java:
22103 (selfTest): Likewise,
22104 * gnu/java/security/hash/Sha256.java:
22105 (selfTest): Likewise,
22106 * gnu/java/security/hash/Sha384.java:
22107 (selfTest): Likewise,
22108 * gnu/java/security/hash/Sha512.java:
22109 (selfTest): Likewise,
22110 * gnu/java/security/hash/Tiger.java:
22111 (selfTest): Likewise,
22112 * gnu/java/security/hash/Whirlpool.java:
22113 (selfTest): Likewise.
22115 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22117 * javax/swing/plaf/basic/BasicTreeUI.java
22118 (PropertyChangeHandler.propertyChange): Set the row mapper
22119 for the selection model.
22120 * javax/swing/tree/AbstractLayoutCache.java
22121 (NodeDimensions.getNodeDimensions): Explained.
22122 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22123 Implemented. (setRowHeight): Invalidate sizes.
22124 * javax/swing/tree/DefaultTreeSelectionModel.java
22125 (addSelectionPath, addSelectionPaths): Update lead row.
22126 (removeSelectionPath, removeSelectionPaths): Do nothing if
22127 selection is empty.
22128 (clone): Only clone list selection model if it is not null.
22129 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22130 setSelectionPath, setSelectionPaths, toString): Implemented.
22131 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22132 Pass the empty rectangle. (isFixedRowHeight): New method.
22133 * javax/swing/tree/VariableHeightLayoutCache.java
22134 (NodeRecord.getBounds): Pass the empty rectangle.
22136 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22138 * gnu/java/security/Properties.java
22139 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22141 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22143 * gnu/classpath/jdwp/util/Value.java
22144 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22145 creating new Boolean instances.
22147 2006-04-20 Mark Wielaard <mark@klomp.org>
22149 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22150 PrivilegedAction. Access awt.toolkit through SystemProperties.
22152 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22154 * javax/swing/ActionMap.java: Removed unused imports,
22155 * javax/swing/DefaultListSelectionModel.java
22156 (clearSelection): Removed unused label,
22157 * javax/swing/JScrollPane.java: Removed unused imports,
22158 * javax/swing/UIManager.java: Likewise,
22159 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22161 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22163 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22164 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22165 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22166 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22167 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22169 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22171 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22172 * java/sql/Blob.java: Likewise,
22173 * java/sql/CallableStatement.java: Likewise,
22174 * java/sql/Clob.java: Likewise,
22175 * java/sql/Connection.java: Likewise,
22176 * java/sql/DatabaseMetaData.java: Likewise,
22177 * java/sql/Date.java: Likewise,
22178 * java/sql/Driver.java: Likewise,
22179 * java/sql/PreparedStatement.java: Likewise,
22180 * java/sql/ResultSet.java: Likewise,
22181 * java/sql/ResultSetMetaData.java: Likewise,
22182 * java/sql/SQLData.java: Likewise,
22183 * java/sql/SQLOutput.java: Likewise,
22184 * java/sql/SQLWarning.java: Likewise,
22185 * java/sql/Statement.java: Likewise,
22186 * java/sql/Time.java: Likewise,
22187 * java/sql/Timestamp.java: Likewise.
22189 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22191 * java/sql/DriverManager.java
22192 (setLoginTimeout): Use incoming argument,
22193 (setLogStream): Likewise,
22194 (println): Fix API doc comment.
22196 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22198 * javax/swing/JMenuItem.java
22199 (paramString): Updated API docs,
22200 (getAccessibleContext): Added API docs,
22201 (AccessibleJMenuItem.stateChanged): Marked as stub,
22202 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22203 * javax/swing/JSlider.java
22204 (paramString): Fix for API docs,
22205 * javax/swing/JToolTip.java
22206 (getAccessibleContext): Fix for API docs.
22208 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22210 * javax/swing/JRadioButtonMenuItem.java
22211 (paramString): Reimplemented,
22212 (getAccessibleContext): API docs added,
22213 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22215 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22217 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22219 * javax/swing/plaf/basic/BasicTreeUI.java
22220 (finish): Invalidate path bounds.
22221 (getMaxHeight): Set the row height to the layout cache.
22222 (startEditing): Do not request to recalculated
22223 row height and preferred size.
22224 * javax/swing/tree/DefaultTreeCellEditor.java
22225 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22227 * javax/swing/tree/FixedHeightLayoutCache.java:
22230 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22232 * javax/swing/JDesktopPane.java
22233 (paramString): Reimplemented,
22234 plus API doc updates in AccessibleJDesktopPane.
22236 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22238 * javax/swing/ImageIcon.java:
22239 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22240 (AccessibleImageIcon.getLocale): Declared exception and always return
22242 (getAccessibleContext): Updated API docs,
22243 plus updated API docs all over AccessibleImageIcon.
22245 2006-04-20 Roman Kennke <kennke@aicas.com>
22248 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22249 (paintText): Fetch the ascent only once. Add the ascent to
22250 the text rect also when tabs are disabled.
22252 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22254 * java/util/Locale.java (defaultLocale): Set to en_US per
22255 default and use user.country but prioritize user.region if
22257 (getLocale(String language, String country)): Renamed region to
22259 (getLocale(String language, String region, String variant)):
22261 (getAvailableLocales): Likewise.
22263 2006-04-20 Roman Kennke <kennke@aicas.com>
22266 * javax/swing/JList.java
22267 (JList()): Call init() with DefaultListModel instance.
22268 (JList(Object[])): Call init() with null.
22269 (JList(Vector)): Call init() with null.
22270 (JList(ListModel)): Call init() with model.
22271 (init): Changed to take the model as argument. Don't call
22272 setter methods and initialize stuff directly instead.
22273 (getCellBounds): Check if UI is null.
22275 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22277 * javax/swing/text/WrappedPlainView.java: Initialize
22278 WrappedLine.numLines with -1.
22279 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22280 numLines is -1 and reculcalate the value appropriately.
22281 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22282 allocation area is empty.
22284 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22286 * javax/swing/JTabbedPane.java
22287 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22288 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22289 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22290 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22291 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22292 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22293 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22294 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22295 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22296 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22297 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22298 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22299 (Page.getAccessibleStateSet): Likewise,
22300 (Page.getAccessibleIndexInParent): Likewise.
22302 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22304 * javax/swing/JProgressBar.java
22305 (paramString): Reimplemented.
22307 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22309 * javax/swing/JButton.java: Updated API docs all over.
22311 2006-04-19 Roman Kennke <kennke@aicas.com>
22313 * java/awt/Toolkit.java
22314 (getDefaultToolkit): Use system classloader to load the
22317 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22319 * javax/swing/text/DefaultCaret.java:
22320 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22321 instead of DefaultCaret.setDot.
22323 2006-04-19 Roman Kennke <kennke@aicas.com>
22325 * native/jni/java-net/local.c
22326 (local_read): Handle EINTR correctly.
22327 (local_write): Likewise.
22329 2006-04-19 Riccardo Mottola <multix@gmail.com>
22331 PR classpath/27062, PR classpath/25650:
22332 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22334 2006-04-19 Tom Tromey <tromey@redhat.com>
22336 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22337 value of 'pureMinutes'. PR classpath/27189.
22339 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22341 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22342 boot packages list from the META-INF/INDEX.LIST file if it exists.
22344 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22346 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22347 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22348 (ITERATION_COUNT): Removed modifiers.
22349 (PASSWORD): Likewise.
22351 (PASSWORD_ENCODING): New property.
22352 (DEFAULT_PASSWORD_ENCODING): New constant.
22353 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22354 material (bytes) before a password (chars).
22356 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22358 * javax/swing/JMenu.java
22359 (getAccessibleChildrenCount): Marked as stub,
22360 (getAccessibleChild): Likewise,
22361 (getAccessibleSelection): Likewise,
22362 (getAccessibleSelection(int)): Likewise,
22363 (isAccessibleChildSelected): Likewise,
22364 (getAccessibleSelectionCount): Likewise,
22365 (addAccessibleSelection): Likewise,
22366 (removeAccessibleSelection): Likewise,
22367 (clearAccessibleSelection): Likewise,
22368 (selectAllAccessibleSelection): Likewise.
22370 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22372 * javax/swing/JSplitPane.java
22373 (getAccessibleContext): Added API docs,
22374 (paramString): Reimplemented,
22375 (setOrientation): Updated API docs,
22376 (setResizeWeight): Added argument checking and event notification.
22378 2006-04-18 Casey Marshall <csm@gnu.org>
22380 Fixes PR classpath/25673
22381 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22382 property is set. Update JavaDoc to reflect this.
22384 2006-04-18 Lillian Angel <langel@redhat.com>
22386 * gnu/xml/dom/DomDocument.java
22387 (setCheckingCharacters): New function used to set
22388 checkingCharacters flag.
22389 * gnu/xml/dom/html2/DomHTMLParser.java
22390 (parseDocument): Added call to set checkingCharacters flag
22393 2006-04-18 Lillian Angel <langel@redhat.com>
22395 * gnu/xml/dom/DomDocument.java
22396 (checkNCName): Reverted last patch. Added check for colon at
22397 last position back in.
22399 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22401 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22403 * examples/gnu/classpath/examples/swing/Demo.java:
22404 (mkMenuBar): Added NavigationFilter demo.
22406 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22408 * javax/swing/JSeparator.java: Updated API docs all over, plus
22409 (setOrientation): Fire PropertyChangeEvent,
22410 (paramString): Reimplemented.
22412 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22414 * javax/swing/plaf/basic/BasicTextUI.java:
22415 (getNextVisualPositionFrom): Implemented.
22417 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22419 * javax/swing/JPanel.java: Updated API docs all over, plus
22420 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22421 double-buffer flag.
22423 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22425 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22427 * examples/gnu/classpath/examples/swing/Demo.java:
22428 (mkMenuBar): Added DocumenFilter demo.
22430 2006-04-18 Tom Tromey <tromey@redhat.com>
22432 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22434 2006-04-18 Mark Wielaard <mark@klomp.org>
22436 Reported by John Sullivan (johns@fsf.org)
22437 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22439 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22441 * javax/swing/JInternalFrame.java
22442 (JDesktopIcon.getAccessibleContext): Added API docs,
22443 (getDefaultCloseOperation): Likewise,
22444 (paramString): Added 'title' attribute,
22445 (setDefaultCloseOperation): Added API docs.
22447 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22449 * javax/swing/JSlider.java
22450 (paramString): Reimplemented.
22452 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22454 * javax/swing/JComboBox.java
22455 (paramString): Reimplemented,
22456 (getAccessibleContext): Added API docs,
22457 (AccessibleJComboBox.getAccessibleRole): Likewise.
22459 2006-04-18 Roman Kennke <kennke@aicas.com>
22461 * javax/swing/RepaintManager.java
22462 (dirtyComponentsWork): New field.
22463 (ComponentComparator): Use dirtyComponentsWork instead of
22465 (RepaintManager): Initialize new field.
22466 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22467 and work on the copy.
22469 2006-04-18 Roman Kennke <kennke@aicas.com>
22471 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22472 (setBounds): Call reshape().
22473 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22474 (SwingContainerPeer): Changed argument to be a Component
22475 instead a Container.
22476 (getInsets): Call insets().
22477 (handleMouseEvent): Added null check to avoid NPE.
22478 (handleMouseMotionEvent): Added null check to avoid NPE.
22480 2006-04-18 Roman Kennke <kennke@aicas.com>
22483 * javax/swing/JComponent.java
22484 (paintChildrenWithOverlap): When one child is not opaque, propagate
22485 the dirty rectangles to the next child.
22486 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22487 This actually didn't work right and probably gained nothing.
22489 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22491 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22492 (moveToCellBeingEdited): Do not clone the rectangle here.
22494 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22496 * javax/swing/plaf/basic/BasicSliderUI.java
22497 (getActionMap): Fixed lookup key,
22498 (createActionMap): Modified actions to fetch slider/ui from the event
22501 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22503 * java/lang/Enum.java: Documented.
22505 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22507 * gnu/java/lang/InstrumentationImpl.java:
22508 Moved from java.lang.
22509 * java/lang/InstrumentationImpl.java:
22511 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22512 Moved from java.lang.
22513 * vm/reference/java/lang/VMClassLoader.java:
22514 Corrected reference to InstrumentationImpl.
22515 * vm/reference/java/lang/VMInstrumentationImpl.java:
22518 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22520 * java/lang/annotation/Annotation.java:
22523 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22525 * javax/swing/JToolBar.java
22526 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22527 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22528 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22529 (getAccessibleContext): Likewise.
22531 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22534 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22536 * native/fdlibm/Makefile.am,
22537 native/jni/classpath/Makefile.am:
22538 Don't use -module and -version-info for convenience libraries LDFLAGS.
22539 Fixes libtool warnings.
22541 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22543 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22544 (installKeyboardActions): Marked as stub,
22545 (uninstallKeyboardActions): Likewise,
22546 * javax/swing/plaf/basic/BasicComboPopup.java:
22547 (installKeyboardActions): Marked as stub,
22548 (uninstallKeyboardActions): Likewise,
22549 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22550 (installKeyboardActions): Marked as stub,
22551 (uninstallKeyboardActions): Likewise,
22552 * javax/swing/plaf/basic/BasicLabelUI.java:
22553 (installKeyboardActions): Marked as stub,
22554 (uninstallKeyboardActions): Likewise,
22555 * javax/swing/plaf/basic/BasicListUI.java:
22556 (installKeyboardActions): Marked as stub,
22557 (uninstallKeyboardActions): Likewise,
22558 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22559 (installKeyboardActions): Marked as stub,
22560 (uninstallKeyboardActions): Likewise,
22561 * javax/swing/plaf/basic/BasicMenuUI.java:
22562 (installKeyboardActions): Marked as stub,
22563 (uninstallKeyboardActions): Likewise,
22564 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22565 (installKeyboardActions): Marked as stub,
22566 (uninstallKeyboardActions): Likewise,
22567 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22568 (installKeyboardActions): Marked as stub,
22569 (uninstallKeyboardActions): Likewise,
22570 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22571 (installKeyboardActions): Marked as stub,
22572 (uninstallKeyboardActions): Likewise,
22573 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22574 (installKeyboardActions): Marked as stub,
22575 (uninstallKeyboardActions): Likewise,
22576 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22577 (installKeyboardActions): Marked as stub,
22578 (uninstallKeyboardActions): Likewise,
22579 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22580 (installKeyboardActions): Marked as stub,
22581 (uninstallKeyboardActions): Likewise,
22582 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22583 (installKeyboardActions): Marked as stub,
22584 (uninstallKeyboardActions): Likewise,
22585 * javax/swing/plaf/basic/BasicTableUI.java:
22586 (installKeyboardActions): Marked as stub,
22587 (uninstallKeyboardActions): Likewise,
22588 * javax/swing/plaf/basic/BasicTextUI.java:
22589 (installKeyboardActions): Marked as stub,
22590 (uninstallKeyboardActions): Likewise,
22591 * javax/swing/plaf/basic/BasicToolBarUI.java:
22592 (installKeyboardActions): Marked as stub,
22593 (uninstallKeyboardActions): Likewise.
22595 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22597 * javax/swing/plaf/basic/BasicSliderUI.java
22598 (installKeyboardActions): Implemented,
22599 (uninstallKeyboardActions): Implemented,
22600 (scrollByBlock): Accept any value for direction,
22601 (scrollByUnit): Likewise,
22602 (getInputMap): New method,
22603 (getActionMap): New method,
22604 (createActionMap): New method.
22607 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22609 * doc/vmintegration.texinfo:
22612 2006-04-16 Tom Tromey <tromey@redhat.com>
22614 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22616 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22619 Mention generics additions to the VM interface.
22620 * doc/vmintegration.texinfo:
22621 Added information on VMClass 1.5 additions and
22624 2006-04-16 Casey Marshall <csm@gnu.org>
22626 * NEWS: add an entry mentioning local socket support.
22628 2006-04-16 Casey Marshall <csm@gnu.org>
22630 * configure.ac (--enable-local-sockets): new enable argument.
22631 (ENABLE_LOCAL_SOCKETS): new define.
22632 * native/jni/java-net/Makefile.am (local_sources): new variable.
22633 (lib_javanet_la_SOURCES): append `local_sources.'
22634 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22635 * native/jni/java-net/local.c,
22636 * native/jni/java-net/local.h,
22637 * include/gnu_java_net_local_LocalSocketImpl.h,
22638 * gnu/java/net/local/LocalServerSocket.java,
22639 * gnu/java/net/local/LocalSocket.java,
22640 * gnu/java/net/local/LocalSocketAddress.java,
22641 * gnu/java/net/local/LocalSocketImpl.java: new files.
22643 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22645 * javax/accessibility/AccessibleAction.java:
22646 (DECREMENT): Added field.
22647 (INCREMENT): Likewise.
22648 (TOGGLE_EXPAND): Likewise.
22649 * javax/accessibility/AccessibleRole.java:
22650 (EDITBAR): Added field.
22651 (FOOTER): Likewise.
22652 (HEADER): Likewise.
22653 (PARAGRAPH): Likewise.
22654 (PROGRESS_MONITOR): Likewise.
22656 * javax/accessibility/AccessibleState.java:
22657 (INDETERMINATE): Added field.
22658 (MANAGES_DESCENDANTS): Likewise.
22659 (TRUNCATED): Likewise.
22661 2006-04-14 Tom Tromey <tromey@redhat.com>
22663 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22665 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22668 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22670 * javax/swing/text/DefaultCaret.java:
22671 (getBypass): New method.
22672 (moveDot): Rewritten.
22673 (moveDotImpl): New method.
22674 (setDot): Rewritten.
22675 (setDotImpl): New method.
22676 (DefaultCaret.Bypass): New class.
22678 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22680 * javax/swing/text/AbstractDocument.java:
22681 (getBypass): New method.
22682 (insertString): Rewritten.
22683 (remove): Rewritten.
22684 (replace): Rewritten.
22685 (insertStringImpl): New method.
22686 (removeImpl): New method.
22687 (replaceImpl): New method.
22688 (AbstractDocument.Bypass): New class.
22690 2006-04-14 Casey Marshall <csm@gnu.org>
22692 Fixes PR classpath/24642
22693 * NEWS: add note about SecureRandom changes, and addition of
22695 * java/security/SecureRandom.java (isSeeded): new field.
22696 (setSeed, setSeed): set `isSeeded' to `true.'
22697 (nextBytes): seed this instance if `isSeeded' is false.
22698 (getSeed): call `generateSeed.'
22699 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22700 (generateSeed, generateSeed): new methods.
22701 * vm/reference/java/security/VMSecureRandom.java: new file.
22703 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22705 * javax/swing/text/FieldView.java:
22706 (paint): Apply clipping rectangle of the allocation area
22707 before painting the text.
22708 * javax/swing/text/DefaultHighlighter.java:
22709 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22710 compute union and intersection, calculate intersection with allocation
22711 area before painting, adjust x and width when painting multiple lines
22712 by the range of the allocation area.
22714 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22716 * javax/swing/text/DefaultHighlighter.java:
22717 (paintLayeredHighlights): Marked as stub.
22719 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22721 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22722 (propertyChanged): Added note, change color only if current background
22723 is a ColorUIResource instance.
22725 2006-04-14 Tom Tromey <tromey@redhat.com>
22727 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22731 2006-04-14 Tom Tromey <tromey@redhat.com>
22733 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22735 2006-04-14 Mark Wielaard <mark@klomp.org>
22737 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22738 thread group when exceptionHandler isn't set.
22739 * vm/reference/java/lang/VMThread.java (run): Use result of
22740 thread.getUncaughtExceptionHandler directly.
22742 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22744 * javax/swing/JSplitPane.java
22745 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22746 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22747 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22748 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22749 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22750 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22751 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22753 2006-04-10 Tom Tromey <tromey@redhat.com>
22755 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22756 Fixed parameter bounds.
22758 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22760 * gnu/javax/crypto/assembly/Assembly.java,
22761 * gnu/javax/crypto/assembly/Cascade.java,
22762 * gnu/javax/crypto/assembly/CascadeStage.java,
22763 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22764 * gnu/javax/crypto/assembly/Direction.java,
22765 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22766 * gnu/javax/crypto/assembly/ModeStage.java,
22767 * gnu/javax/crypto/assembly/Operation.java,
22768 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22769 * gnu/javax/crypto/assembly/Stage.java,
22770 * gnu/javax/crypto/assembly/Transformer.java,
22771 * gnu/javax/crypto/cipher/Square.java,
22772 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22773 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22774 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22775 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22776 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22777 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22778 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22779 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22780 * gnu/javax/crypto/jce/cipher/PBES2.java,
22781 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22782 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22783 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22784 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22785 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22786 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22787 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22788 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22789 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22790 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22791 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22792 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22793 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22794 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22795 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22796 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22797 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22798 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22799 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22800 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22801 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22802 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22803 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22804 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22805 * gnu/javax/crypto/pad/WrongPaddingException.java,
22806 * gnu/javax/crypto/prng/ICMGenerator.java,
22807 * gnu/javax/crypto/prng/IPBE.java,
22808 * gnu/javax/crypto/prng/PBKDF2.java,
22809 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22810 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22811 * gnu/javax/crypto/sasl/srp/IALG.java,
22812 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22813 Remove CVS revision tags.
22815 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22817 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22818 Removed debugging code.
22820 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22822 * javax/swing/JTree.java (getPreferredSize): Return the
22824 * javax/swing/ViewportLayout.java (layoutContainer):
22825 Do not manage the view size and location if the view is
22826 in the scroll pane. Also manage size and location for
22827 Scrollable, if it is not in the scroll pane.
22828 * javax/swing/plaf/basic/BasicTreeUI.java,
22829 * javax/swing/tree/FixedHeightLayoutCache.java,
22830 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22831 * gnu/javax/swing/tree/GnuPath.java: New file.
22833 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22835 * javax/swing/JToolBar.java
22836 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22838 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22840 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22841 (createCustomColoredPanel): Set background color as demo intends,
22842 changed custom selection color to red.
22843 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22844 Replaced various single variables with a Compound instance, added
22845 custom highlighter demo.
22846 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22848 (TextFieldDemo.Compound): New class.
22849 (createTextFieldCompound): New method.
22850 (createLeftAlignedPanel): Rewritten.
22851 (createRightAlignedPanel): Rewritten.
22852 (createCenteredPanel): Rewritten.
22853 (createCustomColoredPanel): Removed.
22854 (createCustomColoredPanel1): New method.
22855 (createCustomColoredPanel2): New method.
22856 (createCustomBordersPanel): New method.
22857 (createMiscPanel): Rewritten.
22858 (actionPerformed): Rewritten.
22859 (createContent): Add panels of new compounds to main panel, put
22860 main panel in a JScrollPane.
22861 * examples/gnu/classpath/examples/swing/Demo.java:
22862 (Demo): Put desktop in a scrollpane.
22863 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22864 method via reflection.
22866 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22868 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22869 (createUI): Return new instance rather than shared instance.
22871 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22873 * javax/swing/text/FieldView.java:
22874 (checkContainer): Call updateVisibility() at the end.
22876 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22878 * java/awt/event/MouseEvent.java:
22879 (paramString): Add value of 'consumed' variable in string.
22881 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22884 * javax/swing/JTextField.java: Removed scrollOffset variable.
22885 (JTextField): Moved up initialization of horizontalVisibility field.
22886 (getScrollOffset): Implemented.
22887 (setScrollOffset): Implemented.
22888 (getHorizonztalVisibility): Removed note.
22889 (scrollRectToVisible): New method.
22890 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22891 (checkContainer): New method.
22892 (updateVisibility): New method.
22893 (calculateHorizontalSpan): New method.
22894 (adjustAllocation): Removed unneeded local variables, added code
22895 to handle scrolling.
22896 (getPreferredSpan): Use new method calculateHorizontalSpan,
22897 avoid calculation by returning cached value cachedSpan.
22898 (paint): Added check whether the hosted component is a JTextField.
22899 (insertUpdate): Invalidate cached span value, update visibility
22901 (removeUpdate): Dito.
22902 (changeUpdate): Dito.
22904 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22906 * javax/swing/JInternalFrame.java
22907 (setTitle): Set old value to 'this.title', not 'title'.
22909 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22911 * javax/swing/JInternalFrame.java
22912 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22913 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22914 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22915 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22916 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22917 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22918 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22919 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22920 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22921 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22923 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22925 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22927 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22929 (JInternalFrame()): Use "" for default title,
22930 (getAccessibleContext): Updated API docs,
22931 (getDesktopIcon): Likewise,
22932 (getLayer): Check for layer in client properties, and return
22933 DEFAULT_LAYER if no setting is found,
22934 (getTitle): Updated API docs,
22935 (setDesktopIcon): Fire property change event.
22937 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22939 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22940 Mind that the presence of one scroll bar may cause the
22943 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22945 * gnu/regexp/REToken.java(unicodeAware): New field,
22946 (toLowerCase, toUpperCase): New methods.
22947 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22948 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22949 Use toLowerCase and toUpperCase defined in REToken instead of
22950 those defined in java.lang.Character.
22951 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22952 (initialize): Sets unicodeAware of the generated REToken to false if
22953 REG_ICASE_USASCII is set.
22954 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22955 to lower case and keep the original value.
22956 (matchOneString): Use the new method charEquals to compare characters.
22957 (charEquals): New method to compare characters.
22958 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22960 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22962 * javax/swing/event/InternalFrameEvent.java:
22963 (paramString): Implemented,
22964 updated API docs all over.
22966 2006-04-12 Casey Marshall <csm@gnu.org>
22968 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22969 (Generator.setup): call `fillBlock.'
22971 2006-04-12 Casey Marshall <csm@gnu.org>
22973 Fixes PR classpath/24481.
22974 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22975 initialize the adaptee.
22976 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22977 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22978 addRandomBytes): new methods.
22980 2006-04-12 Tom Tromey <tromey@redhat.com>
22982 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22985 2006-04-12 Lillian Angel <langel@redhat.com>
22987 * gnu/xml/dom/DomDocument.java
22988 (checkNCName): Removed unneeded part of check.
22989 * gnu/xml/dom/DomNode.java
22990 (dispatchEvent): Added code to grow ancestors array
22991 if needed. Changed checks to use depth of node instead.
22992 Fixes an infinite loop and segmentation fault.
22993 * gnu/xml/dom/html2/DomHTMLParser.java
22994 (handleEndTag): No need to use/make a copy of the node.
22995 Causes an infinite loop.
22997 2006-04-12 Tom Tromey <tromey@redhat.com>
22999 PR classpath/27131:
23000 * java/util/BitSet.java (get): Early return if to==from.
23002 2006-04-12 Mark Wielaard <mark@klomp.org>
23004 * java/security/SecureRandom.java (algorithm): New private field.
23005 (SecureRandom): Initialize algorithm.
23006 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23008 (getInstance): Call 3 argument constructor.
23009 (getAlgorithm): New method.
23011 2006-04-12 Mark Wielaard <mark@klomp.org>
23013 Port UncaughtExceptionHandler support from generics branch.
23014 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23016 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23018 * java/lang/Thread.java:
23019 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23020 Added docs and security check.
23021 (getUncaughtExceptionHandler()): Documented.
23022 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23023 Added docs and security check.
23024 (getDefaultUncaughtExceptionHandler()): Documented.
23025 (getId()): Documented.
23027 2006-04-12 Tom Tromey <tromey@redhat.com>
23029 * vm/reference/java/lang/VMThread.java (run): Use thread's
23031 * java/lang/Thread.java (defaultHandler): New field.
23032 (setDefaultUncaughtExceptionHandler,
23033 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23034 getUncaughtExceptionHandler): New methods.
23035 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23036 UncaughtExceptionHandler.
23037 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23039 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23041 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23042 buffer. Loop only once to determine Utf8 length when possible. Make
23043 the inner loop bounded by buf.length.
23044 (getUTFlength): New private method.
23045 (buf): New private field.
23047 2006-04-11 Lillian Angel <langel@redhat.com>
23049 * gnu/xml/dom/DomNodeIterator.java
23050 (nextNode): Moved line of code to avoid an infinite loop.
23051 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23052 (getCls): New function.
23053 (setCls): Likewise.
23054 (getSrc): Likewise.
23055 (setSrc): Likewise.
23056 * gnu/xml/dom/html2/DomHTMLDocument.java:
23057 Added DomHTMLEmbedElement to map.
23058 (getApplets): Added node name, 'embed'.
23059 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23061 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23062 (getJavaCode): New function.
23063 (setJavaCode): Likewise.
23064 (getObject): Likewise.
23065 (setObject): Likewise.
23066 (getJavaObject): Likewise.
23067 (setJavaObject): Likewise.
23068 (getJavaArchive): Likewise.
23069 (setJavaArchive): Likewise.
23070 (getJavaCodeBase): Likewise.
23071 (setJavaCodeBase): Likewise.
23072 (getJavaType): Likewise.
23073 (setJavaType): Likewise.
23074 (setMayscript): Likewise.
23075 (getMayscript): Likewise.
23076 (setScriptable): Likewise.
23077 (getScriptable): Likewise.
23078 * gnu/xml/dom/html2/DomHTMLParser.java
23079 (parseDocument): Should not check for well formedness
23080 when parsing an html document.
23081 * java/awt/Window.java
23082 (dispatchEvent): Added check to avoid NPE.
23084 2006-04-10 Tom Tromey <tromey@redhat.com>
23086 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23088 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23089 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23091 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23093 * javax/swing/plaf/basic/BasicTextUI.java:
23094 (getNextVisualPositionFrom): Marked as stub.
23096 2006-04-10 Roman Kennke <kennke@aicas.com>
23098 * javax/swing/plaf/basic/BasicLookAndFeel.java
23099 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23100 and create the defaults as strings constants.
23101 (loadSystemColors): Implemented stubbed method.
23103 2006-04-10 Tom Tromey <tromey@redhat.com>
23105 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23108 2006-04-10 Tom Tromey <tromey@redhat.com>
23110 * java/io/CharArrayWriter.java (append): Javadoc fix.
23111 (append): Likewise.
23113 2006-04-10 Tom Tromey <tromey@redhat.com>
23115 * javax/accessibility/AccessibleTextSequence.java: New file.
23116 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23118 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23119 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23120 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23121 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23122 * javax/accessibility/AccessibleExtendedText.java: New file.
23123 * javax/accessibility/AccessibleContext.java
23124 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23125 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23126 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23127 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23128 * javax/accessibility/AccessibleStreamable.java: New file.
23129 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23132 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23134 * javax/swing/tree/AbstractLayoutCache.java
23135 (getNodeDimensions, getRowsForPath): Implemented.
23136 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23137 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23139 2006-04-10 Roman Kennke <kennke@aicas.com>
23141 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23143 2006-04-10 Roman Kennke <kennke@aicas.com>
23145 * javax/swing/JInternalFrame.java
23146 (AccessibleJInternalFrame): Marked all stubbed methods as such
23147 by adding throws NotImplementedException.
23149 2006-04-10 Roman Kennke <kennke@aicas.com>
23151 * javax/swing/JFileChooser.java
23152 (getAccessibleContext): Don't create a new instance on each
23153 call, instead store the accessible context in the
23154 accessibleContext field.
23156 2006-04-10 Roman Kennke <kennke@aicas.com>
23158 * javax/swing/JComboBox.java
23159 (AccessibleJComboBox): Marked all stubbed methods as such
23160 by adding throws NotImplementedException.
23162 2006-04-10 Roman Kennke <kennke@aicas.com>
23164 * javax/swing/ActionMap.java
23165 (readObject): Removed.
23166 (writeObject): Removed.
23168 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23170 * javax/swing/tree/DefaultTreeSelectionModel.java
23171 (addSelectionPaths, setSelectionPaths): Call
23172 insureUniqueness. (clone, setRowMapper): Implemented.
23173 * TreePath (path): Marked final.
23175 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23177 * javax/swing/tree/DefaultTreeSelectionModel.java:
23178 Documented and autoformatted. (insureUniqueness):
23179 Removed stub marking.
23181 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23183 * javax/swing/SizeSequence.java
23184 (sizes): Don't initialise here,
23185 (SizeSequence(int, int)): Initialise sizes field,
23186 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23187 (setSize): Do nothing when index is out of bounds,
23188 (getIndex): Implemented,
23189 (setSizes): Reimplemented,
23190 (getSizes): Likewise,
23191 (insertEntries): Likewise,
23192 (removeEntries): Likewise,
23193 plus added API docs all over.
23195 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23197 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23198 one way message and retry after any IOException.
23200 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23202 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23203 Set the byte order.
23205 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23207 * org/omg/PortableServer/ServantLocatorPOA.java:
23208 (preinvoke, postinvoke): Remove default implementation.
23209 * org/omg/PortableServer/ServantActivatorPOA.java:
23210 (incarnate, etherealize): Remove default implementation.
23211 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23212 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23213 (make_object): Moved method from ObjectReferenceFactoryOperations.
23214 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23215 Removed unspecified interface.
23216 * org/omg/DynamicAny/_DynAnyStub.java:
23217 (_DynAnyStub(Delegate)): Removed constructor.
23218 * org/omg/DynamicAny/_DynArrayStub.java,
23219 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23220 * org/omg/DynamicAny/_DynEnumStub.java,
23221 * org/omg/DynamicAny/_DynFixedStub.java,
23222 * org/omg/DynamicAny/_DynSequenceStub.java,
23223 * org/omg/DynamicAny/_DynStructStub.java,
23224 * org/omg/DynamicAny/_DynUnionStub.java,
23225 * org/omg/DynamicAny/_DynValueStub.java:
23226 Extend from ObjectImpl and not from _DynAnyStub.
23227 (type, next, destroy, copy, rewind, assign, component_count,
23228 current_component, equal, from_any, get_any, get_boolean, get_char,
23229 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23230 get_reference, get_short, get_string, get_typecode, get_ulong,
23231 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23232 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23233 insert_long, insert_longlong, insert_octet, insert_reference,
23234 insert_short, insert_string, insert_typecode, insert_ulong,
23235 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23236 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23237 * org/omg/CosNaming/_BindingIteratorStub.java:
23238 (_BindingIteratorStub(Delegate)): Made package private.
23239 * org/omg/CosNaming/_NamingContextExtStub.java:
23240 (_NamingContextExtStub(Delegate)): Made package private.
23241 * org/omg/CosNaming/_NamingContextStub.java:
23242 (_NamingContextStub(Delegate)): Made package private.
23243 (throw4, throw5): Likewise.
23244 * gnu/CORBA/NamingService/NameParser.java (resolve):
23245 Adapt to package private constructor. Use _set_delegate instead.
23246 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23247 * org/omg/CORBA/ORB.java:
23248 (create_recursive_sequence_tc): Made abstract.
23249 (get_default_context): Likewise.
23250 * gnu/CORBA/OrbRestricted.java:
23251 (create_recursive_sequence_tc): New moved method.
23252 (get_default_context): Likewise.
23253 * org/omg/CORBA/ParameterMode.java:
23254 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23256 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23258 * gnu/CORBA/GIOP/MessageHeader.java (write):
23259 More informative exception.
23260 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23261 * gnu/CORBA/SocketRepository.java (get_socket):
23262 Removed debugging code.
23264 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23266 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23267 one way message, but ignore if EOF was received.
23268 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23269 Minor.EOF if the end of file is received instead of the header.
23271 2006-04-09 Roman Kennke <kennke@aicas.com>
23273 * javax/swing/plaf/metal/MetalRootPaneUI.java
23274 (MetalTitlePane.IconifyAction): New inner class.
23275 (MetalTitlePane.MaximizeAction): New inner class.
23276 (MetalTitlePane.createActions): Create iconifyAction and
23278 (MetalRootLayout.titlePane): New field.
23279 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23281 (MetalRootLayout.preferredLayoutSize): Changed to not make
23282 assumptions about the actual component order.
23283 (MetalRootLayout.layoutContainer): Changed to not make
23284 assumptions about the actual component order.
23285 (installWindowDecorations): Pass the titlePane as parameter to
23286 the MetalRootLayout constructor.
23287 (uninstallWindowDecorations): Changed to not make
23288 assumptions about the actual component order.
23290 2006-04-08 Roman Kennke <kennke@aicas.com>
23292 * javax/swing/plaf/metal/MetalRootPaneUI.java
23293 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23295 (MetalTitlePane.installListeners): Don't register a focus listener
23296 on the window. This is a potential memory leak and must be
23297 implemented on a different way. Install mouse listener here.
23298 (installWindowDecorations): Fixed assertion condition. Always
23299 insert the window decoration at index#1 in the layered
23302 2006-04-08 Roman Kennke <kennke@aicas.com>
23304 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23305 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23306 Only resize window if actual width or height value changes.
23307 Avoids nasty flicker when only setLocation() is beeing called
23310 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23312 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23313 exception if the magic sequence does not match.
23315 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23317 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23318 response for the one way messages.
23320 2006-04-08 Roman Kennke <kennke@aicas.com>
23322 * javax/swing/MenuSelectionManager.java
23323 (processKeyEvent): Implemented stub method.
23324 * javax/swing/JMenu.java
23325 (processKeyEvent): Implemented stub method.
23326 * javax/swing/JMenu.java
23327 (processKeyEvent): Implemented stub method.
23328 (processMenuKeyEvent): Implemented stub method.
23330 2006-04-08 Roman Kennke <kennke@aicas.com>
23332 * javax/swing/AbstractAction.java
23333 (readObject): Removed unneeded method.
23334 (writeObject): Removed unneeded method.
23336 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23338 * javax/swing/plaf/synth/SynthPainter.java:
23339 (paintSplitPaneDividerBorder): Removed.
23341 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23343 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23344 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23345 No longer constants.
23346 (static_initializer): Added to initialize above fields.
23347 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23348 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23349 (static_initializer): Added to initialize above fields.
23351 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23353 * java/awt/Dialog.java: Improved documentation all over.
23354 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23355 (Dialog(Dialog)): Likewise.
23357 2006-04-08 Mark Wielaard <mark@klomp.org>
23359 * java/util/jar/JarFile.java (provider): New static field.
23360 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23363 2006-04-08 Mark Wielaard <mark@klomp.org>
23366 * java/lang/StackTraceElement.java (toString): Don't add space
23367 between type and source indicator.
23369 2006-04-07 Casey Marshall <csm@gnu.org>
23371 Fixes PR classpath/24464
23372 * java/util/jar/JarFile.java (verify, verifyHashes,
23373 EntryInputStream.<init>): pass the Gnu provider directly to
23376 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23379 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23380 (DIGEST0): Use version 3 test vector.
23382 (S_box): New field: Version 3 S-box values.
23383 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23384 (transform): Formating.
23385 (padBuffer): Likewise.
23386 (getResult): Likewise.
23387 (selfTest): Likewise.
23389 2006-04-07 Tom Tromey <tromey@redhat.com>
23391 * java/util/InvalidPropertiesFormatException.java
23392 (serialVersionUID): New field.
23393 (readObject, writeObject): New methods.
23394 * java/util/Arrays.java (toString): Javadoc fixes.
23395 * java/net/URLConnection.java: Cleaned up imports.
23396 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23397 * java/lang/reflect/MalformedParameterizedTypeException.java
23398 (serialVersionUID): New field.
23399 * java/lang/reflect/GenericSignatureFormatError.java
23400 (serialVersionUID): New field.
23401 * java/lang/Class.java (Class): Javado fixes.
23402 (getComponentType): Likewise.
23403 (getGenericInterfaces): Likewise.
23404 (getTypeParameters): Likewise.
23405 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23406 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23408 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23410 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23413 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23415 * java/awt/Dialog.java
23416 (AccessibleAWTDialog): Added api docs
23417 (AccessibleAWTDialog.getAccessibleStateSet):
23418 Renamed from getAccessibleState.
23419 * java/awt/Frame.java
23420 (AccessibleAWTFrame): Added api docs
23421 (AccessibleAWTFrame.getAccessibleStateSet):
23422 Renamed from getAccessibleState.
23424 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23426 * java/awt/Dialog.java: Reformatted.
23428 2006-04-07 Lillian Angel <langel@redhat.com>
23430 * java/awt/Component.java
23431 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23432 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23434 2006-04-07 Tom Tromey <tromey@redhat.com>
23436 * java/beans/beancontext/BeanContextMembershipEvent.java
23437 (serialVersionUID): New field.
23438 * java/beans/beancontext/BeanContextServicesSupport.java
23439 (addBeanContextServicesListener): Synchronize.
23440 (addService): Implemented.
23441 (createBCSChild): Implemented.
23442 (BCSSChild): Added arguments.
23443 (fireServiceAdded): Implemented.
23444 (fireServiceRevoked): Implemented.
23445 (getCurrentServiceSelectors): Implemented.
23446 (hasService): Implemented.
23447 (removeBeanContextServicesListener): Implemented.
23448 (serviceAvailable): Implemented.
23449 (serviceRevoked): Implemented.
23450 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23452 (createBCSChild): Implemented.
23453 (BeanContextSupport):
23454 (addBeanContextMembershipListener): Synchronize.
23455 (fireChildrenAdded): Implemented.
23456 (fireChildrenRemoved): Implemented.
23457 (BeanContextSupport): Use default locale.
23458 (isEmpty): Implemented.
23459 (isDesignTime): Implemented.
23460 (size): Implemented.
23461 (toArray): Synchronized.
23462 (toArray): Likewise.
23463 (iterator): Likewise.
23464 (BCSIterator): Implemented.
23465 (bcsChildren): Implemented.
23466 (validatePendingAdd): Implemented.
23467 (validatePendingRemove): Likewise.
23468 (childJustAddedHook): Implemented.
23469 (childJustRemovedHook): Likewise.
23470 (classEquals): Likewise.
23471 (toArray): Mark as stub.
23472 (setDesignTime): Implemented.
23473 (copyChildren): Implemented.
23474 (containsKey): Implemented.
23475 (contains): Likewise.
23476 (containsAll): Likewise.
23477 (getResource): Implemented.
23478 (getResourceAsStream): Likewise.
23479 (removeBeanContextMembershipListener): Likewise.
23480 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23481 (serialVersionUID): New field.
23482 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23483 (serialVersionUID): New field.
23484 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23487 2006-04-06 Roman Kennke <kennke@aicas.com>
23490 * javax/swing/MenuSelectionManager.java
23491 (setSelectedPath): Search one more item in the loop.
23493 2006-04-06 Tom Tromey <tromey@redhat.com>
23495 * java/awt/image/renderable/RenderableImageProducer.java
23496 (image, context, consumers): New fields.
23497 (RenderableImageProducer): Implemented.
23498 (setRenderContext): Likewise.
23499 (addConsumer): Likewise.
23500 (isConsumer): Likewise.
23501 (removeConsumer): Likewise.
23502 (startProduction): Likewise.
23504 2006-04-06 Roman Kennke <kennke@aicas.com>
23506 * java/awt/Component.java
23507 (AccessibleAWTComponent.getBounds): Return the component
23508 bounds regardless of its showing state.
23509 (AccessibleAWTComponent.getLocation): Return the component
23510 location regardless of its showing state.
23511 (AccessibleAWTComponent.getSize): Return the component
23512 size regardless of its showing state.
23514 2006-04-06 Roman Kennke <kennke@aicas.com>
23516 * javax/swing/JRootPane.java
23517 (getAccessibleContext): New method. Provides an accessibleContext
23520 2006-04-06 Roman Kennke <kennke@aicas.com>
23522 * java/awt/Toolkit.java
23523 (initAccessibility): Use the 'gnu.classpath.home.url' property
23524 to determine the system confiuration directory.
23525 * java/awt/Component.java
23526 (dispatchEvent): Trigger Toolkit dispatching here.
23527 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23528 so it can't be overridden by subclasses and is performed in
23531 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23533 * javax/naming/Binding.java: Added API docs.
23534 * javax/naming/NameClassPair.java: Added API docs.
23535 (fullName): New field.
23536 (setNameInNamespace): New 1.5 method.
23537 (getNameInNamespace): Likewise.
23539 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23541 * javax/naming/CompositeName.java:
23542 (readObject): New deserialization method.
23543 (writeObject): New serialization method.
23545 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23547 * javax/security/auth/x500/X500Principal.java
23548 (readAttributeValue) Check for separator after quoted value was
23549 failing in all cases.
23551 2006-04-06 Mark Wielaard <mark@klomp.org>
23553 * java/lang/Class.java (getClassLoader): Don't do security check
23554 when loader is null.
23556 2006-04-06 Roman Kennke <kennke@aicas.com>
23558 * java/awt/Toolkit.java
23559 (getDefaultToolkit): Initialize accessibility after setting
23561 (initAccessibility): New helper method to setup accessibility.
23563 2006-04-06 Roman Kennke <kennke@aicas.com>
23565 * javax/swing/AbstractButton.java
23566 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23567 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23569 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23570 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23571 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23572 (AccessibleAbstractButton.getCharCount): Implemented stub.
23573 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23574 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23575 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23576 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23577 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23578 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23581 2006-04-06 Roman Kennke <kennke@aicas.com>
23583 * java/awt/Component.java
23584 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23585 state here. This is only done in JComponent.
23586 * javax/swing/JComponent.java
23587 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23589 (getNextFocusableComponent): Implemented stub method.
23590 (grabFocus): Implemented stub method.
23591 (unregisterKeyboardAction): Implemented stub method.
23592 (setNextFocusableComponent): Implemented stub method.
23593 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23594 This is a helper class for providing compatibility with the older
23597 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23600 * javax/naming/directory/BasicAttribute.java,
23601 * javax/naming/directory/BasicAttributes.java:
23602 (readObject): New deserialization method.
23603 (writeObject): New serialization method.
23605 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23607 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23608 (getErrorHandler): Made method abstract.
23609 (setErrorHanlder): Likewise.
23610 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23611 (getErrorHandler): Implement abstract method from superclass.
23612 (setErrorHandler): Likewise.
23613 (errorHandler): New field.
23614 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23615 (getErrorHandler): Implement abstract method from superclass.
23616 (setErrorHandler): Likewise.
23617 (errorHandler): New field.
23618 * javax/xml/XMLConstants.java: Corrected since tag.
23619 (XMLConstants): Added private constructor.
23620 * javax/xml/datatype/Duration.java: Corrected since tag.
23621 (multiply): Made method abstract.
23622 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23623 (DatatypeConstants): Added private constructor.
23624 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23625 (XPathConstants): Added private constructor.
23627 2006-04-05 Tom Tromey <tromey@redhat.com>
23629 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23631 2006-04-05 Tom Tromey <tromey@redhat.com>
23634 * lib/Makefile.am (compile-classes): Touch the output file.
23636 2006-04-05 Roman Kennke <kennke@aicas.com>
23638 * javax/swing/AbstractButton.java
23639 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23640 of the focused state. This is already done in AccessibleAWTComponent.
23642 2006-04-05 Roman Kennke <kennke@aicas.com>
23644 * javax/swing/JComponent.java
23645 (accessibleContext): Fixed API doc for this field.
23646 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23647 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23648 Implemented and added API docs.
23649 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23650 Implemented and added API docs.
23651 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23652 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23653 Implemented and added API docs.
23654 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23655 Implemented and added API docs.
23656 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23657 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23658 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23659 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23660 (AccessibleJComponent.getAccessibleStateSet): Simply return
23661 super here. Added comment about this.
23663 2006-04-05 Roman Kennke <kennke@aicas.com>
23665 * javax/swing/JComponent.java
23666 (AccessibleJComponent.addPropertyChangeListener): Install
23667 ContainerHandler and FocusHandler here.
23668 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23669 ContainerHandler and FocusHandler here.
23670 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23671 by super.getAccessibleChildrenCount().
23672 (AccessibleJComponent.getAccessibleChild): Replaced
23673 by super.getAccessibleChild().
23674 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23675 adding OPAQUE to the supported states.
23676 (AccessibleJComponent.getAccessibleName): Added titled border
23677 and label fallbacks.
23678 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23679 and label fallbacks.
23680 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23681 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23682 explaining why return null seems correct here.
23683 * javax/swing/JLabel.java
23684 (LABEL_PROPERTY): New constant.
23685 (setLabelFor): Store label in labeled component's client properties
23686 for the AccessibleJComponent to read.
23688 2006-04-05 Tom Tromey <tromey@redhat.com>
23690 * java/util/zip/ZipFile.java (available): Defer to super if
23691 entry's size is unknown.
23693 2006-04-05 Tom Tromey <tromey@redhat.com>
23695 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23696 property with mime.types name.
23697 * gnu/classpath/SystemProperties.java: Set
23698 gnu.classpath.mime.types.file if not already set.
23699 * java/net/URLConnection.java (defaultFactory): New field.
23700 (guessContentTypeFromStream): Mark as unimplemented.
23701 (getContentHandler): Updated with libgcj's implementation.
23702 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23705 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23709 * java/util/AbstractList.java (hasNext): Don't throw
23710 ConcurrentModificationException. Update Javadoc.
23711 (hasPrevious): Likewise.
23712 (nextIndex): Likewise.
23713 (previousIndex): Likewise.
23714 * java/util/HashMap.java (hasNext): Likewise.
23715 * java/util/Hashtable.java (hasNext): Likewise.
23716 * java/util/IdentityHashMap.java (hasNext): Likewise.
23717 * java/util/LinkedHashMap.java (hasNext): Likewise.
23718 * java/util/LinkedList.java (nextIndex): Likewise.
23719 (previousIndex): Likewise.
23720 (hasNext): Likewise.
23721 (hasPrevious): Likewise.
23722 * java/util/TreeMap.java (hasNext): Likewise.
23723 * java/util/WeakHashMap.java (hasNext): Likewise.
23725 2006-04-05 Roman Kennke <kennke@aicas.com>
23727 * javax/swing/AbstractButton.java
23728 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23729 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23730 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23731 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23732 (AccessibleAbstractButton.getAccessibleActionDescription):
23734 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23735 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23736 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23737 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23738 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23739 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23741 2006-04-05 Roman Kennke <kennke@aicas.com>
23743 * javax/swing/JComboBox.java
23744 (selectWithKeyChar): Implemented stubbed method.
23746 2006-04-05 Roman Kennke <kennke@aicas.com>
23748 * javax/swing/LookAndFeel.java
23749 (installProperty): New method. Allows primitive typed properties
23750 to be handled like UIResources.
23751 * javax/swing/AbstractButton.java
23752 (clientBorderPaintedSet): New field.
23753 (clientRolloverEnabledSet): New field.
23754 (clientIconTextGapSet): New field.
23755 (clientContentAreaFilledSet): New field.
23756 (setRolloverEnabled): Set the client field to true.
23757 (setBorderPainted): Likewise.
23758 (setIconTextGap): Likewise.
23759 (setContentAreaFilled): Likewise.
23760 (setUIProperty): New helper method.
23761 * javax/swing/JComponent.java
23762 (clientOpaqueSet): New field.
23763 (clientAutoscrollsSet): New field.
23764 (setAutoscrolls): Set the client field to true.
23765 (setOpaque): Likewise.
23766 (setUIProperty): New helper method.
23767 * javax/swing/JDesktopPane.java
23768 (clientDragModeSet): New field.
23769 (setDragMode): Set the client field to true.
23770 (setUIProperty): New helper method.
23771 * javax/swing/JSplitPane.java
23772 (clientDividerSizeSet): New field.
23773 (clientOneTouchExpandableSet): New field.
23774 (setDividerSize): Set the client field to true.
23775 (setOneTouchExpandable): Likewise.
23776 (setUIProperty): New helper method.
23777 * javax/swing/JTable.java
23778 (clientRowHeightSet): New field.
23779 (setRowHeight): Set the client field to true.
23780 (setUIProperty): New helper method.
23781 * javax/swing/JTree.java
23782 (clientRowHeightSet): New field.
23783 (clientScrollsOnExpandSet): New field.
23784 (clientShowsRootHandlesSet): New field.
23785 (setRowHeight): Set the client field to true.
23786 (setShowsRootHandles): Likewise.
23787 (setScrollsOnExpand): Likewise.
23788 (setUIProperty): New helper method.
23790 2006-04-05 Roman Kennke <kennke@aicas.com>
23792 * java/awt/Component.java
23793 (getFont): Don't request the font from the peer's graphics. The
23794 graphics should instead get the font from the Component, which might
23796 (getFocusCycleAncestor): Don't special case Window.
23797 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23798 to here. Correctly determine the focus cycle root.
23799 (transferFocusBackward): Likewise.
23800 (transferFocusUpCycle): Likewise.
23801 * java/awt/Container.java
23802 (transferFocusDownCycle): Moved implementation from
23803 DefaultKeyboardFocusManager to here.
23804 * java/awt/DefaultKeyboardFocusManager.java
23805 (focusPreviousComponent): Moved implementation to
23806 Component.transferFocusBackward().
23807 (focusNextComponent): Moved implementation to
23808 Component.nextFocus().
23809 (upFocusCycle): Moved implementation to
23810 Component.transferFocusUpCycle().
23811 (downFocusCycle): Moved implementation to
23812 Container.transferFocusDownCycle().
23814 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23816 * java/awt/image/ComponentSampleModel.java
23817 (equals): Implemented,
23818 (hashCode): Likewise.
23820 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23822 * java/lang/Class.java
23823 (cast): New method.
23825 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23827 * java/awt/image/ComponentSampleModel.java
23828 (getBankIndices): Return a copy of the array, not a reference to the
23830 (getBandOffsets): Likewise.
23832 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23834 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23836 2006-04-04 Tom Tromey <tromey@redhat.com>
23838 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23840 2006-04-04 Tom Tromey <tromey@redhat.com>
23842 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23843 (MimeTypeMapper): Initialize.
23844 (fillFromFile): New method.
23845 (main): New method.
23846 (mime_strings): Updated.
23848 2006-04-04 Tom Tromey <tromey@redhat.com>
23850 * lib/gen-classlist.sh.in: Correct handle generated files.
23852 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23854 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23855 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23856 * gnu/regexp/CharIndexedCharSequence.java: New file.
23857 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23858 gnu.regexp.CharIndexedCharSequence.
23859 * gnu/regexp/CharIndexedString.java: Likewise.
23860 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23861 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23862 using CharIndexedCharSequence. Use setAnchor when the input
23863 object is already a CharIndexed.
23864 * java/util/regex/Matcher.java(inputCharIndexed): New field
23865 to be used as a parameter of the RE#getMatch.
23867 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23869 * java/awt/image/SampleModel.java: Reformatted.
23871 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23873 * java/awt/image/ComponentSampleModel.java
23874 (ComponentSampleModel(int, int, int, int, int[])): Added API
23876 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23877 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23878 of the bandOffsets and bankIndices arguments, added API documentation,
23879 * java/awt/image/SampleModel.java
23880 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23881 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23882 less than or equal to zero, added API documentation.
23884 2006-04-04 Lillian Angel <langel@redhat.com>
23886 * java/util/zip/ZipFile.java
23887 (getInputStream): Fixed to return size of ZipEntry
23888 minus the total bytes read. This guarantees that the
23889 right value is returned even if some bytes have already
23892 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23894 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23895 Remove static modifier.
23897 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23899 * java/awt/image/ComponentSampleModel.java: Reformatted.
23901 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23903 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23904 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23905 retrieval instructions to javadoc header.
23906 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23907 compressionType field.
23908 * lib/Makefile.am (propertydirs): Add javax directory.
23909 (propertyfiles): Likewise.
23910 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23913 2006-04-03 Tom Tromey <tromey@redhat.com>
23915 PR classpath/26971:
23916 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23917 (BasicAttributeEnumeration.where): Initialize to 0.
23918 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23920 2006-04-03 Lillian Angel <langel@redhat.com>
23922 PR classpath/24596 and PR classpath/26930
23923 * java/util/zip/ZipFile.java
23924 (getInputStream): Override available function for
23925 InflaterInputStream instance.
23927 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23929 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23931 2006-04-03 Tom Tromey <tromey@redhat.com>
23933 * javax/security/auth/kerberos/ServicePermission.java: New file.
23934 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23935 * javax/security/auth/kerberos/KerberosKey.java: New file.
23936 * javax/security/auth/kerberos/KeyImpl.java: New file.
23937 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23938 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23940 2006-04-03 Sven de Marothy <sven@physto.se>
23942 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23943 non-GtkImage images.
23945 2006-04-03 Mark Wielaard <mark@klomp.org>
23947 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23948 as temporary file name.
23950 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23952 * INSTALL: Documented --with-glibj-zip option.
23954 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23956 Fixed all pscan warnings.
23958 * native/jni/classpath/jcl.c (JCL_ThrowException),
23959 native/jni/classpath/jcl.h (DBG),
23960 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23961 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23962 Use "%s" format in fprintf and snprintf explicitely when printing a single
23963 string to prevent format string exploits.
23965 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23966 definition. Included jcl.h instead.
23968 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23970 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23971 (provider): Made it protected.
23972 (providerInstalled): New field.
23973 (Main): Made it a 0-arguments constructor.
23974 Removed throws clasue.
23975 (main): Removed throws clause.
23976 Call processArgs(args) after constructing instance.
23977 Call teardown() before existing.
23978 (processArgs): Added javadoc.
23979 Reduced to throws Exception.
23981 (teardown): New method.
23982 (setupCommonParams): Added javadoc.
23983 Install designated provider if not already installed.
23984 (installNewProvider): New method.
23985 (setupSigningParams): Added javadoc.
23986 Instantiate the KeyStore using type only.
23987 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23988 Removed unused imports.
23989 (start): Reduced to throws Exception.
23990 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23991 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23992 Re-organized imports.
23993 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23994 Test ignoring case.
23995 (getNames): Add "dsa" as an algorithm provided by this Factory.
23996 (makeInstance): Construct IllegalArgumentException with 2 arguments.
23998 2006-04-03 Roman Kennke <kennke@aicas.com>
24000 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24001 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24002 Replaced g_free() with pango_item_free() to avoid problems
24003 with the allocator.
24005 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24008 * java/util/logging/Level.java (parse): Document.
24009 * java/util/logging/LogManager.java (rootLogger): Removed.
24010 (LogManager): Just set loggers to new HashMap.
24011 (getLogManager): Make synchronized. Create and init LogManager if it
24013 (static): Removed block.
24014 (MANAGER_PROPERTY): New private final string.
24015 (makeLogManager): Use new property string, move warning to
24016 createInstance() method.
24017 (CONFIG_PROPERTY): New private final string.
24018 (initLogManager): New method.
24019 (addLogger): Use Logger.root, not rootLogger.
24020 (findAncestor): Likewise.
24021 (readConfiguration): Move warning to createInstance() method.
24022 Add handlers directly to Logger.root. Warn about bad level values.
24023 (getClassProperty): Use new locateClass() method.
24024 (getInstanceProperty): Only catch specific newInstance Errors.
24025 (createInstance): Make private and takes a string to use in warning
24026 messages. Use new locateClass() method and generate appropriate
24028 (warn): New methods.
24029 (locateClass): Locates a class through the context class loader and
24030 system class loader as backup.
24031 * java/util/logging/Logger.java (root): New static final field.
24032 (Logger): Set parent to root.
24033 (setParent): Directly check root field.
24035 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24037 * java/util/Collections.java:
24038 (binarySearch(List, T)): Fixed signature.
24039 (unmodifiableList(List)): Likewise.
24040 (UnmodifiableList(List)): Fixed constructor.
24041 (UnmodifiableRandomAccessList(List)): Likewise.
24042 (unmodifiableMap(Map)): Fixed signature.
24043 (UnmodifiableMap(Map)): Fixed constructor.
24044 (unmodifiableSortedMap(Map)): Fixed signature.
24045 (UnmodifiableSortedMap(Map)): Fixed constructor.
24047 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24049 * java/io/ObjectOutputStream.java:
24050 (writeObject(Object)): Added enum support.
24051 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24052 * java/io/ObjectStreamClass.java:
24053 (isEnum()): New package-private method.
24054 (setFlags(Class)): Added enum support.
24055 * java/io/ObjectStreamConstants.java:
24058 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24060 * javax/swing/text/Segment.java:
24061 (setPosition): Make exception message more verbose.
24062 * javax/swing/text/WrappedPlainView.java:
24063 (insertUpdate): Removed unneeded repaint call.
24064 (changeUpdate): Dito.
24065 (removeUpdate): Dito.
24066 (WrappedLine.determineNumLines): Do not return numLines, break
24067 from loop if no new break point has been calculated.
24068 (WrappedLine.updateDamage): Rewritten.
24069 (WrappedLine.insertUpdate): Removed unneeded update code.
24070 (WrappedLine.removeUpdate): Removed unneeded update code, added
24073 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24075 * configure.ac (with-glibj-zip): Added new option.
24077 * examples/Makefile.am,
24079 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24080 in addition to classes in lib directory.
24082 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24084 * tools/gnu/classpath/tools/giop/GRMIC.java,
24085 tools/gnu/classpath/tools/giop/IorParser.java,
24086 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24087 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24088 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24089 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24090 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24091 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24092 tools/gnu/classpath/tools/rmi/RMIC.java,
24093 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24094 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24095 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24096 linking exception from the licensing header.
24097 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24098 Added licensing header.
24100 2006-04-02 Mark Wielaard <mark@klomp.org>
24102 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24103 (jarsigner): Removed.
24105 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24107 * configure.ac: don't check for isnan function.
24108 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24110 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24112 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24113 * tools/Makefile.am: Generate jarsigner shell script.
24114 * tools/jarsigner.sh.in: New template.
24115 * tools/.cvsignore: Added jarsigner.sh.
24117 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24119 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24120 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24121 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24122 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24123 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24124 Re-organised imports.
24126 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24128 PR classpath/25924:
24129 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24130 Handle case where alpha==0.
24132 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24135 * javax/swing/text/Utilities.java:
24136 (getTabbedTextOffset): Added check to decrement pos not below zero,
24137 changed '>' comparison to '>='.
24138 * javax/swing/text/WrappedPlainView.java:
24139 (lineHeight): New field.
24140 (calculateBreakPosition): Throw InternalError in catch block, removed
24141 unneeded brackets, use specific version of
24142 Utilities.getTabbedTextOffset.
24143 (paint): Set various properties neccessary for drawing.
24144 (WrappedLine.paint): Removed code to set field of outer class.
24145 (WrappedLine.modelToView): Removed unneeded expression from
24147 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24148 -1 from return statement, copy only a subset into the Segment, removed
24149 special handling of mark value - just return it, simplified
24150 incrementation of currLineStart.
24151 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24152 change to parent view.
24153 (WrappedLine.removeUpdate): Dito.
24155 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24157 * javax/swing/text/Segment.java:
24158 (toString): Return empty string when array is null.
24160 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24162 * javax/swing/plaf/basic/BasicTextUI.java:
24163 (damageRange): Use SwingUtilities.computeUnion to avoid
24164 unneccessary Rectangle instantiation.
24166 2006-04-01 Tom Tromey <tromey@redhat.com>
24168 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24170 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24172 * javax/swing/text/CompositeView.java: Fixed copyright header.
24173 * javax/swing/text/BoxView.java: Fixed copyright header.
24174 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24175 * javax/swing/text/Utilities.java: Fixed copyright header.
24177 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24179 * javax/swing/text/CompositeView.java:
24180 (modelToView): Throw BadLocationException when no child
24181 view can be found, restructed to throw exception as early
24183 (viewToModel): Use mutable allocation as argument for viewToModel
24184 call on child view.
24185 * javax/swing/text/BoxView.java:
24186 (getViewAtPoint): Call setBounds() r before method returns with
24187 suitable child view.
24188 * javax/swing/text/Utilities.java:
24189 (getPositionBelow): Added try-catch-block around modelToView call,
24190 added method return when BadLocationException was thrown.
24191 * javax/swing/text/WrappedPlainView.java:
24192 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24193 added note about meaning of rect.x and rect.width, removed unneeded
24194 checks, added code to not return the last possible document offset.
24196 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24198 * javax/swing/text/WrappedPlainView.java:
24199 (WrappedLine.viewToModel): Change < to <= in if-statement,
24200 removed addition of currLineStart to return value.
24201 * javax/swing/text/BoxView.java:
24202 (getViewAtPoint): Use copy instead of r for method call
24203 which modifies the second argument.
24205 2006-04-01 Mark Wielaard <mark@klomp.org>
24208 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24210 2006-03-31 Tom Tromey <tromey@redhat.com>
24212 * lib/split-for-gcj.sh: Updated for multi-field format.
24213 * lib/Makefile.am (CLEANFILES): Added classes.2.
24214 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24215 classes.2 using multiple fields.
24217 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24219 * javax/swing/JTable.java (columnSelectionChanged):
24220 Removed print statement.
24221 * javax/swing/DefaultListSelectionModel.java
24222 (addSelectionInterval, removeSelectionInterval):
24223 Fire the difference between selection. (setLeadSelectionIndex):
24224 Fire the difference and mark current and previous lead
24225 selection indexes for repaint.
24227 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24229 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24230 unnecessary copying.
24231 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24233 2006-03-31 Lillian Angel <langel@redhat.com>
24235 * java/awt/Component.java
24236 (translateEvent): oldKey should be the value of the
24239 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24241 * javax/swing/JTable.java (columnSelectionChanged):
24242 Treat second repaint parameter as width.
24244 2006-03-31 Lillian Angel <langel@redhat.com>
24247 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24248 (realize): New native function.
24249 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24250 Added new function declaration.
24251 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24252 (realize): New function.
24254 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24256 * javax/swing/text/GapContent.java:
24257 (replace): Move all Position instances from gap's end to
24258 it's start before increasing the gap start.
24259 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24260 (propertyChanged): Update the view only instead of
24261 indicating a document change.
24263 2006-03-31 Roman Kennke <kennke@aicas.com>
24265 * javax/swing/JTextField.java
24266 (fireActionPerformed): Put the textfields text in the action
24267 instead of the action name.
24269 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24271 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24272 Check for null jar-file argument.
24273 (setupSigningParams): Check for null alias argument.
24275 2006-03-31 Roman Kennke <kennke@aicas.com>
24277 * javax/swing/JComponent.java
24278 (paintChildren): Split up in two cases, depending on the
24279 optimizedDrawingEnabled flag.
24280 (paintChildrenWithOverlap): New method. Paints children when
24281 not optimizedDrawingEnabled. This implements better painting
24282 algorithm for overlapping components, so that the painted
24283 regions are minimized.
24284 (paintChildrenOptimized): New method. Paints children when
24285 when optimizedDrawingEnabled. This implements a painting
24286 algorithm that is optimized for the case when all children
24287 are guaranteed to be tiled.
24289 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24291 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24292 Attributes.putValue(String,String).
24293 (finishSigning): Likewise.
24294 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24295 (SIGNATURE_VERSION): Likewise.
24296 (readSFManifest): Use local string constant.
24297 (readMainSection): Likewise.
24298 (readVersionInfo): Likewise.
24299 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24300 Redefined using JarUtils constant.
24301 (SIGNATURE_VERSION): Likewise.
24302 (putValue(Name,String)): Made it private.
24304 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24306 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24307 New method. (clearSelection): Rewritten. (setSelectionInterval):
24308 Fire the difference between current and new selection.
24309 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24310 Only repaint the region, where selection has been changed.
24311 * javax/swing/plaf/basic/BasicTableUI.java
24312 (TableAction.actionPerformed): Do not change the column selection
24313 when only row selection change is wanted (and in reverse) and
24314 do not call the repaint() here.
24316 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24319 * javax/swing/DefaultComboBoxModel.java
24320 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24322 (addElement): Call list.addElement() rather than list.add(), and only
24323 update selected item if it is currently null,
24324 (removeElementAt): Update selected item, then remove the element.
24326 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24329 * java/awt/geom/Point2D.java
24330 (distanceSq(double, double)): Fixed order of arguments,
24331 (distanceSq(Point2D)): Likewise,
24332 (distance(double, double)): Likewise,
24333 (distance(Point2D)): Likewise.
24335 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24337 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24338 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24339 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24340 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24341 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24343 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24345 * javax.swing.JTable (constructor): Initialize column
24346 model column margin and table row margin before setting the
24347 table column model. (initialiseLocalVars): Do not call
24348 setIntercellSpacing.
24350 2006-03-30 Chris Burdess <dog@gnu.org>
24352 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24354 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24356 2006-03-30 Mark Wielaard <mark@klomp.org>
24359 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24360 adjust bounds. On resize invalidate and validate container.
24361 Always pass on ComponentEvents to Container super class.
24362 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24363 menuBar and pass to GtkWindowPeer super class.
24364 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24365 bounds and pass to GtkWindowPeer super class.
24366 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24367 New fields for local bounds.
24368 (getX, getY): New methods.
24369 (getWidth): Don't call into awtComponent.
24370 (getHeight): Likewise.
24371 (create): Cache local bounds.
24372 (setLocation): Documented, made protected and just call
24374 (setLocationUnlocked): Removed unused method.
24375 (setBoundsUnlocked): Likewise.
24376 (setBounds): Check whether bounds actually changed and cache local
24378 (setSize): Documented and made protected.
24379 (setResizable): Documented and cache local bounds.
24380 (postConfigureEvent): Update local bounds. Don't call awtComponent
24381 directly but post ComponentEvents.
24382 (show): Cache local bounds.
24383 (getBounds): Override to return cached bounds.
24385 2006-03-30 Lillian Angel <langel@redhat.com>
24387 * gnu/java/awt/peer/gtk/GdkGraphics.java
24388 (drawImage): Added check to prevent NPE.
24389 (drawImage): Likewise.
24390 (drawImage): Likewise.
24391 * java/awt/Choice.java
24392 (dispatchEventImpl): New function. selectedIndex was
24393 not being updated properly otherwise.
24395 2006-03-30 Roman Kennke <kennke@aicas.com>
24397 * javax/swing/JTabbedPane.java
24398 (removeTabAt): Removed debug code.
24400 2006-03-30 Roman Kennke <kennke@aicas.com>
24403 * javax/swing/plaf/basic/BasicTextUI.java
24404 (installKeyboardActions): Simply call getKeymap() and install this.
24405 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24407 2006-03-30 Roman Kennke <kennke@aicas.com>
24409 * javax/swing/JTabbedPane.java
24410 (removeTabAt): Adjust selection correctly when removing a tab
24411 before the selected tab. Also remove the component from the
24412 container, not only the tab object. Repaint and revalidate the
24413 component after the removal.
24414 (removeAll): Set selection to -1 before removing the tabs.
24416 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24418 * java/io/ObjectInputStream.java:
24419 (parseContent(byte)): Added enum support.
24420 * java/io/ObjectStreamConstants.java:
24422 (TC_MAX): Changed to new maximum, TC_ENUM.
24424 2006-03-29 Lillian Angel <langel@redhat.com>
24426 Partial fix for bug #26929
24427 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24428 (updateComponent): Removed. We want to clear the panel
24430 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24431 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24432 Should set the background to the saved background color.
24434 2006-03-29 Mark Wielaard <mark@klomp.org>
24436 Partial fix for bug #26848 (pack).
24437 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24438 Always show instances of Window.
24440 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24442 * javax/swing/JSlider.java
24443 (setPaintLabels): Only create standard labels if labelTable is null,
24444 * javax/swing/plaf/basic/BasicSliderUI.java
24445 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24446 "paintTicks" property change,
24447 (calculateThumbSize): Updated API docs,
24448 (calculateContentRect): Likewise,
24449 (calculateTrackBuffer): Take into account the lowest and highest
24450 labels when calculating buffer space,
24451 (calculateTrackRect): Include labels, if visible, in the calculation of
24452 the trackRect position,
24453 (calculateTickRect): Height is zero if ticks are not painted,
24454 (calculateLabelRect): Use max dimensions of actual labels,
24455 (getWidthOfHighValueLabel): Use preferred size,
24456 (getWidthOfLowValueLabel): Likewise,
24457 (getHeightOfHighValueLabel): Likewise,
24458 (getHeightOfLowValueLabel): Likewise,
24459 (drawInverted): Just return slider setting,
24460 (getHighestValueLabel): Updated API docs,
24461 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24462 to xPositionForValue() and yPositionForValue(),
24463 (paintHorizontalLabel): Removed full qualification of class name,
24464 (paintVerticalLabel): Likewise,
24465 (xPositionForValue): Reimplemented,
24466 (yPositionForValue): Reimplemented,
24467 * javax/swing/plaf/metal/MetalSliderUI.java
24468 (paintTrack): Made track one pixel longer.
24470 2006-03-29 Tom Tromey <tromey@redhat.com>
24473 * tools/Makefile.am (JCOMPILER): Added encoding options.
24474 * examples/Makefile.am (JCOMPILER): Added encoding options.
24476 2006-03-29 Gary Benson <gbenson@redhat.com>
24478 Partial fix for PR classpath/24895
24479 * java/io/FilePermission.java (implies): Canonicalize paths.
24481 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24484 * javax/swing/text/GapContent.java:
24485 (replace): Added call to resetMarksAtZero.
24487 2006-03-29 Roman Kennke <kennke@aicas.com>
24490 * javax/swing/plaf/basic/BasicMenuItemUI.java
24491 (cachedRect): New field.
24492 (BasicMenuItemUI): Initialize cachedRect field.
24493 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24494 to determine layout. Store maximum accelerator and text width
24495 in client properties of parent to allow correct alignment
24496 of accelerators among menu items of one menu.
24497 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24498 method. Align accelerators according to the values calculated
24499 in getPreferredMenuItemSize.
24500 (getAcceleratorString) New helper method.
24501 (layoutMenuItem): New helper method.
24503 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24505 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24506 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24507 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24509 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24510 readExternal, writeExternal): New methods.
24511 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24512 two stages, invokeCommon(Remote, ...) and
24513 invokeCommen(UnicastConnection, ...).
24514 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24515 also the ActivatableRef. toString(): Documented.
24516 * gnu/java/rmi/server/ActivatableRef.java,
24517 tools/gnu/classpath/tools/rmi/Persistent.java,
24518 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24519 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24520 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24521 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24522 tools/gnu/classpath/tools/rmi/RMID.java,
24523 tools/gnu/classpath/tools/rmi/RMID.txt,
24524 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24525 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24526 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24527 tools/gnu/classpath/tools/rmi/registry/package.html,
24528 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24529 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24531 * tools/README: Documented.
24532 * NEWS: Added entry about the activation.
24534 2006-03-29 Roman Kennke <kennke@aicas.com>
24537 * javax/swing/plaf/basic/BasicMenuItemUI.java
24538 (viewRect): New field.
24539 (textRect): New field.
24540 (accelRect): New field.
24541 (iconRect): New field.
24542 (arrowIconRect): New field.
24543 (checkIconRect): New field.
24544 (BasicMenuItemUI): Initialize new fields.
24545 (paintMenuItem): Rewritten to correctly layout and paint
24546 the menu item in a more straightforward way. Use cached rectangle
24547 objects for layout.
24548 (paintAccelerator): Pulled inside the paintMenuItem method.
24550 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24552 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24553 Do not use initCause with UnexpectedException.
24554 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24557 2006-03-29 Mark Wielaard <mark@klomp.org>
24559 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24560 (setCursorID): Removed unused static variable.
24562 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24564 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24566 2006-03-29 Mark Wielaard <mark@klomp.org>
24569 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24570 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24572 2006-03-28 Roman Kennke <kennke@aicas.com>
24574 * javax/swing/UIManager.java
24575 (installLookAndFeel): Implemented.
24576 (setInstalledLookAndFeels): Implemented.
24578 2006-03-28 Roman Kennke <kennke@aicas.com>
24580 * javax/swing/plaf/metal/MetalButtonUI.java
24581 (update): Paint gradient only when the background color
24582 is not a UIResource and if the button is neither armed nor
24583 pressed and if the button is contentAreaFilled.
24585 2006-03-28 Roman Kennke <kennke@aicas.com>
24587 * javax/swing/JLayeredPane.java
24588 (addImpl): Repaint added component.
24590 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24592 * java/util/regex/Matcher.java: Reverted.
24594 2006-03-28 Roman Kennke <kennke@aicas.com>
24596 * javax/swing/text/AsyncBoxView.java
24597 (setEstimatedMajorSpan): Made method protected.
24598 (getEstimatedMajorSpan): Made method protected.
24599 * javax/swing/text/BoxView.java
24600 (flipEastAndWestAtEnds): Fixed typo.
24601 * javax/swing/text/InternationalFormatter.java
24602 (getActions): Made method protected.
24603 * javax/swing/text/Position.java
24604 (Bias): Made class final.
24605 * javax/swing/text/html/HTML.java
24606 (MEDIA): Made field package private. Not specified.
24607 (NOBR): Made field package private. Not specified.
24608 * javax/swing/text/html/NullView.java
24609 Made class package private.
24610 * javax/swing/text/html/parser/Entity.java
24611 Made class non-serializable as specified.
24613 2006-03-28 Roman Kennke <kennke@aicas.com>
24615 * javax/swing/plaf/metal/MetalButtonUI.java
24616 (update): Don't paint gradient if the background color is
24617 no UIResource. Removed double getModel() call. Don't check for
24620 2006-03-28 Roman Kennke <kennke@aicas.com>
24622 * javax/swing/plaf/basic/BasicMenuItemUI.java
24623 (paint): Call paintMenuItem with the selectionBackground as
24625 (paintBackground): Fixed the condition and color for the background
24628 2006-03-28 Roman Kennke <kennke@aicas.com>
24630 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24631 (tabsOpaque): New field.
24632 (paintLeftTabBorder): Paint some parts only when the tabs are
24633 opaque. Determine the tab background using the paintLeftTabBorder()
24635 (paintRightTabBorder): Likewise.
24636 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24638 2006-03-27 Tom Tromey <tromey@redhat.com>
24640 PR classpath/25189:
24641 * java/lang/Enum.java (valueOf): Ensure that the named field
24642 is an enum constant.
24643 (compareTo): Check class of enum.
24645 2006-03-27 Tom Tromey <tromey@redhat.com>
24647 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24649 2006-03-27 Tom Tromey <tromey@redhat.com>
24651 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24653 (getModifiersInternal): Renamed from getModifiers.
24654 (getModifiers): New method.
24655 (isBridge): Likewise.
24656 (isSynthetic): Likewise.
24657 (isVarArgs): Likewise.
24658 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24660 (getModifiersInternal): Renamed from getModifiers.
24661 (getModifiers): New method.
24662 (isSynthetic): Likewise.
24663 (isEnumConstant): Likewise.
24664 * vm/reference/java/lang/reflect/Constructor.java
24665 (getModifiersInternal): Renamed from getModifiers.
24666 (getModifiers): New method
24667 (CONSTRUCTOR_MODIFIERS): New constant.
24668 (isSynthetic): New method.
24669 (isVarArgs): Likewise.
24670 * java/lang/reflect/Member.java (isSynthetic): New method.
24672 2006-03-28 Tom Tromey <tromey@redhat.com>
24674 * java/net/Proxy.java (TYPE): Added missing ";".
24676 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24678 * java/math/RoundingMode.java:
24679 Fixed serialization UID.
24680 * java/net/Proxy.java:
24683 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24685 * java/io/CharArrayWriter.java:
24686 (append(char)): Documented.
24687 (append(CharSequence)): Likewise.
24688 (append(CharSequence,int,int)): Likewise.
24690 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24692 * vm/reference/java/lang/reflect/Constructor.java
24693 (getTypeParameters): Check return value of getSignature for null.
24694 * vm/reference/java/lang/reflect/Method.java
24695 (getTypeParameters): Check return value of getSignature for null.
24697 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24699 * java/rmi/activation/ActivationGroup_Stub.java:
24702 2006-03-27 Tom Tromey <tromey@redhat.com>
24704 * java/io/CharArrayWriter.java (append): New overloads.
24706 2006-03-27 Lillian Angel <langel@redhat.com>
24708 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24709 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24710 Added check for colormap. Prevents assertion error.
24711 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24713 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24715 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24717 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24719 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24722 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24724 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24725 AC_MSG_ERROR instead of echoing the error message
24726 that no compiler has been found manually.
24728 2006-03-27 Roman Kennke <kennke@aicas.com>
24730 * javax/swing/RepaintManager.java
24731 (commitBuffer): Use simple drawImage() method instead of the
24734 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24736 * javax/swing/text/PlainView.java:
24737 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24738 for painting the selected line.
24740 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24742 * javax/swing/plaf/basic/BasicSliderUI.java
24743 (getThumbSize): Removed TODO and updated API docs.
24745 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24747 * javax/swing/text/DefaultCaret.java:
24748 (mouseClicked): Word selection rewritten.
24749 (paint): Draw line inside the bounding rectangle.
24750 (damage): Retrieve caret height from line height.
24752 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24754 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24756 Check for -help option.
24757 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24759 2006-03-27 Roman Kennke <kennke@aicas.com>
24761 * javax/swing/text/FieldView.java
24762 (getPreferredSpan): Don't include trailing newline in
24764 * javax/swing/text/PlainView.java
24765 (drawLine): Don't include trailing newline.
24766 (determineMaxLineLength): Don't include trailing newline.
24767 (getLineBuffer): Made method final.
24769 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24771 * javax/swing/JSlider.java
24772 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24773 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24774 NotImplementedException,
24775 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24777 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24779 * java/lang/ProcessBuilder.java:
24782 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24784 * gnu/java/net/protocol/http/Headers.java:
24785 Match layout of file on HEAD.
24786 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24788 * java/awt/datatransfer/DataFlavor.java
24791 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24793 * gnu/java/security/jce/hash/HavalSpi.java,
24794 * gnu/java/security/jce/hash/MD2Spi.java,
24795 * gnu/java/security/jce/hash/MD4Spi.java,
24796 * gnu/java/security/jce/hash/MD5Spi.java,
24797 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24798 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24799 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24800 * gnu/java/security/jce/hash/Sha160Spi.java,
24801 * gnu/java/security/jce/hash/Sha256Spi.java,
24802 * gnu/java/security/jce/hash/Sha384Spi.java,
24803 * gnu/java/security/jce/hash/Sha512Spi.java,
24804 * gnu/java/security/jce/hash/TigerSpi.java,
24805 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24806 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24807 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24808 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24809 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24810 * gnu/java/security/jce/sig/SignatureAdapter.java,
24811 * gnu/java/security/key/IKeyPairCodec.java,
24812 * gnu/java/security/key/IKeyPairGenerator.java,
24813 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24814 * gnu/java/security/key/dss/DSSKey.java,
24815 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24816 * gnu/java/security/key/dss/DSSPrivateKey.java,
24817 * gnu/java/security/key/dss/DSSPublicKey.java,
24818 * gnu/java/security/key/dss/FIPS186.java,
24819 * gnu/java/security/key/rsa/GnuRSAKey.java,
24820 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24821 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24822 * gnu/java/security/sig/ISignature.java,
24823 * gnu/java/security/sig/ISignatureCodec.java,
24824 * gnu/java/security/sig/dss/DSSSignature.java,
24825 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24826 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24827 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24828 * gnu/java/security/util/Util.java:
24829 Remove CVS revision tags.
24831 2006-03-26 Tom Tromey <tromey@redhat.com>
24833 * java/io/InputStream.java (InputStream): Implements Closeable.
24835 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24837 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24839 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24840 getAnchor): New methods.
24841 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24842 getAnchor): New methods.
24843 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24844 getAnchor): New methods.
24845 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24846 getAnchor): New methods.
24847 * gnu/regexp/REMatch.java(start1): New field.
24848 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24849 (match): set the starting position to start1[] instead of start[],
24850 (getMatchImpl): Set the found REMatch to the input,
24851 (makeCharIndexed): Made public.
24852 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24853 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24854 set the value of start[] copying from start1[].
24855 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24857 * java/util/regex/Matcher.java(inputCharIndexed): New field
24858 to be used as a parameter of the RE#getMatch.
24860 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24862 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24863 Documented the default jre spawning strategy (none).
24864 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24865 getSystem): Obtain the acticivation system from the
24866 DefaultActivationSystem.
24868 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24870 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24871 Ask user for keystore password if one was not provided.
24873 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24875 * tools/README: Added Security tools section.
24876 Documented the jarsigner tool.
24878 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24880 * javax/swing/JScrollBar.java
24881 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24882 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24883 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24884 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24885 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24886 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24887 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24888 (getAccessibleContext): Updated API docs.
24890 2006-03-25 Tom Tromey <tromey@redhat.com>
24892 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24893 change or if generator script changes.
24895 2006-03-25 Tom Tromey <tromey@redhat.com>
24897 * javax/naming/ldap/StartTlsRequest.java: New file.
24898 * javax/naming/ldap/StartTlsResponse.java: New file.
24900 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24902 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24903 to validate all components of a resource path.
24904 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24905 allowed to walk through every component of a resource path.
24907 2006-03-25 Michael Koch <konqueror@gmx.de>
24909 * NEWS: Added item for CLDR 1.3 update.
24911 2006-03-25 Michael Koch <konqueror@gmx.de>
24913 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24914 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24915 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24916 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24917 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24918 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24921 2006-03-25 Michael Koch <konqueror@gmx.de>
24923 * resource/gnu/java/locale/LocaleInformation_az.properties,
24924 resource/gnu/java/locale/LocaleInformation_bs.properties,
24925 resource/gnu/java/locale/LocaleInformation_byn.properties,
24926 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24927 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24928 resource/gnu/java/locale/LocaleInformation_gez.properties,
24929 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24930 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24931 resource/gnu/java/locale/LocaleInformation_haw.properties,
24932 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24933 resource/gnu/java/locale/LocaleInformation_kok.properties,
24934 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24935 resource/gnu/java/locale/LocaleInformation_sid.properties,
24936 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24937 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24938 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24939 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24940 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24941 resource/gnu/java/locale/LocaleInformation_syr.properties,
24942 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24943 resource/gnu/java/locale/LocaleInformation_tig.properties,
24944 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24945 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24946 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24947 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24948 resource/gnu/java/locale/LocaleInformation_wal.properties,
24949 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24952 2006-03-25 Michael Koch <konqueror@gmx.de>
24954 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24955 resource/gnu/java/locale/LocaleInformation_kn.properties,
24956 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24957 resource/gnu/java/locale/LocaleInformation_ko.properties,
24958 resource/gnu/java/locale/LocaleInformation_sl.properties,
24959 resource/gnu/java/locale/LocaleInformation_so.properties,
24960 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24961 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24962 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24963 resource/gnu/java/locale/LocaleInformation_sr.properties:
24964 Random fixes I forgot to commit before.
24966 2006-03-25 Michael Koch <konqueror@gmx.de>
24968 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24969 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24970 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24971 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24972 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24973 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24974 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24975 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24976 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24977 resource/gnu/java/locale/LocaleInformation_en.properties,
24978 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24979 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24980 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24981 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24982 resource/gnu/java/locale/LocaleInformation_fa.properties,
24983 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24984 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24985 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24986 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24987 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24988 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24989 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24990 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24991 resource/gnu/java/locale/LocaleInformation_pa.properties,
24992 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24993 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24994 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24995 resource/gnu/java/locale/LocaleInformation_sa.properties,
24996 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24997 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24998 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24999 Updated currency formats.
25001 2006-03-25 Roman Kennke <kennke@aicas.com>
25003 * javax/swing/text/AbstractDocument.java
25004 (getAttributeContext): Made method final.
25005 (getCurrentWriter): Likewise.
25006 (getEndPosition): Likewise.
25007 (getProperty): Likewise.
25008 (getStartPosition): Likewise.
25009 (putProperty): Likewise.
25010 (readLock): Likewise.
25011 (readUnlock): Likewise.
25012 (writeLock): Likewise.
25013 (writeUnlock): Likewise.
25015 2006-03-25 Roman Kennke <kennke@aicas.com>
25017 * javax/swing/InputMap.java
25018 (allKeys): Check if parent keys is null.
25019 * javax/swing/KeyboardManager.java
25020 (registerEntireMap): Also register map's parent keys.
25021 * javax/swing/plaf/metal/MetalRootPaneUI.java
25022 (propertyChange): Also call super.propertyChange().
25024 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25026 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25027 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25028 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25029 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25030 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25031 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25033 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25035 * gnu/java/util/jar/JarUtils.java: New file.
25036 * java/util/jar/Manifest.java (CRLF): Removed.
25037 (read_main_section): Likewise.
25038 (read_version_info): Likewise.
25039 (expect_header(String,BufferedReader)): Likewise.
25040 (expect_header(String,BufferedReader,String)): Likewise.
25041 (read_header_value): Likewise.
25042 (read_attributes): Likewise.
25043 (read_attribute): Likewise.
25044 (read_individual_sections): Likewise.
25045 (read_section_name): Likewise.
25046 (write_main_section): Likewise.
25047 (write_version_info): Likewise.
25048 (write_header): Likewise.
25049 (write_main_attributes): Likewise.
25050 (write_attribute_entry): Likewise.
25051 (write_individual_sections): Likewise.
25052 (write_entry_attributes): Likewise.
25053 (read): use JarUtils.
25056 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25058 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25061 (SignerInfo(BERReader)): Updated javadoc.
25063 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25065 (encode): New method.
25066 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25067 (PKCS7_DATA): Removed.
25070 (PKCS7SignedData(BERReader)): Updated javadoc.
25072 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25074 (encode): New method.
25075 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25076 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25077 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25078 (decodePrivateKey): Decode x from an OCTET STRING.
25079 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25080 (toString): New method.
25081 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25083 (toString): New method.
25084 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25085 (toString): New method.
25086 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25088 2006-03-25 Roman Kennke <kennke@aicas.com>
25090 * java/util/GregorianCalender.java
25091 (computeTime): Fix comparison to correctly calculate the
25094 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25097 * java/awt/Window.java:
25098 (setFocusCycleRoot): New overriden method.
25099 (isFocusCycleRoot): Likewise.
25100 (getFocusCycleRootAncestor): Likewise.
25101 * java/awt/Container.java:
25102 (getFocusTraversalPolicy): Check also for anchestor == null.
25104 2006-03-25 Mark Wielaard <mark@klomp.org>
25106 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25107 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25110 2006-03-24 Tom Tromey <tromey@redhat.com>
25112 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25114 (writeChar): Removed useless cast.
25115 (writeChars(String)): Implemented.
25116 (writeDouble): Rewrote.
25117 (writeFloat): Likewise.
25118 (writeUTF): Implemented.
25119 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25122 2006-03-24 Roman Kennke <kennke@aicas.com>
25124 * javax/swing/JButton.java
25125 (def): Replaced field with defaultCapable field.
25126 (is_def): Removed field.
25127 (JButton): Initialize defaultCapable with true.
25128 (isDefaultButton): Documented and implemented method by querying
25129 the button's root pane if present.
25130 (isDefaultCapable): Changed def field to defaultCapable.
25131 Added documentation.
25132 (paramString): Call isDefaultButton() instead of accessing field,
25134 (setDefaultCapable): Changed def field to defaultCapable.
25135 Added documentation.
25136 * javax/swing/JRootPane.java
25137 (setDefaultButton): Only change the default button if the
25138 new button is defaultCapable.
25139 * javax/swing/plaf/basic/BasicRootPaneUI.java
25140 (DefaultPressAction): New class.
25141 (DefaultReleaseAction): New class.
25142 (installKeyboardActions): Implemented.
25143 (uninstallKeyboardActions): Implemented.
25144 (propertyChange): Implemented.
25145 * javax/swing/plaf/metal/MetalBorders.java
25146 (ButtonBorder.paintBorder): 'Outsourced' default theme
25147 painting to paintDefaultButtonBorder().
25148 (ButtonBorder.paintDefaultButtonBorder): New helper method
25149 to paint the border in the default theme. This also fixes
25150 painting of the border for default buttons.
25151 (ButtonBorder.paintOceanButtonBorder): Added support for
25152 default button painting. Fixed border for pressed/default state.
25153 * javax/swing/plaf/metal/MetalButtonUI.java
25154 (update): Only paint gradient when in OceanTheme and when the
25155 button is not armed.
25157 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25159 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25160 Inherit from Activator.
25162 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25164 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25165 Print debug message if debug flag is set.
25166 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25167 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25168 detail, do not call iniCause(). (exportClass): New method.
25169 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25170 Ignore null (bootstrap) class loader.
25171 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25172 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25173 visibility to protected.
25174 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25175 (toStub): New method.
25176 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25177 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25178 Explained property java.rmi.activation.port.
25180 2006-03-24 Tom Tromey <tromey@redhat.com>
25182 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25183 * gnu/java/locale/.cvsignore: New file.
25184 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25185 * java/util/Locale.java (getAvailableLocales): Clone result.
25186 (getISOCountries): Likewise.
25187 (getISOLanguages): Likewise.
25188 * scripts/generate-locale-list.sh: Make class public. Added new
25190 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25191 (getLocaleCount): Likewise.
25192 * java/text/Collator.java (getInstance): Javadoc typo fix.
25193 (getAvailableLocales): Wrote.
25195 2006-03-24 Roman Kennke <kennke@aicas.com>
25197 * javax/swing/JTabbedPane.java
25198 (getSelectedComponent): Return null when no component is
25201 2006-03-24 Mark Wielaard <mark@klomp.org>
25203 * NEWS: Add cursor and selection improvements.
25205 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25207 * java/awt/Component.java
25208 (getAccessibleName): Just return accessibleName,
25209 * javax/swing/AbstractButton.java
25210 (getAccessibleStateSet): Mark as stub,
25211 (getAccessibleName): Implemented,
25212 (getAcessibleIcon): Mark as stub,
25213 (getAccessibleRelationSet): Likewise,
25214 (getAccessibleAction): Likewise,
25215 (getAccessibleValue): Likewise,
25216 (getAccessibleActionCount): Likewise,
25217 (getAccessibleActionDescription): Likewise,
25218 (doAccessibleAction): Likewise,
25219 (getCurrentAccessibleValue): Likewise,
25220 (setCurrentAccessibleValue): Likewise,
25221 (getMinimumAccessibleValue): Likewise,
25222 (getMaximumAccessibleValue): Likewise,
25223 (getAccessibleText): Likewise,
25224 (getIndexAtPoint): Likewise,
25225 (getCharacterBounds): Likewise,
25226 (getCharCount): Likewise,
25227 (getCaretPosition): Likewise,
25228 (getAtIndex): Likewise,
25229 (getAfterIndex): Likewise,
25230 (getBeforeIndex): Likewise,
25231 (getCharacterAttribute): Likewise,
25232 (getSelectionStart): Likewise,
25233 (getSelectionEnd): Likewise,
25234 (getSelectedText): Likewise,
25235 (getTextRectangle): Likewise,
25236 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25237 (getIconTextGap): Added @since 1.4,
25238 (setContentAreaFilled): Reordered code to make event sequence match
25239 reference implementation,
25240 * javax/swing/JButton.java
25241 (getSelectedObjects): Removed,
25242 *javax/swing/JComponent.java
25243 (getAccessibleName): Call super.
25245 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25247 * javax/swing/JProgressBar.java
25248 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25249 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25250 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25251 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25252 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25253 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25254 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25255 (getAccessibleContext): Added API docs.
25257 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25259 * javax/swing/plaf/basic/BasicTextUI.java:
25260 (FocusListener.focusLost): Put current selection into the system
25263 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25265 * java/awt/Component.java:
25266 (processMouseEvent): Remove call to consume event.
25267 (dispatchEventImpl): Handle specific events first, do focus request
25268 only when mouse event was not yet consumed.
25269 * javax/swing/text/DefaultCaret.java:
25270 (mousePressed): Rewritten.
25271 (setDot): Changed order of operations.
25274 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25276 * javax/swing/JComponent.java
25277 (AccessibleJComponent.changeSupport): Removed field,
25278 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25279 (AccessibleJComponent.addPropertyChangeListener): Call super,
25280 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25281 * javax/swing/JSlider.java
25282 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25283 (AccessibleJSlider.getAccessibleRole): Likewise,
25284 (AccessibleJSlider.getAccessibleValue): Likewise,
25285 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25286 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25287 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25288 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25289 (getAccessibleContext): Added API docs.
25291 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25293 * gnu/java/rmi/activation/ActivationSystemTransient.java
25294 (debug): Made public. (constructor): Made protected.
25295 (activate, getActivationDesc): Throw more informative exceptions.
25296 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25298 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25300 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25302 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25304 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25305 system, passed in the activation descriptor field.
25306 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25307 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25308 to package private final. (equals): Compare uid, not the system.
25309 (hashCode): Forward to uid.hashCode(). toString(): New method.
25310 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25311 Rewritten. (equals): Compare UID only. toString(): New method.
25312 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25313 UID (space). (hashCode, toString): Rewritten.
25314 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25315 New method. (invoke): Treat null as an empty array for parameters.
25316 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25317 Include count, do not include the static machineId.
25319 2006-03-23 Tom Tromey <tromey@redhat.com>
25321 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25323 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25325 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25326 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25327 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25328 (force): New field. (setForce): New method. (compile): Handle -force.
25329 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25330 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25332 2006-03-23 Roman Kennke <kennke@aicas.com>
25334 * javax/swing/JTabbedPane.java
25335 (Page.getBackground): Return the JTabbedPane's background,
25336 rather than the page's component background.
25337 (Page.getForeground): Return the JTabbedPane's foreground,
25338 rather than the page's component foreground.
25339 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25340 (uninstallUI): Don't set colors to null.
25341 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25342 (paintTabBackground): Correctly determine the tab background.
25343 (getUnselectedBackground): New helper method to
25344 handle the UI property 'TabbedPane.unselectedBackground'
25347 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25349 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25350 (BorderListener.showingResizeCursor): New field.
25351 (BorderListener.mouseMoved, BorderListner.mouseExited):
25354 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25356 * javax/swing/JComboBox.java
25357 (selectWithKeyChar): Mark as stub,
25358 * javax/swing/JFileChooser.java
25359 (setDragEnabled): Mark as stub,
25360 (getDragEnabled): Likewise,
25361 * javax/swing/JSlider.java
25362 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25363 (AccessibleJSlider.getAccessibleRole): Likewise,
25364 (AccessibleJSlider.getAccessibleValue): Likewise,
25365 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25366 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25367 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25368 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25369 * javax/swing/UIManager.java
25370 (installLookAndFeel): Mark as stub,
25371 (setInstalledLookAndFeels): Likewise.
25373 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25375 * javax/swing/filechooser/UnixFileSystemView.java
25376 (getSystemDisplayName): Mark as stub,
25377 (getSystemIcon): Likewise,
25378 (getSystemTypeDescription): Likewise.
25380 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25382 * javax/swing/tree/AbstractLayoutCache.java
25383 (getNodeDimensions): Mark as stub,
25384 (getPreferredHeight): Likewise,
25385 (getPreferredWidth): Likewise,
25386 (getRowsForPaths): Likewise,
25387 (isFixedRowHeight): Likewise,
25388 * javax/swing/tree/DefaultTreeModel.java
25389 (reload()): Mark as stub,
25390 (reload(TreeNode)): Likewise,
25391 (nodeStructureChanged): Likewise,
25392 * javax/swing/tree/DefaultTreeSelectionModel.java
25393 (clone): Mark as stub,
25394 (setRowMapper): Likewise,
25395 (setSelectionPaths): Likewise,
25396 (isRowSelected): Likewise,
25397 (resetRowSelection): Likewise,
25398 (insureRowContinuity): Likewise,
25399 (arePathsContiguous): Likewise,
25400 (canPathsBeAdded): Likewise,
25401 (canPathsBeRemoved): Likewise,
25402 (notifyPathChange): Likewise,
25403 (updateLeadIndex): Likewise,
25404 (insureUniqueness): Likewise,
25405 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25407 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25409 2006-03-22 Tom Tromey <tromey@redhat.com>
25411 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25413 (getStaticAttributeKey): Likewise.
25414 (readAttributeSet): Likewise.
25415 (writeAttributeSet): Likewise.
25416 (readAttributes): Likewise.
25417 (writeAttributes): Likewise.
25418 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25420 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25422 (fireChangedUpdate): Likewise.
25425 (handleEndOfLineString): Likewise.
25426 (textAreaContent): Likewise.
25427 (preContent): Likewise.
25428 (addSpecialElement): Likewise.
25429 (setInnerHTML): Likewise.
25430 (setOuterHTML): Likewise.
25431 (insertBeforeStart): Likewise.
25432 (insertBeforeEnd): Likewise.
25433 (insertAfterEnd): Likewise.
25434 (insertAfterStart): Likewise.
25435 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25436 Mark all methods as stub.s
25437 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25439 (paintHorizontalSeparators): Likewise.
25440 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25442 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25444 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25446 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25449 2006-03-22 Mark Wielaard <mark@klomp.org>
25451 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25453 2006-03-22 Mark Wielaard <mark@klomp.org>
25456 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25457 Takes GtkImage, x and y coordinates.
25458 (gtkWidgetSetCursorUnlocked): Likewise.
25459 (GtkComponentPeer): Set cursor when set.
25460 (setCursor): Handle GtkCursor.
25461 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25463 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25464 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25465 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25466 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25468 2006-03-23 Roman Kennke <kennke@aicas.com>
25471 * gnu/java/security/Registry.java
25472 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25473 * gnu/javax/crypto/pad/PadFactory.java
25474 (getInstance): For PKCS#5, also return PKCS#7 pad
25476 (getNames): Added PKCS#5.
25477 * javax/crypto/KeyGenerator.java
25478 (getInstance): Initialize key generator before returning
25481 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25483 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25484 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25485 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25486 if COMMENTS is set.
25488 2006-03-22 Tom Tromey <tromey@redhat.com>
25490 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25491 (getBoolean): Likewise.
25492 (getString): Likewise.
25493 (getIcon): Likewise.
25495 2006-03-22 Mark Wielaard <mark@klomp.org>
25498 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25499 (GLightweightPeer(Component)): Install MouseListener.
25500 (setCursor): Implement.
25501 (mouseEntered): New method.
25503 2006-03-22 Tom Tromey <tromey@redhat.com>
25505 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25507 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25509 (getFontForState): Likewise.
25510 (getInsets): Added 'result' argument.
25511 (getPainter): Renamed.
25513 2006-03-22 Tom Tromey <tromey@redhat.com>
25515 * javax/swing/plaf/synth/SynthPainter.java
25516 (paintScrollBarThumbBackground): Added 'orientation' argument.
25517 (paintScrollBarThumbBorder): Likewise.
25518 (paintSliderThumbBackground): Likewise.
25519 (paintSliderThumbBorder): Likewise.
25520 (paintTabbedPaneTabBackground): Added 'index' argument.
25521 (paintTabbedPaneTabBorder): Likewise.
25523 2006-03-22 Tom Tromey <tromey@redhat.com>
25525 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25526 (toString): New method.
25528 2006-03-22 Tom Tromey <tromey@redhat.com>
25530 * doc/hacking.texinfo (Source Code Style Guide): Mention
25531 NotImplementedException.
25532 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25533 (flushBefore): Mark as stub.
25535 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25537 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25540 (writeBit): Likewise.
25541 (writeChars): Likewise.
25542 (writeUTF): Likewise.
25543 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25546 * java/net/URLConnection.java (getContent): Mark as stub.
25547 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25548 * java/awt/TexturePaint.java (createContext): Mark as stub.
25549 (getTransparency): Mark as stub.
25550 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25551 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25552 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25554 (getImageCapabilities): Likewise.
25555 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25556 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25557 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25559 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25560 (getAdvanceBetween): Likewise.
25561 (getLayout): Likewise.
25562 (insertChar): Likewise.
25563 (getLineBreakIndex): Likewise.
25564 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25565 (getAdvance): Likewise.
25566 (getAscent): Likewise.
25567 (getDescent): Likewise.
25568 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25569 (insertChar): Likewise.
25570 (nextLayout): Likewise.
25571 (nextLayout): Likewise.
25572 (nextOffset): Likewise.
25573 (nextOffset): Likewise.
25574 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25575 (equals): Likewise.
25576 (getAdvance): Likewise.
25577 (getAscent): Likewise.
25578 (getBounds): Likewise.
25579 (getDescent): Likewise.
25580 (hashCode): Likewise.
25581 (ImageGraphicAttribute): Likewise.
25582 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25583 (getJustificationInfo): Likewise.
25584 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25585 (getGlyphCharIndices): Likewise.
25586 (getGlyphOutline): Likewise.
25587 (getGlyphPixelBounds): Likewise.
25588 (getLayoutFlags): Likewise.
25589 (getPixelBounds): Likewise.
25590 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25591 (getRSB): Likewise.
25592 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25593 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25594 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25596 (resetRecognizer): Likewise.
25597 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25599 (getNativesForFlavor): Likewise.
25600 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25601 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25603 (getRegion): Likewise.
25604 (createUI): Likewise.
25605 (initialize): Likewise.
25606 (uninitialize): Likewise.
25607 (getDefaults): Likewise.
25609 (shouldUpdateStyleOnAncestorChanged): Likewise.
25610 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25612 (getPreferredSize): Likewise.
25613 (getMaximumSize): Likewise.
25614 (paintText): Likewise.
25615 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25617 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25619 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25621 * java/io/ObjectStreamConstants.java: Added since tag.
25622 (PROTOCOL_VERSION_1): Added javadoc.
25623 (PROTOCOL_VERSION_2): Likewise.
25624 * java/io/ObjectOutputStream.java:
25625 (setDefaultProtocolVersion): Removed.
25626 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25628 2006-03-21 Lillian Angel <langel@redhat.com>
25630 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25631 (BMPInfoHeader): Removed debug lines.
25632 * gnu/javax/imageio/bmp/EncodeRLE4.java
25633 (encode): Implemented.
25634 (uncompress): New function implemented to
25635 uncompress the image before encoding.
25636 * gnu/javax/imageio/bmp/EncodeRLE8.java
25637 (encode): Implemented.
25638 (uncompress): New function implemented to
25639 uncompress the image before encoding.
25641 2006-03-21 Roman Kennke <kennke@aicas.com>
25643 * javax/swing/text/html/FormView.java
25644 (getImageData): New helper method.
25646 2006-03-21 Tom Tromey <tromey@redhat.com>
25648 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25650 (Unsafe): Now final.
25652 2006-03-21 Roman Kennke <kennke@aicas.com>
25654 * javax/swing/text/html/FormView.java
25655 (MouseEventListener): New inner class.
25657 2006-03-21 Roman Kennke <kennke@aicas.com>
25659 * javax/swing/text/html/ListView.java: New file.
25661 2006-03-21 Tom Tromey <tromey@redhat.com>
25663 * java/text/Bidi.java: Completed.
25665 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25667 * javax/swing/JTable.java:
25668 (columnAtPoint): Removed the null check, this method should throw a NPE
25669 if the argument is null.
25671 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25673 * javax/swing/text/DefaultHighlighter.java:
25674 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25676 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25678 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25679 the textcomponent having a selection.
25680 (clearSelection): Clear 'componentWithSelection' variable.
25681 (handleSelection): Clear selection of current component having a
25682 selection before setting a new selection in another component.
25683 (mouseDragged): Only react on left mouse button.
25684 (mouseClicked): Only react on left mouse button.
25686 2006-03-21 Roman Kennke <kennke@aicas.com>
25688 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25689 (paintContentBorderTopEdge): Implemented.
25690 (paintContentBorderBottomEdge): Implemented.
25691 (paintContentBorderLeftEdge): Implemented.
25692 (paintContentBorderRightEdge): Implemented.
25693 (isLastTabInRun): New helper method.
25695 2006-03-21 Roman Kennke <kennke@aicas.com>
25697 * javax/swing/JTabbedPane.java
25698 (Page.getForeground): Fall back to returning the tabbed pane's
25699 foreground if no foreground has been exclicitly set.
25701 2006-03-21 Roman Kennke <kennke@aicas.com>
25703 * javax/swing/plaf/metal/MetalComboBoxButton.java
25704 (setEnabled): Update colors of button correctly.
25705 * javax/swing/plaf/metal/MetalComboBoxUI.java
25706 (MetalPropertyChangeListener.propertyChange): Update the colors
25707 of the list and the button when any of the color properties
25708 of the ComboBox change.
25710 2006-03-21 Roman Kennke <kennke@aicas.com>
25712 * javax/swing/plaf/basic/BasicButtonUI.java
25713 (uninstallDefaults): Only nullify button colors if they are
25714 not UIResource instances.
25716 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25718 * javax/swing/JComponent.java
25719 (AccessibleJComponent.getAccessibleDescription): Call super,
25720 * javax/swing/JToolTip.java: API doc updates all over, plus
25721 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25722 (AccessibleJToolTip.getAccessibleRole): Implemented,
25723 (getAccessibleContext): Implemented,
25724 (paramString): Reimplemented,
25725 (setComponent): Fire PropertyChangeEvent,
25726 (setTipText): Likewise.
25728 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25730 * java/util/Formatter.java:
25731 Make the class final.
25733 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25735 * java/lang/System.java:
25736 (nanoTime()): Documented.
25737 * java/lang/Thread.java:
25738 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25739 Added docs and security check.
25740 (getUncaughtExceptionHandler()): Documented.
25741 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25742 Added docs and security check.
25743 (getDefaultUncaughtExceptionHandler()): Documented.
25744 (getId()): Documented.
25745 (Thread.State): Documented.
25746 * vm/reference/gnu/classpath/Unsafe.java:
25748 (getUnsafe()): Updated to handle security.
25750 2006-03-20 Tom Tromey <tromey@redhat.com>
25752 * java/lang/System.java:
25753 (nanoTime()): Implemented.
25754 * java/lang/Thread.java:
25755 (getId()): Implemented.
25756 * java/util/AbstractMap.java:
25757 (SimpleImmutableEntry): New 1.6 class.
25758 (BasicMapEntry): Modified to be SimpleEntry.
25759 * java/util/Collections.java:
25760 Modified to use SimpleEntry.
25761 * java/util/EnumMap.java: Likewise.
25762 * java/util/HashMap.java: Likewise.
25763 * java/util/Hashtable.java: Likewise.
25764 * java/util/TreeMap.java: Likewise.
25765 * vm/reference/gnu/classpath/Unsafe.java:
25766 New class to handle low-level facilities for concurrency.
25767 * vm/reference/java/lang/VMSystem.java:
25768 (nanoTime()): Implemented.
25770 2006-03-20 Tom Tromey <tromey@redhat.com>
25772 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25773 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25774 (CertStoreSpi): Updated throws clause.
25775 * java/security/cert/CertPathValidatorSpi.java: Added import for
25777 (engineValidate): Updated 'throws' clause.
25778 * java/security/cert/PKIXParameters.java: Javadoc fix.
25779 * java/security/cert/X509CertSelector.java
25780 (setAuthorityKeyIdentifier): Javadoc fix.
25782 2006-03-20 Tom Tromey <tromey@redhat.com>
25784 * .classpath: Build gnu.javax.swing.plaf.
25786 2006-03-20 Lillian Angel <langel@redhat.com>
25788 * gnu/javax/imageio/bmp/BMPDecoder.java:
25789 Removed unneeded import.
25790 * gnu/javax/imageio/bmp/BMPEncoder.java:
25792 * gnu/javax/imageio/bmp/BMPFileHeader.java
25793 (BMPFileHeader): New constructor used to create info header
25794 for an output stream.
25795 (write): Fixed indexes.
25796 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25797 Initialized writerSpiNames field.
25798 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25800 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25802 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25803 Change visibility for fields.
25804 (BMPInfoHeader): New constructor used to create
25805 file header for an output stream.
25806 (intToDWord): New method. Converts an int to a
25808 (intToWord): New method. Converts an int to a word.
25809 * gnu/javax/imageio/bmp/DecodeBF32.java:
25810 Removed unneeded imports.
25811 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25813 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25815 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25817 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25819 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25821 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25823 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25825 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25827 * javax/imageio/ImageIO.java:
25830 2006-03-20 Roman Kennke <kennke@aicas.com>
25832 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25833 (TabbedPaneLayout.normalizeTabRuns): New method.
25834 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25835 (paintTabBorder): Replaced if-else chain with switch.
25836 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25838 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25840 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25842 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25844 (paintTabBackground): Fetch background color from the TabbedPane.
25845 Fixed painting and improved by not using fillPolygon, and instead
25846 using fillRectangle. Replaced if-else chain with switch.
25847 (calculateMaxTabHeight): Added overridden method with FIXME.
25848 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25850 (paintContentBorderTopEdge): Added stub with FIXME.
25851 (paintContentBorderBottomEdge): Added stub with FIXME.
25852 (paintContentBorderLeftEdge): Added stub with FIXME.
25853 (paintContentBorderRightEdge): Added stub with FIXME.
25855 2006-03-20 Roman Kennke <kennke@aicas.com>
25857 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25858 (tabsOpaque): New field.
25859 (installDefaults): Fetch tabsOpaque property from UIManager.
25860 (paintTab): Fill tab background when tabsOpaque property is true.
25861 * javax/swing/plaf/basic/BasicLookAndFeel.java
25862 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25864 2006-03-20 Roman Kennke <kennke@aicas.com>
25866 * javax/swing/JTabbedPane.java
25867 (Pane.getBackground): When no background was explicitly set, return
25868 the JTabbedPane's background.
25870 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25872 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25873 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25874 * org/omg/CORBA/BAD_INV_ORDER.java,
25875 * org/omg/CORBA/BAD_CONTEXT.java,
25876 * org/omg/CORBA/BAD_OPERATION.java,
25877 * org/omg/CORBA/BAD_PARAM.java,
25878 * org/omg/CORBA/BAD_QOS.java,
25879 * org/omg/CORBA/BAD_TYPECODE.java,
25880 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25881 * org/omg/CORBA/COMM_FAILURE.java,
25882 * org/omg/CORBA/CurrentHolder.java,
25883 * org/omg/CORBA/DATA_CONVERSION.java,
25884 * org/omg/CORBA/FREE_MEM.java,
25885 * org/omg/CORBA/IMP_LIMIT.java,
25886 * org/omg/CORBA/INITIALIZE.java,
25887 * org/omg/CORBA/INTERNAL.java,
25888 * org/omg/CORBA/INTF_REPOS.java,
25889 * org/omg/CORBA/INVALID_ACTIVITY.java,
25890 * org/omg/CORBA/INVALID_TRANSACTION.java,
25891 * org/omg/CORBA/INV_FLAG.java,
25892 * org/omg/CORBA/INV_IDENT.java,
25893 * org/omg/CORBA/INV_OBJREF.java,
25894 * org/omg/CORBA/INV_POLICY.java,
25895 * org/omg/CORBA/MARSHAL.java,
25896 * org/omg/CORBA/NO_RESOURCES.java,
25897 * org/omg/CORBA/NO_MEMORY.java,
25898 * org/omg/CORBA/NO_IMPLEMENT.java,
25899 * org/omg/CORBA/NO_PERMISSION.java,
25900 * org/omg/CORBA/NO_RESPONSE.java,
25901 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25902 * org/omg/CORBA/OBJ_ADAPTER.java,
25903 * org/omg/CORBA/ParameterModeHolder.java,
25904 * org/omg/CORBA/PolicyError.java,
25905 * org/omg/CORBA/PolicyErrorHolder.java,
25906 * org/omg/CORBA/PolicyHolder.java,
25907 * org/omg/CORBA/PolicyListHolder.java,
25908 * org/omg/CORBA/REBIND.java,
25909 * org/omg/CORBA/TIMEOUT.java,
25910 * org/omg/CORBA/TRANSACTION_MODE.java,
25911 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25912 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25913 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25914 * org/omg/CORBA/TRANSIENT.java,
25915 * org/omg/CORBA/TypeCodeHolder.java,
25916 * org/omg/CORBA/UNKNOWN.java,
25917 * org/omg/CORBA/UnionMember.java,
25918 * org/omg/CORBA/UnknownUserException.java,
25919 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25920 * org/omg/CORBA/WrongTransactionHolder.java,
25921 * org/omg/IOP/IOR.java,
25922 * org/omg/IOP/IORHolder.java,
25923 * org/omg/IOP/MultipleComponentProfileHolder.java,
25924 * org/omg/IOP/ServiceContextHolder.java,
25925 * org/omg/IOP/ServiceContextListHolder.java,
25926 * org/omg/IOP/TaggedComponentHolder.java,
25927 * org/omg/IOP/TaggedProfileHolder.java,
25928 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25929 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25930 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25931 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25932 Made class final, various javadoc fixlets.
25933 * org/omg/CORBA/CompletionStatus.java,
25934 * org/omg/CORBA/PERSIST_STORE.java,
25935 * org/omg/CORBA/ValueMember.java,
25936 * org/omg/PortableInterceptor/ForwardRequest.java,
25937 * org/omg/PortableInterceptor/InvalidSlot.java,
25938 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25939 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25940 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25941 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25942 * org/omg/IOP/Encoding.java,
25943 * org/omg/IOP/TaggedComponent.java,
25944 * org/omg/IOP/TaggedProfile.java: Made class final.
25945 * org/omg/CORBA/SystemException.java: Made class abstract.
25946 * org/omg/CORBA/UserException.java: Made class abstract.
25947 (UserException): Now protected.
25948 (UserException(String)): Likewise.
25949 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25950 (typecode): Removed unused private variable.
25952 2006-03-20 Chris Burdess <dog@gnu.org>
25955 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25957 2006-03-20 Roman Kennke <kennke@aicas.com>
25959 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25960 (paintTabArea): Look up tab run indices in tabRuns array instead
25961 of using the index directly.
25963 2006-03-20 Roman Kennke <kennke@aicas.com>
25965 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25966 (paintTab): Fixed painting.
25967 (paintText): Fixed text painting.
25968 (paintFocusIndicator): Fixed painting of the focus rectangle.
25969 (paintContentBorder): Fixed painting of the content area.
25971 2006-03-20 Mark Wielaard <mark@klomp.org>
25973 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25974 static lock Object field.
25975 (produce): Synchronize on pixbufLock when calling initState(),
25976 pumpBytes() and pumpDone().
25977 (finalize): Likewise when calling finish().
25978 (GdkPixbufWriter.write): Likewise when calling streamImage().
25979 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25980 when calling loadPixbuf. Chain exception.
25981 (GtkImage(byte[])): Likewise when calling loadImageFromData.
25982 (GtkImage(URL)): Likewise.
25983 (GtkImage(int,int)): Likewise when calling createPixmap().
25984 (GtkImage(GtkImage,int,int,int)): Likewise when calling
25985 createScaledPixmap().
25986 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25987 (setImage): Likewise when calling createPixmap() and setPixels().
25988 (getSource): Likewise when calling getPixels().
25989 (flush): Likewise when calling freePixmap().
25990 (finalize): Likewise.
25991 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25992 drawPixelsScaledFlipped().
25993 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25994 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25995 gdk_threads_enter/leave().
25996 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25997 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25998 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25999 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26000 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26001 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26002 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26003 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26004 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26005 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26006 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26007 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26008 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26010 2006-03-20 Roman Kennke <kennke@aicas.com>
26012 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26013 (calculateTabHeight): Not need to use SwingUtilities here.
26014 (getTabInsets): Do not rotate insets.
26016 2006-03-20 Roman Kennke <kennke@aicas.com>
26018 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26019 (paint): Make sure the layout is valid before painting.
26020 (paintTabArea): Made tab painting more straightforward and efficient.
26022 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26024 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26025 (getScrollableUnitIncrement): Rewritten.
26026 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26027 (getScrollableUnitIncrement): Rewritten.
26028 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26029 (ROWS_PER_WHEEL_CLICK): New field.
26030 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26032 2006-03-20 Roman Kennke <kennke@aicas.com>
26034 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26035 (paint): Make sure the layout is valid before painting.
26036 (paintTabArea): Made tab painting more straightforward and efficient.
26038 2006-03-20 Roman Kennke <kennke@aicas.com>
26040 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26041 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26043 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26044 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26045 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26046 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26047 bounds here. That is moved into layoutContainer().
26048 (calculateSize): Correctly respect insets. Made code slightly more
26049 clear and efficient.
26050 (calculateTabRects): Rewritten completely. The old code was
26051 not quite right and unstable in some situations.
26052 (layoutContainer): Moved layout of tabbed pane's subcomponents
26054 (tabRunsDirty): New field.
26055 (rolloverTab): New field.
26056 (tabForCoordinate): Rewritten for simplicity and correctness.
26057 (setRolloverTab): New method.
26058 (getRolloverTab): New method.
26060 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26062 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26063 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26064 (getScrollableUnitIncrement
26065 * javax/swing/Scrollable.java: Documented.
26066 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26067 (MouseWheelHandler):Rewritten.
26069 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26071 * doc/vmintegration.texinfo:
26072 Updated with gnu.classpath.Unsafe
26074 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26077 Updated with VMArray and Unsafe changes.
26079 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26081 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26082 (getScrollableUnitIncrement): Rewritten.
26083 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26084 (getScrollableUnitIncrement): Rewritten.
26085 (getScrollableBlockIncrement): Rewritten.
26086 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26087 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26088 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26089 New field. (installListeners): Install wheel listeners.
26090 (uninstallListeners): Uninstall wheel listeners.
26091 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26092 of the MouseWheelListener. (installListeners): Do not install wheel
26093 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26095 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26097 * vm/reference/gnu/classpath/Unsafe.java:
26099 (getUnsafe()): Updated to handle security.
26101 2006-03-19 Tom Tromey <tromey@redhat.com>
26103 * vm/reference/gnu/classpath/Unsafe.java:
26104 New class to handle low-level facilities for concurrency.
26106 2006-03-19 Mark Wielaard <mark@klomp.org>
26108 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26109 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26110 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26111 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26113 2006-03-19 Mark Wielaard <mark@klomp.org>
26115 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26117 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26119 2006-03-19 Michael Koch <konqueror@gmx.de>
26121 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26122 resource/gnu/java/locale/LocaleInformation_am.properties,
26123 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26124 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26125 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26126 resource/gnu/java/locale/LocaleInformation_bg.properties,
26127 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26128 resource/gnu/java/locale/LocaleInformation_ca.properties,
26129 resource/gnu/java/locale/LocaleInformation_cs.properties,
26130 resource/gnu/java/locale/LocaleInformation_cy.properties,
26131 resource/gnu/java/locale/LocaleInformation_da.properties,
26132 resource/gnu/java/locale/LocaleInformation_de.properties,
26133 resource/gnu/java/locale/LocaleInformation_dv.properties,
26134 resource/gnu/java/locale/LocaleInformation_el.properties,
26135 resource/gnu/java/locale/LocaleInformation_en.properties,
26136 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26137 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26138 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26139 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26140 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26141 resource/gnu/java/locale/LocaleInformation_es.properties,
26142 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26143 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26144 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26145 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26146 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26147 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26148 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26149 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26150 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26151 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26152 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26153 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26154 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26155 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26156 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26157 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26158 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26159 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26160 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26161 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26162 resource/gnu/java/locale/LocaleInformation_fa.properties,
26163 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26164 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26165 resource/gnu/java/locale/LocaleInformation_fi.properties,
26166 resource/gnu/java/locale/LocaleInformation_fr.properties,
26167 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26168 resource/gnu/java/locale/LocaleInformation_ga.properties,
26169 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26170 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26171 resource/gnu/java/locale/LocaleInformation_hr.properties,
26172 resource/gnu/java/locale/LocaleInformation_hu.properties,
26173 resource/gnu/java/locale/LocaleInformation_id.properties,
26174 resource/gnu/java/locale/LocaleInformation_is.properties,
26175 resource/gnu/java/locale/LocaleInformation_it.properties,
26176 resource/gnu/java/locale/LocaleInformation_ja.properties,
26177 resource/gnu/java/locale/LocaleInformation_kk.properties,
26178 resource/gnu/java/locale/LocaleInformation_kl.properties,
26179 resource/gnu/java/locale/LocaleInformation_km.properties,
26180 resource/gnu/java/locale/LocaleInformation_ky.properties,
26181 resource/gnu/java/locale/LocaleInformation_lo.properties,
26182 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26183 resource/gnu/java/locale/LocaleInformation_lt.properties,
26184 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26185 resource/gnu/java/locale/LocaleInformation_lv.properties,
26186 resource/gnu/java/locale/LocaleInformation_mk.properties,
26187 resource/gnu/java/locale/LocaleInformation_mn.properties,
26188 resource/gnu/java/locale/LocaleInformation_mr.properties,
26189 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26190 resource/gnu/java/locale/LocaleInformation_ms.properties,
26191 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26192 resource/gnu/java/locale/LocaleInformation_mt.properties,
26193 resource/gnu/java/locale/LocaleInformation_nb.properties,
26194 resource/gnu/java/locale/LocaleInformation_nl.properties,
26195 resource/gnu/java/locale/LocaleInformation_nn.properties,
26196 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26197 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26198 resource/gnu/java/locale/LocaleInformation_pa.properties,
26199 resource/gnu/java/locale/LocaleInformation_pl.properties,
26200 resource/gnu/java/locale/LocaleInformation_pt.properties,
26201 resource/gnu/java/locale/LocaleInformation_ru.properties,
26202 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26203 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26204 resource/gnu/java/locale/LocaleInformation_sa.properties,
26205 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26206 resource/gnu/java/locale/LocaleInformation_sk.properties,
26207 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26208 resource/gnu/java/locale/LocaleInformation_sv.properties,
26209 resource/gnu/java/locale/LocaleInformation_sw.properties,
26210 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26211 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26212 resource/gnu/java/locale/LocaleInformation_te.properties,
26213 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26214 resource/gnu/java/locale/LocaleInformation_th.properties,
26215 resource/gnu/java/locale/LocaleInformation_ti.properties,
26216 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26217 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26218 resource/gnu/java/locale/LocaleInformation_tr.properties,
26219 resource/gnu/java/locale/LocaleInformation_tt.properties,
26220 resource/gnu/java/locale/LocaleInformation_uk.properties,
26221 resource/gnu/java/locale/LocaleInformation_ur.properties,
26222 resource/gnu/java/locale/LocaleInformation_uz.properties,
26223 resource/gnu/java/locale/LocaleInformation_zh.properties,
26224 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26225 More updates for CLDR 1.3.
26227 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26229 * doc/vmintegration.texinfo:
26230 Updated to include VMArray.
26231 * include/Makefile.am:
26232 Replace java_lang_reflect_Array.h with
26233 java_lang_reflect_VMArray.h
26234 * include/java_lang_reflect_VMArray.h:
26235 New autogenerated header.
26236 * include/java_lang_reflect_Array.h:
26238 * java/lang/reflect/Array.java:
26239 (newInstance(Class,int)): Calls VMArray.
26240 (createMultiArray(Class,int[],int)): Likewise.
26241 (createObjectArray(Class,int)): Removed.
26242 * native/jni/java-lang/Makefile.am:
26243 Replaced java_lang_reflect_Array.c with
26244 java_lang_reflect_VMArray.c
26245 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26246 Renamed from java_lang_reflect_Array.c.
26247 * vm/reference/java/lang/reflect/VMArray.java:
26248 (createObjectArray(Class,int)): Native method moved
26249 from java.lang.reflect.Array.
26251 2006-03-19 Roman Kennke <kennke@aicas.com>
26253 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26254 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26256 * examples/gnu/classpath/examples/swing/Demo.java
26257 (mkButtonBar): Hook up theme editor.
26258 (mkMenuBar): Hook up theme editor.
26260 2006-03-19 Roman Kennke <kennke@aicas.com>
26262 * javax/swing/plaf/basic/BasicFileChooserUI.java
26263 (ApproveSelectionAction.actionPerformed): Added case for when
26264 nothing has been selected but the user has typed a filename
26265 into the textfield.
26266 (getFileName): Return the value of the text field.
26268 2006-03-19 Roman Kennke <kennke@aicas.com>
26270 * javax/swing/JColorChooser.java
26271 (createDialog): Create JDialog instead of ModalDialog. Make this
26272 dialog modal by calling setModal(true).
26273 (ModalDialog): Removed unnecessary inner class.
26275 2006-03-19 Tom Tromey <tromey@redhat.com>
26277 * java/awt/font/NumericShaper.java: Rewrote.
26279 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26281 * javax/swing/plaf/basic/BasicTableUI.java:
26282 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26283 New field. MouseInputHandler.mouseWheelMoved): New method.
26284 (installListeners): Register MouseInputHandler as
26285 wheel listener also.
26287 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26290 * javax/swing/ViewportLayout.java (layoutContainer):
26291 If Scrollable tracks dimension, set view size to the port size.
26292 If port is larger than the view, move the view to the top/left.
26294 2006-03-19 Roman Kennke <kennke@aicas.com>
26296 * javax/swing/MenuSelectionManager.java
26297 (isComponentPartOfCurrentMenu): Also consider the first element
26298 in a menu selection list. Make a isDescendentFrom check instead
26299 of simple equals to also catch sub components.
26301 2006-03-19 Roman Kennke <kennke@aicas.com>
26303 * javax/swing/JComboBox.java
26304 (actionPerformed): Fetch selected item directly from the editor
26305 instead of trying to get it from the event.
26307 2006-03-19 Roman Kennke <kennke@aicas.com>
26309 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26310 (listener): Removed field.
26311 (BasicComboBoxEditor): Removed initialization of listener field.
26312 (addActionListener): Add listener directly to editor.
26313 (removeActionListener): Remove listener directly from editor.
26314 (ComboBoxEditorListener): Removed class.
26315 * javax/swing/plaf/basic/BasicComboBoxUI.java
26316 (getPreferredSize): Fixed to return the minimumSize.
26317 (getMinimumSize): Improved code for more clearness.
26318 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26319 (rectangleForCurrentValue): Correctly respect insets.
26320 (getDefaultSize): Return preferredSize here. Dont override height
26322 (getDisplaySize): Moved around code for more clearness. Added
26323 handling of prototype renderer.
26324 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26325 arrowButton bounds since the former depends on the latter.
26326 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26327 (MetalComboBoxButton): Make button rollover disabled.
26328 (isFocusTraversable): Return false unconditionally.
26329 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26330 (EditorTextField): New class. Fixes the size properties.
26331 (MetalComboBoxEditor): Create instance of EditorTextField.
26332 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26333 (getMinimumSize): Fixed editable size.
26335 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26337 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26339 2006-03-18 Roman Kennke <kennke@aicas.com>
26341 * javax/swing/plaf/metal/MetalToolBarUI.java
26342 (update): Added overridden method to support OceanTheme.
26344 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26346 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26347 Activate the cell editing on character keystroke.
26349 2006-03-18 Mark Wielaard <mark@klomp.org>
26351 * java/awt/Component.java (eventTypeEnabled): Handle
26352 MouseEvent.MOUSE_WHEEL.
26353 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26354 New callback method.
26355 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26356 (AWT_MOUSE_WHEEL): New constant.
26357 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26358 (postMouseWheelEventID): New static variable.
26359 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26360 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26361 (button_number): Renamed to ...
26362 (button_number_direction): variable to hold button number or scroll
26364 (component_button_press_cb): Use button_number_direction.
26365 (component_scroll_cb): New static callback function.
26367 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26369 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26370 Return without action.
26372 2006-03-18 Mark Wielaard <mark@klomp.org>
26374 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26375 Don't cast graphics object to GdkGraphics.
26376 (updateComponent): Likewise.
26378 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26380 * examples/gnu/classpath/examples/swing/TableDemo.java
26381 (TModel.getColumnClass): Set second column to Icon.
26382 (TModel.isCellEditable): Say icons are not editable.
26383 (createContent): Fill the in second column with some icons from
26386 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26388 * examples/gnu/classpath/examples/swing/Demo.java
26389 (mkButtonBar): Set maximal button bar height to the preferred height.
26391 2006-03-18 Roman Kennke <kennke@aicas.com>
26393 * javax/swing/plaf/basic/BasicComboPopup.java
26394 (show): Substract insets from scroller width.
26395 (getPopupHeightForRowCount): If height==0, return a default of 100
26396 instead for empty ComboBoxes.
26398 2006-03-18 Roman Kennke <kennke@aicas.com>
26400 * javax/swing/plaf/basic/BasicLookAndFeel.java
26401 (PopupHelper.autoClosePopups): Removed field.
26402 (PopupHelper.mousePressed): Removed processing of registered
26404 (registerForAutoClose): Removed unneeded method.
26405 (autoClosePopups): Removed unneeded method.
26406 (registerForAutoClose): Removed unneeded method.
26408 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26410 * javax.swing.JTable.java (TableTextField): Set border.
26411 (moveToCellBeingEdited): Do not adjust the editor boundaries
26413 2006-03-18 Michael Koch <konqueror@gmx.de>
26415 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26416 resource/gnu/java/locale/LocaleInformation_af.properties,
26417 resource/gnu/java/locale/LocaleInformation_am.properties,
26418 resource/gnu/java/locale/LocaleInformation_ar.properties,
26419 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26420 resource/gnu/java/locale/LocaleInformation_be.properties,
26421 resource/gnu/java/locale/LocaleInformation_bg.properties,
26422 resource/gnu/java/locale/LocaleInformation_bn.properties,
26423 resource/gnu/java/locale/LocaleInformation_ca.properties,
26424 resource/gnu/java/locale/LocaleInformation_cs.properties,
26425 resource/gnu/java/locale/LocaleInformation_cy.properties,
26426 resource/gnu/java/locale/LocaleInformation_da.properties,
26427 resource/gnu/java/locale/LocaleInformation_de.properties,
26428 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26429 resource/gnu/java/locale/LocaleInformation_dz.properties,
26430 resource/gnu/java/locale/LocaleInformation_en.properties,
26431 resource/gnu/java/locale/LocaleInformation_eo.properties,
26432 resource/gnu/java/locale/LocaleInformation_es.properties,
26433 resource/gnu/java/locale/LocaleInformation_et.properties,
26434 resource/gnu/java/locale/LocaleInformation_eu.properties,
26435 resource/gnu/java/locale/LocaleInformation_fa.properties,
26436 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26437 resource/gnu/java/locale/LocaleInformation_fi.properties,
26438 resource/gnu/java/locale/LocaleInformation_fo.properties,
26439 resource/gnu/java/locale/LocaleInformation_fr.properties,
26440 resource/gnu/java/locale/LocaleInformation_ga.properties,
26441 resource/gnu/java/locale/LocaleInformation_gl.properties,
26442 resource/gnu/java/locale/LocaleInformation_gu.properties,
26443 resource/gnu/java/locale/LocaleInformation_he.properties,
26444 resource/gnu/java/locale/LocaleInformation_hi.properties,
26445 resource/gnu/java/locale/LocaleInformation_hr.properties,
26446 resource/gnu/java/locale/LocaleInformation_hu.properties,
26447 resource/gnu/java/locale/LocaleInformation_hy.properties,
26448 resource/gnu/java/locale/LocaleInformation_id.properties,
26449 resource/gnu/java/locale/LocaleInformation_is.properties,
26450 resource/gnu/java/locale/LocaleInformation_it.properties,
26451 resource/gnu/java/locale/LocaleInformation_ja.properties,
26452 resource/gnu/java/locale/LocaleInformation_ka.properties,
26453 resource/gnu/java/locale/LocaleInformation_km.properties,
26454 resource/gnu/java/locale/LocaleInformation_ko.properties,
26455 resource/gnu/java/locale/LocaleInformation_lo.properties,
26456 resource/gnu/java/locale/LocaleInformation_lt.properties,
26457 resource/gnu/java/locale/LocaleInformation_lv.properties,
26458 resource/gnu/java/locale/LocaleInformation_mk.properties,
26459 resource/gnu/java/locale/LocaleInformation_mr.properties,
26460 resource/gnu/java/locale/LocaleInformation_ms.properties,
26461 resource/gnu/java/locale/LocaleInformation_mt.properties,
26462 resource/gnu/java/locale/LocaleInformation_nb.properties,
26463 resource/gnu/java/locale/LocaleInformation_nl.properties,
26464 resource/gnu/java/locale/LocaleInformation_nn.properties,
26465 resource/gnu/java/locale/LocaleInformation_om.properties,
26466 resource/gnu/java/locale/LocaleInformation_pl.properties,
26467 resource/gnu/java/locale/LocaleInformation_ps.properties,
26468 resource/gnu/java/locale/LocaleInformation_pt.properties,
26469 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26470 resource/gnu/java/locale/LocaleInformation_ro.properties,
26471 resource/gnu/java/locale/LocaleInformation_ru.properties,
26472 resource/gnu/java/locale/LocaleInformation_sk.properties,
26473 resource/gnu/java/locale/LocaleInformation_sl.properties,
26474 resource/gnu/java/locale/LocaleInformation_so.properties,
26475 resource/gnu/java/locale/LocaleInformation_sq.properties,
26476 resource/gnu/java/locale/LocaleInformation_sr.properties,
26477 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26478 resource/gnu/java/locale/LocaleInformation_sv.properties,
26479 resource/gnu/java/locale/LocaleInformation_sw.properties,
26480 resource/gnu/java/locale/LocaleInformation_ta.properties,
26481 resource/gnu/java/locale/LocaleInformation_te.properties,
26482 resource/gnu/java/locale/LocaleInformation_th.properties,
26483 resource/gnu/java/locale/LocaleInformation_tr.properties,
26484 resource/gnu/java/locale/LocaleInformation_uk.properties,
26485 resource/gnu/java/locale/LocaleInformation_uz.properties,
26486 resource/gnu/java/locale/LocaleInformation_vi.properties,
26487 resource/gnu/java/locale/LocaleInformation_zh.properties,
26488 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26489 Updated to use the new localized strings for currencies, languages,
26490 variants, territories, etc.
26492 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26494 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26495 (start, end): Added comment about the negative values of them,
26496 (finish): Saves the input text in matchedCharIndexed,
26497 (toString): If the start or end index is out of bounds of the
26498 matched text, get the substring from matchedCharIndexed.
26499 Added special handlings in case start/end index < -1,
26500 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26501 Added special handlings in case start/end index < -1,
26502 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26503 found match, but keep the index as the original match.
26504 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26505 found match, but keep the index as the original match.
26506 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26507 in case start/end index < -1.
26509 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26511 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26514 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26516 * javax/swing/text/DefaultCaret.java:
26517 (mouseClicked) Use setDot() and moveDot() instead of
26518 JTextComponent.select().
26520 2006-03-17 Roman Kennke <kennke@aicas.com>
26522 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26523 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26524 border painting for the Ocean theme.
26525 (MetalComboBoxEditor): Create editor directly instead of going
26528 2006-03-17 Roman Kennke <kennke@aicas.com>
26530 * javax/swing/text/JTextComponent.java
26531 (JTextComponent): Make text components opaque.
26533 2006-03-17 Roman Kennke <kennke@aicas.com>
26535 * javax/swing/plaf/metal/MetalComboBoxUI.java
26536 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26538 (MetalPropertyChangeListener.propertyChange): Update focusable
26539 flag according to the enable and editable state.
26540 (editablePropertyChanged): Removed unnecessary code.
26541 (getMinimumSize): Rewritten to correctly compute the
26542 size, respecting the insets of the components and the icon,
26543 the visual properties of the combobox, etc.
26544 (configureEditor): Update listeners correctly.
26545 (unconfigureEditor): Update listeners correctly.
26546 (layoutComboBox): Implemented.
26548 2006-03-17 Roman Kennke <kennke@aicas.com>
26550 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26551 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26552 instead of Flush3DBorder.
26553 (paintBorder): Fixed border painting.
26554 (editorBorderInsets): Fixed border's insets.
26556 2006-03-17 Roman Kennke <kennke@aicas.com>
26558 * javax/swing/plaf/metal/MetalComboBoxButton.java
26559 (rendererPane): Documented.
26560 (MetalComboBoxButton): Set enabled flag from ComboBox.
26561 Set focusable flag from ComboBox's enabled flag.
26562 (isFocusTraversable): Make button focus traversable if
26563 ComboBox is not editable but enable.
26564 (paintComponent): Fixed painting to correctly adjust
26565 the boxes of the renderer and button.
26567 2006-03-17 Roman Kennke <kennke@aicas.com>
26569 * javax/swing/plaf/basic/BasicButtonUI.java
26570 (installDefaults): Only install UI margin if installed margin.
26571 is null or a UIResource.
26572 (uninstallDefaults): Only uninstall margin if it's
26575 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26577 * javax/swing/text/DefaultCaret.java:
26578 (mouseClicked) Use setDot() and moveDot() instead of
26579 JTextComponent.select().
26581 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26583 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26584 inner classes into package-private inner classes, added actions
26585 for caret movement and selection to the next and previous word
26586 and an action which selects the whole text.
26588 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26590 * javax/swing/Spring.java: Uncomment springdebug methods and
26591 rename them toString.
26592 * javax/swing/SpringLayout.java: Likewise.
26594 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26596 * javax/swing/text/FieldView.java:
26597 (viewToModel): Added call to adjust allocation area.
26599 2006-03-17 Roman Kennke <kennke@aicas.com>
26601 * javax/swing/plaf/basic/BasicComboBoxUI.java
26602 (mouseListener): Removed field.
26603 (buttonBackground): Removed field.
26604 (buttonShadow): Removed field.
26605 (buttonDarkShadow): Removed field.
26606 (buttonHighlight): Removed field.
26607 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26608 (installUI): Initialize and configure renderer and editor here.
26609 (uninstallUI): Close popup before uninitializing.
26610 Message popup that we are uninitializing. Clear layout.
26611 (installDefaults): Install UI border. Don't install colors.
26612 (installListeners): Install listeners fetched from the popup.
26613 Remove handling of mouseListener.
26614 (uninstallDefaults): Uninstall border. Don't handle colors.
26615 (uninstallListeners): Don't handle mouseListener. Uninstall
26616 listener from the popup.
26617 (createMouseListener): Removed method.
26618 (createRenderer): Create UIResource.
26619 (installComponents): Cleaned up.
26620 (uninstallComponents): Only remove renderer when it is
26622 (addEditor): Remove editor before adding new one.
26623 Fetch editor from comboBox.
26624 (removeEditor): Only do something when editor != null. Unconfigure
26625 editor before removing.
26626 (configureEditor): Add key listener. Call comboBox.configureEditor.
26627 (unconfigureEditor): Removed key listener.
26628 (configureArrowButton): Only handle when arrowButton != null.
26629 Add mouse listeners to arrow button.
26630 (unconfigureArrowButton): Remove listeners.
26631 (createArrowButton): Don't handle colors here.
26632 (setPopupVisible): Don't handle focus here.
26633 (paint): Only paint when comboBox is not editable. Update
26635 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26636 (getMinimumSize): Respect insets here.
26637 (getMaximumSize): Return preferredSize with width of 32767.
26638 (getInsets): Return ComboBox insets.
26639 (paintCurrentValue): Paint using currentValuePane.
26640 Install correct colors. Don't revalidate.
26641 (paintCurrentValueBackground): Implemented.
26642 (getDefaultSize): Reimplemented using a default renderer.
26643 (getDisplaySize): Reimplemented to use renderer.
26644 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26645 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26646 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26647 (FocusHandler.focusGained): Don't invalidate minimumSize.
26648 (FocusHandler.focusLost): Don't invalidate minimumSize.
26649 Only close popup if focus change is not temporary.
26650 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26651 Reconfigure editor if not null.
26652 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26653 editor if necessary.
26654 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26655 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26656 (MouseHandler): Removed unnecessary class.
26658 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26660 * examples/gnu/classpath/examples/swing/Demo.java:
26661 (Demo): Set default closing operation to shutdown the runtime.
26663 2006-03-17 Roman Kennke <kennke@aicas.com>
26665 * javax/swing/plaf/basic/BasicComboPopup.java
26666 (BasicComboPopup): Create listeners here.
26667 Configure components here.
26668 (show): Correctly calculate bounds using computePopupBounds().
26669 Make scroller fixed-size. Removed special autocloser handling.
26670 (hide): Rewritten to use MenuSelectionHandler.
26671 (createList): Don't set selection mode here.
26672 (configureList): Correctly install colors and fonts and selectionMode.
26673 (createScroller): Set scrollpane policies.
26674 (configureScroller): Make scroller and scrollbar not-focusable.
26675 (configurePopup): Make popup opaque and borderPainted.
26676 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26677 (delegateFocus): Implemented.
26678 (convertMouseEvent): Implemented.
26679 (updateListBoxSelectionForEvent): Implemented to also handle
26681 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26682 Only open popup on left mouse-click.
26683 (InvocationMouseHandler.mouseReleased): Rewritten.
26684 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26685 support autoscrolling.
26686 (ItemHandler.itemStateChanged): Implemented to sync selection with
26688 (ListMouseHandler.mouseReleased): Fetch selected index directly
26690 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26692 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26693 When model changes, then update listeners correctly.
26694 (uninstallListeners): Don't uninstall list listeners.
26695 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26697 (syncSelection): New helper method.
26699 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26701 * javax/swing/text/PlainView.java:
26702 (drawLine): Rewritten.
26703 (drawSelectedText): Corrected last argument for
26704 Utilities.drawTabbedText() call.
26705 (paint): Store start and end of selection in object variables,
26706 store constant values of for-loop in local variables.
26707 * javax/swing/text/Utilities.java:
26708 (drawTabbedText): Add 'pixelWidth' to the return value, store
26709 constant value of for-loop in local variable.
26711 2006-03-17 Roman Kennke <kennke@aicas.com>
26713 * javax/swing/plaf/basic/BasicComboPopup.java
26714 (BasicComboPopup): Create listeners here.
26715 Configure components here.
26716 (show): Correctly calculate bounds using computePopupBounds().
26717 Make scroller fixed-size. Removed special autocloser handling.
26718 (hide): Rewritten to use MenuSelectionHandler.
26719 (createList): Don't set selection mode here.
26720 (configureList): Correctly install colors and fonts and selectionMode.
26721 (createScroller): Set scrollpane policies.
26722 (configureScroller): Make scroller and scrollbar not-focusable.
26723 (configurePopup): Make popup opaque and borderPainted.
26724 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26725 (delegateFocus): Implemented.
26726 (convertMouseEvent): Implemented.
26727 (updateListBoxSelectionForEvent): Implemented to also handle
26729 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26730 Only open popup on left mouse-click.
26731 (InvocationMouseHandler.mouseReleased): Rewritten.
26732 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26733 support autoscrolling.
26734 (ItemHandler.itemStateChanged): Implemented to sync selection with
26736 (ListMouseHandler.mouseReleased): Fetch selected index directly
26738 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26740 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26741 When model changes, then update listeners correctly.
26742 (uninstallListeners): Don't uninstall list listeners.
26743 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26745 (syncSelection): New helper method.
26747 2006-03-17 Roman Kennke <kennke@aicas.com>
26749 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26750 (noFocusBorder): Make border with insets of (1,1,1,1).
26751 (BasicComboBoxRenderer): Make renderer opaque.
26752 No need to explicitly set alignment.
26753 (getListCellRendererComponent): Rewritten to correctly initialize
26756 2006-03-17 Roman Kennke <kennke@aicas.com>
26758 * javax/swing/JPopupMenu.java
26759 (setVisible): Handle JPopupMenu opening and closing via
26760 the MenuSelectionHandler.
26762 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26764 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26765 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26766 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26768 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26769 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26770 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26771 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26772 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26773 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26774 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26775 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26776 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26777 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26779 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26781 * java/rmi/activation/Activatable.java: Implemented.
26782 java/rmi/activation/ActivationDesc.java: Implemented.
26783 java/rmi/activation/ActivationGroup.java: Implemented.
26784 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26785 java/rmi/activation/ActivationID.java: Implemented.
26786 java/rmi/activation/ActivationSystem.java: Implemented.
26787 * gnu/java/rmi/server/UnicastServerRef.java
26788 (exportObject, incommingMessageCall): Documented.
26789 * java/rmi/activation/package.html: Documented.
26790 * java/rmi/server/ObjID.java (objNum, space): Made package
26792 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26793 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26795 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26796 gnu/java/rmi/activation/BidiTable.java: New file.
26797 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26798 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26799 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26801 2006-03-17 Mark Wielaard <mark@klomp.org>
26803 * java/security/BasicPermission.java (BasicPermission): Check
26804 name equals empty string to force NullPointerException.
26806 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26809 Commit patch by Caolan McNamara <caolanm@redhat.com>
26810 * javax/swing/Spring.java: Complete implementation
26811 * javax/swing/SpringLayout.java: Likewise.
26813 2006-03-16 Keith Seitz <keiths@redhat.com>
26815 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26817 (run): Remove catch clause for InterruptedException. It is no
26820 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26822 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26823 (getFontMetrics): Handle monospaced fonts specially.
26825 2006-03-16 Keith Seitz <keiths@redhat.com>
26827 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26828 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26829 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26830 Don't suspend the current thread unless it is not part of the JDWP
26833 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26835 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26837 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26838 font metrics through toolkit.
26839 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26841 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26842 (getFontMetrics): To calculate Java logical ascent and descent
26843 values, average Pango ink and logical values.
26845 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26847 * java/lang/Character.java: Updated header comment.
26849 2006-03-16 Tom Tromey <tromey@redhat.com>
26851 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26853 * javax/sound/sampled/FloatControl.java: Now abstract.
26854 * javax/sound/sampled/EnumControl.java: Now abstract.
26855 * javax/sound/sampled/CompoundControl.java: Now abstract.
26856 * javax/sound/sampled/BooleanControl.java: Now abstract.
26858 2006-03-16 Tom Tromey <tromey@redhat.com>
26860 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26862 2006-03-16 Roman Kennke <kennke@aicas.com>
26864 * java/util/zip/ZipFile.java
26865 (openFile): New helper method.
26866 (ZipFile): Use new openFile method to ensure the proper
26867 exception is thrown. This applies for all overloaded constructors.
26869 2006-03-16 Roman Kennke <kennke@aicas.com>
26871 * java/text/DateFormatSymbols.java
26872 (setAmPmStrings): Added null check and throw NPE.
26873 (setEras): Likewise.
26874 (setLocalPatternChars): Likewise.
26875 (setMonths): Likewise.
26876 (setShortMonths): Likewise.
26877 (setShortWeekdays): Likewise.
26878 (setWeekdays): Likewise.
26879 (setZoneStrings): Likewise.
26881 2006-03-16 Roman Kennke <kennke@aicas.com>
26883 * javax/swing/DefaultDesktopManager.java
26884 (iconifyFrame): Repaint after removing the frame.
26885 (removeIconFor): Repaint after removing the icon.
26887 2006-03-16 Roman Kennke <kennke@aicas.com>
26889 * javax/swing/JInternalFrame.java
26890 (remove): Respect the rootPaneCheckingEnabled flag here.
26892 2006-03-16 Roman Kennke <kennke@aicas.com>
26894 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26895 Moved from examples into gnu.javax.swing.. namespace.
26896 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26897 Moved to gnu.javax.swing.. namespace.
26898 * examples/gnu/classpath/examples/swing/Demo.java:
26899 (themesMenu): New field. Used to disable theme switch in
26901 (mkMenuBar): Added L&F menu.
26902 (ChangeThemeAction.actionPerformed): Only switch theme when
26904 (ChangeLAFAction): New class used for changing themes.
26905 * javax/swing/UIManager.java
26906 (installed): Added GNU L&F as installed L&F.
26908 2006-03-16 Mark Wielaard <mark@klomp.org>
26910 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26911 * examples/gnu/classpath/examples/icons/badge.png: Added.
26912 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26913 from icon directory.
26915 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26917 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26919 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26920 * examples/gnu/classpath/examples/awt/Demo.java: Add
26921 AnimationApplet demo.
26922 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26925 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26928 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26930 (handleEvent): Likewise.
26931 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26933 (beginNativeRepaint): Remove method.
26934 (endNativeRepaint): Likewise.
26935 (handleEvent): Call paintComponent and updateComponent.
26936 (paintComponent): New method.
26937 (updateComponent): Likewise.
26938 (repaint): Return early if width or height is less than one.
26939 (postExposeEvent): Remove isInRepaint reference.
26940 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26942 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26943 from GtkWindowPeer.
26944 (postMouseEvent): Likewise.
26945 (postExposeEvent): Likewise.
26946 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26947 Override to do nothing.
26948 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26949 from GtkWindowPeer.
26950 (postMouseEvent): Likewise.
26951 (postExposeEvent): Likewise.
26952 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26953 paint and update handling from GtkComponentPeer.
26954 (updateComponent): Override to call paintComponent.
26955 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26956 gdk_flush calls with schedule_flush calls.
26957 (flush): New function.
26958 (schedule_flush): Likewise.
26960 2006-03-15 Tom Tromey <tromey@redhat.com>
26962 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26964 (BCSIterator): Likewise.
26965 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26967 (BCSSProxyServiceProvider): Likewise.
26968 (BCSSServiceProvider): Likewise.
26970 2006-03-15 Tom Tromey <tromey@redhat.com>
26972 * javax/sound/midi/Track.java (Track): New constructor.
26973 (events): Now package-private.
26974 * javax/sound/midi/MidiUnavailableException.java
26975 (MidiUnavailableException): Removed invalid constructors.
26976 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26977 * javax/sound/midi/InvalidMidiDataException.java
26978 (InvalidMidiDataException): Removed invalid constructors.
26979 * javax/sound/midi/Sequencer.java (hashCode): Now final.
26980 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26981 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26982 (SYSTEM_EXCLUSIVE): Removed.
26983 (getDataLength): Updated.
26984 * javax/sound/midi/MidiDevice.java (Info): Now protected.
26985 (equals): Now final
26986 (getName): Now final.
26987 (getVendor): Now final.
26988 (getDescription): Likewise.
26989 (hashCode): Likewise.
26990 (getVersion): Likewise.
26991 (toString): Likewise.
26992 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26993 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26994 (getEarlyReflectionDelay): Likewise.
26995 (getEarlyReflectionIntensity): Likewise.
26996 (getLateReflectionDelay): Likewise.
26997 (getLateReflectionIntensity): Likewise.
26998 (toString): Likewise.
26999 * javax/sound/sampled/Port.java (toString): Now final.
27000 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27001 (getLine): Likewise.
27002 (getType): Likewise.
27003 * javax/sound/sampled/Mixer.java (Info): Now protected.
27004 (getDescription): Now final.
27005 (getName): Likewise.
27006 (getVendor): Likewise.
27007 (getVersion): Likewise.
27008 (toString): Likewise.
27009 * javax/sound/sampled/Control.java: Now abstract.
27010 (Type.toString): Now final.
27012 2006-03-15 Keith Seitz <keiths@redhat.com>
27014 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27015 of this redundant variable.
27016 (LineTable): Assert that the number of line numbers and the number of
27017 code indicies is the same.
27019 2006-03-15 Tom Tromey <tromey@redhat.com>
27021 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27023 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27025 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27026 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27027 * java/util/zip/Inflater.java (end): Not deprecated.
27028 * java/util/zip/Deflater.java (end): Not deprecated.
27029 * java/text/Bidi.java (Bidi): Now final.
27030 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27032 2006-03-15 Keith Seitz <keiths@redhat.com>
27034 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27035 (Location): Index is a long, not an int.
27036 (getMethod): New method.
27037 (getIndex): New method.
27038 (toString): New method.
27040 2006-03-15 Tom Tromey <tromey@redhat.com>
27042 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27043 * java/awt/image/LookupOp.java (filter): Now final.
27044 (getBounds2D): Likewise.
27045 (getPoint2D): Likewise.
27046 (getTable): Likewise.
27047 (getRenderingHints): Likewise.
27048 * java/awt/image/ConvolveOp.java (filter): Now final.
27049 (getBounds2D): Likewise.
27050 (getKernel): Likewise.
27051 (getPoint2D): Likewise.
27052 (getRenderingHints): Likewise.
27053 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27054 (getMatrix): Likewise.
27055 (getBounds2D): Likewise.
27056 (getRenderingHints): Likewise.
27057 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27058 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27060 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27062 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27064 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27066 2006-03-15 Keith Seitz <keiths@redhat.com>
27068 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27070 (matches): Implement.
27072 2006-03-15 Keith Seitz <keiths@redhat.com>
27074 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27076 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27078 2006-03-15 Tom Tromey <tromey@redhat.com>
27080 * java/lang/StrictMath.java (signum): New methods.
27082 2006-03-15 Tom Tromey <tromey@redhat.com>
27084 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27086 2006-03-15 Lillian Angel <langel@redhat.com>
27089 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27090 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27091 Added check to avoid segmentation fault.
27093 2006-03-15 Lillian Angel <langel@redhat.com>
27095 * java/awt/Container.java
27096 (getComponentAt): Fixed documentation.
27097 (getComponentAt): Likewise.
27099 2006-03-15 Roman Kennke <kennke@aicas.com>
27101 * javax/swing/JComponent.java
27102 (dragBuffer): New field.
27103 (dragBufferInitialized): New field.
27104 (paint): Added facility for buffered dragging of components.
27105 (initializeDragBuffer): New method.
27106 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27108 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27109 (BorderListener.mouseDragged): Turn on buffered dragging.
27110 (BorderListener.mouseReleased): Turn off buffered dragging.
27112 2006-03-15 Lillian Angel <langel@redhat.com>
27114 * java/awt/Container.java
27115 (getComponentAt): Fixed documentation.
27116 (getComponentAt): Likewise.
27117 (findComponentAt): Likewise.
27118 (findComponentAt): Likewise.
27120 2006-03-15 Roman Kennke <kennke@aicas.com>
27122 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27123 (PropertyChangeHandler.propertyChange): Call enableActions().
27124 Fixed 'iconable' property name.
27126 2006-03-15 Chris Burdess <dog@gnu.org>
27129 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27131 2006-03-15 Roman Kennke <kennke@aicas.com>
27133 * examples/gnu/classpath/examples/swing/Demo.java:
27134 (desktop): New field.
27135 (mkMenuBar): Added new subdemos.
27136 (mkButtonWorld): Removed.
27137 (CheckCellRenderer): Moved to ListDemo.
27138 (LabelCellRenderer): Moved to ListDemo.
27139 (mkTreeWorld): Moved to TreeDemo.
27140 (mkDesktopWorld): Removed.
27141 (mkTabWorld): Moved to TabbedPaneDemo.
27142 (mkTabbedPane): Removed.
27143 (Demo): Replaced 'worlds' tabbed pane with desktop.
27144 (PopupAction): Made class non-static.
27145 (PopupAction.actionPerformed): Bring up subdemos in internal
27147 (mkButtonBar): Added new demos.
27148 (createDesktop): New method.
27149 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27150 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27151 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27152 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27153 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27155 2006-03-15 Lillian Angel <langel@redhat.com>
27157 * java/awt/Container.java
27158 (getComponentAt): Fixed mistake in comments.
27159 (getComponentAt): Likewise.
27160 (locate): Likewise. Also, handled lightweight components.
27161 Heavyweights take precedence over lightweights, so we should
27162 iterate through the heavyweights first.
27164 2006-03-15 Lillian Angel <langel@redhat.com>
27166 * java/awt/Container.java
27167 (getComponentAt): Added API documentation.
27168 (getComponentAt): Likewise.
27169 (locate): Likewise. Also, removed lines to ignore
27170 invisible components.
27171 (findComponentAt): Added API documentation.
27172 (findComponentAt): Added API documentation.
27173 (findComponentForMouseEvent): Removed, never used.
27175 2006-03-15 Roman Kennke <kennke@aicas.com>
27177 * javax/swing/Popup.java
27178 (LightweightPopup.show): Repaint the panel after showing it.
27180 2006-03-15 Lillian Angel <langel@redhat.com>
27182 * java/awt/Component.java
27183 (show): repaint should only be called if the component
27184 isShowing and isLightweight.
27186 2006-03-15 Roman Kennke <kennke@aicas.com>
27188 * javax/swing/JInternalFrame.java
27189 (setClosable): Made this property bound.
27190 (setResizable): Made this property bound.
27191 (setIconifiable): Made this property bound.
27192 (setMaximizable): Made this property bound.
27194 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27196 * javax/swing/table/TableColumn.java
27197 (sizeWidthToFit): Implemented.
27199 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27201 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27202 (setIdentifier): Fire required PropertyChangeEvent,
27203 (setCellEditor): Likewise.
27205 2006-03-15 Roman Kennke <kennke@aicas.com>
27207 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27208 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27209 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27210 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27211 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27212 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27213 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27214 * examples/gnu/classpath/examples/swing/TableDemo.java,
27215 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27216 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27217 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27218 * examples/gnu/classpath/examples/swing/Demo.java:
27219 Cleaned up. Reworked handling of Sub-demos to load lazily.
27220 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27221 New interface. Used for loading the subdemos lazily.
27223 2006-03-15 Roman Kennke <kennke@aicas.com>
27225 * javax/swing/plaf/basic/BasicToolBarUI.java
27226 (PropertyListener.propertyChange): Added null check to avoid NPE.
27228 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27230 * javax/swing/table/TableColumn.java
27231 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27233 (minWidth): Likewise,
27234 (preferredWidth): Likewise,
27235 (maxWidth): Likewise,
27236 (headerRenderer): Likewise,
27237 (cellRenderer): Likewise,
27238 (cellEditor): Likewise,
27239 (changeSupport): Likewise,
27240 (firePropertyChange(String, Object, Object)): Removed,
27241 (firePropertyChange(String, int. int)): Likewise,
27242 (firePropertyChange(String, boolean, boolean)): Likewise,
27243 (setModelIndex): Fire property change,
27244 (setHeaderValue): Call changeSupport directly to generate event,
27245 (setHeaderRenderer): Likewise,
27246 (setCellRenderer): Likewise,
27247 (setWidth): Likewise,
27248 (setPreferredWidth): Likewise,
27249 (setMinWidth): Likewise,
27250 (setMaxWidth): Likewise,
27251 (createDefaultHeaderRenderer): Added API docs.
27253 2006-03-14 Roman Kennke <kennke@aicas.com>
27255 * examples/gnu/classpath/examples/swing/Demo.java
27256 Removed static initializer.
27257 (mkMenuBar): Made method non-static. Added themes menu.
27258 (ChangeThemeAction): New inner class, used to change themes.
27260 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27262 * javax/swing/table/TableColumn.java
27263 (setMaxWidth): Updated width and preferredWidth if necessary,
27264 (getMaxWidth): Updated API docs.
27266 2006-03-14 Roman Kennke <kennke@aicas.com>
27268 * javax/swing/plaf/basic/BasicSliderUI.java
27269 (TrackListener.mouseDragged): Only process event when slider is
27271 (TrackListener.mouseReleased): Only process event when slider is
27273 (TrackListener.mousePressed): Only process event when slider is
27276 2006-03-14 Roman Kennke <kennke@aicas.com>
27278 * NEWS: Added note about OceanTheme support.
27280 2006-03-14 Roman Kennke <kennke@aicas.com>
27282 * javax/swing/plaf/metal/MetalIconFactory.java
27283 (HorizontalSliderThumbIcon.gradientMask): New field
27284 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27286 (VerticalSliderThumbIcon.gradientMask): New field
27287 (VerticalSliderThumbIcon.paintIcon): Added support for the
27289 * javax/swing/plaf/metal/MetalUtils.java
27290 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27291 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27293 2006-03-14 Mark Wielaard <mark@klomp.org>
27296 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27297 of handleMouseEvent.
27298 (handleMouseEvent): Return boolean to indicate whether we handled the
27299 event by passing it to a lightweight.
27301 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27303 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27304 * org/omg/PortableServer/ServantActivatorPOA.java,
27305 * org/omg/PortableServer/ServantLocatorPOA.java:
27306 Make class abstract and minor api docs fixlets.
27307 * org/omg/PortableServer/ForwardRequest.java,
27308 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27309 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27310 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27311 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27312 * org/omg/PortableServer/POAPackage/NoServant.java,
27313 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27314 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27315 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27316 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27317 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27318 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27319 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27320 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27321 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27322 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27324 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27326 * NEWS: Added entry about printing support.
27328 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27330 * javax/swing/table/TableColumn.java
27331 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27332 (isResizable): Likewise,
27333 (setWidth): Likewise,
27334 (getWidth): Likewise,
27335 (setPreferredWidth): Likewise,
27336 (getPreferredWidth): Likewise,
27337 (setMinWidth): Check for negative argument and update width and
27338 preferredWidth if necessary,
27339 (getMinWidth): Updated API docs.
27341 2006-03-14 Lillian Angel <langel@redhat.com>
27343 * java/awt/Container.java
27344 (addImpl): Removed call to repaint. No need to repaint here.
27346 2006-03-14 Roman Kennke <kennke@aicas.com>
27348 * javax/swing/plaf/metal/MetalSliderUI.java
27349 (paintTrack): Added OceanTheme support.
27351 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27353 * javax/swing/table/TableColumn.java
27354 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27355 (isResizable): Updated API docs.
27357 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27359 * javax/swing/LookAndFeel.java: Updated API docs.
27361 2006-03-14 Roman Kennke <kennke@aicas.com>
27363 * javax/swing/plaf/metal/MetalUtils.java
27364 (paintGradient): Added support for 'masked' gradients.
27365 (paintHorizontalGradient): Likewise.
27366 (paintVerticalGradient): Likewise.
27367 * javax/swing/plaf/metal/MetalIconFactory.java
27368 (RadioButtonIcon.gradientMask): New field.
27369 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27371 2006-03-14 Mark Wielaard <mark@klomp.org>
27374 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27376 (removeActionListener): Add listener to ComboBoxEditorListener.
27377 (removeActionListener): Remove listener from ComboBoxEditorListener.
27378 (ComboBoxEditorListener): New static helper class.
27380 2006-03-14 Roman Kennke <kennke@aicas.com>
27382 * javax/swing/plaf/metal/MetalBorders.java
27383 (getToolBarButtonBorder): Don't create a UIResource border
27385 * javax/swing/plaf/metal/MetalToolBarUI.java
27386 (installUI): New overridden method. Installs the rollover property.
27387 (uninstallUI): New overridden method. Resets the rollover property.
27388 * javax/swing/plaf/metal/MetalUtils.java
27389 (paintGradient): Fetch Float values from the UIManager. Adjusted
27390 method signatures accordingly.
27391 (paintHorizontalGradient): Adjusted signature to accept float
27393 (paintVerticalGradient): Adjusted signature to accept float
27395 * javax/swing/plaf/metal/OceanTheme.java
27396 (addCustomEntriesToTable): Added missing UIDefaults entries,
27397 except of Icons. Fixed gradient entries to use Float instead
27400 2006-03-14 Roman Kennke <kennke@aicas.com>
27402 * javax/swing/JInternalFrame.java
27403 (JInternalFrame): Make JInternalFrame opaque.
27404 * javax/swing/JToolBarFrame.java
27405 (JToolBar): Make JToolBar opaque.
27407 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27409 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27410 * javax/swing/tree/TreePath.java: Likewise.
27412 2006-03-13 Tom Tromey <tromey@redhat.com>
27414 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27416 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27417 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27419 2006-03-13 Keith Seitz <keiths@redhat.com>
27421 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27422 (executeMethods): Output number of methods.
27424 2006-03-13 Roman Kennke <kennke@aicas.com>
27426 * javax/swing/plaf/basic/BasicButtonUI.java
27427 (uninstallDefaults): Only uninstall border if it's a UIResource.
27428 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27429 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27430 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27431 (installUI): Don't touch the opaque flag of the glassPane and
27432 the frame. Don't invalidate.
27433 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27434 (installUI): Don't touch the opaque flag of the glassPane.
27435 * javax/swing/plaf/basic/BasicMenuBarUI.java
27436 (properyChangeListener): Made field private.
27437 (ChangeHandler): Made class private.
27438 (ContainerHandler): Made class private.
27439 (PropertyChangeHandler): Made class private.
27440 * javax/swing/plaf/basic/BasicMenuUI.java
27441 (MenuHandler): Made class private.
27442 (PropertyChangeHandler): Removed unneeded class.
27443 (MenuDragMouseHandler): Made class private.
27444 (MenuKeyHandler): Made class private.
27445 * javax/swing/plaf/basic/BasicPanelUI.java
27446 (installDefaults): Made method protected. Don't set opaque
27448 * javax/swing/plaf/basic/BasicScrollBarUI.java
27449 (TrackListener.shouldScroll): Made method private.
27450 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27451 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27452 Made constructor package private.
27453 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27454 (cellBorder): Made field private.
27455 * javax/swing/plaf/basic/BasicTextUI.java
27456 (installDefaults): Don't make component opaque.
27457 * javax/swing/plaf/basic/BasicToolBarUI.java
27458 (createNonRollOverBorder): Don't create UIResource border.
27459 (createRollOverBorder): Don't create UIResource border.
27460 (installComponents): Moved setRolloverBorders call here.
27461 (installDefaults): Moved setRolloverBorders call from here.
27462 (installUI): Don't make toolbar opaque.
27463 (setBorderToNonRollover): Handle AbstractButton instead of
27465 (uninstallComponents): Don't nullify class fields here.
27467 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27469 * javax/swing/SwingUtilities.java
27470 (calculateInnerArea): handle null component, and replace
27471 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27474 2006-03-13 Roman Kennke <kennke@aicas.com>
27476 * javax/swing/JColorChooser.java
27477 (updateUI): Don't call revalidate().
27478 * javax/swing/JComboBox.java
27479 (updateUI): Don't call invalidate().
27480 * javax/swing/JDesktopPane.java
27481 (updateUI): Don't call invalidate().
27482 * javax/swing/JFileChooser.java
27483 (updateUI): Don't call revalidate().
27484 * javax/swing/JMenu.java
27485 (updateUI): Don't call invalidate().
27486 * javax/swing/JMenuBar.java
27487 (updateUI): Don't call invalidate().
27488 * javax/swing/JMenuItem.java
27489 (updateUI): Don't call invalidate().
27490 * javax/swing/JOptionPane.java
27491 (updateUI): Don't call invalidate().
27492 * javax/swing/JPopupMenu.java
27493 (updateUI): Don't call invalidate().
27494 * javax/swing/JProgressBar.java
27495 (updateUI): Don't call invalidate().
27496 * javax/swing/JScrollBar.java
27497 (updateUI): Don't call invalidate() and repaint().
27498 * javax/swing/JScrollPane.java
27499 (updateUI): Rewritten to be like the other updateUI()
27501 * javax/swing/JSlider.java
27502 (updateUI): Don't call invalidate() and repaint().
27503 * javax/swing/JSplitPane.java
27504 (updateUI): Don't call invalidate() and repaint().
27505 * javax/swing/JTabbedPane.java
27506 (updateUI): Don't call invalidate().
27507 * javax/swing/JTable.java
27508 (updateUI): Don't call revalidate() and repaint().
27509 * javax/swing/JToolBar.java
27510 (updateUI): Don't call revalidate() and repaint().
27511 * javax/swing/JToolTip.java
27512 (updateUI): Don't call revalidate() and repaint().
27514 2006-03-13 Roman Kennke <kennke@aicas.com>
27516 * javax/swing/SwingUtilities.java
27517 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27518 menus and non-Swing components is improved.
27519 (updateComponentTreeUIImpl): New helper method.
27520 (replaceUIActionMap): Added check for uiActionMap==parent to
27522 (replaceUIInputMap): Added check for uiInputMap==parent to
27525 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27527 * gnu/classpath/debug/Component.java:
27528 (IPP) New component for IPP debugging.
27529 (EVERYTHING): Adapted to include IPP.
27530 * javax/print/PrintServiceLookup.java:
27531 (registerServiceProvider): New method.
27532 (registerService): Likewise.
27533 (lookupPrintServices): Likewise.
27534 (lookupMultiDocPrintServices): Likewise.
27535 (lookupDefaultPrintService): Likewise.
27536 (static_initializer): Likewise.
27537 (printServiceLookups): New field for found service providers.
27538 (printServices): New field for application registered providers.
27539 (systemProvider): New field for the system provider.
27540 * javax/print/ServiceUI.java: New file.
27541 * javax/print/package.html: Added more usage content.
27542 * javax/print/event/package.html: Likewise.
27543 * javax/print/attribute/package.html: Likewise.
27544 * javax/print/attribute/standard/package.html: Likewise.
27545 * gnu/javax/print/PrintUriException.java,
27546 gnu/javax/print/PrintFlavorException.java,
27547 gnu/javax/print/PrinterDialog.java,
27548 gnu/javax/print/PrintAttributeException.java,
27549 gnu/javax/print/CupsPrintServiceLookup.java,
27550 gnu/javax/print/CupsServer.java,
27551 gnu/javax/print/CupsPrintService.java,
27552 gnu/javax/print/CupsMediaMapping.java,
27553 gnu/javax/print/CupsIppOperation.java:
27554 New implementation files of the Java Print Service API.
27555 * gnu/javax/print/ipp/IppValueTag.java,
27556 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27557 gnu/javax/print/ipp/IppStatusCode.java,
27558 gnu/javax/print/ipp/IppUtilities.java,
27559 gnu/javax/print/ipp/IppResponse.java,
27560 gnu/javax/print/ipp/IppException.java,
27561 gnu/javax/print/ipp/IppPrintService.java,
27562 gnu/javax/print/ipp/IppRequest.java,
27563 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27564 gnu/javax/print/ipp/IppDelimiterTag.java,
27565 gnu/javax/print/ipp/DocPrintJobImpl.java:
27566 New files of the IPP client implementation.
27567 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27568 gnu/javax/print/ipp/attribute/StatusMessage.java,
27569 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27570 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27571 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27572 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27573 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27574 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27575 New attribute syntax/role files of the printing implementation.
27576 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27577 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27578 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27579 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27580 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27581 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27582 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27583 gnu/javax/print/ipp/attribute/supported/
27584 OrientationRequestedSupported.java,
27585 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27586 gnu/javax/print/ipp/attribute/supported/
27587 MultipleDocumentHandlingSupported.java,
27588 gnu/javax/print/ipp/attribute/supported/
27589 MultipleDocumentJobsSupported.java,
27590 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27591 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27592 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27593 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27594 gnu/javax/print/ipp/attribute/supported/
27595 GeneratedNaturalLanguageSupported.java,
27596 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27597 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27598 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27599 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27600 New supported attribute files.
27601 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27602 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27603 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27604 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27605 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27606 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27607 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27608 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27609 New printer description attribute files.
27610 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27611 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27612 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27613 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27614 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27615 gnu/javax/print/ipp/attribute/job/JobId.java,
27616 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27617 gnu/javax/print/ipp/attribute/job/JobUri.java,
27618 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27619 New job description attribute files.
27620 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27621 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27622 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27623 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27624 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27625 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27626 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27627 gnu/javax/print/ipp/attribute/defaults/
27628 MultipleDocumentHandlingDefault.java,
27629 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27630 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27631 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27632 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27633 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27634 New default printing attribute files.
27635 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27636 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27637 * examples/gnu/classpath/examples/print/Demo.java:
27638 New demo application of the current implemented functionality.
27640 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27642 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27643 java/rmi/activation/ActivationDesc.java.java,
27644 java/rmi/activation/ActivationGroup.java,
27645 java/rmi/activation/ActivationID.java,
27646 java/rmi/activation/ActivationMonitor.java,
27647 java/rmi/activation/ActivationSystem.java,
27648 java/rmi/activation/package.html: Documenting.
27650 2006-03-13 Roman Kennke <kennke@aicas.com>
27652 * javax/swing/JInternalFrame.java
27653 (setSelected): Repaint frame when it is showing and the selection
27656 2006-03-13 Roman Kennke <kennke@aicas.com>
27658 * javax/swing/AbstractButton.java
27659 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27662 2006-03-13 Roman Kennke <kennke@aicas.com>
27664 * javax/accessibility/AccessibleContext.java
27665 (getAccessibleRelationSet): Return empty set instead of null.
27667 2006-03-13 Roman Kennke <kennke@aicas.com>
27669 * javax/swing/ImageIcon.java
27670 (loadImage): Remove completed images from the MediaTracker. This
27671 avoids a potential memory leak.
27673 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27675 * javax/print/MultiDocPrintService.java,
27676 * javax/print/MultiDocPrintJob.java,
27677 * javax/print/MultiDoc.java: Added and enhanced documentation.
27679 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27681 * java/rmi/activation/ActivationID.java (uid): New field.
27682 (writeExternal, readExternal): New methods.
27683 (equals, hashCode): Rewritten.
27684 * java/rmi/activation/ActivationInstantiator.java,
27685 * java/rmi/activation/ActivationSystem.java,
27686 * java/rmi/activation/Activator.java,
27687 * java/rmi/activation/Activatable.java,
27688 * java/rmi/activation/ActivationGroup.java,
27689 * java/rmi/activation/ActivationGroupDesc.java:
27690 Documented and autoformatted.
27691 * java/rmi/activation/package.html: Added content.
27693 2006-03-12 Chris Burdess <dog@gnu.org>
27696 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27697 encoding are specified.
27699 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27701 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27702 (changeEvent): Initialise in fireStateChange(),
27703 (setSelectedIndex): Check if change is made before firing event,
27704 (clearSelection): Delegate to setSelectedIndex(),
27705 (fireStateChanged): Initialise changeEvent if necessary,
27706 * javax/swing/SingleSelectionModel.java: API docs all over.
27708 2006-03-11 Tom Tromey <tromey@redhat.com>
27710 * java/util/zip/InflaterInputStream.java: Reverted previous
27713 2006-03-11 Mark Wielaard <mark@klomp.org>
27715 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27718 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27720 * javax/swing/event/TreeSelectionEvent.java
27721 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27722 not one of the added/removed paths,
27723 (cloneWithSource): Reformatted.
27725 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27727 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27728 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27730 2006-03-10 Casey Marshall <csm@gnu.org>
27733 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27735 (doFinal, update): new methods.
27736 (init, init, init, init): initialize `state' after trying the
27737 implementation, which can throw an exception.
27738 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27741 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27743 * gnu/regexp/BacktrackStack.java: New file.
27744 * gnu/regexp/RE.java(findMatch): New method.
27745 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27746 REMatchList): Removed. (backtrackStack): New field.
27747 * gnu/regexp/REToken.java(match): Changed from an abstract
27748 method to an ordinary method defined with the new method
27749 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27750 findFixedLengthMatches, backtrack, toString): New methods.
27751 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27752 * gnu/regexp/RETokenBackRef.java: Likewise.
27753 * gnu/regexp/RETokenChar.java: Likewise.
27754 * gnu/regexp/RETokenEnd.java: Likewise.
27755 * gnu/regexp/RETokenEndSub.java: Likewise.
27756 * gnu/regexp/RETokenIndependent.java: Likewise.
27757 * gnu/regexp/RETokenLookAhead.java: Likewise.
27758 * gnu/regexp/RETokenLookBehind.java: Likewise.
27759 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27760 * gnu/regexp/RETokenPOSIX.java: Likewise.
27761 * gnu/regexp/RETokenRange.java: Likewise.
27762 * gnu/regexp/RETokenStart.java: Likewise.
27763 * gnu/regexp/RETokenWordBoundary.java: Likewise
27764 * gnu/regexp/RETokenOneOf.java: Rewriten.
27765 * gnu/regexp/RETokenRepeated.java: Rewriten.
27767 2006-03-10 Roman Kennke <kennke@aicas.com>
27769 * javax/swing/plaf/metal/MetalBorders.java
27770 (RolloverButtonBorder.paintBorder): Only call super here.
27771 * javax/swing/plaf/metal/MetalButtonListener.java
27772 (propertyChange): Only call super here.
27773 * javax/swing/plaf/metal/MetalButtonUI.java
27774 (update): Changed condition from isOpaque() to isContentAreaFilled()
27775 for the gradient fill.
27776 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27777 (paintText): API doc fix. Makes paintText not deprecated as specified
27778 but adds comment that this is obsolete.
27779 * javax/swing/plaf/metal/MetalUtils.java
27780 (fillMetalPattern): Fixed condition so that the Java2D is not
27781 used when the noGraphics2D property is set.
27783 2006-03-10 Roman Kennke <kennke@aicas.com>
27785 * javax/swing/plaf/metal/MetalLookAndFeel.java
27786 (createDefaultTheme): Set OceanTheme as default metal theme.
27788 2006-03-10 Roman Kennke <kennke@aicas.com>
27790 * javax/swing/text/WrappedPlainView.java
27791 (metrics): Made field package private to avoid accessor method.
27792 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27793 The drawLine (righly) interprets the y parameter as the baseline.
27794 * javax/swing/text/Utilities.java
27795 (getBreakLocation): Don't consider the offset. The returned value
27796 for getTabbedTextOffset is already relative to the offset.
27798 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27800 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27801 (dateFormat): Made private.
27802 (put): Replace only the last occurance and the value.
27803 (putAll): Save one iteration. Clarified documentation.
27805 2006-03-10 Tom Tromey <tromey@redhat.com>
27807 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27809 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27812 2006-03-10 Lillian Angel <langel@redhat.com>
27814 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27815 (comboboxgroup_get_widget): New function.
27816 (removed): Fixed to use new function to get the correct widget.
27817 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27818 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27821 2006-03-10 Lillian Angel <langel@redhat.com>
27823 * java/awt/GridBagLayout.java
27824 (ArrangeGrid): Added checks to determine if component
27825 is placed last in a row or column. If so, the location
27826 of the last component should be used to get the location
27827 of the current component.
27829 2006-03-10 Lillian Angel <langel@redhat.com>
27831 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27832 (nativeSetCheckboxGroup): No need to use new function here.
27833 Should just pass in pointer.
27835 2006-03-10 Lillian Angel <langel@redhat.com>
27837 * java/awt/GridBagLayout.java
27838 (distributeSizeAndWeight): Change else if to else. This
27839 allows for components to be added to a new row when
27840 their gridheight is REMAINDER.
27842 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27844 * java/rmi/activation/ActivationDesc.java,
27845 java/rmi/activation/ActivationGroupID.java,
27846 java/rmi/activation/Activator.java,
27847 java/rmi/server/Operation.java,
27848 java/rmi/server/RemoteServer.java: Documented and formatted.
27850 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27852 * javax/swing/JToggleButton.java: Fixed API doc tags,
27853 * javax/swing/OverlayLayout.java: Likewise.
27855 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27857 * javax/swing/DefaultCellEditor.java
27858 (cancelCellEditing): Removed spurious API doc tag.
27860 2006-03-10 Lillian Angel <langel@redhat.com>
27862 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27863 (create): Put checkbox widget into an event box so it paints properly.
27864 (connectSignals): Fixed to use new function.
27865 (nativeSetCheckboxGroup): Likewise.
27866 (gtkToggleButtonSetActive): Likewise.
27867 (gtkWidgetModifyFont): Likewise.
27868 (gtkButtonSetLabel): Likewise.
27869 (combobox_get_widget): New function.
27871 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27873 * javax/swing/text/rtf/package.html: New file.
27875 2006-03-10 Roman Kennke <kennke@aicas.com>
27877 * javax/swing/plaf/metal/OceanTheme.java
27878 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27879 * javax/swing/plaf/metal/MetalScrollBarUI.java
27880 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27881 (paintThumbHorizontal): Added handling of OceanTheme.
27882 (paintThumbVertical): Added handling of OceanTheme.
27884 2006-03-10 Roman Kennke <kennke@aicas.com>
27886 Reported by Fridjof Siebert <siebert@aicas.com>
27887 * java/awt/MediaTracker.java
27888 (removeImage): Only set prev to e when the the images of the
27889 entries are not the same. This avoids a potentially corrupt list.
27891 2006-03-10 Chris Burdess <dog@gnu.org>
27894 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27895 checking while reindenting.
27897 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27899 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27901 2006-03-09 Tom Tromey <tromey@redhat.com>
27903 PR classpath/26585:
27904 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27905 subdir. Added README.
27906 (install-data-local): Removed.
27907 (uninstall-local): Likewise.
27908 (EXTRA_DIST): Removed.
27910 2006-03-09 Tom Tromey <tromey@redhat.com>
27912 PR classpath/26623:
27913 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27915 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27917 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27919 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27921 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27923 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27925 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27927 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27929 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27931 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27933 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27934 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27936 2006-03-09 Keith Seitz <keiths@redhat.com>
27938 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27939 (executeVariableTable): Use VMMethod instead of reflection.
27940 (executeLineTable): Likewise.
27941 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27942 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27943 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27944 (getLineTable): Removed. Now resides in VMMethod.
27945 (getVarTable): Likewise.
27946 (getAllClassMethods): New method.
27948 2006-03-09 Keith Seitz <keiths@redhat.com>
27950 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27951 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27952 (ThreadStartEvent): Likewise.
27953 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27954 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27955 (ConditionalFilter): Likewise.
27956 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27957 (ExceptionOnlyFilter): Likewise.
27958 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27959 (FieldOnlyFilter): Likewise.
27960 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27961 (getSize): Likewise.
27962 (StepFilter): Likewise.
27963 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27964 * gnu/classpath/jdwp/transport/JdwpPacket.java
27965 (JdwpPacket): Likewise.
27966 (fromBytes): Likewise.
27967 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27968 (JdwpReplyPacket): Likewise.
27969 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27970 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27971 (getReferenceType): Likewise.
27972 (newObjectId): Likewise.
27973 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27974 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27975 (getFrames): Fix typo in parameter name and update javadoc.
27976 (getClassMethod): Update javadoc.
27978 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
27980 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27981 * javax/swing/event/TreeSelectionListener.java: Likewise.
27983 2006-03-09 Lillian Angel <langel@redhat.com>
27985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27986 (getHScrollbarHeight): Fixed property name.
27987 (getVScrollbarHeight): Likewise.
27989 2006-03-09 Lillian Angel <langel@redhat.com>
27991 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27992 (get_widget): New function.
27993 (gtkWidgetSetParent): Changed to use new function.
27994 (gtkWidgetSetCursorUnlocked): Likewise.
27995 (gtkWidgetSetSensitive): Likewise.
27996 (gtkWidgetRequestFocus): Likewise.
27997 (gtkWindowGetLocationOnScreen): Likewise.
27998 (gtkWidgetGetDimensions): Likewise.
27999 (gtkWidgetGetPreferredDimensions): Likewise.
28000 (setNativeBounds): Likewise.
28001 (gtkWidgetGetBackground): Likewise.
28002 (gtkWidgetGetForeground): Likewise.
28003 (gtkWidgetSetBackground): Likewise.
28004 (gtkWidgetSetForeground): Likewise.
28005 (setVisibleNativeUnlocked): Likewise.
28006 (isEnabled): Likewise.
28007 (isRealized): Likewise.
28008 (setNativeEventMask): Likewise.
28010 2006-03-09 Lillian Angel <langel@redhat.com>
28013 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28014 (create): Added combobox widget to an event box.
28015 (connectSignals): Added call to choice_get_widget to get the
28016 combobox out of the event box.
28017 (append): Likewise.
28018 (nativeRemoveAll): Likewise.
28019 (nativeRemove): Likwise.
28020 (nativeAdd): Likewise.
28021 (selectNative): Likewise.
28022 (choice_get_widget): New function.
28023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28024 (create): Added list scroll window widget to an event box.
28025 (connectSignals): Changed call to use new function to get the
28026 correct widget out of the event box.
28027 (getWidgetModifyFont): Likewise.
28028 (getWidgetRequestFocus): Likewise.
28029 (append): Likewise.
28031 (delItems): Likewise.
28032 (select): Likewise.
28033 (deselect): Likewise.
28034 (getSize): Likewise.
28035 (getSelectedIndexes): Likewise.
28036 (makeVisible): Likewise.
28037 (setMultipleMode): Likewise.
28038 (list_get_widget): New function.
28039 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28040 (create): Added scrollpane to an eventbox.
28041 (setScrollPosition): Changed call to use new function to get the
28042 correct widget out of the event box.
28043 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28044 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28045 (getHScrollbarHeight): Likewise.
28046 (getVScrollbarWidth): Likewise.
28047 (setPolicy): Likewise.
28048 (scrollpane_get_widget): New function.
28049 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28050 (connectSignals): Changed call to use new function to get the
28051 correct widget out of the event box.
28052 (create): Added scrollbar to an eventbox.
28053 (setLineIncrement): Changed call to use new function to get the
28054 correct widget out of the event box.
28055 (setPageIncrement): Likewise.
28056 (setBarValues): Likewise.
28057 (scrollbar_get_widget): New function.
28058 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28059 (create): Added text area scroll window widget to an event box.
28060 (connectSignals): Changed call to use new function to get the
28061 correct widget out of the event box.
28062 (insert): Likewise.
28063 (replaceRange): Likewise.
28064 (gtkWidgetModifyFont): Likewise.
28065 (gtkWidgetRequestFocus): Likewise.
28066 (getHScrollbarHeight): Likewise.
28067 (getVScrollbarWidth): Likewise.
28068 (getCaretPosition): Likewise.
28069 (setCaretPosition):Likewise.
28070 (getSelectionStart): Likewise.
28071 (getSelectionEnd): Likewise.
28072 (select): Likewise.
28073 (setEditable): Likewise.
28074 (getText): Likewise.
28075 (setText): Likewise.
28076 (textarea_get_widget): New function.
28078 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28080 * java/rmi/dgc/VMID.java:
28081 (equals, hashCode, static initializer): Rewritten.
28082 * java/rmi/dgc/package.html: Documented.
28084 2006-03-09 Mark Wielaard <mark@klomp.org>
28086 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28088 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28089 (canCache): Likewise.
28090 (GtkClipboard): Take String argument.
28091 (getInstance): Removed.
28092 (getClipboardInstance, getSelectionInstance): New static methods.
28093 (setSystemContents): Make synchronized. Takes boolean argument.
28094 (initNativeState): Add clipboard and selection.
28095 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28096 (announceClipboardChange, announcePrimaryChange): New static field.
28097 (announce): Take GtkClipboard as argument.
28098 (run): Check which clipboard to announce change for.
28099 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28101 (GtkSelection): Take GtkClipboard as argument.
28102 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28103 clipboard argument.
28104 (requestMimeTypes): Likewise.
28105 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28107 * java/awt/Toolkit.java (getSystemSelection): Document.
28108 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28109 (cp_gtk_selection_instance): New var.
28110 (current_selection, owner): Removed.
28111 (clipboard_owner_change_cb): Use clipboard argument.
28112 (initNativeState): Store clipboard and selection instances. Cache
28113 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28115 (clipboard_get_func): Use clipboard argument.
28116 (clipboard_clear_func): Likewise. Always call method.
28117 (advertiseContent): Don't cache method ids here. Check whether to
28118 use clpboard or selection. Don't set owner or current_selection.
28119 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28120 (requestText, requestImage, requestURIs, requestBytes): Use extra
28121 boolean argument to select clipboard.
28122 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28123 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28124 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28125 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28127 2006-03-09 Keith Seitz <keiths@redhat.com>
28129 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28130 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28131 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28132 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28133 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28134 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28135 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28136 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28137 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28139 2006-03-09 Mark Wielaard <mark@klomp.org>
28141 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28142 bounds for index is valid.
28143 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28145 (getCellBounds): Update documentation.
28147 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28149 * .classpath: added exclude pattern on source folders
28150 (Makefiles, README and .cvsignore)
28152 2006-03-08 Michael Koch <konqueror@gmx.de>
28154 * java/net/Proxy.java (NO_PROXY): Made final.
28155 (equals): Likewise.
28156 (hashCode): Likewise.
28158 2006-03-08 Keith Seitz <keiths@redhat.com>
28160 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28161 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28162 (getClassMethod): New method.
28164 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28166 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28168 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28170 * java/rmi/server/ObjID.java: Documented and autoformatted.
28172 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28175 * tools/Makefile.am (install-data-local,
28176 uninstall-local): Install/uninstall the tools/README only.
28177 * tools/gnu/classpath/tools/giop/README: Updated.
28178 * tools/README: New file.
28180 2006-03-08 Lillian Angel <langel@redhat.com>
28182 * java/awt/GridBagLayout.java
28183 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28184 then the next item should be set to current_y (not 0).
28186 2006-03-08 Lillian Angel <langel@redhat.com>
28188 * java/awt/GridBagLayout.java
28189 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28190 in the bottom-most spot of the column, we need to place that component
28191 at the y-location of the other components in that row. If there are
28192 no other components in that row, then place it at y = 0.
28194 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28196 * javax/swing/ProgressMonitor.java: Updated API docs,
28197 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28199 2006-03-08 Michael Koch <konqueror@gmx.de>
28201 * java/net/InetSocketAddress.java
28202 (InetSocketAddress(String,int,resolve)): New private contructor.
28203 (InetSocketAddress(String,int)): Use new private constructor.
28204 (createUnresolved): New method.
28206 2006-03-07 Michael Koch <konqueror@gmx.de>
28208 * gnu/java/net/DefaultProxySelector.java,
28209 java/net/Proxy.java, java/net/ProxySelector.java:
28212 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28214 * java/rmi/server/UID.java (constructor): Assign last and time fields
28217 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28219 * java/rmi/server/UID.java: New file (replacing).
28221 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28223 * java/util/jar/Manifest.java: Removed unused imports.
28224 (CRLF): New constant.
28225 (read): Added method documentation.
28226 Use UTF-8 encoding instead of 8859_1.
28227 (write): Added method documentation.
28228 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28229 (write_main_section): Replace PrintWriter arg with OutputStream.
28230 Replace JarException with IOException.
28231 (write_version_info): Likewise.
28232 (write_main_attributes): Likewise.
28233 (write_attribute_entry): Likewise.
28234 (write_individual_sections): Likewise.
28235 (write_entry_attributes): Likewise.
28236 (write_header): Replace PrintWriter arg with OutputStream.
28239 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28241 * javax/swing/tree/DefaultMutableTreeNode.java
28242 (getFirstChild): Updated API docs,
28243 (getLastChild): Likewise,
28244 (getChildAfter): Likewise,
28245 (getChildBefore): Likewise,
28246 (isNodeSibling): Return true if node == this,
28247 (getSiblingCount): Updated API docs,
28248 (getNextSibling): Likewise,
28249 (getPreviousSibling): Likewise,
28250 (isLeaf): Likewise,
28251 (getFirstLeaf): Likewise,
28252 (getLastLeaf): Likewise,
28253 (getNextLeaf): Implemented,
28254 (getPreviousLeaf): Implemented.
28256 2006-03-07 Tom Tromey <tromey@redhat.com>
28258 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28259 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28260 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28261 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28264 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28266 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28267 (clone): Reimplemented,
28268 (add): Throw IllegalArgumentException if child is an ancestor,
28269 (remove(int)): Set child's parent to null,
28270 (remove(MutableTreeNode)): Check arguments and set child's parent to
28272 (insert): Check allowsChildren flag, check for null argument, and
28273 check for a node that is an ancestor,
28274 (getIndex): Throw IllegalArgumentException for null argument,
28275 (setAllowsChildren): If setting to false, remove existing children,
28276 (removeAllChildren): Set parent to null for removed children.
28278 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28280 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28283 2006-03-06 Tom Tromey <tromey@redhat.com>
28285 * java/lang/StrictMath.java (ulp): New methods.
28286 * java/lang/Math.java (ulp): New methods.
28288 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28290 * gnu/java/rmi/server/UnicastRef.java,
28291 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28293 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28295 * gnu/java/rmi/server/CombinedClassLoader.java
28296 (findClass, findLibrary, findResouce, findResources): check
28297 all loaders in array.
28299 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28302 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28303 (RefProtector): new inner class. (dirty): Rewritten.
28304 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28305 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28306 new methods. (readExternal): Create LeaseRenewingTask if non local.
28307 * gnu/java/rmi/server/UnicastServer.java (objects):
28308 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28309 (getExported): New method.
28310 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28312 2006-03-06 Mark Wielaard <mark@klomp.org>
28314 * doc/www.gnu.org/announce/20060306.wml: New file.
28315 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28316 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28318 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28320 * javax/swing/plaf/metal/MetalLookAndFeel.java
28321 (initComponentDefaults): Use Boolean.TRUE for
28322 'CheckBoxMenuItem.borderPainted'.
28324 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28326 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28327 (dateFormat): Made private.
28328 (put): Replace only the last occurance and the value.
28329 (putAll): Reimplemented with the put method.
28331 2006-03-06 Lillian Angel <langel@redhat.com>
28334 * java/awt/List.java
28335 (preferredSize): Return the size of the list if the peer is
28337 * gnu/java/awt/peer/gtk/GtkListPeer.java
28338 (preferredSize): Code was returning the minimum size of the
28339 list. Added adjustment to the width of the list so it is a
28342 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28344 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28345 (getRequestProperty): Remove duplicated null check.
28346 * java/net/URLConnection.java:
28347 (URLConnection): Javadoc fix.
28348 (addRequestProperty): Likewise.
28349 (getDefaultRequestProperty): Likewise.
28350 (getHeaderField): Likewise.
28351 (getHeaderFieldDate): Likewise.
28352 (getHeaderFieldKey): Likewise.
28353 (getHeaderFields): Likewise.
28354 (getRequestProperties): Likewise.
28355 (getRequestProperty): Likewise.
28356 (setDefaultRequestProperty): Likewise.
28357 (setRequestProperty): Likewise.
28359 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28361 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28362 * examples/gnu/classpath/examples/swing/Demo.java:
28363 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28365 (mkMenuBar): Added entry for text area example.
28367 2006-03-06 Tom Tromey <tromey@redhat.com>
28369 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28370 (FORMATTED_TEXT_FIELD): Likewise.
28372 2006-03-06 Tom Tromey <tromey@redhat.com>
28374 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28376 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28378 * examples/gnu/classpath/examples/swing/Demo.java:
28379 (mkMenuBar): Added menu entry that will display the VM's name,
28380 version and distributor.
28382 2006-03-06 Tom Tromey <tromey@redhat.com>
28384 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28386 (getName): Likewise.
28388 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28390 * java/util/jar/Manifest.java: Removed unused imports.
28391 (CRLF): New constant.
28392 (read): Added method documentation.
28393 Use UTF-8 encoding instead of 8859_1.
28394 (write): Added method documentation.
28395 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28396 (write_main_section): Replace PrintWriter arg with OutputStream.
28397 Replace JarException with IOException.
28398 (write_version_info): Likewise.
28399 (write_main_attributes): Likewise.
28400 (write_attribute_entry): Likewise.
28401 (write_individual_sections): Likewise.
28402 (write_entry_attributes): Likewise.
28403 (write_header): Replace PrintWriter arg with OutputStream.
28406 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28409 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28410 API doc tag warnings,
28411 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28413 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28415 * gnu/java/net/protocol/file/Connection.java (unquote):
28416 Update position in buffer after decoding a unicode character
28417 outside of the basic plane.
28419 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28421 * java/net/URI.java
28422 (quote): Pass Unicode characters outside the basic plane through.
28424 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28426 * javax/swing/plaf/basic/BasicTextUI.java:
28427 (damageRange): Rewritten if-expressions to correctly identify the
28430 2006-03-06 Mark Wielaard <mark@klomp.org>
28432 * configure.ac: Set version to 0.90-generics.
28435 2006-03-06 Mark Wielaard <mark@klomp.org>
28437 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28438 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28439 (isnan): Define explicitly isnan if it is not a macro.
28441 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28443 * javax/swing/text/GapContent.java:
28444 (insertString): Throw exception when argument is below
28447 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28449 * javax/swing/text/PlainDocument.java:
28450 (insertUpdate): Extended if-expression, added
28451 code to generate another Element when newly inserted characters
28452 and old ones will be on the same line.
28454 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28456 * javax/swing/text/DefaultCaret.java:
28457 (mouseDragged): Do selection when shift is pressed.
28458 (mouseClicked): Implemented.
28460 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28462 * javax/swing/text/PlainDocument.java: Fix copyright header,
28464 (insertUpdate): Do not copy the whole document any more, added some
28465 more variables to prevent needless method calls.
28467 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28469 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28470 is required on Darwin.
28471 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28472 (AM_CFLAGS): Likewise.
28474 2006-03-06 Mark Wielaard <mark@klomp.org>
28476 * NEWS: Add updates for 0.90 release.
28478 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28480 * javax/swing/text/GapContent.java:
28481 (insertString): Throw exception when argument is below
28484 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28487 * javax/swing/filechooser/FileFilter.java:
28488 (accept): Fixed API doc tag,
28489 (getDescription): Likewise,
28490 * javax/swing/filechooser/FileView.java:
28491 (isTraversable): Fixed API doc tag.
28493 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28495 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28496 added API docs all over.
28498 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28500 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28501 and corrected a bad API doc tag.
28503 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28505 * javax/swing/undo/StateEditable.java
28506 (restoreState): Fixed bad API doc tag,
28507 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28508 AbstractUndoableEdit.java,
28509 * javax/swing/undo/UndoableEditSupport.java
28510 (createCompoundEdit): Fixed bad API doc tag,
28511 * javax/swing/undo/UndoManager.java
28512 (editToBeUndone): Fixed bad API doc tag,
28513 (editToBeRedone): Likewise.
28515 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28517 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28518 * javax/swing/FocusManager.java: Likewise.
28521 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28524 * javax/swing/plaf/metal/MetalComboBoxButton.java
28525 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28526 JList)): Fixed API doc tag,
28527 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28528 (createLayout): Fixed API doc warning.
28530 2006-03-05 Tom Tromey <tromey@redhat.com>
28532 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28533 ClassHelper.getUserName.
28534 * vm/reference/java/lang/reflect/Method.java (toString): Use
28535 ClassHelper.getUserName.
28536 (getUserTypeName): Removed.
28537 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28538 * vm/reference/java/lang/reflect/Field.java (toString): Use
28539 ClassHelper.getUserName.
28541 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28544 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28545 Allows directories as valid resources.
28547 2006-03-05 Mark Wielaard <mark@klomp.org>
28549 * configure.ac (VERSION): Set to 0.90-pre-generics.
28550 * Merge with CVS trunk from classpath-0_90-branch-point.
28552 2006-03-04 Tom Tromey <tromey@redhat.com>
28554 * javax/swing/SpringLayout.java (Constraints): New constructor.
28555 * javax/swing/Spring.java (width): New method.
28556 (height): Likewise.
28559 2006-03-04 Mark Wielaard <mark@klomp.org>
28561 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28562 existing connection from pool before returning.
28564 2006-03-04 Mark Wielaard <mark@klomp.org>
28566 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28567 exceptions thrown by handlers while cleaning up and rethrow original
28570 2006-03-04 Tom Tromey <tromey@redhat.com>
28572 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28574 (findConstructor): Likewise.
28575 (instantiateClass): Likewise.
28577 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28579 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28580 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28581 lease value and not always the default one.
28582 (LeaseRecord): Remember the array of objects, marked as dirty.
28583 java/rmi/dgc/Lease.java: Boilerplate fix.
28585 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28587 * java/util/jar/Attributes.java (putValue): Made it public and updated
28588 method documentation.
28590 2006-03-04 Mark Wielaard <mark@klomp.org>
28592 * java/awt/Container.java (remove(int)): Always call removeNotify()
28593 on removed Component.
28595 2006-03-04 Mark Wielaard <mark@klomp.org>
28597 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28598 * javax/swing/JEditorPane.java (setText): Check for empty String
28599 with equals(), not equality (==).
28601 2006-03-04 Mark Wielaard <mark@klomp.org>
28603 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28604 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28606 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28608 * javax/swing/text/GapContent.java
28609 (getArray): Mark as final.
28611 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28613 * javax/swing/text/StyleConstants.java
28614 (CharacterConstants.Background): Marked final,
28615 (CharacterConstants.BidiLevel): Likewise,
28616 (CharacterConstants.Bold): Likewise,
28617 (CharacterConstants.ComponentAttribute): Likewise,
28618 (CharacterConstants.Family): Likewise,
28619 (CharacterConstants.Size): Likewise,
28620 (CharacterConstants.Foreground): Likewise,
28621 (CharacterConstants.IconAttribute): Likewise,
28622 (CharacterConstants.Italic): Likewise,
28623 (CharacterConstants.StrikeThrough): Likewise,
28624 (CharacterConstants.Subscript): Likewise,
28625 (CharacterConstants.Superscript): Likewise,
28626 (CharacterConstants.Underline): Likewise,
28627 (ColorConstants.Foreground): Likewise,
28628 (ColorConstants.Background): Likewise,
28629 (FontConstants.Bold): Likewise,
28630 (FontConstants.Family): Likewise,
28631 (FontConstants.Italic): Likewise,
28632 (FontConstants.Size): Likewise,
28633 (ParagraphConstants.Alignment): Likewise,
28634 (ParagraphConstants.FirstLineIndent): Likewise,
28635 (ParagraphConstants.LeftIndent): Likewise,
28636 (ParagraphConstants.LineSpacing): Likewise,
28637 (ParagraphConstants.Orientation): Likewise,
28638 (ParagraphConstants.RightIndent): Likewise,
28639 (ParagraphConstants.SpaceAbove): Likewise,
28640 (ParagraphConstants.SpaceBelow): Likewise,
28641 (ParagraphConstants.TabSet): Likewise.
28643 2006-03-03 Tom Tromey <tromey@redhat.com>
28645 * javax/net/ssl/SSLException.java: Added missing @since.
28648 2006-03-03 Tom Tromey <tromey@redhat.com>
28650 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28651 (serialVersionUID): New field.
28653 2006-03-03 Tom Tromey <tromey@redhat.com>
28655 * java/security/spec/InvalidKeySpecException.java
28656 (InvalidKeySpecException): New constructors.
28657 * java/security/cert/CertificateParsingException.java
28658 (CertificateParsingException): New constructors.
28659 * java/security/cert/CertificateEncodingException.java
28660 (CertificateEncodingException): New constructors.
28661 * java/security/cert/CertificateException.java (CertificateException):
28663 * java/security/cert/CRLException.java (CRLException): New
28666 2006-03-03 Tom Tromey <tromey@redhat.com>
28668 * java/security/SignatureException.java (SignatureException): New
28670 * java/security/ProviderException.java (ProviderException): New
28672 * java/security/NoSuchAlgorithmException.java
28673 (NoSuchAlgorithmException): New constructors.
28674 * java/security/KeyStoreException.java (KeyStoreException): New
28676 * java/security/KeyManagementException.java (KeyManagementException):
28678 * java/security/InvalidKeyException.java (InvalidKeyException): New
28680 * java/security/KeyException.java (KeyException): New constructors.
28681 * java/security/InvalidAlgorithmParameterException.java
28682 (InvalidAlgorithmParameterException): New constructors.
28683 * java/security/DigestException.java (DigestException): New
28685 * java/security/GeneralSecurityException.java
28686 (GeneralSecurityException): New constructors.
28688 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28690 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28692 * javax/swing/event/DocumentEvent.java: Likewise,
28693 * javax/swing/event/EventListenerList.java: Likewise,
28694 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28695 * javax/swing/event/MenuKeyEvent.java: Likewise,
28696 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28697 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28698 * javax/swing/event/TreeModelEvent.java: Likewise,
28699 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28700 * javax/swing/event/UndoableEditEvent.java: Likewise.
28702 2006-03-03 Tom Tromey <tromey@redhat.com>
28704 * java/awt/Insets.java (set): New method.
28705 (equals): Added @since.
28707 2006-03-03 David Daney <ddaney@avtrex.com>
28709 * gnu/java/net/protocol/http/HTTPURLConnection.java
28710 (getRequestProperties): Rewrote.
28711 (addRequestProperty): Rewrote.
28712 (getHeaderFields): Rewrote.
28713 (getHeaderField): Rewrote.
28714 (getHeaderFieldKey): Rewrote.
28715 (getHeaderField): Removed useless cast.
28716 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28717 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28719 (notifyHeaderHandlers): Use new Headers interface.
28721 2006-03-03 Tom Tromey <tromey@redhat.com>
28723 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28724 * javax/naming/spi/ResolveResult.java,
28725 javax/naming/event/NamingExceptionEvent.java,
28726 javax/naming/event/NamingEvent.java,
28727 javax/naming/directory/SearchResult.java,
28728 javax/naming/directory/SearchControls.java,
28729 javax/naming/directory/SchemaViolationException.java,
28730 javax/naming/directory/NoSuchAttributeException.java,
28731 javax/naming/directory/ModificationItem.java,
28732 javax/naming/directory/InvalidSearchFilterException.java,
28733 javax/naming/directory/InvalidSearchControlsException.java,
28734 javax/naming/directory/InvalidAttributesException.java,
28735 javax/naming/directory/InvalidAttributeIdentifierException.java,
28736 javax/naming/directory/AttributeModificationException.java,
28737 javax/naming/directory/AttributeInUseException.java,
28738 javax/naming/TimeLimitExceededException.java,
28739 javax/naming/SizeLimitExceededException.java,
28740 javax/naming/PartialResultException.java,
28741 javax/naming/Reference.java,
28742 javax/naming/ServiceUnavailableException.java,
28743 javax/naming/OperationNotSupportedException.java,
28744 javax/naming/NotContextException.java,
28745 javax/naming/NoPermissionException.java,
28746 javax/naming/NoInitialContextException.java,
28747 javax/naming/NameNotFoundException.java,
28748 javax/naming/NameAlreadyBoundException.java,
28749 javax/naming/NameClassPair.java,
28750 javax/naming/MalformedLinkException.java,
28751 javax/naming/LinkLoopException.java,
28752 javax/naming/LinkException.java,
28753 javax/naming/LimitExceededException.java,
28754 javax/naming/InvalidNameException.java,
28755 javax/naming/InterruptedNamingException.java,
28756 javax/naming/InsufficientResourcesException.java,
28757 javax/naming/ContextNotEmptyException.java,
28758 javax/naming/ConfigurationException.java,
28759 javax/naming/CannotProceedException.java,
28760 javax/naming/CommunicationException.java,
28761 javax/naming/Binding.java,
28762 javax/naming/AuthenticationNotSupportedException.java,
28763 javax/naming/AuthenticationException.java: Added serialVersionUID.
28765 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28767 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28769 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28771 * javax/swing/event/TableModelListener.java: Updated API docs.
28773 2006-03-03 Mark Wielaard <mark@klomp.org>
28775 * java/awt/Component.java (addNotify): Expand documentation.
28777 2006-03-03 Mark Wielaard <mark@klomp.org>
28779 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28780 Always call setParentAndBounds().
28781 (setComponentBounds): Always call setBounds().
28782 (setBounds): Call setVisible().
28783 (setVisible): If no pixels are showing then don't make it visible.
28784 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28785 to call setParentAndBounds() anymore.
28787 2006-03-03 Roman Kennke <kennke@aicas.com>
28789 * javax/swing/JInternalFrame.java
28790 (JInternalFrame): Set frame invisible.
28791 (show): Reformatted.
28792 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28793 (installDefaults): Do not set invisible here.
28795 2006-03-03 Roman Kennke <kennke@aicas.com>
28797 * java/awt/Toolkit.java
28798 (getScreenInsets): Return (0,0,0,0) here.
28800 2006-03-03 Roman Kennke <kennke@aicas.com>
28802 * javax/swing/text/FlowView.java
28803 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28804 (FlowStrategy.getLogicalView): Made method protected.
28806 2006-03-03 Chris Burdess <dog@gnu.org>
28808 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28809 gnu/xml/validation/relaxng/AttributePattern.java,
28810 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28811 gnu/xml/validation/relaxng/ChoicePattern.java,
28812 gnu/xml/validation/relaxng/DataPattern.java,
28813 gnu/xml/validation/relaxng/Define.java,
28814 gnu/xml/validation/relaxng/ElementPattern.java,
28815 gnu/xml/validation/relaxng/EmptyPattern.java,
28816 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28817 gnu/xml/validation/relaxng/Grammar.java,
28818 gnu/xml/validation/relaxng/GrammarException.java,
28819 gnu/xml/validation/relaxng/GrammarValidator.java,
28820 gnu/xml/validation/relaxng/GroupPattern.java,
28821 gnu/xml/validation/relaxng/InterleavePattern.java,
28822 gnu/xml/validation/relaxng/ListPattern.java,
28823 gnu/xml/validation/relaxng/NSNameNameClass.java,
28824 gnu/xml/validation/relaxng/NameClass.java,
28825 gnu/xml/validation/relaxng/NameNameClass.java,
28826 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28827 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28828 gnu/xml/validation/relaxng/Param.java,
28829 gnu/xml/validation/relaxng/Pattern.java,
28830 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28831 gnu/xml/validation/relaxng/RefPattern.java,
28832 gnu/xml/validation/relaxng/TextPattern.java,
28833 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28834 builder and data model.
28835 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28836 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28837 gnu/xml/validation/xmlschema/AttributeUse.java,
28838 gnu/xml/validation/xmlschema/ComplexType.java,
28839 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28840 gnu/xml/validation/xmlschema/Particle.java,
28841 gnu/xml/validation/xmlschema/ValidationException.java,
28842 gnu/xml/validation/xmlschema/XMLSchema.java,
28843 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28844 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28845 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28846 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28847 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28848 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28849 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28850 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28851 W3C XML Schema builder and schema components.
28852 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28853 XML Schema namespace URIs.
28855 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28857 * NEWS: Add entry for --enable-collections.
28858 * configure.ac: Add --enable-collections option.
28859 * lib/Makefile.am (collections.jar): New target.
28860 (glibj_DATA): Add $(COLLECTIONS).
28861 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28862 configure substitution.
28863 (classpath): Read from command line.
28864 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28866 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28868 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28870 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28872 * javax/swing/event/ListSelectionEvent.java
28873 (toString): Implemented,
28874 plus updated API docs all over.
28876 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28878 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28880 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28882 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28884 * gnu/java/rmi/dgc/DGCImpl.java,
28885 java/rmi/dgc/DGC.java,
28886 java/rmi/dgc/Lease.java: Formatted and commented.
28888 2006-03-03 Roman Kennke <kennke@aicas.com>
28890 * NEWS: Added comment about text highlighting and copy+paste
28893 2006-03-03 Roman Kennke <kennke@aicas.com>
28895 * javax/swing/JTabbedPane.java
28896 (remove(int)): Call super.remove(int) instead of remove(Component).
28897 Avoids a stack overflow.
28899 2006-03-03 Roman Kennke <kennke@aicas.com>
28901 * javax/swing/JTable.java
28902 (distributeSpillResizing): Avoid ArithmeticException by checking
28905 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28907 * javax/swing/text/package.html: Added package description.
28909 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28911 * javax/swing/CellRendererPane.java: Minor API doc fix,
28912 * javax/swing/ComboBoxModel.java: Updated API docs.
28914 2006-03-03 Chris Burdess <dog@gnu.org>
28917 * gnu/xml/stream/EntityReferenceImpl.java,
28918 gnu/xml/stream/FilteredEventReader.java,
28919 gnu/xml/stream/SAXParser.java,
28920 gnu/xml/stream/XIncludeFilter.java,
28921 gnu/xml/stream/XMLEventAllocatorImpl.java,
28922 gnu/xml/stream/XMLEventFactoryImpl.java,
28923 gnu/xml/stream/XMLEventImpl.java,
28924 gnu/xml/stream/XMLEventReaderImpl.java,
28925 gnu/xml/stream/XMLEventWriterImpl.java,
28926 gnu/xml/stream/XMLInputFactoryImpl.java,
28927 gnu/xml/stream/XMLOutputFactoryImpl.java,
28928 gnu/xml/stream/XMLParser.java,
28929 javax/xml/stream/EventFilter.java,
28930 javax/xml/stream/Location.java,
28931 javax/xml/stream/StreamFilter.java,
28932 javax/xml/stream/XMLEventFactory.java,
28933 javax/xml/stream/XMLEventReader.java,
28934 javax/xml/stream/XMLEventWriter.java,
28935 javax/xml/stream/XMLInputFactory.java,
28936 javax/xml/stream/XMLOutputFactory.java,
28937 javax/xml/stream/XMLReporter.java,
28938 javax/xml/stream/XMLResolver.java,
28939 javax/xml/stream/XMLStreamConstants.java,
28940 javax/xml/stream/XMLStreamReader.java,
28941 javax/xml/stream/events/EntityDeclaration.java,
28942 javax/xml/stream/events/EntityReference.java,
28943 javax/xml/stream/events/XMLEvent.java,
28944 javax/xml/stream/util/EventReaderDelegate.java,
28945 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28946 StAX API as specified in JWSDP 2.0.
28947 * gnu/xml/stream/EndEntityImpl.java,
28948 gnu/xml/stream/LocationImpl.java,
28949 gnu/xml/stream/StartEntityImpl.java,
28950 gnu/xml/stream/XMLStreamReaderImpl.java,
28951 javax/xml/stream/XMLFilter.java,
28952 javax/xml/stream/XMLIterator.java,
28953 javax/xml/stream/events/EndEntity.java,
28954 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28956 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28958 * javax/swing/CellEditor.java: API doc updates,
28959 * javax/swing/DefaultCellEditor.java: Likewise.
28961 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28963 * javax/swing/AbstractListModel.java:
28964 (AbstractListModel): Added API docs,
28965 (fireContentsChanged): Minor API doc correction,
28966 (fireIntervalAdded): Likewise,
28967 (fireIntervalRemoved): Likewise.
28969 2006-03-03 Roman Kennke <kennke@aicas.com>
28971 * NEWS: Added paragraph about Swing improvements.
28973 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28975 * javax/swing/AbstractAction.java: Updated API docs all over,
28976 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28977 (stopCellEditing): Minor API doc correction,
28978 * javax/swing/UnsupportedLookAndFeelException.java
28979 (UnsupportedLookAndFeelException): Changed argument name, updated API
28982 2006-03-03 Roman Kennke <kennke@aicas.com>
28984 * javax/swing/plaf/metal/MetalUtils.java
28985 (fillMetalPattern): Added switch to not use Graphics2D methods,
28986 even if they are available.
28988 2006-03-03 Roman Kennke <kennke@aicas.com>
28990 * javax/swing/plaf/basic/BasicHTML.java
28991 (isHTMLString): Check for string beeing null.
28992 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28993 (BasicInternalFrameListener.internalFrameActivated): Implemented.
28994 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28995 (InternalFrameLayout): Don't touch the glass pane here.
28996 (installUI): Fix handling of glass pane.
28997 * javax/swing/plaf/basic/BasicLabelUI.java
29001 (BasicLabelUI): Initialize new fields.
29002 (getPreferredSize): Avoid creating new Rectangles by using
29003 SwingUtilities method.
29004 (paint): Avoid creating new Rectangles by reusing
29005 new fields. Added some preliminary handling of HTML inside the
29007 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29008 (uninstallComponents): Clear HTML renderer.
29009 (propertyChange): Check for HTML text and install renderer if
29011 * javax/swing/plaf/basic/BasicListUI.java
29012 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29014 * javax/swing/plaf/basic/BasicTextUI.java
29015 (RootView.getStartOffset): Implemented.
29016 (RootView.getEndOffset): Implemented.
29017 (RootView.getDocument): Implemented.
29019 2006-03-03 Roman Kennke <kennke@aicas.com>
29021 * javax/swing/text/DefaultStyledDocument.java
29022 (ElementBuffer.inserUpdate): Added check for zero-length
29024 * javax/swing/text/DefaultStyledDocument.java
29025 (setIndex): Improved exception message.
29026 * javax/swing/text/TableView.java
29027 Made class abstract.
29028 (TableRow.replace): Probably extend columnRequirements
29030 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29031 of super.layoutMajorAxis.
29032 (columnRequirements): Made field package private.
29033 (TableView): Do not load any child views here.
29034 (layoutColumns): Implemented this method.
29035 (updateColumnRequirements): New helper method.
29036 * javax/swing/text/Utilities.java
29037 (getBreakLocation): Also take offset into account when
29038 finding end location.
29039 * javax/swing/text/html/HTMLDocument.java
29040 (HTMLReader.parseStack): New field.
29041 (HTMLReader.blockOpen): Properly handle p-implied tags.
29042 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29043 (HTMLReader.addContent): Insert p-implied when adding content to
29045 * javax/swing/text/html/HTMLEditorKit.java
29046 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29047 ParagraphView for TD tags. Print out warning for tags that don't have
29048 matching view yet and create NullView for them.
29049 (read): Only set document base when document != null.
29050 * javax/swing/text/html/HTMLTableView.java:
29053 2006-03-03 Roman Kennke <kennke@aicas.com>
29055 * javax/swing/plaf/basic/BasicHTML.java
29056 (HTMLRootView): New inner class.
29057 (createHTMLView): Embed view inside a HTMLRootView.
29059 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29061 * gnu/java/net/protocol/jar/Connection.java:
29062 (connect): Throw FileNotFoundException.
29063 (getInputStream): Remove duplicated code.
29065 2006-03-03 Roman Kennke <kennke@aicas.com>
29067 * javax/swing/RepaintManager.java
29068 (commitBuffer): Added null check for clip.
29070 2006-03-02 Lillian Angel <langel@redhat.com>
29072 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29073 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29074 to use GtkWidget instead of GTKMenu.
29076 2006-03-02 Lillian Angel <langel@redhat.com>
29078 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29079 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29080 use the submenu to get the list of children. This now works
29081 in the same way as addItem.
29083 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29085 * java/lang/StringBuilder.java:
29086 (codePointAt): New method.
29087 (codePointBefore): Likewise.
29088 (codePointCount): Likewise.
29089 (trimToSize): Likewise.
29091 2006-03-02 Tom Tromey <tromey@redhat.com>
29093 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29095 2006-03-02 Tom Tromey <tromey@redhat.com>
29097 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29098 (getProviderInstance):
29100 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29102 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29103 Fix regression caused by move to VM variant.
29104 PR classpath/22926.
29106 2006-03-01 Tom Tromey <tromey@redhat.com>
29108 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29109 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29110 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29111 imports for javadoc.
29112 (getProxyClass): Javadoc fixes.
29113 (getProxyData): Likewise.
29114 (generateProxyClass): Likewise.
29115 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29116 (setOut): Likewise.
29117 (setErr): Likewise.
29118 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29119 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29121 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29123 (getModifiers): Likewise.
29124 (getDeclaredClasses): Javadoc fix.
29125 (getDeclaredFields): Likewise.
29126 (getDeclaredMethods): Likewise.
29127 (getDeclaredConstructors): Likewise.
29128 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29131 2006-03-01 Tom Tromey <tromey@redhat.com>
29133 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29134 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29135 (getVersion): Javadoc fix.
29137 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29138 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29140 2006-03-01 David Daney <ddaney@avtrex.com>
29142 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29143 as relative if it contains a colon but no protocol handler can be
29146 2006-03-01 Roman Kennke <kennke@aicas.com>
29148 * javax/swing/text/AbstractDocument.java
29149 (LeafElement.LeafElement): Handle delta with respect to content
29150 length not document length.
29151 * javax/swing/text/CompositeView.java
29152 (getViewIndex): Handle bias correctly.
29153 * javax/swing/text/DefaultCaret.java
29154 (paint): Align caret position to document bounds to avoid trouble
29155 when removing large portions of content.
29156 * javax/swing/text/DefaultStyledDocument.java
29157 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29158 (ElementBuffer.createFracture): Copy old childs attribute. The
29159 ElementSpec usually doesn't carry attribute information.
29160 Use pos instead of offset.
29161 (ElementBuffer.insertFracture): Use pos instead of offset.
29162 (createDefaultRootElement): Don't use create* and instead directly
29163 instantiate the elements.
29164 (handleInsertAfterNewline): Compare the paragraphs startOffset
29165 rather than previous paragraphs endOffset.
29166 * javax/swing/text/JTextComponent.java
29167 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29169 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29171 * javax/swing/text/PlainView.java
29172 (damageLineRange): Avoid creating new Rectangle by using
29174 * javax/swing/text/View.java
29175 (forwardUpdate): Correct the use of bias.
29176 (modelToView): Avoid new Rectangles by using SwingUtilities.
29177 (dump): Made (temprorarily) protected for use in BasicTextUI.
29178 (dump(int)): Dump out the element of the view.
29180 2006-03-01 Lillian Angel <langel@redhat.com>
29182 * NEWS: javax.imageio.plugins.bmp implementation.
29184 2006-03-01 Lillian Angel <langel@redhat.com>
29186 * javax/imageio/ImageWriteParam.java:
29187 Added documentation for fields.
29188 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29189 New class implemented.
29191 2006-03-01 Tom Tromey <tromey@redhat.com>
29193 * NEWS: Mention java.util.prefs update.
29195 2006-03-01 Tom Tromey <tromey@redhat.com>
29197 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29198 * java/nio/charset/UnmappableCharacterException.java:
29199 (serialVersionUID): New field.
29200 * java/nio/charset/MalformedInputException.java:
29201 (serialVersionUID): New field.
29202 * java/nio/charset/CoderMalfunctionError.java:
29203 (serialVersionUID): New field.
29204 * java/nio/charset/CharacterCodingException.java:
29205 (serialVersionUID): New field.
29206 * java/nio/channels/UnsupportedAddressTypeException.java:
29207 (serialVersionUID): New field.
29208 * java/nio/channels/UnresolvedAddressException.java:
29209 (serialVersionUID): New field.
29210 * java/nio/channels/OverlappingFileLockException.java:
29211 (serialVersionUID): New field.
29212 * java/nio/channels/NotYetConnectedException.java:
29213 (serialVersionUID): New field.
29214 * java/nio/channels/NotYetBoundException.java
29215 (serialVersionUID): New field.
29216 * java/nio/channels/NonWritableChannelException.java
29217 (serialVersionUID): New field.
29218 * java/nio/channels/NonReadableChannelException.java
29219 (serialVersionUID): New field.
29220 * java/nio/channels/NoConnectionPendingException.java
29221 (serialVersionUID): New field.
29222 * java/nio/channels/IllegalSelectorException.java
29223 (serialVersionUID): New field.
29224 * java/nio/channels/IllegalBlockingModeException.java
29225 (serialVersionUID): New field.
29226 * java/nio/channels/FileLockInterruptionException.java
29227 (serialVersionUID): New field.
29228 * java/nio/channels/ConnectionPendingException.java
29229 (serialVersionUID): New field.
29230 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29232 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29234 * java/nio/channels/ClosedByInterruptException.java
29235 (serialVersionUID): New field.
29236 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29238 * java/nio/channels/AsynchronousCloseException.java
29239 (serialVersionUID): New field.
29240 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29242 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29243 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29244 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29246 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29247 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29248 Javadoc fix. Added import.
29249 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29250 (validOps): Likewise.
29251 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29252 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29253 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29254 * java/nio/channels/Channels.java: Added import.
29255 * java/nio/channels/FileChannel.java (lock): Typo fix.
29256 (tryLock): Likewise.
29258 2006-03-01 Tom Tromey <tromey@redhat.com>
29260 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29262 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29263 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29265 (putSpi): Likewise.
29266 (newNode): Likewise.
29268 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29269 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29271 (systemRoot): Use it.
29272 (userPreferences): New field.
29273 (userRoot): Use it.
29275 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29277 * java/util/ResourceBundle.java
29278 (tryBundle): Catch and ignore all Exceptions.
29280 2006-02-28 Roman Kennke <kennke@aicas.com>
29282 * javax/swing/plaf/basic/BasicScrollBarUI.java
29283 (getPreferredSize): Fixed add a fixed space between the buttons
29284 instead of something related to min/max.
29285 (installComponents): Create and install buttons here.
29286 (installDefaults): Don't create buttons here.
29287 * javax/swing/plaf/metal/MetalScrollBarUI.java
29288 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29289 (getPreferredSize): New method.
29291 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29293 * examples/gnu/classpath/examples/swing/Demo.java
29294 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29295 connected 'Spinner' action to SpinnerDemo,
29296 (mkCheckbox): Removed,
29297 (mkRadio): Likewise,
29298 (mkSpinner): Likewise,
29299 (mkToggle): Likewise,
29300 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29301 connected 'Spinner' action to SpinnerDemo.
29303 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29305 * javax/print/ServiceUIFactory.java: Added documentation to class.
29307 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29310 * javax/swing/DefaultListSelectionModel.java:
29311 (addSelectionInterval): Return early if either of the arguments is -1.
29312 (removeSelectionInterval): Likewise.
29313 (setSelectionInterval): Likewise.
29315 2006-02-28 Lillian Angel <langel@redhat.com>
29317 * javax/swing/text/DefaultFormatter.java
29318 (stringToValue): Added NPE check.
29320 2006-02-28 Roman Kennke <kennke@aicas.com>
29323 * javax/swing/JList.java
29324 (getPreferredScrollableViewportSize): Restored specified behaviour.
29325 * javax/swing/plaf/metal/MetalFileChooserUI.java
29326 (createList): Set filelist panel's preferredSize, so that it doesn't
29327 get size into infinity for big lists.
29329 2006-02-28 Lillian Angel <langel@redhat.com>
29331 * javax/swing/ViewportLayout.java
29332 (layoutContainer): Should not extend container to be
29333 minimum size. Mauve test shows that the preferred size
29334 and the size of the viewport can be set smaller than
29337 2006-02-28 Lillian Angel <langel@redhat.com>
29340 * javax/swing/JList.java
29341 (getPreferredScrollableViewportSize): Added a check to determine
29342 if orientation is VERTICAL_WRAP. If it is, we should only
29345 2006-02-28 Lillian Angel <langel@redhat.com>
29348 * javax/swing/ViewportLayout.java:
29349 Patch submitted by Audrius Meskauskas
29350 (addLayoutComponent): Added documentation.
29351 (removeLayoutComponent): Likewise.
29352 (preferredLayoutSize): Likewise.
29353 (minimumLayoutSize): Likewise.
29354 (layoutContainer): Fixed code, so view is set
29355 to the right position when inside a scrollpane.
29357 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29359 * java/math/BigInteger.java:
29360 Committed patch by Rafael:
29361 developer.classpath.org/pipermail/classpath-patches/
29362 2006-February/000473.html
29363 (signum): Return early 0 if words == null and ival == 0.
29364 (readObject): Handle special case of magnitude.length or signum being
29366 (writeObject): If signum is zero return a zero-sized byte[].
29368 2006-02-28 Lillian Angel <langel@redhat.com>
29370 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29371 (create): Initially set the directory to the current working directory.
29372 (setDirectory): Removed else-if. No need for this check.
29374 2006-02-28 Tom Tromey <tromey@redhat.com>
29376 * .project: Run java builder before header generation.
29378 2006-02-28 Tom Tromey <tromey@redhat.com>
29380 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29382 * gnu/java/util/prefs/EventDispatcher.java: New file.
29383 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29384 (NodeWriter): Specify UTF-8.
29385 (writeHeader): Emit DOCTYPE.
29386 * java/util/prefs/Preferences.java (getFactory): Add cause to
29388 (exportNode): Documented.
29389 (exportSubtree): Likewise.
29390 (importPreferences): Likewise.
29391 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29392 (writeObject): Likewise.
29393 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29394 (writeObject): Likewise.
29395 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29396 (nodeListeners): New field.
29397 (preferenceListeners): Likewise.
29398 (addNodeChangeListener): Implemented.
29399 (addPreferenceChangeListener): Likewise.
29400 (removeNodeChangeListener): Likewise.
29401 (removePreferenceChangeListener): Likewise.
29402 (fire): New methods.
29404 (remove): Likewise.
29405 (purge): Likewise. Fixed synchronization.
29406 (removeNode): Fixed synchronization.
29407 (getNode): Fire event.
29408 (flushNode): Fixed synchronization.
29410 2006-02-28 Roman Kennke <kennke@aicas.com>
29412 * javax/swing/text/BranchElement.java
29413 (startOffset): New field.
29414 (endOffset): New field.
29415 (BranchElement): Initialize new fields.
29416 (getEndOffset): Rewritten to possibly return cached values
29417 if element has no children.
29418 (getStartOffset): Rewritten to possibly return cached values
29419 if element has no children.
29420 * javax/swing/text/LeafElement.java
29421 (startDelta): New field.
29422 (endDelta): New field.
29423 (LeafElement): Handle possible delta of start/endOffset when
29424 these parameters lie outside the document range.
29425 (getStartOffset): Handle possible startDelta.
29426 (getEndOffset): Handle possible startDelta.
29428 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29430 * NEWS: Added line about Unicode 4.0.0 support.
29432 2006-02-28 Roman Kennke <kennke@aicas.com>
29434 * javax/swing/SwingUtilities.java
29435 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29437 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29439 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29441 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29443 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29444 Amended class documentation.
29445 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29447 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29448 a BIT STRING construct.
29449 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29451 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29453 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29454 a BIT STRING construct.
29455 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29456 (engineVerify): Added logging.
29458 2006-02-28 Roman Kennke <kennke@aicas.com>
29460 * java/awt/Component.java
29461 (dispatchEventImpl): Let the Toolkit dispatch global events.
29462 * java/awt/Container.java
29463 (dispatchEventImpl): Let the LightweightDispatcher handle events
29465 * java/awt/EventQueue.java
29466 (dispatchEvent): Don't do the global event dispatching here. This
29467 is moved to the Component.
29468 (globalDispatchEvent): Moved this method to Toolkit.
29469 * java/awt/LightweightDispatcher.java
29470 (instances): New field.
29471 (getInstance): New method. Delivers an instance of
29472 LightweightDispatcher.
29473 (LightweightDispatcher): Made default constructor private.
29474 (dispatchEvent): New method. Replaces the eventDispatched method.
29475 This now returns true when the event was actually dispatched.
29476 (eventDispatched): Replaced by dispatchEvent.
29477 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29478 received the last MOUSE_RELEASED.
29479 * java/awt/Toolkit.java
29480 (Toolkit): Don't register LightweightDispatcher as global event
29482 (globalDispatchEvent): Moved here from EventQueue.
29484 2006-02-27 David Daney <ddaney@avtrex.com>
29487 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29489 (getRequestProperties): Rewrote.
29491 2006-02-27 David Daney <ddaney@avtrex.com>
29494 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29496 (ChunkedInputStream): Extend InputStream.
29498 (headers): Moved to top of class.
29499 (constructor): Save referenct to in.
29500 (read(byte[])): Removed method.
29501 (read(byte[], int, int)): Made synchronized and throw IOException
29502 on error parsing chunk header.
29503 (available): New method.
29504 (close): New method.
29506 2006-02-27 David Daney <ddaney@avtrex.com>
29508 * gnu/java/net/protocol/http/HTTPURLConnection.java
29509 (imports): Cleaned up.
29510 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29511 (constructor): ... Here, using SystemProperties instead of System.
29513 2006-02-27 Lillian Angel <langel@redhat.com>
29515 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29516 (setDirectory): GtkFileChooser requires an absolute directory
29517 name. Added a check to make the directory passed to nativeSetDirectory
29520 2006-02-27 Roman Kennke <kennke@aicas.com>
29522 * javax/swing/SwingUtilities.java
29523 (computeIntersection): Changed to store result in rect, instead of
29524 creating new Rectangle instances. Fixed API docs accordingly.
29525 (computeUnion): Changed to store result in rect, instead of
29526 creating new Rectangle instances. Fixed API docs accordingly.
29528 2006-02-27 Roman Kennke <kennke@aicas.com>
29530 * javax/swing/JViewport.java
29531 (static_init): Changed default scrollmode to BLIT.
29532 (paintSimple): Added some clipping to avoid painting problems.
29533 (paintBlit): Added some clipping to avoid painting problems.
29535 2006-02-27 Roman Kennke <kennke@aicas.com>
29537 * javax/swing/JComponent.java
29538 (rectCache): Made field static to save memory.
29539 (getVisibleRect): Don't use rectCache and create new Rectangle
29541 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29542 (repaint(long,int,int,int,int)): Directly call
29543 RepaintManager.addDirtyRegion(). The visibleRect check is now
29544 performed in the RepaintManager.
29546 2006-02-27 Roman Kennke <kennke@aicas.com>
29548 * javax/swing/RepaintManager.java
29549 (currentRepaintManagers): Made field private.
29550 (rectCache): New field.
29551 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29552 component. Changed Rectangle handling to avoid unnecessary new
29553 Rectangle instances.
29554 (getOffscreenBuffer): Create buffer with size of the root window.
29555 Respect the maximum buffer size here.
29556 (commitBuffer): Align the regions so that they are inside the buffer
29557 image and inside the clip. This avoids problems with a bug in GTKImage.
29558 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29560 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29562 * native/fdlibm/e_acos.c,
29563 * native/fdlibm/e_asin.c,
29564 * native/fdlibm/e_atan2.c,
29565 * native/fdlibm/e_cosh.c,
29566 * native/fdlibm/e_exp.c,
29567 * native/fdlibm/e_fmod.c,
29568 * native/fdlibm/e_hypot.c,
29569 * native/fdlibm/e_log.c,
29570 * native/fdlibm/e_log10.c,
29571 * native/fdlibm/e_rem_pio2.c,
29572 * native/fdlibm/e_remainder.c,
29573 * native/fdlibm/e_sinh.c,
29574 * native/fdlibm/e_sqrt.c,
29575 * native/fdlibm/k_cos.c,
29576 * native/fdlibm/k_sin.c,
29577 * native/fdlibm/k_tan.c,
29578 * native/fdlibm/s_atan.c,
29579 * native/fdlibm/s_cbrt.c,
29580 * native/fdlibm/s_ceil.c,
29581 * native/fdlibm/s_copysign.c,
29582 * native/fdlibm/s_cos.c,
29583 * native/fdlibm/s_expm1.c,
29584 * native/fdlibm/s_fabs.c,
29585 * native/fdlibm/s_finite.c,
29586 * native/fdlibm/s_floor.c,
29587 * native/fdlibm/s_log1p.c,
29588 * native/fdlibm/s_rint.c,
29589 * native/fdlibm/s_scalbn.c,
29590 * native/fdlibm/s_sin.c,
29591 * native/fdlibm/s_tan.c,
29592 * native/fdlibm/s_tanh.c:
29593 Fixed to call our macros rather than __HI and __LO.
29594 * native/fdlibm/fdlibm.h:
29595 Reintroduced previous extraction code.
29596 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29597 (GET_HIGH_WORD(i,d)): Readded.
29598 (GET_LOW_WORD(i,d)): Readded.
29599 (INSERT_WORDS(d,ix0,ix1)): Readded.
29600 (SET_HIGH_WORD(d,i)): Readded.
29601 (SET_LOW_WORD(d,i)): Readded.
29602 * native/jni/gtk-peer/gthread-jni.c:
29603 Use Glib macros to convert integers/pointers portably.
29605 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29607 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29608 as the fallback SPI.
29609 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29610 ones referencing GNU-CRYPTO classes.
29611 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29612 (engineValidate): Use GNU-CRYPTO class.
29613 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29614 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29615 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29616 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29617 * gnu/java/security/provider/DSAParameters: Likewise.
29618 * gnu/java/security/provider/DSASignature: Likewise.
29619 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29620 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29621 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29622 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29623 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29624 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29625 * gnu/java/security/provider/MD2withRSA: Likewise.
29626 * gnu/java/security/provider/MD4withRSA: Likewise.
29627 * gnu/java/security/provider/MD5: Likewise.
29628 * gnu/java/security/provider/MD5withRSA: Likewise.
29629 * gnu/java/security/provider/RSA: Likewise.
29630 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29631 * gnu/java/security/provider/SHA: Likewise.
29632 * gnu/java/security/provider/SHA1PRNG: Likewise.
29633 * gnu/java/security/provider/SHA1withRSA: Likewise.
29634 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29636 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29638 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29639 (engineGeneratePublic): Added logging.
29640 (engineGeneratePrivate): Likewise.
29641 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29642 (encodePublicKey): Added logging.
29643 Clarified in method documentation that params is optional, but is
29644 always NULL if present.
29645 (decodePublicKey): Added logging.
29646 Handle optional NULL element.
29648 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29650 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29652 2006-03-03 Tom Tromey <tromey@redhat.com>
29654 * java/awt/MenuBar.java (shortcuts): Genericized.
29656 2006-03-03 Tom Tromey <tromey@redhat.com>
29658 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29660 (getListenerType): Likewise.
29661 * java/beans/Introspector.java (getBeanInfo): Genericized.
29662 * java/beans/DefaultPersistenceDelegate.java (initialize):
29665 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29667 * java/math/BigDecimal.java:
29668 (precision): Fixed overflow problem with large numbers.
29669 (longValueExact): New method.
29670 (intValueExact): Likewise.
29671 (byteValueExact): Likewise.
29672 (shortValueExact): Likewise.
29674 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29676 * java/math/BigDecimal.java:
29677 (remainder(BigDecimal)): New method.
29678 (divideAndRemainder(BigDecimal)): Likewise.
29679 (divideToIntegralValue(BigDecimal)): Likewise.
29680 (floor): New implementation method.
29682 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29684 * java/math/BigDecimal.java:
29685 (divide(BigDecimal, int, RoundingMode)): New method.
29686 (divide(BigDecimal, RoundingMode)): Likewise.
29687 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29688 when the new scale is < 0.
29689 (setScale(int, RoundingMode)): New method.
29692 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29694 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29695 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29696 (add(BigDecimal, MathContext)): New method.
29697 (subtract(BigDecimal, MathContext)): Likewise.
29698 (precision): Fixed to correctly handle BigIntegers with more than 19
29700 (pow(int, MathContext)): New method.
29702 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29704 * java/math/BigDecimal.java: Added @throws clause to constructors.
29705 (mathContext): Removed this unneeded field.
29706 (BigDecimal(int, MathContext)): New constructor.
29707 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29708 (multiply(BigDecimal, MathContext)): New method.
29709 (negate(MathContext)): Likewise.
29710 (plus(MathContext)): Likewise.
29711 (numDigitsInLong): Fixed to properly handle negatives.
29713 2006-02-25 Chris Burdess <dog@gnu.org>
29715 * gnu/java/net/CRLFInputStream.java,
29716 gnu/java/net/LineInputStream.java: Streams that use mark
29717 capabilities on the underlying stream do not expose mark
29718 functionality themselves.
29719 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29722 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29724 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29725 option flags passed to match methods.
29726 (MF_FIND_ALL): New flag.
29727 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29728 do not try other possibilties once a match is found.
29729 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29730 so that all possibilities can be found.
29731 (match): Rewritten using new methods matchMinimum and _match.
29732 (_match): New method which performs a depth-first recursive search.
29733 (matchMinimum): New method.
29734 (initVisited), (visitedContains), (addVisited): New methods for
29735 manipulating an array of icharacter positions which _match has
29738 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29740 * java/math/BigDecimal.java:
29741 (BigDecimal(long, MathContext)): New constructor.
29742 (BigDecimal(BigInteger, MathContext)): Likewise.
29743 (BigDecimal(String, MathContext)): Likewise.
29744 (BigDecimal(double, MathContext)): Likewise.
29745 (round): Fixed a typo where the precision field was used instead of a
29746 call to the precision method, and also store the new precision in the
29747 returned BigDecimal.
29748 (abs(MathContext)): New method.
29750 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29752 * java/math/BigDecimal.java
29753 (toBigInteger): Fixed problem where this method couldn't handle
29754 negative values for scale.
29755 (toBigIntegerExact): New method.
29756 (stripTrailingZeros): Likewise.
29758 2006-02-24 David Daney <ddaney@avtrex.com>
29761 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29763 (Pool): New inner class.
29764 (timeLastUsed): New field.
29765 (setPool): Changed parameter type to Pool.
29766 (release): Moved pool management logic to new class Pool.
29767 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29769 (maxConnections) : Removed.
29770 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29771 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29773 2006-02-24 Lillian Angel <langel@redhat.com>
29775 * java/awt/Container.java:
29776 Added new field. True if Container has been cleared and
29777 heavyweights need to be repainted.
29778 (paint): Fixed comment. Fixed to use backCleared and
29780 (update): Set backCleared to true after the background
29781 of the container has been cleared.
29783 2006-02-24 Lillian Angel <langel@redhat.com>
29785 * java/awt/TextField.java
29786 (addNotify): Added call to super.
29788 2006-02-24 Lillian Angel <langel@redhat.com>
29790 * java/awt/Component.java
29791 (reshape): Reverted last patch. Should have check here.
29792 (addNotify): Added check. If parent is lightweight, then
29793 initialize listener on the parent.
29794 (HeavyweightInLightweightListener): New class.
29796 2006-02-24 Roman Kennke <kennke@aicas.com>
29798 * javax/swing/plaf/basic/BasicComboPopup.java
29799 (show): Register the popup with the autocloser after it has been
29800 opened completely, by putting the registration on the eventqueue.
29802 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29804 * gnu/java/security/prng/BasePRNG.java:
29805 (clone()): Added cast of buffer to byte[].
29806 * gnu/javax/crypto/mac/TMMH16.java:
29807 (clone()): Fixed casting of cloned arrays.
29808 * native/fdlibm/fdlibm.h:
29809 Added missing defines from old fdlibm.h needed by Darwin.
29810 (GET_FLOAT_WORD(i,d)): Re-added.
29811 (SET_FLOAT_WORD(d,i)): Re-added.
29813 2006-02-24 Roman Kennke <kennke@aicas.com>
29815 * java/awt/Container.java:
29816 (dispatcher): Removed field.
29817 (dispatchEventImpl): Removed lightweight dispatching.
29818 (addNotifyContainerChildren): Removed LightweightDispatcher
29820 (LightweightDispatcher): Removed class.
29821 * java/awt/LightweightDispatcher.java: New class.
29822 * java/awt/Toolkit.java
29823 (Toolkit): Install LightweightDispatcher in global listener
29826 2006-02-24 Chris Burdess <dog@gnu.org>
29829 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29832 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29834 * NEWS: Mentions the VMMath runtime changes.
29835 * doc/vmintegration.texinfo: Updated to include
29838 2006-02-24 Roman Kennke <kennke@aicas.com>
29840 * javax/swing/plaf/basic/BasicLookAndFeel.java
29841 (PopupHelper.autoClosePopups): New field.
29842 (PopupHelper.mousePressed): Also autoclose any registered popups.
29843 (PopupHelper.registerForAutoClose): New method.
29844 (PopupHelper.autoClosePopups): New method.
29845 (popupHelper): Changed type of field to PopupHelper.
29846 (registerForAutoClose): New method.
29847 * javax/swing/plaf/basic/BasicComboPopup.java
29848 (show): Register this popup for autoclosing.
29850 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29852 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29853 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29854 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29856 2006-02-24 Roman Kennke <kennke@aicas.com>
29858 Reported by Ingo Proetel <proetel@aicas.com>
29859 * java/util/logging/LogManager.java
29860 (addLogger): Search the parent loggers for log level
29861 configuration and inherit that.
29862 (readConfiguration): Provide minimal default configuration
29863 if no configuration can be found otherwise.
29865 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29867 * java/math/BigDecimal.java:
29868 (toString): Fixed a problem where the negative sign was being displayed
29869 twice in the exponent.
29870 (toEngineeringString): New method.
29871 (toPlainString): Likewise.
29874 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29876 * java/math/BigDecimal.java:
29877 (toString): Rewrote this method to behave as specified. Added API
29878 comments to explain behaviour.
29879 (scaleByPowerOfTen): New method.
29881 2006-02-23 Roman Kennke <kennke@aicas.com>
29883 * javax/swing/JRootPane.java
29884 (isOptimizedDrawingEnabled): Implemented to return true
29885 when the glassPane is not visible.
29887 2006-02-23 Roman Kennke <kennke@aicas.com>
29889 * javax/swing/plaf/basic/BasicLookAndFeel.java
29890 (PopupHelper): New inner class.
29891 (popupHelper): New field.
29892 (initialize): New method.
29893 (uninitialize): New method.
29894 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29895 (mouseInputListener): Removed field.
29896 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29897 handling of GlassPane.
29898 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29899 handling of GlassPane.
29900 (MouseInputHandler): Removed class.
29902 2006-02-23 Roman Kennke <kennke@aicas.com>
29904 * java/awt/AWTEvent.java
29905 (eventIdToMask): New utility method.
29906 * java/awt/EventQueue.java
29907 (dispatchEvent): Also globally dispatch events via the toolkit.
29908 (globalDispatchEvent): New method.
29909 * java/awt/Toolkit.java
29910 (awtEventListeners): New field.
29911 (Toolkit()): Initialize new field.
29912 (createComponent): Create GLightweightPeer here.
29913 (addAWTEventListener): Implemented and documented.
29914 (removeAWTEventListener): Implemented and documented.
29915 (getAWTEventListeners): Implemented and documented both method
29917 * java/awt/event/AWTEventListenerProxy.java
29918 (eventDispatched): Don't filter events here.
29920 2006-02-23 Chris Burdess <dog@gnu.org>
29923 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29924 gnu/xml/dom/JAXPFactory.java,
29925 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29926 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29927 implement DocumentBuilderFactory.get/setFeature methods.
29929 2006-02-23 Lillian Angel <langel@redhat.com>
29931 * gnu/java/awt/peer/GLightweightPeer.java
29932 (repaint): Scott's proposed fix. Send repaint to the
29933 component's parent.
29934 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29935 (setBounds): Removed next_parent, not needed. Removed
29936 lightweightChild, we always need to compensate for the
29938 * java/awt/Component.java
29939 (setBounds): Removed check. Caused lots of problems, because some
29940 components were not being invalidated. Components should be
29941 invalidated when they are resized or moved, and in some cases,
29942 when a parent is resized/moved, the components do not know
29943 about it and do not adjust.
29944 * java/awt/Graphics.java
29945 (hitClip): Scott's proposed fix. Added check to handle a
29948 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29950 * javax/print/attribute/standard/MediaSize.java:
29951 (media): Field renamed to mediaName for serialization.
29952 (MediaSize): Adapted to new fieldname.
29953 (getMediaSizeName): Likewise.
29954 * javax/print/attribute/HashAttributeSet.java:
29955 (interfaceName): Field renamed to myInterface for serialization.
29956 (HashAttributeSet): Adapted to the new fieldname.
29958 (addAll): Likewise.
29959 (addInternal): Likewise.
29960 (attributeMap): Made transient.
29961 (readObject): New serialization method.
29962 (writeObject): Likewise.
29963 * javax/print/attribute/AttributeSetUtilities.java:
29964 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29965 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29966 (SynchronizedAttributeSet.addAll): Likewise.
29967 (SynchronizedAttributeSet.clear): Likewise.
29968 (SynchronizedAttributeSet.containsKey): Likewise.
29969 (SynchronizedAttributeSet.containsValue): Likewise.
29970 (SynchronizedAttributeSet.equals): Likewise.
29971 (SynchronizedAttributeSet.get): Likewise.
29972 (SynchronizedAttributeSet.hashCode): Likewise.
29973 (SynchronizedAttributeSet.isEmpty): Likewise.
29974 (SynchronizedAttributeSet.remove): Likewise.
29975 (SynchronizedAttributeSet.size): Likewise.
29976 (SynchronizedAttributeSet.toArray): Likewise.
29977 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29978 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29979 (UnmodifiableAttributeSet.addAll): Likewise.
29980 (UnmodifiableAttributeSet.clear): Likewise.
29981 (UnmodifiableAttributeSet.containsKey): Likewise.
29982 (UnmodifiableAttributeSet.containsValue): Likewise.
29983 (UnmodifiableAttributeSet.equals): Likewise.
29984 (UnmodifiableAttributeSet.get): Likewise.
29985 (UnmodifiableAttributeSet.hashCode): Likewise.
29986 (UnmodifiableAttributeSet.isEmpty): Likewise.
29987 (UnmodifiableAttributeSet.remove): Likewise.
29988 (UnmodifiableAttributeSet.size): Likewise.
29989 (UnmodifiableAttributeSet.toArray): Likewise.
29990 * javax/print/attribute/standard/MediaPrintableArea.java:
29991 (width): Field renamed to w for serialization.
29992 (height): Field renamed to h for serialization.
29993 (MediaPrintableArea): Adapted to the new fieldnames.
29994 (MediaPrintableArea): Likewise.
29995 (equals): Likewise.
29996 (hashCode): Likewise.
29997 (getHeight): Likewise.
29998 (getWidth): Likewise.
30000 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30002 * include/java_lang_VMMath.h:
30003 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30004 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30005 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30006 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30007 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30008 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30009 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30010 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30011 * java/lang/Math.java:
30012 (cbrt(double)): Implemented.
30013 (cosh(double)): Implemented.
30014 (expm1(double)): Implemented.
30015 (hypot(double,double)): Implemented.
30016 (log10(double)): Implemented.
30017 (log1p(double)): Implemented.
30018 (signum(double)): Implemented.
30019 (signum(float)): Implemented.
30020 (sinh(double)): Implemented.
30021 (tanh(double)): Implemented.
30022 * native/fdlibm/Makefile.am:
30023 Added new files from fdlibm 5.3.
30024 * native/fdlibm/e_acos.c,
30025 * native/fdlibm/e_asin.c,
30026 * native/fdlibm/e_atan2.c,
30027 * native/fdlibm/e_exp.c,
30028 * native/fdlibm/e_fmod.c,
30029 * native/fdlibm/e_log.c,
30030 * native/fdlibm/e_rem_pio2.c,
30031 * native/fdlibm/e_remainder.c,
30032 * native/fdlibm/e_scalb.c,
30033 * native/fdlibm/e_sqrt.c,
30034 * native/fdlibm/k_cos.c,
30035 * native/fdlibm/k_rem_pio2.c,
30036 * native/fdlibm/k_sin.c,
30037 * native/fdlibm/k_tan.c,
30038 * native/fdlibm/s_atan.c,
30039 * native/fdlibm/s_ceil.c,
30040 * native/fdlibm/s_copysign.c,
30041 * native/fdlibm/s_cos.c,
30042 * native/fdlibm/s_fabs.c,
30043 * native/fdlibm/s_finite.c,
30044 * native/fdlibm/s_floor.c,
30045 * native/fdlibm/s_rint.c,
30046 * native/fdlibm/s_scalbn.c,
30047 * native/fdlibm/s_sin.c,
30048 * native/fdlibm/s_tan.c,
30049 * native/fdlibm/w_acos.c,
30050 * native/fdlibm/w_asin.c,
30051 * native/fdlibm/w_atan2.c,
30052 * native/fdlibm/w_acos.c,
30053 * native/fdlibm/w_exp.c,
30054 * native/fdlibm/w_fmod.c,
30055 * native/fdlibm/w_log.c,
30056 * native/fdlibm/w_pow.c,
30057 * native/fdlibm/w_remainder.c,
30058 * native/fdlibm/w_sqrt.c:
30059 Updated to fdlibm 5.3.
30060 * native/fdlibm/e_cosh.c,
30061 * native/fdlibm/e_hypot.c,
30062 * native/fdlibm/e_log10.c,
30063 * native/fdlibm/e_sinh.c,
30064 * native/fdlibm/s_cbrt.c,
30065 * native/fdlibm/s_expm1.c,
30066 * native/fdlibm/s_log1p.c,
30067 * native/fdlibm/s_tanh.c,
30068 * native/fdlibm/w_cosh.c,
30069 * native/fdlibm/w_hypot.c,
30070 * native/fdlibm/w_log10.c,
30071 * native/fdlibm/w_sinh.c:
30072 Imported from fdlibm 5.3.
30073 * native/fdlibm/fdlibm.h:
30074 Imported from fdlibm 5.3 with Classpath additions.
30075 * native/fdlibm/namespace.h:
30076 Updated from new math_symbols file.
30077 * native/jni/java-lang/java_lang_VMMath.c:
30078 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30079 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30080 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30081 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30083 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30084 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30085 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30086 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30087 * scripts/math_symbols:
30088 Added tanh, expm1, log10 and log1p.
30089 * vm/reference/java/lang/VMMath.java:
30090 (cbrt(double)): Implemented.
30091 (cosh(double)): Implemented.
30092 (expm1(double)): Implemented.
30093 (hypot(double,double)): Implemented.
30094 (log10(double)): Implemented.
30095 (log1p(double)): Implemented.
30096 (sinh(double)): Implemented.
30097 (tanh(double)): Implemented.
30099 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30101 * javax/print/DocFlavor.java: Added documentation all over.
30102 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30103 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30104 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30105 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30106 (URL.TEXT_HTML_HOST): Likewise.
30107 (URL.TEXT_PLAIN_HOST): Likewise.
30108 (hostEncoding): Initialize with host default charset encoding.
30109 (mediaSubtype): Made transient.
30110 (mediaType): Likewise.
30111 (params): Made transient. Changed type to TreeMap.
30112 (className): Removed, changed to myClassName.
30113 (myClassName): New field as defined in serialized form.
30114 (DocFlavor): Adapted to new variable types, names.
30115 (parseMimeType): Reimplemented.
30116 (getParameter): Search with lowercase name.
30117 (getRepresentationClassName): Adapted to changed variable name.
30118 (hashCode): Likewise.
30119 (toString): Reimplemented.
30120 (readObject): New method for serialization.
30121 (writeObject): Likewise.
30123 2006-02-23 Roman Kennke <kennke@aicas.com>
30125 * javax/swing/RepaintManager.java
30126 (commitBuffer): Clip the repaint area with the current clip.
30128 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30130 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30131 (DEFAULT_PRIME_SIZE): Made public.
30132 (DEFAULT_EXPONENT_SIZE): Likewise.
30133 (setup): Handle DHParameterSpec as well.
30134 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30135 defaultFormat instead of Raw.
30136 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30137 (checkIsConstructed): Removed.
30138 (checkIsBigInteger): Likewise.
30139 (decodePublicKey): Use DerUtil.
30140 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30141 (checkIsConstructed): Removed.
30142 (checkIsBigInteger): Likewise.
30143 (decodePrivateKey): Use DerUtil.
30144 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30146 Added mappings for AlgorithmParameters.DH and
30147 AlgorithmParameterGenerator.DH.
30148 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30149 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30150 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30151 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30153 (engineGeneratePublic): Likewise.
30154 * gnu/java/security/util/DerUtil.java: New file.
30155 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30156 Include only valid RSA PKCS1 (v1.5) signature names.
30157 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30158 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30159 (checkIsConstructed): Likewise.
30160 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30161 (checkIsConstructed): Removed.
30162 (checkIsBigInteger): Likewise.
30163 (decodeSignature): Use DerUtil.
30164 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30165 (checkIsConstructed): Removed.
30166 (checkIsBigInteger): Likewise.
30167 (decodePublicKey): Use DerUtil.
30168 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30169 (checkIsConstructed): Removed.
30170 (checkIsBigInteger): Likewise.
30171 (decodePrivateKey): Use DerUtil.
30172 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30173 (checkIsConstructed): Removed.
30174 (checkIsBigInteger): Likewise.
30175 (decodePublicKey): Use DerUtil.
30176 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30177 (checkIsConstructed): Removed.
30178 (checkIsBigInteger): Likewise.
30179 (decodePrivateKey): Use DerUtil.
30180 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30181 (DEFAULT_MODULUS_LENGTH): Made it public.
30182 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30183 defaultFormat instead of Raw.
30184 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30185 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30186 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30188 (engineGeneratePublic): Likewise.
30189 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30191 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30193 * java/math/BigDecimal.java:
30194 (BigDecimal(char[], int, int, MathContext)): New constructor.
30195 (BigDecimal(char[], MathContext)): Likewise.
30196 (BigDecimal(char[])): Likewise.
30197 (BigDecimal(char[], int, int)): Likewise.
30198 (BigDecimal(String)): Fixed handling of exponent and scale.
30200 2006-02-22 Mark Wielaard <mark@klomp.org>
30202 * java/awt/Checkbox.java (setState): Check that state actually changed
30203 before calling peer.
30204 (dispatchEventImpl): Set new state if ItemEvent.
30205 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30206 (create): Set currentState.
30207 (setState): Make synchronized, check and set currentState before
30208 calling gtkToggleButtonSetActive.
30209 (postItemEvent): Make synchronized, check and set currentState before
30211 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30212 (postItemEventID): Method now takes boolean.
30213 (item_toggled_cb): Likewise.
30215 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30217 * javax/swing/text/DefaultHighlighter.java:
30218 (changeHighlight): Added code to minimize the damaged area.
30220 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30222 * javax/swing/text/PlainView.java:
30223 (getPreferredSpan): Added missing 'break'.
30224 statement which corrects an unwanted fall through.
30225 (updateDamage): Update maxLineLength correctly when text is
30226 removed, call preferenceChanged accordingly.
30227 (viewToModel): Restrict line number to be within 0 and the
30228 number of elements-1.
30230 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30232 * javax/swing/text/Utilities.java:
30233 (getPositionAbove): Prefer first value by changing comparison
30235 (getPositionBelow): Dito.
30237 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30239 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30240 behavior when magic caret position is null.
30242 2006-02-22 Roman Kennke <kennke@aicas.com>
30244 * javax/swing/JTextField.java
30245 (isValidateRoot): New method.
30247 2006-02-22 Roman Kennke <kennke@aicas.com>
30249 * javax/swing/JEditorPane.java
30250 (getPreferredSize): Rewritten to behave like the reference impl.
30251 (getScrollableTracksViewportWidth): Likewise.
30252 (getScrollableTracksViewportHeight): Likewise.
30254 2006-02-22 Roman Kennke <kennke@aicas.com>
30256 * javax/swing/RepaintManager.java
30257 (addInvalidComponent): Also consider the component itself.
30259 2006-02-22 Mark Wielaard <mark@klomp.org>
30261 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30262 qualify AbstractDocument.AttributeContext.
30263 (blockOpen): Likewise.
30265 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30267 * java/math/BigDecimal.java:
30268 (mathContext): New field.
30269 (precision): Likewise.
30270 (BigDecimal(int)): New constructor.
30271 (BigDecimal(long)): Likewise.
30272 (BigDecimal(BigInteger)): Added API docs.
30273 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30274 and added API docs.
30275 (plus): New method.
30277 (precision): Likewise.
30278 (valueOf): Likewise.
30279 (numDigitsInLong): New implementation method.
30281 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30283 * java/math/MathContext.java: New class.
30284 * java/math/RoundingMode: New Enum.
30286 2006-02-21 Mark Wielaard <mark@klomp.org>
30288 * java/awt/Component.java (translateEvent): Translate
30289 AdjustmentEvents to 1.0 Events.
30290 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30291 Call setValue() before processing event.
30292 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30293 whether we are currently changing and being called back from the
30294 Scrollbar component.
30295 (setBarValues): New native method.
30296 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30298 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30299 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30300 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30302 2006-02-21 Roman Kennke <kennke@aicas.com>
30304 * javax/swing/text/View.java
30305 (setParent): Set child parent to null when disconnecting
30306 the view from the View hierarchy.
30308 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30310 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30312 2006-02-21 Roman Kennke <kennke@aicas.com>
30314 * javax/swing/text/WrappedPlainView.java
30315 (calculateBreakPosition): Changed to use the view's allocation instead
30316 of the container's preferredSize.
30318 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30320 * java/awt/CardLayout.java:
30321 (first): Updated api documentation.
30324 (previous): Likewise.
30325 (show): Clarified api docs. Return if name is null. Throw
30326 IllegalArgumentException if layout of container is not this.
30327 (gotoComponent): Updated api documentation. Throw
30328 IllegalArgumentException if layout of container is not this.
30330 2006-02-21 Roman Kennke <kennke@aicas.com>
30332 * javax/swing/text/NavigationFilter.java
30333 (getNextVisualPositionFrom): New method.
30335 2006-02-21 Roman Kennke <kennke@aicas.com>
30337 * javax/swing/plaf/basic/BasicTextUI.java
30338 (RootView.setView): Call setParent() on the view with this as
30339 argument instead of null.
30340 (setView): Don't set root view's parent here.
30342 2006-02-21 Roman Kennke <kennke@aicas.com>
30344 * javax/swing/text/AbstractDocument.java
30345 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30346 the resolving parent.
30347 (AbstractElement.getResolveParent): Fixed to handle possible null
30349 * javax/swing/text/BoxView.java
30350 (childReqs): New field.
30351 (paint): Added debugging code (commented out).
30352 (getPreferredSpan): Rewritten to use new update* methods.
30353 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30354 for the minor axis and preferredSpan for the major axis.
30355 (getMinimumSpan): Rewritten to use new update* methods.
30356 (baselineRequirements): Rewritten to avoid creation of
30357 unnecessary SizeRequirements objects.
30358 (baselineLayout): Rewritten to use new update* methods.
30359 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30360 unnecessary SizeRequirements objects.
30361 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30362 unnecessary SizeRequirements objects.
30363 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30365 (layoutMajorAxis): Rewritten to use new update* methods.
30366 (layoutMinorAxis): Rewritten to use new update* methods.
30367 (getChildRequirements): Replaced by the update* methods.
30368 (getAlignment): Use update* methods.
30369 (updateChildRequirements): New methods. Updates the child requirements
30371 (updateRequirements): New methods. Updates the BoxView requirements
30373 * javax/swing/text/DefaultStyledDocument.java
30374 (ElementBuffer.insert): Added warning for illegal replacement operation.
30375 * javax/swing/text/FlowView.java
30376 (layoutRow): When offset doesn't change, return -1.
30377 (LogicalView): Now subclasses BoxView.
30378 (loadChildren): Let the CompositeView.setParent() load the children
30379 of the logicalView.
30380 (calculateMinorRequirements): New overridden method.
30381 * javax/swing/text/GlyphView.java
30382 (DefaultGlyphPainter.paint): Fixed typo.
30383 (startOffset): Made field private.
30384 (endOffset): Made field private.
30385 (paint): Call getStartOffset() and getEndOffset() instead of the
30387 (isStrikeThrough): Fixed typo.
30388 (breakView): Use Utilities.getBreakLocation() to determine best
30390 (changedUpdate): Call preferencedChange on this instead of parent.
30391 (removeUpdate): Call preferencedChange on this instead of parent.
30392 * javax/swing/text/ParagraphView.java
30393 (Row.getAlignment): For Y_AXIS, call super.
30394 (getAlignment): Likewise.
30395 * javax/swing/text/Utilities.java
30396 (getBreakLocation): Set Segment object directly on the BreakIterator.
30397 * javax/swing/text/html/HTML.java
30398 (Attribute): Made class non-serializable and final as specified.
30399 (Attribute(String)): Made constructor private.
30400 (Attribute.compareTo): Removed.
30401 (Attribute.equals): Removed.
30402 (Attribute.hashCode): Removed.
30403 (Tag): Made class non-comparable and non-serializable as specified.
30404 (Tag.compareTo): Removed.
30405 (Tag.equals): Removed.
30406 (Tag.hashCode): Removed.
30407 * javax/swing/text/html/HTMLDocument.java
30408 (HTMLReader.blockOpen): Add tag as name attribute to element.
30409 * javax/swing/text/html/HTMLEditorKit.java
30410 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30412 * javax/swing/text/html/InlineView.java
30413 (setPropertiesFromAttributes): Call super.
30414 * javax/swing/text/html/NullView.java: New class.
30416 2006-02-21 Roman Kennke <kennke@aicas.com>
30419 * javax/swing/text/GapContent.java
30420 (GapContentPosition): Made class private.
30421 (InsertUndo): Made class private.
30422 (UndoRemove): Made class private.
30423 (WeakPositionComparator): New inner class.
30424 (positions): Made field private.
30425 (createPosition): Clear up GC'ed positions before creating
30426 a new one. Store position as WeakReference.
30427 (getPositionsInRange): Changed to handle WeakReference
30429 (setPositionsInRange): Changed to handle WeakReference
30431 (adjustPositionsInRange): Changed to handle WeakReference
30433 (dumpPositions): Handle WeakReference positions.
30434 (clearPositionReferences): New method.
30436 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30438 * javax/swing/plaf/basic/BasicTextUI.java:
30439 (paint): Remove unneccessary part of the if-expression.
30440 (damageRange): Added case where the range spans multiple lines.
30441 * javax/swing/text/DefaultCaret.java:
30442 (clearHighlight): New method.
30443 (handleHighlight): Removed unneccessary part of the if-expression.
30444 (setDot): Use clearHighlight method.
30445 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30447 (paint): Prevented calling size() on every loop iteration, fixed
30448 calculation of allocation area bounds.
30449 (getHighlights): Implemented.
30450 (removeHighlight): Mark damaged area in textcomponent.
30451 (addHighlight): Mark damaged area in textcomponent.
30452 (changeHighlight): Mark damaged area in textcomponent.
30453 (DefaultHighlighter.HighlightEntry): Made it a real
30454 Highlighter.Highlight implementation.
30455 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30458 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30460 * java/util/zip/ZipConstants.java
30461 (LOCSIG): Change type to long.
30462 (EXTSIG): Likewise.
30463 (CENSIG): Likewise.
30464 (ENDSIG): Likewise.
30465 * java/util/zip/ZipOutputStream.java
30466 (writeLeInt(long)): New method.
30468 2006-02-21 Michael Koch <konqueror@gmx.de>
30470 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30472 2006-02-20 Mark Wielaard <mark@klomp.org>
30474 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30475 (begin_drawing_operation): Output stacktrace and return on bad cairo
30477 (end_drawing_operation): Likewise. And reset cairo_t.
30479 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30481 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30482 in backward selection action.
30484 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30486 * java/lang/reflect/Proxy.java:
30487 (ProxyData.getProxyData): Skipped overriding of core methods.
30488 (ProxyData.isCoreObjectMethod): New method.
30490 2006-02-20 Mark Wielaard <mark@klomp.org>
30492 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30494 2006-02-20 Roman Kennke <kennke@aicas.com>
30496 * javax/swing/text/html/Option.java: New class.
30498 2006-02-20 Lillian Angel <langel@redhat.com>
30500 * java/swt/Window.java
30501 (show): Calling show() on the owned windows caused problems.
30502 Changed back to get the peer and call setVisible.
30504 2006-02-20 Roman Kennke <kennke@aicas.com>
30506 * javax/swing/plaf/basic/BasicTextUI.java
30507 (damageRange): Implemented this method.
30509 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30511 * javax/swing/text/GapContent.java:
30512 (shiftGapEndUp): Corrected new mark value.
30513 * javax/swing/text/AbstractDocument.java:
30514 (remove): Changed order of operations.
30516 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30518 * javax/swing/text/GapContent.java:
30519 (shiftGapEndUp): Reverted.
30520 * javax/swing/text/AbstractDocument.java:
30521 (remove): Reverted.
30523 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30525 * javax/swing/text/GapContent.java:
30526 (shiftGapEndUp): Corrected new mark value.
30527 * javax/swing/text/AbstractDocument.java:
30528 (remove): Changed order of operations.
30530 2006-02-20 Mark Wielaard <mark@klomp.org>
30532 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30534 (insert): Likewise.
30535 (addNotify): Add the item after addNotifying it.
30536 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30537 there is a peer. Use getParent() and setParent() to manipulate parent
30539 (add(Menu)): Use getParent() and setParent() to manipulate parent
30540 field. Call addNotify() and addMenu() when there is a peer.
30541 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30542 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30543 when there is a peer.
30544 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30545 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30546 (setFont): Call setFont(Font).
30547 (setFont(Font)): Document. Only set font when not null.
30548 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30550 (connectSignals): Likewise.
30551 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30553 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30555 (postMenuActionEvent): Document.
30556 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30558 (addItem): Document. Made private.
30559 (addTearOff): Made private.
30560 (connectSignals): New protected overridden method.
30561 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30562 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30563 (create): Document.
30564 (addMenu): Made private, take GtkMenuPeer as argument and document.
30565 (GtkMenuBarPeer): Document.
30566 (nativeSetHelpMenu): Removed.
30567 (addHelpMenu): Implement.
30568 (delMenu): Document.
30569 (addMenu): Implement.
30570 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30571 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30572 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30573 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30576 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30578 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30579 Expect that proxy interfaces may have different class loaders.
30580 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30581 * java/rmi/registry/Registry.java,
30582 * java/rmi/server/UnicastRemoteObject.java:
30583 Documented about proxy stubs.
30584 * gnu/java/rmi/server/CombinedClassLoader.java,
30585 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30586 * NEWS: Added entry.
30588 2006-02-19 Mark Wielaard <mark@klomp.org>
30590 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30591 Parent and Bounds of our children if either or parent is showing, or
30592 we are a Window and are showing ourselves now.
30594 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30596 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30598 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30599 Another stub name fix.
30601 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30603 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30604 Call convertStubName. (convertStubName): New method.
30605 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30606 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30607 (convertStubName): New method.
30608 (getMethodHashCode):
30609 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30610 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30612 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30614 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30616 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30618 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30620 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30622 * javax/swing/JViewport.java (paintBackingStore): If the component has
30623 not been scrolled, only repaint the buffer part, indicated by
30624 the parameter graphics clip.
30626 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30628 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30630 (writePrivateKey): Likewise.
30631 (writeKey): New method.
30632 (getKeyType): Likewise.
30633 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30635 (readPrivateKey): Likewise.
30636 (getKeyPairCodec): New method.
30637 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30638 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30639 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30640 (RSA_PSS_ENCODING): Likewise..
30641 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30642 (RSA_PSS_SIG): Redefined using other constants.
30643 (RSA_PKCS1_V1_5_SIG): Likewise.
30644 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30645 * gnu/java/security/util/FormatUtil.java: New file.
30646 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30647 (getInstance): Let RSASignatureFactory handle RSA signature names.
30648 (getNames): Handle new RSA signature (with format) names.
30649 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30650 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30652 (name): Include hash algorithm name.
30653 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30654 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30655 (RSAPSSSignature): Call constructor with IMessageDigest.
30656 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30657 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30659 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30661 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30662 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30663 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30664 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30665 hash algorithm name to exception.
30666 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30667 * gnu/java/security/key/KeyPairCodecFactory.java
30668 (names): New class field.
30669 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30670 (getInstance(String,String)): New method.
30671 (getInstance(String,int)): New method.
30672 (getInstance(byte[])): Removed.
30673 (getInstance(Key)): Handle new formats.
30674 (getNames): Likewise.
30675 (getEncodingName(int)): Moved to FormatUtil.
30676 (getEncodingShortName(int)): Likewise.
30677 (getRawCodec(String)): New method.
30678 (getX509Codec(String)): Likewise.
30679 (getPKCS8Codec(String)): Likewise.
30680 (getRawCodec(Key)): Likewise.
30681 (getX509Codec(Key)): Likewise.
30682 (getPKCS8Codec(Key)): Likewise.
30683 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30684 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30685 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30686 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30687 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30688 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30689 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30690 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30691 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30693 2006-02-18 Mark Wielaard <mark@klomp.org>
30695 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30697 (NoDragGestureRecognizer): New static class.
30698 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30699 Toolkit doesn't support drag and drop.
30701 2006-02-18 Mark Wielaard <mark@klomp.org>
30703 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30704 (AbstractAction(String)): Just call putValue() for NAME.
30705 (putValue): Nothing to do is old and new value are both null.
30707 2006-02-18 Mark Wielaard <mark@klomp.org>
30709 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30710 through getContentPane().
30711 (preferredLayoutSize): Likewise.
30713 2006-02-18 Mark Wielaard <mark@klomp.org>
30715 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30716 actually set before painting.
30718 2006-02-18 Mark Wielaard <mark@klomp.org>
30720 * javax/swing/text/html/HTMLDocument.java (addContent):
30721 Fully qualify AbstractDocument.AttributeContext and
30722 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30724 2006-02-18 Mark Wielaard <mark@klomp.org>
30726 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30727 (getRepresentationClassFromMime): Add exception cause to
30728 IllegalArgumentException.
30730 2006-02-17 Lillian Angel <langel@redhat.com>
30732 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30733 Removed unneeded import.
30734 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30735 Removed unneeded imports.
30736 * java/awt/BorderLayout.java:
30737 Fixed comment, this is not yet handled in the JDK 1.5.
30738 * java/awt/Container.java:
30739 Removed unneeded import.
30741 2006-02-17 Lillian Angel <langel@redhat.com>
30743 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30744 (setBounds): Removed check. Coordinates should always be changed
30745 to incorporate the parent's coordinates.
30746 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30747 (setMenuBar): Added checks. Don't validate component if it has
30748 not been validated yet, it will be validated later. Only validate
30749 if it has already been validated, in that case it needs to be
30751 * java/awt/Window.java
30752 (show): Added check. If the window is visible, then bring it to the
30753 front. Otherwise, iterate through all its children windows and show them.
30754 No need to do both.
30756 2006-02-17 Roman Kennke <kennke@aicas.com>
30758 * javax/swing/text/html/ParagraphView.java: New file.
30760 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30762 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30763 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30764 same location where was the initial text.
30765 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30767 2006-02-17 Chris Burdess <dog@gnu.org>
30769 Fixes PRs 26319, 26320, 26321, 26322, 26325
30770 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30771 rethrowing exception.
30772 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30773 1.1-style prefix unbinding in 1.0 document" error for xmlns
30774 prefixes, not xmlns attributes. Fix a problem with empty namespace
30775 stack at the end of a document. Permit parameter entity references
30776 in element and attribute-list definition name area. Corrected
30777 normalisation of whitespace character entity references in CDATA
30778 attribute values. Fixed number of characters read following a
30779 reset when detecting end of character data with characters after a
30780 Unicode surrogate pair.
30782 2006-02-17 Roman Kennke <kennke@aicas.com>
30784 * javax/swing/text/html/HTMLEditorKit.java
30785 (HTMLFactory.create): Create InlineView for content tags.
30786 * javax/swing/text/html/HTMLDocument.java
30787 (HTMLReader.flush): Call create() on first flush and insert
30788 on subsequent flushes.
30790 2006-02-17 Roman Kennke <kennke@aicas.com>
30792 * javax/swing/text/AbstractDocument.java
30793 (BranchElement.getStartOffset): Implemented workaround for wrong
30795 (BranchElement.getEndOffset): Implemented workaround for wrong
30797 (ElementBuffer.split): Use createBranchElement() instead of
30798 new BranchElement().
30799 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30800 new BranchElement().
30801 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30802 instead of new BranchElement().
30803 (createDefaultRoot): Use createBranchElement() and createLeafElement
30804 instead of the constructors.
30805 (create): Rewritten.
30807 2006-02-17 Keith Seitz <keiths@redhat.com>
30809 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30810 (SIZE): New constant.
30811 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30812 (executeIDsizes): Use SIZE constant.
30813 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30814 (SIZE): New constant.
30816 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30818 * javax/swing/JTable.java (IconCellRenderer): Set the component
30819 text to empty string. (createDefaultRenderers): Register
30820 IconCellRenderer also for ImageIcon.
30821 (getCellEditor(int, int), getCellRenderer(int, int)):
30822 Use model index for data model and column index for column model.
30823 (getColumnClass): Convert to model index before requesting class
30826 2006-02-17 Roman Kennke <kennke@aicas.com>
30828 * javax/swing/text/html/HTMLDocument.java
30829 (createDefaultRoot): Implemented.
30830 (createLeafElement): Implemented.
30831 (createBranchElement): Implemented.
30832 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30833 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30834 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30835 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30836 (HTMLReader.blockOpen): Add name attribute with the current tag.
30837 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30839 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30841 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30843 * javax/swing/table/JTableHeader.java: Documenting related methods.
30845 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30848 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30849 (connect): Changed to use SystemProperties.
30850 (getInputStream): Try changeWorkingDirectory to figure out if
30851 url is a directory, if not use retrieve.
30852 (getOutputStream): Don't worry about directories, simply always
30855 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30857 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30858 (ActiveModeDTP): Mark accept thread as daemon.
30860 2006-02-17 Michael Koch <konqueror@gmx.de>
30862 * tools/.cvsignore: Ignore tools.zip.
30864 2006-02-16 Keith Seitz <keiths@redhat.com>
30866 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30867 Set the ID's reference.
30868 (<clinit>): Remove comments for field, method, and frame ID types,
30869 which will not be handled by VMIdManager.
30871 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30873 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30874 Use model index, not the column number.
30875 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30876 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30877 movement by painting draggingHeaderRect.
30878 * NEWS: Added entry about JTable columns.
30880 2006-02-16 Keith Seitz <keiths@redhat.com>
30882 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30883 default size of eight bytes.
30884 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30885 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30886 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30887 (executeIDsizes): Use new static methods.
30888 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30891 2006-02-16 David Daney <ddaney@avtrex.com>
30894 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30895 return value with 0xff.
30897 2006-02-16 Keith Seitz <keiths@redhat.com>
30899 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30900 (matches): Use Iterator instead of ListIterator.
30902 2006-02-16 Keith Seitz <keiths@redhat.com>
30904 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30905 processor thread for easier debugging.
30906 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30909 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30911 * javax/swing/JTable.java
30912 (TableColumnPropertyChangeHandler.propertyChange): Return without
30913 action if table header resizing column in not null. (doLayout):
30914 Only repaint the header if it is not null.
30915 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30916 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30917 Rewritten. (MouseInputHandler.endResizing): New method.
30919 2006-02-16 Roman Kennke <kennke@aicas.com>
30921 * javax/swing/text/html/InlineView.java: New file.
30923 2006-02-16 Roman Kennke <kennke@aicas.com>
30925 * javax/swing/JTabbedPane.java
30926 (AccessibleJTable.getAccessibleChild): Implemented to return
30927 the Page instance for the specified index.
30928 (Page): Changed to implement Accessible and extend
30930 (Page.getAccessibleContext): New method.
30931 (Page.getAccessibleRole): New method.
30932 (Page.getAccessibleStateSet): New method.
30933 (Page.getAccessibleIndexInParent): New method.
30934 (Page.getAccessibleChildrenCount): New method.
30935 (Page.getAccessibleChild): New methdod.
30936 (Page.getLocale): New method.
30938 2006-02-16 Roman Kennke <kennke@aicas.com>
30940 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30941 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30942 tabCount gets greater than tabRuns.length.
30943 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30944 when tabCount gets greater than tabRuns.length.
30945 (paintTabArea): Don't set tabCount == runCount.
30947 2006-02-16 Roman Kennke <kennke@aicas.com>
30949 * javax/swing/plaf/basic/BasicTextUI.java
30950 (installUI): Moved installation of PropertyChangeListener
30951 to installListeners(). Call modelChanged() after everything is
30953 (installListeners): Install PropertyChangeListener here.
30954 (uninstallUI): Moved uninstallation of PropertyChangeListener
30955 to uninstallListeners.
30956 (uninstallListeners): Uninstall PropertyChangeListener here.
30958 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30960 * javax/swing/JTable.java (doLayout):
30961 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30963 javax/swing/plaf/basic/BasicTableHeaderUI.java
30964 (MouseInputHandler.mouseDragged): Do not repaint the header.
30966 2006-02-16 Roman Kennke <kennke@aicas.com>
30968 * javax/swing/JViewport.java
30969 (static_initializer): Set default scrollMode to backingstore.
30971 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30973 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30974 returned by getCellRect. To not translate the component.
30976 2006-02-16 Roman Kennke <kennke@aicas.com>
30978 * javax/swing/JComponent.java
30979 (rectCache): Made field non-static to avoid nasty interferences.
30980 (computeVisibleRect): Avoid creation of new Rectangles and double
30981 calculations on ints by using Swing.computeIntersection() instead
30982 of Rectangle2D.intersect().
30983 (repaint): Interect the dirty region with the visible rectangle
30984 of this component to avoid unnecessary painting.
30986 2006-02-16 Gary Benson <gbenson@redhat.com>
30988 * java/lang/Thread.java (stop): Add a missing access check.
30990 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
30992 * javax/swing/text/JTextComponent.java:
30993 (replaceSelection): Added code to update the magic caret position.
30994 * javax/swing/text/DefaultEditorKit.java: Added code to update
30995 the magic caret position of the text component in all relevant
30996 movement actions, make use of the magic caret position in up
30997 and down movements and selections, simplified some actions
31000 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31002 * gnu/java/lang/CharData.java: Regenerated from
31003 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31004 and scripts/unicode-muncher.pl.
31005 * java/lang/Character.java:
31006 (PrivateUseCharacters): New private static class.
31007 (UnassignedCharacters): Likewise.
31008 (blocks): Changed from char[] to char[][] to reflect the changes in
31009 gnu/java/lang/CharData. There is now one char[] per Unicode code
31012 (numValue): Likewise.
31015 (direction): Likewise.
31016 (readChar): Replaced this method with new method readCodePoint.
31017 (readCodePoint): New method.
31018 (isLowerCase(char)): Redirected to new isLowerCase(int).
31019 (isLowerCase(int)): New method.
31020 (isUpperCase(char)): Redirected to new isUpperCase(int).
31021 (isUpperCase(int)): New method.
31022 (isTitleCase(char)): Redirected to new isTitleCase(int).
31023 (isTitleCase(int)): New method.
31024 (isDigit(char)): Redirected to new isDigit(int).
31025 (isDigit(int)): New method.
31026 (isDefined(char)): Redirected to new isDefined(int).
31027 (isDefined(int)): New method.
31028 (isLetter(char)): Redirected to new isLetter(int).
31029 (isLetter(int)): New method.
31030 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31031 (isLetterOrDigit(int)): New method.
31032 (isJavaIdentifierStart(char)): Redirected to new
31033 isJavaIdentifierStart(int).
31034 (isJavaIdentifierStart(int)): New method.
31035 (isJavaIdentifierPart(char)): Redirected to new
31036 isJavaIdentifierPart(int).
31037 (isJavaIdentifierPart(int)): New method.
31038 (isUnicodeIdentifierStart(char)): Redirected to new
31039 isUnicodeIdentifierStart(int).
31040 (isUnicodeIdentifierStart(int)): New method.
31041 (isUnicodeIdentifierPart(char)): Redirected to new
31042 isUnicodeIdentifierPart(int).
31043 (isUnicodeIdentifierPart(int)): New method.
31044 (isIdentifierIgnorable(char)): Redirected to new
31045 isIdentifierIgnorable(int).
31046 (isIdentifierIgnorable(int)): New method.
31047 (toLowerCase(char)): Changed access to lower to correspond with new
31048 char[][] type of lower.
31049 (toLowerCase(int)) New method.
31050 (toUpperCase(char)): Changed access to upper to correspond with new
31051 char[][] type of upper.
31052 (toUpperCase(int)): New method.
31053 (toTitleCase(int)): New method.
31054 (digit(char, int)): Replaced call to readChar with call to
31055 readCodePoint and changed access to numValue to reflect new char[][]
31057 (digit(int, int)): New method.
31058 (getNumericValue(char)): Changed access to numValue to reflect new
31059 char[][] type of numValue.
31060 (getNumericValue(int)): New method.
31061 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31062 (isSpaceChar(int)): New method.
31063 (isWhitespace(char)): Redirected to new isWhitespace(int).
31064 (isWhitespace(int)): New method.
31065 (isISOControl(char)): Redirected to new isISOControl(int).
31066 (isISOControl(int)): New method.
31067 (getType(char)): Redirected to new getType(int).
31068 (getType(int)): New method.
31069 (getDirectionality(char)): Redirected to new getDirectionality(int).
31070 (getDirectionality(int)): New method.
31071 (isMirrored(char)): Changed call to readChar to readCodePoint.
31072 (isMirrored(int)): New method.
31073 * java/lang/String.java:
31074 (upperCaseExpansion): Changed access to Character.direction to reflect
31075 new char[][] type of direction.
31076 (offsetByCodePoints): New method.
31077 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31078 4.0.0 which introduced supplementary character assignments.
31080 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31082 * javax/swing/JTable.java,
31083 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31084 javax/swing/table/DefaultTableModel.java: Documented.
31086 2006-02-15 Lillian Angel <langel@redhat.com>
31088 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31089 Removed duplicate methods.
31091 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31093 * javax/swing/JTable.java (distributeSpillResizing): New method.
31094 (doLayout): Use distributeSpillResizing when resizing.
31095 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31096 Rewritten. (installListeners): Add mouse motion listener.
31097 (uninstallListeners): Remove mouse motion listener.
31099 2006-02-15 Lillian Angel <langel@redhat.com>
31101 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31102 (setVisible): Removed method.
31103 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31104 (setLocation): New method.
31105 (setLocationUnlocked): New method.
31106 (show): Changed to use setLocation instead of setBounds.
31107 * java/awt/Component.java
31108 (show): Should call peer.show(), not peer.setVisible(), so the
31109 location of the component is correctly set.
31110 (preferredSize): Added curly braces so else statements are
31111 properly associated with if's.
31112 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31113 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31115 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31116 LocationUnlocked): New function.
31117 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31118 Added declarations for Java_gnu_java_awt_peer_gtk_
31119 GtkWindowPeer_nativeSetLocation and
31120 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31121 _nativeSetLocationUnlocked.
31123 2006-02-15 Mark Wielaard <mark@klomp.org>
31125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31126 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31127 Downcast gtk_plug_new result when used.
31129 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31131 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31132 Call assignNewHandle() after writing Proxy class.
31134 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31137 * java/io/ObjectInputStream.java (readClassDescriptor):
31138 Class doesn't have to be abstract for first_nonserial.
31140 2006-02-15 Roman Kennke <kennke@aicas.com>
31142 * javax/swing/JInternalFrame.java
31143 (setClosed): Call dispose to actually make the frame invisible
31146 2006-02-15 Roman Kennke <kennke@aicas.com>
31148 * javax/swing/JInternalFrame.java
31149 (dispose): Call setVisible(false) instead of hide.
31150 (doDefaultCloseOperation): Likewise.
31152 2006-02-15 Roman Kennke <kennke@aicas.com>
31154 * javax/swing/JComponent.java
31155 (paintChildren): Also check for the visibility of a child component
31156 to avoid artifacts.
31157 (repaint): Simply add this component to the RepaintManager rather than
31158 trying to do useless optimization here.
31160 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31162 * javax/swing/JSpinner.java
31163 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31164 PropertyChangeListener,
31165 (DefaultEditor.getSpinner): Updated API docs,
31166 (DefaultEditor.dismiss): Likewise,
31167 (DefaultEditor.getTextField): Likewise,
31168 (DefaultEditor.layoutContainer): Likewise,
31169 (DefaultEditor.minimumLayoutSize): Likewise,
31170 (DefaultEditor.preferredLayoutSize): Likewise,
31171 (DefaultEditor.propertyChange): Implemented,
31172 (DefaultEditor.stateChanged): Implemented,
31173 (DefaultEditor.removeLayoutComponent): Updated API docs,
31174 (DefaultEditor.addLayoutComponent): Likewise,
31175 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31176 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31177 (NumberEditor.getFormat): Implemented,
31178 (NumberEditor.getModel): Updated API docs,
31179 (NumberEditorFormatter): New static inner class,
31180 (ListEditor.getModel): Updated API docs,
31181 (DateEditor.dateFormat): Removed,
31182 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31183 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31184 (DateEditor.init): Removed,
31185 (DateEditor.getFormat): Reimplemented,
31186 (DateEditorFormatter): New static inner class,
31187 (ModelListener): New inner class,
31188 (model): Updated API docs,
31189 (editor): Likewise,
31190 (listener): Removed,
31191 (JSpinner()): Updated API docs,
31192 (JSpinner(SpinnerModel)): Set up ModelListener,
31193 (setEditor): Fire property change,
31194 (getModel): Updated API docs,
31195 (setModel): Removed check for null editor,
31196 (setValue): Updated API docs,
31197 (getUIClassID): Updated API docs,
31198 (createEditor): Handle SpinnerListModel case,
31199 * javax/swing/plaf/basic/BasicSpinnerUI.java
31200 (createUI): Updated API docs,
31201 (createPropertyChangeListener): Added FIXME,
31202 (installDefaults): Set text field border to null,
31203 (DefaultLayoutManager): Updated API docs,
31204 (DefaultLayoutManager.layoutContainer): Modified layout,
31205 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31206 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31207 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31208 (DefaultLayoutManager.addLayoutComponent): Likewise,
31209 (DefaultLayoutManager.minSize): Renamed prefSize,
31210 (DefaultLayoutManager.setBounds): Reformatted,
31211 (DefaultLayoutManager.editor): Added API docs,
31212 (DefaultLayoutManager.next): Likewise,
31213 (DefaultLayoutManager.previous): Likewise,
31214 * javax/swing/plaf/metal/MetalLookAndFeel.java
31215 (initComponentDefaults): Added entry for 'Spinner.border',
31216 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31218 2006-02-15 Chris Burdess <dog@gnu.org>
31220 * gnu/xml/validation/datatype/BooleanType.java,
31221 gnu/xml/validation/datatype/ByteType.java,
31222 gnu/xml/validation/datatype/DateTimeType.java,
31223 gnu/xml/validation/datatype/DateType.java,
31224 gnu/xml/validation/datatype/DecimalType.java,
31225 gnu/xml/validation/datatype/DoubleType.java,
31226 gnu/xml/validation/datatype/DurationType.java,
31227 gnu/xml/validation/datatype/FloatType.java,
31228 gnu/xml/validation/datatype/GDayType.java,
31229 gnu/xml/validation/datatype/GMonthDayType.java,
31230 gnu/xml/validation/datatype/GMonthType.java,
31231 gnu/xml/validation/datatype/GYearMonthType.java,
31232 gnu/xml/validation/datatype/GYearType.java,
31233 gnu/xml/validation/datatype/IntType.java,
31234 gnu/xml/validation/datatype/IntegerType.java,
31235 gnu/xml/validation/datatype/LongType.java,
31236 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31237 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31238 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31239 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31240 gnu/xml/validation/datatype/NegativeIntegerType.java,
31241 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31242 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31243 gnu/xml/validation/datatype/PositiveIntegerType.java,
31244 gnu/xml/validation/datatype/ShortType.java,
31245 gnu/xml/validation/datatype/SimpleType.java,
31246 gnu/xml/validation/datatype/TimeType.java,
31247 gnu/xml/validation/datatype/TypeBuilder.java,
31248 gnu/xml/validation/datatype/UnsignedByteType.java,
31249 gnu/xml/validation/datatype/UnsignedIntType.java,
31250 gnu/xml/validation/datatype/UnsignedLongType.java,
31251 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31252 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31253 minInclusive facets use the value space of the base type, and
31256 2006-02-15 Mark Wielaard <mark@klomp.org>
31258 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31259 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31260 gtk_plug_new() returns a GtkWindow.
31262 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31264 * javax/swing/SpinnerNumberModel.java
31265 (getNextValue): Check for null maximum,
31266 (getPreviousValue): Check for null minimum.
31268 2006-02-15 Roman Kennke <kennke@aicas.com>
31270 * javax/swing/plaf/basic/BasicTableUI.java
31271 (paint): Paint vertical and horizontal lines one pixel shifted
31274 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31276 * java/util/zip/ZipFile.java
31277 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31278 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31279 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31280 (readEntries): Rewritten to use PartialInputStream.
31281 (locBuf, checkLocalHeader): Removed.
31282 (getInputStream): Rewritten to use new PartialInputStream.
31283 (PartialInputStream): Rewritten to do buffering.
31285 2006-02-15 Michael Koch <konqueror@gmx.de>
31287 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31288 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31289 Make sure the embedded window gets no decorations.
31290 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31291 (window_get_frame_extents): Return early of the window has no
31294 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31296 * examples/gnu/classpath/examples/swing/TableDemo.java
31297 (TModel, createContent): Explain which value appears in the header.
31298 * javax/swing/JTable.java (setColumnModel): Only set the
31299 column header value if the getHeaderValue() returns null.
31301 2006-02-14 Mark Wielaard <mark@klomp.org>
31304 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31305 (getErrorImage): New static method.
31306 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31307 (bufferedImageOrError): Renamed to ...
31308 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31309 Returns GtkImage.getErrorImage() when argument null.
31310 (createImage(String)): Always use imageOrError.
31311 (createImage(URL)): Likewise.
31312 (createImage(ImageProducer)): Likewise.
31313 (createImage(byte[],int,int)): Likewise.
31315 2006-02-14 Roman Kennke <kennke@aicas.com>
31317 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31319 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31320 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31321 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31322 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31323 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31325 2006-02-14 Roman Kennke <kennke@aicas.com>
31327 * javax/swing/text/AsyncBoxView.java
31328 (ChildState.locator): Removed wrong field.
31329 (ChildState): Removed initialization of removed field.
31330 (locator): Changed access modifier to be protected as specified.
31332 2006-02-14 Roman Kennke <kennke@aicas.com>
31334 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31335 * javax/swing/Timer.java: Some small reindention.
31336 (task): Made package private to avoid synthetic accessor method.
31338 2006-02-14 Roman Kennke <kennke@aicas.com>
31340 * javax/swing/SwingUtilities.java
31341 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31344 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31346 * examples/gnu/classpath/examples/swing/TableDemo.java:
31347 Making the columns variable width.
31348 * javax/swing/JTable.java (distributeSpill, doLayout):
31349 Call getPreferredSize and not getSize().
31351 2006-02-14 Roman Kennke <kennke@aicas.com>
31353 * javax/swing/DefaultCellEditor.java
31354 (DefaultCellEditor): API doc fixlet.
31356 2006-02-14 Roman Kennke <kennke@aicas.com>
31358 * javax/swing/JViewport.java
31359 (isPaintRoot): New field.
31360 (repaint): Only call super here. Also added a comment regarding
31361 the diversion from the JDK.
31362 (paintBlit): Implemented real blitting.
31363 (paintImmediately2): New method. Overrides the same package private
31364 method in JComponent.
31366 2006-02-14 Roman Kennke <kennke@aicas.com>
31368 * javax/swing/plaf/basic/BasicTableUI.java
31369 (paint): Check for boundary cases when determining the painting
31372 2006-02-14 Mark Wielaard <mark@klomp.org>
31374 * java/awt/Menu.java (add): Always set parent of item to this. Call
31375 addNotify() on item when we have a MenuPeer already.
31376 (insert): Always adjust parent for item. Call addNotify() on item if
31377 we already have a peer.
31378 (remove(int)): Always clear item parent. Call removeNotify() on item
31381 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31383 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31384 row == getRowCount().
31386 2006-02-14 Lillian Angel <langel@redhat.com>
31388 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31389 (setVisible): New method to override super. Need to set the
31390 native bounds of the component, so it appears at the
31393 2006-02-14 Mark Wielaard <mark@klomp.org>
31395 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31396 (remove): If menu component is the current MenuBar remove it,
31397 otherwise call super.remove().
31398 * java/awt/MenuBar.java (frame): Remove field.
31399 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31401 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31403 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31404 to NameServicePersistent.
31405 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31406 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31408 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31410 * NEWS: Updated tool status.
31411 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31412 (constructor, bind, rebind): Rewritten.
31413 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31414 * tools/gnu/classpath/tools/giop/README: Updated.
31415 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31416 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31417 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31418 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31419 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31422 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31424 * javax/swing/JComponent.java
31425 (getListeners): Check for PropertyChangeListener.class and delegate to
31426 getPropertyChangeListeners() for that case.
31428 2006-02-13 Roman Kennke <kennke@aicas.com>
31430 * javax/swing/plaf/basic/BasicTableUI.java
31431 (paint): Determine the cells that need painting based on the
31432 current clip. Use getCellRect() for calculating the cell
31435 2006-02-13 Roman Kennke <kennke@aicas.com>
31437 * javax/swing/JTable.java
31438 (rectCache): New field.
31439 (getCellRect): Returns cached Rectangle instance.
31441 2006-02-13 Roman Kennke <kennke@aicas.com>
31443 * javax/swing/JLayeredPane.java
31444 (removeAll): New method. Avoid potential memory leak.
31445 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31448 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31450 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31451 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31453 2006-02-13 Tom Tromey <tromey@redhat.com>
31455 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31456 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31458 2006-02-13 Roman Kennke <kennke@aicas.com>
31460 * javax/swing/RepaintManager.java
31461 (offscreenBuffers): New field.
31462 (doubleBuffer): Removed field.
31463 (repaintUnderway): New field.
31464 (commitRequests): New field.
31465 (RepaintManager): Initialize new fields.
31466 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31468 (getOffscreenBuffer): Returns the offscreen buffer for the
31469 corresponding root component.
31470 (commitBuffer): New method.
31471 (commitRemainingBuffers): New method.
31472 * javax/swing/JComponent.java
31473 (paint): Call paintDoubleBuffered with the current clip.
31474 (paintImmediately2): Don't paint on screen here.
31475 (paintDoubleBuffered): Rewritten for real double buffering.
31476 (paintSimple): Draw to screen in this method.
31478 2006-02-13 Roman Kennke <kennke@aicas.com>
31480 * javax/swing/JRootPane.java
31481 (JRootPane): Set opaque property to true.
31483 2006-02-13 Tom Tromey <tromey@redhat.com>
31485 * .classpath: Updated for external/relaxngDatatype.
31487 2006-02-13 Chris Burdess <dog@gnu.org>
31489 * gnu/xml/stream/UnicodeReader.java,
31490 gnu/xml/validation/datatype/Annotation.java,
31491 gnu/xml/validation/datatype/AnySimpleType.java,
31492 gnu/xml/validation/datatype/AnyType.java,
31493 gnu/xml/validation/datatype/AnyURIType.java,
31494 gnu/xml/validation/datatype/AtomicSimpleType.java,
31495 gnu/xml/validation/datatype/Base64BinaryType.java,
31496 gnu/xml/validation/datatype/BooleanType.java,
31497 gnu/xml/validation/datatype/ByteType.java,
31498 gnu/xml/validation/datatype/DateTimeType.java,
31499 gnu/xml/validation/datatype/DateType.java,
31500 gnu/xml/validation/datatype/DecimalType.java,
31501 gnu/xml/validation/datatype/DoubleType.java,
31502 gnu/xml/validation/datatype/DurationType.java,
31503 gnu/xml/validation/datatype/EntitiesType.java,
31504 gnu/xml/validation/datatype/EntityType.java,
31505 gnu/xml/validation/datatype/EnumerationFacet.java,
31506 gnu/xml/validation/datatype/Facet.java,
31507 gnu/xml/validation/datatype/FloatType.java,
31508 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31509 gnu/xml/validation/datatype/GDayType.java,
31510 gnu/xml/validation/datatype/GMonthDayType.java,
31511 gnu/xml/validation/datatype/GMonthType.java,
31512 gnu/xml/validation/datatype/GYearMonthType.java,
31513 gnu/xml/validation/datatype/GYearType.java,
31514 gnu/xml/validation/datatype/HexBinaryType.java,
31515 gnu/xml/validation/datatype/IDRefType.java,
31516 gnu/xml/validation/datatype/IDRefsType.java,
31517 gnu/xml/validation/datatype/IDType.java,
31518 gnu/xml/validation/datatype/IntType.java,
31519 gnu/xml/validation/datatype/IntegerType.java,
31520 gnu/xml/validation/datatype/LanguageType.java,
31521 gnu/xml/validation/datatype/LengthFacet.java,
31522 gnu/xml/validation/datatype/ListSimpleType.java,
31523 gnu/xml/validation/datatype/LongType.java,
31524 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31525 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31526 gnu/xml/validation/datatype/MaxLengthFacet.java,
31527 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31528 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31529 gnu/xml/validation/datatype/MinLengthFacet.java,
31530 gnu/xml/validation/datatype/NCNameType.java,
31531 gnu/xml/validation/datatype/NMTokenType.java,
31532 gnu/xml/validation/datatype/NMTokensType.java,
31533 gnu/xml/validation/datatype/NameType.java,
31534 gnu/xml/validation/datatype/NegativeIntegerType.java,
31535 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31536 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31537 gnu/xml/validation/datatype/NormalizedStringType.java,
31538 gnu/xml/validation/datatype/NotationType.java,
31539 gnu/xml/validation/datatype/PatternFacet.java,
31540 gnu/xml/validation/datatype/PositiveIntegerType.java,
31541 gnu/xml/validation/datatype/QNameType.java,
31542 gnu/xml/validation/datatype/ShortType.java,
31543 gnu/xml/validation/datatype/SimpleType.java,
31544 gnu/xml/validation/datatype/StringType.java,
31545 gnu/xml/validation/datatype/TimeType.java,
31546 gnu/xml/validation/datatype/TokenType.java,
31547 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31548 gnu/xml/validation/datatype/Type.java,
31549 gnu/xml/validation/datatype/TypeBuilder.java,
31550 gnu/xml/validation/datatype/TypeLibrary.java,
31551 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31552 gnu/xml/validation/datatype/UnionSimpleType.java,
31553 gnu/xml/validation/datatype/UnsignedByteType.java,
31554 gnu/xml/validation/datatype/UnsignedIntType.java,
31555 gnu/xml/validation/datatype/UnsignedLongType.java,
31556 gnu/xml/validation/datatype/UnsignedShortType.java,
31557 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31558 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31559 RELAX NG datatype library implementation for XML Schema Datatypes.
31561 2006-02-13 Chris Burdess <dog@gnu.org>
31567 external/Makefile.am,
31568 external/relaxngDatatype/.cvsignore,
31569 external/relaxngDatatype/Makefile.am,
31570 external/relaxngDatatype/README.txt,
31571 external/relaxngDatatype/copying.txt,
31572 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31573 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31574 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31575 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31576 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31577 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31578 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31579 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31580 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31581 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31583 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31584 datatypes library API.
31586 2006-02-13 Mark Wielaard <mark@klomp.org>
31588 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31590 (gtkWidgetModifyFont(Font)): New protected helper method.
31591 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31592 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31593 protected and document.
31594 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31596 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31598 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31600 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31601 (setFont): Removed method. Done in GtkMenuComponent.
31602 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31603 abstract and protected.
31604 (setFont): Made private, add implementation.
31605 (setFont(Font)): Implemented.
31606 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31607 Made protected and document.
31608 (create): Made protected.
31609 (setFont): Removed method. Done in GtkMenuComponent.
31610 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31611 (gtkWidgetModifyFont): Made protected and document.
31612 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31613 Removed, similar to GtkGenericPeer super class implementation.
31614 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31615 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31616 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31619 2006-02-13 Mark Wielaard <mark@klomp.org>
31621 * java/lang/Math.java (static): Explicitly call
31622 System.loadLibrary("javalang").
31624 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31626 * javax/print/StreamPrintServiceFactory.java: New file.
31628 2006-02-13 Tom Tromey <tromey@redhat.com>
31630 * tools/.cvsignore: Added Makefile.
31632 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31634 * java/awt/print/PrinterGraphics.java: Reformatted.
31635 * java/awt/print/Paper.java: Likewise.
31636 * java/awt/print/PageFormat.java: Likewise.
31637 * java/awt/print/Pageable.java: Likewise.
31639 2006-02-13 Lillian Angel <langel@redhat.com>
31641 * java/awt/BorderLayout.java
31642 (layoutContainer): Rewrote part of this function to
31643 properly set the bounds of the components.
31644 (setBounds): Removed method, not needed.
31646 2006-02-13 Roman Kennke <kennke@aicas.com>
31648 * javax/swing/text/DefaultStyledDocument.java
31649 (ElementBuffer.clone): Fixed replace call.
31650 (clone): Removed method.
31652 2006-02-13 Roman Kennke <kennke@aicas.com>
31654 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31656 2006-02-13 Roman Kennke <kennke@aicas.com>
31658 * java/rmi/server/UnicastRemoteObject.java
31659 (exportObject(Remote)): Forward method call to export(Remote,int).
31661 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31663 * include/Makefile.am:
31664 Swapped Math.h for VMMath.h
31665 * include/java_lang_Math.h:
31667 * include/java_lang_VMMath.h:
31668 New autogenerated header for the new class.
31669 * java/lang/Math.java:
31670 (sin(double)): Changed to link to VMMath.
31671 (cos(double)): Changed to link to VMMath.
31672 (tan(double)): Changed to link to VMMath.
31673 (asin(double)): Changed to link to VMMath.
31674 (acos(double)): Changed to link to VMMath.
31675 (atan(double)): Changed to link to VMMath.
31676 (atan2(double)): Changed to link to VMMath.
31677 (exp(double)): Changed to link to VMMath.
31678 (log(double)): Changed to link to VMMath.
31679 (sqrt(double)): Changed to link to VMMath.
31680 (pow(double,double)): Changed to link to VMMath.
31681 (IEEEremainder(double,double)): Changed to link to VMMath.
31682 (ceil(double)): Changed to link to VMMath.
31683 (floor(double)): Changed to link to VMMath.
31684 (rint(double)): Changed to link to VMMath.
31685 * native/jni/java-lang/Makefile.am:
31686 Replaced java_lang_Math.c with java_lang_VMMath.c
31687 * native/jni/java-lang/java_lang_Math.c:
31689 * native/jni/java-lang/java_lang_VMMath.c:
31690 Renamed from java_lang_Math.c.
31691 * vm/reference/java/lang/VMMath.java:
31693 (sin(double)): New native method.
31694 (cos(double)): New native method.
31695 (tan(double)): New native method.
31696 (asin(double)): New native method.
31697 (acos(double)): New native method.
31698 (atan(double)): New native method.
31699 (atan2(double)): New native method.
31700 (exp(double)): New native method.
31701 (log(double)): New native method.
31702 (sqrt(double)): New native method.
31703 (pow(double,double)): New native method.
31704 (IEEEremainder(double,double)): New native method.
31705 (ceil(double)): New native method.
31706 (floor(double)): New native method.
31707 (rint(double)): New native method.
31709 2006-02-13 Lillian Angel <langel@redhat.com>
31711 * java/awt/Component.java
31712 (repaint): No need to call isShowing, it is done in the other repaint call.
31713 (repaint): Likewise.
31714 (repaint): Likewise.
31716 2006-02-13 Lillian Angel <langel@redhat.com>
31718 * java/awt/Component.java
31719 (repaint): Reverted last change.
31720 (repaint): Likewise.
31721 (repaint): Likewise.
31723 2006-02-13 Lillian Angel <langel@redhat.com>
31725 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31726 (handleEvent): Made more efficent by handling paint event and
31727 setting the clip for the graphics.
31728 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31729 (handleEvent): Likewise.
31730 * java/awt/Component.java
31731 (repaint): No need to call isShowing, it is done in the other repaint call.
31732 (repaint): Likewise.
31733 (repaint): Likewise.
31735 2006-02-13 Roman Kennke <kennke@aicas.com>
31737 * javax/swing/text/AbstractDocument.java
31738 (setParent): Added API docs. Call setParent(null) on children before
31739 disconnecting this view from the View hierarchy.
31741 2006-02-13 Roman Kennke <kennke@aicas.com>
31743 * javax/swing/text/AbstractDocument.java
31744 (readUnlock): Don't attempt to unlock when the current threads also
31745 holds a write lock.
31747 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31749 * javax/swing/plaf/metal/MetalBorders.java
31750 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31751 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31753 (Flush3DBorder.borderInsets): New field,
31754 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31755 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31756 null insets argument, and populate result from borderInsets,
31757 (PaletteBorder.borderInsets): New field,
31758 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31759 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31760 null insets argument, and populate result from borderInsets,
31761 (InternalFrameBorder.borderInsets): New field,
31762 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31764 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31765 for null insets argument, and populate result from borderInsets,
31766 (MenuItemBorder.borderInsets): Initialise to correct value.
31768 2006-02-13 Roman Kennke <kennke@aicas.com>
31770 * javax/swing/text/AsyncBoxView.java: New file.
31772 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31775 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31776 was moved to a new method parseCharClass.
31777 (parseCharClass): New method originally in initialize. Added parsing
31778 of nested character classes.
31779 (ParseCharClassResult): New inner class used as a return value of
31781 (getCharExpression),(getNamedProperty): Made static.
31782 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31783 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31784 nested character classes.
31785 (RETokenOneOf): New constructor accepting the Vector addition.
31786 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31787 stands for only one character.
31788 (match): Added the processing of the Vector addition.
31789 (matchN), (matchP): Do not check next token if addition is used.
31791 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31793 * AUTHORS: add self.
31795 2006-02-12 Tom Tromey <tromey@redhat.com>
31797 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31798 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31799 (securityContext): Likewise.
31802 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31806 * gnu/java/net/protocol/file/Connection.java (unquote):
31807 Convert Unicode characters outside basic plane to UTF-8,
31808 rather than throwing an exception.
31810 2006-02-12 Tom Tromey <tromey@redhat.com>
31812 * javax/sound/sampled/LineEvent.java (readObject): New method.
31813 (writeObject): Likewise.
31814 (serialVersionUID): New field.
31816 2006-02-12 Mark Wielaard <mark@klomp.org>
31818 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31819 Silently ignores null listener.
31820 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31821 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31822 array for null propertyName.
31824 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31826 * java/rmi/MarshalledObject.java: Added api docs to the class.
31827 * java/rmi/Remote.java: Added interface api docs.
31828 * java/rmi/package.html: Added package description.
31829 * java/rmi/AccessException.java: Minor api doc fixes.
31830 * java/rmi/NoSuchObjectException.java: Likewise.
31831 * java/rmi/AlreadyBoundException.java: Likewise.
31832 * java/rmi/RemoteException.java: Likewise.
31833 * java/rmi/NotBoundException.java: Likewise.
31834 * java/rmi/RMISecurityException.java: Likewise.
31835 * java/rmi/StubNotFoundException.java: Likewise.
31837 2006-02-12 Mark Wielaard <mark@klomp.org>
31839 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31840 q() to get EventQueue.
31841 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31842 (enableQueue): Remove static method.
31843 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31844 Don't call GtkGenericPeer.enableQueue().
31846 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31848 * java/rmi/MarshalledObject.java: Reformatted.
31849 * java/rmi/Naming.java: Likewise.
31851 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31853 * java/io/InputStream.java
31854 (read(byte[],int,int)): Changed argument validation to prevent
31855 integer overflow. Remove redundant check.
31857 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31860 * java/io/InputStreamReader.java
31861 (InputStreamReader(InputStream)): Use SystemProperties.
31862 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31863 Throw NullPointerException if in is null.
31864 Added maxBytesPerChar initialisation.
31865 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31866 Throw NullPointerException if in is null.
31868 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31870 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31871 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31872 (GnuDHPublicKey): New constructor.
31873 (getEncoded): Removed.
31874 (valueOf): Added support for ASN.1 encoding.
31875 (getEncoded(int)): Likewise.
31876 (equals): New method.
31877 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31878 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31879 (GnuDHPrivateKey(5)): New constructor.
31880 (getEncoded): Removed.
31881 (valueOf): Added support for ASN.1 encoding.
31882 (getEncoded(int)): Likewise.
31883 (equals): New method.
31884 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31885 (PREFERRED_ENCODING_FORMAT): New constant.
31886 (DEFAULT_ENCODING_FORMAT): Likewise.
31887 (preferredFormat): New field.
31888 (setup): Handle preferred encoding format identifier.
31889 (generate): Call constructors with format identifier.
31890 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31891 (GnuDHKey): Added an int argument.
31892 (getEncoded): New method.
31893 (getFormat): New implementation.
31894 (getEncoded(int)): New abstract method.
31895 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31896 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31897 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31898 key-pair generator and key-factory.
31899 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31900 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31901 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31902 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31903 (invokeConstructor): New method.
31904 (getConcreteClass): Likewise.
31905 (getConcreteCtor): Likewise.
31906 (invokeValueOf): Likewise.
31907 (getValueOfMethod): Likewise.
31908 (engineGeneratePublic): Add support for DH keys.
31909 (engineGeneratePrivate): Likewise.
31910 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31911 (decodeDHPublicKey(byte[])): Likewise.
31912 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31913 (decodeDHPrivateKey(byte[])): Likewise.
31915 2006-02-11 Mark Wielaard <mark@klomp.org>
31917 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31919 (repaint): Immediately post to queue when tm <= 0, otherwise call
31920 RepaintTimerTask.schedule().
31921 (RepaintTimerTask): Make static.
31922 (RepaintTimerTask.repaintTimer): New static final field.
31923 (RepaintTimerTask.awtComponent): New field.
31924 (schedule): New static method.
31926 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31928 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31929 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31930 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31931 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31932 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31934 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31936 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31938 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31939 (engineGeneratePublic): Added support for raw key-specifications.
31940 (engineGeneratePrivate): Likewise.
31941 (decodeDSSPublicKey): New method.
31942 (decodeRSAPublicKey): Likewise.
31943 (decodeDSSPrivateKey): Likewise.
31944 (decodeRSAPrivateKey): Likewise.
31945 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31946 (encodePrivateKey): Throw InvalidParameterException.
31947 (decodePublicKey): Likewise.
31948 (decodePrivateKey): Likewise.
31949 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31950 (encodePublicKey): Likewise.
31951 (encodePrivateKey): Likewise.
31952 (decodePublicKey): Likewise.
31953 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31954 (encodePrivateKey): Likewise.
31955 (decodePublicKey): Likewise.
31956 (decodePrivateKey): Likewise.
31957 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31958 (encodePublicKey): Likewise.
31959 (encodePrivateKey): Likewise.
31960 (decodePublicKey): Likewise.
31962 2006-02-10 Roman Kennke <kennke@aicas.com>
31964 * javax/swing/text/StyleContext.java
31965 (registerStaticAttributeKey): New static method.
31967 2006-02-10 Roman Kennke <kennke@aicas.com>
31969 * javax/swing/text/DefaultStyledDocument.java
31970 (ElementBuffer.clone): New method.
31972 2006-02-10 Roman Kennke <kennke@aicas.com>
31974 * javax/swing/text/ParagraphView.java
31975 (findOffsetToCharactersInString): New method.
31976 (getClosestPositionTo): New method.
31977 (getPartialSize): New method.
31978 (getTabBase): New method.
31979 (adjustRow): New method.
31980 (breakView): New method.
31981 (getBreakWeight): New method.
31983 2006-02-10 Roman Kennke <kennke@aicas.com>
31985 * javax/swing/text/GapContent.java
31986 (updateUndoPositions): New method.
31987 * javax/swing/text/StringContent.java
31988 (updateUndoPositions): New method.
31990 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
31992 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31994 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31995 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31996 Added support for encoded key specifications.
31997 (engineGeneratePrivate): Likewise.
31998 (engineGetKeySpec): Likewise.
31999 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32001 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32003 * javax/swing/text/Utilities.java:
32004 (getTabbedTextOffset): Fixed usage of variable p0.
32005 (getPositionAbove): Rewritten.
32006 (getPositionBelow): Rewritten.
32008 2006-02-09 Roman Kennke <kennke@aicas.com>
32010 * javax/swing/text/BoxView.java
32011 (getAxis): Added @since tag.
32012 (setAxis): Added @since tag.
32013 (layoutChanged): Added @since tag.
32014 (isLayoutValid): Added @since tag.
32015 (paint): Don't call setSize here. This is done in RootView already.
32016 (getMaximumSpan): Reimplemented to return the requirements'
32017 maximum size. Added API docs.
32018 (getMinimumSpan): New method.
32019 (layout): Fixed layout order.
32020 (modelToView): Call layout instead of setSize here.
32021 (getResizeWeight): New method.
32022 (getChildAllocation): New method.
32023 (forwardUpdate): New method.
32024 (viewToModel): New method.
32025 (flipEastEndWestEnds): New method.
32026 * javax/swing/text/CompositeView.java
32027 (modelToView): Made this method more robust by returning a default
32028 location if it's not possible to calculate one via the children.
32029 This default location returns the left or right edge of this
32031 (createDefaultLocation): New helper method.
32032 * javax/swing/text/IconView.java
32033 (modelToView): Don't throw BadLocationException. This should
32034 really only be thrown if the position is outside the document
32035 model, not if it's outside the view's boundary.
32037 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32039 * tools/Makefile.am: Handle rmi and giop folders separately.
32041 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32043 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32044 * javax/swing/SpinnerNumberModel.java: Likewise.
32046 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32048 * javax/swing/SpinnerDateModel.java: Removed tabs,
32049 * javax/swing/SpinnerNumberModel.java: Likewise.
32051 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32053 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32054 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32056 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32059 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32060 (isRedirect): Removed, moved to Response.java.
32061 (connect): If error condition redirect responseSink to errorSink.
32062 (getInputStream): If error condition throw IOException, for the error
32063 codes 404 and 410 throw a FileNotFoundException.
32064 * gnu/java/net/protocol/http/Response.java (isError): New method.
32065 (isRedirect): New method, moved from HTTPURLConnection.java.
32067 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32069 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32070 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32071 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32073 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32075 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32076 AbstractMethodGenerator.
32077 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32078 tools/gnu/classpath/tools/rmi/RMIC.java,
32079 tools/gnu/classpath/tools/rmi/RMIC.txt,
32080 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32081 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32082 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32083 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32084 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32085 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32087 * NEWS: Corrected entry about the tools.
32089 2006-02-09 Lillian Angel <langel@redhat.com>
32091 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32092 (handleEvent): Added more to check to prevent assertion errors.
32093 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32094 (handleEvent): Likewise.
32095 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32096 (handleEvent): Likewise.
32098 2006-02-09 Mark Wielaard <mark@klomp.org>
32100 * javax/swing/JTable.java (tableChanged): Interpret null event as
32101 "everything changed".
32103 2006-02-09 Roman Kennke <kennke@aicas.com>
32105 * javax/swing/text/DefaultCaret.java
32106 (DocumentHandler.removeUpdate): When update policy is
32107 'on eventqueue', and the update doesn't come from the
32108 event queue, check if the current dot location is still
32110 (moveDot): Make sure the new dot location is valid.
32111 (setDot): Set the mark the same as the dot.
32113 2006-02-09 Roman Kennke <kennke@aicas.com>
32115 * javax/swing/text/AbstractDocument.java
32116 (remove): Perform all operations within a write lock and in the
32119 2006-02-09 Mark Wielaard <mark@klomp.org>
32121 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32122 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32123 creater than min, adjusting page_size if necessary.
32124 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32126 2006-02-09 Lillian Angel <langel@redhat.com>
32128 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32129 (handleEvent): Added code to handle PaintEvent.UPDATE.
32130 Sun does not call update(Graphics g) on Panels.
32131 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32132 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32133 Sun does not call update(Graphics g) on Panels.
32135 2006-02-09 Roman Kennke <kennke@aicas.com>
32137 * javax/swing/text/BoxView.java
32138 (myAxis): Made field private.
32139 (xLayoutValid): Replaced by layoutValid array.
32140 (yLayoutValid): Replaced by layoutValid array.
32141 (layoutValid): New field.
32142 (spansX): Replaced by spans array.
32143 (spansY): Replaced by spans array.
32144 (spans): New field.
32145 (offsetsX): Replaced by offsets array.
32146 (offsetsY): Replaced by offsets array.
32147 (offsets): New field.
32148 (requirements): New field.
32149 (BoxView): Initialize new fields.
32150 (layoutChanged): Rewritten to use the layoutValid array.
32151 (isLayoutValid): Rewritten to use the layoutValid array.
32152 (replace): Use the new arrays.
32153 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32154 instead of baselineRequirements.
32155 (baselineRequirements): Rewritten to calculate baseline requirements.
32156 (baselineLayout): Rewritten to calculate baseline layout.
32157 (childAllocation): Use new arrays.
32158 (layout): Rewritten. Only update the layout if necessary.
32159 (layoutMajorAxis): Directly set layoutValid.
32160 (layoutMinorAxis): Directly set layoutValid. Use cached size
32162 (getWidth): Use new span array.
32163 (getHeight): Likewise.
32164 (setSize): Rewritten to simply call layout().
32165 (validateLayout): Removed unneeded method.
32166 (getSpan): Use new arrays.
32167 (getOffset): Use new arrays.
32168 (getAlignment): Use cached requirements if possible.
32169 (preferenceChanged): Use new arrays.
32170 * javax/swing/text/FlowView.java
32171 (FlowStrategy.insertUpdate): Do nothing here.
32172 (FlowStrategy.removeUpdate): Do nothing here.
32173 (FlowStrategy.changedUpdate): Do nothing here.
32174 (FlowStrategy.layoutRow): Rewritten.
32175 (FlowStrategy.createView): Rewritten.
32176 (FlowStrategy.adjustRow): New method.
32177 (LogicalView.getViewIndex): Fixed condition for finding child
32179 (layoutDirty): New field indicating the state of the layout.
32180 (FlowView): Initialize new field.
32181 (loadChildren): Set parent on logical view so that preferenceChanges
32182 get propagated upwards.
32183 (layout): Rewritten to match the specs.
32184 (insertUpdate): Set layout to dirty.
32185 (removeUpdate): Set layout to dirty.
32186 (changedUpdate): Set layout to dirty.
32187 * javax/swing/text/GlyphView.java
32188 (getBreakWeight): Rewritten to use the Utilities class. Commented
32189 out though because that is broken.
32190 (insertUpdate): Call preferenceChanged on this object instead of
32192 * javax/swing/text/ParagraphView.java
32193 (Row.loadChildren): Overridden to be a noop to prevent initial
32194 creation of child views. This is carried out by the flow layout.
32195 * javax/swing/text/View.java
32196 (getPreferredSpan): Added API docs.
32197 (getResizeWeight): Added API docs.
32198 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32200 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32201 resizable instead of Integer.MAX_VALUE.
32202 (getAlignment): Added API docs.
32203 (replace): Added API docs.
32204 (forwardUpdate): Rewritten to only notify child views that need to
32207 2006-02-09 Roman Kennke <kennke@aicas.com>
32209 * javax/swing/plaf/basic/BasicTextUI.java
32210 (RootView.paint): Call setSize() before painting the view.
32212 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32215 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32216 flag which enables backslash escape in a replacement.
32217 (getReplacement): New public static method.
32218 (substituteImpl),(substituteAllImpl): Use getReplacement.
32219 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32220 * java/util/regex/Matcher.java(appendReplacement)
32221 Use RE#getReplacement.
32222 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32224 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32226 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32227 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32228 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32229 (PREFERRED_ENCODING_FORMAT): New constant.
32230 (DEFAULT_ENCODING_FORMAT): Likewise.
32231 (preferredFormat): New field.
32232 (setup): Add support for preferred encoding format.
32233 (generate): Call key constructors with explicit format identifier.
32234 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32235 Call constructor with 3 arguments..
32236 (GnuRSAPublicKey(3)): New constructor.
32237 (valueOf): Added support for ASN.1 format.
32238 (getEncoded): Likewise.
32239 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32240 Call constructor with 5 arguments.
32241 (GnuRSAPrivateKey(5)): New constructor.
32242 (GnuRSAPrivateKey(9)): New constructor.
32243 (valueOf): Added support for ASN.1 format.
32244 (getEncoded): Likewise.
32245 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32246 (GnuRSAKey): Modified constructor.
32247 (getFormat): Return preferred format identifier.
32248 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32249 (decodePrivateKey): Fixed documentation.
32250 Check Version field.
32251 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32252 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32254 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32255 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32256 (engineGeneratePublic): Added support for RSA.
32257 (engineGeneratePrivate): Likewise.
32259 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32261 * java/net/URLConnection.java:
32262 (setAllowUserInteraction): Throw IllegalStateException if connected.
32263 (getRequestProperty): Document return value if key is null.
32264 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32265 (getRequestProperty): Return null if key is null.
32266 (getRequestProperties): Throw IllegalStateException if connected.
32267 (setRequestProperty): Call super method for exception tests.
32268 (addRequestProperty): Likewise.
32270 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32272 * gnu/java/net/protocol/http/Request.java:
32273 (Request): Remove initialization of removed field.
32274 (requestBodyNegotiationThreshold): Removed now unused field.
32275 (setRequestBodyNegotiationThreshold): Remove now unused method.
32276 (dispatch): Do not use 'Expect 100-continue' header if content-length
32277 is over a treshold. If user specified 'Expect 100-continue' still
32278 initialize the expectingContinue variable.
32280 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32282 * javax/swing/SpinnerNumberModel.java
32283 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32284 maximum and minimum to take null values,
32285 (setValue): Only fire ChangeEvent if new value is different to old
32287 (setMinimum): Fixed test for updating value,
32288 (setMaximum): Likewise,
32289 (setStepSize): Likewise.
32291 2006-02-08 Tom Tromey <tromey@redhat.com>
32293 * tools/.cvsignore: Added Makefile.in.
32295 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32297 * java/rmi/server/RemoteRef.java,
32298 java/rmi/server/RemoteStub.java: Commented.
32300 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32302 * javax/swing/SpinnerDateModel.java
32303 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32305 (getPreviousValue): Check result against start, not end,
32306 (setValue): Check that value actually changes before firing
32309 2006-02-08 Lillian Angel <langel@redhat.com>
32311 * java/awt/Choice.java
32312 (select): Fixed up code, added some checks to prevent errors.
32313 (dispatchEventImpl): Removed. This function is not needed. It
32314 causes several assertion errors.
32316 2006-02-08 Roman Kennke <kennke@aicas.com>
32318 * javax/swing/text/PlainView.java
32319 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32320 drawing unnecessary characters.
32322 2006-02-08 Lillian Angel <langel@redhat.com>
32324 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32325 (handleEvent): Fixed check to determine if height or
32326 width is less than 1.
32328 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32330 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32332 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32334 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32335 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32336 Documenting the code generator.
32337 * gnu/CORBA/IOR.java (toStringFormatted,
32338 CodeSet_component.toStringFormatted): New methods.
32339 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32340 * tools/gnu/classpath/tools/giop/README: Rewritten.
32341 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32342 (printHelpAndExit): Removed.
32343 *tools/gnu/classpath/tools/giop/IorParser.java,
32344 tools/gnu/classpath/tools/giop/IorParser.txt,
32345 tools/gnu/classpath/tools/giop/NameService.java,
32346 tools/gnu/classpath/tools/giop/NamingService.txt,
32347 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32348 NEWS: Added note about GIOP tools.
32350 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32352 * .classpath: New source patch (tools).
32353 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32354 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32355 * tools/gnu/classpath/tools/Makefile.am,
32356 tools/gnu/classpath/tools/giop/GRMIC.java
32357 tools/gnu/classpath/tools/giop/GRMIC.txt,
32358 tools/gnu/classpath/tools/giop/README,
32359 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32360 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32361 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32362 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32363 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32364 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32365 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32366 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32367 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32368 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32369 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32370 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32372 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32374 * java/awt/BasicStroke.java: Updated API docs all over,
32375 * java/awt/doc-files/capjoin.png: New file.
32377 2006-02-07 Lillian Angel <langel@redhat.com>
32379 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32380 (handleEvent): Added check. Should not paint or update the
32381 component if it's width and height are both 0.
32383 2006-02-07 Roman Kennke <kennke@aicas.com>
32385 * javax/swing/text/AbstractDocument.java
32386 (insertString): Enclose locking/unlocking in try-finally block
32387 and also keep locked while notifying the listeners.
32389 2006-02-07 Roman Kennke <kennke@aicas.com>
32391 * javax/swing/text/GlyphView.java
32392 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32394 (getStartOffset): Return element boundary if startOffset < 0.
32395 (getEndOffset): Return element boundary if endOffset < 0.
32396 (createFragment): Set startOffset and endOffset fields of fragment
32397 if one of p0 or p1 is not at the element boundary.
32399 2006-02-07 Roman Kennke <kennke@aicas.com>
32401 * javax/swing/CellRendererPane.java
32402 (paintComponent): Enclosed painting in try finally to properly
32403 clean up even when throwing an exception.
32405 2006-02-07 Roman Kennke <kennke@aicas.com>
32407 * javax/swing/UIManager.java
32408 (listeners): Made this an instance of
32409 java.beans.PropertyChangeSupport instead of the obsoleted
32410 SwingPropertyChangeSupport.
32412 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32414 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32415 of actions "delete-next" and "delete-previous", added new TextAction
32416 implementations for "selection-begin", "selection-begin-line",
32417 "selection-end" and "selection-end-line".
32419 2006-02-07 Roman Kennke <kennke@aicas.com>
32421 * javax/swing/plaf/basic/BasicTextUI.java
32422 (paint): Acquire read lock on the document before calling
32424 (paintSafely): Added comment about what this method does.
32425 (paintBackground): Implemented to actually paint the background.
32426 (update): Overridden to _not_ paint the background. This is done
32427 in paintBackground in this UI.
32429 2006-02-07 Roman Kennke <kennke@aicas.com>
32431 * javax/swing/text/View.java
32432 (forwardUpdate): Don't notify newly added child views as specified.
32434 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32436 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32438 2006-02-07 Roman Kennke <kennke@aicas.com>
32440 * javax/swing/text/DefaultStyledDocument.java
32441 (ElementBuffer.insert): Only register change when the element
32444 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32446 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32448 (getEncodingShortName): Likewise.
32449 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32450 (PKCS8_FORMAT): Likewise.
32451 (ASN1_FORMAT): Likewise.
32452 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32453 constructor with 5 arguments.
32454 (DSSPublicKey(5)): New constructor.
32455 (valueOf): Handle ASN.1 encoding.
32456 (getEncoded): Likewise.
32457 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32458 constructor with 5 arguments.
32459 (DSSPrivateKey(5)): New constructor.
32460 (valueOf): Handle ASN.1 encoding.
32461 (getEncoded): Likewise.
32462 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32463 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32464 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32465 (PREFERRED_ENCODING_FORMAT): New constant.
32466 (DEFAULT_ENCODING_FORMAT): Likewise.
32467 (preferredFormat): New field.
32468 (setup): Handle preferred format ID.
32469 (generate): Use new ctors with 5 arguments.
32470 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32471 ID as an additional argument.
32472 (defaultFormat): new field.
32473 (getFormat): Returns the preferred format as a short string.
32474 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32475 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32477 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32478 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32480 (initialize(int,boolean,SecureRandom)): Likewise.
32481 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32482 writeLength() instead of write().
32483 return buf.length + 1 instead of buf.length.
32485 2006-02-07 Roman Kennke <kennke@aicas.com>
32487 * javax/swing/plaf/basic/BasicTextUI.java
32488 (RootView.preferenceChange): Changed view parameter to view so
32489 that it doesn't hide a field of that class.
32490 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32491 (RootView.modelToView): Removed unnecessary cast from View to View.
32492 (PropertyChangeHandler): Made inner class private.
32493 (updateHandler): Made field private.
32494 (getVisibleEditorRect): Removed unneeded local variable that
32495 shadowed a field with the same name and purpose.
32497 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32499 * javax/swing/text/JTextComponent.java:
32500 (getSelectedText): Calculate offset and use that as
32503 2006-02-07 Roman Kennke <kennke@aicas.com>
32505 * javax/swing/JTextPane.java
32506 (setCharacterAttributes): Replace input attributes when
32509 2006-02-07 Roman Kennke <kennke@aicas.com>
32511 * java/awt/Component.java
32512 (firePropertyChange(String,byte,byte)): Made method public.
32513 (firePropertyChange(String,char,char)): Made method public.
32514 (firePropertyChange(String,short,short)): Made method public.
32515 (firePropertyChange(String,long,long)): Made method public.
32516 (firePropertyChange(String,float,float)): Made method public.
32517 (firePropertyChange(String,double,double)): Made method public.
32519 2006-02-06 Tom Tromey <tromey@redhat.com>
32521 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32523 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32525 2006-02-06 Anthony Green <green@redhat.com>
32527 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32529 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32531 * .settings/org.eclipse.jdt.core.prefs:
32532 Force a line split on extends and implements.
32533 Force a white-space after unary operators.
32534 Don't force a new-line after @params.
32535 Add new-line at end-of-file.
32536 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32538 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32540 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32542 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32544 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32546 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32548 * gnu/java/security/provider/EncodedKeyFactory.java
32549 (ID_DSA): Redefined in terms of Registry constant.
32550 (ID_DSA): Redefined in terms of Registry constant.
32551 (ID_DH): Redefined in terms of Registry constant.
32552 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32553 (PKCS8_ENCODING): Likewise.
32554 (ASN1_ENCODING): Likewise.
32555 (RAW_ENCODING_SHORT_NAME): Likewise.
32556 (X509_ENCODING_SORT_NAME): Likewise.
32557 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32558 (ASN1_ENCODING_SHORT_NAME): Likewise.
32559 (X509_ENCODING_ID): Likewise.
32560 (PKCS8_ENCODING_ID): Likewise.
32561 (ASN1_ENCODING_ID): Likewise.
32562 (DSA_OID_STRING): Likewise.
32563 (RSA_OID_STRING): Likewise.
32564 (DH_OID_STRING): Likewise.
32566 2006-02-06 Roman Kennke <kennke@aicas.com>
32568 * javax/swing/text/GlyphView.java:
32569 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32570 Only fill background if there is a background set on the view.
32571 Call Utilities.drawTabbedText with the baseline height, rather than
32572 the upper left corner of the view rectangle.
32573 (getBackground): Return null if no background is set.
32574 * javax/swing/text/GlyphView.java:
32575 (setPropertiesFromAttributes): Use null for background when no
32576 background is set. StyleConstants.getBackground() doesn't work
32577 for this, because it returns Color.BLACK in that case.
32579 2006-02-06 Roman Kennke <kennke@aicas.com>
32581 * java/awt/Container.java
32582 (changeSupport): Removed duplicate (from Component) field.
32583 (addPropertyChangeListener): Call super.
32585 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32587 * java/util/regex/Matcher.java(matches):
32588 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32590 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32593 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32594 * gnu/regexp/CharIndexedCharArray.java
32595 (lookBehind),(length): Implemented.
32596 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32597 * gnu/regexp/CharIndexedString.java: Likewise.
32598 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32599 * gnu/regexp/REToken.java(getMaximumLength): New method.
32600 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32602 (initialize): Parse (?<=X), (?<!X), (?>X).
32603 (getMaximumLength): Implemented.
32604 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32605 * gnu/regexp/RETokenChar.java: Likewise.
32606 * gnu/regexp/RETokenEnd.java: Likewise.
32607 * gnu/regexp/RETokenEndSub.java: Likewise.
32608 * gnu/regexp/RETokenLookAhead.java: Likewise.
32609 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32610 * gnu/regexp/RETokenOneOf.java: Likewise.
32611 * gnu/regexp/RETokenPOSIX.java: Likewise.
32612 * gnu/regexp/RETokenRange.java: Likewise.
32613 * gnu/regexp/RETokenRepeated.java: Likewise.
32614 * gnu/regexp/RETokenStart.java: Likewise.
32615 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32616 * gnu/regexp/RETokenIndependent.java: New file.
32617 * gnu/regexp/RETokenLookBehind.java: New file.
32619 2006-02-06 Roman Kennke <kennke@aicas.com>
32621 * java/awt/Component.java
32622 (firePropertyChange(String,byte,byte)): New method.
32623 (firePropertyChange(String,char,char)): New method.
32624 (firePropertyChange(String,short,short)): New method.
32625 (firePropertyChange(String,long,long)): New method.
32626 (firePropertyChange(String,float,float)): New method.
32627 (firePropertyChange(String,double,double)): New method.
32629 2006-02-06 Roman Kennke <kennke@aicas.com>
32631 * javax/swing/JComponent.java
32632 (AccessibleJComponent.changeSupport): Changed to be a
32633 java.beans.PropertyChangeSupport rather than
32634 SwingPropertyChangeSupport.
32635 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32637 (changeSupport): Removed unneeded field.
32638 (removePropertyChangeListener): Removed unneeded methods.
32639 (addPropertyChangeListener): Removed unneeded methods.
32640 (getPropertyChangeListeners): Removed unneeded methods.
32641 (firePropertyChange(String,boolean,boolean)): Changed to simply
32642 call super. Added specnote.
32643 (firePropertyChange(String,char,char)): Changed to simply
32644 call super. Added specnote.
32645 (firePropertyChange(String,int,int)): Changed to simply
32646 call super. Added specnote.
32647 (firePropertyChange(String,byte,byte)): Removed.
32648 (firePropertyChange(String,Object,Object)): Removed.
32649 (firePropertyChange(String,double,double)): Removed.
32650 (firePropertyChange(String,float,float)): Removed.
32651 (firePropertyChange(String,long,long)): Removed.
32652 (firePropertyChange(String,short,short)): Removed.
32654 2006-02-06 Roman Kennke <kennke@aicas.com>
32656 * javax/swing/event/SwingPropertyChangeSupport.java
32657 (listeners): Removed field.
32658 (propertyListeners): Removed field.
32659 (source): Removed field.
32660 (SwingPropertyChangeSupport()): Removed initialization of removed
32662 (addPropertyChangeListener): Removed methods.
32663 (removePropertyChangeListener): Removed methods.
32664 (getPropertyChangeListeners): Removed methods.
32665 (firePropertyChange): Removed methods.
32666 (hasListeners): Removed methods.
32668 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32671 * java/net/InetAddress.java
32672 (readResolve): Implemented.
32674 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32677 * java/io/ObjectInputStream.java
32678 (readNextBlock()): Handle TC_RESET.
32680 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32682 * javax/print/attribute/standard/Compression.java,
32683 * javax/print/attribute/standard/Finishings.java,
32684 * javax/print/attribute/standard/JobMediaSheets.java,
32685 * javax/print/attribute/standard/JobSheets.java,
32686 * javax/print/attribute/standard/JobState.java,
32687 * javax/print/attribute/standard/JobStateReason.java,
32688 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32689 * javax/print/attribute/standard/PrintQuality.java,
32690 * javax/print/attribute/standard/Media.java,
32691 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32692 * javax/print/attribute/standard/PrinterStateReason.java,
32693 * javax/print/attribute/standard/PDLOverrideSupported.java:
32694 (getName): Make method final.
32695 (getCategory): Likewise.
32696 * javax/print/attribute/standard/MediaSize.java:
32697 (getName): Make method final.
32698 (getCategory): Likewise.
32699 (ISO): Added private default constructor.
32703 (Engineering): Likewise.
32705 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32707 * native/jni/java-net/javanet.c (_javanet_connect):
32708 Throw ConnectException instead of IOException if connection failed.
32709 * native/jni/java-net/javanet.h:
32710 Add a define for java.net.ConnectException
32712 2006-02-05 Mark Wielaard <mark@klomp.org>
32715 reported by Egon Willighagen <egon.willighagen@gmail.com>
32716 * javax/swing/DefaultListCellRenderer.java
32717 (getListCellRendererComponent): Turn null value into empty string.
32719 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32721 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32722 a Unicode block if the name starts with "In".
32723 (UnicodeBlockHandler): New inner class.
32725 2006-02-04 Roman Kennke <kennke@aicas.com>
32727 * java/awt/Container.java
32728 (getComponentZOrder): New method.
32729 (setComponentZOrder): New method.
32730 * javax/swing/JLayeredPane.java
32731 (setPosition): Reimplemented to use setComponentZOrder().
32732 (getIndexOf): Reimplemented to use getComponentZOrder().
32733 (addImpl): Pass layerContraint to super call. Important for possibly
32734 installed layout managers.
32735 (swapComponents): Remove unneeded method.
32737 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32739 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32740 DSAKeyPairGenerator.
32741 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32742 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32744 Surround call to adaptee in a try/catch.
32745 (initialize((DSAParams,SecureRandom)): New method.
32746 (initialize(int,boolean,SecureRandom)): New method.
32747 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32748 KeyPairGenerator rather than KeyPairGeneratorSpi.
32749 (KeyPairGeneratorAdapter): Call super with algorithm name.
32751 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32753 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32754 (getDefaultPRNG): New method.
32755 (parseO): Use method above.
32756 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32757 (getDefaultPRNG): New method.
32758 (createO): Use method above.
32759 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32760 (nextByte): Use above field.
32761 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32762 * gnu/java/security/sig/rsa/RSA.java: New class field.
32763 (newR): Use above field
32764 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32765 (encode): Use field.above.
32766 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32767 (getDefaultPRNG): new method.
32768 (nextRandomBytes): Use above method.
32769 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32770 * gnu/java/security/sig/BaseSignature.java: Likewise.
32771 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32772 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32773 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32774 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32775 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32776 (getDefaultPRNG): new method.
32777 (nextRandomBytes): Use above method.
32778 (STRICT_DEFAULTS): new class field.
32779 (USE_DEFAULTS): more documentation to clarify behavior.
32780 (setup): amended to handle new attribute.
32781 * gnu/java/security/util/PRNG.java: New file.
32783 2006-02-03 Lillian Angel <langel@redhat.com>
32785 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32786 chooser field should be protected, not package-private.
32788 2006-02-03 Lillian Angel <langel@redhat.com>
32790 * javax/swing/text/DefaultStyledDocument.java
32791 (changeUpdate): Cleaned up code.
32793 (insertUpdate): Set offset to be equal to pos after
32794 insertContentTag call.
32795 (insertContentTag): If paragraph has no children, should use
32796 replace instead of Edit.
32797 (insertFracture): Moved around code to prevent any exception. Also,
32798 left side of tree should not be recreated if it has already been
32799 edited. In that case, we should only be creating a new right branch
32801 (getEditForParagraphAndIndex): No need to check index. We should
32802 use the same edit for each paragraph.
32804 2006-02-03 Mark Wielaard <mark@klomp.org>
32806 * javax/swing/event/SwingPropertyChangeSupport.java
32807 (propertyListeners): Change type to HashMap.
32808 (SwingPropertyChangeSupport): Allocate HashMap.
32810 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32812 * java/security/KeyPairGenerator.java (getInstance): Test for
32813 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32815 2006-02-02 Roman Kennke <kennke@aicas.com>
32817 * javax/swing/RepaintManager.java
32818 Made fields private.
32819 (RepaintWorker.run): Enclosed work stuff in try finally block in
32820 order to clean up correctly if invalidation or painting fails,
32821 otherwise we would get no more RepaintWorkers onto the EventQueue.
32822 Also, now the RepaintWorker is marked 'dead' only after it has
32823 finished its work, avoid more than one RepaintWorker on the queue.
32824 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32825 instead of hierarchy depths.
32826 (workDirtyComponents): Removed unused field.
32827 (repaintOrder): Removed unused field.
32828 (workRepaintOrder): Removed unused field.
32829 (workInvalidComponents): Removed unused field.
32830 (RepaintManager()): Removed initialization of removed fields.
32831 (addInvalidComponent): Fine tuned synchronization.
32832 (removeInvalidComponent): Fine tune synchronization.
32833 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32834 synchronization. Don't manager repaintOrder here.
32835 (insertRepaintOrder): Removed method.
32836 (markCompletelyClean): Fine tuned synchronization.
32837 (validateInvalidComponents): Dont use a working copy of the
32838 invalidComponents list, instead fine tuned synchronization on this
32839 list. Also, don't search validateRoot, this is already done in
32840 addInvalidComponent().
32841 (paintDirtyRegions): Compute repaint order here, based on size of
32842 damaged regions. Fine tuned synchronization. Avoid use of working
32843 copies of dirtyComponent.
32845 2006-02-02 Lillian Angel <langel@redhat.com>
32847 * javax/swing/text/DefaultStyledDocument.java
32848 (insertUpdate): JoinNextDirection should push the
32849 'next' paragraph on the stack.
32851 2006-02-02 Lillian Angel <langel@redhat.com>
32853 * javax/swing/text/DefaultStyledDocument.java
32854 (insertUpdate): Rewrote code for Originate. This prevents
32855 leaves being created multiple times. If it is on the last
32856 ElementSpec, the leaves need to be created right then;
32857 otherwise, only a branch is created.
32858 (insertContentTag): Rewrote to add new leaf directly if
32859 this is a branch with no children. Otherwise, it
32860 recreates the remainder of the tree as before.
32862 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32864 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32865 for making a list of REMatch instances.
32866 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32867 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32868 (match): Rewritten using REMatchList.
32869 (matchRest): Rewritten using REMatchList.
32871 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32873 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32874 (friendsMove): Call repaint() only after endOfGame is assigned.
32876 2006-02-02 Mark Wielaard <mark@klomp.org>
32878 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32879 * java/util/AbstractCollection.java (toString): Only use Iterator,
32880 check whether collection contains itself.
32882 2006-02-01 Casey Marshall <csm@gnu.org>
32884 Partial fix for PR classpath/25143.
32885 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32886 (<init>): fill in `algName,' derive `algOid' from `algName.'
32887 (getOid): new method.
32888 (encode): embed NULL value for parameters if `params' is `null.'
32890 2006-02-01 Casey Marshall <csm@gnu.org>
32892 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32893 <monoman@gmail.com>.
32894 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32895 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32897 2006-02-01 Casey Marshall <csm@gnu.org>
32899 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32900 * gnu/java/security/der/DERValue.java
32901 (getLength, getEncoded, getEncodedLength): throw an exception,
32902 don't initialize `encoded' to a bogus value.
32903 (toString): return a more helpful string.
32905 Partial fix for PR classpath/25144.
32906 * gnu/java/security/der/DERWriter.java (write): if the value is
32907 the pseudo-value used for CONSTRUCTED, write the encoded value
32910 2006-02-01 Tom Tromey <tromey@redhat.com>
32912 * java/security/Security.java (loadProviders): Use system class
32915 2006-02-01 Mark Wielaard <mark@klomp.org>
32917 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32918 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32919 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32920 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32921 (UnicodeCategoriesHandler): New private static class.
32923 2006-02-01 Lillian Angel <langel@redhat.com>
32925 * javax/swing/text/DefaultStyledDocument.java:
32926 Removed unneeded fields.
32927 (insertUpdate): Removed field initialization.
32928 (insertContentTag): Rewrote part of function. Still
32931 2006-02-01 Lillian Angel <langel@redhat.com>
32933 * javax/swing/text/DefaultStyledDocument.java
32934 (insertParagraph): Cleaned up code.
32935 (insertFirstContentTag): Fixed call to recreateLeaves.
32936 (insertContentTag): Added check to code to determine where
32937 content should be inserted with respect to next element.
32938 (createFracture): Removed check, recreateLeaves is called in
32939 other places when needed.
32940 (recreateLeaves): Added new parameter for paragraph instead
32941 of checking the stack. Removed editing for newBranch, replaced
32942 with a replace call.
32944 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32946 * doc/unicode/Blocks-4.0.0.txt: New file.
32947 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32948 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32949 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32950 but replaced some 1.5-only features (such as enum).
32952 2006-01-31 Roman Kennke <kennke@aicas.com>
32954 * javax/swing/text/PasswordView.java
32955 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32957 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32960 2006-01-31 Roman Kennke <kennke@aicas.com>
32962 * javax/swing/JTextField.java
32963 (getPreferredSize): Also include textfield's insets in width
32966 2006-01-31 Roman Kennke <kennke@aicas.com>
32968 * javax/swing/plaf/basic/BasicTextUI.java
32969 (getPreferredSize): Include the textcomponent's insets in
32972 2006-01-31 Roman Kennke <kennke@aicas.com>
32974 * javax/swing/table/DefaultTableCellRenderer.java
32975 (getTableCellRendererComponent): Moved setting of the value into
32976 setValue(). Removed (bogus) special handling of JTextField values.
32977 (setValue): Made ?: statement more clear by rewriting it
32980 2006-01-31 Roman Kennke <kennke@aicas.com>
32982 * javax/swing/JLayeredPane.java
32983 (insertIndexForLayer): Fixed algorithm to correctly determine
32984 inser index for positions >= 0.
32985 (addImpl): Fixed API docs for the index parameter.
32987 2006-01-31 Mark Wielaard <mark@klomp.org>
32989 * java/net/URI.java (getURIGroup): Check for null to see whether
32990 group actually exists.
32992 2006-01-31 Lillian Angel <langel@redhat.com>
32994 * javax/swing/text/DefaultStyledDocument.java
32995 (changeUpdate): Fixed calls to split to incorporate
32997 (insertParagraph): Likewise. Uses 0 as editIndex
32998 because inserting into a new paragraph.
32999 (insertContentTag): Fixed check to use
33000 recreateLeaves. Added a FIXME comment.
33001 (split): Added a new parameter for edits.
33003 2006-01-31 Roman Kennke <kennke@aicas.com>
33005 * javax/swing/plaf/basic/BasicRootPaneUI.java
33006 (installDefaults): Don't install a background color here.
33008 2006-01-31 Lillian Angel <langel@redhat.com>
33010 * javax/swing/text/DefaultStyledDocument.java
33011 (insert): Removed comment.
33012 (insertUpdate): Added comment.
33013 (recreateLeaves): Removed call to push newBranch onto the
33014 stack. This does not need to be done here.
33016 2006-01-31 Chris Burdess <dog@gnu.org>
33018 * gnu/xml/stream/SAXParser.java,
33019 gnu/xml/stream/UnicodeReader.java,
33020 gnu/xml/stream/XIncludeFilter.java,
33021 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33022 only resolved the system ID not the stream. Make some utility methods
33023 public and static for use by other private XML APIs.
33024 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33025 called without throwing IllegalStateException.
33026 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33029 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33032 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33033 for an invalid index and return null for a skipped group.
33035 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33038 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33039 (NamedProperty): New inner class.
33040 (getNamedProperty): New method.
33041 (getRETokenNamedProperty): New Method.
33042 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33043 * gnu/regexp/RETokenNamedProperty.java: New file.
33045 2006-01-31 Roman Kennke <kennke@aicas.com>
33047 * javax/swing/plaf/PlainView.java
33048 (paint): Call drawLine with baseline coordinates.
33049 (drawLine): Documented and indented this method.
33050 (drawUnselecetedText): Documented and indented this method.
33051 * javax/swing/plaf/text/Utilites.java
33052 (drawTabbedText): The coordinates denote the baseline of the text
33053 not the upper left corner.
33055 2006-01-31 Roman Kennke <kennke@aicas.com>
33057 * javax/swing/plaf/basic/BasicTextUI.java
33058 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33059 UIManager. Added FIXME regarding the implementation of this method.
33061 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33063 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33064 (ButtonDemo): Move content initialisation to new method,
33065 (initFrameContent): New method,
33066 (main): Call initFrameContent(),
33067 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33068 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33069 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33070 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33071 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33073 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33075 * examples/gnu/classpath/examples/swing/Demo.java
33076 (Demo): Set frame size,
33077 (mkButtonBar): Removed stacked sub-panels.
33079 2006-01-30 Lillian Angel <langel@redhat.com>
33081 * javax/swing/text/DefaultStyledDocument.java:
33083 (insert): Initialized fields. Removed call to addEdit,
33084 and created ElementEdit instead.
33085 (insertUpdate): Added check for fracturing. If the
33086 fracturing was not successful, we should push the
33087 last element back on the stack.
33088 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33089 Also, changed replace calls to use Edit.
33090 (insertFirstContentTag): Removed unneeded check and fixed call
33092 (insertContent): Fixed check to use new fields. Added code in
33093 to check if leaves overlap.
33094 (createFracture): Fixed call to recreateLeaves.
33095 (recreateLeaves): Fixed code and cleaned it up a bit.
33096 (insertFracture): Set fracNotCreated field.
33097 (addEdit): Removed, this method is not needed.
33099 2006-01-30 Roman Kennke <kennke@aicas.com>
33101 * javax/swing/JRootPane.java
33102 (RootLayout.prefSize): Removed caching for preferredSize.
33103 (RootLayout.invalidateLayout): Likewise.
33104 (RootLayout.preferredLayoutSize): Likewise.
33106 2006-01-30 Roman Kennke <kennke@aicas.com>
33109 * javax/swing/JFrame.java
33110 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33111 * javax/swing/plaf/metal/MetalRootPaneUI.java
33112 (MetalFrameBorder): New inner class, provides the border for
33113 top level containers with L&F decorations.
33114 (MetalTitlePane): New inner class, provides the title pane for
33115 top level containers with L&F decorations.
33116 (MetalRootLayout): New inner class. Used to layout the root pane
33117 when L&F window decorations are enabled.
33118 (installUI): New method. Handles window decorations.
33119 (uninstallUI): New method. Handles window decorations.
33120 (propertyChange): Handles window decorations.
33121 (installWindowDecorations): New method. Handles window
33123 (uninstallWindowDecorations): New method. Handles window
33125 * javax/swing/plaf/metal/MetalLookAndFeel.java
33126 (getSupportsWindowDecorations): Overridden to return true.
33128 2006-01-30 Mark Wielaard <mark@klomp.org>
33130 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33131 IllegalArgumentException when orientation is illegal.
33132 (JProgressBar(int, int, int)): Likewise and throw exception.
33133 (setOrientation): Likewise.
33135 2006-01-30 Roman Kennke <kennke@aicas.com>
33137 * javax/swing/ViewportLayout.java
33138 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33140 2006-01-30 Mark Wielaard <mark@klomp.org>
33142 * javax/swing/JProgressBar.java (orientation): Always set by
33144 (JProgressBar(int)): Document default on 'illegal' value.
33145 (JProgressBar(int, int, int)): Likewise and set orientation to
33146 HORIZONTAL when 'illegal'.
33147 (setOrientation): Likewise.
33149 2006-01-30 Roman Kennke <kennke@aicas.com>
33151 * javax/swing/plaf/basic/BasicListUI.java
33152 (ListDataHandler.contentsChanged): Update the
33153 updateLayoutStateNeeded flag.
33154 (ListDataHandler.intervalAdded): Update the
33155 updateLayoutStateNeeded flag.
33156 (ListDataHandler.intervalRemoved): Update the
33157 updateLayoutStateNeeded flag.
33158 (PropertyChangeHandler.propertyChange): Correctly update the
33159 listeners on new list model.
33160 (maybeUpdateLayoutState): Don't consider the validation state
33163 2006-01-30 Mark Wielaard <mark@klomp.org>
33165 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33168 2006-01-30 Roman Kennke <kennke@aicas.com>
33170 * javax/swing/JLayeredPane.java
33171 (insertIndexForLayer): Fixed algorithm to correctly insert
33172 components within different layers and -1 position.
33174 2006-01-30 Mark Wielaard <mark@klomp.org>
33176 * doc/api/Makefile.am (create_html): Add -validhtml.
33178 2006-01-30 Roman Kennke <kennke@aicas.com>
33180 * javax/swing/JLayeredPane.java
33181 (insertIndexForLayer): Fixed algorithm to correctly insert
33182 components within same layer and -1 position.
33184 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33187 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33188 New execution flag.
33189 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33190 implicit RETokenEnd at the end of the regexp chain.
33191 Do not select the longest match, but select the first match.
33192 (match): Do not take care of REMatch.empty.
33193 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33194 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33195 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33196 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33197 Do not take care of REMatch.empty. Set and check REMatch.empty
33198 when trying to match the single token.
33200 2006-01-30 Mark Wielaard <mark@klomp.org>
33202 * java/awt/Cursor.java (toString): Include name and type.
33204 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33206 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33208 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33210 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33213 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33214 Consider the validation state of the list.
33216 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33218 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33220 * java/beans/XMLDecoder.java:
33221 (setExceptionListener): Use shared DefaultExceptionListener
33223 * java/beans/Encoder.java:
33224 (setExceptionListener): Use shared DefaultExceptionListener
33227 2006-01-29 Roman Kennke <kennke@aicas.com>
33229 * javax/swing/ScrollPaneLayout.java
33230 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33232 2006-01-29 Mark Wielaard <mark@klomp.org>
33234 * java/net/SocketPermission.java (setActions): Trim and lower case
33237 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33239 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33240 incorrectly failing primality test for some known primes. Fixed.
33241 (passFermatLittleTheorem): Removed.
33242 (passMillerRabin): Removed.
33243 (isProbablePrime): Cache primes that pass the primality tests.
33244 Use BigInteger.isProbablePrime(int) for primality tests.
33245 (debugBI): New static debugging method.
33247 2006-01-28 Roman Kennke <kennke@aicas.com>
33249 * javax/swing/plaf/basic/BasicListUI.java
33250 (updateLayoutState): Removed unneeded special case for VERTICAL.
33252 2006-01-28 Roman Kennke <kennke@aicas.com>
33254 * javax/swing/plaf/basic/BasicListUI.java
33255 (getCellBounds): Determine correct list width when having a
33256 layoutOrientation of VERTICAL.
33257 (maybeUpdateLayoutState): Don't consider the validation state of
33260 2006-01-28 Mark Wielaard <mark@klomp.org>
33262 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33263 * java/awt/print/NoPrinterJob.java: New (fake) class.
33264 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33266 2006-01-28 Mark Wielaard <mark@klomp.org>
33268 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33270 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33272 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33273 (addChildren): New method.
33275 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33277 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33278 constructor for cloning purposes.
33279 (clone): New implementation that ensures cloning.
33280 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33281 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33284 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33286 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33287 Call updateCurrentVisiblePath.
33289 2006-01-27 Roman Kennke <kennke@aicas.com>
33291 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33293 2006-01-27 Roman Kennke <kennke@aicas.com>
33295 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33296 (createContent): Only create new content if we don't have one
33298 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33299 (createContent): Only create new content if we don't have one
33301 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33302 (createContent): Only create new content if we don't have one
33304 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33305 (createContent): Only create new content if we don't have one
33307 * examples/gnu/classpath/examples/swing/SliderDemo.java
33308 (createContent): Only create new content if we don't have one
33310 * examples/gnu/classpath/examples/swing/TableDemo.java
33311 (createContent): Only create new content if we don't have one
33313 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33314 (createContent): Only create new content if we don't have one
33317 2006-01-27 Lillian Angel <langel@redhat.com>
33319 * javax/swing/text/DefaultStyledDocument.java
33320 (insertFirstContentTag): Removed check, not needed. This
33321 still needs to be fixed for some cases. Added call to
33323 (createFracture): Added call to recreateLeaves.
33324 (recreateLeaves): New method used to recreate all the
33325 leaves after the initial insertion. This still needs
33327 (handleInsertAfterNewline): Removed else, not needed.
33329 2006-01-27 Roman Kennke <kennke@aicas.com>
33331 * javax/swing/JLayeredPane.java
33332 (inserIndexForLayer): Fixed direction of search.
33334 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33336 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33337 node into nodeStates.
33339 2006-01-27 Roman Kennke <kennke@aicas.com>
33341 * javax/swing/JLayeredPane.java
33342 (FRAME_CONTENT_LAYER): Made field final.
33343 (componentToLayer): Made field private.
33344 (rectCache): Removed field.
33345 (layers): Removed field.
33346 (JLayeredPane()): Removed initialization of removed fields.
33347 (getLayer): Rewritten to make use of client properties in
33348 JComponents and to be more straighforward.
33349 (static getLayer): Rewritten to make use of client properties in
33351 (layerToRange): Removed method.
33352 (incrLayer): Removed method.
33353 (decrLayer): Removed method.
33354 (highestLayer): Rewritten to be more straightforward.
33355 (lowestLayer): Rewritten to be more straightforward.
33356 (getPosition): Rewritten to be more straightforward.
33357 (getComponentsInLayer): Rewritten to be more straightforward.
33358 (getComponentCountInLayer): Rewritten to be more straightforward.
33359 (getIndexOf): Rewritten to be more straightforward.
33360 (inserIndexForLayer): Rewritten to be more straightforward.
33361 (remove): Rewritten to be more straightforward.
33362 (setLayer): Rewritten to be more straightforward.
33363 (addImpl): Rewritten to be more straightforward.
33364 (putLayer): Rewritten to be more straightforward.
33366 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33368 * java/lang/Character.java:
33369 (offsetByCodePoints(CharSequence, int, int)): New API method.
33370 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33371 (toChars): Throw the Exception that the docs say we throw.
33372 (codePointAt): Fixed an off-by-one error in the bounds of the if
33374 * java/lang/String.java:
33375 (String(int[], int, int)): New API constructor.
33377 2006-01-27 Lillian Angel <langel@redhat.com>
33379 * javax/swing/text/DefaultStyledDocument.java
33380 (insert): Moved this loop to insertUpdate.
33381 (insertUpdate): Likewise. Fixed variable
33382 names. Incremented pos if new paragraph
33384 (split): Changed edits to use replace instead. Prevents
33386 (insertFirstContentTag): Removed else.
33387 (insertContentTag): Implemented else for JoinNextDirection.
33388 (createFracture): Fixed up code, still not fully complete.
33389 (insertFracture): Fixed to use return value from
33390 recreateAfterFracture.
33391 (recreateAfterFracture): Changed to return an array of the
33392 elements to be added. This prevents an assertion error.
33393 (contains): New function checks if an element is already in
33394 the Vector. Vector's contain function was not enough to use.
33395 (addAddedElement): Changed to use new contains function.
33396 (addAddedElements): Likewise.
33397 (addRemovedElement): Likewise.
33398 (addRemovedElements): Likewise.
33400 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33403 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33404 If no user class loaders found on the stack, return the thread
33405 context class loader. (currentClassLoader): Explained.
33407 2006-01-27 Roman Kennke <kennke@aicas.com>
33409 * java/awt/Container.java
33410 (swapComponents): Removed unspecified method.
33411 * javax/swing/JLayeredPane.java
33412 (setPosition): Reimplemented correctly.
33413 (swapComponents): New helper method.
33415 2006-01-27 Mark Wielaard <mark@klomp.org>
33417 * configure.ac: Set version to 0.21-pre.
33419 2006-01-27 Roman Kennke <kennke@aicas.com>
33422 * javax/swing/JComponent.java
33423 (findOverlapFreeParent): Improved the algorithm to make better use
33424 of the optimizedDrawingEnabled flag.
33425 * javax/swing/JLayeredPane.java
33426 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33427 * javax/swing/JViewport.java
33428 (computeBlit): Fixed check to decide if blitting is possible or not,
33429 so that it doesn't blit if nothing was scrolled (in order to
33430 update the buffer when the view updates itself).
33432 2006-01-27 Roman Kennke <kennke@aicas.com>
33434 * javax/swing/plaf/metal/MetalFileChooserUI.java
33435 (createList): Don't set scrollbar policy.
33437 2006-01-27 Roman Kennke <kennke@aicas.com>
33439 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33440 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33441 Fixed to also handle non-Swing toplevel containers.
33442 (PopupMenuHandler.popupMenuWillBecomeVisible):
33443 Fixed to also handle non-Swing toplevel containers.
33444 * javax/swing/Popup.java
33445 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33448 2006-01-27 Roman Kennke <kennke@aicas.com>
33450 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33451 (InternalFramePropertyChangeListener): Don't implement
33452 VetoableChangeListener.
33453 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33454 (internalFrameVetoableChangeListener): Removed unneeded field.
33455 (installListeners): Don't install vetoableChangeListener.
33456 * javax/swing/event/DocumentEvent.java
33457 (EventType): Made class final.
33459 2006-01-27 Roman Kennke <kennke@aicas.com>
33461 * javax/swing/SwingUtilities.java
33462 (calculateInsetArea): Removed unneeded method. The method
33463 calculateInnerArea has the same purpose and is actually specified.
33464 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33465 * javax/swing/plaf/basic/BasicMenuItemUI.java
33466 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33467 of SwingUtilities.calculateInsetArea().
33469 2006-01-27 Roman Kennke <kennke@aicas.com>
33471 * javax/swing/plaf/basic/BasicTreeUI.java
33472 (installDefaults): Removed requestFocusInWindow() call.
33473 * javax/swing/JComponent.java
33474 (requestFocusInWindow(boolean)): Made method protected.
33475 (printComponent): Made method protected.
33476 (printChildren): Made method protected.
33477 (printComponent): Made method protected.
33478 (printBorder): Made method protected.
33480 2006-01-27 Roman Kennke <kennke@aicas.com>
33482 * javax/swing/AbstractButton.java
33483 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33485 * javax/swing/ImageIcon.java
33486 (component): Made field final.
33487 (tracker): Made field final.
33488 * javax/swing/JApplet.java
33489 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33490 * javax/swing/JCheckBox.java
33491 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33493 * javax/swing/JDialog.java
33494 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33495 * javax/swing/JFrame.java
33496 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33497 * javax/swing/JLayeredPane.java
33498 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33500 (DEFAULT_LAYER): Made field final.
33501 (PALETTE_LAYER): Made field final.
33502 (MODAL_LAYER): Made field final.
33503 (POPUP_LAYER): Made field final.
33504 (DRAG_LAYER): Made field final.
33505 * javax/swing/JMenu.java
33506 (ActionChangeListener): Made class private.
33507 * javax/swing/JOptionPane.java
33508 (UNITITIALIZED_VALUE): Made field final.
33509 * javax/swing/JPanel.java
33510 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33511 * javax/swing/JPopupMenu.java
33512 (ActionChangeListener): Made class private.
33513 * javax/swing/JTree.java
33514 (paramString): Made method protected.
33515 * javax/swing/JViewport.java
33516 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33517 * javax/swing/JWindow.java
33518 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33519 * javax/swing/RepaintManager.java
33520 (RepaintWorker): Made class private.
33522 2006-01-27 Roman Kennke <kennke@aicas.com>
33524 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33525 (handleEvent): Removed debug statement.
33527 2006-01-27 Roman Kennke <kennke@aicas.com>
33529 * java/awt/Component.java
33530 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33531 more than it helps.
33533 2006-01-26 Lillian Angel <langel@redhat.com>
33535 * javax/swing/text/DefaultStyledDocument.java
33536 (createFracture): Commented out a known problem,
33539 2006-01-26 Lillian Angel <langel@redhat.com>
33541 * javax/swing/text/DefaultStyledDocument.java
33542 (ElementBuffer): Added fields.
33543 (remove): Initialized pos.
33544 (change): Likewise.
33545 (insert): Likewise.
33546 (insertUpdate): Incremented pos. Fixed check, createFracture should
33547 be called on first tag if it is not ContentType.
33548 (insertFirstContentTag): Reworked to use proper offsets and
33549 set offset accordingly. This might need more work in the future.
33550 (insertContentTag): Likewise. Fixed to use pos, instead of
33552 (createFracture): Fixed to recreate other leaves. Still needs
33554 (insertFracture): Reimplemented.
33555 (recreateAfterFracture): New method.
33556 (getParagraphElement): Reimplemented, more efficent.
33558 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33560 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33561 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33562 ordering for little-endian arms without VFP.
33564 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33567 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33569 2006-01-26 Mark Wielaard <mark@klomp.org>
33571 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33572 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33573 Add trailing zeros to the fraction of the decimal with the smallest
33576 2006-01-26 Roman Kennke <kennke@aicas.com>
33578 * javax/swing/text/html/ObjectView.java: New file.
33580 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33582 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33583 Call startEditing when appropriate.
33584 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33585 (startEditing): Always edit if directly ordered from
33586 MouseHandler.mousePressed.
33587 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33588 New field. (createTreeCellEditor): Set click count to start.
33589 (getTreeCellEditorComponent): Assing realEditor directly.
33591 2006-01-25 Casey Marshall <csm@gnu.org>
33593 Merging GNU Crypto and Jessie.
33595 * NEWS: mention the merge in the 0.21 notes.
33596 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33597 (SSL_RECORD_LAYER): new constants.
33598 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33600 * resource/java/security/classpath.security: add new providers.
33601 * gnu/javax/crypto/assembly/Assembly.java,
33602 gnu/javax/crypto/assembly/Cascade.java,
33603 gnu/javax/crypto/assembly/CascadeStage.java,
33604 gnu/javax/crypto/assembly/CascadeTransformer.java,
33605 gnu/javax/crypto/assembly/DeflateTransformer.java,
33606 gnu/javax/crypto/assembly/Direction.java,
33607 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33608 gnu/javax/crypto/assembly/ModeStage.java,
33609 gnu/javax/crypto/assembly/Operation.java,
33610 gnu/javax/crypto/assembly/PaddingTransformer.java,
33611 gnu/javax/crypto/assembly/Stage.java,
33612 gnu/javax/crypto/assembly/Transformer.java,
33613 gnu/javax/crypto/assembly/TransformerException.java,
33614 gnu/javax/crypto/cipher/Anubis.java,
33615 gnu/javax/crypto/cipher/BaseCipher.java,
33616 gnu/javax/crypto/cipher/Blowfish.java,
33617 gnu/javax/crypto/cipher/Cast5.java,
33618 gnu/javax/crypto/cipher/CipherFactory.java,
33619 gnu/javax/crypto/cipher/DES.java,
33620 gnu/javax/crypto/cipher/IBlockCipher.java,
33621 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33622 gnu/javax/crypto/cipher/Khazad.java,
33623 gnu/javax/crypto/cipher/NullCipher.java,
33624 gnu/javax/crypto/cipher/Rijndael.java,
33625 gnu/javax/crypto/cipher/Serpent.java,
33626 gnu/javax/crypto/cipher/Square.java,
33627 gnu/javax/crypto/cipher/TripleDES.java,
33628 gnu/javax/crypto/cipher/Twofish.java,
33629 gnu/javax/crypto/cipher/WeakKeyException.java,
33630 gnu/javax/crypto/jce/GnuCrypto.java,
33631 gnu/javax/crypto/jce/GnuSasl.java,
33632 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33633 gnu/javax/crypto/jce/cipher/AESSpi.java,
33634 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33635 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33636 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33637 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33638 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33639 gnu/javax/crypto/jce/cipher/DESSpi.java,
33640 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33641 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33642 gnu/javax/crypto/jce/cipher/PBES2.java,
33643 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33644 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33645 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33646 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33647 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33648 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33649 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33650 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33651 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33652 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33653 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33654 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33655 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33656 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33657 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33658 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33659 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33660 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33661 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33662 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33663 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33664 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33665 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33666 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33667 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33668 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33669 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33670 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33671 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33672 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33673 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33674 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33675 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33676 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33677 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33678 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33679 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33680 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33681 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33682 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33683 gnu/javax/crypto/jce/mac/MacAdapter.java,
33684 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33685 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33686 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33687 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33688 gnu/javax/crypto/jce/mac/OMacImpl.java,
33689 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33690 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33691 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33692 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33693 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33694 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33695 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33696 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33697 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33698 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33699 gnu/javax/crypto/jce/params/DEREncodingException.java,
33700 gnu/javax/crypto/jce/params/DERReader.java,
33701 gnu/javax/crypto/jce/params/DERWriter.java,
33702 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33703 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33704 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33705 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33706 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33707 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33708 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33709 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33710 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33711 gnu/javax/crypto/key/GnuSecretKey.java,
33712 gnu/javax/crypto/key/IKeyAgreementParty.java,
33713 gnu/javax/crypto/key/IncomingMessage.java,
33714 gnu/javax/crypto/key/KeyAgreementException.java,
33715 gnu/javax/crypto/key/KeyAgreementFactory.java,
33716 gnu/javax/crypto/key/OutgoingMessage.java,
33717 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33718 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33719 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33720 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33721 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33722 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33723 gnu/javax/crypto/key/dh/ElGamalSender.java,
33724 gnu/javax/crypto/key/dh/GnuDHKey.java,
33725 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33726 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33727 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33728 gnu/javax/crypto/key/dh/RFC2631.java,
33729 gnu/javax/crypto/key/srp6/SRP6Host.java,
33730 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33731 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33732 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33733 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33734 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33735 gnu/javax/crypto/key/srp6/SRP6User.java,
33736 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33737 gnu/javax/crypto/key/srp6/SRPKey.java,
33738 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33739 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33740 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33741 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33742 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33743 gnu/javax/crypto/keyring/BaseKeyring.java,
33744 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33745 gnu/javax/crypto/keyring/CertPathEntry.java,
33746 gnu/javax/crypto/keyring/CertificateEntry.java,
33747 gnu/javax/crypto/keyring/CompressedEntry.java,
33748 gnu/javax/crypto/keyring/EncryptedEntry.java,
33749 gnu/javax/crypto/keyring/Entry.java,
33750 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33751 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33752 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33753 gnu/javax/crypto/keyring/IKeyring.java,
33754 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33755 gnu/javax/crypto/keyring/IPublicKeyring.java,
33756 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33757 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33758 gnu/javax/crypto/keyring/MeteredInputStream.java,
33759 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33760 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33761 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33762 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33763 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33764 gnu/javax/crypto/keyring/Properties.java,
33765 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33766 gnu/javax/crypto/mac/BaseMac.java,
33767 gnu/javax/crypto/mac/HMac.java,
33768 gnu/javax/crypto/mac/HMacFactory.java,
33769 gnu/javax/crypto/mac/IMac.java,
33770 gnu/javax/crypto/mac/MacFactory.java,
33771 gnu/javax/crypto/mac/MacInputStream.java,
33772 gnu/javax/crypto/mac/MacOutputStream.java,
33773 gnu/javax/crypto/mac/OMAC.java,
33774 gnu/javax/crypto/mac/TMMH16.java,
33775 gnu/javax/crypto/mac/UHash32.java,
33776 gnu/javax/crypto/mac/UMac32.java,
33777 gnu/javax/crypto/mode/BaseMode.java,
33778 gnu/javax/crypto/mode/CBC.java,
33779 gnu/javax/crypto/mode/CFB.java,
33780 gnu/javax/crypto/mode/CTR.java,
33781 gnu/javax/crypto/mode/EAX.java,
33782 gnu/javax/crypto/mode/ECB.java,
33783 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33784 gnu/javax/crypto/mode/ICM.java,
33785 gnu/javax/crypto/mode/IMode.java,
33786 gnu/javax/crypto/mode/ModeFactory.java,
33787 gnu/javax/crypto/mode/OFB.java,
33788 gnu/javax/crypto/pad/BasePad.java,
33789 gnu/javax/crypto/pad/IPad.java,
33790 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33791 gnu/javax/crypto/pad/PKCS7.java,
33792 gnu/javax/crypto/pad/PadFactory.java,
33793 gnu/javax/crypto/pad/SSL3.java,
33794 gnu/javax/crypto/pad/TBC.java,
33795 gnu/javax/crypto/pad/TLS1.java,
33796 gnu/javax/crypto/pad/WrongPaddingException.java,
33797 gnu/javax/crypto/prng/ARCFour.java,
33798 gnu/javax/crypto/prng/CSPRNG.java,
33799 gnu/javax/crypto/prng/Fortuna.java,
33800 gnu/javax/crypto/prng/ICMGenerator.java,
33801 gnu/javax/crypto/prng/IPBE.java,
33802 gnu/javax/crypto/prng/PBKDF2.java,
33803 gnu/javax/crypto/prng/PRNGFactory.java,
33804 gnu/javax/crypto/prng/UMacGenerator.java,
33805 gnu/javax/crypto/sasl/AuthInfo.java,
33806 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33807 gnu/javax/crypto/sasl/ClientFactory.java,
33808 gnu/javax/crypto/sasl/ClientMechanism.java,
33809 gnu/javax/crypto/sasl/ConfidentialityException.java,
33810 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33811 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33812 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33813 gnu/javax/crypto/sasl/InputBuffer.java,
33814 gnu/javax/crypto/sasl/IntegrityException.java,
33815 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33816 gnu/javax/crypto/sasl/NoSuchUserException.java,
33817 gnu/javax/crypto/sasl/OutputBuffer.java,
33818 gnu/javax/crypto/sasl/SaslEncodingException.java,
33819 gnu/javax/crypto/sasl/SaslInputStream.java,
33820 gnu/javax/crypto/sasl/SaslOutputStream.java,
33821 gnu/javax/crypto/sasl/SaslUtil.java,
33822 gnu/javax/crypto/sasl/ServerFactory.java,
33823 gnu/javax/crypto/sasl/ServerMechanism.java,
33824 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33825 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33826 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33827 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33828 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33829 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33830 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33831 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33832 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33833 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33834 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33835 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33836 gnu/javax/crypto/sasl/plain/PlainClient.java,
33837 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33838 gnu/javax/crypto/sasl/plain/PlainServer.java,
33839 gnu/javax/crypto/sasl/srp/CALG.java,
33840 gnu/javax/crypto/sasl/srp/ClientStore.java,
33841 gnu/javax/crypto/sasl/srp/IALG.java,
33842 gnu/javax/crypto/sasl/srp/KDF.java,
33843 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33844 gnu/javax/crypto/sasl/srp/SRP.java,
33845 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33846 gnu/javax/crypto/sasl/srp/SRPClient.java,
33847 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33848 gnu/javax/crypto/sasl/srp/SRPServer.java,
33849 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33850 gnu/javax/crypto/sasl/srp/ServerStore.java,
33851 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33852 gnu/javax/net/ssl/Base64.java,
33853 gnu/javax/net/ssl/EntropySource.java,
33854 gnu/javax/net/ssl/NullManagerParameters.java,
33855 gnu/javax/net/ssl/PrivateCredentials.java,
33856 gnu/javax/net/ssl/SRPManagerParameters.java,
33857 gnu/javax/net/ssl/SRPTrustManager.java,
33858 gnu/javax/net/ssl/StaticTrustAnchors.java,
33859 gnu/javax/net/ssl/provider/Alert.java,
33860 gnu/javax/net/ssl/provider/AlertException.java,
33861 gnu/javax/net/ssl/provider/Certificate.java,
33862 gnu/javax/net/ssl/provider/CertificateRequest.java,
33863 gnu/javax/net/ssl/provider/CertificateType.java,
33864 gnu/javax/net/ssl/provider/CertificateVerify.java,
33865 gnu/javax/net/ssl/provider/CipherSuite.java,
33866 gnu/javax/net/ssl/provider/ClientHello.java,
33867 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33868 gnu/javax/net/ssl/provider/CompressionMethod.java,
33869 gnu/javax/net/ssl/provider/Constructed.java,
33870 gnu/javax/net/ssl/provider/ContentType.java,
33871 gnu/javax/net/ssl/provider/Context.java,
33872 gnu/javax/net/ssl/provider/DiffieHellman.java,
33873 gnu/javax/net/ssl/provider/DigestInputStream.java,
33874 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33875 gnu/javax/net/ssl/provider/Enumerated.java,
33876 gnu/javax/net/ssl/provider/Extension.java,
33877 gnu/javax/net/ssl/provider/Extensions.java,
33878 gnu/javax/net/ssl/provider/Finished.java,
33879 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33880 gnu/javax/net/ssl/provider/Handshake.java,
33881 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33882 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33883 gnu/javax/net/ssl/provider/Jessie.java,
33884 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33885 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33886 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33887 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33888 gnu/javax/net/ssl/provider/KeyPool.java,
33889 gnu/javax/net/ssl/provider/MacException.java,
33890 gnu/javax/net/ssl/provider/OverflowException.java,
33891 gnu/javax/net/ssl/provider/PRNG.java,
33892 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33893 gnu/javax/net/ssl/provider/Random.java,
33894 gnu/javax/net/ssl/provider/RecordInput.java,
33895 gnu/javax/net/ssl/provider/RecordInputStream.java,
33896 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33897 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33898 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33899 gnu/javax/net/ssl/provider/SSLHMac.java,
33900 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33901 gnu/javax/net/ssl/provider/SSLRandom.java,
33902 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33903 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33904 gnu/javax/net/ssl/provider/SSLSocket.java,
33905 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33906 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33907 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33908 gnu/javax/net/ssl/provider/SecurityParameters.java,
33909 gnu/javax/net/ssl/provider/ServerHello.java,
33910 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33911 gnu/javax/net/ssl/provider/Session.java,
33912 gnu/javax/net/ssl/provider/SessionContext.java,
33913 gnu/javax/net/ssl/provider/Signature.java,
33914 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33915 gnu/javax/net/ssl/provider/TLSHMac.java,
33916 gnu/javax/net/ssl/provider/TLSRandom.java,
33917 gnu/javax/net/ssl/provider/Util.java,
33918 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33919 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33920 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33921 gnu/javax/security/auth/Password.java,
33922 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33923 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33924 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33925 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33926 gnu/javax/security/auth/callback/GnuCallbacks.java,
33927 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33928 gnu/java/security/Registry.java,
33929 gnu/java/security/Properties.java,
33930 gnu/java/security/hash/BaseHash.java,
33931 gnu/java/security/hash/HashFactory.java,
33932 gnu/java/security/hash/Haval.java,
33933 gnu/java/security/hash/IMessageDigest.java,
33934 gnu/java/security/hash/MD2.java,
33935 gnu/java/security/hash/MD4.java,
33936 gnu/java/security/hash/MD5.java,
33937 gnu/java/security/hash/RipeMD128.java,
33938 gnu/java/security/hash/RipeMD160.java,
33939 gnu/java/security/hash/Sha160.java,
33940 gnu/java/security/hash/Sha256.java,
33941 gnu/java/security/hash/Sha384.java,
33942 gnu/java/security/hash/Sha512.java,
33943 gnu/java/security/hash/Tiger.java,
33944 gnu/java/security/hash/Whirlpool.java,
33945 gnu/java/security/jce/hash/HavalSpi.java,
33946 gnu/java/security/jce/hash/MD2Spi.java,
33947 gnu/java/security/jce/hash/MD4Spi.java,
33948 gnu/java/security/jce/hash/MD5Spi.java,
33949 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33950 gnu/java/security/jce/hash/RipeMD128Spi.java,
33951 gnu/java/security/jce/hash/RipeMD160Spi.java,
33952 gnu/java/security/jce/hash/Sha160Spi.java,
33953 gnu/java/security/jce/hash/Sha256Spi.java,
33954 gnu/java/security/jce/hash/Sha384Spi.java,
33955 gnu/java/security/jce/hash/Sha512Spi.java,
33956 gnu/java/security/jce/hash/TigerSpi.java,
33957 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33958 gnu/java/security/jce/prng/HavalRandomSpi.java,
33959 gnu/java/security/jce/prng/MD2RandomSpi.java,
33960 gnu/java/security/jce/prng/MD4RandomSpi.java,
33961 gnu/java/security/jce/prng/MD5RandomSpi.java,
33962 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33963 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33964 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33965 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33966 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33967 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33968 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33969 gnu/java/security/jce/prng/TigerRandomSpi.java,
33970 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33971 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33972 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33973 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33974 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33975 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33976 gnu/java/security/jce/sig/SignatureAdapter.java,
33977 gnu/java/security/key/IKeyPairCodec.java,
33978 gnu/java/security/key/IKeyPairGenerator.java,
33979 gnu/java/security/key/KeyPairCodecFactory.java,
33980 gnu/java/security/key/KeyPairGeneratorFactory.java,
33981 gnu/java/security/key/dss/DSSKey.java,
33982 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33983 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33984 gnu/java/security/key/dss/DSSPrivateKey.java,
33985 gnu/java/security/key/dss/DSSPublicKey.java,
33986 gnu/java/security/key/dss/FIPS186.java,
33987 gnu/java/security/key/rsa/GnuRSAKey.java,
33988 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33989 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33990 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33991 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33992 gnu/java/security/prng/BasePRNG.java,
33993 gnu/java/security/prng/EntropySource.java,
33994 gnu/java/security/prng/IRandom.java,
33995 gnu/java/security/prng/LimitReachedException.java,
33996 gnu/java/security/prng/MDGenerator.java,
33997 gnu/java/security/prng/PRNGFactory.java,
33998 gnu/java/security/prng/RandomEvent.java,
33999 gnu/java/security/prng/RandomEventListener.java,
34000 gnu/java/security/sig/BaseSignature.java,
34001 gnu/java/security/sig/ISignature.java,
34002 gnu/java/security/sig/ISignatureCodec.java,
34003 gnu/java/security/sig/SignatureFactory.java,
34004 gnu/java/security/sig/dss/DSSSignature.java,
34005 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34006 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34007 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34008 gnu/java/security/sig/rsa/EMSA_PSS.java,
34009 gnu/java/security/sig/rsa/RSA.java,
34010 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34011 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34012 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34013 gnu/java/security/util/Base64.java,
34014 gnu/java/security/util/ExpirableObject.java,
34015 gnu/java/security/util/Prime2.java,
34016 gnu/java/security/util/Sequence.java,
34017 gnu/java/security/util/SimpleList.java,
34018 gnu/java/security/util/Util.java,
34019 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34020 new files imported from GNU Crypto and Jessie.
34022 2006-01-25 Tom Tromey <tromey@redhat.com>
34024 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34025 Fixed calculation of number of bytes to read.
34026 (size, count, meta, eof): Document.
34028 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34030 * java/lang/Character.java:
34031 (codePointCount(char[], int, int)): New API method.
34032 (codePointCount(CharSequence, int, int)): Likewise.
34034 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34037 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34039 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34040 action if not editing.
34041 * javax/swing/plaf/basic/BasicTreeUI.java
34042 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34043 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34044 (EditorUpdateTimer): Removed.
34045 (TreeAction.actionPerformed): Stop and not cancel the current editing
34046 when starting editing another node.
34047 (editorTimer, newVal): Removed.
34048 (cancelEditing): Do not send the cancel message.
34049 (completeEditing): Obtain the edited value from the editor.
34050 (finish): New method.
34051 (paintRow): Do not paint the editing component here.
34052 (startEditing, stopEditing): Rewritten.
34053 * javax/swing/tree/DefaultTreeCellEditor.java
34054 (DefaultTextField): Added SVUID.
34055 (EditorContainer): Rewritten.
34056 (RealEditorListener): New inner class.
34057 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34058 (constructor): Add cell editor listener. Do not instantiate timer.
34059 (actionPerformed): Return without action.
34060 (cancelCellEditing): Rewritten.
34061 (createTreeCellEditor): Add cell editor listener to the editor.
34062 (getCellEditorValue): Request the value from the realEditor.
34063 (isCellEditable): Removed timer management.
34064 (prepareForEditing): Remove all components befor adding the
34066 (startEditingTimer): Start only if it is not null.
34067 (stopCellEditing): Rewritten.
34068 (stopEditingTimer): New method.
34069 (valueChanged): Do not configure editing component here.
34071 2006-01-25 Roman Kennke <kennke@aicas.com>
34073 * javax/swing/text/html/FormView.java: New file.
34075 2006-01-25 Roman Kennke <kennke@aicas.com>
34077 * javax/swing/JSplitPane.java
34078 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34079 has been set in order to set an initial layout.
34080 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34081 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34082 layout of the right component.
34083 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34084 dividerLocation to the size of the left component.
34085 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34087 (setDividerLocation): Don't validate the location here. Sometimes
34088 the divider needs to be set to an invalid location.
34089 (startDragging): Don't revalidate and repaint here.
34090 (finishDraggingTo): Don't repaint here. Also, don't call
34091 dragDividerTo() here.
34092 * javax/swing/plaf/basic/BasicLookAndFeel.java
34093 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34096 2006-01-25 Roman Kennke <kennke@aicas.com>
34098 * javax/swing/JSplitPane.java
34099 (addImpl): Removed invalidate() and layout() call.
34100 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34101 (PropertyHandler.propertyChange): Remove layoutContainer() and
34104 2006-01-25 Roman Kennke <kennke@aicas.com>
34107 * native/Makefile.am
34108 * native/jni/classpath/Makefile.am
34109 * native/jni/classpath/jcl.c
34110 * native/jni/classpath/jcl.h
34111 * native/jni/classpath/native_state.c
34112 * native/jni/gtk-peer/Makefile.am
34113 * native/jni/java-io/Makefile.am
34114 * native/jni/java-io/java_io_VMFile.c
34115 * native/jni/java-io/java_io_VMObjectStreamClass.c
34116 * native/jni/java-lang/Makefile.am
34117 * native/jni/java-net/Makefile.am
34118 * native/jni/java-net/java_net_VMInetAddress.c
34119 * native/jni/java-net/javanet.c
34120 * native/jni/java-net/javanet.h
34121 * native/jni/java-nio/Makefile.am
34122 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34123 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34124 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34125 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34126 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34127 * native/jni/java-util/Makefile.am
34128 * native/jni/java-util/java_util_VMTimeZone.c
34129 * native/jni/midi-dssi/Makefile.am
34130 * native/jni/xmlj/Makefile.am
34131 * native/target/Makefile.am
34132 * native/target/Linux/target_native_math.h
34133 * native/target/Linux/target_native_memory.h
34134 * native/target/Linux/Makefile.am
34135 * native/target/Linux/target_native_io.h
34136 * native/target/Linux/target_native_math_float.h
34137 * native/target/Linux/target_native_math_int.h
34138 * native/target/generic/target_generic.c
34139 * native/target/generic/target_generic_io.c
34140 * native/target/generic/target_generic_math.h
34141 * native/target/generic/target_generic_memory.h
34142 * native/target/generic/target_generic_misc.c
34143 * native/target/generic/target_generic_network.c
34144 * native/target/generic/Makefile.am
34145 * native/target/generic/target_generic.h
34146 * native/target/generic/target_generic_file.h
34147 * native/target/generic/target_generic_io.h
34148 * native/target/generic/target_generic_math_float.h
34149 * native/target/generic/target_generic_math_int.h
34150 * native/target/generic/target_generic_misc.h
34151 * native/target/generic/target_generic_network.h:
34152 Reverted target native related changes back to the state of the
34154 * native/target/MinGW/.cvsignore
34155 * native/target/MinGW/Makefile.am
34156 * native/target/MinGW/target_native.h
34157 * native/target/MinGW/target_native_file.h
34158 * native/target/MinGW/target_native_io.h
34159 * native/target/MinGW/target_native_math.h
34160 * native/target/MinGW/target_native_memory.h
34161 * native/target/MinGW/target_native_misc.h
34162 * native/target/MinGW/target_native_network.h
34163 * native/target/RTEMS/.cvsignore
34164 * native/target/RTEMS/Makefile.am
34165 * native/target/RTEMS/target_native.h
34166 * native/target/RTEMS/target_native_file.h
34167 * native/target/RTEMS/target_native_io.h
34168 * native/target/RTEMS/target_native_math.h
34169 * native/target/RTEMS/target_native_memory.h
34170 * native/target/RTEMS/target_native_misc.h
34171 * native/target/RTEMS/target_native_network.h
34172 * native/target/SunOS/.cvsignore
34173 * native/target/SunOS/Makefile.am
34174 * native/target/SunOS/target_native.h
34175 * native/target/SunOS/target_native_file.h
34176 * native/target/SunOS/target_native_io.h
34177 * native/target/SunOS/target_native_math.h
34178 * native/target/SunOS/target_native_memory.h
34179 * native/target/SunOS/target_native_misc.h
34180 * native/target/SunOS/target_native_network.h
34181 * native/target/embOS/.cvsignore
34182 * native/target/embOS/Makefile.am
34183 * native/target/embOS/target_native.h
34184 * native/target/embOS/target_native_file.h
34185 * native/target/embOS/target_native_io.c
34186 * native/target/embOS/target_native_io.h
34187 * native/target/embOS/target_native_math.h
34188 * native/target/embOS/target_native_memory.h
34189 * native/target/embOS/target_native_misc.h
34190 * native/target/embOS/target_native_network.h
34191 * native/target/posix/.cvsignore
34192 * native/target/posix/Makefile.am
34193 * native/target/posix/target_posix.c
34194 * native/target/posix/target_posix.h
34195 * native/target/posix/target_posix_file.c
34196 * native/target/posix/target_posix_file.h
34197 * native/target/posix/target_posix_io.c
34198 * native/target/posix/target_posix_io.h
34199 * native/target/posix/target_posix_math.c
34200 * native/target/posix/target_posix_math.h
34201 * native/target/posix/target_posix_memory.c
34202 * native/target/posix/target_posix_memory.h
34203 * native/target/posix/target_posix_misc.c
34204 * native/target/posix/target_posix_misc.h
34205 * native/target/posix/target_posix_network.c
34206 * native/target/posix/target_posix_network.h:
34209 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34211 * javax/print/PrintService.java,
34212 * javax/print/DocPrintJob.java,
34213 * javax/print/CancelablePrintJob.java:
34214 Added and enhanced api documentation for class and methods.
34216 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34218 * javax/print/SimpleDoc.java: Make class final.
34219 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34220 * javax/print/attribute/DateTimeSyntax.java:
34221 (toString): New overridden method.
34222 * javax/print/attribute/standard/JobStateReasons.java:
34223 (add): Use the super.add method to avoid recursion.
34224 * javax/print/attribute/standard/PrinterStateReasons.java:
34225 (put): Use the super.put method to avoid recursion.
34227 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34229 * java/beans/XMLEncoder.java:
34230 (writeExpression): Added early return (fixes PR #25941).
34231 (setExceptionListener, anonymous Class): Removed printStackTrace
34233 * java/beans/Encoder: Removed unused imports.
34234 (setupDefaultPersistenceDelegates): Removed unneccessary
34235 PersistenceDelegates for subclasses.
34236 * java/beans/PersistenceDelegate:
34237 (initialize): Use local variable as first argument as it was
34239 * java/beans/DefaultPersistenceDelegate:
34240 (initialize): Added call to superclass' implementation, added
34243 2006-01-24 Tom Tromey <tromey@redhat.com>
34245 * java/util/regex/PatternSyntaxException.java: Added @since.
34246 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34247 * java/util/regex/MatchResult.java: New file.
34249 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34251 * javax/swing/text/StringContent.java: Added API docs all over, plus
34252 minor reformatting.
34254 2006-01-24 Gary Benson <gbenson@redhat.com>
34256 * java/net/SocketPermission.java: Implemented serialization.
34258 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34260 * javax/swing/text/StringContent.java
34261 (remove): Modified argument check to prevent removal of last character,
34262 (getChars): Removed null argument check to allow NullPointerException,
34264 (checkLocation): Added API docs and white space.
34266 2006-01-23 Lillian Angel <langel@redhat.com>
34268 * javax/swing/text/DefaultStyledDocument.java
34269 (insertUpdate): Should only call createFracture with
34270 StartTagType. Added check.
34271 (insertContentTag): Should use the tags length for splitting.
34272 Also, added a check to determine if current's start and end offset are
34273 equal to the offset and endOffset. If so, only one leaf element
34275 (createFracture): Removed FIXME. This function is complete.
34276 (split): Added calls to replace. Changed so the child is
34277 added immediately to the paragraph. Prevents NPEs.
34279 2006-01-23 Mark Wielaard <mark@klomp.org>
34281 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34283 2006-01-23 Tom Tromey <tromey@redhat.com>
34285 * gnu/java/security/x509/X509Certificate.java (parse):
34286 Unconditionally read value; for version==1 case when reading
34289 2006-01-23 Roman Kennke <kennke@aicas.com>
34291 * javax/swing/plaf/synth/ColorType.java,
34292 * javax/swing/plaf/synth/Region.java,
34293 * javax/swing/plaf/synth/SynthConstants.java,
34294 * javax/swing/plaf/synth/SynthContext.java
34295 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34296 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34297 * javax/swing/plaf/synth/SynthPainter.java,
34298 * javax/swing/plaf/synth/SynthStyle.java,
34299 * javax/swing/plaf/synth/SynthStyleFactory.java,
34300 * javax/swing/plaf/synth/package.html:
34301 New files. Added the public API and framework classes for the
34302 Synth look and feel.
34304 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34306 * javax/swing/text/Segment.java: API docs all over.
34308 2006-01-23 Lillian Angel <langel@redhat.com>
34310 * javax/swing/text/DefaultStyledDocument.java
34311 (split): Should not use createLeafElement and createBranchElement here.
34312 We should just instaniate the LeafElements and BranchElements instead
34313 to avoid the case where create*Element is overridden.
34315 2006-01-23 Lillian Angel <langel@redhat.com>
34317 * javax/swing/text/DefaultStyledDocument.java
34318 (insertFirstContentTag): Moved check outside of if-statement.
34319 This should be checked before creating the new leaf element.
34320 (insertFracture): Fixed check to prevent an NPE. The previous
34321 leaf should only be recreated if it has been created by
34322 insertFirstContentTag. Also, fixed up code: if the endOffset is
34323 greater than the offset, then we need to create a temp leaf
34324 as a place holder. Otherwise, the leaf elements should be
34327 2006-01-23 Gary Benson <gbenson@redhat.com>
34329 * java/net/SocketPermission.java: Almost completely rewritten.
34331 2006-01-23 Lillian Angel <langel@redhat.com>
34333 * javax/swing/text/DefaultStyledDocument.java
34334 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34336 2006-01-23 Lillian Angel <langel@redhat.com>
34338 * javax/swing/text/DefaultStyledDocument.java:
34339 Formatted ElementBuffer and added new fields.
34340 (remove): Added check to determine if length is 0.
34341 (insertFirstContentTag): Initialized firstCreated to the element that is created
34342 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34343 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34344 that have been recreated.
34345 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34346 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34347 FIXME tags to the lines that need to be rewritten.
34349 2006-01-23 Mark Wielaard <mark@klomp.org>
34351 * examples/Makefile.am: Add support for fastjar.
34353 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34355 * gnu/regexp/REToken.java(empty): Made Cloneable.
34356 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34357 Use separate methods matchN and matchP depending on the
34359 (matchN): New method used when negative. Done as before.
34360 (matchP): New method used when not negative. Each token is
34361 tried not by itself but by a clone of it.
34363 2006-01-23 Chris Burdess <dog@gnu.org>
34366 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34367 class to avoid getLength method contention.
34368 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34370 2006-01-23 Chris Burdess <dog@gnu.org>
34372 * native/jni/java-util/Makefile.am: Include library required
34373 explicitly by BSD systems.
34374 * native/target/generic/target_generic_misc.h: Remove old commented
34376 * native/target/generic/target_generic_network.h: Fallbacks (to
34377 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34379 2006-01-22 Tom Tromey <tromey@redhat.com>
34381 * native/target/posix/.cvsignore: Added .deps.
34383 2006-01-22 Mark Wielaard <mark@klomp.org>
34386 reported by James Damour <James.Damour@corp.request.com>
34387 * java/awt/Container.java (addImpl): Use empty string as name when
34388 null constraints for LayoutManager.addLayoutComponent().
34390 2006-01-22 Chris Burdess <dog@gnu.org>
34393 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34394 representing current directory as base for relative URLs.
34396 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34399 * gnu/regexp/REMatch.java(empty): New boolean indicating
34400 an empty string matched.
34401 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34403 (initialize): Support back reference \10, \11, and so on.
34404 (parseInt): renamed from getEscapedChar and returns int.
34405 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34406 when an empty string matched. Fixed a bug of the case where
34407 an empty string matched. Added special handling of {0}.
34408 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34409 when an empty string matched. Fixed the case insensitive matching.
34411 2006-01-21 Roman Kennke <kennke@aicas.com>
34413 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34414 (paint): Added painting of border if one is installed.
34416 2006-01-21 Roman Kennke <kennke@aicas.com>
34418 PR classpath/25843:
34419 * javax/swing/plaf/basic/BasicBorders.java
34420 (getSplitPaneDividerBorder): Use new border constructor
34422 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34423 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34424 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34425 colors are fetched dynamically in the paintBorder method.
34426 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34428 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34430 * javax/swing/plaf/basic/BasicLookAndFeel.java
34431 (initComponentDefaults): Added default for SplitPaneDivider.border.
34432 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34433 (tmpBorder): Removed unneeded inner class.
34434 (BasicSplitPaneDivider): Removed setting of border.
34435 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34437 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34438 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34439 to get behaviour right.
34440 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34441 implementation. This must be rewritten since the layout now works
34442 slightly different (basically, it shouldn't modify the sizes[]
34443 here but instead the dividerLocation.
34444 (dividerLocation): New field.
34445 (installDefaults): Initialize border on divider.
34446 (uninstallDefaults): Only remove background color and border from
34447 splitPane if they are instances of UIDefaults (== not set by
34449 (setDividerLocation): Set the dividerLocation field instead of
34450 doing stunt acts here.
34451 (getDividerLocation): Return dividerLocation field.
34452 (getMinimumDividerLocation): Fixed calculation of minimum location.
34454 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34457 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34459 * lib/Makefile.am: Likewise.
34461 2006-01-21 Roman Kennke <kennke@aicas.com>
34463 * javax/swing/PopupFactory.java
34464 (getPopup): If there is no Swing root found in any way, use a
34465 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34466 for the Swing AWT peers.
34468 2006-01-20 Tom Tromey <tromey@redhat.com>
34470 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34471 Read response body for redirect.
34473 2006-01-20 Chris Burdess <dog@gnu.org>
34475 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34478 2006-01-20 Lillian Angel <langel@redhat.com>
34480 * javax/swing/text/DefaultStyledDocument.java
34481 (pad): Removed, not needed.
34482 (printElements): Likewise.
34483 (printEdit): Likewise.
34485 2006-01-20 Roman Kennke <kennke@aicas.com>
34487 * javax/swing/text/DefaultFormatter.java
34488 (DefaultFormatter): Don't set a value class.
34490 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34492 * javax/swing/DefaultCellEditor.java: Commented.
34494 2006-01-19 Roman Kennke <kennke@aicas.com>
34496 * javax/swing/JOptionPane.java
34497 Added cast to Frame for JDialog constructor.
34499 2006-01-19 Roman Kennke <kennke@aicas.com>
34501 * javax/swing/JWindow.java
34502 (JWindow(Window)): Fixed to accept null owner argument.
34503 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34505 * javax/swing/SwingUtilities.java
34506 (getOwnerFrame): Owner parameter and return value are fixed to
34507 be of type Window for compatibity with the above JWindow
34509 * javax/swing/JDialog.java
34510 (JDialog): Added cast to Frame to make sure the correct constructor
34512 * javax/swing/JFileChooser.java
34513 (createDialog): Added cast to Frame for JDialog constructor.
34515 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34517 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34519 2006-01-19 Roman Kennke <kennke@aicas.com>
34521 * javax/swing/JWindow.java: Added API docs to the constructors.
34523 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34525 * javax/swing/JTable.java: Commenting method headers.
34526 (EditorUpdateTimer): Removed.
34528 2006-01-19 Roman Kennke <kennke@aicas.com>
34530 * javax/swing/JDialog.java
34531 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34532 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34533 SwingUtilities.getOwnerFrame() with the owner argument.
34534 * javax/swing/JFileChooser.java
34535 (showOpenDialog(Component)): Call pack() on the dialog instead of
34536 setting a fixed height.
34537 (showSaveDialog()): Likewise.
34538 (showDialog()): Likewise.
34539 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34540 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34542 * javax/swing/JWindow.java
34543 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34544 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34546 * javax/swing/SwingUtilities.java
34547 (getOwnerFrame): Changed to take a owner parameter that is returned
34548 as owner frame when not null.
34550 2006-01-19 Roman Kennke <kennke@aicas.com>
34552 * gnu/java/awt/peer/swing/SwingFramePeer.java
34553 (handleMouseEvent): Fixed handling of mouse events.
34554 (handleMouseMotionEvent): Fixed handling of mouse events.
34556 2006-01-19 Roman Kennke <kennke@aicas.com>
34558 * native/target/generic/target_generic_misc.c:
34559 (targetGenericMisc_formatString): Added missing method.
34561 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34563 * m4/acinclude.m4: Test also for ecj found before exiting configure
34564 with no javac found error message.
34566 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34569 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34570 \0123, \x1B, \u1234.
34571 (getEscapedChar): New method.
34572 (CharExpression): New inner class.
34573 (getCharExpression): New Method.
34574 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34575 RE_UNICODE_CHAR): New syntax bits.
34577 2006-01-19 Roman Kennke <kennke@aicas.com>
34579 * native/target/Makefile.am: Fixed so that posix stuff is really
34580 only built when requested.
34582 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34584 * javax/swing/JTable.java (editingStopped, editingCancelled):
34585 Repaint the edited cell.
34586 (setValueAt): Do not add the value object to this container.
34587 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34588 (editingStopped): Use editingRow, editingColumn and not
34589 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34590 (doLayout): Move the editor component, if present, into the new
34591 location and call repaint(). (moveToCellBeingEdited): new method.
34592 (TableTextField): new inner class.
34593 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34594 (setValueAt): Repaint the changed segment.
34595 (createDefaultEditors): Implemented.
34596 (BooleanCellRenderer): Center the checkbox and use the default foreground
34597 and background colors.
34598 * javax/swing/plaf/basic/BasicTableUI.java
34599 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34600 (paint): No need to allocate rectangle for each cell.
34601 * javax/swing/DefaultCellEditor.java: Rewritten.
34602 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34603 Use TableDemo.java table example.
34604 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34606 2006-01-19 Roman Kennke <kennke@aicas.com>
34608 * configure.ac: Added/fixed --enable-posix-layer option to enable
34609 build of posix layer.
34610 * native/target/Makefile.am: Added build for posix layer.
34612 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34614 * configure.ac: Set TARGET to Linux per default.
34615 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34617 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34618 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34621 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34623 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34624 what looked like proprietary documentation with original or new one.
34625 * java/security/spec/PSSParameterSpec.java: Likewise.
34626 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34627 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34628 * java/security/AlgorithmParameterGenerator.java: Likewise.
34629 * java/security/AlgorithmParameters.java: Likewise.
34630 * java/security/Identity.java: Likewise.
34631 * java/security/IdentityScope.java: Likewise.
34632 * java/security/KeyFactory.java: Likewise.
34633 * java/security/KeyPairGenerator.java: Likewise.
34634 * java/security/MessageDigest.java: Likewise.
34635 * java/security/Policy.java: Likewise.
34636 * java/security/ProtectionDomain.java: Likewise.
34637 * java/security/Security.java: Likewise.
34638 * java/security/Signature.java: Likewise.
34639 * java/security/SignatureSpi.java: Likewise.
34640 * java/security/SignedObject.java: Likewise.
34641 * java/security/Signer.java: Likewise.
34643 2006-01-18 Roman Kennke <kennke@aicas.com>
34645 * configure.ac: Added --enable-posix-layer option to enable
34646 build of the posix target layer.
34648 2006-01-18 Roman Kennke <kennke@aicas.com>
34650 * native/jni/java-net/java_net_VMInetAddress.c
34651 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34654 2006-01-18 Roman Kennke <kennke@aicas.com>
34656 * native/jni/java-util/java_util_VMTimeZone.c:
34657 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34658 to use target native layer.
34659 (jint_to_charbuf): Removed unneeded helper function.
34661 2006-01-18 Roman Kennke <kennke@aicas.com>
34663 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34664 Removed unnecessary include.
34665 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34666 Reorganized includes to only include sys/* headers when available.
34667 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34668 (get_pagesize): Return 0 when nothing else works.
34669 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34670 Replaced munmap() and strerror() with corresponding target macros.
34671 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34672 Replaced strerror() with corresponding target macro.
34673 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34674 Replaced strerror() with corresponding target macro.
34675 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34676 (Java_java_nio_VMDirectByteBuffer_allocate):
34677 Replaced malloc() with the corresponding target macro.
34678 (Java_java_nio_VMDirectByteBuffer_free):
34679 Replaced free() with the corresponding target macro.
34680 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34681 Add index to pointer when assigning the value.
34682 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34683 Replaced memcpy with corresponding target macro. Add index when
34684 doing the memcpy, not when fetching the pointer.
34685 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34686 Replaced memcpy with corresponding target macro.
34687 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34688 Replaced memmove with the corresponding target macro.
34690 2006-01-17 Tom Tromey <tromey@redhat.com>
34692 PR classpath/20198:
34693 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34694 (JarURLLoader): Likewise.
34695 (addURLImpl): Canonicalize file URLs.
34697 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34699 * configure.ac: Set TARGET.
34700 * native/Makefile.am, native/jni/classpath/Makefile.am,
34701 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34702 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34703 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34704 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34705 native/target/Linux/Makefile.am,
34706 native/target/generic/Makefile.am,
34707 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34708 and target stuff linked in and link it against lib*.so libraries.
34710 2006-01-17 Roman Kennke <kennke@aicas.com>
34712 * native/jni/java-net/javanet.c:
34713 (_javanet_connect): Changed type of some local variables to jint.
34714 Fixed error handling to throw a SocketTimeoutException if the
34715 connection attempt times out.
34716 (_javanet_bind): Changed type of some local variables to jint.
34717 (_javanet_accept): Likewise.
34718 (_javanet_recvfrom): Likewise.
34719 (_javanet_sendto): Fixed error handling to throw a
34720 PortUnreachableException when connection is refused.
34721 (_javanet_get_option): Changed type of some local variables to jint.
34722 Implemented SOCKOPT_SO_BROADCAST.
34723 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34724 target native macro.
34725 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34726 target native macro.
34727 * native/jni/java-net/javanet.h:
34728 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34729 SOCKOPT_SO_BROADCAST.
34731 2006-01-17 Lillian Angel <langel@redhat.com>
34733 * javax/swing/text/DefaultStyledDocument.java
34734 (insert): Cleaned up loop. No need to make so many calls
34735 to getAddedElements and getRemovedElements.
34736 (insertFracture): Removed unneeded array.
34738 2006-01-17 Lillian Angel <langel@redhat.com>
34740 * javax/swing/text/JTextComponent.java
34741 (AccessibleJTextComponent): Implemented.
34742 (getCaretPosition): Implemented.
34743 (getSelectedText): Implemented.
34744 (getSelectionStart): Implemented.
34745 (getSelectionEnd): Implemented.
34746 (getSelectionEnd): Implemented.
34747 (getCharCount): Implemented.
34748 (insertTextAtIndex): Implemented.
34749 (getTextRange): Implemented.
34750 (delete): Implemented.
34751 (cut): Implemented.
34752 (paste): Implemented.
34753 (replaceText): Implemented.
34754 (selectText): Implemented.
34756 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34758 * javax/swing/text/DefaultStyledDocument.java:
34759 (pad): New debugging method.
34760 (printElements): Likewise.
34761 (printPendingEdits): Likewise.
34762 (printElement): Likewise.
34763 (Edit): Improved docs, moved this class to be an inner class of
34764 ElementBuffer since it only applies within that scope. Changed added
34765 and removed to be Vectors instead of arrays because we need to be able
34766 to add to them after construction.
34767 (ElementBuffer): Updated docs with link to article that helped in this
34768 classes implementation.
34769 (ElementBuffer.Edit.getRemovedElements): New method.
34770 (ElementBuffer.Edit.getAddedElements): Likewise.
34771 (ElementBuffer.Edit.addRemovedElement): Likewise.
34772 (ElementBuffer.Edit.addRemovedElements): Likewise.
34773 (ElementBuffer.Edit.addAddedElement): Likewise.
34774 (ElementBuffer.Edit.addAddedElements): Likewise.
34775 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34777 (ElementBuffer.getEditForParagraphAndIndex): New method.
34778 (ElementBuffer.removeUpdate): Changed type of paragraph to
34779 BranchElement. Corrected style of adding the edit to use the new Edit
34781 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34782 the new Edit facilities.
34783 (ElementBuffer.split): Likewise.
34784 (ElementBuffer.insertParagraph): Likewise.
34785 (ElementBuffer.insertContentTag): Likewise.
34786 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34787 not just the root and the first one. Apply the structural changes to
34788 the tree at the same time as updating the DocumentEvent.
34789 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34790 handling of EndTags as the first ElementSpec. Instead have to handle
34791 ContentTags as a special case if they are the first ElementSpec and if
34792 not have to fracture the tree.
34793 (ElementBuffer.createFracture): New method. May not be complete yet.
34794 Added FIXME indicating what may remain to be done.
34795 (ElementBuffer.insertFirstContentTag): New method.
34796 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34797 be done. Changed the adding of edits to use the new Edit facilities.
34798 Removed the adding of edits for Elements that weren't in the tree prior
34800 (insertUpdate): Removed incorrect condition for setting a StartTag's
34801 direction to JoinNextDirection.
34802 * javax/swing/text/StyleContent.java:
34803 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34804 that was causing an ArrayOutOfBoundsException.
34806 2006-01-17 Roman Kennke <kennke@aicas.com>
34808 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34809 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34810 exception messages a little.
34811 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34812 alternative implementation for systems without filesystems.
34813 Replaced snprintf with the corresponding target native macro.
34814 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34815 Only do something when we have a filesystem.
34816 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34817 alternative implementation for systems without filesystems.
34818 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34819 alternative implementation for systems without filesystems.
34820 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34821 alternative implementation for systems without filesystems.
34822 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34823 Only do something when we have a filesystem.
34824 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34825 Only do something when we have a filesystem.
34826 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34827 alternative implementation for systems without filesystems.
34828 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34829 Replaced ssize_t variables with jint. Provided
34830 alternative implementation for systems without filesystems.
34831 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34832 Replaced ssize_t variables with jint. Provided
34833 alternative implementation for systems without filesystems.
34834 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34835 Replaced ssize_t variables with jint. Provided
34836 alternative implementation for systems without filesystems.
34837 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34838 Only do something when we have a filesystem.
34839 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34840 Replaced ssize_t variables with jint. Provided
34841 alternative implementation for systems without filesystems.
34842 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34843 to use the corresponding target native macro.
34844 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34845 to use the corresponding target native macro.
34847 2006-01-17 Lillian Angel <langel@redhat.com>
34849 * javax/swing/text/DefaultTextUI.java:
34850 Added deprecated tag.
34851 * javax/swing/text/JTextComponent.java
34852 (AccessibleJTextComponent): Fixed API doc and
34853 partiall9 implemented.
34854 (getCaretPosition): Fixed API doc and implemented.
34855 (getSelectedText): Fixed API doc.
34856 (getSelectionStart): Likewise.
34857 (getSelectionEnd): Likewise.
34858 (caretUpdate): Fixed API doc and
34859 partially implemented.
34860 (getAccessibleStateSet): Likewise.
34861 (getAccessibleRole): Fixed API doc and implemented.
34862 (getAccessibleEditableText): Implemented.
34863 (getAccessibleText): Fixed API doc and implemented.
34864 (insertUpdate): Fixed API doc.
34865 (changedUpdate): Likewise.
34866 (getIndexAtPoint): Likewise.
34867 (getRootEditorRect): Removed.
34868 (getCharacterBounds): Fixed API doc.
34869 (getCharCount): Likewise.
34870 (getCharacterAttribute): Likewise.
34871 (getAtIndex): Likewise.
34872 (getAfterIndex): Likewise.
34873 (getBeforeIndex): Likewise.
34874 (getAccessibleActionCount): Added function stub.
34875 (getAccessibleActionDescription): Added function,
34876 partially implemented.
34877 (doAccessibleAction): Added function stub.
34878 (setTextContents): Likewise.
34879 (insertTextAtIndex): Likewise.
34880 (delete): Likewise.
34883 (replaceText): Likewise.
34884 (selectText): Likewise.
34885 (setAttributes): Likewise.
34886 (getAccessibleContext): Implemented.
34888 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34891 * gnu/regexp/RETokenRange.java(constructor):
34892 Keep lo and hi as they are.
34893 (match): Changed the case insensitive comparison.
34895 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34897 * gnu/regexp/RETokenChar.java(chain):
34898 Do not concatenate tokens whose insens flags are diffent.
34900 2006-01-17 Roman Kennke <kennke@aicas.com>
34902 * native/target/generic/target_generic_network.c:
34903 (targetGenericNetwork_receive): Fixed signature to match the
34904 corresponding .h file.
34905 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34906 to match the corresponding .h file.
34908 2006-01-17 Roman Kennke <kennke@aicas.com>
34910 * native/jni/classpath/jcl.c:
34911 (JCL_malloc): Replaced calls to malloc with the corresponding
34912 target layer macro.
34913 (JCL_free): Replaced calls to free with the corresponding
34914 target layer macro.
34915 * native/jni/classpath/native_state.c:
34916 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34917 calloc with the corresponding target layer macro.
34918 (remove_node): Replaced calls to free with the corresponding
34919 target layer macro.
34920 (add_node): Replaced calls to malloc with the corresponding
34921 target layer macro.
34923 2006-01-17 Roman Kennke <kennke@aicas.com>
34925 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34926 (getFieldReference): Use MALLOC/FREE macros for portability instead
34927 of direct call to malloc() and free().
34929 2006-01-17 Roman Kennke <kennke@aicas.com>
34931 * native/jni/classpath/jcl.c: Added missing imports.
34932 (JCL_realloc): Fixed signature to include oldsize. This is needed
34933 for some targets. Make this function use the MEMORY_REALLOC macro
34935 * native/jni/classpath/jcl.h
34936 (JCL_realloc): Adjusted signature.
34937 * native/jni/java-io/java_io_VMFile.c:
34938 (Java_java_io_VMFile_create): Use target layer macro for handling
34939 errno, for portability.
34940 (Java_java_io_VMFile_length): Release filename string in error cases
34942 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34943 version of JCL_realloc.
34944 * native/jni/java-net/java_net_VMInetAddress.c:
34945 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34946 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34947 * native/jni/java-net/javanet.c:
34948 (_javanet_bind): Make errorstr variable const to avoid compiler
34950 (_javanet_set_option): Fixed typo.
34951 (_javanet_get_option): Fixed typo.
34952 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34953 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34954 error_string variable const to avoid compiler warning.
34955 * native/target/generic/target_generic_file.h:
34956 Replaced // comments with /* */ comments to avoid compiler warnings.
34957 Added some spaces to make code better readable.
34958 * native/target/generic/target_generic_memory.h:
34959 Replaced // comments with /* */ comments to avoid compiler warnings.
34960 * native/target/generic/target_generic_misc.c:
34961 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34962 compiler warnings due to use of varargs.
34963 * native/target/generic/target_generic_misc.h:
34964 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34965 compiler warnings due to use of varargs.
34966 * native/target/generic/target_generic_network.h:
34967 Replaced // comments with /* */ comments to avoid compiler warnings.
34968 (targetGenericNetwork_receive): Fixed signature to use signed chars
34969 for buffer parameter to avoid warning when passing a jbyte to the
34972 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34974 * javax/swing/text/StyleConstants.java
34975 (getAlignment): Removed isDefined() check, so that resolving parent is
34977 (getBackground): Likewise, plus changed default value to Color.BLACK,
34978 (getBidiLevel): Removed isDefined() check,
34979 (getComponent): Likewise,
34980 (getFirstLineIndent): Likewise,
34981 (getFontFamily): Likewise,
34982 (getFontSize): Likewise,
34983 (getForeground): Likewise,
34984 (getIcon): Likewise,
34985 (getLeftIndent): Likewise,
34986 (getLineSpacing): Likewise,
34987 (getRightIndent): Likewise,
34988 (getSpaceAbove): Likewise,
34989 (getSpaceBelow): Likewise,
34990 (getTabSet): Likewise,
34991 (isBold): Likewise,
34992 (isItalic): Likewise,
34993 (isStrikeThrough): Likewise,
34994 (isSubscript): Likewise,
34995 (isSuperscript): Likewise,
34996 (isUnderline): Likewise.
34998 2006-01-17 Gary Benson <gbenson@redhat.com>
35000 * java/lang/System.java (setSecurityManager): Catch
35001 ClassNotFoundException not Throwable.
35003 2006-01-16 Anthony Green <green@redhat.com>
35006 * gnu/java/net/protocol/http/Request.java
35007 (createResponseBodyStream): Remove Content-Encoding for
35008 compressed streams.
35010 2006-01-16 Chris Burdess <dog@gnu.org>
35012 * gnu/xml/stream/XMLParser.java,
35013 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35014 XMLStreamWriter arguments for conformance to the XML specifications.
35015 * gnu/xml/transform/Stylesheet.java,
35016 gnu/xml/transform/Template.java,
35017 gnu/xml/transform/TransformerImpl.java,
35018 gnu/xml/xpath/LangFunction.java,
35019 gnu/xml/xpath/Selector.java: better handling of template priorities;
35020 fix indents when pretty-printing; recursive tests for xml:lang.
35021 * gnu/xml/util/XHTMLWriter.java,
35022 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35024 2006-01-16 Roman Kennke <kennke@aicas.com>
35026 * native/target/MinGW/.cvsignore: New file.
35027 * native/target/RTEMS/.cvsignore: New file.
35028 * native/target/SunOS/.cvsignore: New file.
35029 * native/target/embOS/.cvsignore: New file.
35030 * native/target/posix/.cvsignore: New file.
35032 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35034 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35036 2006-01-16 Roman Kennke <kennke@aicas.com>
35038 * configure.ac: Include new target native directories in build.
35040 2006-01-16 Roman Kennke <kennke@aicas.com>
35042 * native/target/generic/target_generic_file.h: Added missing
35044 * native/target/generic/target_generic_network.c: Fixed several
35045 typos and includes.
35046 * native/target/generic/target_generic_network.h: Likewise.
35048 2006-01-16 Roman Kennke <kennke@aicas.com>
35050 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35051 to include the new targets.
35052 * native/target/posix/Makefile.am: Fixed filenames.
35054 2006-01-16 Roman Kennke <kennke@aicas.com>
35056 * native/target/Makefile.am: Include new targets.
35057 * native/target/Linux/Makefile.am: Include new memory layer.
35058 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35059 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35060 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35061 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35062 * native/target/generic/Makefile.am: Include new memory and math
35064 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35066 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35069 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35070 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35072 2006-01-16 Roman Kennke <kennke@aicas.com>
35074 * native/target/generic/target_generic_network.c: Fixed typo.
35075 * native/target/generic/target_generic_network.h: Fixed typo.
35077 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35079 * doc/vmintegration.texinfo: Updated subsection of the
35080 java.lang.InstrumentationImpl documentation.
35082 2006-01-16 Roman Kennke <kennke@aicas.com>
35084 * native/target/RTEMS/target_native.h,
35085 * native/target/RTEMS/target_native_file.h,
35086 * native/target/RTEMS/target_native_io.h,
35087 * native/target/RTEMS/target_native_math.h,
35088 * native/target/RTEMS/target_native_memory.h,
35089 * native/target/RTEMS/target_native_misc.h,
35090 * native/target/RTEMS/target_native_network.h:
35091 New files. Implement the target native layer for the RTEMS platform.
35093 2006-01-16 Roman Kennke <kennke@aicas.com>
35095 * native/target/SunOS/target_native.h,
35096 * native/target/SunOS/target_native_file.h,
35097 * native/target/SunOS/target_native_io.h,
35098 * native/target/SunOS/target_native_math.h,
35099 * native/target/SunOS/target_native_memory.h,
35100 * native/target/SunOS/target_native_misc.h,
35101 * native/target/SunOS/target_native_network.h:
35102 New files. Implement the target native layer for the SunOS platform.
35104 2006-01-16 Roman Kennke <kennke@aicas.com>
35106 * native/target/MinGW/target_native.h,
35107 * native/target/MinGW/target_native_file.h,
35108 * native/target/MinGW/target_native_io.h,
35109 * native/target/MinGW/target_native_math.h,
35110 * native/target/MinGW/target_native_memory.h,
35111 * native/target/MinGW/target_native_misc.h,
35112 * native/target/MinGW/target_native_network.h:
35113 New files. Implement the target native layer for the MinGW
35116 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35119 * javax/swing/DefaultCellEditor.java
35120 (delegate): Assign new instance immediately.
35121 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35122 (getTableCellEditorComponent): Rewritten.
35123 (prepareAsJTextField):New method (add listener only once).
35124 * javax/swing/JTable.java
35125 (editingCanceled): Rewritten.
35126 (editingStopped ): Rewritten.
35127 (rowAtPoint): Mind row margin.
35128 (getCellRect): Mind row margin.
35129 (getDefaultEditor): Removing JTextComponent border.
35130 (editCellAt): Rewritten.
35131 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35132 Activate editing mode by the mouse clicks.
35133 (getMaximumSize): Mind row margin.
35134 (getPreferredSize): Mind row margin.
35135 (TableAction): Added 'stop editing' command.
35137 2006-01-16 Roman Kennke <kennke@aicas.com>
35139 * jni/java-io/java_io_VMFile.c
35140 (Java_java_io_VMFile_list): Use new 4 argument version of
35141 TARGET_NATIVE_FILE_READ_DIR macro.
35142 * target/Linux/target_native_io.h: Fixed comment at #endif.
35143 * target/Linux/target_native_memory.h: New file. Contains
35144 portability macros for memory operations.
35145 * target/generic/target_generic.c: New file. Contains some functions
35147 * target/generic/target_generic.h: Use posix target and shorter macro
35148 names if CP_NEW is set.
35149 * target/generic/target_generic_file.h: Use posix target and shorter
35150 macro names if CP_NEW is set.
35151 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35152 * target/generic/target_generic_io.c: New file. Contains some
35153 functions for IO portability.
35154 * target/generic/target_generic_io.h: Use posix target and shorter
35155 macro names if CP_NEW is set.
35156 * target/generic/target_generic_misc.c: New file. Contains some
35157 functions for miscallaneaous portability issues.
35158 * target/generic/target_generic_misc.h: Use posix target and shorter
35159 macro names if CP_NEW is set.
35160 * target/generic/target_generic_network.c: New file. Contains some
35161 functions for networking portability.
35162 * target/generic/target_generic_network.h: Use posix target and
35163 shorter macro names if CP_NEW is set.
35164 * target/posix/Makefile.am,
35165 * target/posix/target_posix.c,
35166 * target/posix/target_posix.h,
35167 * target/posix/target_posix_file.c,
35168 * target/posix/target_posix_file.h,
35169 * target/posix/target_posix_io.c,
35170 * target/posix/target_posix_io.h,
35171 * target/posix/target_posix_math.c,
35172 * target/posix/target_posix_math.h,
35173 * target/posix/target_posix_memory.c,
35174 * target/posix/target_posix_memory.h,
35175 * target/posix/target_posix_misc.c,
35176 * target/posix/target_posix_misc.h,
35177 * target/posix/target_posix_network.c,
35178 * target/posix/target_posix_network.h:
35179 New files. This implements the target native layer macros for
35180 Posix-like systems.
35182 2006-01-16 Gary Benson <gbenson@redhat.com>
35184 * java/net/SocketPermission.java (implies): Fix action checks.
35186 2006-01-16 Roman Kennke <kennke@aicas.com>
35188 * native/target/generic/target_generic_math_float.h: Removed. This
35189 file has been replaced by target_generic_math.h.
35190 * native/target/generic/target_generic_math_int.h: Removed. This
35191 file has been replaced by target_generic_math.h.
35192 * native/target/generic/target_generic_math.h: New file. Replaces
35193 the old _int and _float versions.
35194 * native/target/Linux/target_native_math_float.h: Removed. This
35195 file has been replaced by target_native_math.h.
35196 * native/target/Linux/target_native_math_int.h: Removed. This
35197 file has been replaced by target_native_math.h.
35198 * native/target/Linux/target_native_math.h: New file. Replaces
35199 the old _int and _float versions.
35200 * native/target/Linux/Makefile.am: Adjusted for the changed
35202 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35203 instead of target_native_math_int.h.
35204 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35206 * native/target/generic/target_generic_file.h: Likewise.
35208 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35210 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35212 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35214 * javax/swing/text/SimpleAttributeSet.java
35215 (SimpleAttributeSet()): Initialise storage directly,
35216 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35217 NullPointerException,
35218 (containsAttribute): If key is found locally, don't check resolving
35219 parent if the value doesn't match,
35220 (getAttribute): Removed redundant instanceof and cast.
35222 2006-01-16 Gary Benson <gbenson@redhat.com>
35224 * java/lang/System.java (setSecurityManager): Ensure policy
35225 files are loaded before a security manager is put in place.
35227 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35229 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35231 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35233 * javax/print/attribute/standard/MediaSize.java:
35234 (static_initializer): Added comment.
35235 (MediaSize): Added javadoc to mention cache registration.
35236 (MediaSize): Likewise.
35237 (MediaSize): Likewise.
35238 (MediaSize): Likewise.
35240 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35243 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35244 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35245 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35246 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35248 (toString): Added method implementation.
35249 (LoginModuleControlFlag.toString): Removed class name from result.
35250 * javax/security/auth/login/Configuration.java: Updated copyright year.
35251 (getConfig(): replaced calls to NullConfiguration with
35254 2006-01-15 Tom Tromey <tromey@redhat.com>
35256 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35257 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35258 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35259 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35260 (setPersistenceDelegate): Likewise.
35262 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35264 * javax/print/attribute/standard/PrinterStateReasons.java:
35265 (printerStateReasonSet): Genericize the return type.
35267 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35269 * javax/swing/table/DefaultTableCellRenderer.java
35270 (getTableCellRendererComponent): Render null as the empty cell.
35272 2006-01-14 Anthony Green <green@redhat.com>
35274 * java/net/ServerSocket.java (accept): Remove bogus
35276 (implAccept): Add FIXME comment.
35278 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35281 * javax/print/Doc.java: Added and enhanced documentation.
35282 * javax/print/SimpleDoc.java: New file.
35284 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35286 * javax/print/attribute/standard/MediaSize.java:
35287 (Other.TABLOID): New MediaSize added in 1.5
35289 2006-01-14 Chris Burdess <dog@gnu.org>
35291 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35292 correctly when I/O and runtime exceptions occur during parsing.
35294 2006-01-13 Roman Kennke <kennke@aicas.com>
35296 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35297 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35298 * gnu/java/awt/peer/swing/SwingComponent.java,
35299 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35300 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35301 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35302 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35303 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35304 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35305 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35306 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35307 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35308 * gnu/java/awt/peer/swing/SwingToolkit.java,
35309 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35310 * gnu/java/awt/peer/swing/package.html:
35311 New files. Implemented some basic AWT peers based on Swing.
35313 2006-01-13 Roman Kennke <kennke@aicas.com>
35315 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35317 2006-01-13 Roman Kennke <kennke@aicas.com>
35319 * java/awt/MenuComponent.java: Reformatted to better match our
35322 2006-01-13 Roman Kennke <kennke@aicas.com>
35324 * java/awt/Frame.java: Reformatted to better match our
35327 2006-01-13 Roman Kennke <kennke@aicas.com>
35329 * java/awt/MenuBar.java
35330 (accessibleContext): Removed unnecessary field. This is already
35331 defined in MenuComponent.
35332 (setHelpMenu): Renamed the peer variable to myPeer because it was
35333 hiding a field of MenuComponent.
35334 (addNotify): Removed unnecessary cast.
35336 2006-01-13 Roman Kennke <kennke@aicas.com>
35338 * java/awt/MenuBar.java: Reformatted to better match our
35341 2006-01-13 Roman Kennke <kennke@aicas.com>
35343 * java/awt/MenuBar.java
35344 (frame): New field.
35345 (removeNotify): Clear frame field when beeing removed from the
35347 * java/awt/Frame.java
35348 (setMenuBar): Store a reference of the frame in the MenuBar.
35349 * java/awt/MenuComponent.java
35350 (postEvent): Implemented to forward the call to the parent until
35351 a parent can handle the event.
35352 (dispatchEvent): Moved handling of old style events from
35353 dispatchEventImpl() to here.
35354 (dispatchEventImpl): Moved handling of old style events to
35357 2006-01-13 Roman Kennke <kennke@aicas.com>
35359 * java/awt/Component.java
35360 (dispatchEvent): Moved handling of old style events from
35361 dispatchEventImpl() to this method.
35362 (translateEvent): Removed unnecessary cast.
35363 (dispatchEventImpl): Moved handling of old style events to
35366 2006-01-13 Lillian Angel <langel@redhat.com>
35368 * javax/swing/text/DefaultStyledDocument.java
35369 (createDefaultRoot): Removed FIXME.
35370 (setLogicalStyle): Added fireUndoableEditUpdate call and
35373 2006-01-13 Lillian Angel <langel@redhat.com>
35375 * javax/swing/text/DefaultStyledDocument.java
35376 (Edit): New inner class.
35377 (changeUpdate): Changed addEdit call to add a new
35378 instance of Edit to the edits Vector, so addEdits can
35381 (insertParagraph): Likewise.
35382 (insertFracture): Likewise.
35383 (insertContentTag): Likewise.
35384 (insert): Added loop to go through edits Vector and perform
35385 addEdit on each object.
35387 2006-01-13 Chris Burdess <dog@gnu.org>
35389 * gnu/xml/transform/AbstractNumberNode.java,
35390 gnu/xml/transform/ApplyImportsNode.java,
35391 gnu/xml/transform/ApplyTemplatesNode.java,
35392 gnu/xml/transform/AttributeNode.java,
35393 gnu/xml/transform/CallTemplateNode.java,
35394 gnu/xml/transform/ChooseNode.java,
35395 gnu/xml/transform/CommentNode.java,
35396 gnu/xml/transform/CopyNode.java,
35397 gnu/xml/transform/CopyOfNode.java,
35398 gnu/xml/transform/DocumentFunction.java,
35399 gnu/xml/transform/ElementNode.java,
35400 gnu/xml/transform/ForEachNode.java,
35401 gnu/xml/transform/IfNode.java,
35402 gnu/xml/transform/LiteralNode.java,
35403 gnu/xml/transform/MessageNode.java,
35404 gnu/xml/transform/OtherwiseNode.java,
35405 gnu/xml/transform/ParameterNode.java,
35406 gnu/xml/transform/ProcessingInstructionNode.java,
35407 gnu/xml/transform/Stylesheet.java,
35408 gnu/xml/transform/Template.java,
35409 gnu/xml/transform/TemplateNode.java,
35410 gnu/xml/transform/TextNode.java,
35411 gnu/xml/transform/TransformerImpl.java,
35412 gnu/xml/transform/ValueOfNode.java,
35413 gnu/xml/transform/WhenNode.java,
35414 gnu/xml/xpath/NodeTypeTest.java,
35415 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35416 with-param parameters when template does not define parameters; apply
35417 conflict resolution for templates; strip whitespace on documents
35418 retrieved via document() function; allow node() to match document
35421 2006-01-13 Mark Wielaard <mark@klomp.org>
35423 * doc/www.gnu.org/announce/20060113.wml: New file.
35424 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35425 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35427 2006-01-13 Lillian Angel <langel@redhat.com>
35429 * javax/swing/text/DefaultStyledDocument.java:
35430 Removed unused fields.
35431 (insert): Removed unused fields.
35432 (endEdit): Removed, not needed.
35433 (insertUpdate): Removed call to endEdit.
35434 (prepareContentInsertion): Removed, not needed.
35435 (insertContentTag): Removed call to prepareContentInsertion.
35436 (printElements): Removed, not needed.
35437 (attributeSetsAreSame): Removed, not needed.
35439 2005-01-13 Mark Wielaard <mark@klomp.org>
35441 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35442 Duplicate of toString(int, StringBuilder).
35444 2005-01-13 Mark Wielaard <mark@klomp.org>
35446 * configure.ac: Set version to 0.20.
35447 * NEWS: Add entries for all the new work done.
35449 2005-01-13 Mark Wielaard <mark@klomp.org>
35451 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35453 2005-01-13 Mark Wielaard <mark@klomp.org>
35455 * java/util/regex/Pattern.java (Pattern): Chain REException.
35457 2006-01-13 Chris Burdess <dog@gnu.org>
35459 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35461 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35463 * java/security/Security.java
35464 (getProperty): Added hack to skip security check when trusted
35465 code is direct caller.
35467 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35469 * java/io/PrintStream.java
35470 (line_separator, PrintStream(OutputStream,boolean)): Use
35473 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35475 * gnu/java/nio/charset/Provider.java: Added comment about its
35476 special relation with CharsetProvider.
35478 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35479 its special relation with CharsetProvider.
35481 * java/nio/charset/spi/CharsetProvider.java
35482 (CharsetProvider): Add special case to skip security check for
35483 built in providers.
35485 2005-01-13 Mark Wielaard <mark@klomp.org>
35487 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35488 name, accel, mnemonic and command are defined before setting.
35490 2005-01-12 Mark Wielaard <mark@klomp.org>
35492 * javax/swing/plaf/metal/MetalFileChooserUI.java
35493 (FileRenderer.getListCellRendererComponent): Set empty name and null
35494 icon when File is null.
35496 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35498 * gnu/java/rmi/server/UnicastRef.java (newCall):
35499 Throw ConnectException after catching IOException.
35501 2006-01-12 Lillian Angel <langel@redhat.com>
35503 * javax/swing/text/DefaultStyledDocument.java
35504 (insertUpdate): Removed unneeded check.
35506 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35508 * javax/swing/text/DefaultStyledDocument.java:
35509 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35510 and we haven't come immediately after a fracture, adjust the Element
35511 offsets. Added comment explaining the situation.
35512 (insert): Return early if no ElementSpecs passed in. Removed redundant
35513 call to insertUpdate. Fired the UndoableEditUpdate.
35515 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35518 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35519 character classes within a subexpression.
35521 2006-12-12 Lillian Angel <langel@redhat.com>
35523 * javax/swing/text/DefaultStyledDocument.java
35524 (insertUpdate): Added check to check if attribute set is
35526 (insertUpdate): Added check to determine if last character
35527 is a newline. If it is, we should not be fracturing.
35528 (insert): Added check to determine if attribute set is empty.
35529 If it is, insertUpdate should not be called.
35531 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35533 * configure.ac: Check for isnan.
35535 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35538 2006-01-12 Chris Burdess <dog@gnu.org>
35540 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35541 1.1 character ranges.
35543 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35545 * javax/swing/TransferHandler.java:
35546 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35547 gnu/testlet/javax/swing/JTextField/CopyPaste.
35549 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35551 * resource/Makefile.am: Install
35552 logging.properties into $(prefix)/lib.
35553 * resource/Makefile.am (securitydir): Changed to
35554 $(prefix)/lib/security.
35556 2006-01-12 Roman Kennke <kennke@aicas.com>
35558 * javax/swing/JTextField.java
35559 (createDefaultModel): Moved installation of the filterNewlines
35560 property to setDocument().
35561 (setDocument): New method. Installs the filterNewlines property
35564 2006-01-12 Chris Burdess <dog@gnu.org>
35566 * gnu/xml/dom/DomNode.java,
35567 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35569 * gnu/xml/xpath/NameTest.java,
35570 gnu/xml/xpath/NamespaceTest.java,
35571 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35573 * gnu/xml/transform/MessageNode.java: Use standard logging system
35574 for outputting messages.
35576 2006-01-12 Tom Tromey <tromey@redhat.com>
35578 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35579 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35580 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35581 (static initializer): Removed cache code.
35582 (checkCacheFor, addToCache): Removed.
35583 (getAllByName): Removed cache code.
35584 (lookup_time): Removed.
35585 (InetAddress): Updated.
35587 2006-01-12 Chris Burdess <dog@gnu.org>
35589 * gnu/xml/dom/DomDocument.java,
35590 gnu/xml/dom/DomElement.java,
35591 gnu/xml/dom/DomNode.java,
35592 gnu/xml/stream/XMLParser.java,
35593 gnu/xml/transform/Bindings.java,
35594 gnu/xml/transform/ElementAvailableFunction.java,
35595 gnu/xml/transform/ElementNode.java,
35596 gnu/xml/transform/FunctionAvailableFunction.java,
35597 gnu/xml/transform/NamespaceProxy.java,
35598 gnu/xml/transform/StreamSerializer.java,
35599 gnu/xml/transform/Stylesheet.java,
35600 gnu/xml/transform/TransformerImpl.java,
35601 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35602 document and element nodes; correct coalescing semantics when parsing;
35603 attribute-sets can only refer to top-level variables and parameters;
35604 fix namespace retrieval during element-available and
35605 function-available functions; implement xsl:fallback for extension
35606 elements; tokenize whitespace correctly during whitespace stripping;
35607 correct following and previous node axes selectors.
35609 2006-01-12 Roman Kennke <kennke@aicas.com>
35611 * java/util/Hashtable.java
35612 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35613 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35615 2006-01-12 Lillian Angel <langel@redhat.com>
35617 * javax/swing/text/GapContent.java
35618 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35620 2006-01-12 Mark Wielaard <mark@klomp.org>
35622 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35623 Throw UnknowHostException when name could not be resolved.
35625 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35627 * java/net/URL.java
35628 (static, getURLStreamHandler): Use SystemProperties.
35630 2006-01-12 Mark Wielaard <mark@klomp.org>
35632 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35633 Use packet.getLength().
35634 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35635 (nativeReceive): Check whether the receiver wants zero bytes.
35637 2006-01-12 Mark Wielaard <mark@klomp.org>
35639 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35640 other side orderly closed connection.
35641 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35642 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35643 when end of stream reached.
35645 2006-01-12 Mark Wielaard <mark@klomp.org>
35647 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35649 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35650 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35651 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35652 * native/jni/java-net/javanet.c: Likewise.
35654 2006-01-12 Mark Wielaard <mark@klomp.org>
35656 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35657 PR classpath/23863.
35659 2006-01-11 Chris Burdess <dog@gnu.org>
35661 * gnu/xml/transform/AttributeNode.java,
35662 gnu/xml/transform/ElementNode.java,
35663 gnu/xml/transform/LiteralNode.java,
35664 gnu/xml/transform/StreamSerializer.java,
35665 gnu/xml/transform/StrippingInstruction.java,
35666 gnu/xml/transform/Stylesheet.java,
35667 gnu/xml/transform/TransformerImpl.java,
35668 gnu/xml/transform/ValueOfNode.java,
35669 gnu/xml/xpath/Expr.java,
35670 gnu/xml/xpath/LocalNameFunction.java,
35671 gnu/xml/xpath/NameFunction.java,
35672 gnu/xml/xpath/NameTest.java,
35673 gnu/xml/xpath/NamespaceUriFunction.java,
35674 gnu/xml/xpath/NodeTypeTest.java,
35675 gnu/xml/xpath/SubstringFunction.java,
35676 javax/xml/namespace/QName.java: don't determine element namespace
35677 from namespace aliases when specified; better namespace handling
35678 when serializing elements; don't create HTML meta element unless
35679 head element exists; correct encoding of CDATA sections containing
35680 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35681 default encoding for HTML output; rewrite of XSLT
35682 strip-space/preserve-space handling; correct doctype-public and
35683 doctype-system output attributes; insert generated doctype before
35684 document element; fixed result tree whitespace stripping
35685 algorithm; fixed semantics of XPath name, local-name, and
35686 namespace-uri functions; name tests handle XML/XMLNS namespaces
35687 correctly; fixed semantics of processing-instruction node test.
35688 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35691 2006-01-11 Lillian Angel <langel@redhat.com>
35693 * javax/swing/text/DefaultStyledDocument.java
35694 (insertFracture): Added calls to addEdit for each time a structure
35695 is changed. addEdit is called on the newBranch, previous, and parent
35698 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35700 * javax/swing/text/DefaultStyledDocument.java:
35701 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35702 This will have been taken care of in insertFracture. Added a comment
35703 explaining that we need to add edits to the DocumentEvent and that
35704 this may be the place to do it.
35706 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35708 * javax/swing/text/DefaultStyledDocument.java:
35709 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35710 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35711 elementStack when there is a start tag with JoinNextDirection.
35713 2006-01-11 Roman Kennke <kennke@aicas.com>
35715 Reported by: Fridjof Siebert <siebert@aicas.com>
35716 * java/util/Hashtable.java
35717 (KEYS): Removed unneeded field.
35718 (VALUES): Removed unneeded field.
35719 (ENTRIES): Removed unneeded field.
35720 (keys): Return a KeyEnumerator instance.
35721 (elements): Returns a ValueEnumerator instance.
35722 (toString): Use an EntryIterator instance.
35723 (keySet): Return a KeyIterator instance.
35724 (values): Return a ValueIterator instance.
35725 (entrySet): Return an EntryIterator instance.
35726 (hashCode): Use EntryIterator instance.
35727 (rehash): Changed this loop to avoid redundant reads and make
35728 it obvious that null checking is not needed.
35729 (writeObject): Use EntryIterator instance.
35730 (HashIterator): Removed class.
35731 (Enumerator): Removed class.
35732 (EntryIterator): New class.
35733 (KeyIterator): New class.
35734 (ValueIterator): New class.
35735 (EntryEnumerator): New class.
35736 (KeyEnumerator): New class.
35737 (ValueEnumerator): New class.
35739 2006-01-11 Lillian Angel <langel@redhat.com>
35741 * javax/swing/text/DefaultStyledDocument.java
35742 (toString): Shouldn't append the '>' character here.
35743 (createDefaultRoot): Should not set the resolve parent. This
35744 causes problems when comparing attribute sets.
35746 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35748 * javax/swing/text/DefaultStyledDocument.java:
35749 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35751 (ElementBuffer.insertFracture): New method.
35752 (ElementBuffer.insertContentTag): Removed unnecessary case for
35753 JoinFractureDirection - this only applies to start tags, not content
35755 (insertUpdate): Corrected conditions for setting direction to
35758 2006-01-10 Roman Kennke <kennke@aicas.com>
35760 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35761 * ChangeLog-2005: New File.
35763 2006-01-10 Roman Kennke <kennke@aicas.com>
35765 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35766 (get): Release the array with the correct pointer.
35767 (put): Release the array with the correct pointer. Copy the array
35768 around _before_ releasing it.
35770 2006-01-10 Roman Kennke <kennke@aicas.com>
35772 * javax/swing/ViewportLayout.java
35773 (layoutContainer): Fixed condition, to avoid ClasscastException.
35775 2006-01-10 Roman Kennke <kennke@aicas.com>
35777 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35778 (MouseHandler.mousePressed): Fixed indendation.
35779 (MouseHandler.mouseDragged): Fixed indendation.
35781 2006-01-10 Roman Kennke <kennke@aicas.com>
35783 * javax/swing/plaf/basic/BasicLookAndFeel.java
35784 (playSound): Added @since 1.4 to the API docs.
35786 2006-01-10 Roman Kennke <kennke@aicas.com>
35788 * javax/swing/plaf/basic/BasicListUI.java
35789 (maybeUpdateLayoutState): Also update the layout state, if the
35790 list has been invalidated since the last update.
35792 2006-01-10 Roman Kennke <kennke@aicas.com>
35794 * javax/swing/plaf/ComponentUI.java
35795 (update): Fixed indendation.
35797 2006-01-10 Roman Kennke <kennke@aicas.com>
35799 * javax/swing/ViewportLayout.java
35800 (layoutContainer): Fixed condition, so that Scrollable components
35801 are always forced to have to Viewport size, when they
35802 return true for getScrollableTracksViewportHeight() and ..Width().
35804 2006-01-10 Roman Kennke <kennke@aicas.com>
35806 * javax/swing/RepaintManager.java
35807 (validateInvalidComponents): Fixed condition to avoid NPE.
35809 2006-01-10 Roman Kennke <kennke@aicas.com>
35811 * javax/swing/JViewport.java:
35812 (static_initializer): Removed unused variable myScrollMode.
35814 2006-01-10 Roman Kennke <kennke@aicas.com>
35816 * javax/swing/JTabbedPane.java:
35817 Cleared API docs a little.
35819 2006-01-10 Roman Kennke <kennke@aicas.com>
35821 * java/util/StringTokenizer.java
35822 (StringTokenizer(String, String, boolean)):
35823 Don't trigger NPE here for conformance with the spec.
35825 2006-01-10 Roman Kennke <kennke@aicas.com>
35827 * java/util/ArrayList.java
35828 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35830 2006-01-10 Roman Kennke <kennke@aicas.com>
35832 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35833 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35834 field to avoid NPE.
35836 2006-01-10 Roman Kennke <kennke@aicas.com>
35838 * native/jni/java-net/javanet.c
35839 (_javanet_shutdownOutput): Replaced strerror() with
35840 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35841 (_javanet_shutdownInput): Replaced strerror() with
35842 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35844 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35846 * java/beans/EventSetDescriptor.java: Reformatted and
35849 2006-01-10 Roman Kennke <kennke@aicas.com>
35851 * java/lang/SecurityManager.java
35852 Fully qualified AWT class references in API docs.
35854 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35856 * java/beans/EventSetDescriptor.java:
35857 (getGetListenerMethod): New method.
35859 2006-01-10 Mark Wielaard <mark@klomp.org>
35861 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35863 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35866 * java/util/Hashtable.java
35867 (contains): Call equals on existing value.
35868 (containsKey, get, put, remove): Call equals on existing key.
35869 (getEntry): Call equals on existing entry.
35871 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35874 * java/util/AbstractMap.java
35875 (equals(Object,Object)): Test for identity first.
35876 * java/util/WeakHashMap.java
35877 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35878 (WeakBucket.WeakEntry.toString): Fixed string representation of
35880 (internalGet): Use helper method to determine equality.
35882 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35884 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35887 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35889 * javax/swing/text/PlainDocument.java:
35890 (insertUpdate): Handle special case of an insertion immediately
35891 following a newline character.
35893 2006-01-09 Roman Kennke <kennke@aicas.com>
35895 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35896 (connect): Added stream parameter to _connect() call.
35897 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35898 (connect): Added stream parameter to _connect() call.
35899 * native/jni/java-net/javanet.c
35900 (_javanet_create_localfd): Added stream parameter. Look up
35901 fd field based on the stream parameter either in SocketImpl or
35902 in DatagramSocketImpl.
35903 (_javanet_connect): Added stream parameter. Call create_localfd
35904 using this stream parameter. Set localPort field either in
35905 SocketImpl or in DatagramSocketImpl, depending on the stream
35907 * native/jni/java-net/javanet.c
35908 (_javanet_connect): Added stream parameter.
35910 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35912 * javax.management.Attribute.java: Grammar and
35915 2006-01-09 Mark Wielaard <mark@klomp.org>
35917 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35918 exception when channel is not readable or writable.
35919 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35920 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35921 there is enough space to mmap().
35923 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35925 * java/beans/Introspector.java:
35926 (getBeanInfo(Class, int)): New method.
35927 (getBeanInfo(Class, Class): Moved common code in a new method.
35928 (merge): New method.
35930 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35932 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35934 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35936 * javax/swing/text/DefaultStyledDocument.java:
35937 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35938 inlined this method because it needs to change the value of the
35939 finalStartTag and finalStartDirection variables.
35940 (checkForInsertAfterNewline): Removed this method.
35941 (handleInsertAfterNewline): Added case for making the start tag's
35942 direction JoinNextDirection.
35944 2006-01-09 Lillian Angel <langel@redhat.com>
35946 * javax/swing/plaf/basic/BasicTreeUI.java:
35948 (setRowHeight): Row height is set to the max height of
35949 all the nodes, or 20 as a default value.
35950 (getPathBounds): Cleaned up code.
35951 (getMaxHeight): New helper function that gets the max
35952 height of all the rows.
35953 (getClosestPathForLocation): Fixed to use getMaxHeight.
35954 (updateCachedPreferredSize): Likewise.
35955 (installUI): Shouldn't expand tree on startup.
35956 (getNodeDimensions): Fixed to use getMaxHeight.
35958 2006-01-09 Mark Wielaard <mark@klomp.org>
35960 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35961 argument is negative.
35963 2006-01-08 Mark Wielaard <mark@klomp.org>
35965 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35967 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35969 * javax.management.Attribute.java: New file.
35971 2006-01-09 Roman Kennke <kennke@aicas.com>
35973 * java/net/DatagramSocketImpl.java
35974 (localPort): Renamed to localport for correct access from native
35977 2006-01-09 Roman Kennke <kennke@aicas.com>
35979 * javax/swing/Popup.java
35980 (LightweightPopup.hide): Repaint the layered pane when popup is
35983 2006-01-09 Roman Kennke <kennke@aicas.com>
35985 * java/awt/Container.java
35986 (remove): Don't repaint the container here.
35988 2006-01-08 Tom Tromey <tromey@redhat.com>
35990 * java/lang/InheritableThreadLocal.java: Organized imports.
35992 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
35995 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35996 when an empty string matched an empty token.
35998 2006-01-08 Chris Burdess <dog@gnu.org>
36000 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36001 content models from external entities.
36002 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36003 attempting to continue with unpaired surrogates.
36004 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36005 resolving entities with character entity references; better
36006 checking of valid character ranges; don't report an error for URI
36007 fragments in notation declarations; check unbound namespace
36008 prefixes for elements and attributes, including XML 1.1 unbinding
36009 syntax; namespace-aware checking of attribute duplicates.
36011 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36013 * java/beans/Statement.java: Doc fixes.
36014 (doExecute): Workaround for Class.forName call.
36015 (toString): Made output look more like on the JDK.
36016 * java/beans/Expression.java: Doc fixes.
36017 (toString): Made output look more like on the JDK.
36018 * java/beans/PersistenceDelegate.java,
36019 java/beans/DefaultPersistenceDelegate.java,
36020 java/beans/Encoder.java,
36021 java/beans/XMLEncoder.java: New file.
36022 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36023 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36024 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36025 gnu/java/beans/encoder/Context.java,
36026 gnu/java/beans/encoder/GenericScannerState.java,
36027 gnu/java/beans/encoder/IgnoringScannerState.java,
36028 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36029 gnu/java/beans/encoder/ObjectId.java,
36030 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36031 gnu/java/beans/encoder/ReportingScannerState.java,
36032 gnu/java/beans/encoder/Root.java,
36033 gnu/java/beans/encoder/ScanEngine.java,
36034 gnu/java/beans/encoder/ScannerState.java,
36035 gnu/java/beans/encoder/StAXWriter.java,
36036 gnu/java/beans/encoder/Writer.java: New file.
36037 * gnu/java/beans/encoder/elements/Array_Get.java,
36038 gnu/java/beans/encoder/elements/Element.java,
36039 gnu/java/beans/encoder/elements/List_Set.java,
36040 gnu/java/beans/encoder/elements/Array_Set.java,
36041 gnu/java/beans/encoder/elements/NullObject.java,
36042 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36043 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36044 gnu/java/beans/encoder/elements/StringReference.java,
36045 gnu/java/beans/encoder/elements/ClassResolution.java,
36046 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36047 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36048 gnu/java/beans/encoder/elements/ObjectReference.java,
36049 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36050 gnu/java/beans/encoder/elements/List_Get.java,
36051 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36053 2006-01-08 Chris Burdess <dog@gnu.org>
36055 * java/lang/Character.java (toChars,toCodePoint): Correct these
36056 methods to use algorithms from Unicode specification.
36058 2006-01-08 Mark Wielaard <mark@klomp.org>
36060 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36062 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36065 * examples/Makefile.am: Corrected DESTDIR install paths.
36067 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36069 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36070 ASCII character (line 46).
36072 2006-01-07 Roman Kennke <kennke@aicas.com>
36074 * javax/swing/text/TableView.java: New file.
36076 2006-01-07 Chris Burdess <dog@gnu.org>
36078 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36079 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36080 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36081 available; correct handling of unparsed entity references;
36082 absolutize all base URIs; remove commented out code.
36084 2006-01-07 Chris Burdess <dog@gnu.org>
36086 * gnu/xml/stream/SAXParser.java,
36087 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36088 URI of the current event.
36090 2006-01-07 Chris Burdess <dog@gnu.org>
36092 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36095 2006-01-07 Chris Burdess <dog@gnu.org>
36097 * gnu/xml/stream/SAXParser.java,
36098 gnu/xml/stream/XIncludeFilter.java,
36099 gnu/xml/stream/XMLParser.java: Updated documentation.
36101 2006-01-07 Chris Burdess <dog@gnu.org>
36103 * AUTHORS: add self.
36105 2006-01-06 Casey Marshall <csm@gnu.org>
36107 * AUTHORS: add myself.
36109 2006-01-06 Casey Marshall <csm@gnu.org>
36112 * javax/crypto/CipherInputStream.java (logger): new constant.
36113 (cipher): make final.
36114 (outLength, inBuffer, inLength): removed.
36115 (isStream): make final.
36116 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36118 (<init>): call `super,' not `this;' remove `inBuffer' and
36119 `outBuffer' initialization; init `eof;' add debug logging.
36120 (<init>): call `this' with a new null cipher.
36121 (available): fix javadoc to reflect the real semantics; if we
36122 don't have a buffer, call `nextBlock.'
36123 (close): synchronize.
36124 (read): synchronize; fix testing for buffered data.
36125 (read): synchronize; add `skip' semantics if first argument is
36126 `null;' decrypt stream cipher data only if there is any; fix tests
36128 (skip): stop using `available' to see how many data are buffered.
36129 (nextBlock): simplify to use cipher-allocated output buffers
36130 instead of internally allocated ones.
36132 2006-01-06 Tom Tromey <tromey@redhat.com>
36134 * java/lang/String.java (codePointCount): Fixed javadoc.
36136 2006-01-06 Tom Tromey <tromey@redhat.com>
36138 * java/lang/String.java (contains): Added @since.
36140 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36143 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36144 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36145 when an empty string matched an empty token.
36147 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36150 * gnu/java/util/WeakIdentityHashMap.java: New file.
36151 * java/lang/InheritableThreadLocal.java
36152 (newChildThread): Modified to remove key indirection.
36153 * java/lang/Thread.java
36154 (locals): Changed type to WeakIdentityHashMap.
36155 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36157 * java/lang/ThreadLocal.java
36158 (key, Key): Removed.
36159 (get, set): Changed to use "this" instead of "key".
36161 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36163 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36165 * native/fdlibm/java-assert.h: Removed file.
36167 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36168 Replaced use of JvAssert by assert.
36170 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36172 * javax/swing/text/DefaultCaret.java:
36173 (setDot): Fixed paramater to Math.max to be this.dot and not the
36176 2006-01-05 Roman Kennke <kennke@aicas.com>
36178 * javax/swing/plaf/basic/BasicListUI.java
36179 (getCellHeight): New helper method.
36180 (getCellBounds): Use new helper method for determining the cell
36182 (paint): Don't call list.indexToLocation() but instead call
36183 directly into the same UI method.
36184 (locationToIndex): Fixed calculation of # visible rows and handling
36186 (indexToLocation): Fixed calculation of # visible rows and handling
36189 2006-01-05 Roman Kennke <kennke@aicas.com>
36191 * javax/swing/plaf/metal/MetalFileChooserUI.java
36192 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36193 in the file chooser.
36195 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36197 * javax/swing/JTextPane.java:
36198 (replaceSelection): If the document is an AbstractDocument, use replace
36199 rather than remove and insert.
36200 * javax/swing/event/EventListenerList.java:
36201 (getListeners): Reversed the order of the listeners to match the
36202 reference implementation.
36203 * javax/swing/text/AbstractDocument.java:
36204 (insertString): Add the UndoableEdit from the content.insertString call
36205 to the DocumentEvent.
36206 (DefaultDocumentEvent.toString): Implemented.
36207 * javax/swing/text/DefaultCaret.java:
36208 (setDot): Make sure dot is > 0 and less than the length of the
36210 * javax/swing/text/DefaultStyledDocument.java:
36211 (ElementBuffer.insertUpdate): Set the modified tag of the document
36212 event when we get start and end tags. This ensures that we create the
36213 proper BranchElements in endEdit().
36214 (ElementBuffer.insertUpdate): Added FIXME to handle
36215 JoinFractureDirection case.
36216 (insertUpdate): Added code to check if we're inserting immediately
36217 after a newline and to handle this case (create start and end tags).
36218 Only change the direction of the first and last tags if they are of
36220 (checkForInsertAfterNewline): New helper method.
36221 (handleInsertAfterNewline): Likewise.
36222 * javax/swing/text/View.java:
36223 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36226 2006-01-05 Mark Wielaard <mark@klomp.org>
36228 * newsitems.txt: Add fosdem meeting.
36229 * events/events.wml: Likewise.
36230 * events/fosdem06.wml: New file.
36232 2006-01-05 Lillian Angel <langel@redhat.com>
36234 * javax/swing/text/GapContent.java
36235 (createPosition): No positions should be created inside the
36236 gap. Fixed check to ensure this does not happen.
36238 2006-01-05 Roman Kennke <kennke@aicas.com>
36240 * javax/swing/RepaintManager.java
36241 (validateInvalidComponents): Search for the validate root
36242 and start validating there.
36244 2006-01-05 Roman Kennke <kennke@aicas.com>
36246 * javax/swing/plaf/basic/BasicListUI.java
36247 (ComponentHandler): Removed unneeded class.
36248 (ListDataHandler.contentsChanged): Revalidate instead of calling
36250 (ListDataHandler.intervalAdded): Revalidate instead of calling
36252 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36254 (PropertyChangeHandler.propertyChange): Or flags together instead
36255 of adding them. Don't call damageLayout().
36256 (componentListener): Removed unnecessary field.
36257 (damageLayout): Removed unnecessary method.
36258 (installListeners): Don't install unnecessary listeners.
36259 (uninstallListeners): Dito.
36260 (getPreferredSize): Don't ask for the real list height and
36261 calculate with the previously calculated list height.
36262 (locationToIndex): Renamed list parameter to l so that it doesn't
36263 shadow the field with the same name.
36264 (indexToLocation): Renamed list parameter to l so that it doesn't
36265 shadow the field with the same name.
36267 2006-01-04 Tom Tromey <tromey@redhat.com>
36269 * include/.cvsignore: Ignore config-int.h.
36271 2006-01-04 Roman Kennke <kennke@aicas.com>
36273 * javax/swing/plaf/basic/BasicListUI.java
36274 (getPreferredSize): Rewritten to match the specs.
36276 2006-01-04 Roman Kennke <kennke@aicas.com>
36278 * javax/swing/JFileChooser.java
36279 (showOpenDialog): Set fixed width on the dialog.
36280 (showSaveDialog): Set fixed width on the dialog.
36281 (showDialog): Set fixed width on the dialog.
36283 2006-01-04 Roman Kennke <kennke@aicas.com>
36285 * javax/swing/plaf/basic/BasicListUI.java
36286 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36287 Adjusted iteration to not use visibleRowCount and instead iterate
36288 over the real number of elements in cellHeights.
36289 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36290 Adjusted iteration to not use visibleRowCount and instead iterate
36291 over the real number of elements in cellHeights.
36293 2006-01-04 Roman Kennke <kennke@aicas.com>
36295 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36296 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36297 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36299 2006-01-04 Roman Kennke <kennke@aicas.com>
36301 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36302 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36304 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36305 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36307 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36309 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36310 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36311 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36312 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36313 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36314 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36315 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36316 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36318 2006-01-04 Lillian Angel <langel@redhat.com>
36320 * javax/swing/plaf/metal/MetalFileChooserUI.java
36321 (propertyChange): Fixed to change the combo box label
36322 appropriately. Also, fixed to set the textfield's text
36324 (editFile): Fixed size of editing field.
36325 (installComponents): Correctly aligned all panels.
36326 (installStrings): Fixed to set the label's text
36327 appropriately depending on the dialog type.
36329 2006-01-04 Lillian Angel <langel@redhat.com>
36333 * javax/swing/JTree.java
36334 (JTree): Because some L&F defaults have been updated,
36335 the selectionMode for the tree needed to be set to SINGLE.
36336 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36337 Initialized accessoryPanel.
36338 * javax/swing/plaf/metal/MetalFileChooserUI.java
36339 (installComponents): Added accessoryPanel to the filechooser.
36341 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36343 * configure.ac: Added AX_CREATE_STDINT_H
36345 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36347 * m4/ax_create_stdint_h.m4: New file.
36349 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36350 typedefs. Removed stdint.h and inttypes.h includes.
36352 2006-01-03 Mark Wielaard <mark@klomp.org>
36354 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36355 register keyboard action when accelerator is not null.
36356 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36357 re-register accelerator if not null.
36358 (installKeyboardActions): Only put accelerator in map when not null.
36360 2006-01-04 Lillian Angel <langel@redhat.com>
36362 * javax/swing/plaf/basic/BasicLookAndFeel.java
36363 (initComponentDefaults): Removed unneeded default.
36364 * javax/swing/plaf/metal/MetalLookAndFeel.java
36365 (initComponentDefaults): Added and fixed several defaults.
36367 2006-01-04 Roman Kennke <kennke@aicas.com>
36369 * javax/swing/plaf/basic/BasicHTML.java: New class.
36371 2006-01-03 Tom Tromey <tromey@redhat.com>
36373 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36374 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36376 2006-01-03 Mark Wielaard <mark@klomp.org>
36378 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36380 2006-01-03 Mark Wielaard <mark@klomp.org>
36382 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36383 Always call createDefaultTheme().
36384 (createDefaultTheme): Check whether theme is still null.
36386 2006-01-03 Mark Wielaard <mark@klomp.org>
36388 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36389 Color.WHITE if null.
36391 2006-01-03 Lillian Angel <langel@redhat.com>
36393 * javax/swing/plaf/metal/MetalLookAndFeel.java
36394 (getDescription): Fixed to return the correct string.
36396 (getName): Likewise.
36397 (getDefaults): Added check to avoid NPE.
36398 (getAcceleratorForeground): Likewise.
36399 (getAcceleratorSelectedForeground): Likewise.
36400 (getBlack): Likewise.
36401 (getControl): Likewise.
36402 (getControlDarkShadow): Likewise.
36403 (getControlDisabled): Likewise.
36404 (getControlHighlight): Likewise.
36405 (getControlInfo): Likewise.
36406 (getControlShadow): Likewise.
36407 (getControlTextColor): Likewise.
36408 (getControlTextFont): Likewise.
36409 (getDesktopColor): Likewise.
36410 (getFocusColor): Likewise.
36411 (getHighlightedTextColor): Likewise.
36412 (getInactiveControlTextColor): Likewise.
36413 (getInactiveSystemTextColor): Likewise.
36414 (getMenuBackground): Likewise.
36415 (getMenuDisabledForeground): Likewise.
36416 (getMenuForeground): Likewise.
36417 (getMenuSelectedBackground): Likewise.
36418 (getMenuSelectedForeground): Likewise.
36419 (getMenuTextFont): Likewise.
36420 (getPrimaryControl): Likewise.
36421 (getPrimaryControlDarkShadow): Likewise.
36422 (getPrimaryControlHighlight): Likewise.
36423 (getPrimaryControlInfo): Likewise.
36424 (getPrimaryControlShadow): Likewise.
36425 (getSeparatorBackground): Likewise.
36426 (getSeparatorForeground): Likewise.
36427 (getSubTextFont): Likewise.
36428 (getSystemTextColor): Likewise.
36429 (getSystemTextFont): Likewise.
36430 (getTextHighlightColor): Likewise.
36431 (getUserTextColor): Likewise.
36432 (getUserTextFont): Likewise.
36433 (getWhite): Likewise.
36434 (getWindowBackground): Likewise.
36435 (getWindowTitleBackground): Likewise.
36436 (getWindowTitleFont): Likewise.
36437 (getWindowTitleForeground): Likewise.
36438 (getWindowTitleInactiveBackground): Likewise.
36439 (getWindowTitleInactiveForeground): Likewise.
36441 2006-01-03 Mark Wielaard <mark@klomp.org>
36443 * javax/swing/JTextArea.java
36444 (JTextArea(Document,text,int,int)): Only call setText() when text is
36447 2006-01-03 Lillian Angel <langel@redhat.com>
36449 * javax/swing/plaf/basic/BasicFileChooserUI.java
36450 (installStrings): Fixed installation of defaults that
36451 were changed in BasicLookAndFeel.
36452 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36453 (installDefaults): Fixed installation of defaults that
36454 were changed in BasicLookAndFeel.
36456 2006-01-03 Lillian Angel <langel@redhat.com>
36458 * javax/swing/plaf/basic/BasicLookAndFeel.java
36459 (initComponentDefaults): Fixed several defaults that differed
36462 2006-01-03 Lillian Angel <langel@redhat.com>
36464 * javax/swing/tree/DefaultTreeSelectionModel.java
36465 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36467 2006-01-03 Lillian Angel <langel@redhat.com>
36469 * javax/swing/AbstractAction.java
36470 (AbstractAction): Fixed to pass in null. Should not be
36471 an empty string. Removed TODO comment.
36472 (AbstractAction): Removed TODO comment.
36473 * javax/swing/JList.java
36474 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36475 * javax/swing/JMenuItem.java
36476 (JMenuItem): Set all defaults if the action passed in is not null.
36477 * javax/swing/JProgressBar.java
36478 (JProgressBar): Added check to prevent NPE.
36480 2006-01-03 Lillian Angel <langel@redhat.com>
36482 * javax/swing/plaf/basic/BasicListUI.java
36483 (getPreferredSize): The JDK adds some extra space to
36484 the list, so we should as well.
36485 * javax/swing/plaf/metal/MetalFileChooserUI.java
36486 (getPreferredSize): Should only take the fileListPanel's
36487 width into account when getting the size. Also, the buttonPanel's
36488 size should not be checked, since it is in the bottomPanel already.
36489 (getMinimumSize): Likewise.
36491 2006-01-03 Lillian Angel <langel@redhat.com>
36493 * javax/swing/JList.java
36494 (init): visibleRowCount should be 7, like the JDK.
36495 * javax/swing/plaf/metal/MetalFileChooserUI.java
36496 (installComponents): No need to add the fileFilterCombo
36497 to a panel. It can be added to the row directly.
36499 2006-01-03 Lillian Angel <langel@redhat.com>
36501 PR classpath/25480 PR classpath/25478
36502 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36503 (updateViewport): Made changes suggested by
36505 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36506 Removed unneeded import.
36507 (createList): Removed comment, JList wrapping
36509 (getPreferredSize): Made changes suggested by
36510 Chris Lansdown. Uses fileListPanel, instead
36512 (getMinimumSize): Uses fileListPanel, instead
36514 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36515 (paintFocus): Fixed height.
36517 2006-01-03 Roman Kennke <kennke@aicas.com>
36519 * javax/swing/plaf/basic/BasicListUI.java
36520 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36522 2006-01-03 Roman Kennke <kennke@aicas.com>
36524 * javax/swing/plaf/basic/BasicListUI.java
36525 (locationToIndex): Special case for when variable cell heights
36526 are possible. (cellHeights is used instead of cellHeight).
36527 (indexToLocation): Special case for when variable cell heights
36528 are possible. (cellHeights is used instead of cellHeight).
36530 2006-01-03 Roman Kennke <kennke@aicas.com>
36532 * javax/swing/text/DefaultStyledDocument.java
36533 (ElementBuffer.remove): New method.
36534 (ElementBuffer.removeUpdate): New method.
36535 (removeUpdate): New method.
36537 2006-01-03 Roman Kennke <kennke@aicas.com>
36540 (dist-hook): Preserve attributes of Java sources when copying to
36543 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36545 * AUTHORS: Added self.
36546 * java/security/Security.java (getProvider): Ensures provider's name is
36547 not null, not an empty string, and is trimmed before usage.
36549 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36551 * gnu/CORBA/Poa/AOM.java (add):
36552 Changed parameter Object into gnuServantObject.
36553 (Obj.object): Changed type to gnuServantObject.
36554 (findObject): Rewritten.
36556 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36558 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36559 buffering. Ability has gone in Qt-4.1.x.
36561 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36562 to have the right include flags.
36564 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36566 * java/security/MessageDigest.java (getInstance(String,String)):
36567 Use trimmed copy of provider name.
36568 * gnu/java/security/Engine.java
36569 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36570 service and algorithm names.
36572 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36574 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36575 localhost is null or is an empty string. Trim hostname before