1 2007-04-02 Keith Seitz <keiths@redhat.com>
3 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
4 Event type is "THREAD_START" not "THREAD_END".
6 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
7 Handle configure strings ":port" and "port".
9 2007-03-30 Andrew Haley <aph@redhat.com>
11 * javax/management/ObjectName.java: Handle 0-length names.
13 2007-03-27 Andrew Haley <aph@redhat.com>
15 * javax/management/MBeanServerFactory.java: Use the domain that
16 we've been passed, not the fixed string "DefaultDomain".
18 2007-03-29 Tom Tromey <tromey@redhat.com>
21 * gnu/java/util/jar/JarUtils.java (log): Commented out.
22 (readSFManifest): Don't log.
24 2007-03-28 Casey Marshall <csm@gnu.org>
26 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
27 check keyEncipherment bit of the certificate, and just pass the public
30 2007-03-27 Casey Marshall <csm@gnu.org>
33 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
34 Always make a new socket.
35 (bind, connect, getInetAddress, getLocalAddress, getPort,
36 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
37 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
38 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
39 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
40 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
41 getTrafficClass, setReuseAddress, getReuseAddress, close,
42 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
43 isInputShutdown, isOutputShutdown): Always use
46 2007-03-27 Tom Tromey <tromey@redhat.com>
49 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
50 (createXMLReader): Code in Classpath default.
52 2007-03-27 Keith Seitz <keiths@redhat.com>
55 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
56 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
57 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
58 (executeGetValues): Use Value type.
59 (exectureSetValues): Ditto.
60 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
61 (executeGetValues): Use Value type.
62 (executeSetValues): Ditto.
63 (invokeMethod): Record method return type.
64 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
65 (executeGetValues): Use Value type.
66 (executeSetValues): Ditto.
67 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
68 (executeGetValues): Use Value type.
69 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
70 (executeGetValues): Use Value type.
71 (executeSetValues): Ditto.
72 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
74 (getResultType): New Method.
75 (setResultType): Ditto.
76 * gnu/classpath/jdwp/util/Value.java: Remove.
77 * gnu/classpath/jdwp/value: New Package.
78 * gnu/classpath/jdwp/value/Value.java: New file.
79 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
80 * gnu/classpath/jdwp/value/ByteValue.java: New file.
81 * gnu/classpath/jdwp/value/CharValue.java: New file.
82 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
83 * gnu/classpath/jdwp/value/FloatValue.java: New file.
84 * gnu/classpath/jdwp/value/IntValue.java: New file.
85 * gnu/classpath/jdwp/value/LongValue.java: New file.
86 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
87 * gnu/classpath/jdwp/value/ShortValue.java: New file.
88 * gnu/classpath/jdwp/value/StringValue.java: New file.
89 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
90 * gnu/classpath/jdwp/value/VoidValue.java: New file.
92 2007-02-28 Keith Seitz <keiths@redhat.com>
93 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
94 (executeSet): Check if VM has capability for field access
95 or modification events.
96 * gnu/classpath/jdwp/processor/MethodCommandSet.java
97 (executeByteCodes): Check if VM has capability and
99 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
100 (executeMonitorInfo): Likewise.
101 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
102 (executeSourceDebugExtension): Likewise.
103 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
104 (executePopFrames): Likewise.
105 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
106 (executeOwnedMonitors): Likewise.
107 (executeCurrentContendedMonitor): Likewise.
108 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
109 (executeCapabilities): Rewrite using new VMVirtualMachine
111 (executeRedefineClasses): Check if VM has capability and
113 (executeSetDefaultStratum): Likewise.
114 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
115 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
116 (canWatchFieldModification): New class constant.
117 (canWatchFieldAccess): Likewise.
118 (canGetBytecodes): Likewise.
119 (canGetSyntheticAttribute): Likewise.
120 (canGetOwnedMonitorInfo): Likewise.
121 (canGetCurrentContendedMonitor): Likewise.
122 (canGetMonitorInfo): Likewise.
123 (canRedefineClasses): Likewise.
124 (canAddMethod): Likewise.
125 (canUnrestrictedlyRedefineClasses): Likewise.
126 (canPopFrames): Likewise.
127 (canUseInstanceFilters): Likewise.
128 (canGetSourceDebugExtension): Likewise.
129 (canRequestVMDeathEvent): Likewise.
130 (canSetDefaultStratum): Likewise.
131 (redefineClasses): New method.
132 (setDefaultStratum): Likewise.
133 (getSourceDebugExtension): Likewise.
134 (getBytecodes): Likewise.
135 (getMonitorInfo): Likewise.
136 (getOwnedMonitors): Likewise.
137 (getCurrentContendedMonitor): Likewise.
138 (popFrames): Likewise.
140 2007-02-28 Keith Seitz <keiths@redhat.com>
141 * gnu/classpath/jdwp/processor/MethodCommandSet.java
142 (executeLineTable): Use ReferenceTypeId instead of
143 ClassReferenceTypeId.
144 (executeVariableTable): Likewise.
145 (executeVariableTableWithGeneric): Fix error message.
146 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
147 (executeSignatureWithGeneric): Fix error message.
148 (executeFieldWithGeneric): Likewise.
149 (executeMethodsWithGeneric): Likewise.
150 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
151 (executeGetValues): Use ThreadId instead of ObjectId.
152 (executeSetValues): Likewise.
153 (executeThisObject): Likewise.
155 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
156 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
157 * gnu/classpath/jdwp/util/NullObject.java: New class.
158 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
159 (getObjectId): Handle null object.
160 (get): Handle objectId of 0.
162 2007-02-22 Keith Seitz <keiths@redhat.ecom>
163 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
164 (getAllLoadedClassesCount): Remove.
165 (getAllLoadedClasses): Return a Collection.
166 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
167 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
168 now returns Collection.
169 (executeAllClasses): Likewise.
170 Get size of return from Colleciton instead of calling
171 getAllLoadedClassesCount.
173 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
174 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
175 (executeGetValues): Pass a signature byte to VMFrame.getValue.
176 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
179 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
180 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
181 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
182 (executeSetValues): Ditto.
183 (executeThisObject): Ditto.
184 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
185 and a constructor used to create VMFrames.
186 (getThread): New method.
187 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
188 Changed to take a long instead of a ByteBuffer to pass the frameID.
190 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
191 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
193 2007-03-26 Tom Tromey <tromey@redhat.com>
195 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
196 (rmid Tool): Likewise.
198 2007-03-25 Dalibor Topic <robilad@kaffe.org>
200 * doc/cp-tools.texinfo: Fix node ordering.
202 2007-03-19 Matthias Klose <doko@ubuntu.com>
204 * doc/Makefile.am: Build a gcjh(1) man page.
205 * doc/cp-tools.texinfo: Add documentation for gcjh.
207 2007-03-26 Stepan Kasal <skasal@redhat.com>
209 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
211 (getParser): Use new field.
213 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
215 * resource/com/sun/tools/javac/messages.properties
216 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
217 messages for when --with-ecj-jar is not specified.
218 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
219 * tools/Makefile.am: Build com.sun.tools.javac package
221 * configure, doc/api/Makefile.in, doc/Makefile.in,
222 examples/Makefile.in, external/jsr166/Makefile.in,
223 external/Makefile.in, external/relaxngDatatype/Makefile.in,
224 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
225 include/Makefile.in, lib/Makefile.in, Makefile.in,
226 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
227 native/jni/classpath/Makefile.in,
228 native/jni/gconf-peer/Makefile.in,
229 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
230 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
231 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
232 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
233 native/jni/midi-dssi/Makefile.in,
234 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
235 native/jni/xmlj/Makefile.in, native/Makefile.in,
236 native/plugin/Makefile.in, resource/Makefile.in,
237 scripts/Makefile.in, tools/Makefile.in: Regenerate.
238 * tools/classes/com/sun/tools/javac: New directory.
239 * tools/classes/com/sun/tools/javac/Main.class,
240 tools/classes/com/sun/tools/javac/Messages.class: New files.
242 2007-03-16 Tom Tromey <tromey@redhat.com>
244 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
247 2007-03-16 Tom Tromey <tromey@redhat.com>
249 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
250 (printClass): Added filename argument.
251 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
252 (printClass): Added filename argument.
253 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
254 (printClass): Use user's file name.
255 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
256 (printClass): Use user's file name.
257 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
259 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
261 (writeHeaders): Use a HashMap.
262 (run): Put class name into HashMap for writeHeaders.
264 2007-03-02 Mario Torre <neugens@limasoftware.net>
267 committed for Petteri Räty <betelgeuse@gentoo.org>
268 * configure.ac: fix broken build for gcj browser plugin
270 2007-02-20 Jakub Jelinek <jakub@redhat.com>
272 * java/util/Date.java (parse): Properly parse 09:01:02 as
273 hours/minutes/seconds, not as hours/minutes/year.
274 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
275 {start,end}TimeMode constructor by calling shorter constructor,
276 set {start,end}TimeMode fields after it returns.
277 (setStartRule): Don't adjust startTime into WALL_TIME. Set
278 startTimeMode to WALL_TIME.
279 (endStartRule): Similarly.
280 (getOffset): Handle properly millis + dstOffset overflowing into the
281 next day. Adjust startTime resp. endTime based on startTimeMode
283 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
285 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
286 If non-null, set up aliases0 and don't put anything into
288 (defaultZone): Call getTimeZone instead of timezones().get.
289 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
290 getTimeZoneInternal instead of timezones().get.
291 (parseTime): Parse correctly hour:minute.
292 (getTimeZoneInternal): New private method.
293 (getTimeZone): Do the custom ID checking first, canonicalize
294 ID for custom IDs as required by documentation. Call
295 getTimeZoneInternal to handle the rest.
296 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
297 (getAvailableIDs(File,String,ArrayList)): New private method.
298 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
299 * gnu/java/util/ZoneInfo.java: New file.
301 2007-02-20 Matthias Klose <doko@ubuntu.com>
303 * doc/Makefile.am: Add rules to build and install man pages
305 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
306 Rename, prefix files with "cp-".
307 * doc/cp-tools.texinfo: Add markup for man page generation,
308 add documentation for command line options for gjar, gjavah,
309 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
310 doc/texi2pod.pl: New, taken from the GCC sources.
312 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
315 * javax/management/MBeanInfo.java (MBeanInfo):
316 Use clone to duplicate the arrays in order to
317 preserve the array type.
319 2007-02-16 Andrew Haley <aph@redhat.com>
321 * gnu/java/lang/management/MemoryMXBeanImpl.java,
322 javax/management/MBeanServerDelegate.java: Use
323 gnu.javax.management.ListenerData rather than
324 gnu.classpath.ListenerData.
325 * gnu/javax/management/ListenerData.java: Move here from
326 gnu/classpath/ListenerData.java.
328 2007-02-14 Jakub Jelinek <jakub@redhat.com>
329 Andrew Haley <aph@redhat.com>
331 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
333 2007-02-09 Tom Tromey <tromey@redhat.com>
336 * configure: Rebuilt.
337 * configure.ac: Also check for jack/jack.h.
339 2007-02-09 Jakub Jelinek <jakub@redhat.com>
341 * java/util/TimeZone.java: Handle default (one hour) daylight
344 2007-02-09 Jakub Jelinek <jakub@redhat.com>
347 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
348 just Rule lines, in the other everything else. Pass 0 instead of
349 $savings as second argument to parseRule when parsing the start
351 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
353 2007-02-07 Chris Burdess <dog@gnu.org>
356 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
357 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
358 SAXSources without a backing URL or stream.
361 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
362 LSParser if implementation does not support asynchronous.
363 * gnu/xml/stream/XMLParser.java,
364 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
365 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
366 protocol handler problems.
368 2007-02-06 Tom Tromey <tromey@redhat.com>
371 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
372 (printClass): Always print a header.
374 2007-02-05 Andrew Haley <aph@redhat.com>
377 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
378 (printClass): Replace '/' in filenames with '_'.
379 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
380 (printClass): Likewise.
382 2007-02-05 Tom Tromey <tromey@redhat.com>
384 * java/net/Proxy.java (equals): Handle case where address==null.
385 (hashCode): Likewise.
386 (toString): Likewise.
388 2007-01-31 Tom Tromey <tromey@redhat.com>
390 * resource/gnu/classpath/tools/jar/messages.properties
391 (Main.Stdin): New message.
392 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
394 (readNames): New method.
397 2007-01-26 Andrew Haley <aph@redhat.com>
399 * java/lang/SecurityManager.java: Load and initialize
400 java.security.Security.
402 2007-01-26 Tom Tromey <tromey@redhat.com>
404 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
405 'volatile' after field type.
407 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
409 * java/util/Arrays.java (binarySearch): Change comparison order.
411 2007-01-17 Tom Tromey <tromey@redhat.com>
413 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
414 (PathOptionGroup): Set default boot class path.
416 2006-12-14 Andrew Haley <aph@redhat.com>
418 * tools/gnu/classpath/tools/jar/Creator.java: Close the
421 2006-10-12 Andrew Haley <aph@redhat.com>
423 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
424 * java/lang/ThreadLocal.java: Likewise.
426 2006-09-13 Andrew Haley <aph@redhat.com>
428 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
429 Revert previous gcj-specific disabling of checks.
430 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
432 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
435 2006-09-13 Andrew Haley <aph@redhat.com>
437 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
439 (Iterator.remove()): Decrement index after removing element.
441 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
443 * javax/net/ssl/SSLSocketFactory.java (getDefault):
444 Chain exception cause.
446 2006-12-11 Roman Kennke <kennke@aicas.com>
448 * .classpath: Include ASM in Eclipse classpath.
450 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
452 * gnu/java/lang/management/BeanImpl.java:
453 (translate(String)): Trim strings of whitespace.
454 * javax/management/MBeanAttributeInfo.java:
455 (MBeanAttributeInfo(String,String,Method,Method)):
456 Use Class.getName() for normal (non-parameterized) cases.
457 * javax/management/MBeanConstructorInfo.java:
458 (MBeanConstructorInfo(String, Constructor)):
460 * javax/management/MBeanOperationInfo.java:
461 (MBeanOperationInfo(String, Method)):
464 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
466 * java/lang/Class.java:
467 (getClasses()): Return Class<?>[].
468 (internalGetClasses()): Likewise.
469 (getConstructor(Class<?>...)): Add type parameter
471 (getDeclaredConstructor(Class<?>...)): Likewise.
472 (getDeclaredClasses()): Return Class<?>[].
473 (getDeclaredClasses(boolean)): Likewise.
474 (getDeclaredConstructors()): Return Constructor<?>[].
475 (getDeclaredConstructors(boolean)): Likewise.
476 (getDeclaredMethod(String,Class<?>...)): Add type
477 parameter to parameters.
478 (getInterfaces()): Return Class<?>[].
479 (getMethods(String,Class<?>...)): Add type
480 parameter to parameters.
481 * java/text/CollationKey.java:
483 * java/text/DecimalFormatSymbols.java:
486 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
488 * gnu/java/lang/management/BeanImpl.java:
489 (translate(String)): Handle Map and List as
490 Strings of the form "java.util.Map<K,V>" and
492 * javax/management/MBeanAttributeInfo.java:
493 (MBeanAttributeInfo(String,String,Method,Method)):
494 Use generic parameter and return types.
495 * javax/management/MBeanConstructorInfo.java:
496 (MBeanConstructorInfo(String, Constructor)):
497 Use generic parameter types.
498 * javax/management/MBeanOperationInfo.java:
499 (MBeanOperationInfo(String, Method)):
500 Use generic parameter and return types.
502 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
504 * gnu/java/lang/management/BeanImpl.java:
505 (translate(String)): Comment out code for using type
506 variables for Map and List.
507 * java/lang/Thread.java:
508 (Thread(ThreadGroup,Runnable,String,long)): Fix
509 incrementation of totalThreadsCreated to be prior to use.
511 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
513 * javax/management/MBeanServerFactory.java:
514 (createMBeanServer(String)): Added security check.
515 (findMBeanServer(String)): Likewise.
516 (newMBeanServer(String)): Likewise.
517 (releaseMBeanServer(String)): Likewise.
518 * javax/management/MBeanServerPermission.java:
521 2006-12-08 David Daney <ddaney@avtrex.com>
523 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
526 2006-12-08 David Daney <ddaney@avtrex.com>
528 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
530 2006-12-08 David Daney <ddaney@avtrex.com>
532 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
534 (HTTPConnection): Handle NumberFormatException in properties parsing.
535 (Pool.get): Set timeout on reused sockets.
536 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
538 (HTTPURLConnection): Cleanup properties handling.
539 (getConnection): Use both connection and read timeouts.
540 (setConnectTimeout): Removed.
541 (setReadTimeout): New method.
542 * java/net/URLConnection.java (timeout): Renamed to...
543 (connectTimeout): ... connectTimeout throughout.
544 (readTimeout): New field.
545 (getReadTimeout): New method.
546 (setReadTimeout): New method.
548 2006-12-08 Tania Bento <tbento@redhat.com>
550 * java/awt/ScrollPane.java
551 (doLayout): Change the location of the scrollpane's child
554 2006-12-08 David Daney <ddaney@avtrex.com>
556 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
558 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
559 SocketTimeoutException if a blocking socket timesout.
560 (Java_gnu_java_nio_VMChannel_readScattering): Same.
561 (Java_gnu_java_nio_VMChannel_read__I): Same.
562 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
563 (Java_gnu_java_nio_VMChannel_connect6): Same.
565 2006-12-08 Mark Wielaard <mark@klomp.org>
567 * configure.ac (VERSION): Set to 0.93-generics.
568 * NEWS: Add release date.
570 2006-12-08 Tania Bento <tbento@redhat.com>
572 * java/awt/ScrollPane.java
573 (getScrollPosition): Throw NullPointerException if scrollpane
575 (setScrollPosition(int, int)): Throw NullPointerException if
576 scrollpane does have a child. Check that both ints are within
577 the allowed bounds; If they are not, scroll to the closest allowed
580 2006-12-07 Roman Kennke <kennke@aicas.com>
582 * javax/swing/JEditorPane.java
583 (EditorKitMapping): New inner helper class.
584 (editorKits): New static field for caching editor kit instances.
585 (static_initiazer): Initialize static mappings here.
586 (createEditorKitForContentType): Try to use cached instance.
587 Use correct classloader for loading.
588 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
590 (getEditorKitForContentType): Store the fetched editor kit.
591 Fallback to createDefaultEditorKit().
592 (init): Don't clean the static registry here.
593 (registerEditorKitForContentType(String,String,ClassLoader)):
595 (registerEditorKitForContentType(String,String)): Delegate to
596 the other version of this method with the thread's context
599 2006-12-07 Mark Wielaard <mark@klomp.org>
601 * examples/gnu/classpath/examples/swing/HtmlDemo.java
602 (setPage): Don't convert URL to String for setPage().
604 2006-12-07 Mark Wielaard <mark@klomp.org>
606 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
608 2006-12-07 Mark Wielaard <mark@klomp.org>
610 * tools/Makefile.am: Explicitly define and use bootclasspath as
613 2006-12-07 Mark Wielaard <mark@klomp.org>
615 * javax/swing/JEditorPane.java (createEditorKitForContentType):
616 Always load from system class loader.
618 2006-12-07 Mark Wielaard <mark@klomp.org>
620 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
622 (URL(URL,String,URLStreamHandler)): Call new constructor.
623 (URL(URL,String)): Likewise.
624 (URL(String)): Likewise.
626 2006-12-07 Tom Tromey <tromey@redhat.com>
629 * INSTALL: Don't mention --with-asm.
630 * tools/external/README: New file.
631 * tools/toolwrapper.c (main): Don't use ASM_JAR.
632 * tools/gjavah.in: Don't use PATH_TO_ASM.
633 * tools/grmic.in: Likewise.
634 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
636 (javah, rmic): Removed variables.
637 (bin_PROGRAMS): Updated.
638 (gappletviewer_CFLAGS): Don't define ASM_JAR.
639 (gjarsigner_CFLAGS): Likewise.
640 (gkeytool_CFLAGS): Likewise.
641 (gjar_CFLAGS): Likewise.
642 (gnative2ascii_CFLAGS): Likewise.
643 (gserialver_CFLAGS): Likewise.
644 (grmiregistry_CFLAGS): Likewise.
645 (gtnameserv_CFLAGS): Likewise.
646 (gorbd_CFLAGS): Likewise.
647 (grmid_CFLAGS): Likewise.
648 (gjavah_CFLAGS): Likewise.
649 (grmic_CFLAGS): Likewise.
650 (bin_SCRIPTS): Updated.
651 (TOOLS_JAVA_FILES): Updated.
652 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
653 * configure.ac: Removed --with-asm. Always build gjavah.
655 2006-12-06 Roman Kennke <kennke@aicas.com>
657 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
659 * examples/gnu/classpath/examples/swing/HtmlDemo.java
660 (LoadActionListener): Call setPage() helper method.
661 (createContent): Register tweaked editor kit. For FormSubmitEvents
662 call submitForm(), otherwise setPage().
663 (postData): Helper method for posting form data.
664 (setPage): Helper method for navigating to a new URL.
665 (submitForm): Helper method for submitting a form.
666 * examples/gnu/classpath/examples/swing/forms.html:
667 Added text/password fields and select boxes.
668 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
670 2006-12-06 Roman Kennke <kennke@aicas.com>
672 * javax/swing/text/html/FormView.java
673 (SubmitThread.postData): Implemented.
674 (SubmitThread.run): Pass data to postData().
675 (actionPerformed): Reset form when reset button is activated.
676 (createComponent): Add support for select lists and comboboxes.
677 Don't set value of text and password fields here, this is done
678 now in HTMLDocument for consistency.
679 (getElementFormData): Add support for fetching form data from
680 select lists and comboboxes as well as textareas.
681 (getSelectData): New helper method. Fetches form data from
683 (getTextAreaData): New helper method. Fetches form data from
685 (resetForm): New helper method. Resets the entire form.
686 * javax/swing/text/html/HTMLDocument.java
687 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
688 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
689 (HTMLReader.FormAction.setModel): Initialize text and password
690 values here. Also, use the resetable special models.
691 Group radio buttons into ButtonGroup for exclusive selection.
692 (HTMLReader.FormTagAction): New class. Handles FORM tags.
693 (HTMLReader.buttonGroups): New field.
694 (HTMLReader.numOptions): New field.
695 (HTMLReader.option): New field.
696 (HTMLReader.selectModel): New field.
697 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
698 (HTMLReader.handleText): Handle OPTION text.
699 (HTMLReader.initTags): Map FORM tags to FormTagAction.
700 (HTMLReader.textAreaContent): Set initial content.
701 * javax/swing/text/html/Option.java
702 (Option): Make copy of attribute set. Initialize selected state.
703 (getValue): Fetch value from attribute set.
704 * javax/swing/text/html/ResetableModel.java: New interface.
705 * javax/swing/text/html/ResetablePlainDocument.java: New class.
706 Supports resetting the state.
707 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
708 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
709 * javax/swing/text/html/SelectListModel.java: Likewise.
711 2006-12-06 Roman Kennke <kennke@aicas.com>
713 * javax/swing/text/DefaultCaret.java
714 (appear): Adjust visibility here.
715 (setDotImpl): Don't adjust visibility here.
716 (moveDotImpl): Don't adjust visibility here.
718 2006-12-06 Roman Kennke <kennke@aicas.com>
720 * gnu/java/awt/peer/gtk/AsyncImage.java
721 (Loader.run): Synchronize on the AsyncImage to avoid threading
723 (addObservers): Check for obs==null outside and synchronize on
724 this inside to avoid locking issues.
725 (checkImage): New helper method.
726 (notifyObservers): Check that the correct lock is held and
727 remove actual locking.
728 * gnu/java/awt/peer/gtk/GtkToolkit.java
729 (checkImage): Added special handling for AsyncImages.
731 2006-12-06 Roman Kennke <kennke@aicas.com>
733 * examples/gnu/classpath/examples/swing/Demo.java
734 (getIcon): Made package private.
735 * examples/gnu/classpath/examples/swing/HtmlDemo.java
736 (hyperlinkUpdate): Convert URL to string.
738 2006-12-06 Mark Wielaard <mark@klomp.org>
740 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
743 2006-12-06 Roman Kennke <kennke@aicas.com>
745 * examples/gnu/classpath/examples/icons/back.png,
746 * examples/gnu/classpath/examples/icons/reload.png:
747 New icons for the HTML browser.
748 * examples/gnu/classpath/examples/swing/HtmlDemo.java
749 (history): New field. Manages the browsing history.
750 (HtmlDemo): Initialize history.
751 (createContent): Set location and add history. Add toolbar.
752 (createToolBar): New helper method.
753 (main): Make default size bigger.
754 * examples/gnu/classpath/examples/swing/frame1.html,
755 * examples/gnu/classpath/examples/swing/frame2.html,
756 * examples/gnu/classpath/examples/swing/frame3.html,
757 * examples/gnu/classpath/examples/swing/frame4.html,
758 * examples/gnu/classpath/examples/swing/frames.html,
759 * examples/gnu/classpath/examples/swing/tables.html:
761 * examples/gnu/classpath/examples/swing/welcome.html
762 Add a couple of links and new test pages.
764 2006-12-06 Roman Kennke <kennke@aicas.com>
766 * javax/swing/JEditorPane.java
767 (getStream): Buffer the stream for efficiency.
768 (setPage): Don't scroll the view at this point.
769 * javax/swing/plaf/basic/BasicTextUI.java
770 (RootView.paint): Call RootView's setSize to get synchronization.
771 (RootView.setSize): Synchronize to prevent race in layout code.
772 * javax/swing/text/AbstractDocument.java
773 (notifyListeners): New field.
774 (fireChangedUpdate): Track notifyListener field.
775 (fireRemoveUpdate): Track notifyListener field.
776 (fireIndertUpdate): Track notifyListener field.
777 (writeLock): Check notifyListener and throw IllegalStateException.
778 * javax/swing/text/View.java
779 (preferenceChanged): Create local var for better thread safety and
782 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
784 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
785 lightweight component, not just for non-Panel components.
786 (addImpl): Do not call doLayout.
787 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
788 (setNativeBounds): Ensure widget parent is a GtkFixed before
789 calling gtk_fixed_move.
790 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
791 (setNativeBounds): Likewise.
792 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
793 (setNativeBounds): Likewise.
795 2006-12-06 Roman Kennke <kennke@aicas.com>
797 * javax/swing/text/html/TableView.java
798 (RowView.layoutMajorAxis): Check column index for invalid value.
799 (updateGrid): Check column index for invalid value.
801 2006-12-06 Roman Kennke <kennke@aicas.com>
803 * javax/swing/text/html/BlockView.java
804 (getAlignment): Align blocks horizontally by the superclass.
805 * javax/swing/text/html/HTMLEditorKit.java
806 (HTMLFactory.create): Replace equals comparison by == for efficiency.
807 Add mapping for misplaced tr, td and th tags. Include object mapping.
808 * javax/swing/text/html/TableView.java
809 (RowView.replace): Invalidate grid early.
810 (gridValid): Initialize with false.
811 (create): Only create RowView and CellView for correctly placed
812 tags. Avoid unnecessary casts.
813 (getAlignment): Removed.
814 (replace): Invalidate grid early.
816 2006-12-06 Francis Kung <fkung@redhat.com>
818 * java/awt/geom/RectangularShape.java
819 (getBounds): Remove empty rectangle check.
821 2006-12-06 Ben Konrath <bkonrath@redhat.com>
824 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
825 newValue are the same.
826 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
828 2006-12-06 Tania Bento <tbento@redhat.com>
830 * javax/swing/border/CompoundBorder.java:
831 (isBorderOpaque): If inside border is null, return true if outside
832 border is opaque, false otherwise; if outside border is null, return
833 true if inside border is opaque, false otherwise; if inside or
834 outside border are both not null, then return true only if both the
835 inside and outside border are opaque, false otherwise.
837 2006-12-06 Tania Bento <tbento@redhat.com>
839 * javax/swing/border/CompoundBorder.java:
840 (isBorderOpaque): If inside and outside border both have a null
843 2006-12-06 Chris Burdess <dog@gnu.org>
846 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
847 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
849 2006-12-06 Chris Burdess <dog@gnu.org>
852 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
855 2006-12-06 Chris Burdess <dog@gnu.org>
858 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
859 discover schema factory implementation class.
861 2006-12-05 Francis Kung <fkung@redhat.com>
863 * java/awt/BasicStroke.java
864 (capEnd): Prevent division by zero.
865 * java/awt/geom/Arc2D.java
866 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
867 (ArcIterator.currentSegment): Handle a negative extent.
869 2006-12-05 Francis Kung <fkung@redhat.com>
871 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
872 (constructor): Handle translated subimages properly, ie, if the image's
873 0,0 position is not the data buffer's first element.
875 2006-12-05 Roman Kennke <kennke@aicas.com>
877 * gnu/java/awt/peer/gtk/AsyncImage.java
878 (Loader.run): Nullify observers after loading.
879 (observers): Made package private.
880 (addObserver): Check for null observers field. Create local
881 variable for thread safety.
882 (getHeight): Use addObserver() for checking state of field
883 and notifying observer when necessary.
884 (getWidth): Use addObserver() for checking state of field
885 and notifying observer when necessary.
886 (getProperty): Use addObserver() for checking state of field
887 and notifying observer when necessary.
888 (notifyObservers): Check for null observers field. Create local
889 variable for thread safety.
891 2006-12-05 Roman Kennke <kennke@aicas.com>
893 * javax/swing/text/html/HTMLEditorKit.java
894 (HTMLFactory.create): Removed debug output.
895 * javax/swing/text/html/InlineView.java
896 (getBreakWeight): Likewise.
897 * javax/swing/text/html/StyleSheet.java
899 (ListPainter.paint): Removed debug output.
901 2006-12-05 Roman Kennke <kennke@aicas.com>
903 * javax/swing/text/html/BlockView.java
904 (painter): Made package visible.
905 * javax/swing/text/html/StyleSheet.java
906 (translateBorder): New helper method.
907 (translateHTMLToCSS): Add mappings for border attributes.
908 * javax/swing/text/html/TableView.java
909 Made class subclass of BlockView to get CSS goodness.
910 (CellView.rowSpan): New field.
911 (CellView.setPropertiesFromAttributes): Fetch rowspan.
912 (RowView.overlap): New field.
913 (RowView.rowIndex): New field.
914 (RowView.layoutMajorAxis): Skip overlapping cells.
915 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
916 (numColumns): New field.
917 (tmpRect): New field.
918 (TableView): Initialize tmpRect.
919 (calculateColumnRequirements): Adjusted and fixed for multirows.
920 (getAlignment): Overridden to center tables.
921 (paint): Overridden to fix clipping.
922 (getStyleSheet): Made protected.
923 (layoutMajorAxis): Invalidate rows.
924 (setPropertiesFromAttributes): Made protected and call super.
925 (updateGrid): Update the overlapping information for multirows.
927 2006-12-05 Roman Kennke <kennke@aicas.com>
929 * gnu/java/awt/peer/gtk/AsyncImage.java
930 (addObserver): Check for null and ignore null observers.
931 (getWidth): Check for null and ignore null observers.
932 (getHeight): Check for null and ignore null observers.
933 (getProperty): Check for null and ignore null observers.
935 2006-12-05 Francis Kung <fkung@redhat.com>
937 * java/awt/BasicStroke.java
938 (capEnd): Prevent division by zero.
939 * java/awt/geom/Arc2D.java
940 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
941 (ArcIterator.currentSegment): Handle a negative extent.
943 2006-12-05 Francis Kung <fkung@redhat.com>
945 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
946 (constructor): Handle translated subimages properly, ie, if the image's
947 0,0 position is not the data buffer's first element.
949 2006-12-05 Roman Kennke <kennke@aicas.com>
951 * javax/swing/text/html/ImageView.java
952 (imageUpdate): Use spans field to determine if the CSS width/height
953 are set. Call safePreferenceChanged to protect view structure
954 from threading issues.
955 (spans): Made package private.
956 (ImageView): Initialize loadOnDemand with false.
957 (loadImage): Call Toolkit.prepareImage() to make sure we have
958 our Observer registered.
959 (safePreferenceChanged): New helper method. Calls preferenceChanged
960 in a thread safe environment.
962 2006-12-05 Roman Kennke <kennke@aicas.com>
964 * NEWS: Add entry about improved HTML support.
966 2006-12-05 Roman Kennke <kennke@aicas.com>
968 * javax/swing/text/html/ImageView.java
969 (ImageView): Initialize spans array here.
970 (setPropertiesFromAttributes): Moved init of spans array to
973 2006-12-05 Roman Kennke <kennke@aicas.com>
975 * javax/swing/text/html/BlockView.java
976 (painter): Made package visible.
977 * javax/swing/text/html/StyleSheet.java
978 (translateBorder): New helper method.
979 (translateHTMLToCSS): Add mappings for border attributes.
980 * javax/swing/text/html/TableView.java
981 Made class subclass of BlockView to get CSS goodness.
982 (CellView.rowSpan): New field.
983 (CellView.setPropertiesFromAttributes): Fetch rowspan.
984 (RowView.overlap): New field.
985 (RowView.rowIndex): New field.
986 (RowView.layoutMajorAxis): Skip overlapping cells.
987 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
988 (numColumns): New field.
989 (tmpRect): New field.
990 (TableView): Initialize tmpRect.
991 (calculateColumnRequirements): Adjusted and fixed for multirows.
992 (getAlignment): Overridden to center tables.
993 (paint): Overridden to fix clipping.
994 (getStyleSheet): Made protected.
995 (layoutMajorAxis): Invalidate rows.
996 (setPropertiesFromAttributes): Made protected and call super.
997 (updateGrid): Update the overlapping information for multirows.
999 2006-12-05 Roman Kennke <kennke@aicas.com>
1001 * javax/swing/text/html/HTMLEditorKit.java
1002 (HTMLFactory.create): Removed debug output.
1003 * javax/swing/text/html/InlineView.java
1004 (getBreakWeight): Likewise.
1005 * javax/swing/text/html/StyleSheet.java
1006 (addRule): Likewise.
1007 (ListPainter.paint): Removed debug output.
1009 2006-12-06 Roman Kennke <kennke@aicas.com>
1011 * javax/swing/text/html/BlockView.java
1012 (getAlignment): Align blocks horizontally by the superclass.
1013 * javax/swing/text/html/HTMLEditorKit.java
1014 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1015 Add mapping for misplaced tr, td and th tags. Include object mapping.
1016 * javax/swing/text/html/TableView.java
1017 (RowView.replace): Invalidate grid early.
1018 (gridValid): Initialize with false.
1019 (create): Only create RowView and CellView for correctly placed
1020 tags. Avoid unnecessary casts.
1021 (getAlignment): Removed.
1022 (replace): Invalidate grid early.
1025 2006-12-06 Roman Kennke <kennke@aicas.com>
1027 * javax/swing/text/html/TableView.java
1028 (RowView.layoutMajorAxis): Check column index for invalid value.
1029 (updateGrid): Check column index for invalid value.
1031 2006-12-06 Roman Kennke <kennke@aicas.com>
1033 * javax/swing/JEditorPane.java
1034 (getStream): Buffer the stream for efficiency.
1035 (setPage): Don't scroll the view at this point.
1036 * javax/swing/plaf/basic/BasicTextUI.java
1037 (RootView.paint): Call RootView's setSize to get synchronization.
1038 (RootView.setSize): Synchronize to prevent race in layout code.
1039 * javax/swing/text/AbstractDocument.java
1040 (notifyListeners): New field.
1041 (fireChangedUpdate): Track notifyListener field.
1042 (fireRemoveUpdate): Track notifyListener field.
1043 (fireIndertUpdate): Track notifyListener field.
1044 (writeLock): Check notifyListener and throw IllegalStateException.
1045 * javax/swing/text/View.java
1046 (preferenceChanged): Create local var for better thread safety and
1049 2006-12-06 Roman Kennke <kennke@aicas.com>
1051 * examples/gnu/classpath/examples/icons/back.png,
1052 * examples/gnu/classpath/examples/icons/reload.png:
1053 New icons for the HTML browser.
1054 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1055 (history): New field. Manages the browsing history.
1056 (HtmlDemo): Initialize history.
1057 (createContent): Set location and add history. Add toolbar.
1058 (createToolBar): New helper method.
1059 (main): Make default size bigger.
1060 * examples/gnu/classpath/examples/swing/frame1.html,
1061 * examples/gnu/classpath/examples/swing/frame2.html,
1062 * examples/gnu/classpath/examples/swing/frame3.html,
1063 * examples/gnu/classpath/examples/swing/frame4.html,
1064 * examples/gnu/classpath/examples/swing/frames.html,
1065 * examples/gnu/classpath/examples/swing/tables.html:
1067 * examples/gnu/classpath/examples/swing/welcome.html
1068 Add a couple of links and new test pages.
1070 2006-12-06 Roman Kennke <kennke@aicas.com>
1072 * examples/gnu/classpath/examples/swing/Demo.java
1073 (getIcon): Made package private.
1074 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1075 (hyperlinkUpdate): Convert URL to string.
1077 2006-12-06 Roman Kennke <kennke@aicas.com>
1079 * javax/swing/text/DefaultCaret.java
1080 (appear): Adjust visibility here.
1081 (setDotImpl): Don't adjust visibility here.
1082 (moveDotImpl): Don't adjust visibility here.
1084 2006-12-06 Roman Kennke <kennke@aicas.com>
1086 * javax/swing/text/html/FormView.java
1087 (SubmitThread.postData): Implemented.
1088 (SubmitThread.run): Pass data to postData().
1089 (actionPerformed): Reset form when reset button is activated.
1090 (createComponent): Add support for select lists and comboboxes.
1091 Don't set value of text and password fields here, this is done
1092 now in HTMLDocument for consistency.
1093 (getElementFormData): Add support for fetching form data from
1094 select lists and comboboxes as well as textareas.
1095 (getSelectData): New helper method. Fetches form data from
1097 (getTextAreaData): New helper method. Fetches form data from
1099 (resetForm): New helper method. Resets the entire form.
1100 * javax/swing/text/html/HTMLDocument.java
1101 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1102 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1103 (HTMLReader.FormAction.setModel): Initialize text and password
1104 values here. Also, use the resetable special models.
1105 Group radio buttons into ButtonGroup for exclusive selection.
1106 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1107 (HTMLReader.buttonGroups): New field.
1108 (HTMLReader.numOptions): New field.
1109 (HTMLReader.option): New field.
1110 (HTMLReader.selectModel): New field.
1111 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1112 (HTMLReader.handleText): Handle OPTION text.
1113 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1114 (HTMLReader.textAreaContent): Set initial content.
1115 * javax/swing/text/html/Option.java
1116 (Option): Make copy of attribute set. Initialize selected state.
1117 (getValue): Fetch value from attribute set.
1118 * javax/swing/text/html/ResetableModel.java: New interface.
1119 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1120 Supports resetting the state.
1121 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1122 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1123 * javax/swing/text/html/SelectListModel.java: Likewise.
1125 2006-12-06 Roman Kennke <kennke@aicas.com>
1127 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1129 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1130 (LoadActionListener): Call setPage() helper method.
1131 (createContent): Register tweaked editor kit. For FormSubmitEvents
1132 call submitForm(), otherwise setPage().
1133 (postData): Helper method for posting form data.
1134 (setPage): Helper method for navigating to a new URL.
1135 (submitForm): Helper method for submitting a form.
1136 * examples/gnu/classpath/examples/swing/forms.html:
1137 Added text/password fields and select boxes.
1138 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1140 2006-12-07 Mark Wielaard <mark@klomp.org>
1142 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1143 private constructor.
1144 (URL(URL,String,URLStreamHandler)): Call new constructor.
1145 (URL(URL,String)): Likewise.
1146 (URL(String)): Likewise.
1148 2006-12-07 Mark Wielaard <mark@klomp.org>
1150 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1151 Always load from system class loader.
1153 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1156 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1157 newValue are the same.
1158 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1160 2006-12-06 Chris Burdess <dog@gnu.org>
1163 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1164 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1166 2006-12-06 Chris Burdess <dog@gnu.org>
1169 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1172 2006-12-056 Chris Burdess <dog@gnu.org>
1175 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1176 discover schema factory implementation class.
1178 2006-12-05 Roman Kennke <kennke@aicas.com>
1180 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1181 asynchronous loading of images.
1182 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1183 (drawImage): Fetch real image from possibly AsyncImage.
1184 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1185 (drawImage): Fetch real image from possibly AsyncImage.
1186 * gnu/java/awt/peer/gtk/GtkToolkit.java
1187 (createImage(URL)): Create async image.
1188 (imageOrError): Made method static for easy access from AsyncImage.
1189 (prepareImage): For async images, register the observer to the
1192 2006-12-05 Roman Kennke <kennke@aicas.com>
1194 (paintComponent): Include paint area from event.
1195 (updateComponent): Include paint area from event.
1197 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1199 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1200 lightweight component, not just for non-Panel components.
1201 (addImpl): Do not call doLayout.
1202 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1203 (setNativeBounds): Ensure widget parent is a GtkFixed before
1204 calling gtk_fixed_move.
1205 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1206 (setNativeBounds): Likewise.
1207 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1208 (setNativeBounds): Likewise.
1210 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1212 * java/awt/Component.java (getFontImpl): Return a default font if
1213 topmost parent's font is null.
1215 2006-12-04 Mark Wielaard <mark@klomp.org>
1217 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1218 Remove debug output.
1220 2006-12-04 Roman Kennke <kennke@aicas.com>
1222 * java/awt/font/TextLayout.java
1223 (hitTestChar): Fixed conditions for inclusion of range.
1224 Use layout information in the run for more efficiency.
1226 2006-12-04 Roman Kennke <kennke@aicas.com>
1228 * javax/swing/text/GlyphView.java
1229 (J2DGlyphPainter): New inner class.
1230 (checkPainter): For Java2D capable environments create
1233 2006-12-04 Roman Kennke <kennke@aicas.com>
1235 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1236 (FreeTypeGlyphVector): Don't filter control chars here.
1237 (getGlyphs): Filter control chars and replace them by
1240 2006-12-04 Roman Kennke <kennke@aicas.com>
1242 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1243 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1245 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1247 * gnu/java/lang/management/BeanImpl.java:
1248 (translate(String)): Don't assume the list uses "E",
1249 just use the first and only type variable.
1250 * java/lang/management/ManagementFactory.java:
1251 (getPlatformMBeanServer()): Register logging bean.
1252 * javax/management/openmbean/OpenType.java:
1253 (OpenType(String,String,String)): Actually use
1254 the string created to handle arrays.
1256 2006-12-04 Mark Wielaard <mark@klomp.org>
1258 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1259 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1261 2006-12-04 Mark Wielaard <mark@klomp.org>
1263 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1265 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1266 (JCL_thread_interrupted): Only take JNIEnv.
1267 (vm_channel_class): New static variable.
1268 (initID): Set vm_channel_class.
1269 Wrap all reads() and writes() in do-while blocks that check
1272 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1274 * gnu/javax/management/Server.java:
1275 Make map final and initialise it.
1276 (unregisterMBean(ObjectName)): Match against
1277 delegate's object name and not the instance.
1278 * java/lang/management/ManagementFactory.java:
1279 Added constant fields.
1280 (getPlatformMBeanServer()): Implemented.
1281 * javax/management/MBeanServerFactory.java: New file.
1283 2006-12-04 Roman Kennke <kennke@aicas.com>
1285 * javax/swing/text/BoxView.java
1286 (paint): Replaced painting algorithm with more simple and more
1287 reliable painting of the box.
1288 * javax/swing/text/html/BlockView.java
1289 (PositionInfo): New inner class. Stores additional CSS
1290 positioning information.
1291 (positionInfo): New field.
1292 (BlockView): Initialize positionInfo field.
1293 (fetchLayoutInfo): New helper method. Fetches additional
1294 CSS positioning information.
1295 (layoutMajorAxis): Perform additional CSS layout.
1296 (layoutMinorAxis): Perform additional CSS layout.
1297 (positionView): New helper method.
1298 (replace): Overridden to fetch additional layout information.
1299 * javax/swing/text/html/CSS.java
1300 (Attribute.POSITION): New field.
1301 (Attribute.LEFT): New field.
1302 (Attribute.RIGHT): New field.
1303 (Attribute.TOP): New field.
1304 (Attribute.BOTTOM): New field.
1305 (getValue): Create Length for left, right, top and bottom
1308 2006-12-04 Roman Kennke <kennke@aicas.com>
1310 * gnu/javax/swing/text/html/parser/support/Parser.java
1311 (Sgml): Consume any whitespace that immediately follows
1313 (parseDocument): Consume any initial whitespace.
1315 2006-12-03 Mark Wielaard <mark@klomp.org>
1317 * gnu/javax/management/Server.java (beans): Initialize.
1318 (registerMBean): Don't initialize beans.
1320 2006-12-03 Mark Wielaard <mark@klomp.org>
1322 * java/util/logging/LogManager.java (getLevelProperty): Check
1323 whether value is null before passing to Level.parse().
1325 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1327 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1328 whether given a null lock and lockOwner.
1330 2006-12-03 Mark Wielaard <mark@klomp.org>
1332 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1333 (PageLoader.page): Made package local.
1334 (PageLoader.run): Don't reset loader.
1335 (PageLoader.cancel): New method.
1336 (loading): Renamed to loader.
1337 (getPage): Return loader.page.
1338 (setPage): Always set loader. Never reset to null.
1340 2006-12-03 Mark Wielaard <mark@klomp.org>
1342 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1344 (isLastChild): Return false when path is null.
1346 2006-12-03 Mark Wielaard <mark@klomp.org>
1348 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1349 to currentPaintArea.
1350 (paintComponent): Work with local reference to currentPaintArea.
1351 (updateComponent): Likewise.
1352 (coalescePaintEvent): Set currentPaintArea.
1354 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1356 * javax/management/MBeanServerBuilder.java: New file.
1358 2006-12-01 Mark Wielaard <mark@klomp.org>
1360 * java/text/DecimalFormat.java (parse): Always increment parsing
1361 index and adjust pos result.
1363 2006-12-01 Roman Kennke <kennke@aicas.com>
1365 * javax/swing/text/html/HTML.java
1366 (Attribute.DYNAMIC_CLASS): New field.
1367 (Attribute.PSEUDO_CLASS): New field.
1368 * javax/swing/text/html/HTMLDocument.java
1369 (HTMLReader.CharacterAction.start): Initialize anchor with link
1371 (updateSpecialClass): New helper method. Updates the dynamic
1372 or pseudo class for anchor tags.
1373 * javax/swing/text/html/HTMLEditorKit.java
1374 (LinkController.lastAnchorElement): New field. For tracking
1375 enter/exit of anchors.
1376 (LinkController.activateLink): Set pseudo class to 'visited'.
1377 (LinkController.mouseMoved): Added support for tracking
1378 the 'hover' dynamic class.
1379 * javax/swing/text/html/InlineView.java
1380 (changedUpdate): Fetch new properties.
1381 * javax/swing/text/html/StyleSheet.java
1382 (attributeSetToMap): New helper method.
1383 (getRule): Also append dynamic and pseudo class to key.
1384 (resolveStyle): Resolve style based generally on all attributes.
1385 * javax/swing/text/html/TableView.java
1386 (RowView.layoutMajorAxis): Make sure the grid is valid.
1387 (updateGrid): Made package private.
1388 * gnu/javax/swing/text/html/css/Selector.java
1389 (calculateSpecificity): Added support for dynamic and pseudo classes.
1390 (matches): Changed to operate on general attributes.
1391 Added support for dynamic and pseudo classes.
1393 2006-12-01 Mario Torre <neugens@limasoftware.net>
1395 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1396 fractional portion in a separate method.
1397 Also fixes the handling of decimal separator and its associated field.
1398 (handleFractionalPart): new method, needed to relax a bit
1401 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1403 * java/beans/beancontext/BeanContextServicesSupport.java:
1404 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1405 Class)): Implemented.
1406 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1407 Class, Object)): Implemented.
1408 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1409 Object, Object)): Implemented.
1410 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1412 (initialiseBeanContextResources()): Implemented.
1413 (releaseBeanContextResoures()): Implemented.
1415 2006-12-01 Mark Wielaard <mark@klomp.org>
1417 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1419 2006-12-01 Roman Kennke <kennke@aicas.com>
1421 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1422 handling border styles.
1423 * gnu/javax/swing/text/html/css/BorderWidth.java
1424 (isValid): New method.
1425 * gnu/javax/swing/text/html/css/Length.java
1426 (isValid): New method.
1427 * javax/swing/text/html/CSS.java
1428 (addInternal): Added shorthand parsing for border, padding and
1430 (parseBackgroundShorthand): Added API docs.
1431 (parsePaddingShorthand): New method. Handles padding shorthand
1433 (parseMarginShorthand): New method. Handles margin shorthand
1435 (parseBorderShorthand): New method. Handles border shorthand
1437 * javax/swing/text/html/StyleSheet.java
1438 (translateHTMLToCSS): Set specific padding attributes.
1439 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1440 These shorthands are now handled in CSS.
1441 (BoxPainter.paint): Exclude the outer margin.
1443 2006-12-01 Roman Kennke <kennke@aicas.com>
1445 * gnu/javax/swing/text/html/css/Length.java
1446 (emBase): New field.
1447 (exBase): New field.
1448 (isFontEMRelative): New field.
1449 (isFontEXRelative): New field.
1450 (Length): Recognize and setup EM and EX relative values.
1451 (getValue): Handle EM and EX relative values.
1452 (isEMRelative): New method.
1453 (isEXRelative): New method.
1454 (setEMBase): New method.
1455 (setEXBase): New method.
1456 (setFontBases): New method.
1457 * gnu/javax/swing/text/html/parser/support/Parser.java
1458 (_handleEmptyTag): Use new isBlock() helper method.
1459 (_handleEndTag_remaining): Use new isBlock() helper method.
1460 (_handleStartTag): Consume whitespace after block start tag.
1461 (Comment): Consume whitespace after a comment.
1462 (isBlock): New helper method.
1463 (readAttributes): Consider all characters in unquoted attribute
1465 * javax/swing/text/html/BlockView.java
1466 (layoutMinorAxis): Use cached span value.
1467 (paint): Added debug code (commented out).
1468 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1469 * javax/swing/text/html/CSSBorder.java
1470 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1472 (getBorderWidth): Set the EM and EX base on the length values.
1473 * javax/swing/text/html/HTMLDocument.java
1474 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1475 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1476 (HTMLReader.inImpliedParagraph): Removed.
1477 (HTMLReader.inParagraph): Removed.
1478 (HTMLReader.parseStack): New field.
1479 (HTMLReader.addContent): Use new paragraph handling.
1480 (HTMLReader.addSpecialElement): Use new paragraph handling.
1481 (HTMLReader.blockClose): Use new paragraph handling.
1482 (HTMLReader.blockOpen): Use new paragraph handling.
1483 (HTMLReader.inImpliedParagraph): New helper method.
1484 (HTMLReader.inParagraph): New helper method.
1485 * javax/swing/text/html/ImageView.java
1486 (attributes): New field. Caches view attributes.
1487 (spans): New field. Caches CSS spans.
1488 (getAttributes): Correctly setup CSS view attributes.
1489 (getPreferredSpan): Use caches spans.
1490 (getStyleSheet): Use the view's getDocument() method.
1491 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1492 (updateSize): Use cached spans.
1493 * javax/swing/text/html/ParagraphView.java
1494 (setPropertiesFromAttributes): Setup EM and EX.
1495 * javax/swing/text/html/StyleSheet.java
1496 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1497 (getEMBase): New helper method.
1498 (getEXBase): New helper method.
1499 * javax/swing/text/html/TableView.java
1500 (width): New field. Caches the table width.
1501 (calculateMinorAxisRequirements): Use caches span.
1502 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1503 (updateGrid): Correctly setup EM/EX.
1505 2006-11-30 Roman Kennke <kennke@aicas.com>
1507 * javax/swing/text/html/FormSubmitEvent.java: New class.
1508 * javax/swing/text/html/FormView.java
1509 (SubmitThread): New class for submitting data in a separate thread.
1510 (actionPerformed): Fetch the actual for data.
1511 (addData): New helper method.
1512 (getElementFormData): New helper method.
1513 (getFormData): New helper method.
1514 (getInputFormData): New helper method.
1515 (submitData): Implemented.
1516 * javax/swing/text/html/FrameView.java
1517 (createComponent): Add this as hyperlink listener.
1518 Set the target document as frame document.
1519 (getTopEditorPane): New helper method.
1520 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1521 (handleHyperlinkEvent): New helper method.
1522 (handleFormSubmitEvent): New helper method.
1523 * javax/swing/text/html/HTMLDocument.java
1524 (HTMLReader.BaseAction.start): Track the base target.
1525 (HTMLReader.BaseAction.end): Removed.
1526 (baseTarget): New field.
1527 (frameDocument): New field.
1528 (getBaseTarget): New property accessor.
1529 (isFrameDocument): New property accessor.
1530 (processHTMLFrameHyperlinkEvent): Implemented.
1531 (setFrameDocument): New property accessor.
1532 (updateFrame): New helper method.
1533 (updateFrameSet): New helper method.
1534 * javax/swing/text/html/HTMLEditorKit.java
1535 (LinkController.createHyperlinkEvent): Handle frame documents.
1536 (autoFormSubmission): New field.
1537 (HTMLEditorKit): Set autoFormSubmission to true.
1538 (isAutoFormSubmission): New property accessor.
1539 (setAutoFormSubmission): New property accessor.
1541 2006-11-30 Roman Kennke <kennke@aicas.com>
1543 * javax/swing/text/ElementIterator.java
1544 (ElementRef): New inner class.
1545 (currentDepth): Removed.
1546 (currentElement): Removed.
1547 (previousItem): Removed.
1548 (stack): New field. Holds the iteration stack.
1550 (ElementIterator(Document)): Removed init of removed fields.
1551 (ElementIterator(Element)): Removed init of removed fields.
1552 (current): Changed to stack based algorithm.
1553 (deepestLeaf): New helper method.
1554 (depth): Changed to stack based algorithm.
1555 (first): Changed to stack based algorithm.
1556 (next): Changed to stack based algorithm.
1557 (previous): Changed to stack based algorithm.
1559 2006-11-30 Francis Kung <fkung@redhat.com>
1561 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1562 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1564 2006-11-30 Francis Kung <fkung@redhat.com>
1566 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1567 (draw): Set transform in buffered composite.
1568 (drawComposite): Do not transform bounds; round bounds.
1569 (drawGlyphVector): Set transform in buffered composite.
1570 (drawRenderedImage): Set transform in buffered composite.
1571 (fill): Set transform in buffered composite.
1572 (updateBufferedImage): Fix scanline & height calculations.
1573 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1574 (createPath): Simplify width & height calculation.
1575 (drawImage): Also transform width & height.
1577 2006-11-30 Roman Kennke <kennke@aicas.com>
1579 * javax/swing/text/html/FrameSetView.java: New class. Implements
1581 * javax/swing/text/html/FrameView.java: New class. Implements
1583 * javax/swing/text/html/HTMLDocument.java:
1584 (HTMLReader.addSpecialElement): Only add one artificial space.
1585 * javax/swing/text/html/HTMLEditorKit.java
1586 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1587 * gnu/javax/swing/text/html/parser/support/Parser.java
1588 (_handleEmptyTag): Also consume whitespace after frame tags.
1590 2006-11-30 Gary Benson <gbenson@redhat.com>
1592 * java/lang/Thread.java: Javadoc fixes.
1594 2006-11-29 Tom Tromey <tromey@redhat.com>
1597 * java/lang/Class.java (getAnnotations): Rewrote.
1599 2006-11-29 Tania Bento <tbento@redhat.com>
1601 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1602 (parseParams): Unescape 'val' before putting it into the Map.
1603 (unescapeString): New private method.
1605 2006-11-29 Tom Tromey <tromey@redhat.com>
1607 * tools/gnu/classpath/tools/getopt/package.html: New file.
1609 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1611 * javax/swing/plaf/metal/MetalIconFactory.java
1612 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1613 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1615 2006-11-29 Mario Torre <neugens@limasoftware.net>
1617 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1618 with the default international currency sign \u00A4.
1619 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1620 table for string formatting.
1621 (formatInternal): likewise.
1622 (scanNegativePattern): likewise.
1623 (applyPattern): likewise.
1624 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1625 Locale is immutable and does not need clone.
1627 2006-11-29 Francis Kung <fkung@redhat.com>
1629 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1630 (drawLine): Remove hard-coded pixel shifting.
1632 2006-11-29 Roman Kennke <kennke@aicas.com>
1634 * java/awt/Component.java
1635 (isShowing): Simplified condition code and avoid unnecessary
1637 (coalesceEvents): Always coalesce paint events and let the peer
1638 figure out the expanding of the repaint area.
1639 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1640 (currentPaintEvents): Removed. Replaced by paintArea.
1641 (paintArea): New field. Tracks the dirty area.
1642 (SwingComponentPeer): Removed init of currentPaintEvents.
1643 (coalescePaintEvent): Simplified to only union the dirty regions.
1644 (handleEvent): Paint dirty region that was tracked in paintArea.
1645 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1646 (paintArea): New field. Tracks the dirty region.
1647 (coalescePaintEvent): Implemented to track the dirty region.
1648 (paintComponent): Use the dirty region in paintArea. Protect
1649 state by putting the paint and dispose code in a try-finally.
1650 (updateComponent): Use the dirty region in paintArea. Protect
1651 state by putting the paint and dispose code in a try-finally.
1653 2006-11-29 Roman Kennke <kennke@aicas.com>
1655 * java/awt/font/TextLayout.java
1656 (getVisualHighlightShape): Removed debug output.
1658 2006-11-28 Andrew Haley <aph@redhat.com>
1660 * vm/reference/sun/reflect/misc/ReflectUtil.java
1661 (checkPackageAccess): Implement.
1663 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1665 * native/jni/java-lang/java_lang_VMDouble.c:
1666 (parseDoubleFromChars) New function. Factored out from ...
1667 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1668 (dtoa_toString): New function. Factored out from ...
1669 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1670 Changed conversion mode to 2, as modes 0 and 1 don't round
1671 as the API spec demands. Invoke conversion function as often
1672 as necessary with growing precision until a reversible
1673 representation of the double in form of a string is reached.
1675 2006-11-28 Roman Kennke <kennke@aicas.com>
1677 * javax/swing/JComponent.java
1678 (putClientProperty): Do not fire event when both old and new
1681 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1683 * java/lang/Enum.java:
1684 Make name and ordinal final.
1686 2006-11-27 Casey Marshall <csm@gnu.org>
1688 * java/util/jar/JarEntry.java (certs): removed.
1689 (jarfile): new field.
1690 (getCertificates): read the certificates from the containing JarFile.
1691 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1692 fill in 'certs,' fill in 'jarfile' for the entry.
1693 (getEntry): likewise.
1695 2006-11-27 Francis Kung <fkung@redhat.com>
1697 * java/awt/image/WritableRaster.java
1698 (createChild): Implemented.
1700 2006-11-27 Roman Kennke <kennke@aicas.com>
1702 * java/awt/font/TextLayout.java
1703 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1704 (getVisualHighlightShape): Implemented.
1705 (layoutRuns): Fixed boundary so that the last run is also laid out.
1706 (left): New helper method.
1707 (right): New helper method.
1709 2006-11-27 Roman Kennke <kennke@aicas.com>
1711 * java/awt/font/TextLayout.java
1712 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1713 (getCaretShape(TextHitInfo)): Use natural bounds.
1714 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1715 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1716 above with DEFAULT_CARET_POLICY.
1717 (getCaretShapes(int)): Use natural bounds.
1719 2006-11-27 Roman Kennke <kennke@aicas.com>
1721 * java/awt/font/TextLayout.java
1722 (Run.font): New field.
1723 (Run.location): New field.
1724 (Run.Run): Initialize font.
1725 (font): Removed field. This is moved into Run as the actual font
1726 is something run-specific.
1727 (TextLayout(String,Font,FontRenderContext)): Set font on the
1728 single runs. Layout the runs here.
1729 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1730 (findRunAtIndex): New helper method.
1731 (getCaretInfo): Implemented.
1732 (layoutRuns): New helper method.
1733 (toString): Don't put font in output string.
1735 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1737 * AUTHORS: Added Jeroen Fritjers.
1739 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1741 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1742 for FieldPosition to be null.
1743 Check if the factional part is just 0 and can be omitted from the
1745 (scanNegativePattern): Fixed index out of bound exception when searching
1746 for international currency symbol in negative pattern.
1748 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1750 * java/beans/beancontext/BeanContextSupport.java:
1751 (readObject(ObjectInputStream)): Implemented.
1752 (writeObject(ObjectOutputStream)): Likewise.
1753 (BCSChild.getTargetChild()): Added.
1754 (bcsPreDeserializationHook()): Implemented.
1755 (bcsPreSerializationHook()): Likewise.
1756 (childDeserializedHook(Object,BCSChild)): Likewise.
1757 (isSerializing()): Likewise.
1758 (readChildren(ObjectInputStream)): Likewise.
1759 (writeChildren(ObjectOutputStream)): Likewise.
1761 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1762 Ian Lance Taylor <ian <at> airs.com>
1763 Paolo Bonzini <bonzini <at> gnu.org>
1767 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1768 increased portability. Likewise, use -f instead of -e.
1770 2006-11-26 Mark Wielaard <mark@klomp.org>
1772 * lib/Makefile.am (propertydirs): Removed.
1773 (resources): Explicitly create all dirs.
1775 2006-11-26 Mark Wielaard <mark@klomp.org>
1777 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1779 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1781 * native/target/.cvsignore,
1782 native/target/generic/.cvsignore,
1783 native/target/Linux/.cvsignore:
1784 Removed no longer used files.
1786 * native/target: Removed no longer used directory.
1788 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1792 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1793 (Java_gnu_java_nio_VMSelector_select):
1794 Use strerror if strerror_r is not available.
1796 Reported by: Michael Franz <mvfranz@gmail.com>,
1797 Riccardo Mottola <zuse@libero.it>
1799 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1803 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1804 STRICT_WARNING_CFLAGS since it caused the build to fail
1807 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1809 * doc/vmintegration.texinfo: Update VM Threading Model section.
1811 2006-11-26 Tom Tromey <tromey@redhat.com>
1813 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1815 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1817 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1818 Conditionally include ifaddrs.h.
1819 (getif_address): Updated conditional.
1820 (getif_index): Likewise.
1821 * configure.ac: Check for ifaddrs.h.
1823 2006-11-25 Mark Wielaard <mark@klomp.org>
1825 * java/io/File.java (list): Return empty list for unreadable dirs.
1827 2006-11-25 Mark Wielaard <mark@klomp.org>
1829 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1830 Synchronize on font peer.
1831 (setFont): Likewise.
1832 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1834 (getTextMetrics): Likewise.
1836 2006-11-25 Roman Kennke <kennke@aicas.com>
1838 * javax/swing/text/GapContent.java
1839 (getPositionsInRange): Rewritten to use the more efficient
1840 binary search searchFirst() and avoid an NPE that was caused
1843 2006-11-25 Mark Wielaard <mark@klomp.org>
1845 * javax/swing/text/CompositeView.java (modelToView): Never return
1848 2006-11-25 Mark Wielaard <mark@klomp.org>
1850 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1851 Check whether rowView instanceof RowView.
1852 (updateGrid): Likewise.
1854 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1857 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1858 * java/text/NumberFormat.java (format): all format methods, fixed
1859 FieldPosition argument should never be null.
1860 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1861 method is not final.
1862 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1864 * AUTHORS: added my name to the file.
1866 2006-11-25 Mark Wielaard <mark@klomp.org>
1868 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1869 getChildAllocation() returning null.
1871 2006-11-25 Mark Wielaard <mark@klomp.org>
1873 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1874 Use clazzIndex for id substring.
1876 2006-11-25 Mark Wielaard <mark@klomp.org>
1878 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1879 it is still running.
1881 2006-11-25 Mark Wielaard <mark@klomp.org>
1884 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1887 2006-11-24 Tania Bento <tbento@redhat.com>
1889 * java/awt/font/TextHitInfo.java
1890 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1891 (beforeOffset): Decreased first parameter by 1.
1893 2006-11-24 Francis Kung <fkung@redhat.com>
1895 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1896 (constructor): Check sample model when setting fastCM flag.
1897 (updateBufferedImage): Check scanline and sample model offsets before
1898 copying data directly into the image data buffer.
1900 2006-11-24 Francis Kung <fkung@redhat.com>
1902 * gnu/java/awt/java2d/QuadSegment.java
1903 (offsetSubdivided): Handle special straight-line cases.
1905 2006-11-24 Roman Kennke <kennke@aicas.com>
1907 * java/awt/dnd/DropTarget.java
1908 (DropTargetAutoScroller.HYSTERESIS): New constant.
1909 (DropTargetAutoScroller.DELAY): New constant.
1910 (DropTargetAutoScroller.inner): New field. A cached
1912 (DropTargetAutoScroller.outer): New field. A cached
1914 (DropTargetAutoScroller.timer): New field. The actual timer.
1915 (DropTargetAutoScroller.DropTargetAutoScroller):
1917 (DropTargetAutoScroller.actionPerformed): Implemented.
1918 (DropTargetAutoScroller.stop): Implemented.
1919 (DropTargetAutoScroller.updateLocation): Implemented.
1920 (clearAutoscroll): Stop the autoscroller before nullifying it.
1921 (createDropTargetAutoScroller): Don't set the field here,
1922 only return a new instance.
1923 (dragEnter): Only do something when active. Initialize
1925 (dragExit): Only do something when active. Stop auto scrolling.
1926 (dragOver): Only do something when active. Update auto scrolling.
1927 (drop): Only do something when active. Update auto scrolling.
1928 (dropActionChanged): Only do something when active. Update
1930 (initializeAutoScrolling): Check if component is an instance
1931 of Autoscroll, otherwise do nothing.
1932 (setActive): Disable autoscrolling when deactivating.
1933 (setComponent): When component is set to null, disable autoscrolling.
1935 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1937 * java/beans/beancontext/BeanContextServicesSupport.java
1938 (getChildBeanContextServicesListener): Implemented.
1940 2006-11-23 Roman Kennke <kennke@aicas.com>
1942 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1943 (createGraphics): Use constructor to create new instance of
1944 BufferedImageGraphics.
1945 * java/awt/Toolkit.java
1946 (getDefaultToolkit): Really try to get a real toolkit. Only
1947 use HeadlessToolkit if no other is available.
1948 * gnu/java/awt/peer/gtk/GtkToolkit.java
1949 (checkHeadless): New helper method. Checks for headless environment
1950 and throws HeadlessException if appropriate.
1951 (createButton): Check for headless.
1952 (createCanvas): Check for headless.
1953 (createCheckbox): Check for headless.
1954 (createCheckboxMenuItem): Check for headless.
1955 (createChoice): Check for headless.
1956 (createDialog): Check for headless.
1957 (createDragGestureRecognizer): Check for headless.
1958 (createDragSourceContextPeer): Check for headless.
1959 (createEmbeddedWindow): Check for headless.
1960 (createFileDialog): Check for headless.
1961 (createFrame): Check for headless.
1962 (createCheckbox): Check for headless.
1963 (createLabel): Check for headless.
1964 (createList): Check for headless.
1965 (createMenu): Check for headless.
1966 (createMenuBar): Check for headless.
1967 (createMenuItem): Check for headless.
1968 (createPanel): Check for headless.
1969 (createPopupMenu): Check for headless.
1970 (createScrollbar): Check for headless.
1971 (createScrollPane): Check for headless.
1972 (createTextArea): Check for headless.
1973 (createTextField): Check for headless.
1974 (createWindow): Check for headless.
1976 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1978 * java/beans/beancontext/BeanContextSupport.java
1979 (deserialize): Implemented,
1980 (serialize): Implemented.
1982 2006-11-23 Roman Kennke <kennke@aicas.com>
1984 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1985 (createGraphics): Try to use Cairo graphics if available.
1987 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1989 * java/beans/beancontext/BeanContextSupport.java
1990 (toArray): Added API docs,
1991 (toArray(Object[])): Added API docs, removed NotImplementedException.
1993 2006-11-22 Tania Bento <tbento@redhat.com>
1995 * javax/swing/JRootPane.java
1996 (setLayeredPane): Added documentation; throw
1997 IllegalComponentStateException if layered pane parameter is null.
1999 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2001 * java/beans/beancontext/BeanContextSupport.java
2002 (avoidingGui): Removed NotImplementedException.
2004 2006-11-22 Francis Kung <fkung@redhat.com>
2006 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2007 (drawGlyphVector): Clip updated area to glyph bounds.
2008 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2009 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2010 x-coordinate and y-coordinate pixel shifting.
2011 (shifted): Removed method.
2012 (shiftX): New method, recognising scaling transforms.
2013 (shiftY): New method, recognising scaling transforms.
2014 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2016 2006-11-22 Roman Kennke <kennke@aicas.com>
2018 * java/awt/font/TextLayout.java
2019 (hash): New field. Caches the hash code.
2020 (hashCode): Implemented.
2022 2006-11-22 Roman Kennke <kennke@aicas.com>
2024 * java/awt/image/ImageFilter.java
2025 Reformat whole class.
2026 (getFilterInstance): Don't touch the consumer field. Don't check
2028 (imageComplete): Don't check consumer.
2029 (setColorModel): Don't check consumer.
2030 (setDimensions): Don't check consumer.
2031 (setHints): Don't check consumer.
2032 (setPixels): Don't check consumer.
2033 (setProperties): Pass the original property too.
2034 * java/awt/image/IndexColorModel.java
2035 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2036 transparent pixel by calling the new helper method.
2037 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2038 transparent pixel by calling the new helper method.
2039 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2040 transparent pixel by calling the new helper method.
2041 (coerceData): Removed. This is not needed.
2042 (getAlpha): Simply return value from color map. The transparent
2043 pixel has to be there.
2044 (setTransparentPixel): New helper method. Inserts the transparent
2046 * java/awt/image/RGBImageFilter.java
2047 Reformat whole class.
2048 (convertColorModelToDefault): Removed. No longer needed.
2049 (filterIndexColorModel): Don't handle transparent pixels
2051 (filterRGBPixels): Set pixels on consumer already.
2052 (makeColor): Removed. No longer needed.
2053 * java/awt/image/ReplicateScaleFilter.java
2054 (replicatePixels): Removed.
2055 (setDimension): Correctly compute destination size, avoid double
2057 (setPixels): Avoid double calculations. Fixed some boundary cases.
2058 (setupSources): New helper method.
2059 * java/awt/image/SampleModel.java
2060 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2062 * java/awt/image/SinglePixelPackedSampleModel.java
2063 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2064 This is not needed as the superclass already copies line
2066 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2067 removed some checks that the RI also doesn't perform. Call
2068 DataBuffer.setElem().
2070 2006-11-22 Roman Kennke <kennke@aicas.com>
2072 * java/awt/text/TextLayout.java
2073 (getLogicalRangesForVisualSelection): Implemented.
2075 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2077 * sun/reflect/annotation/AnnotationParser.java,
2078 * sun/reflect/annotation/AnnotationType.java,
2079 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2080 * sun/reflect/annotation/ExceptionProxy.java:
2082 * sun/misc/ServiceConfigurationError.java,
2083 * sun/misc/Service.java:
2086 2006-11-21 Roman Kennke <kennke@aicas.com>
2088 * java/awt/text/TextLayout.java
2089 (Run.isLeftToRight): New helper method.
2090 (logicalToVisual): New field. Maps logical indices to visual
2092 (visualToLogical): New field. Maps visual indices to logical
2094 (TextLayout): Setup mappings.
2095 (setupMappings): New method for setting up the mappings.
2096 (getCharacterLevel): Reorganized code.
2097 (getNextLeftHit(int)): Implemented.
2098 (getNextLeftHit(int,CaretPolicy)): New method.
2099 (getNextLeftHit(TextHitInfo)): Implemented.
2100 (getNextRightHit(int)): Implemented.
2101 (getNextRightHit(int,CaretPolicy)): New method.
2102 (getNextRightHit(TextHitInfo)): New method.
2103 (getVisualOtherHit): Implemented.
2104 (checkHitInfo): New helper methods for checking parameters.
2105 (hitToCaret): New helper method. Maps hit infos to caret locations.
2106 (caretToHit): New helper method. Maps caret locations to hit infos.
2107 (isCharacterLTR): New helper method.
2108 (CaretPolicy.getStrongCaret): Implemented.
2110 2006-11-21 Francis Kung <fkung@redhat.com>
2112 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2113 (draw): Include stroke width when calculating bounds.
2114 (updateBufferedImage): Round bounds more generously, handle negative
2115 height/width values, and clip more intelligently.
2116 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2117 (createPath): Add shortcut optimization for lines.
2118 (draw): Include stroke width when calculating bounds.
2119 (drawLine): Delegate to main draw() method.
2120 (drawRect): Likewise.
2121 (fillRect): Delegate to main fill() method.
2122 (findStrokedBounds): New method.
2123 (setCustomPaint): Round bounds more generously.
2124 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2125 (drawLine): Removed.
2126 (drawRect): Removed.
2127 (fillRect): Removed.
2129 2006-11-21 Francis Kung <fkung@redhat.com>
2131 * gnu/java/awt/java2d/TexturePaintContext.java
2132 (getRaster): Handle negative coordinate values.
2133 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2134 (setPaint): Moved custom paint processing to a new method.
2135 (setPaintPixels): Added x, y parameters.
2136 (getRealBounds): Added documentation.
2137 (copy): Copy clipping information.
2138 (drawLine): Process custom paints.
2139 (setCustomPaint): New method.
2140 (fill): Process custom paints.
2141 (drawGlyphVector): Process custom paints.
2142 (drawRect): Process custom paints.
2143 (draw): Process custom paints.
2144 * gnu/java/awt/peer/gtk/CairoSurface.java
2145 (cairoCM_opaque): New constant.
2146 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2147 (argb32): Removed constant.
2148 (rgb32): Removed constant.
2149 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2150 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2151 (updateBufferedImage): Transform to device-space before updating.
2152 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2153 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2155 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2156 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2157 source at designated x, y origin.
2159 2006-11-21 Roman Kennke <kennke@aicas.com>
2161 * java/awt/text/TextLayout.java
2162 (Run): New inner helper class.
2163 (length): New field.
2164 (naturalBounds): New field.
2165 (offset): New field.
2166 (runIndices): Removed. This is now encapsulate in a Run object.
2167 (runs): Changed to Run[].
2168 (string): Changed to char[].
2169 (totalAdvance): New field. Caches advance value.
2170 (TextLayout(String,Font,FontRenderContext)): Change to store
2171 string as char[] and run layout as Run[]. Clean out empty
2173 (TextLayout(TextLayout,int,int)): Change to store
2174 string as char[] and run layout as Run[].
2175 (clone): Call private constructor for maximum efficiency.
2176 (determineWhitespace): Adapted to use char[] data.
2177 (draw): Adapted to use Run objects.
2178 (getAdvance): Cache computed total advance.
2179 (getBlackBoxBounds): Adapted to use Run objects.
2180 (getCaretInfo): Use natural layout bounds.
2181 (getCharacterCount): Return length field.
2182 (getLogicalHighlightShape): Adapted to use Run objects.
2183 (getNaturalBounds): New helper method. Calculates and returns the
2184 natural bounds of this text layout.
2185 (getOutline): Adapted to use Run objects.
2186 (getStringProperties): Adapted to use char[] data.
2187 (getVisibleAdvance): Adapted to use char[] and Run data.
2188 (handleJustify): Adapted to use char[] and Run data.
2189 (hitTestChar(float,float,Rectangle2D)): Implemented.
2190 (hitTestChar(float,float)): Use natural bounds.
2191 (setCharIndices): Adapted to use char[] and Run data.
2192 (toString): Adapted to use char[] and Run data.
2193 * java/text/Bidi.java
2194 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2196 2006-11-21 Roman Kennke <kennke@aicas.com>
2198 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2199 Removed. This is now an inner class in GdkFontPeer.
2200 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2201 (drawString(float,float)): Use text layout cache from
2203 (getFontMetrics): Delegate to GdkFontPeer.
2204 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2205 (getGlyphCodes): Also check array size.
2206 (getGlyphPositions): Also check array size.
2207 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2208 (GdkFontLineMetrics.fm): Removed.
2209 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2210 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2211 (GdkFontLineMetrics.underlineOffset): Removed.
2212 (GdkFontLineMetrics.underlineThickness): Removed.
2213 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2214 FontMetrics argument. Don't init removed fields.
2215 (GdkFontLineMetrics.getAscent): Return font peer's field.
2216 (GdkFontLineMetrics.getDescent): Return font peer's field.
2217 (GdkFontLineMetrics.getHeight): Return font peer's field.
2218 (GdkFontLineMetrics.getLeading): Return font peer's field.
2219 (GdkFontLineMetrics.getNumChars): Reformat.
2220 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2221 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2222 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2223 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2224 (GdkFontMetrics): Moved class in here as inner class.
2225 Make it use the font peer's fields and for the char(s) width
2226 and string width method, use TextLayout to measure the actual widths.
2227 (ascent): New field.
2229 (DEFAULT_CTX): New constant field.
2230 (descent): New field.
2231 (FONT_METRICS_ASCENT): New constant.
2232 (FONT_METRICS_DESCENT): New constant.
2233 (FONT_METRICS_HEIGHT): New constant.
2234 (FONT_METRICS_MAX_ADVANCE): New constant.
2235 (FONT_METRICS_MAX_ASCENT): New constant.
2236 (FONT_METRICS_MAX_DESCENT): New constant.
2237 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2238 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2239 (height): New field.
2240 (maxAdvance): New field.
2241 (maxAscent): New field.
2242 (maxDescent): New field.
2243 (metrics): New field. Stores a FontMetrics for this font.
2244 (textLayoutCache): New field. Caches TextLayout instances.
2245 (underlineOffset): New field.
2246 (underlineThickness): New field.
2247 (cinit): Don't initialize resource bundle.
2248 (GdkFontPeer): Setup the metrics.
2249 (getFontMetrics): Return stored metrics if possible.
2250 (getLineMetrics): Adapt to new constructor.
2251 (initFont): New helper method.
2252 (setupMetrics): New helper method.
2253 * gnu/java/awt/peer/gtk/GtkToolkit.java
2254 (LRUCache): Made class a static class.
2255 (getFontMetrics): Delegate to GdkFontPeer.
2256 * native/jni/gtk-peer/gdkfont.h
2257 Added new constant defines.
2258 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2259 (getFontMetrics): Rewritten to fetch the font metrics from
2262 2006-11-20 Tania Bento <tbento@redhat.com>
2264 * javax/swing/ButtonGroup.java:
2265 (setSelected): Select the ButtonModel if all conditions
2268 2006-11-20 Tania Bento <tbento@redhat.com>
2270 * javax/swing/JSlider.java:
2271 (updateLabelUIs): Removed casting.
2273 2006-11-20 Mark Wielaard <mark@klomp.org>
2275 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2276 (bundle): New static final String field.
2277 (getLocalizedMessage): Initialize messages when still null.
2278 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2279 (set): Use RE.getLocalizedMessage().
2281 (setLineSeparator): Likewise.
2283 2006-11-20 Roman Kennke <kennke@aicas.com>
2285 * javax/swing/text/html/StyleSheet.java
2286 (linked): New field.
2287 (styleSheet): Replaced by linked.
2288 (addStyleSheet): Use an arraylist for simplicity.
2289 (getRule): Removed useless instantiation.
2290 (getStyleSheets): Convert array list to array.
2291 (removeStyleSheet): Use an arraylist for simplicity.
2292 (resolveStyle): Include styles from linked lists.
2294 2006-11-20 Roman Kennke <kennke@aicas.com>
2296 * javax/swing/text/BoxView.java
2297 (BoxView): Initialize with invalid req's.
2298 (forwardUpdate): Trigger repaint when children changed the
2300 (getResizeWeight): Return resizable when the pref differs from
2301 the min or the pref differs from the max size.
2302 (layoutMajorAxis): Actually sum up the preferred sizes.
2303 (paint): Made binary search more robust.
2304 (replace): Let arrays shrink when needed.
2305 (replaceLayoutArray): Let arrays shrink when needed.
2306 (setAxis): Trigger preferenceChanged.
2307 * javax/swing/text/CompositeView.java
2308 (getInsideAllocation): Call insets method to take account
2309 of overriding subclasses.
2310 * javax/swing/text/DefaultStyledDocument.java
2311 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2312 (ElementBuffer.insertUpdate): Only remove the found element, not
2314 * javax/swing/text/GlyphView.java
2315 (insertUpdate): Pass null in preferenceChanged.
2316 (removeUpdate): Pass null in preferenceChanged.
2317 (changedUpdate): Pass null in preferenceChanged.
2318 * javax/swing/text/Utilities.java
2319 (drawTabbedText): Avoid single calls to charWidth() and instead
2320 call charsWidth() on whole chunks.
2321 * javax/swing/text/html/HTMLDocument.java
2322 (BlockElement.getName): Fall back to super when necessary.
2323 (RunElement.getName): Fall back to super when necessary.
2324 (HTMLReader.MAX_THRESHOLD): New constant field.
2325 (HTMLReader.GROW_THRESHOLD): New constant field.
2326 (HTMLReader.theshold): New field.
2327 (HTMLReader.HTMLReader): Fetch threshold from document.
2328 (HTMLReader.addContent): Sucessivly grow the threshold.
2329 (createLeafElement): Don't create two elemens and don't set
2331 * javax/swing/text/html/TableView.java
2332 (RowView.replace): Invalidate grid.
2333 (gridValid): Made package private.
2334 (layoutMinorAxis): Mark all rows as invalid.
2335 (replace): Invalidate grid.
2337 2006-11-20 Roman Kennke <kennke@aicas.com>
2339 * javax/swing/text/AbstractDocument.java
2340 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2341 (DefaultDocumentEvent.modified): Made private.
2342 (DefaultDocumentEvent.THRESHOLD): New constant field.
2343 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2345 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2346 exceeding threshold.
2347 (DefaultDocumentEvent.getChange): Use iterative approach
2348 when we have no hashmap yet.
2349 (documentCV): Removed.
2350 (numWriters): Renamed from numWritersWaiting.
2351 (createPosition): Reformat.
2352 (getCurrentWriter): Synchronized.
2353 (readLock): Implement more straightforward.
2354 (readUnlock): Implement more straightforward.
2355 (writeLock): Implement more straightforward.
2356 (writeUnlock): Implement more straightforward.
2357 (remove): Write-lock here.
2358 (removeImpl): Don't write-lock here.
2360 2006-11-20 Roman Kennke <kennke@aicas.com>
2362 * javax/swing/JEditorPane.java
2363 (setPage): Set priority on loading thread.
2365 2006-11-20 Roman Kennke <kennke@aicas.com>
2367 * javax/swing/plaf/basic/BasicTextUI.java
2368 (RootView.paint): Avoid allocation.
2369 (cachedInsets): New field. Caches an Insets instance.
2370 (getNextVisualPositionFrom): Read-lock the document to avoid
2371 thread nastiness. Push allocation.
2372 (getPreferredSize): Push fake allocation when not yet laid out.
2373 (getVisibleEditorRect): Use cached insets.
2374 (viewToModel): Read-lock the document to avoid
2375 thread nastiness. Push allocation.
2377 2006-11-20 Roman Kennke <kennke@aicas.com>
2379 * javax/swing/text/StyleContext.java
2380 (attributeSetPool): Synchronize this map.
2381 (addAttribute): Synchronize this method.
2382 (addAttributes: Synchronize this method.
2383 (readObject): Install synchronized map on target object.
2384 (removeAttribute): Synchronize this method.
2385 (removeAttributes): Synchronize this method.
2386 (removeAttributes): Synchronize this method.
2388 2006-11-20 Roman Kennke <kennke@aicas.com>
2390 * javax/swing/text/GapContent.java
2391 (GapContentPosition.GapContentPosition): Removed constructor.
2392 (Mark): Made subclass of WeakReference to refer directly to
2393 the associated position.
2394 (Mark.refCount): Removed.
2395 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2396 New constructor. Used to reference a position and register the
2398 (Mark.Mark(index)): Call super and don't adjust mark offset.
2399 (Mark.compareTo): Removed.
2400 (Mark.equals): Removed.
2401 (Mark.getOffset): Return at least null. Removed assert.
2402 (Mark.getPosition): New helper method.
2403 (garbageMarks): New field.
2404 (positions): Removed.
2405 (searchMark): New field.
2406 (GapContent): Removed init of positions map.
2407 (addImpl): New helper method.
2408 (adjustPositionsInRange): Removed.
2409 (compare): New helper method.
2410 (createPosition): Rewritten for new datastructures. This now
2411 performs a much more efficient binary search for finding
2412 a position at the requested offste.
2413 (garbageCollect): Rewritten to collect unused marks.
2414 (getPositionsInRange): Adjusted for new data structures.
2415 (removeImpl): New helper method.
2416 (replace): Use new addImpl() and removeImpl() helper method for
2417 correctly adjusting the positions and gap.
2418 (search): Rewritten. Implements a more suitable binary search.
2419 (searchFirst): New helper method.
2420 (setPositionsInRange): Removed.
2421 (shiftEnd): Update the marks here.
2422 (shiftGap): Update the marks here.
2423 (shiftGapEndUp): Update the marks here.
2424 (shiftGapStartDown): Update the marks here.
2426 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2428 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2429 digest algorithm implementations.
2430 (readSignatures): Parse the manifest once and reuse that data.
2431 Add support for line breaks.
2432 (verifyHashes): Use the parsed manifest entry.
2433 (readManifestEntry): Removed.
2435 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2437 * java/beans/beancontext/BeanContextServicesSupport.java:
2438 Added more documentation.
2439 (addService(Class,BeanContextServiceProvider,boolean)):
2440 Synchronized over global hierarchy lock.
2441 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2442 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2443 (childJustRemovedHook(Object,BCSChild)): Implemented.
2444 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2446 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2447 Added revocation-only listeners.
2448 (getBeanContextServicesPeer()): Implemented.
2449 (getCurrentServiceClasses(Class)): Synchronized over global
2451 (getCurrentServiceSelectors(Class)): Synchronized over global
2452 hierarchy lock, and fixed FIXME.
2453 (getService(BeanContextChild,Object,Class,Object,
2454 BeanContextServiceRevokedListener)): Implemented.
2455 (hasService(Class)): Synchronized over global hierarchy lock.
2456 (releaseService(BeanContextChild,Object,Object)): Implemented.
2457 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2458 * java/beans/beancontext/BeanContextSupport.java:
2459 (remove(Object, boolean)): Documentation correction.
2461 2006-11-19 Roman Kennke <kennke@aicas.com>
2463 * javax/swing/JEditorPane.java
2464 (PageStream): New inner class.
2465 (PageLoader): New inner class.
2466 (loading): New field.
2467 (setPage): Implemented asynchronous loading.
2468 * javax/swing/text/DefaultStyledDocument.java
2469 (ElementBuffer.create): New helper method.
2470 (create): Use new ElementBuffer method instead of hack.
2471 * javax/swing/text/html/HTMLDocument.java
2472 (HTMLReader.flushImpl): New helper method.
2473 (HTMLReader.addContent): Use flushImpl().
2474 (HTMLReader.blockClose): Added null check.
2475 (HTMLReader.flush): Use flushImpl().
2476 * javax/swing/text/html/HTMLEditorKit.java
2477 (createDefaultDocument): Set load priority to 4 and token threshold
2479 * javax/swing/text/html/TableView.java
2480 (insertUpdate): Overridden to provide correct view factory.
2481 (removeUpdate): Overridden to provide correct view factory.
2482 (changedUpdate): Overridden to provide correct view factory.
2484 2006-11-19 Roman Kennke <kennke@aicas.com>
2486 * javax/swing/text/BoxView.java
2487 (clipRect): New field.
2488 (tmpRect): New field.
2489 (layout): Reorganized code. Now uses layoutAxis() helper method.
2490 (layoutAxis): New helper method.
2491 (paint): Optimized by using cached Rectangle objects and
2492 a binary search for child views inside the clip.
2493 * javax/swing/text/CompositeView.java
2494 (insideAllocation): Made private and initialized in constructor.
2495 (getInsideAllocation): Removed initialization block for
2496 insideAllocation field. Avoid unnecessary allocations.
2497 * javax/swing/text/GlyphView.java
2498 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2499 The remaining stuff (background, underline and striking) is
2500 done in the GlpyhView itself. Avoid unnecessary allocations.
2501 (cached): A cached Segment instance.
2502 (getText): Return cached segment.
2503 (paint): Paint underline, strike and background here. Avoid
2506 2006-11-19 Roman Kennke <kennke@aicas.com>
2508 * javax/swing/text/html/StyleSheet.java
2509 (getFontSize): Removed debug output.
2510 (ListPainter.tmpRect): New field.
2511 (ListPainter.paint): Align bullet vertically centered to
2512 the first line of the paragraph.
2514 2006-11-17 Roman Kennke <kennke@aicas.com>
2516 * gnu/javax/swing/text/html/css/CSSParser.java
2517 (parseDeclaration): Trim string before reporting.
2518 * gnu/javax/swing/text/html/css/FontSize.java
2520 (isRelative): New field.
2521 (sizeIndex): New field.
2522 (FontSize): Initialize new fields.
2523 (getValue): Changed to call getValue(int).
2524 (getValue(int)): New method. Implements relative font sizes.
2525 (isRelative): New method.
2526 (mapAbsolute): Store index.
2527 (mapEM): New helper method.
2528 (mapLarger): New helper method.
2529 (mapPercent): New helper method.
2530 (mapRelative): New helper method.
2531 (mapSmaller): New helper method.
2532 (mapValue): New helper method.
2533 * javax/swing/text/html/CSS.java
2534 (parseBackgroundShorthand): Create CSSColor directly.
2535 * javax/swing/text/html/StyleSheet.java
2536 (addRule): Invalidate resolved styles.
2537 (getFont): Call new getFontSize() method to resolve relative
2539 (getFontSize): New helper method. Resolves relative font sizes.
2540 (translateHTMLToCSS): Create CSS objects directly.
2542 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2544 * gnu/java/util/regex/RETokenNamedProperty.java:
2545 (getHandler(String)): Add support for 'all'.
2547 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2549 * gnu/javax/management/Server.java:
2550 Initial implementation of a GNU management server.
2551 * javax/management/MBeanPermission.java,
2552 * javax/management/MBeanRegistration.java,
2553 * javax/management/MBeanTrustPermission.java:
2556 2006-11-17 Mark Wielaard <mark@klomp.org>
2558 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2560 2006-11-17 Gary Benson <gbenson@redhat.com>
2562 * java/net/DatagramSocket.java (getLocalAddress, connect,
2563 receive): Perform security check on address not hostname.
2565 2006-11-16 Roman Kennke <kennke@aicas.com>
2567 * gnu/javax/swing/text/html/parser/support/Parser.java
2568 (_handleText): Fixed condition for consuming whitespace.
2569 Removed validator check, this is superfluous now.
2571 2006-11-16 Roman Kennke <kennke@aicas.com>
2573 * gnu/javax/swing/text/html/css/CSSParser.java
2574 (parseRuleset): Support 'combined' selectors.
2575 (main): Adapt callback for combined selectors support.
2576 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2577 (startStatement): Take selector array as argument, to
2578 support combined selectors.
2579 * javax/swing/text/html/BlockView.java
2580 (calculateMinorAxisRequirements): Fetch and apply alignment.
2581 * javax/swing/text/html/StyleSheet.java
2582 (CSSStyle): Inverted the constants for correct precedence.
2583 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2585 (CSSStyleSheetParserCallback.style): Removed.
2586 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2587 (CSSStyleSheetParserCallback.end): Push multiple styles.
2588 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2590 2006-11-16 Roman Kennke <kennke@aicas.com>
2592 * javax/swing/text/FlowView.java
2593 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2594 * javax/swing/text/GlyphView.java
2595 (tabExpander): New field.
2597 (breakView): Set tabX on broken view.
2598 (getPartialSpan): Let the painter fetch the span.
2599 (getTabbedSpan): Update the tab expander field. Maybe trigger
2601 (getTabExpander): Simply return the stored expander.
2602 * javax/swing/text/Utilities.java
2603 (getTabbedTextOffset): Made algoritm a little smarter and more
2605 (getTabbedTextWidth): Don't add single char widths, instead add
2606 chunks of characters.
2607 * javax/swing/text/html/ParagraphView.java
2608 (calculateMinorAxisRequirements): Adjust margin only when the
2609 CSS span is not fixed.
2611 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2613 * java/beans/beancontext/BeanContextSupport.java
2614 (getChildBeanContextMembershipListener): Implemented,
2615 (getChildPropertyChangeListener): Implemented,
2616 (getChildSerializable): Implemented,
2617 (getChildVetoableChangeListener): Implemented,
2618 (getChildVisibility): Implemented,
2619 (setDesignTime): Use same property name as Sun's implementation.
2621 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2623 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2624 * java/beans/Statement.java
2625 (toString): Updated to match reference implementation.
2627 2006-11-15 Roman Kennke <kennke@aicas.com>
2629 * javax/swing/text/html/HTMLEditorKit.java
2630 (InsertHTMLTextAction.actionPerformed): Also try inserting
2631 the alternate tag. Adjust the selection accordingly.
2632 (InsertHTMLTextAction.adjustSelection): New helper method.
2633 Adjusts the selection after an insertion.
2634 (insertAtBoundary): Delegate to deprecated method.
2635 (insertAtBoundry): Implemented missing method.
2636 (tryInsert): New helper method.
2637 (defaultActions): Implemented to fill the array with
2638 a couple of InsertHTMLTextActions.
2640 2006-11-15 Roman Kennke <kennke@aicas.com>
2642 * javax/swing/text/html/ImageView.java
2643 (Observer): New class. Observes image loading.
2644 (haveHeight): New field.
2645 (haveWidth): New field.
2646 (height): New field.
2649 (imageIcon): New field.
2650 (loading): New field.
2651 (observer): New field.
2652 (reloadImage): New field.
2653 (reloadProperties): New field.
2654 (ImageView): Initialize observer and some flags.
2655 (getImage): Update the image state and return the image.
2656 (loadImage): New helper method. Actually starts loading.
2657 (paint): Rewritten to paint the image directly, not via Icon.
2658 (reloadImage): Rewritten. Loads the image and its properties.
2659 (renderIcon): Removed. No more necessary.
2660 (setPropertiesFromAttributes): Don't nullify image here.
2661 Added comment about missing impl.
2662 (setSize): Added comment about missing impl.
2663 (updateSize): New helper method. Updates the size attributes.
2664 (updateState): New helper method. Makes sure the image
2665 and its properties are valid.
2667 2006-11-15 Roman Kennke <kennke@aicas.com>
2669 * gnu/javax/swing/text/html/parser/support/Parser.java
2670 (_handleEndTag_remaining): Consume whitespace after a closing
2673 2006-11-15 Roman Kennke <kennke@aicas.com>
2675 * javax/swing/text/html/HTMLDocument.java
2676 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2678 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2680 (HTMLReader.parseStack): Removed.
2681 (HTMLReader.blockClose): Simply call addContent() with ' '
2682 instead of doing more complicated stuff. Removed parseStack
2684 (HTMLReader.blockOpen): Removed parseStack handling.
2685 (getInsertingReader): Removed parseStack init.
2686 * gnu/javax/swing/text/html/parser/htmlValidator.java
2687 (closeTag): Return true only when the tag actually should be
2689 * gnu/javax/swing/text/html/parser/support/Parser.java
2690 (_handleEndTag): Only actually close the tag when the validator
2693 2006-11-15 Roman Kennke <kennke@aicas.com>
2695 * javax/swing/text/html/CSS.java
2696 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2698 * javax/swing/text/html/StyleSheet.java
2699 (BoxPainter.bottomPadding): New field.
2700 (BoxPainter.leftPadding): New field.
2701 (BoxPainter.rightPadding): New field.
2702 (BoxPainter.topPadding): New field.
2703 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2705 (BoxPainter.getInset): Recognize and include the padding.
2706 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2707 javax/swing/text/html/TableView.java
2708 (RowView.calculateMajorAxisRequirements): Adjust req's for
2710 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2711 (cellSpacing): New field.
2712 (columnRequirements): Made package private to avoid accessor method.
2713 (calculateMinorAxisRequirements): Include cellSpacing.
2714 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2715 (layoutMajorAxis): Likewise.
2716 (layoutColumns): Respect cellSpacing.
2717 (setParent): Overridden to fetch the CSS attributes when view gets
2719 (setPropertiesFromAttributes): New method. Fetches the cell
2720 spacing from the CSS attributes.
2722 2006-11-15 Roman Kennke <kennke@aicas.com>
2724 * gnu/javax/swing/text/html/parser/support/Parser.java
2725 (_handleText): Consume whitespace directly before a closing tag.
2726 (restOfTag): Consume whitespace directly after opening.
2727 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2728 (preprocess): Don't perform array boundary checking by
2729 catch AIOOBE, instead check the boundary in loop condition.
2730 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2731 (TAG_CLOSE): New constants. Describes the token pattern for
2734 2006-11-14 Roman Kennke <kennke@aicas.com>
2736 * javax/swing/text/html/ImageView.java
2737 (getPreferredSpan): Use CSS length values.
2738 * javax/swing/text/html/TableView.java
2739 (CellView.calculateMajorAxisRequirements): Overridden to
2740 set the maximum reqs to maximum.
2741 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2743 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2744 the total column reqs.
2745 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2746 the total column reqs.
2747 * gnu/javax/swing/text/html/css/CSSColor.java
2748 (convertValue): Catch NumberFormatExceptions for more robustness.
2749 * gnu/javax/swing/text/html/css/FontSize.java
2750 (mapPixels): Actually map px values. Catch NFE for more robustness.
2752 2006-11-14 Roman Kennke <kennke@aicas.com>
2754 * gnu/java/awt/font/autofit/AxisHints.java,
2755 * gnu/java/awt/font/autofit/Constants.java,
2756 * gnu/java/awt/font/autofit/GlyphHints.java,
2757 * nu/java/awt/font/autofit/Latin.java,
2758 * nu/java/awt/font/autofit/LatinAxis.java,
2759 * gnu/java/awt/font/autofit/LatinMetrics.java,
2760 * gnu/java/awt/font/autofit/Scaler.java,
2761 * gnu/java/awt/font/autofit/Script.java,
2762 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2763 * gnu/java/awt/font/autofit/Segment.java,
2764 * gnu/java/awt/font/autofit/Width.java:
2765 New classes. This is some skeleton stuff for the FreeType-alike
2767 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2768 * gnu/java/awt/font/opentype/OpenTypeFont.java
2769 (unitsPerEm): Made field public.
2770 (getRawGlyphOutline): New method. Fetches the raw outline.
2771 * gnu/java/awt/font/opentype/Scaler.java
2772 (getRawGlyphOutline): New method. Fetches the raw outline.
2773 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2774 (loadGlyph): New method. This is used to load raw outlines.
2775 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2776 (getRawOutline): New method. Fetches the raw outline.
2777 * gnu/java/awt/font/opentype/truetype/Zone.java:
2780 2006-11-14 Roman Kennke <kennke@aicas.com>
2782 * javax/swing/RepaintManager.java
2783 (RepaintManager): Fetch the default state for the double buffering
2784 from a system property gnu.swing.doublebuffering.
2786 2006-11-14 Roman Kennke <kennke@aicas.com>
2788 * javax/swing/plaf/basic/BasicLabelUI.java
2789 (cachedInsets): New field.
2790 (getFontMetrics): New helper method. Fetches the font metrics
2791 from the component or the toolkit.
2792 (getPreferredSize): Use getFontMetrics() helper method for
2793 fetching the font metrics.
2794 (paint): Use getFontMetrics() helper method for
2795 fetching the font metrics. Only paint if icon or text
2796 are != null. Use cached insets.
2797 (paintDisabledText): Don't store/restore color object. The
2798 JComponent painting mechanism takes care of this by calling
2800 (paintEnabledText): Don't store/restore color object. The
2801 JComponent painting mechanism takes care of this by calling
2804 2006-11-14 Roman Kennke <kennke@aicas.com>
2806 * gnu/java/awt/peer/GLightweightPeer.java
2807 (handleEvent): Try to do something reasonable and trigger painting
2808 for the lightweight component.
2809 (getFontMetrics): Fetch and return a font metrics object from
2812 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2814 * gnu/java/util/regex/RETokenNamedProperty.java:
2815 (getHandler(String)): Add support for 'all'.
2817 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2819 * AUTHORS: Add myself.
2821 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2823 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2824 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2825 Roman Kennke's entry.
2827 2006-11-13 Roman Kennke <kennke@aicas.com>
2829 * java/awt/image/IndexColorModel.java
2830 (createCompatibleSampleModel): Implemented missing method.
2832 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2834 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2835 from big endian systems correctly.
2837 2006-11-11 Roman Kennke <kennke@aicas.com>
2839 * gnu/javax/swing/text/html/css/CSSColor.java
2840 (isValidColor): New helper method. Checks strings if they
2841 form a valid color value.
2842 * gnu/javax/swing/text/html/css/Length.java
2843 (Length): Catch number format exceptions.
2844 * javax/swing/text/html/CSS.java
2845 (addInternal): New method. Checks for shorthand CSS attributes
2847 (parseBackgroundShorthand): New method. Parses the background
2848 shorthand attribute.
2849 * javax/swing/text/html/HTMLDocument.java
2850 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2851 (HTMLReader.LinkAction.start): Implemented to load the linked
2853 (HTMLReader.LinkAction.end): Removed. This is not needed.
2854 * javax/swing/text/html/StyleSheet.java
2855 (CSSStyleSheetParserCallback.declaration): Push declaration
2856 through CSS.addInternal() to parse shorthand attributes.
2857 (addCSSAttribute): Push declaration through CSS.addInternal()
2858 to parse shorthand attributes.
2859 (importStyleSheet): Implemented. This adds a stylesheet from
2861 * javax/swing/text/html/TableView.java
2862 (calculateColumnRequirements): Increase column index for
2863 non CellView children to avoid endless loop.
2864 * javax/swing/text/CompositeView.java
2865 (setParent): Comparen with numChildren not with real arraylength.
2867 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2869 * java/beans/beancontext/BeanContextSupport.java
2870 (getChildBeanContextChild): Implemented.
2872 2006-11-10 Roman Kennke <kennke@aicas.com>
2874 * javax/swing/text/View.java
2875 (updateLayout): Only repaint when needed.
2877 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2879 * java/util/Collections.java
2880 (sort(List)): Minor API doc addition,
2881 (sort(List, Comparator)): Likewise.
2883 2006-11-10 David Fu <fchoong@netbeans.jp>
2885 * javax/swing/text/html/HTMLWriter.java
2886 (traverse): Removed Classpath specific handling of implied
2888 (traverseHtmlFragment): Removed Classpath specific handling of
2891 2006-11-10 Roman Kennke <kennke@aicas.com>
2893 * javax/swing/text/ParagraphView.java
2894 (Row.getMaximumSize): Removed. This method is not necessary.
2895 * javax/swing/text/html/TableView.java
2896 (CellView): Moved attribute init to setPropertiesFromAttributes().
2897 (setPropertiesFromAttributes): Fetch attributes here.
2898 (RowView.RowView): Documented.
2899 (RowView.getMaximumSpan): Overridden to restrict the max span
2901 (RowView.layoutMajorAxis): Correctly layout the spans.
2902 (columnWidths): New field. Stores the width attributes of
2904 (calculateColumnRequirements): Added support for relative
2905 (== percent) width attributes.
2906 (calculateMajorAxisRequirements): Removed.
2907 (calculateMinorAxisRequirements): Removed unnecessary code.
2908 (getMaximumSpan): Overridden to restrict the table's width.
2909 (layoutColumns): Documented. Implement more clever table layout,
2910 i.e. for relative columns etc.
2911 (layoutMinorAxis): Don't mark rows invalid.
2912 (updateGrid): Added docs. Initialize column widths.
2914 2006-11-09 Roman Kennke <kennke@aicas.com>
2916 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2917 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2918 Implement basic headless toolkit.
2919 * java/awt/Toolkit.java
2920 (getDefaultToolkit): Check headless property and create
2921 headless toolkit when true.
2923 2006-11-09 Ingo Proetel <proetel@aicas.com>
2924 2006-11-09 Roman Kennke <kennke@aicas.com>
2926 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2927 (SwingButton.button): New field.
2928 (SwingButton.SwingButton): Added constructor.
2929 (SwingButton.isShowing): Access button field instead of
2930 the surrounding class.
2931 (SwingButton.getParent): Access button field instead of
2932 the surrounding class.
2933 (SwingButtonPeer): Call new SwingButton constructor.
2934 * gnu/java/awt/peer/swing/SwingComponent.java:
2935 Several documentation updates.
2936 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2937 (currentPaintEvents): New field.
2938 (peerFont): New field.
2939 (SwingComponentPeer): Initialize currentPaintEvents fields.
2940 (coalescePaintEvents): Implemented.
2941 (dispose): Unregister peer from heavyweight list of its container.
2942 (getGraphics): Fetch graphics from parent component.
2943 (handleEvent): Discard paint event if its coalesced.
2944 (init): Register component with its container for proper painting.
2945 (paint): Call peerPaint().
2946 (peerPaint): Added argument that indicates if we should update.
2947 Call paint or update on the actual AWT component.
2948 (peerPaintComponent): New method. Paints the peer (Swing) component.
2949 (setFont): Set peerFont field.
2950 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2951 (backbuffer): New field.
2952 (focusOwner): New field.
2953 (heavyweightDescendents): New field.
2954 (SwingContainerPeer): Take Container as argument. Don't call init
2956 (addHeavyweightDescendent): New method.
2957 (getFocusOwner): New helper method.
2958 (getInsets): Delegate to insets().
2959 (handleKeyEvent): Dispatch event to focus owner.
2960 (handleMouseEvent): Dispatch to child component.
2961 (isDoubleBuffering): New helper method.
2962 (peerPaint): Overridden to implement container painting with
2964 (peerPaintChildren): New method. Paints the descendents of this
2966 (removeHeavyweightDescendent): New helper method.
2967 * gnu/java/awt/peer/swing/SwingFramePeer.java
2968 (peerPaint): Removed.
2969 (peerPaintComponent): Overridden to paint the menu bar.
2970 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2971 (SwingLabel.label): New field.
2972 (SwingLabel.SwingLabel): Added constructor with Label argument.
2973 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2974 the actual AWT component.
2975 (SwingLabel.getParent): Implemented to fetch the parent from
2977 (SwingLabel.isShowing): Access the label field.
2978 (SwingLabelPeer): Set alignment from label.
2979 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2980 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2982 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2983 Don't be a lighweight peer.
2984 (SwingPanelPeer): Call init.
2985 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2986 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2987 (SwingTextField.textField): New field.
2988 (SwingTextField.SwingTextField): New constructor.
2989 (SwingTextField.isShowing): Access field not enclosing class.
2990 (SwingTextField.getGraphics): New method.
2991 (SwingTextField.getParent): New method.
2992 (SwingTextFieldPeer): Call new constructor.
2993 (select): Renamed arguments.
2994 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2995 (SwingWindowPeer): Call init.
2997 2006-11-09 Tania Bento <tbento@redhat.com>
2999 * javax/swing/JLabel.java
3000 (JLabel(Icon)): Changed documentation; Changed text to null.
3001 (JLabel(Icon,int)): Likewise.
3002 (JLabel(text)): Changed documenation.
3003 (JLabel(text,int)): Likewise.
3004 (JLabel(text,Icon,int)): Changed documentation; Throw
3005 IllegalArgumentException if int is not one of LEFT, RIGHT,
3006 CENTER, LEADING or TRAILING.
3008 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3010 * java/beans/beancontext/BeanContextSupport.java
3011 (BeanContextSupport): Use correct dtime default,
3012 (BeanContextSupport(BeanContext)): Likewise,
3013 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3015 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3016 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3018 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3020 * java/beans/beancontext/BeanContextSupport.java
3021 (getBeanContextPeer): Implemented.
3023 2006-11-09 Roman Kennke <kennke@aicas.com>
3025 * javax/swing/text/html/BlockView.java
3026 (cssHeight): Removed.
3027 (cssWidth): Removed.
3028 (cssSpans): New field. Replaces the two fields above.
3029 (BlockView): Allocate cssSpans array.
3030 (layoutMinorAxis): Fetch and use child span, not this view's span.
3031 (setCSSSpan): Adjusted to use cssSpans array.
3032 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3034 2006-11-09 Roman Kennke <kennke@aicas.com>
3036 * javax/swing/text/html/InlineView.java
3037 (nowrap): New field.
3038 (getBreakWeight): Add support for nowrap.
3039 (setPropertiesFromAttributes): Fetch the nowrap setting.
3041 2006-11-09 Roman Kennke <kennke@aicas.com>
3043 * gnu/javax/swing/text/html/css/CSSParser.java
3044 (parseRuleset): Use new Selector class.
3045 (parseValue): Parse multiple anys, not only one.
3046 (main): Allow stylesheet be specified on the command line.
3047 Use new Selector class.
3048 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3049 (startStatement): Use Selector class.
3050 * gnu/javax/swing/text/html/css/CSSScanner.java
3051 (readName): Actually read a character in the loop to avoid
3053 * gnu/javax/swing/text/html/css/Length.java
3054 (getValue): Only multiply when we have a percentage value.
3055 * gnu/javax/swing/text/html/css/Selector.java:
3056 New class. Provides handling of CSS selectors.
3057 * javax/swing/text/html/StyleSheet.java
3058 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3059 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3060 (CSSStyle.PREC_NORM): New constant field.
3061 (CSSStyle.PREC_UA): New constant field.
3062 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3063 (CSSStyle.precedence): New field.
3064 (CSSStyle.priority): Removed.
3065 (CSSStyle.selector): New field.
3066 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3068 (CSSStyle.compareTo): Adjusted to use the precedence and
3069 specificity of the selector.
3070 (CSSStyleSheetParserCallback.precedence): New field.
3071 (CSSStyleSheetParserCallback.selector): Removed.
3072 (CSSStyleSheetParserCallback.style): New field.
3073 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3074 Initialize with precedence.
3075 (CSSStyleSheetParserCallback.declaration): Don't look up
3076 existing rule, simply create new one.
3077 (CSSStyleSheetParserCallback.endStatement): Append style
3079 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3081 (css): Changed to be ArrayList.
3082 (addRule): Create parser with author-normal precendence.
3083 (getRule): Fixed implementation.
3084 (loadRules): Create parser with UA precendence.
3085 (resolveStyle): Use Selector class for resolving and matching
3087 (translateHTMLToCSS): Added mappings for a couple of HTML
3090 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3093 * java/beans/SimpleBeanInfo.java
3094 (loadImage): Check for nulls.
3096 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3098 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3099 (getpeername): Added 16 byte offset to memcpy operation.
3101 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3103 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3104 (getsockname): Added 16 byte offset to memcpy operation.
3106 2006-11-08 Mark Wielaard <mark@klomp.org>
3109 * java/io/OutputStreamWriter.java
3110 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3111 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3113 2006-11-08 Roman Kennke <kennke@aicas.com>
3115 * javax/swing/text/html/HTMLEditorKit.java
3116 (getParser): Use plain HTML_401F DTD.
3117 * javax/swing/text/html/HTMLDocument.java
3118 (HTMLReader.print): Removed method and all calls to it.
3119 (HTMLReader.printBuffer): Removed method and all calls to it.
3120 (HTMLReader.inImpliedParagraph): New field.
3121 (HTMLReader.inParagraph): New field.
3122 (HTMLReader.addContent): Create implied p-tag if necessary.
3123 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3124 (HTMLReader.blockClose): Close implied p-tag if necessary.
3125 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3126 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3128 2006-11-08 Roman Kennke <kennke@aicas.com>
3130 * javax/swing/text/html/HTMLEditorKit.java
3131 (HTMLFactory.create): Removed mapping for TD tag. This
3132 is done in TableView.
3133 * javax/swing/text/html/TableView.java:
3134 Implemented from scratch.
3136 2006-11-07 Roman Kennke <kennke@aicas.com>
3138 * gnu/javax/swing/text/html/parser/support/Parser.java
3139 (_handleText): Check if text content is actually allowed before
3140 passing empty text fragments on to the parser callbacks.
3142 2006-11-07 Mark Wielaard <mark@klomp.org>
3144 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3148 2006-11-07 Tania Bento <tbento@redhat.com>
3150 * java/awt/FlowLayout.java
3151 (getSize): If parent does not have a component, then a
3152 different formula is used to calcuate the width.
3154 2006-11-07 Roman Kennke <kennke@aicas.com>
3156 * javax/swing/text/html/HTMLEditorKit.java
3157 (HTMLFactory.create): Include ListView.
3158 * javax/swing/text/html/ListView.java
3159 (paint): Removed comment.
3160 * javax/swing/text/html/StyleSheet.java
3161 (CSSStyle.priority): New field.
3162 (CSSStyle.CSSStyle(int)): New constructor with priority.
3163 (CSSStyle.compareTo): New method. Used for sorting the styles.
3164 (CSSStyleSheetParserCallback.declaration): Store the style
3165 with the complete selector.
3166 (ListPainter.attributes): Renamed as field.
3167 (ListPainter.styleSheet): New field.
3168 (ListPainter.type): New field.
3169 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3170 (ListPainter.paint): Provide simplistic implementation.
3171 (getListPainter): Pass StyleSheet to constructor.
3172 (resolveStyle): Fixed CSS style resolving.
3174 2006-11-07 Roman Kennke <kennke@aicas.com>
3176 * gnu/javax/swing/text/html/css/BorderWidth.java:
3177 New class. Handles CSS border width values.
3178 * gnu/javax/swing/text/html/css/Length.java
3179 (floatValue): Made protected so that BorderWidth can access it.
3180 * javax/swing/text/html/CSS.java
3181 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3182 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3183 (Attribute.BORDER_LEFT_COLOR): New static field.
3184 (Attribute.BORDER_LEFT_STYLE): New static field.
3185 (Attribute.BORDER_RIGHT_COLOR): New static field.
3186 (Attribute.BORDER_RIGHT_STYLE): New static field.
3187 (Attribute.BORDER_TOP_COLOR): New static field.
3188 (Attribute.BORDER_TOP_STYLE): New static field.
3189 (getValue): Added some mappings for the border color and
3190 border width values.
3191 * javax/swing/text/html/CSSBorder.java: New class. Implements
3193 * javax/swing/text/html/StyleSheet.java
3194 (BoxPainter.background): New field.
3195 (BoxPainter.border): New field.
3196 (BoxPainter.bottomInset): Documented.
3197 (BoxPainter.leftInset): Documented.
3198 (BoxPainter.rightInset): Documented.
3199 (BoxPainter.topInset): Documented.
3200 (BoxPainter.BoxPainter): Added support for borders and background.
3201 (BoxPainter.getInset): Add border insets.
3202 (BoxPainter.paint): Implemented. Paints the background and the
3204 (addRule): Be less picky about parse and IO exceptions.
3205 (getBoxPainter): Adjust to new BoxPainter constructor.
3207 2006-11-07 Andreas <a.tobler@schweiz.org>
3209 * examples/Makefile.am: Add rule to install the *.html files we use
3212 2006-11-06 Francis Kung <fkung@redhat.com>
3214 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3215 (fillRect): Handle custom composites.
3216 (drawRenderedImage): Handle custom composites.
3217 (drawImage): Handle custom composites.
3218 (createBuffer): New method.
3219 (drawLine): Handle custom composites.
3220 (drawComposite): New method.
3221 (fill): Handle custom composites.
3222 (getNativeCM): New method.
3223 (drawGlyphVector): Handle custom composites.
3224 (drawRect): Handle custom composites.
3225 (draw): Handle custom composites.
3226 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3227 (drawComposite): Unset composite during draw call, to prevent parent
3228 from handling composite again.
3229 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3230 (getBufferCM): Added comments.
3231 (getNativeCM): Made abstract.
3232 (setComposite): Removed comments.
3234 2006-11-06 Roman Kennke <kennke@aicas.com>
3236 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3237 Fixed initial window size and start document.
3239 2006-11-06 Roman Kennke <kennke@aicas.com>
3241 * javax/swing/text/html/HTMLDocument.java
3242 (HTMLReader.addSpecialElement): Removed comment about
3244 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3245 of htmlAttributeSet.
3246 * javax/swing/text/html/parser/DocumentParser.java
3247 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3248 of htmlAttributeSet.
3249 * javax/swing/text/html/parser/ParserDelegator.java
3250 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3251 of htmlAttributeSet.
3252 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3253 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3254 of htmlAttributeSet.
3255 * gnu/javax/swing/text/html/parser/support/Parser.java
3256 (getAttributes): Return a SimpleAttributeSet.
3257 (restOfTag): Don't set resolving parent here.
3259 2006-11-06 Tania Bento <tbento@redhat.com>
3261 * java/awt/TextComponent.java
3262 (setSelectionStart): Added check.
3264 2006-11-06 Tania Bento <tbento@redhat.com>
3266 * java/awt/TextField.java
3267 (minimumSize(int)): Check if minimum size has been previously
3268 set and changed values of Dimension returned if peer == null.
3269 (preferredSize(int)): Check if preferred size has been previously
3270 set and changed values of Dimension returned if peer == null.
3272 2006-11-06 Roman Kennke <kennke@aicas.com>
3274 * javax/swing/JTree.java
3275 (TreeModelHandler.treeNodesRemoved): Implemented.
3276 (TreeModelHandler.treeStructureChanged): Implemented.
3277 (nodeStates): Made package private.
3279 2006-11-06 Francis Kung <fkung@redhat.com>
3282 * javax/swing/JTree.java
3283 (clearSelectionPathStates): New private method to clean up nodeStates.
3284 (removeSelectionPath): Call clearSelectionPathStates().
3285 (removeSelectionPaths): Call clearSelectionPathStates().
3286 (removeSelectionRow): Call clearSelectionPathStates().
3287 (setSelectionPath): Call clearSelectionPathStates().
3288 (setSelectionPaths): Call clearSelectionPathStates().
3289 (setSelectionRow): Call clearSelectionPathStates().
3291 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3294 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3296 2006-11-06 Roman Kennke <kennke@aicas.com>
3298 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3299 Changed to implement a minimalistic browser.
3300 * examples/gnu/classpath/examples/swing/forms.html,
3301 * examples/gnu/classpath/examples/swing/textstyles.html,
3302 * examples/gnu/classpath/examples/swing/welcome.html:
3303 Some example content.
3305 2006-11-06 Roman Kennke <kennke@aicas.com>
3307 * javax/swing/text/ComponentView.java
3308 (setParent): Lock the document and repaint the hosting
3310 * javax/swing/text/FlowView.java
3311 (FlowStrategy.createView): Removed comment.
3312 (FlowView): Initialize span with Short.MAX_VALUE.
3313 (getFlowStart): Return 0 unconditionally.
3314 (layout): Moved code around to make it more readable.
3315 (loadChildren): Always set the parent.
3316 * javax/swing/text/GlyphView.java
3317 (DefaultGlyphPainter.fontMetrics): New field.
3318 (DefaultGlyphPainter.getAscent): Use new helper method to
3319 synchronize the font metrics.
3320 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3321 to synchronize the font metrics.
3322 (DefaultGlyphPainter.getDescent): Use new helper method to
3323 synchronize the font metrics.
3324 (DefaultGlyphPainter.getHeight): Use new helper method to
3325 synchronize the font metrics.
3326 (DefaultGlyphPainter.getSpan): Use new helper method to
3327 synchronize the font metrics.
3328 (DefaultGlyphPainter.modelToView): Use new helper method to
3329 synchronize the font metrics.
3330 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3331 font metrics caching.
3332 (DefaultGlyphPainter.viewToModel): Use new helper method to
3333 synchronize the font metrics. Fixed view to model mapping.
3334 * javax/swing/text/View.java
3335 (removeAll): Pass null to replace().
3336 (setParent): Only reparent children that have this view as parent.
3338 2006-11-05 Mark Wielaard <mark@klomp.org>
3340 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3341 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3342 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3344 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3346 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3347 Remove gnu_java_nio_channels_FileChannelImpl.c.
3349 2006-11-03 Roman Kennke <kennke@aicas.com>
3351 * javax/swing/text/html/BlockView.java
3352 (attributes): New field.
3353 (cssHeight): New field.
3354 (cssWidth): New field.
3355 (painter): New field.
3356 (calculateMajorAxisRequirements): Overridden to account for
3358 (calculateMinorAxisRequirements): Overridden to account for
3360 (layoutMinorAxis): Overridden to account for CSS settings.
3361 (changedUpdate): Formatting fixlet.
3362 (constrainSize): New helper method.
3363 (getAlignment): Fix alignment.
3364 (getAttributes): Cache attributes for better performance.
3365 (getStyleSheet): Fetch stylesheet from document rather than creating
3367 (paint): Remove comment.
3368 (setCSSSpan): New helper method.
3369 (setPropertiesFromAttributes): Implemented to fetch the
3370 recognized properties.
3371 * javax/swing/text/html/CSS.java
3372 (getValue): Added mapping for width and height attributes.
3373 * javax/swing/text/html/InlineView.java
3374 (longestWord): New field.
3375 (getLongestWord): New helper method.
3376 (calculateLongestWord): New helper method.
3377 (getMinimumSpan): Overridden to constrain the minimum span by the
3379 * javax/swing/text/html/ParagraphView.java
3380 (cssHeight): New field.
3381 (cssWidth): New field.
3382 (calculateMinorAxisRequirements): Overridden to account for
3384 (setCSSSpan): New helper method.
3385 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3387 * gnu/javax/swing/text/html/css/Length.java
3388 (percentage): New field.
3389 (Length): Determine percentage values.
3390 (getValue(float)): New method for handling percentage values.
3391 (isPercentage): New method.
3393 2006-11-03 Tania Bento <tbento@redhat.com>
3395 * java/awt/TextArea.java
3396 (getMinimumSize): Changed documentation.
3397 (getPreferredSize): Changed documentation.
3398 (getMinimumSize(int,int)): Changed documenation.
3399 (getPreferredSize(int,int)): Changed documenation.
3400 (minimumSize): Changed documentation.
3401 (preferredSize): Changed documenation.
3402 (minimumSize(int,int)): Changed documentation. Checked if
3403 minimum size had been previously set and changed values of
3404 Dimension returned if peer == null.
3405 (preferredSize(int, int)): Checked if preferred size had been
3406 previously set and changed values of Dimension returned if
3409 2006-11-03 Tania Bento <tbento@redhat.com>
3411 * java/awt/event/ComponentEvent.java
3412 (paramString): Changed format of string representation returned.
3414 2006-11-03 Roman Kennke <kennke@aicas.com>
3416 * javax/swing/text/html/HTMLDocument.java
3417 (HTMLReader.FormAction.start): Added support for textarea.
3418 (HTMLReader.FormAction.end): Added support for textarea.
3419 (HTMLReader.HeadAction.end): Call super to actually close the
3421 (HTMLReader.inTextArea): New field.
3422 (HTMLReader.textAreaDocument): New field.
3423 (HTMLReader.handleText): Call textAreaContent when inside
3425 (HTMLReader.textAreaContent): Implemented to initialize
3426 the text area's model.
3427 * javax/swing/text/html/FormView.java
3428 (createComponent): Added support for textarea tag.
3430 2006-11-03 Roman Kennke <kennke@aicas.com>
3432 * javax/swing/text/html/HTMLDocument.java
3433 (HTMLReader.IsindexAction.start): Implemented.
3435 2006-11-03 Roman Kennke <kennke@aicas.com>
3437 * javax/swing/text/html/StyleSheet.java
3438 (addRule): Implemented.
3439 * javax/swing/text/html/HTMLDocument.java
3440 (HTMLReader.inStyleTag): New field.
3441 (HTMLReader.styles): New field.
3442 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3444 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3445 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3446 (HTMLReader.handleText): When inside a style tag, add
3447 content to the styles array.
3449 2006-11-02 Roman Kennke <kennke@aicas.com>
3451 * javax/swing/text/html/FormView.java
3452 (maxIsPreferred): New field.
3453 (createComponent): Initialize components correctly.
3454 (getMaximumSpan): Return the preferred span for components
3455 that need this. The maxIsPreferred flag is set accordingly
3457 * javax/swing/text/html/HTMLDocument.java
3458 (HTMLReader.FormAction.start): Implemented to set the
3459 correct model as attribute.
3460 (HTMLReader.FormAction.setModel): New helper method.
3461 (HTMLReader.FormAction.end): Call super to finish the element.
3462 Added TODO about things left to do.
3463 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3464 than htmlAttributeSet.
3465 * javax/swing/text/html/HTMLEditorKit.java
3466 (HTMLFactory.create): Create BlockView for FORM tags.
3467 Create FormView for INPUT, TEXTAREA and SELECT tags.
3469 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3471 * java/awt/geom/GeneralPath.java: API doc fixes.
3473 2006-11-02 Roman Kennke <kennke@aicas.com>
3475 * javax/swing/text/html/ImageView.java
3476 (getImageURL): Fetch attribute from element. Consider the
3477 base URL for relative image locations.
3479 2006-11-02 Roman Kennke <kennke@aicas.com>
3481 * javax/swing/JEditorPane.java
3482 (setContentType): Strip off attributes.
3483 * javax/swing/text/html/HTMLEditorKit.java
3484 (LinkController.activateLink(int,JEditorPane,int,int): New
3485 method. Implements activation of a hyperlink.
3486 (LinkController.activateLinke(int,JEditorPane)): Delegate
3487 to the other activateLink() method.
3488 (LinkController.createHyperlinkEvent): New helper method.
3489 (LinkController.mouseClicked): Implemented to activate the link.
3490 (LinkController.mouseDragged): Added comment that this
3491 method does nothing.
3492 (LinkController.mouseMoved): Update cursor for hyperlinks.
3493 (mouseHandler): Renamed field to linkController.
3494 (HTMLEditorKit): Create a link controller.
3495 (clone): Give the clone a new link controller.
3496 (deinstall): De-install link controller as mouseMotionListener too.
3497 (install): Install link controller as mouseMotionListener too.
3499 2006-11-02 Roman Kennke <kennke@aicas.com>
3502 * javax/swing/text/FlowView.java
3503 (FlowStrategy.changedUpdate): Reversed condition. This caused
3504 wrong layout and bad performance.
3505 (FlowStrategy.insertUpdate): Reversed condition. This caused
3506 wrong layout and bad performance.
3507 (FlowStrategy.removeUpdate): Reversed condition. This caused
3508 wrong layout and bad performance.
3509 (LogicalView): Changed to be a subclass of CompositeView.
3510 (LogicalView()): Only take one Element argument.
3511 (LogicalView.childAllocation): New method for implementing
3512 the abstract CompositeView method.
3513 (LogicalView.forwardUpdateToView): Overridden for correct
3515 (getMinimumSpan): Overridden to handle line breaking correctly.
3516 (getPreferredSpan): Implemented to handle line breaking correctly.
3517 (getViewAtPoint): New method for implementing
3518 the abstract CompositeView method.
3519 (getViewIndexAtPosition): Overridden to handle leaf elements
3521 (isAfter): New method for implementing
3522 the abstract CompositeView method.
3523 (isBefore): New method for implementing
3524 the abstract CompositeView method.
3525 (loadChildren): Overridden to handle leaf elements
3527 (paint): New method for implementing
3528 the abstract CompositeView method.
3529 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3530 (loadChildren): Initialize flow layout by sending a synthetic
3531 insertUpdate() to the layout strategy.
3532 * javax/swing/text/GlyphView.java
3533 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3534 font metrics if component is not available. Add initial offset
3536 (breakView): Be more clever when breaking the view.
3537 (getBreakLocation): New helper method to determine a good
3539 (getBreakWeight): Be more clever when breaking the view.
3540 (getTabbedSpan): Make sure we have a painter. Use view's
3541 start and end offset rather than the element's.
3542 * javax/swing/text/Utilities.java
3543 (drawTabbedText): Avoid useless add and sub with the y offset.
3545 2006-11-02 Roman Kennke <kennke@aicas.com>
3548 * gnu/java/awt/peer/ClasspathFontPeer.java
3549 (getStringBounds): Removed abstract method. This is replaced
3550 in java.awt.Font to use a TextLayout.
3551 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3552 (GtkWindowPeer): Set a font on the window object.
3553 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3554 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3555 Changed to take char,int,int instead of String. Filter
3557 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3558 Create char array out of string.
3559 (getLogicalBounds): Don't translate bounds. They already are
3561 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3562 (stringWidth): Filter out control characters.
3563 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3564 (getStringBounds): Removed unneeded method.
3565 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3567 * gnu/java/awt/peer/qt/QtFontPeer.java
3568 (getStringBounds): Removed unneeded method.
3569 * gnu/java/awt/peer/x/XFontPeer.java
3570 (getStringBounds): Removed unneeded method.
3571 * gnu/java/awt/peer/x/XFontPeer2.java
3572 (getStringBounds): Removed unneeded method.
3573 * java/awt/Font.java
3574 (getStringBounds(char[],int,int,FontRenderContext)):
3575 Use TextLayout to determine the bounds.
3576 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3577 Delegate to the char[] version of this method.
3578 (getStringBounds(String,FontRenderContext)):
3579 Delegate to the char[] version of this method.
3580 (getStringBounds(String,int,int,FontRenderContext)):
3581 Delegate to the String version of this method.
3583 2006-11-01 Tania Bento <tbento@redhat.com>
3585 * java/awt/ScrollPaneAdjustable.java
3586 (paramString): Changed format of string representation returned.
3587 (paramStringHelper): New private method.
3589 2006-11-01 Tania Bento <tbento@redhat.com>
3591 * java/awt/GridBagLayout.java
3592 (toString): Implemented method.
3594 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3596 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3597 initialization to NP_Initialize.
3598 (NP_Initialize): Initialize GLib threading.
3600 2006-10-31 Tania Bento <tbento@redhat.com>
3602 * javax/swing/JTextField.java
3603 (fireActionPerformed): When creating the new event, if
3604 actionCommand == null, then getText() is used.
3606 2006-10-31 Francis Kung <fkung@redhat.com>
3608 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3609 (fillArc): Corrected arc type to Arc2D.PIE.
3611 2006-10-31 Roman Kennke <kennke@aicas.com>
3613 * javax/swing/text/html/HTMLDocument.java
3614 (HTMLReader.PreAction.end): Implemented.
3615 (HTMLReader.PreAction.start): Implemented.
3616 (HTMLReader.inPreTag): New field.
3617 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3618 (HTMLReader.preContent): Implemented.
3620 2006-10-31 Tania Bento <tbento@redhat.com>
3622 * javax/swing/JTextField.java
3623 (fireActionPerformed): When creating the new event,
3624 actionCommand should be used as the command, not
3627 2006-10-31 Roman Kennke <kennke@aicas.com>
3629 * javax/swing/text/html/HTMLEditorKit.java
3630 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3631 HTML or Styled documents.
3633 2006-10-31 David Fu <fchoong@netbeans.jp>
3635 * javax/swing/text/html/HTMLWriter.java: New class.
3637 2006-10-30 Roman Kennke <kennke@aicas.com>
3639 * java/awt/dnd/DragSourceContext.java
3640 (dragExit): Use constant fields instead of 0.
3641 (updateCurrentCursor): Completed implementation.
3643 2006-10-30 Roman Kennke <kennke@aicas.com>
3645 * java/awt/dnd/DragGestureRecognizer.java
3646 (resetRecognizer): Added API docs. Do not replace the events object
3647 but rather clear() it. Removed not implemented tag.
3649 2006-10-30 Roman Kennke <kennke@aicas.com>
3651 * java/awt/datatransfer/DataFlavor.java
3652 (writeExternal): Remove not implemented tag.
3654 2006-10-30 Roman Kennke <kennke@aicas.com>
3656 * java/awt/datatransfer/DataFlavor.java
3657 (javaFileListFlavor): Don't explicitly specify class.
3658 (plainTextFlavor): Don't explicitly specify class.
3659 (mimeType): Changed to type MimeType. Remove final.
3660 (representationClass): Remove final.
3661 (DataFlavor): Don't do anything here.
3662 (DataFlavor(Class,String,String)): Removed.
3663 (DataFlavor(Class,String)): Initialize here.
3664 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3665 (DataFlavor(String,String)): Initialize in init().
3666 (DataFlavor(String)): Initialize in init().
3667 (init): New initialization method.
3668 (getMimeType): Delegate to MimeType.toString().
3669 (getParameter(String,String)): Removed. Is now done in MimeType.
3670 (getParameter(String)): Delegate to MimeType.
3671 (getPrimaryType): Delegate to MimeType.
3672 (getRepresentationClassFromMime): Removed.
3673 (getRepresentationClassFromMimeThrows): Removed.
3674 (getSubType): Delegate to MimeType.
3675 (hashCode): Take MimeType.toString() for the hashCode.
3676 (isFlavorRemoveObjectType): Return true only when representation
3677 class is remove and serializable and the mime type is remote.
3678 (isFlavorSerializedObjectType): Return true only when representation
3679 class is serializable and the mime type is serialized.
3680 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3681 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3682 (readExternal): Implemented stub method.
3683 (writeExternal): Implemented stub method.
3684 * java/awt/datatransfer/MimeType.java: New helper class.
3686 2006-10-28 Roman Kennke <kennke@aicas.com>
3688 * javax/swing/TransferHandler.java
3689 (importData): Implemented stub method. Added API docs.
3691 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3693 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3695 * native/jni/classpath/classpath_jawt.h: Likewise.
3696 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3697 initializer for surface_info_x11->depth.
3699 2006-10-26 Tania Bento <tbento@redhat.com>
3701 * java/awt/FileDialog.java:
3702 (setFile): Changed if-clause condition.
3704 2006-10-25 Francis Kung <fkung@redhat.com>
3706 * include/gnu_java_nio_VMChannel.h,
3707 * include/java_net_VMNetworkInterface.h,
3708 * include/gnu_java_nio_EpollSelectorImpl.h,
3709 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3710 * include/gnu_java_nio_FileChannelImpl.h,
3711 * include/gnu_java_nio_KqueueSelectorImpl.h,
3712 * include/gnu_java_nio_VMPipe.h,
3713 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3715 2006-10-25 Tania Bento <tbento@redhat.com>
3717 * java/awt/Dialog.java: Created new private variable
3719 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3720 Set cursor to default cursor.
3721 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3723 (generateName): New method.
3724 (getUniqueLong): New private method.
3725 * java/awt/FileDialog.java: Created new private variable
3726 next_file_dialog_number.
3727 (setFile): If file == "", set it to null.
3728 (generateName): New method.
3729 (getUniqueLong): New private method.
3731 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3733 * java/net/MulticastSocket.java:
3734 (setNetworkInterface): Rewritten.
3736 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3738 * native/jni/java-net/javanet.h: Added declaration for
3739 _javanet_create_inetaddress.
3740 * native/jni/java-net/javanet.c:
3741 (_javanet_create_inetaddress): Removed static keyword.
3743 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3745 * gnu/java/net/PlainDatagramSocketImpl.java:
3746 (connect): Use VMChannel instance for connect call.
3747 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3748 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3749 (setOption): Handle multicast options.
3750 (getOption): Handle multicast options.
3751 * gnu/java/net/PlainSocketImpl.java:
3752 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3753 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3754 (setOption): Filter unappropriate options.
3755 (getOption): Filter unappropriate options.
3756 (connect): Use given SocketAddress.
3757 (close): Reset address and port.
3759 * include/Makefile.am: Removed all occurences of
3760 gnu_java_net_VMPlainDatagramSocketImpl.h.
3761 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3762 * native/jni/java-net/Makefile.am: Removed
3763 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3764 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3766 as SocketException, declare to throw SocketException.
3767 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3768 for SocketException and ConnectException.
3769 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3771 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3773 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3774 (JCL_thread_interrupted): New function.
3775 (initIDs): Added initialisation for isThreadInterrupted method id.
3776 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3777 CPNET_IP_TTL to java_sockopt enum.
3778 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3779 case, handle SO_LINGER case properly.
3780 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3781 case, handle SO_LINGER case properly.
3782 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3784 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3786 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3788 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3790 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3791 * vm/reference/gnu/java/nio/VMChannel.java:
3792 (connect(int, byte[], int, int)): Declare to throw SocketException.
3793 (connect6): Declare to throw SocketException.
3794 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3795 (isThreadInterrupted): New method.
3796 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3798 (setTimeToLive): New method.
3799 (getTimeToLive): New method.
3800 (setMulticastInterface(int, InetAddress)): New method.
3801 (setMulticastInterface(int, int, Inet4Address): New method.
3802 (setMulticastInterface6(int, int, Inet6Address): New method.
3803 (setOptions): Handle SO_LINGER case.
3804 (getOptions): Add missing SO_REUSEADDR case.
3805 * java/net/Socket.java:
3806 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3807 when exception was thrown out of connect().
3808 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3809 Boolean.FALSE with Integer.valueOf(-1).
3810 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3811 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3812 * NEWS: Documented VM interface changes.
3814 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3816 * java/net/Inet6Address.java:
3817 (isMulticastAddress): Fixed check.
3819 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3822 * java/net/MulticastSocket.java:
3823 (getNetworkInterface): Return a special NetworkInterface instance
3824 if the socket's multicast interface is set to any.
3826 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3829 * java/net/NetworkInterface.java:
3830 (createAnyInterface): New method.
3831 (equals): Added if-statement to handle case where netif.name is null.
3832 * vm/reference/java/net/VMNetworkInterface.java:
3833 (hashCode): Rewritten.
3834 (VMNetworkInterface): New constructor.
3836 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3838 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3839 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3840 Add ASM_JAR to bootclasspath.
3842 2006-10-24 Tania Bento <tbento@redhat.com>
3844 * java/awt/Scrollbar.java:
3845 (setLineIncrement): Removed unnecessary if-clause and if
3846 lineIncrement == 0, then it should be set to 1, not 0.
3847 (setPageIncrement): Removed unnecessary if-clause and if
3848 pageIncrement == 0, then it should be set to 1, not 0.
3849 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3850 If maximum <= minimum, maximum should be set to mininum + 1. The
3851 actual value of maximum is maximum - visibleAmount, so I made
3852 this change to the appropriate if-check. Remove the two unneccessary
3855 2006-10-23 Francis Kung <fkung@redhat.com>
3857 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3858 (cairoSetFont): New method.
3859 (copy): Set font using setFont method.
3860 (setFont): Call cairoSetFont.
3861 (setup): Set font using setFont method.
3862 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3863 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3864 (install_font_peer): Removed.
3865 (cairoDrawGlyphVector): Removed call to install_font_peer.
3866 (cairoSetFont): New method.
3868 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3870 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3871 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3872 NativeEventLoopRunningEvent after GTK main loop start and stop.
3873 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3874 (getNextEvent): Set dispatchThread to null.
3875 (postEventImpl): Set nativeLoopRunning.
3876 (pop): Interrupt event dispatch thread.
3877 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3879 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3881 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3883 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3886 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3888 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3889 * javax/crypto/CipherOutputStream.java: Re-implemented.
3890 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3891 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3892 decryption mode and check if it is a complete block.
3893 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3894 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3895 partially processed data into account.
3897 2006-10-21 Tom Tromey <tromey@redhat.com>
3900 * java/util/AbstractCollection.java (toArray): Removed cast.
3902 2006-10-20 Tom Tromey <tromey@redhat.com>
3904 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3905 Don't use mangled class name for .h file.
3906 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3907 Don't use mangled class name for .c file.
3908 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3909 Handle classes from the default package.
3911 2006-10-20 Francis Kung <fkung@redhat.com>
3913 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3915 2006-10-19 Francis Kung <fkung@redhat.com>
3918 * java/awt/image/BufferedImage.java
3919 (constructor): Updated some properties of default image types.
3920 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3921 (argb32): Updated field to match default in BufferedImage.
3923 2006-10-18 Roman Kennke <kennke@aicas.com>
3926 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3927 (copyArea): Changed size comparison to return when size == 0
3929 * javax/swing/JViewport.java
3930 (paintBackingStore): Check width and height of blitted area
3931 and only do blit if its > 0.
3932 (paintBlit): Check width and height of blitted area
3933 and only do blit if its > 0.
3935 2006-10-18 Roman Kennke <kennke@aicas.com>
3938 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3939 (maximize): New native method.
3940 (unmaximize): New native method.
3941 (iconify): New native method.
3942 (deiconify): New native method.
3943 (getState): Implemented.
3944 (setState): Implemented.
3945 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3946 (oldState): Rename to windowState and made protected, so that
3947 the FramePeer can access it.
3948 (postWindowEvent): Handle state change events more gently and
3950 * java/awt/Frame.java
3951 (getState): Fetch state from getExtendedState().
3952 (setExtendedState): Update the peer. Check if the state change
3953 is actually supported.
3954 (getExtendedState): Update the state from the peer.
3955 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3956 (maximize): New method.
3957 (unmaximize): New method.
3958 (iconify): New method.
3959 (deiconify): New method.
3960 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3961 (AWT_FRAME_NORMAL): New macro.
3962 (AWT_FRAME_ICONIFIED): New macro.
3963 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3964 (window_window_state_cb): Rewritten to handle window state changes
3965 more gently (mostly on the java side of the world).
3966 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3968 2006-10-18 Tania Bento <tbento@redhat.com>
3970 * java/awt/CardLayout.java:
3971 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3972 its height and width if Container passed as argument is null.
3973 (gotoComponent): Consider the case where the component is not visible.
3975 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3977 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3979 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3981 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3983 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3985 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3987 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3988 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3989 Retrieve user-visible strings through Messages.getString.
3990 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3991 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3993 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3995 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3997 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3999 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4001 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4004 2006-10-18 Roman Kennke <kennke@aicas.com>
4006 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4007 (AWT_WINDOW_OPENED): Remove unnecessary macro.
4008 (window_show_cb): Removed unnecessary function.
4009 (connect_signals): Don't connect signal for show. *
4010 gnu/java/awt/peer/gtk/GtkWindowPeer.java
4011 (hasBeenShown): Removed. This is handled in java.awt.Window.
4012 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4013 in java.awt.Window. * java/awt/Window.java
4014 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4016 2006-10-18 Francis Kung <fkung@redhat.com>
4018 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4019 (drawRenderedImage): New method.
4020 (drawImage): New method.
4021 (CairoSurfaceGraphics): Set clip.
4022 (createBuffer): New method.
4023 (getBufferCM): New method.
4024 (drawComposite): New method.
4026 (getNativeCM): New method.
4027 (drawGlyphVector): New method.
4029 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4030 (getNativeCM): Reflect renamed field.
4031 * gnu/java/awt/peer/gtk/CairoSurface.java
4032 (cairoCM_pre): Renamed from cairoColorModel.
4033 (cairoColorModel): Set premultiplication to false.
4035 2006-10-18 Roman Kennke <kennke@aicas.com>
4038 * javax/swing/JScrollPane.java
4039 (viewportBorder): Made field private.
4040 (wheelScrollingEnabled): Made field private.
4041 (JScrollPane): Enabled wheel scrolling by default.
4042 * javax/swing/JTree.java
4043 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4045 (getScrollableUnitIncrement): Fixed thinko.
4046 * javax/swing/plaf/basic/BasicScrollBarUI.java
4047 (static scrollByBlock): New static method to avoid code duplication
4048 for the BasicScrollPane wheel scrolling.
4049 (static scrollByUnits): New static method to avoid code duplication
4050 for the BasicScrollPane wheel scrolling.
4051 (scrollByBlock): Delegate to static helper method.
4052 (scrollByUnit): Delegate to static helper method.
4053 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4054 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4055 static helper methods to avoid code duplication.
4056 (MouseWheelHandler.bounds): Removed.
4057 (MouseWheelHandler.getValue): Removed.
4058 (MouseWheelHandler.scroll): Removed.
4060 2006-10-18 Roman Kennke <kennke@aicas.com>
4063 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4064 (updateComponent): Don't override this here.
4065 * java/awt/Window.java
4066 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4067 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4069 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4072 2006-10-18 Roman Kennke <kennke@aicas.com>
4074 * javax/swing/JEditorPane.java
4075 (getStream): Try to detect and set the content type of the
4078 2006-10-18 Roman Kennke <kennke@aicas.com>
4080 * javax/swing/RepaintManager.java
4081 (RepaintWorkerEvent): Pass full set of params to super.
4082 (RepaintWorker.dispatch): Overridden to allow apps to call this
4084 (addDirtyRegion): Synchronize a little more to protect the
4085 dirtyComponents field and avoid NPEs.
4086 (invokeLater): Pass full set of params to RepaintWorkerEvent
4089 2006-10-18 Roman Kennke <kennke@aicas.com>
4091 * javax/swing/JEditorPane.java
4092 (page): Removed field. The page is now stored in the correct
4094 (getPage): Fetch page URL from document property.
4095 (read): Set the document for this JEditorPane. Use a Reader
4096 for reading in the document.
4097 (setPage): Call getStream() to get the stream from which we read.
4098 Fire property change. Store page in document property.
4100 2006-10-18 Roman Kennke <kennke@aicas.com>
4102 * java/awt/datatransfer/DataFlavor.java
4103 (DataFlavor(String)): Removed check for space in mime string.
4105 2006-10-18 Roman Kennke <kennke@aicas.com>
4107 * java/awt/Container.java
4108 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4109 begin|endValidate().
4110 (validate): Call ContainerPeer.begin|endValidate() here.
4111 Added some local vars to avoid NPEs.
4113 2006-10-18 Roman Kennke <kennke@aicas.com>
4115 * native/target/.cvsignore
4116 * native/target/Linux/.cvsignore
4117 * native/target/generic/.cvsignore:
4118 Added to let CVS ignore the generated Makefile and Makefile.in
4121 2006-10-18 Roman Kennke <kennke@aicas.com>
4124 * java/awt/Window.java
4125 (eventTypeEnabled): Overridden to handle WindowEvents.
4126 (processEvent): Switch between processWindowEvent(),
4127 processWindowFocusEvent() and processWindowStateEvent() here,
4128 rather than simply calling processWindowEvent().
4129 (processWindowEvent): Only dispatch event to listener, do not
4130 switch to processWindowFocusEvent() or processWindowStateEvent()
4132 * javax/swing/JFrame.java
4133 (frameInit): Explicitly enable window and key events here.
4134 (processWindowEvent): Throw out some unnecessary code.
4135 * javax/swing/JWindow.java
4136 (windowInit): Explicitly enable key events here.
4137 * javax/swing/JDialog.java
4138 (close_action): Renamed to closeAction.
4139 (dialogInit): Explicitly enable window events here.
4140 (getDefaultCloseOperation): Renamed close_action to closeAction.
4141 (processWindowEvent): Throw out some unnecessary code.
4142 Renamed close_action to closeAction.
4143 (setDefaultCloseOperation): Renamed close_action to closeAction.
4145 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4147 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4148 to track native GTK event loop status.
4149 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4150 clear running flag when native GTK event loop starts and stops.
4152 2006-10-17 Roman Kennke <kennke@aicas.com>
4154 * javax/swing/TransferHandler.java
4155 (exportToClipboard): Implemented.
4157 2006-10-17 Francis Kung <fkung@redhat.com>
4159 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4160 region to account for pixel-shifting.
4161 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4164 2006-10-17 Francis Kung <fkung@redhat.com>
4167 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4168 (getLogicalBounds): Translate individual glyphs before appending bounds.
4169 (getOutline): Translate individual glyphs before appending outline.
4171 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4174 * java/awt/font/TextLayout.java
4176 (constructor): Store bidi in field.
4177 (getCharacterLevel): Implemented.
4179 2006-10-17 Roman Kennke <kennke@aicas.com>
4181 * javax/swing/TransferHandler.java
4182 (PropertyTransferable): New inner class. Handles transfers
4183 from component properties.
4184 (createTransferable): Implemented.
4186 2006-10-17 Francis Kung <fkung@redhat.com>
4188 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4189 (drawComposite): Ensure composite does not extend beyond buffer
4191 * java/awt/image/Raster.java
4192 (createChild): Ensure child does not extend beyond parent's
4194 * java/awt/image/WritableRaster.java
4195 (createWritableChild): Ensure child does not extend beyond
4198 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4200 * native/jni/classpath/jcl.c
4201 (JNI_OnLoad): Corrected calling convention.
4203 2006-10-16 Roman Kennke <kennke@aicas.com>
4205 * javax/swing/TransferHandler.java
4206 (propertyName): New field.
4207 (TransferHandler(String)): Store property name in field.
4208 (canImport): Implemented stub method.
4209 (exportDone): This is a no-op. Removed not-implemented mark.
4210 (getPropertyDataFlavor): New helper method.
4211 (getPropertyDescriptor): New helper method.
4213 2006-10-16 Roman Kennke <kennke@aicas.com>
4215 * javax/swing/AbstractButton.java
4216 (AccessibleJButton.getAfterIndex): Implemented.
4217 (AccessibleJButton.getAtIndex): Implemented.
4218 (AccessibleJButton.getBeforeIndex): Implemented.
4219 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4220 method implementation.
4222 2006-10-16 Roman Kennke <kennke@aicas.com>
4224 * javax/swing/JLabel.java
4225 (AccessibleJLabel.getIndexAtPoint): Implemented.
4226 (AccessibleJLabel.getCharacterBounds): Implemented.
4227 (AccessibleJLabel.getTextRectangle): New helper method.
4229 2006-10-16 Roman Kennke <kennke@aicas.com>
4231 * javax/swing/filechooser/FileSystemView.java
4232 (getFileSystemView): Mark as implemented.
4234 2006-10-14 Roman Kennke <kennke@aicas.com>
4237 * javax/swing/JComponent.java
4238 (toolTipText): Removed field.
4239 (createToolTip): Don't set tooltip text here. This is done
4240 in the ToolTipManager.
4241 (setToolTipText): Set tooltip text as client property.
4242 (getToolTipText): Get tooltip text from client property.
4243 * javax/swing/ToolTipManager.java
4244 (currentComponent): Made field non-static and of type JComponent.
4245 (currentPoint): Made field non-static.
4246 (currentTip): Made field non-static.
4247 (popup): Made field non-static.
4248 (toolTipText): New field. Stores the current tooltip text.
4249 (checkTipUpdate): New helper method. Checks for updates of
4250 the tooltip text and triggers the appropriate actions.
4251 (getContentPaneDeepestComponent): Removed unneeded casts.
4252 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4253 text from component.
4254 (mouseMoved): Check for tooltip text updates.
4255 (showTip): Set tooltip text from current setting.
4257 2006-10-14 Roman Kennke <kennke@aicas.com>
4260 * javax/swing/JSlider.java
4261 (setPaintLabels): Call setLabelTable() instead of setting
4262 the field directly. This also updates the label's size.
4264 2006-10-13 Tom Tromey <tromey@redhat.com>
4266 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4269 2006-10-13 Tania Bento <tbento@redhat.com>
4271 * java/awt/ScrollPane.java
4272 (setLayout): Should throw AWTError whenever called.
4274 2006-10-13 Roman Kennke <kennke@aicas.com>
4277 * java/awt/Component.java
4278 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4279 update the AWT's knowledge about a component's size.
4280 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4281 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4282 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4283 to update the AWT's knowledge about the component bounds.
4285 2006-10-13 Tania Bento <tbento@redhat.com>
4287 * java/awt/ScrollPaneAdjustable.java
4288 (setMaximum): Should throw AWTError whenever called.
4290 (setVisibleAmount): Same.
4292 2006-10-13 Tania Bento <tbento@redhat.com>
4294 * java/awt/ScrollPane.java
4295 (addImpl): When calling super, index should be value passed,
4297 (getIsValidString): New helper method for paramString().
4298 (getScrollbarDisplayString): New helper method for paramString().
4299 (paramString): Changed format of outputted string.
4301 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4303 * javax/swing/tree/DefaultTreeSelectionModel.java
4304 (clone): Added cast to TreePath[].
4306 2006-10-13 Roman Kennke <kennke@aicas.com>
4309 * javax/swing/JMenuItem.java
4310 (isDragging): New field. Indicates if we are inside a mouse
4312 (createMenuDragMouseEvent): Removed unneeded method.
4313 (processMenuDragMouseEvent): Track if we are dragging.
4314 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4315 * javax/swing/plaf/basic/BasicMenuItemUI.java
4316 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4317 MenuSelectionManager from event.
4318 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4319 MenuSelectionManager from event.
4320 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4321 MenuSelectionManager from event.
4322 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4323 release inside menu item, otherwise clear selection.
4324 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4325 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4326 (doClick): Perform an immediate click.
4328 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4330 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4331 return if object is not in the list.
4333 2006-10-12 Andrew Haley <aph@redhat.com>
4335 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4336 * java/lang/ThreadLocal.java: Likewise.
4338 2006-10-12 Roman Kennke <kennke@aicas.com>
4341 * javax/swing/JSlider.java
4342 (LabelUIResource): New inner class. A JLabel as UIResource.
4343 (createStandardLabels): Don't set label bounds here.
4344 Create LabelUIResource instances.
4345 (setInverted): Repaint.
4346 (setLabelTable): Update the label UIs. Revalidate and repaint.
4347 (setMajorTickSpacing): Update the label table. Repaint if
4349 (setMinorTickSpacing): Repaint if necessary.
4350 (setOrientation): Revalidate.
4351 (setPaintLabels): Revalidate and repaint.
4352 (setPaintTicks): Revalidate and repaint.
4353 (setPaintTrack): Repaint.
4354 (updateLabelUIs): Set the label sizes here.
4355 (updateUI): Also update the label UIs.
4356 * javax/swing/plaf/basic/BasicSliderUI.java
4357 (ComponentHandler.componentResized): Don't revalidate.
4358 (FocusHandler.focusGained): Don't set field.
4359 (FocusHandler.focusLost): Don't set field.
4360 (PropertyChangeHandler.propertyChange): Calculate geometry
4361 and repaint for a couple more properties.
4362 (TrackListener.mouseReleased): Repaint.
4363 (hasFocus): Removed unneeded field.
4364 (calculateContentRect): No need to check for content size < 0.
4365 (calculateFocusRect): Use insets from insetCache.
4366 (calculateLabelRect): Fixed calculation of label rectangle.
4367 It is relative to the tick rectangle, rather than the content
4369 (calculateTickRect): Small restructuring to avoid unnecessary
4371 (calculateTrackRect): Fixed calculation of track rectangle.
4372 (getMaximumSize): Fixed. Fetch preferred size and set
4373 the height of width to Short.MAX_VALUE.
4374 (getMinimumHorizontalSize): Fixed to return UIManager value.
4375 (getMinimumVerticalSize): Fixed to return UIManager value.
4376 (getPreferredHorizontalSize): Fixed to return UIManager value.
4377 (getPreferredVerticalSize): Fixed to return UIManager value.
4378 (getMinimumSize): Fixed to return the UIManager value plus
4380 (getPreferredSize): Fixed to return the UIManager value plus
4382 (getWidthOfWidestLabel): Restructured for more cleanness and
4384 (hitClip): New helper method.
4385 (paintHorizontalLabel): Replaced by more efficient and clean
4387 (paintVerticalLabel): Replaced by more efficient and clean
4389 (paintLabels): Replaced by more efficient and clean
4391 (paint): Check if rectangles intersect with clip for maximum
4393 (recalculateIfInsetsChanged): Fixed. This method should
4394 recalculate only when the insets changed.
4395 (setThumbLocation): Repaint with a reasonable clip.
4396 (xPositionForValue): Made more clean and efficient.
4397 (yPositionForValue): Made more clean and efficient.
4398 * javax/swing/plaf/basic/BasicLookAndFeel.java
4399 (initComponenDefaults): Added Slider.horizontalSize,
4400 Slider.verticalSize, Slider.minimumHorizontalSize and
4401 Slider.minimumVerticalSize properties.
4402 * javax/swing/plaf/metal/MetalSliderUI.java
4403 (getTickLength): Add 1 for horizontal sliders and 3 for
4405 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4406 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4407 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4408 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4410 2006-10-12 Roman Kennke <kennke@aicas.com>
4413 * javax/swing/text/FlowView.java
4414 (FlowStrategy.layout): Preserve logical views from getting lost.
4415 (FlowStrategy.layoutRow): Fix line breaking.
4416 (FlowStrategy.adjustRow): Fix line breaking.
4417 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4418 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4419 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4420 (createView): Don't check index.
4421 (contains): New helper method.
4422 (reparent): New helper method.
4423 (layoutDirty): Removed unneeded field.
4424 (FlowView): Removed layoutDirty field init.
4425 (changedUpdate): Removed layoutDirty handling.
4426 (insertUpdate): Removed layoutDirty handling.
4427 (removeUpdate): Removed layoutDirty handling.
4428 (layout): Use isLayoutValid() rather than the layoutDirty field.
4429 * javax/swing/text/GlyphView.java
4430 (startOffset): Removed.
4431 (endOffset): Removed.
4432 (offset): New field.
4433 (length): New field.
4434 (GlyphView): Initialize new fields. Removed old fields.
4435 (createFragment): Create fragment with new relative offsets.
4436 (getEndOffset): Work with new relative offsets.
4437 (getStartOffset): Work with new relative offsets.
4438 * javax/swing/text/ParagraphView.java
4439 (Row.getStartOffset): Overidden to determine the minimum start
4440 offset from the children.
4441 (Row.getEndOffset): Overidden to determine the maximum end
4442 offset from the children.
4443 * javax/swing/text/html/BRView.java
4444 Make subclass of InlineView.
4445 (getBreakWeight): Fall back to super for Y_AXIS.
4447 2006-10-12 Roman Kennke <kennke@aicas.com>
4450 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4451 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4452 one that avoids faulty state that could cause division by zero
4455 2006-10-12 Roman Kennke <kennke@aicas.com>
4458 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4459 (paint): Determine correct icon. Added support for HTML label.
4460 Added small optimizations.
4461 (getPreferredSize): Only consider the buttons iconTextGap, and
4462 only when the text is not null.
4463 * javax/swing/plaf/basic/BasicLookAndFeel.java
4464 (initComponentDefaults): Fetch border for RadioButton from
4465 BasicButtons.getRadioButtonBorder().
4466 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4467 (paintFocus): Paint focus rectangle one pixel smaller.
4469 2006-10-12 Roman Kennke <kennke@aicas.com>
4472 * javax/swing/tree/AbstractLayoutCache.java
4473 (getNodeDimensions): Don't throw InternalError, but instead
4475 (getRowsForPaths): Check for null here.
4476 (isFixedRowHeight): Returns true when rowHeight > 0.
4477 (setSelectionModel): Set this as the row mapper for the selection
4479 * javax/swing/tree/VariableHeightLayoutCache.java
4480 (NodeRecord.NodeRecord): Initialize bounds field.
4481 (getBounds): Simply return the bounds field.
4482 (row2Node): Changed to be an ArrayList.
4483 (RECT_CACHE): New field. Caches a Rectangle instance.
4484 (countRows): Added y parameter and return value. The method
4485 now takes the current y position as parameter, and returns
4486 the updated y position.
4487 (getBounds): Fixed to return the correct bounds.
4488 (getPathForRow): Replaced by fixed implementation.
4489 (getPreferredHeight): Replaced by more efficient implementation.
4490 This simply fetches the last node record and returns its lower
4492 (getPreferredWidth): Added null check.
4493 (getVisibleChildCount): Added null check.
4494 (getVisiblePathsFrom): Added null check.
4495 (setExpandedState): Also expand the ancestors of the node
4497 (setModel): Set dirty flag rather than updating for real.
4498 (setNodeDimensions): Overridden to set the dirty flag.
4499 (setRowHeight): Overridden to set the dirty flag.
4500 (update): Don't special case the root here, this is done now
4503 2006-10-12 Roman Kennke <kennke@aicas.com>
4505 * javax/swing/JComponent.java
4506 (paintImmediately2): Added support for components which need
4507 to force themselves as paint root.
4508 (isPaintRoot): New method. This should be overridden by components
4509 which need to force themselves as paint root.
4510 * javax/swing/JViewport.java
4511 (isPaintRoot): Overridden to force the viewport as paint root
4512 when running in backingstore mode.
4514 2006-10-12 Roman Kennke <kennke@aicas.com>
4516 * javax/swing/tree/DefaultTreeSelectionModel.java
4517 (PathPlaceHolder): New inner class. Wraps a path and its status
4519 (selectedPaths): New field. A supporting datastructure.
4520 (tmpPaths): New field. A supporting datastructure.
4521 (DefaultTreeSelectionModel): Initialize the list selection model,
4522 the leadIndex and the supporting datastructures.
4523 (addPropertyChangeListener): Create changeSupport object lazily.
4524 (addSelectionPaths): Mostly rewritten to handle the different
4525 selection modes correctly.
4526 (addSelectionPath): Delegate to addSelectionPaths().
4527 (arePathsContiguous): Replaced with more efficient implementation
4529 (canPathBeAdded): Removed unneeded method.
4530 (canPathsBeAdded): Replaced with more efficient implementation.
4531 (clearSelection): Create correct event. Clear the fields correctly,
4532 including the supporting datastructures.
4533 (clone): Also clone the supporting datastructures and nullify
4534 changeSupport field.
4535 (getMaxSelectionRow): Delegate to list selection model.
4536 (getMinSelectionRow): Delegate to list selection model.
4537 (getPath): Removed unneeded method.
4538 (getPropertyChangeListeners): Handle null changeSupport field
4540 (getRow): Handle null rowMapper field correctly.
4541 (getSelectionRows): Handle invisible rows correctly.
4542 (insureRowContinuity): Replaced by more efficient and correct
4544 (isRowSelected): Delegate to list selection model.
4545 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4547 (removePropertyChangeListener): Handle null changeSupport field.
4548 (removeSelectionPaths): Mostly rewritten to handle the different
4549 selection modes correctly.
4550 (removeSelectionPath): Delegate to removeSelectionPaths().
4551 (resetRowSelection): Handle list selection model.
4552 (selectOne): Removed unneeded field.
4553 (setRowMapper): Reset the row selection.
4554 (setSelectionMode): Check for invalid mode and set to
4555 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4556 (setSelectionPaths): Mostly rewritten to handle the different
4557 selection modes correctly.
4558 (setSelectionPath): Delegate to setSelectionPaths().
4559 (updateLeadIndex): Made more efficient.
4561 2006-10-11 Francis Kung <fkung@redhat.com>
4563 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4564 (buffer, locked): New fields.
4565 (constructors): Initialize new variables.
4566 (createBuffer): New method.
4567 (draw): Implement custom composites.
4568 (drawComposite): New method.
4569 (drawGlyphVector): Implement custom composites.
4570 (drawImage): Implement custom composites.
4571 (drawRenderedImage): Implement custom composites.
4572 (fill): Implement custom composites.
4573 (getBufferCM): New method.
4574 (getNativeCM): New method.
4575 (updateBufferedImage): Fix premultiplication.
4576 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4577 (copy): Copy composite.
4578 (drawImage): Set background properly.
4579 (getBufferCM): New method.
4580 (setComposite): Reset alpha composite when using custom composite.
4581 * gnu/java/awt/peer/gtk/CairoSurface.java
4582 (cairoColorModel): New field.
4583 (nativeColorModel): Renamed.
4584 (constructor): Use renamed createCairoSampleModel method.
4585 (createCairoSampleModel): New method.
4586 (createNativeSampleModel): Renamed.
4587 (getBufferedImage): Use renamed cairoColorModel field.
4588 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4589 (gdkColorModel): New field.
4590 (createGdkSampleModel): New method.
4591 (getPixels): Added comments.
4592 (getSnapshot): Use GDK colour and sample models.
4593 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4594 (createBuffer): Use GDK colour and sample models.
4595 (getNativeCM): Added comments.
4596 * java/awt/image/BufferedImage.java
4597 (constructor): Set premultiplied flag properly.
4599 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4601 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4602 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4604 2006-10-10 Francis Kung <fkung@redhat.com>
4607 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4608 (createPath): Added isDraw parameter.
4609 (draw): Updated createPath call.
4610 (fill): Updated createPath call.
4612 2006-10-10 Tom Tromey <tromey@redhat.com>
4615 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4616 there is a stylesheet.
4618 2006-10-10 Roman Kennke <kennke@aicas.com>
4620 * java/awt/Toolkit.java
4621 (getDefaultTookit): Make method synchronized to avoid
4622 accidentally creating more than one toolkits from different
4625 2006-10-10 Roman Kennke <kennke@aicas.com>
4627 * java/awt/LightweightDispatcher.java
4628 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4629 (redispatch): Transfer the button to the redispatched event.
4631 2006-10-10 Francis Kung <fkung@redhat.com>
4633 * java/awt/image/ColorModel.java (coerceData): Implemented.
4635 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4637 * vm/reference/java/lang/VMClassLoader.java:
4638 (defineClassWithTransformers): Use proper class name format.
4640 2006-10-09 Gary Benson <gbenson@redhat.com>
4642 * java/net/ServerSocket.java
4643 (implAccept): Add security check.
4644 (accept): Close socket if security check fails.
4645 (setSocketFactory): Add security check and already-set check.
4647 2006-10-09 Roman Kennke <kennke@aicas.com>
4650 * javax/swing/JSplitPane.java
4651 (dividerLocation): New field. Stores the divider location.
4652 (JSplitPane): Initialize dividerLocation with -1.
4653 (addImpl): Removed unneeded local variables.
4654 (getDividerLocation): Manage dividerLocation in the JSplitPane
4655 class, not in the UI.
4656 (setDividerLocation): Manage dividerLocation in the JSplitPane
4657 class, not in the UI. Only call the UI method for notification.
4658 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4659 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4660 location from the JSplitPane. Honour the minimumSize, but only
4661 if the divider location hasn't been set explicitly.
4662 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4664 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4666 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4667 the divider location.
4668 (dividerLocationSet): New field.
4669 (dividerLocation): Removed field.
4670 (createActionMap): Fetch and set divider location on the JSplitPane.
4671 (getDividerLocation): Return the actual real divider location.
4672 (getMaximumSize): Removed unneeded cast.
4673 (getPreferredSize): Removed unneeded cast.
4674 (getMinimumSize): Removed unneeded cast.
4675 (installUI): Initialize dividerLocationSet with false.
4676 (uninstallUI): Initialize dividerLocationSet with false.
4677 (setDividerLocation): Set dividerLocationSet to true.
4679 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4681 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4682 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4683 convert jstring into char *.
4684 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4685 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4686 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4687 (getif_address): Added const modifier to second argument.
4688 (getif_index): Dito.
4690 2006-10-09 Roman Kennke <kennke@aicas.com>
4692 * javax/swing/JTree.java
4693 (isSelected): Added API docs.
4695 2006-10-09 Roman Kennke <kennke@aicas.com>
4697 * javax/swing/JTree.java
4698 (isSelected): Delegate to the selection model directly.
4700 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4702 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4703 sizeof_struct_kevent to _sizeof_struct_kevent.
4705 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4707 * tools/gnu/classpath/tools/rmic/RMICException.java:
4708 javadoc corrections, reformatted.
4710 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4712 * gnu/java/lang/InstrumentationImpl.java:
4713 Made constructor package visible.
4715 2006-10-05 Gary Benson <gbenson@redhat.com>
4717 * java/net/Socket.java
4718 (Socket): Perform security check on address not hostname.
4720 2006-10-04 Roman Kennke <kennke@aicas.com>
4722 * javax/swing/tree/VariableHeightLayoutCache.java
4723 (getBounds): When rect is null, create a new Rectangle.
4725 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4727 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4728 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4729 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4730 (cpnio_select): Use CPNIO_EXPORT.
4731 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4732 inline instead of extern inline, as newer GCCs changed their
4735 2006-10-04 Gary Benson <gbenson@redhat.com>
4737 * java/net/InetAddress.java: Updated javadoc.
4738 (<clinit>, getByLiteral): Throw InternalError on failures.
4740 2006-10-03 Francis Kung <fkung@redhat.com>
4742 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4743 (compCtx): New field for composite context.
4744 (copy): Copy composite.
4745 (dispose): Dispose of composite context.
4746 (getNativeCM): New method.
4747 (setComposite): Discard old composite context and set up new context.
4748 (setRenderingHints): Update composite context.
4749 * gnu/java/awt/peer/gtk/CairoSurface.java
4750 (nativeColorModel): New field, renamed from nativeModel.
4751 (nativeModel): Renamed field to nativeColorModel.
4752 (CairoSurface(int, int)): Call new method to create sample model.
4753 (createNativeSampleModel): New method.
4754 (getBufferedImage): Updated variable name.
4755 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4756 (buffer): New field.
4757 (createBuffer): New method.
4759 (drawComposite): New method.
4760 (drawGlyphVector): New method.
4761 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4762 (drawImage(Image, int, int, ImageObserver)): Check composite.
4763 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4765 (getNativeCM): New method.
4766 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4767 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4768 intermediary pixbuf to grab on-screen pixels.
4770 2006-10-03 Tom Tromey <tromey@redhat.com>
4773 * java/util/IdentityHashMap.java (tombstone): Removed.
4774 (emptyslot): Removed.
4775 (nullslot): New field.
4776 (IdentityHashMap): Don't fill array.
4777 (clear): Fill with null.
4778 (hash): Now final. Use linear probing.
4779 (xform): New method.
4780 (unxform): Likewise.
4781 (removeAtIndex): Likewise.
4782 (clone, containsKey, containsValue, entrySet, get, hashCode,
4783 keySet, put, remove, values): Updated.
4784 (IdentityIterator, IdentityEntry): Likewise.
4785 (writeObject): Likewise.
4787 2006-10-03 Tom Tromey <tromey@redhat.com>
4789 * java/util/Locale.java (hashcode): Updated javadoc.
4790 (hashcodeCache): Removed.
4792 (hashCode): Updated.
4793 (writeObject): New method.
4794 (readObject): Updated.
4796 2006-10-02 Francis Kung <fkung@redhat.com>
4798 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4799 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4800 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4801 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4802 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4803 pre-multiply data before drawing.
4804 (fillRect): Draw using regular fill() method.
4805 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4806 * gnu/java/awt/peer/gtk/CairoSurface.java
4807 (nativeModel): Use correct value for alpha premultiplication (true).
4808 * java/awt/image/BufferedImage.java
4809 (coerceData): Update isPremultiplied field.
4811 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4813 * gnu/classpath/ListenerData.java:
4814 New class for holding listener data.
4815 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4816 ListenerData class moved to its own file.
4817 * javax/management/MBeanServerDelegate.java,
4818 * javax/management/MBeanServerDelegateMBean.java,
4819 * javax/management/MBeanServerNotification.java:
4822 2006-10-02 Tania Bento <tbento@redhat.com>
4824 * java/ast/Rectangle.java:
4825 (Rectangle(Rectangle)): Do not throw NPE.
4826 (Rectangle(Point, Dimension)): Same.
4827 (Rectangle(Point)): Same.
4828 (Rectangle(Dimension)): Same.
4830 2006-09-29 Casey Marshall <csm@gnu.org>
4833 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4834 `AbstractSelectionKey.'
4835 (cancel, isValid): removed.
4836 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4837 (events): new field.
4838 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4840 (<clinit>): initialize those constants.
4841 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4842 (doSelect): deregister cancelled keys; remove keys attached to
4843 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4844 `events' buffer; reallocate `events' buffer if needed.
4845 (register): reallocate `events' buffer if needed.
4846 (reallocateBuffer): new method.
4849 2006-09-29 Roman Kennke <kennke@aicas.com>
4852 * javax/swing/JViewport.java
4853 (cinit): Renamed system property to gnu.swing.scrollmode
4854 to avoid bloat. Default to BACKINGSTORE, this is much
4856 (repaint): Forward repaint() to parent as is specified.
4858 2006-09-29 Tania Bento <tbento@redhat.com>
4860 * javax/swing/plaf/basic/BasicTableUI.java
4861 (getPreferredSize): The number of iterations for the for-loop should be
4862 the number of columns in the table's column model, not the number of
4863 columns of the table.
4864 * javax/swing/JTable.java
4865 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4866 lines that are not needed.
4867 (initializeLocalVars): dragEnabled should be set to false, not true.
4868 (getCellRenderer): Added a check to prevent an
4869 ArrayIndexOutOfBoundsException.
4870 (doLayout): The number of iterations for the for-loops should be the
4871 number of columns in the table's column model, not the number of columns
4874 2006-09-29 Roman Kennke <kennke@aicas.com>
4876 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4878 (isOptimized): Initialize with true.
4879 (paintRaster): Removed unneeded field.
4880 (shapeCache): New static field. Caches certain shapes for reuse.
4881 (computeIntersection): Removed unneeded casts.
4882 (drawArc): Use shape cache.
4883 (drawImage): Removed unneeded statement.
4884 (drawLine): Use shape cache. Pass untranslated coordinates
4886 (drawOval): Use shape cache.
4887 (drawPolygon): Use shape cache.
4888 (drawRect): Overridden to provide accelerated rectangle drawing
4889 if possible and to use the shape cache.
4890 (drawRoundRect): Use shape cache.
4891 (fillArc): Use shape cache.
4892 (fillOval): Use shape cache.
4893 (fillPolygon): Use shape cache.
4894 (fillRect): Pass untranslated coordinates to rawFillRect().
4896 (fillRoundRect): Use shape cache.
4897 (fillScanlineAA): Removed unneeded statement.
4898 (fillScanline): Updated API docs.
4899 (fillShapeAntialias): Removed unnecessary cast.
4900 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4901 (fillShape): Updated API docs.
4902 (getShapeCache): New helper method.
4903 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4904 certain shapes for reuse in AbstractGraphics2D.
4906 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4908 * javax/management/BadBinaryOpValueExpException.java:
4909 (getExp()): Implemented.
4910 * javax/management/MBeanConnection.java:
4911 Renamed to MBeanServerConnection.
4912 * javax/management/MBeanServer.java:
4913 (setAttribute(Attribute)): Fixed...
4914 (setAttribute(ObjectName,Attribute)): to this.
4915 * javax/management/MBeanServerConnection.java:
4916 Renamed from MBeanConnection.
4917 * javax/management/QueryExp.java:
4918 Extend Serializable.
4919 * javax/management/ValueExp.java:
4921 * javax/management/loading/ClassLoaderRepository.java:
4922 (loadClass(String)): Throw ClassNotFoundException.
4923 (loadClassBefore(ClassLoader,String)): Likewise.
4924 (loadClassWithout(String, ClassLoader): Fixed...
4925 (loadClassWithout(ClassLoader,String)): to this.
4927 2006-09-28 Roman Kennke <kennke@aicas.com>
4929 * javax/swing/tree/DefaultTreeCellRenderer.java
4930 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4931 property from UIManager.
4932 (paint): Rewritten to use super's implementation and only paint
4933 background and focus indicator before.
4934 (paintFocus): New helper method.
4935 (getXOffset): New helper method.
4937 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4939 * javax/management/BadBinaryOpValueExpException.java,
4940 * javax/management/MBeanConnection.java,
4941 * javax/management/MBeanServer.java,
4942 * javax/management/ObjectInstance.java:
4944 * javax/management/ObjectName.java:
4945 (setMBeanServer(MBeanServer)): Implemented.
4946 * javax/management/QueryExp.java,
4947 * javax/management/ValueExp.java,
4948 * javax/management/loading/ClassLoaderRepository.java:
4951 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4953 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4955 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4957 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4958 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4959 * gnu/java/nio/EpollSelectorImpl.java:
4960 (doSelect): Use Integer.valueOf() instead of constructor call.
4961 (register): Use Integer.valueOf() instead of constructor call.
4963 2006-09-27 Roman Kennke <kennke@aicas.com>
4965 * java/awt/Container.java
4966 (addContainerListener): Activate newEventsOnly for the component.
4967 Ignore null listeners.
4969 2006-09-27 Roman Kennke <kennke@aicas.com>
4971 * java/awt/EventQueue.java
4972 (Queue): New inner class. Implements the actual queue.
4973 (LOW_PRIORITY): New constant field.
4974 (NORM_PRIORITY): New constant field.
4975 (queueHead): Removed. Moved into Queue.
4976 (queueTail): Removed. Moved into Queue.
4977 (queues): New field.
4978 (EventQueue): Initialize two internal queues, one for
4979 normal events, one for low priority events.
4980 (getNextEventImpl): New helper method, fetches the next event.
4981 (getNextEvent): Use getNextEventImpl() for fetching the event.
4982 (peekEvent): Use getNextEventImpl() for fetching the event.
4983 (peekEvent(int)): Search for event in all queues.
4984 (postEventImpl(AWTEvent)): Moved actual posting into
4985 postEventImpl(AWTEvent,int). Prioritize events here.
4986 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4987 event into correct queue. Re-enable event coalescing.
4988 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4989 * javax/swing/RepaintManager.java
4990 (RepaintWorkerEvent): New internal class. This is a low priority
4991 event for the repaint worker.
4992 (addDirtyRegion): Use new internal invokeLater() for sending
4993 a low priority event.
4994 (addInvalidComponent): Use new internal invokeLater() for sending
4995 a low priority event.
4996 (commitBuffer): Added some null checks.
4997 (invokeLater): New helper method. Sends a low priority
4998 repaint worker event on the event queue.
5000 2006-09-27 Roman Kennke <kennke@aicas.com>
5004 * javax/swing/plaf/basic/BasicButtonUI.java
5005 (cachedInsets): New field.
5006 (installListeners): Fire synthetic property change to initialize
5007 TEXT_LAYOUT_CACHE for the button because the font has been
5009 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5010 (paint): Use cached insets.
5011 (paintText): Let new method forward to old one, not vice versa.
5012 * javax/swing/plaf/basic/BasicMenuItemUI.java
5013 (defaultAcceleratorLabelGap): Removed unused field.
5014 (MenuGap): Removed unused field.
5015 (propertyChangeListener): Made private.
5016 (getAcceleratorRect): Removed unused method.
5017 (getAcceleratorText): Removed unused method.
5018 (getPath): Removed unnecessary cast.
5019 (installListeners): Fire synthetic property change to initialize
5020 TEXT_LAYOUT_CACHE for the button because the font has been
5022 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5023 (layoutMenuItem): Removed unused statements.
5025 2006-09-27 Roman Kennke <kennke@aicas.com>
5028 * javax/swing/tree/DefaultTreeModel.java
5029 (isLeaf): Check if the node allows children when
5030 asksAllowsChildren is true, otherwise fall back
5031 to return the node's leaf property.
5033 2006-09-27 Mario Torre <neugens@limasoftware.net>
5035 * scripts/check_jni_methods.sh: removed methods from the
5037 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5038 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5039 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5040 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5041 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5042 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5043 to better follow the GNU style.
5044 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5045 regenerated header file for GConfNativePeer.
5047 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5049 * INSTALL: Added information about grmic being built when ASM
5050 is available, added information about gconf dependency, indented
5051 Qt4 dependency section.
5052 * configure.ac: Added information about grmic being built when ASM
5055 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5057 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5058 DeleteGlobalRef on a local ref.
5060 2006-09-24 Mario Torre <neugens@limasoftware.net>
5062 * scripts/check_jni_methods.sh: added two new methods in the
5064 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5066 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5067 * native/jni/gconf-peer/GConfNativePeer.c:
5068 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5069 refacored method name, renamed from
5070 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5071 Added code to unescape escaped GConf key names.
5072 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5073 refacored method name, renamed from
5074 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5075 Added code to unescape escaped GConf key names.
5076 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5078 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5080 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5081 version javadoc tag.
5082 (escapeString): new method.
5083 (unescapeString): likewise.
5084 (gconf_escape_key): new native method.
5085 (gconf_unescape_key): likewise.
5086 (gconf_client_suggest_sync): update native method signature, now
5087 explicity throws BackingStoreException.
5088 (gconf_client_all_nodes): update native method signature, now
5089 explicity throws BackingStoreException. Refactored method name,
5090 renamed from gconf_client_gconf_client_all_nodes.
5091 (gconf_client_all_keys): update native method signature, now
5092 explicity throws BackingStoreException. Refactored method name,
5093 renamed from gconf_client_gconf_client_all_keys.
5094 (getKeys): refactored to use the new method name
5095 gconf_client_all_keys.
5096 (getChildrenNodes): refactored to use the new method name
5097 gconf_client_all_nodes.
5098 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5099 version javadoc tag.
5100 (GConfBasedPreferences): Added code to escape node names from
5101 invalid characters so that GConf now accept invalid node names.
5102 (GConfBasedPreferences): Moved code to register the current
5103 node to the list of nodes watched by GConf outside the constructor.
5104 (childSpi): Added code to register the current node to the
5105 list of nodes watched by GConf.
5106 (getGConfKey): Added code to escape key names from
5107 invalid characters so that GConf now accept invalid key names.
5109 2006-09-26 Tom Tromey <tromey@redhat.com>
5111 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5112 call mkdirs in output-directory case.
5113 (getPrintStream): Create output directory.
5114 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5117 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5119 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5120 Accept three additional arguments.
5121 (writePreambleImpl): New method.
5122 (getPrintStreamImpl): Likewise.
5123 (printClass): Adapted to use new methods in Printer superclass.
5124 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5125 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5126 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5127 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5129 (getParser): Add support for -o option.
5130 Check that only one of -d or -o is defined.
5131 Add support for -jni option.
5132 Add support for -force option.
5133 (makeOutputFile): New method.
5134 (writeHeaders): Removed File argument from signature.
5135 (run): Take into account newly added fields.
5136 Invoke concrete PrintStream implementations with augmented constructors.
5137 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5138 (isDirectory): Likewise.
5140 (wrotePreamble): Likewise.
5141 (Printer): Changed ctor to accept three additional arguments.
5142 (printClass): Changed signature to accept one ClassWrapper argument.
5143 (writePreambleImpl): New abstract method.
5144 (getPrintStreamImpl): Likewise.
5145 (getPrintStream): New method.
5146 (writePreamble): Likewise.
5148 2006-09-26 Tania Bento <tbento@redhat.com>
5150 * java/awt/GridLayout.java
5151 (toString): There is no common before hgap.
5152 * java/awt/Rectangle.java
5153 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5154 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5156 (Rectangle(Point)): Throw NPE if Point is null.
5157 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5159 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5161 * javax/swing/plaf/metal/MetalIconFactory.java
5162 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5163 returned by getShift(),
5164 (FileIcon16.getShift): Updated API docs,
5165 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5166 returned by getShift(),
5167 (FolderIcon16.getShift): Updated API docs,
5168 (TreeFolderIcon.getShift): Likewise,
5169 (TreeLeafIcon.getShift): Likewise.
5171 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5173 * javax/swing/plaf/metal/MetalIconFactory.java
5174 (FileIcon16.paintIcon): Fetch colors from look and feel,
5175 (FolderIcon16.paintIcon): Likewise.
5177 2006-09-25 Casey Marshall <csm@gnu.org>
5179 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5181 (write): revert back to using `writeGathering.'
5182 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5183 the first buffer that has data remaining, and start at that one.
5185 2006-09-25 Tom Tromey <tromey@redhat.com>
5187 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5190 2006-09-25 Tom Tromey <tromey@redhat.com>
5192 * tools/.cvsignore: Updated.
5194 2006-09-25 Tom Tromey <tromey@redhat.com>
5197 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5198 (Encoder.canEncode): Likewise.
5199 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5200 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5202 (Encoder.canEncode): Likewise.
5203 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5205 (Encoder.canEncode): Likewise.
5207 2006-09-25 Tom Tromey <tromey@redhat.com>
5209 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5212 2006-09-25 Francis Kung <fkung@redhat.com>
5214 * java/awt/image/ColorModel.java
5215 (coerceData): Made abstract.
5216 (coerceDataWorker): New protected method.
5217 * java/awt/image/ComponentColorModel.java
5218 (coerceData): Return new instance of proper ColorModel.
5219 * java/awt/image/DirectColorModel.java
5220 (coerceData): Return new instance of proper ColorModel.
5221 * java/awt/image/IndexColorModel.java
5222 (coerceData): New method.
5224 2006-09-24 Casey Marshall <csm@gnu.org>
5226 * gnu/java/nio/FileChannelImpl.java
5227 (read): call `read' in a loop, don't use `readScattering.'
5228 (write): call `write' in a loop, don't use `writeGathering.'
5230 2006-09-24 Mark Wielaard <mark@klomp.org>
5232 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5234 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5236 * java/nio/channels/spi/AbstractSelectableChannel.java
5237 (register): Set interestOps and attachment when the key already
5240 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5242 * java/net/ServerSocket.java
5243 (bind(SocketAddress,int)): Added support for null address.
5244 Throw proper exception if already bound.
5245 Handle unresolved addresses correctly. Ignore exceptions that
5246 happen during close in error path (to prevent losing the original
5249 2006-09-24 Mark Wielaard <mark@klomp.org>
5251 Suggested by Aaron M. Ucko <ucko@debian.org>
5253 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5255 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5257 * java/nio/channels/spi/AbstractSelectableChannel.java
5258 (implCloseChannel): Cancel all keys after closing the channel.
5260 2006-09-22 Casey Marshall <csm@gnu.org>
5262 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5263 after we delete them.
5264 (selectedKeys): return an empty set if nothing's been selected.
5265 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5266 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5267 throw an exception on EBADF.
5268 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5269 throw exception on EINTR, just return 0.
5271 2006-09-22 Casey Marshall <csm@gnu.org>
5273 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5274 remove `const' from `filename.'
5275 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5277 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5279 2006-09-22 Casey Marshall <csm@gnu.org>
5281 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5282 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5283 allocate `filename,' and handle changes to `cpio_readDir.'
5284 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5285 available; copy the filename into the destination buffer; return
5286 an error code if readdir returns NULL, but errno is 0.
5287 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5288 parameter to `const char *.'
5290 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5292 * javax/management/ObjectName.java:
5295 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5297 * resource/gnu/classpath/tools/orbd: New directory.
5298 * resource/gnu/classpath/tools/rmic: Likewise.
5299 * resource/gnu/classpath/tools/rmid: Likewise.
5300 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5301 * resource/gnu/classpath/tools/tnameserv: Likewise.
5302 * tools/gnu/classpath/tools/giop: Move contents to...
5303 * tools/gnu/classpath/tools/orbd,
5304 tools/gnu/classpath/tools/tnameserv: New directories.
5305 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5306 * tools/gnu/classpath/tools/rmic: New directory.
5307 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5308 * tools/gnu/classpath/tools/rmid: New directory.
5309 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5310 * tools/gnu/classpath/tools/rmiregistry: New directory.
5311 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5312 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5313 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5314 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5316 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5318 * tools/gnu/classpath/tools/orbd/Main.java,
5319 tools/gnu/classpath/tools/orbd/Messages.java,
5320 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5321 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5322 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5323 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5324 tools/gnu/classpath/tools/rmic/CompilationError.java,
5325 tools/gnu/classpath/tools/rmic/Generator.java,
5326 tools/gnu/classpath/tools/rmic/GiopIo.java,
5327 tools/gnu/classpath/tools/rmic/HashFinder.java,
5328 tools/gnu/classpath/tools/rmic/Main.java,
5329 tools/gnu/classpath/tools/rmic/Messages.java,
5330 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5331 tools/gnu/classpath/tools/rmic/RMICException.java,
5332 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5333 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5334 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5335 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5336 tools/gnu/classpath/tools/rmic/Variables.java,
5337 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5338 tools/gnu/classpath/tools/rmic/templates,
5339 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5340 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5341 tools/gnu/classpath/tools/rmid/Main.java,
5342 tools/gnu/classpath/tools/rmid/Messages.java,
5343 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5344 tools/gnu/classpath/tools/rmiregistry/Main.java,
5345 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5346 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5347 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5348 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5349 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5350 tools/gnu/classpath/tools/tnameserv/Main.java,
5351 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5352 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5353 RMIC.java from cp-tools.
5354 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5355 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5356 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5358 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5359 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5361 (start): New method.
5362 * tools/Makefile.am: Add build support for new tool wrappers.
5363 * tools/gorbd.in: New file.
5364 * tools/grmic.in: Likewise.
5365 * tools/grmid.in: Likewise.
5366 * tools/grmiregistry.in: Likewise.
5367 * tools/gtnameserv.in: Likewise.
5368 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5369 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5371 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5372 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5373 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5375 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5378 * gnu/java/util/regex/RETokenRepeated.java
5379 (findMatch): Rewriten without using recursive calls,
5380 (FindMatchControlStack): New class,
5381 (FindMatchControl): New class,
5382 (TryAnotherResult): New class,
5383 (tryAnother): New method.
5385 2006-09-22 Gary Benson <gbenson@redhat.com>
5387 * java/net/SocketPermission.java
5388 (processHostport): Cope with IPv6 addresses with a
5389 one-digit first component.
5391 2006-09-22 Roman Kennke <kennke@aicas.com>
5393 * java/awt/Component.java
5394 (enableEvents): Set newEventsOnly flag.
5395 * java/awt/Container.java
5396 (dispatchEventImpl): Consume event if lightweight dispatcher
5397 dispatched the event. Don't call processEvent() here, this
5398 is already done in Component.dispatchEventImpl(). For
5399 heavyweights or when the lightweight dispatcher could
5400 not dispatch, fall back to calling super.
5401 (dispatchNoLightweight): New helper method to avoid
5402 recursivly calling the lightweight dispatcher.
5403 * java/awt/LightweightDispatcher.java
5404 (dragButton): Removed field.
5405 (dragTarget): Removed field.
5406 (mouseEventTarget): New field.
5407 (convertPointToChild): Removed method.
5408 (dispatchEvent): Don't depend on component beeing
5410 (findTarget): Improved algorithm for finding a target.
5411 Before we went down to the deepest component and went
5412 up again to find a suitable target. Now we go
5413 down only once, without going up.
5414 (handleMouseEvent): Broke method down into some smaller
5416 (isDragging): New helper method.
5417 (isMouseListening): New helper method.
5418 (redispatch): New helper method.
5419 (trackEnterExit): New helper method.
5421 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5423 * javax/swing/SizeSequence.java
5424 (getSize): Return 0 if index is out of bounds.
5426 2006-09-21 Tom Tromey <tromey@redhat.com>
5428 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5429 (PathOptionGroup): Make -I a joined option.
5430 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5431 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5432 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5433 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5434 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5435 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5436 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5437 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5438 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5439 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5440 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5441 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5442 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5443 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5444 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5445 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5446 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5447 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5448 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5449 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5450 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5452 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5453 * tools/gnu/classpath/tools/common/Messages.java: New file.
5454 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5455 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5457 (ClasspathToolParser): Add -J option here.
5458 (ClasspathToolParser): Call other constructor in this class.
5459 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5460 Handle joined options.
5461 (handleShortOptions): Likewise.
5462 (handleShortOption): Removed.
5463 (finalGroup): New field.
5464 (Parser): Initialize new field. Don't add -J option.
5465 (addFinal): New method.
5466 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5468 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5469 (Option): Check short option for validity.
5470 (Option): New constructors.
5471 (joined): New field.
5473 2006-09-21 csm <csm@pollux.local>
5475 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5476 `InterruptedIOException;' try again if it gets thrown.
5477 (receive): likewise, but re-throw `SocketTimeoutException.'
5478 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5479 if we have nothing to select.
5481 2006-09-21 Francis Kung <fkung@redhat.com>
5483 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5484 (getLogicalBounds): Respect glyph transformations.
5485 (getGlyphOutline): Added null pointer check.
5486 (getGlyphTransform): Do not generate identity transform (API permits null).
5487 (setGlyphPosition): Do not invalidate transform.
5488 (setGlyphTransform): Do not modify glyph position.
5490 2006-09-21 Francis Kung <fkung@redhat.com>
5492 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5494 2006-09-21 Francis Kung <fkung@redhat.com>
5496 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5497 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5498 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5500 2006-09-21 Tania Bento <tbento@redhat.com>
5502 * javax/swing/JTabbedPane.java:
5503 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5504 (setModel): A ChangeListener should be created only if there does not
5505 currently exist one.
5507 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5509 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5510 (MaximizeAction.actionPerformed): Change icon on maxButton.
5512 2006-09-21 Roman Kennke <kennke@aicas.com>
5514 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5515 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5516 Use more efficient getViewPosition() and getViewSize() methods
5517 to avoid creating a rectangle.
5518 (HSBChangeListener.stateChanged): Update the view position
5519 unconditionally. Let the Viewport figure out if something
5521 (VSBChangeListener.stateChanged): Update the view position
5522 unconditionally. Let the Viewport figure out if something
5524 * javax/swing/JViewport.java
5525 (ViewListener.componentResized): Fire state change, because
5526 the extentSize changes.
5527 (extentSize): Removed unneeded field.
5528 (viewSize): Removed unneeded field.
5529 (getExtentSize): Return the viewport's size here.
5530 (getViewRect): Reformatted.
5531 (getViewSize): Reordered for only one return statement.
5532 (paintImmediately2): Fixed up javadoc.
5533 (paint): Removed unneeded statement.
5534 (setExtentSize): Set viewport size and check for actual change
5536 (setViewPosition): Simplified condition. Set scrollUnderway
5537 true and don't set isViewSizeSet. Avoid creating one Point
5539 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5541 * javax/swing/JScrollBar.java
5542 (ScrollBarListener): New class. Forwards change events from
5543 the model as adjustment events.
5544 (sbChangeListener): New field.
5545 (JScrollBar): Install listener on new model.
5546 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5548 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5549 method to allow custom isAdjusting value.
5550 (setMaximum): Only forward to model.
5551 (setMinimum): Only forward to model.
5552 (setValue): Only forward to model.
5553 (setVisibleAmount): Only forward to model.
5554 (setValues): Only forward to model.
5555 (setModel): Update the change listener.
5557 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5559 * java/util/Formatter.java (basicIntegralConversion): Removed
5560 check for ZERO && !LEFT_JUSTIFY.
5562 2006-09-20 Roman Kennke <kennke@aicas.com>
5565 * javax/swing/plaf/metal/DefaultMetalTheme.java
5566 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5567 (BOLD_CONTROL_TEXT_FONT): New constant field.
5568 (PLAIN_MENU_TEXT_FONT): New constant field.
5569 (BOLD_MENU_TEXT_FONT): New constant field.
5570 (controlTextFont): Removed.
5571 (menuTextFont): Removed.
5572 (CONTROL_TEXT_FONT): New constant field.
5573 (MENU_TEXT_FONT): New constant field.
5574 (getControlTextFont): Use getFont() helper method for fetching
5576 (getMenuTextFont): Use getFont() helper method for fetching
5578 (getFont): New helper method.
5579 (isBoldMetal): New helper method.
5581 2006-09-20 Casey Marshall <csm@gnu.org>
5583 * NEWS: mention epoll selector along with the kqueue one.
5585 2006-09-20 Casey Marshall <csm@gnu.org>
5587 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5588 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5590 2006-09-20 Francis Kung <fkung@redhat.com>
5593 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5594 (getGlyphTransform): Use translation instead of scale.
5595 (performDefaultLayout): Increment position values instead of resetting, and
5596 pre-increment instead of post-increment.
5597 (setGlyphTransform): Handle null case with identity transform.
5599 2006-09-20 Casey Marshall <csm@gnu.org>
5601 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5602 (AC_CHECK_FUNCS): check for `epoll_create.'
5603 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5604 * gnu/java/nio/EpollSelectorImpl.java: new file.
5605 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5607 (openSelector): return epoll selector if requested and available.
5608 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5609 (gnu_java_nio_EpollSelectorImpl.h): new target.
5610 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5611 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5612 gnu_java_nio_EpollSelectorImpl.c.
5613 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5615 2006-09-20 Casey Marshall <csm@gnu.org>
5617 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5619 (isConnected): return false if `connectionPending' is true.
5621 2006-09-20 Francis Kung <fkung@redhat.com>
5624 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5625 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5626 (getGlyphOutline): Call getGylphTransform to generate transform.
5627 (getGylphPosition): Read position directly out of array.
5628 (getGlyphPositions): Read positions directly out of array.
5629 (getGlyphTransform): Generate transform based on gylphPositions array.
5630 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5631 (setGlyphPosition): Set position directly into array.
5632 (setGlyphTransform): Update positions array as well.
5634 2006-09-20 David Daney <ddaney@avtrex.com>
5637 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5638 default content-type for POST method.
5640 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5642 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5643 (BasicRadioButtonUI): Don't fetch icon here,
5644 (installDefaults): Initialise icon here,
5645 (getDefaultIcon): Just return icon.
5647 2006-09-20 Mark Wielaard <mark@klomp.org>
5649 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5650 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5651 (EXTRA_DIST): Include javanio.c.
5653 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5655 * java/awt/geom/RoundRectangle2D.java:
5656 (getPathIterator): Reimplemented,
5657 and updated various API doc comments.
5659 2006-09-20 Roman Kennke <kennke@aicas.com>
5661 * java/awt/Container.java
5662 (addImpl): Set the new component's parent after it has been
5663 added to the array. Call addNotify() and invalidate()
5664 after the component has been added, so that the peer
5665 gets to know about the component structure when it is created.
5666 * java/awt/Window.java
5667 (dispatchEventImpl): Only revalidate when window is resized,
5668 let the other stuff be processed by the superclass.
5669 (dispose): Post WINDOW_CLOSED event only when some listener
5670 is registered or event is explicitly enabled.
5671 (show): Post WINDOW_OPENED event when appropriate.
5673 2006-09-20 Roman Kennke <kennke@aicas.com>
5675 * java/awt/Component.java
5676 (addNotify): Invalidate here. Fetch peer font.
5677 (getFont): Delegate to helper method, to protect from
5678 overriding client code. Lock the tree while fetching the font.
5679 (getFontImpl): New helper method. Moved code from getFont() in
5681 (removeNotify): Nullify peerFont too.
5682 (setFont): Synchronize on tree and component to avoid threading
5683 issues. Update the peerFont correctly.
5684 (validate): Update the peer font if necessary, before validating.
5685 (getGraphics): Revert to recursive graphics fetching.
5686 Set component font on the Graphics object.
5687 (translateEvent): Removed unnecessary cast.
5688 * java/awt/Container.java
5689 (invalidateTree): Made final and private. Made implementation
5690 slightly more efficient.
5691 (setFont): Get old and new font via getFont() to account for
5692 the real font, and only invalidate the tree when they are not
5693 the same and not equal.
5694 (visitChild): Set the font of the child on the component graphics.
5695 * java/awt/Frame.java
5696 (setMenuBar): Create local reference of peer for thread safety.
5697 Only call simple invalidate, not invalidateTree().
5699 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5702 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5703 (constructor): Copy image field.
5705 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5707 * javax/swing/JMenuBar.java
5708 (getHelpMenu): Implemented to throw an Error, and added API docs,
5709 (getMargin): Added API docs,
5710 (setMargin): Likewise.
5712 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5714 * javax/swing/AbstractButton.java
5715 (AbstractButton): Don't call updateUI(),
5716 * javax/swing/JButton.java
5717 (JButton(String, Icon)): Call setModel() before init(),
5718 * javax/swing/JMenuItem.java
5719 (JMenuItem()): Delegate to another constructor,
5720 (JMenuItem(Icon)): Likewise,
5721 (JMenuItem(Action)): Set model,
5722 (JMenuItem(String, Icon)): Likewise,
5723 * javax/swing/JToggleButton.java
5724 (init): Call setModel() before init().
5726 2006-09-19 Mark Wielaard <mark@klomp.org>
5729 * java/util/logging/LogManager.java (addLogger): Always check for
5730 existing children of a new Logger.
5732 2006-09-19 Roman Kennke <kennke@aicas.com>
5734 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5735 (HSBChangeListener.stateChanged): Moved handling of header to
5736 syncScrollPaneWithViewport().
5737 (VSBChangeListener.stateChanged): Moved handling of header to
5738 syncScrollPaneWithViewport().
5739 (ViewportChangedHandler.stateChanged): Removed unused statements.
5740 (syncScrollPaneWithViewport): Added null checks. Use setValues
5741 rather then the single setter methods to avoid multiple
5742 adjustments and side effects. Also snyc the headers here.
5743 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5744 (uninstallUI): Removed unnecessary cast and this qualifier as well
5745 as the call to super.
5747 2006-09-19 Gary Benson <gbenson@redhat.com>
5749 * java/net/ResolverCache.java: New class (a DNS cache).
5750 * java/net/InetAddress.java
5751 (internalGetCanonicalHostName, getAllByName): Use the above.
5753 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5755 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5756 * java/net/ServerSocket.java
5758 (bind): Set port field.
5759 (close): Set impl to null.
5760 (isClosed): Check impl and channel instead of using VMChannel.
5761 (toString): Use port field and getLocalPort() method.
5762 * java/net/Socket.java
5763 (isClosed): Check impl and channel instead of using VMChannel.
5765 2006-09-18 Tom Tromey <tromey@redhat.com>
5767 * java/util/concurrent/CopyOnWriteArrayList.java
5768 (CopyOnWriteArrayList): New constructor.
5770 2006-09-18 Casey Marshall <csm@gnu.org>
5772 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5773 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5775 2006-09-18 Tom Tromey <tromey@redhat.com>
5777 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5778 isConnected): Removed old comment.
5779 (getRemoteSocketAddress): Uncommented.
5780 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5781 setTrafficClass, getTrafficClass, setReuseAddress,
5782 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5783 isOutputShutdown): Uncommented.
5785 2006-09-18 David Pirkle <dpirkle@symyx.com>
5788 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5789 input stream during resolution.
5791 2006-09-18 Roman Kennke <kennke@aicas.com>
5793 * java/awt/LightweightDispatcher.java
5794 (findTarget): Correctly translate child coordinates.
5795 Use Component.eventTypeEnabled() for checking if a component
5796 has a certain event enabled.
5797 (handleMouseEvent): Find the correct mouse event target.
5798 Use Component.eventTypeEnabled() for checking if a component
5799 has a certain event enabled.
5801 2006-09-18 Roman Kennke <kennke@aicas.com>
5803 * java/awt/Component.java
5804 (show): Test for the peer beeing lightweight directly.
5805 (paintAll): Validate before painting. Don't paint when not
5806 showing. Call peer.paint() when the component is heavyweight.
5807 (repaint): Delegate to the parent when lightweight, rather
5808 than skipping to the nearest heavyweight.
5809 (createImage): Added null check to prevent NPE.
5810 (dispatchEvent): Moved old event dispatching and toolkit
5811 event dispatching to dispatchEventImpl.
5812 (addComponentListener): Don't enable event. Only add listener
5813 when not null. Switch to new event dispatching only.
5814 (addFocusListener): Likewise.
5815 (addHierarchyListener): Likewise.
5816 (addHierarchyBoundsListener): Likewise.
5817 (addKeyListener): Likewise.
5818 (addMouseListener): Likewise.
5819 (addMouseMotionListener): Likewise.
5820 (addMouseWheelListener): Likewise.
5821 (addInputMethodListener): Likewise.
5822 (coalesceEvents): For mouse events coalesce them only when
5823 their modifiers are equal. For paint events coalesce the events
5824 when one contains the other, without going through complicated
5826 (dispatchEventImpl): Moved old event dispatching and toolkit
5827 event dispatching to dispatchEventImpl.
5828 (coalescePaintEvents): Removed.
5829 (HeavyweightInLightweightListener.componentHidden):
5831 * java/awt/Container.java
5832 (addImpl): Don't enable events on lightweights.
5833 (remove): Reordered operations. Don't remove any listeners.
5834 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5835 Only removeNotify() when peer is != null. Only invalidate if
5836 not already invalid. Only fire ContainerEvent if there is
5837 an interested listener or the event is enabled. Dispatch this
5838 event directly without the event queue.
5839 (removeAll): Likewise.
5840 (paintComponents): Only paint when showing. Also paint heavyweights.
5841 Don't paint the container itself.
5842 (removeNotify): Create local variables for improved thread safety.
5843 (addNotifyContainerChildren): Don't enable events for lightweights.
5845 2006-09-18 Roman Kennke <kennke@aicas.com>
5847 * java/awt/EventQueue.java
5848 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5849 (next_in): Removed obsolete field.
5850 (next_out): Removed obsolete field.
5851 (queueHead): New field. Markes the head of the queue.
5852 (queueTail): New field. Markes the tail of the queue.
5853 (queue): Removed obsolete field.
5854 (EventQueue): Documented empty block.
5855 (getNextEvent): Changed array based implementation to single-linked
5856 list based implementation.
5857 (invokeAndWait): Use an Object as synchronization object rather
5858 than the current thread.
5859 (peekEvent(int)): Changed array based implementation to single-linked
5860 list based implementation.
5861 (peekEvent()): Changed array based implementation to single-linked
5862 list based implementation.
5863 (pop()): Changed array based implementation to single-linked
5864 list based implementation.
5865 (postEvent): Foward to postEventImpl.
5866 (postEventImpl): Changed array based implementation to single-linked
5867 list based implementation.
5868 (push): Changed array based implementation to single-linked
5869 list based implementation.
5870 * java/awt/AWTEvent.java
5871 (queueNext): New field. Implements a single-linked list for
5874 2006-09-17 Mark Wielaard <mark@klomp.org>
5876 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5877 resource from HTMLEditorKit.class.
5879 2006-09-17 Mark Wielaard <mark@klomp.org>
5881 * javax/swing/plaf/basic/BasicToolBarUI.java
5882 (setBorderToNonRollover): Check whether border is null.
5883 (setBorderToRollover): Likewise.
5885 2006-09-17 Mark Wielaard <mark@klomp.org>
5887 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5889 2006-09-17 Mark Wielaard <mark@klomp.org>
5891 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5892 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5893 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5894 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5895 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5897 2006-09-17 Casey Marshall <csm@gnu.org>
5899 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5902 2006-09-17 Chris Burdess <dog@gnu.org>
5904 Fixes PR 27610 27687.
5905 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5906 * gnu/xml/transform/SAXTemplatesHandler.java,
5907 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5908 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5909 SAXTransformerFactory.
5911 2006-09-16 Casey Marshall <csm@gnu.org>
5914 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5915 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5917 (HAVE_INET6): define if IPv6 is supported.
5918 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5919 (native_fd): removed.
5921 (<init>): throw IOException; initialize fields.
5922 (finalize): removed.
5923 (getNativeFD): removed.
5924 (bind): use `PlainSocketImpl.bind.'
5925 (create): use `PlainSocketImpl.initSocket.'
5926 (disconnect): use `PlainSocketImpl.disconnect.'
5927 (getLocalPort): new method.
5928 (send): use `VMChannel.send.'
5929 (receive): use `VMChannel.receive.'
5930 (setOption): use `PlainSocketImpl.setOption.'
5931 (getOption): use `PlainSocketImpl.getOption.'
5932 (close): use `VMChannel.State.close.'
5933 (join): use `PlainSocketImpl.join.'
5934 (leave): use `PlainSocketImpl.leave.'
5935 (joinGroup, leaveGroup): implemented.
5936 * gnu/java/net/PlainSocketImpl.java: make non-final.
5937 (native_fd): removed.
5939 (channel): new field.
5940 (<init>): initialize `impl.'
5941 (finalize, getNativeFD): removed.
5942 (setOption): use `PlainSocketImpl.setOption.'
5943 (getOption): use `PlainSocketImpl.getOption.'
5944 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5945 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5946 (create): create `channel,' initialize `impl's native state.
5947 (connect): use `connect(SocketAddress, int).'
5948 (connect): use `SocketChannelImpl.connect;' initialize `address'
5950 (bind): use `VMPlainSocketImpl.bind.'
5951 (listen): use `VMPlainSocketImpl.listen.'
5952 (accept): use `SocketChannelImpl.accept.'
5953 (available): use `VMChannel.available.'
5954 (close): use `PlainSocketImpl.close.'
5955 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5956 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5957 getPort): new methods.
5958 (SocketInputStream.read): use `VMChannel.read.'
5959 (SocketInputStream.read): use `SocketChannel.read.'
5960 (SocketOutputStream.write): use `VMChannel.write.'
5961 (SocketOutputStream.write): use `SocketChannel.write.'
5962 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5963 (channel): new field.
5964 (<init>): initialize `channel.'
5965 (implCloseSelectableChannel): use `VMChannel.close.'
5966 (implConfigureBlocking): use `VMChannel.setBlocking.'
5967 (connect): use `VMChannel.connect.'
5968 (disconnect): use `VMChannel.disconnect.'
5969 (isConnected): use `VMChannel.getPeerAddress.'
5970 (write): use `VMChannel.write.'
5971 (write): use `VMChannel.writeGathering.'
5972 (read): use `VMChannel.read.'
5973 (read): use `VMChannel.readScattering.'
5974 (receive): use `VMChannel.receive.'
5975 (send): use `VMChannel.send.'
5976 (getVMChannel): new method.
5977 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5978 access native FD through VMChannel.State.
5979 * gnu/java/nio/FileChannelImpl.java: moved from
5980 gnu/java/nio/channels/FileChannelImpl.java.
5981 * gnu/java/nio/FileLockImpl.java: fix imports.
5982 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5983 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5984 * gnu/java/nio/NIOSocket.java (impl): removed.
5985 (channel): new field.
5986 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5987 (getPlainSocketImpl, setChannel): removed.
5988 (isConnected): new method.
5989 * gnu/java/nio/NIOSocketImpl.java: new file.
5990 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5992 (SourceChannelImpl.native_fd): removed.
5993 (SourceChannelImpl.<init>): init with a `VMChannel.'
5994 (SourceChannelImpl.getNativeFD): removed.
5995 (SourceChannelImpl.getVMChannel): new method.
5996 (SourceChannelImpl.implCloseSelectableChannel): implement.
5997 (SinkChannelImpl): implement `VMChannelOwner.'
5998 (SinkChannelImpl.native_fd): removed.
5999 (SinkChannelImpl.<init>): init with a `VMChannel.'
6000 (SinkChannelImpl.implCloseSelectableChannel): implement.
6001 (SinkChannelImpl.getNativeFD): removed.
6002 (SinkChannelImpl.getVMChannel): new method.
6003 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6005 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6006 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6007 (openSelector): return kqueue selector if available.
6008 * gnu/java/nio/ServerSocketChannelImpl.java: implement
6010 (channel): new field.
6011 (<init>): init `channel.'
6012 (finalizer): check if the `VMChannel.State' is valid.
6013 (implCloseSelectableChannel): use `VMChannel.close.'
6014 (implConfigureBlocking): use `VMChannel.setBlocking.'
6015 (accept): use `VMChannel.accept.'
6016 (getVMChannel): new method.
6017 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6018 access native FD through `VMChannel.State.'
6019 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6021 (channel, connected, connectAddress): new field.
6022 (<init>): new constructors.
6023 (getPlainSocketImpl): removed.
6024 (implCloseSelectableChannel): use `VMChannel.close.'
6025 (implConfigureBlocking): use `VMChannel.setBlocking.'
6026 (connect): use `connect(SocketAddress,int).'
6027 (connect): use `VMChannel.connect.'
6028 (finishConnect): don't use a selector.
6029 (isConnected): use `VMChannel.getPeerAddress.'
6030 (read): use `VMChannel.read.'
6031 (read): use `VMChannel.readScattering.'
6032 (write): use `VMChannel.write.'
6033 (write): use `VMChannel.writeGathering.'
6034 (getVMChannel): new method.
6035 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6036 native FD from `VMChannel.State.'
6037 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6038 get native FD from `VMChannel.State.'
6039 * gnu/java/nio/VMChannelOwner.java: new file.
6040 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6041 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6042 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6043 `gnu_java_nio_channels_FileChannelImpl.h.'
6044 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6045 * include/gnu_java_nio_FileChannelImpl.h: new file.
6046 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6047 * include/gnu_java_nio_VMChannel.h: regenerated.
6048 * include/gnu_java_nio_VMPipe.h: regenerated.
6049 * include/java_net_VMNetworkInterface.h: regenerated.
6050 * java/io/FileDescriptor.java: fix imports.
6051 * java/io/FileInputStream.java (<init>): handle exceptions.
6052 (read): wrap the destination arary.
6053 * java/io/FileOutputStream.java (<init>): handle exceptions.
6054 (write): wrap the source array.
6055 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6056 * java/net/DatagramSocket.java (<init>): handle exceptions.
6057 (receive): handle length/port setting.
6058 (connect): bind to any address/port if the argument is null.
6059 * java/net/NetworkInterface.java (name, inetAddress): removed.
6061 (<init>): make private.
6062 (getName): return `netif.name.'
6063 (getInetAddresses): access `netif.addresses.'
6064 (getDisplayName): return `netif.name.'
6065 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6066 (condense): removed.
6067 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6068 (equals): compare `netif' fields.
6069 (hashCode): get hash codes from `netif.'
6070 (toString): use a StringBuffer.
6071 * java/net/ServerSocket.java (close): don't set `impl' to null.
6072 (isClosed): use `VMChannel.State.isClosed.'
6073 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6074 the `SocketImpl' is a `PlainSocketImpl.'
6075 (close): just close the `impl.'
6076 (toString): use `super.toString' in the value we return.
6077 (isConnected): just access `impl,' not `getImpl.'
6078 (isBound): use `PlainSocketImpl' methods if we can.
6079 (isClosed): look at `VMChannel.State.'
6080 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6081 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6082 an exception if they were not.
6083 (JCL_GetRawData): throw an exception if cached fields weren't
6085 * native/jni/java-lang/java_lang_VMProcess.c: handle
6086 FileChannelImpl move.
6087 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6088 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6089 THROW_NO_NETWORK): new macros.
6090 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6091 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6092 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6093 (java_sockopt): new enum.
6094 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6095 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6096 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6098 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6100 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6102 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6103 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6104 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6105 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6106 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6107 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6108 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6109 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6110 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6111 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6112 (getif_address): new function.
6113 (getif_index): new function.
6114 * native/jni/java-net/java_net_VMNetworkInterface.c
6115 (java_net_VMNetworkInterface_init,
6116 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6117 (Java_java_net_VMNetworkInterface_initIds): new function.
6118 (struct netif_entry): new struct.
6119 (free_netif_list): new function.
6120 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6121 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6122 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6123 gnu_java_nio_channels_FileChannelImpl.c, add
6124 gnu_java_nio_KqueueSelectorImpl.c.
6125 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6126 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6127 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6128 ALIGN_DOWN): new macros.
6129 (JCL_init_buffer): get the address through GetDirectBufferAddress
6131 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6132 Java_gnu_java_nio_VMChannel_stdout_1fd,
6133 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6134 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6136 (Java_gnu_java_nio_VMChannel_read): renamed...
6137 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6138 this; handle interrupted IO; add HAVE_READ check.
6139 (Java_gnu_java_nio_VMChannel_write): renamed...
6140 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6141 this; handle zero-length write; add HAVE_WRITE check.
6142 (Java_gnu_java_nio_VMChannel_receive): new function.
6143 (Java_gnu_java_nio_VMChannel_send): new function.
6144 (Java_gnu_java_nio_VMChannel_send6): new function.
6145 (Java_gnu_java_nio_VMChannel_read__I): new function.
6146 (Java_gnu_java_nio_VMChannel_write__II): new function.
6147 (Java_gnu_java_nio_VMChannel_socket): new function.
6148 (Java_gnu_java_nio_VMChannel_connect): new function.
6149 (Java_gnu_java_nio_VMChannel_connect6): new function.
6150 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6151 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6152 (Java_gnu_java_nio_VMChannel_accept): new function.
6153 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6154 (Java_gnu_java_nio_VMChannel_close): new function.
6155 (Java_gnu_java_nio_VMChannel_available): new function.
6156 (FileChannel_mode): new enum.
6157 (Java_gnu_java_nio_VMChannel_open): new function.
6158 (Java_gnu_java_nio_VMChannel_position): new function.
6159 (Java_gnu_java_nio_VMChannel_seek): new function.
6160 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6161 (Java_gnu_java_nio_VMChannel_lock): new function.
6162 (Java_gnu_java_nio_VMChannel_unlock): new function.
6163 (Java_gnu_java_nio_VMChannel_size): new function.
6164 (Java_gnu_java_nio_VMChannel_map): new function.
6165 (Java_gnu_java_nio_VMChannel_flush): new function.
6166 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6167 (Java_gnu_java_nio_VMPipe_init): removed.
6168 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6169 * native/jni/java-nio/javanio.c: new file.
6170 * native/jni/java-nio/javanio.h: new file.
6171 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6172 systems without `gethostbyname_r.'
6173 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6175 (<init>, <init>): new constructors.
6176 (setOption, getOption): make instance methods; defer to native
6179 (bind): make an instance method; defer to native methods.
6181 (available): removed.
6182 (listen): make an instance method; defer to native method.
6184 (join, leave): new methods.
6186 (joinGroup, leaveGroup): new methods.
6187 (shutdownInput, shutdownOutput): make instance methods.
6188 (sendUrgentData): removed.
6190 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6193 (<init>): new, public constructors.
6194 (getVMChannel): methods removed.
6195 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6196 stderr_fd): new methods.
6197 (setBlocking): make an instance method.
6198 (available): new method.
6199 (read): get native fd from `nfd.'
6200 (read): new single-byte read method.
6201 (readScattering): get native fd from `nfd.'
6202 (receive): new method.
6203 (write, writeGathering): get native fd from `nfd.'
6205 (write): new single-byte write method.
6206 (initSocket): new method.
6207 (connect): new method.
6208 (disconnect): new method.
6209 (getLocalAddress): new method.
6210 (getPeerAddress): new method.
6211 (accept): new method.
6212 (openFile): new method.
6213 (position): new method.
6215 (truncate): new method.
6217 (unlock): new method.
6220 (flush): new method.
6221 (close): new method.
6224 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6225 (pipe, pipe0): new method.
6226 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6228 (<clinit>): call `initIds.'
6229 (initIds): new method.
6230 (getInterfaces): removed.
6231 (getVMInterfaces): new method.
6232 (addAddress): new method.
6233 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6235 2006-09-16 Chris Burdess <dog@gnu.org>
6238 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6239 when in text output mode.
6241 2006-09-16 Chris Burdess <dog@gnu.org>
6244 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6246 2006-09-14 Michael Koch <konqueror@gmx.de>
6248 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6250 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6252 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6253 Added !cl.isArray() to serialVersionUID mismatch check.
6255 2006-09-14 Francis Kung <fkung@redhat.com>
6257 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6258 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6259 be compatibe with Cairo 1.2.x.
6261 2006-09-14 Francis Kung <fkung@redhat.com>
6263 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6264 (cairoSurfaceSetFilter): Removed method.
6265 (drawImage): Pass interpolation type as argument to drawing methods.
6266 (drawPixels): Added interpolation parameter.
6267 (drawRaster): Pass interpolation type as argument to drawing method.
6268 (getInterpolation): New method.
6269 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6270 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6271 * gnu/java/awt/peer/gtk/CairoSurface.java
6272 (drawSurface): Added interpolation parameter.
6273 (nativeDrawSurface): Added interpolation parameter.
6274 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6275 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6277 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6278 * native/jni/gtk-peer/cairographics2d.h
6279 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6280 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6281 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6283 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6284 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6285 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6286 interpolation parameter.
6288 2006-09-14 Gary Benson <gbenson@redhat.com>
6290 * java/net/InetAddress.java
6291 (internalGetCanonicalHostName): New method.
6292 (getCanonicalHostName): Use internalGetCanonicalHostName.
6293 (getByLiteral): New method.
6294 (getAllByName): Use getByLiteral.
6295 * java/net/SocketPermission.java
6296 (host): Replaced with...
6297 (hostname, address): New fields.
6298 (equals, hashcode): Reflect the above.
6299 (setHostPort): Parse host into hostname or address.
6300 (implies): Rewrite host checks.
6302 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6305 * java/awt/Menu.java
6306 (insert(MenuItem, int)): Fixed loop range,
6307 (insert(String, int)): Updated API docs.
6309 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6312 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6313 architectures (like Arm).
6314 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6315 Reverted SWAP_DOUBLE patch.
6316 (doubleToRawLongBits): Likewise.
6317 (longBitsToDouble): Likewise.
6319 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6321 * java/awt/Menu.java: Reformatted source file.
6323 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6325 * gnu/java/rmi/server/ActivatableRef.java
6326 (readExternal, writeExternal): Partial fix for serialization format.
6328 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6331 * java/io/InputStreamReader.java
6332 (read(char[],int,int)): Fixed bug.
6334 2006-09-13 Francis Kung <fkung@redhat.com>
6336 * java/awt/image/BandCombineOp.java: Updated documentation.
6337 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6339 2006-09-13 Tom Tromey <tromey@redhat.com>
6342 * java/io/PipedReader.java (read): Return early if len==0.
6343 * java/io/PipedInputStream.java (read): Return early if len==0.
6345 2006-09-13 Francis Kung <fkung@redhat.com>
6347 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6348 Removed hard-coded max sample value.
6349 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6350 Fixed finding of max sample value.
6352 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6354 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6355 (setPaint): Check null argument ('p').
6357 2006-09-12 Francis Kung <fkung@redhat.com>
6360 * gnu/java/awt/java2d/TexturePaintContext.java
6361 (constructor): Fixed typo, getMinY instead of getMaxX.
6362 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6363 (setPaint): Implemented support for custom Paint classes.
6364 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6365 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6366 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6367 to setPaintPixels, and added repeat parameter.
6368 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6369 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6371 2006-09-12 Gary Benson <gbenson@redhat.com>
6373 * java/net/NetworkInterface.java (getInetAddresses):
6374 Fix port used in security check.
6376 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6378 * javax/swing/plaf/metal/DefaultMetalTheme.java
6379 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6380 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6381 (getControlTextFont): Check 'swing.boldMetal' setting before
6383 (getMenuTextFont): Likewise.
6385 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6387 * javax/swing/plaf/metal/OceanTheme.java
6388 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6390 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6392 * javax/swing/plaf/metal/MetalIconFactory.java
6393 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6395 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6397 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6399 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6401 * javax/swing/AbstractButton.java
6402 (AbstractButton): Initialise textIconGap field.
6404 2006-09-11 Tom Tromey <tromey@redhat.com>
6406 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6407 "volatile" when needed.
6409 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6411 * java/text/AttributedCharacterIterator.java
6412 (LANGUAGE): Initialise with lower case string,
6413 (INPUT_METHOD_SEGMENT): Likewise,
6414 (READING): Likewise,
6415 * java/text/AttributedStringIterator.java
6416 (getRunLimit): Check all attributes for changes.
6418 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6420 * java/text/AttributedCharacterIterator.java: Added @since tag,
6421 renamed some variables (no underscores) and removed some spaces to
6422 match the common style,
6423 * java/text/AttributedString.java: Likewise,
6424 * java/text/AttributedStringIterator.java: Likewise.
6426 2006-09-11 Gary Benson <gbenson@redhat.com>
6428 * java/net/Inet4Address.java
6429 (FAMILY): Renamed back to AF_INET.
6430 (<init>, writeReplace): Reflect the above.
6431 * java/net/Inet6Address.java
6432 (FAMILY): Renamed back to AF_INET6.
6433 (<init>): Reflect the above.
6435 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6438 * java/text/AttributedString.java
6439 (AttributedString(AttributedCharacterIterator, int, int,
6440 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6443 2006-09-11 Gary Benson <gbenson@redhat.com>
6445 * java/net/Inet4Address.java
6446 (AF_INET): Renamed to FAMILY.
6447 (<init>, writeReplace): Reflect the above.
6448 * java/net/Inet6Address.java
6449 (AF_INET6): Renamed to FAMILY.
6450 (<init>): Reflect the above.
6452 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6455 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6456 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6457 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6458 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6459 (bind): Call getImpl().create(true).
6461 2006-09-09 Chris Burdess <dog@gnu.org>
6463 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6464 an instance of org.w3c.dom.NodeList.
6466 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6468 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6469 missing security manager when run in standalone mode.
6471 2006-09-08 Francis Kung <fkung@redhat.com>
6473 * java/awt/image/AffineTransformOp.java: Updated documentation.
6474 (createCompatibleDestRaster): Updated formatting.
6475 (filter(BufferedImage, BufferedImage)): Updated formatting.
6476 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6477 if colour model is compatible.
6478 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6479 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6481 2006-09-08 Gary Benson <gbenson@redhat.com>
6483 * java/net/InetAddress.java
6484 (family): Updated javadoc and made private.
6485 (<init>): Add an address family argument.
6486 (readObject): Don't overwrite family.
6487 * java/net/Inet4Address.java
6488 (AF_INET): New constant.
6489 (<init>): Use AF_INET as the family.
6490 (writeReplace): Likewise.
6491 * java/net/Inet6Address.java
6492 (AF_INET6): New constant.
6493 (<init>): Use AF_INET6 as the family.
6495 2006-09-08 Gary Benson <gbenson@redhat.com>
6497 * java/net/InetAddress.java
6498 (getHostName): Move lookup into getCanonicalHostName.
6499 (getCanonicalHostName): Move lookup from getHostName,
6500 Perform security check on canonical name (ie after lookup).
6502 2006-09-08 Gary Benson <gbenson@redhat.com>
6504 * java/net/Inet4Address.java (isMulticastAddress,
6505 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6506 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6507 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6508 implementations from InetAddress.
6509 * java/net/InetAddress.java (isMulticastAddress,
6510 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6511 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6512 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6513 implementations with UnsupportedOperationExceptions.
6515 2006-09-08 Gary Benson <gbenson@redhat.com>
6517 * java/net/InetAddress.java
6518 (inaddr_any): Removed.
6519 (ANY_IF, LOCALHOST): Create using getByAddress.
6520 (<init>): Updated javadoc.
6521 (getHostName): Cache hostname even if the lookup failed.
6522 (getByAddress): Create Inet4Address objects when passed
6523 IPv4-mapped IPv6 addresses.
6525 (getAllByName): Create address objects using getByAddress.
6526 Do not perform security checks unless actually required.
6527 Do not strip whitespace from the hostname.
6528 (getInaddrAny): Removed.
6529 (getLocalHost): Return the loopback address if getByName
6530 throws a SecurityException.
6531 (readResolve): Updated javadoc.
6532 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6533 * include/java_net_VMInetAddress.h
6534 (Java_java_net_VMInetAddress_aton): Likewise.
6535 * native/jni/java-net/java_net_VMInetAddress.c
6536 (Java_java_net_VMInetAddress_aton): New method.
6537 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6538 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6539 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6540 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6541 * NEWS: Added note about updated VM interface.
6543 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6545 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6546 (setNorthPane): Assign component to titlePane.
6548 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6550 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6551 Remove unused variable alt_addr.
6552 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6553 Remove unused variables.
6555 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6557 * javax/swing/plaf/metal/MetalScrollBarUI.java
6558 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6559 (createDecreaseButton): Don't fetch scrollBarWidth here,
6560 (createIncreaseButton): Likewise.
6562 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6564 * java/awt/image/MemoryImageSource.java: Added API docs.
6566 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6568 * javax/swing/plaf/basic/BasicScrollBarUI.java
6569 (installDefaults): Call configureScrollBarColors().
6571 2006-09-06 Francis Kung <fkung@redhat.com>
6573 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6574 (constructor): Make copy of arrays.
6575 (createCompatibleDestImage): Changed treatment of null ColorModel.
6576 (filter(BufferedImage, BufferedImage)): Re-implemented.
6577 (filter(Raster, WritableRaster, boolean[])): New method.
6578 (filter(Raster, WritableRaster)): Re-implemented.
6579 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6580 (getPoint2D): Cleaned up formatting.
6581 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6583 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6585 * javax/swing/UIManager.java
6586 (getBoolean(Object)): Reimplemented,
6587 (getBoolean(Object, Locale)): Likewise,
6588 (getBorder(Object)): Likewise,
6589 (getBorder(Object, Locale)): Likewise,
6590 (getColor(Object)): Likewise,
6591 (getColor(Object, Locale)): Likewise,
6592 (getDimension(Object)): Likewise,
6593 (getDimension(Object, Locale)): Likewise,
6594 (getFont(Object)): Likewise,
6595 (getFont(Object, Locale)): Likewise,
6596 (getIcon(Object)): Likewise,
6597 (getIcon(Object, Locale)): Likewise,
6598 (getInsets(Object)): Updated API docs,
6599 (getInsets(Object, Locale)): Likewise,
6600 (getInt(Object)): Reimplemented,
6601 (getInt(Object, Locale)): Likewise,
6602 (getString(Object)): Likewise,
6603 (getString(Object, Locale)): Likewise.
6605 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6607 * javax/swing/UIManager.java
6608 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6609 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6611 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6613 * javax/swing/plaf/metal/MetalLookAndFeel.java
6614 (initComponentDefaults): Corrected various font defaults.
6616 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6618 * java/awt/List.java: Added @since to various methods.
6620 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6622 * native/jni/native-lib/cpprocess.c:
6623 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6624 Add redirection of stdout to stderr.
6625 * native/jni/native-lib/cpprocess.h:
6626 Added redirect argument.
6627 * native/jni/java-lang/java_lang_VMProcess.c
6628 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6629 * vm/reference/java/lang/VMProcess.java: Likewise.
6630 * include/java_lang_VMProcess.h: Regenerated.
6632 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6634 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6635 __attribute to __attribute__.
6637 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6640 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6642 * java/awt/List.java: Source code reformatted.
6644 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6646 * gnu/CORBA/CollocatedOrbs.java,
6647 gnu/CORBA/SafeForDirectCalls.java: New files.
6648 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6649 Implement gnu.CORBA.SafeForDirectCalls.
6650 * gnu/CORBA/NamingService/Ext.java: Likewise.
6651 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6652 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6653 of the local host. (ior_to_object): Return the local object
6654 where possible. (run): Register/unregister this ORB.
6655 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6656 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6657 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6658 (constructors): Initialize noRetain. (_invoke): Drop servant
6659 if noRetain is true. (getHandler): Always seach for the new servant
6660 if noRetain is true.
6661 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6662 * NEWS: Added note about the new feature.
6664 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6666 * java/awt/Choice.java
6667 (addItem): Fixed API doc glitch.
6669 2006-09-05 Francis Kung <fkung@redhat.com>
6671 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6672 (createCompatibleDestImage): Re-implemented.
6673 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6674 compatibility, and use ColorConvertOp for color conversion if needed.
6675 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6677 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6679 gnu/CORBA/CDR/Vio.java,
6680 org/omg/CORBA_2_3/ORB.java,
6681 org/omg/CORBA_2_3/portable/InputStream.java,
6682 org/omg/CORBA_2_3/portable/OutputStream.java,
6683 org/omg/CosNaming/BindingIteratorHelper.java,
6684 org/omg/CosNaming/BindingTypeHelper.java,
6685 org/omg/CosNaming/NameComponentHelper.java,
6686 org/omg/CosNaming/NameHelper.java,
6687 org/omg/CosNaming/NamingContextExtHelper.java,
6688 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6689 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6690 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6691 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6692 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6693 org/omg/CosNaming/NamingContextHelper.java,
6694 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6695 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6696 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6697 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6698 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6699 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6700 org/omg/DynamicAny/AnySeqHelper.java,
6701 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6702 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6703 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6704 org/omg/DynamicAny/DynAnyHelper.java,
6705 org/omg/DynamicAny/DynAnyOperations.java,
6706 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6707 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6708 org/omg/DynamicAny/DynAnySeqHelper.java,
6709 org/omg/DynamicAny/DynArrayHelper.java,
6710 org/omg/DynamicAny/DynEnumHelper.java,
6711 org/omg/DynamicAny/DynFixedHelper.java,
6712 org/omg/DynamicAny/DynSequenceHelper.java,
6713 org/omg/DynamicAny/DynStructHelper.java,
6714 org/omg/DynamicAny/DynStructOperations.java,
6715 org/omg/DynamicAny/DynUnionHelper.java,
6716 org/omg/DynamicAny/DynValueHelper.java,
6717 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6718 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6719 org/omg/IOP/CodecFactoryHelper.java,
6720 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6721 org/omg/IOP/CodecOperations.java,
6722 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6723 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6724 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6725 org/omg/IOP/ComponentIdHelper.java,
6726 org/omg/IOP/ExceptionDetailMessage.java,
6727 org/omg/IOP/MultipleComponentProfileHelper.java,
6728 org/omg/IOP/ProfileIdHelper.java,
6729 org/omg/IOP/ServiceContextListHelper.java,
6730 org/omg/IOP/ServiceIdHelper.java,
6731 org/omg/IOP/TAG_CODE_SETS.java,
6732 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6733 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6734 org/omg/PortableInterceptor/CurrentHelper.java,
6735 org/omg/PortableInterceptor/IORInfo.java,
6736 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6737 org/omg/PortableInterceptor/ORBIdHelper.java,
6738 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6739 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6740 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6741 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6742 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6743 org/omg/PortableInterceptor/RequestInfoOperations.java,
6744 org/omg/PortableInterceptor/ServerIdHelper.java,
6745 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6746 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6747 org/omg/PortableServer/AdapterActivatorOperations.java,
6748 org/omg/PortableServer/CurrentHelper.java,
6749 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6750 org/omg/PortableServer/ForwardRequestHelper.java,
6751 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6752 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6753 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6754 org/omg/PortableServer/LifespanPolicyValue.java,
6755 org/omg/PortableServer/POA.java,
6756 org/omg/PortableServer/POAHelper.java,
6757 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6758 org/omg/PortableServer/POAManagerPackage/State.java,
6759 org/omg/PortableServer/POAOperations.java,
6760 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6761 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6762 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6763 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6764 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6765 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6766 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6767 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6768 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6769 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6770 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6771 org/omg/PortableServer/ServantActivatorHelper.java,
6772 org/omg/PortableServer/ServantLocatorHelper.java,
6773 org/omg/PortableServer/ServantLocatorOperations.java,
6774 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6775 org/omg/PortableServer/ThreadPolicyValue.java,
6776 org/omg/PortableServer/_ServantActivatorStub.java,
6777 org/omg/PortableServer/_ServantLocatorStub.java,
6778 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6780 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6782 * javax/rmi/CORBA/Tie.java,
6783 org/omg/CORBA/AnyHolder.java,
6784 org/omg/CORBA/AnySeqHelper.java,
6785 org/omg/CORBA/AnySeqHolder.java,
6786 org/omg/CORBA/BooleanHolder.java,
6787 org/omg/CORBA/BooleanSeqHelper.java,
6788 org/omg/CORBA/BooleanSeqHolder.java,
6789 org/omg/CORBA/ByteHolder.java,
6790 org/omg/CORBA/CharHolder.java,
6791 org/omg/CORBA/CharSeqHelper.java,
6792 org/omg/CORBA/CharSeqHolder.java,
6793 org/omg/CORBA/Context.java,
6794 org/omg/CORBA/CurrentHelper.java,
6795 org/omg/CORBA/CustomValue.java,
6796 org/omg/CORBA/DataOutputStream.java,
6797 org/omg/CORBA/DefinitionKindHelper.java,
6798 org/omg/CORBA/DomainManagerOperations.java,
6799 org/omg/CORBA/DoubleHolder.java,
6800 org/omg/CORBA/DoubleSeqHelper.java,
6801 org/omg/CORBA/DoubleSeqHolder.java,
6802 org/omg/CORBA/DynAny.java,
6803 org/omg/CORBA/DynSequence.java,
6804 org/omg/CORBA/DynValue.java,
6805 org/omg/CORBA/DynamicImplementation.java,
6806 org/omg/CORBA/FieldNameHelper.java,
6807 org/omg/CORBA/FixedHolder.java,
6808 org/omg/CORBA/FloatHolder.java,
6809 org/omg/CORBA/FloatSeqHelper.java,
6810 org/omg/CORBA/FloatSeqHolder.java,
6811 org/omg/CORBA/IdentifierHelper.java,
6812 org/omg/CORBA/IntHolder.java,
6813 org/omg/CORBA/LocalObject.java,
6814 org/omg/CORBA/LongHolder.java,
6815 org/omg/CORBA/LongLongSeqHelper.java,
6816 org/omg/CORBA/LongLongSeqHolder.java,
6817 org/omg/CORBA/LongSeqHelper.java,
6818 org/omg/CORBA/LongSeqHolder.java,
6819 org/omg/CORBA/ORB.java,
6820 org/omg/CORBA/ObjectHelper.java,
6821 org/omg/CORBA/ObjectHolder.java,
6822 org/omg/CORBA/OctetSeqHelper.java,
6823 org/omg/CORBA/OctetSeqHolder.java,
6824 org/omg/CORBA/PolicyErrorCodeHelper.java,
6825 org/omg/CORBA/PolicyErrorHelper.java,
6826 org/omg/CORBA/PolicyHelper.java,
6827 org/omg/CORBA/PolicyListHelper.java,
6828 org/omg/CORBA/PolicyTypeHelper.java,
6829 org/omg/CORBA/PrincipalHolder.java,
6830 org/omg/CORBA/RepositoryIdHelper.java,
6831 org/omg/CORBA/Request.java,
6832 org/omg/CORBA/ShortHolder.java,
6833 org/omg/CORBA/ShortSeqHelper.java,
6834 org/omg/CORBA/ShortSeqHolder.java,
6835 org/omg/CORBA/StringSeqHelper.java,
6836 org/omg/CORBA/StringSeqHolder.java,
6837 org/omg/CORBA/ULongLongSeqHelper.java,
6838 org/omg/CORBA/ULongLongSeqHolder.java,
6839 org/omg/CORBA/ULongSeqHelper.java,
6840 org/omg/CORBA/ULongSeqHolder.java,
6841 org/omg/CORBA/UShortSeqHelper.java,
6842 org/omg/CORBA/UShortSeqHolder.java,
6843 org/omg/CORBA/ValueBaseHelper.java,
6844 org/omg/CORBA/ValueBaseHolder.java,
6845 org/omg/CORBA/VersionSpecHelper.java,
6846 org/omg/CORBA/WCharSeqHelper.java,
6847 org/omg/CORBA/WCharSeqHolder.java,
6848 org/omg/CORBA/WStringSeqHelper.java,
6849 org/omg/CORBA/WStringSeqHolder.java,
6850 org/omg/CORBA/WrongTransactionHelper.java,
6851 org/omg/CORBA/_IDLTypeStub.java,
6852 org/omg/CORBA/_PolicyStub.java,
6853 org/omg/CORBA/portable/BoxedValueHelper.java,
6854 org/omg/CORBA/portable/Delegate.java,
6855 org/omg/CORBA/portable/ObjectImpl.java,
6856 org/omg/CORBA/portable/ServantObject.java,
6857 org/omg/CORBA/portable/StreamableValue.java,
6858 org/omg/CosNaming/BindingType.java,
6859 org/omg/CosNaming/IstringHelper.java,
6860 org/omg/DynamicAny/FieldNameHelper.java,
6861 org/omg/PortableServer/Servant.java: Documentation fixes.
6863 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6865 * java/awt/Rectangle.java
6866 (setRect(double, double, double, double)): Modified rounding of input
6869 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6871 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6872 Disallow H1 - H6 in the paragraphs.
6873 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6874 (preprocess): Leave at most one leading and/or trailing space.
6875 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6876 Do not add any text after closing the HTML tag.
6878 2006-09-02 Roman Kennke <kennke@aicas.com>
6881 * javax/swing/plaf/basic/BasicTextUI.java
6882 (RootView.getPreferredSpan): Default to 10 when there is no
6884 (RootView.getMinimumSpan): Forward to view and default to 10
6885 when there is no real view.
6886 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6887 (getMaximumSize): Check for overflow.
6888 * javax/swing/text/FieldView.java
6889 (getResizeWeight): Removed unneeded assignment.
6891 2006-09-01 Francis Kung <fkung@redhat.com>
6892 * java/awt/image/ColorConvertOp.java
6893 (copyImage): Updated javadoc and comments.
6894 (copyRaster): Add javadoc.
6895 (createCompatibleColorModel): Add javadocs and comments.
6896 (createCompatibleDestImage): Use correct transfer type.
6897 (createCompatibleDestRaster): Add new parameter for transfer type.
6898 (filter): Use correct transfer type.
6899 * java/awt/image/ConvolveOp.java: Updated javadocs.
6900 (createCompatibleDestImage): Set new image properties correctly.
6901 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6902 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6904 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6906 * javax/swing/table/DefaultTableModel.java:
6907 (checkSize): Added null check for dataVector.
6909 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6911 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6912 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6913 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6915 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6917 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6918 (paintIcon): Removed unused import statements, lowered cast requirement
6919 from JCheckBox to AbstractButton.
6921 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6923 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6924 (initComponentDefaults): Added, changed and removed some
6925 tabbed pane properties.
6927 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6929 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6930 (createContent): Changed menu item name and tab naming.
6932 2006-09-01 Roman Kennke <kennke@aicas.com>
6935 * javax/swing/plaf/basic/BasicHTML.java
6936 (HTMLRootView.getAttributes): Overridden to return null.
6937 (HTMLRootView.getElement): Overridden to return the view's
6940 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6942 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6943 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6944 of accessing variable directly.
6945 (calculateTabAreaWidth): Dito.
6947 2006-08-31 Keith Seitz <keiths@redhat.com>
6949 * include/jvmti.h: Include jvmti_md.h.
6951 2006-08-31 Keith Seitz <keiths@redhat.com>
6953 From Martin Platter <motse@complang.tuwien.ac.at>:
6954 * Makefile.am (include_HEADERS): Include jvmti.h.
6955 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6956 (jvmtiError): Remove superfluous comma after last entry.
6957 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6958 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6959 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6960 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6962 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6963 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6964 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6967 2006-08-31 Roman Kennke <kennke@aicas.com>
6969 * javax/swing/text/BoxView.java
6970 (getWidth): Return the width with insets added, not with one
6971 added and one removed.
6972 (getHeight): Return the height with insets added, not with one
6973 added and one removed.
6974 * javax/swing/text/GlyphView.java
6975 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6976 * javax/swing/text/ParagraphView.java
6977 (Row.getAlignment): Adjust alignment with respect to
6978 the justification attribute.
6979 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6981 * javax/swing/text/html/CSS.java
6982 (getValue): Convert length values.
6983 * javax/swing/text/html/Paragraph.java
6984 (painter): New field.
6985 (paint): Implemented to delegate painting to the BoxPainter too.
6986 (setPropertiesFromAttributes): Implemented to load attributes
6988 * javax/swing/text/html/StyleSheet.java
6989 (BoxPainter.as): Removed field.
6990 (BoxPainter.leftInset): New field.
6991 (BoxPainter.bottomInset): New field.
6992 (BoxPainter.rightInset): New field.
6993 (BoxPainter.topInset): New field.
6994 (BoxPainter.BoxPainter): Implemented to load the insets from
6996 (BoxPainter.getInset): Implemented.
6997 * gnu/javax/swing/text/html/Length.java: New class.
6998 Converts CSS length units to usable values.
7000 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
7002 * configure.ac: Add check for gethostbyname_r.
7003 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7004 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7005 SOCKET_NOSIGNAL according to the configure check.
7006 (cpnet_send): Use SOCKET_NOSIGNAL.
7007 (cpnet_sendTo): Likewise.
7008 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7010 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7013 * lib/Makefile.am (cssfiles): Add new rule to install css files.
7015 2006-08-31 Roman Kennke <kennke@aicas.com>
7017 * javax/swing/JEditorPane.java
7018 (getPreferredSize): Replace preferred size with minimum
7019 UI size only if the scrollable does _not_ track the viewport
7020 size and only if the viewport's size is smaller than the
7022 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7024 * javax/swing/plaf/basic/BasicTextUI.java
7025 (getPreferredSize): Read-lock the document to avoid
7026 concurrency problems.
7027 (getMaximumSize): Return maximum size of the view.
7028 Read-lock the document to avoid concurrency problems.
7029 (getMinimumSize): Return minimum size of the view.
7030 Read-lock the document to avoid concurrency problems.
7032 2006-08-31 Gary Benson <gbenson@redhat.com>
7034 * java/net/SocketPermission.java
7035 (maybeBracketIPv6Address): Renamed to processHostport.
7036 (processHostport): Also translate "" to "localhost".
7037 (setHostPort): Remove special cases for empty hostport and for
7038 extra colons in hostport (processHostport handles these now).
7040 2006-08-31 Mark Wielaard <mark@klomp.org>
7042 * javax/swing/text/ZoneView.java (Zone): Make static class.
7043 Constructor takes axis parameter.
7044 (createZone): Create Zone with getAxis() as major axis.
7046 2006-08-30 Roman Kennke <kennke@aicas.com>
7048 * javax/swing/text/ZoneView.java
7049 (loadChildren): Implemented.
7050 (getViewIndexAtPosition): Implemented.
7051 (checkZoneAt): New helper method.
7052 (splitZone): New helper method.
7053 (getPreferredZoneEnd): New helper method.
7055 2006-08-30 Roman Kennke <kennke@aicas.com>
7057 * javax/swing/text/ZoneView.java: New class.
7059 2006-08-30 Roman Kennke <kennke@aicas.com>
7061 * javax/swing/JMenu.java
7062 (getMenu): Removed unneeded cast.
7063 (getPopupMenuOrigin): Made positioning algorithm better respect
7065 (setMenuLocation): Also set the location on the popup if it's
7067 (setModel): Use menuChangeListener so that we don't override
7068 the changeListener field from AbstractButton.
7069 (setPopupMenuVisible): Use custom location if set, otherwise
7070 fallback to getPopupMenuOrigin().
7072 2006-08-29 Roman Kennke <kennke@aicas.com>
7074 * javax/swing/text/InternationalFormatter.java
7075 (stringToValue): Fixed bounds check.
7076 * javax/swing/text/MaskFormatter.java
7077 (MaskFormatter): Don't explicitly set allosInvalid property.
7078 (convertStringToValue): New helper method.
7079 (convertValueToString): New helper method.
7080 (convertValue): Removed. Replaced by the 2 convert* methods
7082 (getPadCharAt): Removed.
7083 (isCharValid): Removed.
7085 (stringToValue): Fixed stringToValue conversion.
7086 (stripLiterals): Removed.
7087 (valueToString): Fixed valueToString conversion.
7088 * javax/swing/text/DefaultFormatter.java
7089 (DefaultFormatter): Default to commitsOnValidEdit = false.
7091 2006-08-29 Roman Kennke <kennke@aicas.com>
7093 * javax/swing/text/TextAction.java
7094 (getTextComponent): Check event for null and return null in
7096 (augmentList): Augment Actions based on their names.
7097 * javax/swing/text/DefaultEditorKit.java
7098 (BeginAction.actionPerformed): Check target for null.
7099 (BeginLineAction.actionPerformed): Check target for null.
7100 (CopyAction.actionPerformed): Check target for null.
7101 (CutAction.actionPerformed): Check target for null.
7102 (EndAction.actionPerformed): Check target for null.
7103 (EndLineAction.actionPerformed): Check target for null.
7104 (InsertBreakAction.actionPerformed): Check target for null.
7105 (InsertTabAction.actionPerformed): Check target for null.
7106 (PasteAction.actionPerformed): Check target for null.
7107 (SelectAllAction.actionPerformed): Check target for null.
7108 (SelectionBeginAction.actionPerformed): Check target for null.
7109 (SelectionBeginLineAction.actionPerformed): Check target for null.
7110 (SelectionEndAction.actionPerformed): Check target for null.
7111 (SelectionEndLineAction.actionPerformed): Check target for null.
7112 (SelectLineAction.actionPerformed): Check target for null.
7113 (SelectWordAction.actionPerformed): Check target for null.
7115 2006-08-29 Roman Kennke <kennke@aicas.com>
7117 * javax/swing/plaf/basic/BasicTextUI.java
7118 (FocusHandler): New class. This is moved from the anonymous
7119 inner focus listener class to a static member class, and
7120 is now shared between components.
7121 (DocumentHandler): This class is combined with the PropertyHandler
7122 into the Handler class.
7123 (PropertyChangeHandler): This class is combined with the
7124 DocumentHandler into the Handler class.
7125 (Handler): New class. This combines the Property and Document
7126 handler into one class.
7127 (RootView.changedUpdate): Only forward if real view != null.
7128 (RootView.insertUpdate): Only forward if real view != null.
7129 (RootView.removeUpdate): Only forward if real view != null.
7130 (documentHandler): Removed field and replaced by handler.
7131 (focuslistener): Made field static and renamed to focusListener.
7132 (handler): New field.
7133 (kit): Lazily initialize field.
7134 (rootView): Lazily initialize field.
7135 (updateHandler): Removed and replaced by handler.
7136 (getEditorKit): Lazily instantiate field.
7137 (installDefaults): Don't set margin twice. Install correct
7138 property for disabledTextColor. Moved caret and highlighter
7139 initialization to installFixedDefaults.
7140 (installFixedDefaults): New method. Installs defaults that
7141 can't be overridden by subclasses.
7142 (installListeners): Only install focus handler when new
7143 system property gnu.swing.text.no-xlike-clipboard is not set.
7144 Lazily initialize focus handler.
7145 (installUI): Lazily initialize rootView. Install handler
7146 both for property and document changes.
7147 (uninstallDefaults): Uninstall the UI defaults.
7148 (uninstallFixedDefaults): New method. Uninstalls the fixed
7150 (installListeners): Only uninstall focus handler when not null.
7151 (uninstallUI): Uninstall property and document listener here.
7153 2006-08-29 Gary Benson <gbenson@redhat.com>
7155 * java/net/SocketPermission.java
7156 (maybeBracketIPv6Address): New method.
7157 (<init>): Pass the hostport argument through the above.
7159 * java/net/NetworkInterface.java (getInetAddresses):
7160 Don't bracket IPv6 addresses.
7162 2006-08-28 Roman Kennke <kennke@aicas.com>
7164 * javax/swing/text/BoxView.java
7165 (calculateMinorAxisRequirements): Initialize max size
7166 with Integer.MAX_VALUE.
7167 * javax/swing/text/Utilities.java
7168 (getBreakLocation): For simple chars, scan the text directly.
7169 * javax/swing/text/WrappedPlainView.java
7170 (tabBase): New field.
7171 (tabSize): New field.
7172 (calculateBreakPosition): Use Utilities. Fixed for correct
7174 (changedUpdate): Update children directly.
7175 (insertUpdate): Update children directly. Notify children.
7176 (removeUpdate): Update children directly. Notify children.
7177 (updateChildren): New helper method.
7178 (nextTabStop): Fixed to return correct results.
7179 (paint): Update tabBase.
7180 (updateMetrics): Update tab size.
7182 2006-08-28 Roman Kennke <kennke@aicas.com>
7184 * javax/swing/text/Position.java
7185 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7186 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7188 2006-08-28 Roman Kennke <kennke@aicas.com>
7190 * javax/swing/text/View.java
7191 (height): Removed unneeded field.
7192 (width): Removed unneeded field.
7193 (getBreakWeight): Return GoodBreakWeight when pos is after
7195 (getToolTipText): Check view index more carefully. Avoid
7197 (insertUpdate): Only execute method body if view count > 0.
7198 When updateChildren returns false, clear the ec variable.
7199 (updateChildren): Added null checks.
7200 (viewToModel): Initialize bias array correctly.
7201 * javax/swing/text/CompositeView.java
7202 (children): Made private.
7203 (numChildren): New field.
7204 (loadChildren): Check factory for null. Don't load children
7205 when factory is null.
7206 (replace): Removed null check. Nullify removed children. Made
7207 growing the array more efficient.
7208 (getViewCount): Return numChildren rather then the real array
7210 * javax/swing/text/BoxView.java
7211 (getViewAtPoint): Fixed algorithm for finding the view.
7212 (replace): Made array growing more efficient.
7213 (replaceLayoutArray): New helper method for growing/patching
7215 (viewToModel): Make sure we have a valid layout.
7217 2006-08-28 Tania Bento <tbento@redhat.com>
7219 * java/awt/MenuShortcut.java
7220 (MenuShortcut (int, boolean)): Set keyName.
7221 (toString): Modified string output.
7222 (setKeyName): New private method.
7224 2006-08-28 Roman Kennke <kennke@aicas.com>
7226 * javax/swing/text/GapContent.java
7227 (Mark.getOffset): Made assert less strict, include boundary.
7228 (search): Made package private to avoid accessor method.
7230 2006-08-28 Roman Kennke <kennke@aicas.com>
7232 * javax/swing/text/StringContent.java
7233 (InsertUndo.positions): New field.
7234 (InsertUndo.redo): Update the undo positions.
7235 (InsertUndo.undo): Fetch the undo positions.
7236 (Mark): New class. Layer of indirection to allow Positions
7237 to be GC'ed while we still hold references to the Mark.
7238 (RemoveUndo.len): New field.
7239 (RemoveUndo.positions): New field.
7240 (RemoveUndo.RemoveUndo): Fetch undo positions.
7241 (RemoveUndo.redo): Re-fetch positions and string.
7242 (RemoveUndo.undo): Update undo positions.
7243 (StickyPosition.mark): New field.
7244 (StickyPosition.offset): Removed field.
7245 (StickyPosition.StickyPosition): Create new Mark. Register
7246 Position in queueOfDeath. Update reference count on mark.
7247 (StickyPosition.getOffset): Return offset stored in mark.
7248 (StickyPosition.setOffset): Removed unneeded method.
7249 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7251 (marks): New field. Stores the marks.
7252 (positions): Removed field.
7253 (queueOfDeath): New field. Used for GCing the positions.
7254 (StringContent): Initialize queueOfDeath.
7255 (createPosition): Lazily create marks vector.
7256 (garbageCollect): New helper method. Collects positions
7257 to be GCed and updates their marks.
7258 (getChars): Fixed bounds check.
7259 (getPositionsInRange): When v == null, create new Vector,
7260 otherwise use v. Store UndoPosRefs in vector.
7261 (getString): Added comment about bug in RI.
7262 (insertString): Use new helper method for replacing the array.
7263 Correctly update positions.
7264 (length): Removed this qualifier.
7265 (remove): Use new helper method for replacing the array.
7266 Correctly update positions.
7267 (replace): New helper method for growing or patching the array.
7268 (updateUndoPositions): Implemented. Updates the positions
7269 for undo/redo operations.
7271 2006-08-27 Roman Kennke <kennke@aicas.com>
7273 * javax/swing/text/StyleContext.java
7274 (NamedStyle.attributes): Made field transient.
7275 (NamedStyle.changeEvent): Made field transient.
7276 (NamedStyle.name): Removed field. The name is stored as
7278 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7279 storing the name and check for null name and resolveParent.
7280 Don't initialize changeEvent.
7281 (NamedStyle.copyAttributes): Return a new NamedStyle,
7282 rather than a plain copy of the attributes field.
7283 (NamedStyle.fireStateChange): Lazily create changeEvent
7285 (NamedStyle.getName): Fetch name from attributes.
7286 (NamedStyle.setName): Store name from attributes.
7287 (NamedStyle.readObject): Implemented for correct
7289 (NamedStyle.writeObject): Implemented for correct
7291 (NamedStyle.setResolveParent): When new parent is null,
7292 remove resolveParent attribute. Use addAttribute() method
7293 rather than StyleContext addAttribute().
7294 (NamedStyle.toString): Fixed to produce output equal to the
7296 (SmallAttributeSet.resolveParent): New field.
7297 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7298 the resolveParent field correctly.
7299 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7300 array but store it directly. Update
7301 the resolveParent field correctly.
7302 (SmallAttributeSet.clone): Return this as the object is
7304 (SmallAttributeSet.containsAttributes): Make sure that keys
7305 and values are the same.
7306 (SmallAttributeSet.containsAttribute): Make sure that keys
7307 and values are the same.
7308 (SmallAttributeSet.copyAttributes): Return this as the object is
7310 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7311 are equal if they have the same number of attributes and
7312 one contains the other.
7313 (SmallAttributeSet.getAttribute): Improved lookup of
7315 (SmallAttributeSet.getResolveParent): Improved lookup of
7317 (SmallAttributeSet.isEqual): When comparing object is a
7318 SmallAttributeSet, consider them equal only if they are the
7320 (SmallAttributeSet.toString): Fixed to produce output equal to the
7322 (attributeSetPool): New field.
7323 (defaultStyleContext): Initialize lazily.
7324 (defaultStyle): Removed field. This is stored in the style context
7326 (listenerList): Removed field. The NamedStyle stores the
7328 (readAttributeKeys): New static field. Used for looking up
7329 the serialization mappings when reading.
7330 (search): New field. Used as search key.
7331 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7332 (styles): New field. Stores the styles and listeners.
7333 (styleTable): Removed field. Replaced by styles field.
7334 (writeAttributeKeys): New static field. Used for looking up
7335 the serialization mappings when writing.
7336 (static_initializer): Register mappings for all keys in
7338 (StyleContext): Initialize styles correctly.
7339 (addAttributes): Fixed caching of immutable attributes.
7340 (addAttribute): Fixed caching of immutable attributes.
7341 (removeAttributes): Fixed caching of immutable attributes.
7342 (removeAttribute): Fixed caching of immutable attributes.
7343 (addChangeListener): Add listener to styles field.
7344 (removeChangeListener): Remove listener from styles field.
7345 (getChangeListeners): Fetch listeners from styles field.
7346 (addStyle): Add style to styles field.
7347 (cleanupPool): New method.
7348 (getDefaultStyleContext): Lazily create context.
7349 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7350 (getMutableAttributeSet): New helper method. Used for
7352 (getStaticAttribute): Fetch key from readAttributeKeys.
7353 (getStyleNames): Return names from styles field.
7354 (getStyle): Lookup style in styles field.
7355 (removeStyle): Remove style from styles field.
7356 (readAttributeSet): Fixed deserialization.
7357 (writeAttributeSet): Fixed serialization.
7358 (readObject): Fixed deserialization.
7359 (writeObject): Fixed serialization.
7360 (reclaim): Simply cleanup the pool.
7361 (registerStaticAttributeKey): Store mapping in both ways.
7362 (searchImmutableSet): New helper method for caching.
7363 (toString): Fixed for output like the RI.
7364 * javax/swing/text/StyleConstants.java
7365 (keys): New field. Stores all known keys.
7366 (StyleConstants): Store created key in keys list.
7367 * javax/swing/event/EventListenerList.java
7368 (readObject): Fixed deserialization.
7369 (writeObject): Fixed serialization.
7371 2006-08-25 Roman Kennke <kennke@aicas.com>
7373 * javax/swing/text/CompositeView.java
7374 (insets): Removed. Replaced by single short fields.
7375 (top): New field. Replaces insets.
7376 (bottom): New field. Replaces insets.
7377 (left): New field. Replaces insets.
7378 (right): New field. Replaces insets.
7379 (CompositeView): Initialize insets fields.
7380 (createDefaultLocation): Removed unneeded method.
7381 (getBottomInset): Return field directly.
7382 (getTopInset): Return field directly.
7383 (getLeftInset): Return field directly.
7384 (getRightInset): Return field directly.
7385 (getInsideAllocation): Adjusted to work on new insets fields.
7386 (getViewIndex): Fixed check.
7387 (loadChildren): Don't replace the old children.
7388 (replace): Make sure that there is an array to operate on.
7389 Only set parent to null, when it is this View.
7390 (setInsets): Adjusted to work with new insets fields.
7391 (setParagraphInsets): Fixed to pull insets directly from
7394 2006-08-25 Roman Kennke <kennke@aicas.com>
7396 * javax/swing/text/ComponentView.java
7397 (Interceptor): New inner helper class. Used to propagate
7398 invalidate requests and cache component layout sizes.
7399 (interceptor): New field.
7400 (getAlignment): Fetch alignment from interceptor container.
7401 (getComponent): Don't create component here. This is done
7403 (getMaximumSpan): Fetch layout info from interceptor. Check
7405 (getMinimumSpan): Fetch layout info from interceptor. Check
7407 (getPreferredSpan): Fetch layout info from interceptor. Check
7409 (modelToView): Fixed model to view mapping.
7410 (viewToModel): Fixed view to model mapping.
7411 (paint): Check for null. Set bounds on interceptor rather
7413 (setParentImpl): Install interceptor between component
7414 and hosting container.
7415 (setParent): Call super.setParent() immediately.
7417 2006-08-25 Roman Kennke <kennke@aicas.com>
7419 * javax/swing/text/LabelView.java
7420 (setPropertiesFromAttributes): Only set background when
7421 the corresponding attribute is actually defined, otherwise
7422 set to null, as the StyleConstants would return black.
7423 * javax/swing/text/DefaultStyledDocument.java
7424 (ElementBuffer.documentEvent): Removed obsolete field.
7425 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7426 to correctly update the element structure.
7427 (ElementBuffer.insertContentTag): Removed unused statement.
7428 (ElementBuffer.recreateAfterFracture): Removed
7429 unused obsolete method.
7430 (setCharacterAttributes): Removed unused statement.
7432 2006-08-25 Roman Kennke <kennke@aicas.com>
7434 * examples/gnu/classpath/examples/swing/Demo.java
7435 (LaterMain.run): Removed unused local variable.
7436 (Demo): Don't put desktop in scrollpane.
7437 (addChildren): Removed unused method.
7438 (mkButtonBar): Added HTML demo.
7439 (mkMenuBar): Added HTML demo.
7440 (mkPanel): Removed unused method.
7441 (mkScrollPane): Removed unused method.
7442 (mkTree): Removed unused method.
7443 (valign2str): Removed unused method.
7444 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7445 Initialize text field with some HTML that already works.
7446 (DEBUG): New field. Set to true for debugging output.
7447 (createContent): Dump element tree after parsing.
7449 2006-08-25 Roman Kennke <kennke@aicas.com>
7451 * javax/swing/text/html/CSS.java
7452 (getValue): Added color value conversion.
7453 * javax/swing/text/html/HTMLDocument.java
7454 (HTMLReader.ConvertAction): New class, converts HTML style tags
7456 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7457 * javax/swing/text/html/InlineView.java
7458 (setPropertiesFromAttributes): Implemented to fetch
7459 CSS character attributes.
7460 * javax/swing/text/html/StyleSheet.java
7461 (addCSSAttribute): Convert value.
7462 (getBackground): Implemented to fetch CSS background color
7464 (getForeground): Implemented to fetch CSS color
7466 (getFont): Adjust font size for superscript and subscript.
7467 (translateHTMLToCSS): Rudimentary implementation that
7468 copies the original attributes, so that any CSS attributes in
7469 there are preserved.
7470 (stringToColor): Use CSSColor for conversion.
7471 * gnu/javax/swing/text/html/css/CSSColor.java:
7472 New class. Converts CSS color values to RGB color values.
7473 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7474 Removed. This is more or less replaced by CSSColor and the
7475 ConvertAction in HTMLReader.
7477 2006-08-25 Roman Kennke <kennke@aicas.com>
7479 * javax/swing/text/BoxView.java
7480 (childReqs): Removed obsolete field.
7481 (baselineLayout): Reimplemented for correct baseline layout.
7482 (baselineRequirements): Reimplemented for correct baseline
7484 (updateChildRequirements): Removed obsolete method.
7485 * javax/swing/text/GlyphView.java
7486 (DefaultGlyphPainter.getSpan): Removed unused statement.
7487 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7488 specially. The subscript/superscript layout is performed
7489 via the alignment, the font is supplied by the StyleContext.
7490 (breakView): Removed unused statements.
7491 (getAlignment): Adjust alignment according to the
7492 superscript/subscript setting.
7493 (getFont): Reimplemented to fetch the font from the style
7494 context, or from the document if the stylecontext is not
7496 (getPreferredSpan): Adjust span for superscript. Use switch
7498 * javax/swing/text/LabelView.java
7499 (setPropertiesFromAttributes): Fetch background and foreground
7500 from document / style context.
7501 (isSubscript): Resync properties if needed.
7502 * javax/swing/text/ParagraphView.java
7503 (Row.calculateMinorAxisRequirements): Overridden to perform
7505 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7507 2006-08-24 Roman Kennke <kennke@aicas.com>
7509 * javax/swing/text/Utilities.java
7510 (BUF_LENGTH): Removed unused field.
7511 (drawTabbedText): Removed unneeded cast.
7512 (getBreakLocation): Removed unneeded cast.
7513 Fixed offset to account for Segments not starting at 0.
7515 2006-08-24 Roman Kennke <kennke@aicas.com>
7517 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7518 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7519 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7520 (ScrollingPane.updateUI): Likewise.
7521 (calculateTabWidth): Rewritten to correctly and efficiently
7522 layout the tab width.
7523 (layoutLabel): Call SwingUtilities method with the tabPane
7525 (paintContentBorderLeftEdge): Removed unused statement.
7526 (paintContentBorderRightEdge): Removed unused statement.
7527 (paintContentBorder): Removed unused statement.
7529 2006-08-24 Roman Kennke <kennke@aicas.com>
7531 * javax/swing/plaf/basic/BasicTextUI.java
7532 (RootView.getAttributes): Overridden to return null,
7533 as the RootView has no parent.
7535 2006-08-24 Roman Kennke <kennke@aicas.com>
7537 * javax/swing/text/html/CSSParser.java: Removed.
7538 * javax/swing/text/html/CSS.java
7539 (getValue): New helper method. Returns special converter
7540 instances for certain kinds of property values.
7541 * javax/swing/text/html/HTMLDocument.java
7542 (HTMLReader.CharacterAction.start): Don't translate tags
7543 here. Instead, store the attributes directly with the tag
7545 (content): Removed field. The Content object is handled
7546 by AbstractDocument.
7547 (styleSheet): Removed field. The styleSheet is the styleContext
7548 of this document and handled by the DefaultStyledDocument already.
7549 (HTMLDocument(Content,StyleSheet): Simply call super here.
7550 The super classes already handle the content and styleContext.
7551 (HTMLDocument()): Call this() with a default GapContent and
7553 (getStyleSheet): Return the styleContext here.
7554 (insertUpdate): New method. Overridden to add the
7555 CONTENT dummy tag to the element's attributes.
7556 (setBase): Set the base on the styleContext.
7557 * javax/swing/text/html/HTMLEditorKit.java
7558 (styleContext): Removed unneeded field.
7559 (styleSheet): Made field private.
7560 (HTMLEditorKit): Do nothing here. The StyleSheet is
7561 created lazily in getStyleSheet(). A styleContext is not
7563 (getStyleSheet): Create StyleSheet correctly.
7564 (insertHTML): Removed unneeded cast.
7565 * javax/swing/text/html/InlineView.java
7566 (attributes): New field.
7567 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7568 (getAttributes): Implemented to fetch the attributes from
7570 * javax/swing/text/html/MultiAttributeSet.java: New class.
7571 Multiplexes between several AttributeSets.
7572 * javax/swing/text/html/MultiStyle.java: New class.
7573 Multiplexes between several Styles.
7574 * javax/swing/text/html/ParagraphView.java
7575 (attributes): New field.
7576 (getAttributes): Implemented to fetch the attributes from
7578 * javax/swing/text/html/StyleSheet.java
7579 (CssParser): Removed inner class.
7580 (CSSStyle): New inner class. Represents a style defined
7582 (CSSStyleSheetParserCallback): New class, for parsing
7584 (css): New field. Stores the CSS rules.
7585 (resolvedStyles): New field. Stores resolved styles.
7586 (StyleSheet): Initialize resolvedStyles map.
7587 (addRule): Removed bogus impl.
7588 (getFont): Implemented to fetch font, based on CSS rules.
7589 (getResolvedStyle): New helper method. Looks up resolved
7590 styles, and resolves a style if necessary.
7591 (resolveStyle): New pair of helper methods. Resolves
7593 (getRule(String)): Provide rudimentary implementation.
7594 (getRule(Tag,Element)): Implemented.
7595 (getViewAttributes): Implemented.
7596 (loadRules): Implemented.
7597 (translateHTMLToCSS): Tagged as not implemented.
7598 * javax/swing/text/html/ViewAttributeSet.java: New class.
7600 2006-08-24 Roman Kennke <kennke@aicas.com>
7602 * javax/swing/text/FlowView.java:
7603 (LogicalView.getAttributes): New method. Overrides super
7604 impl to return the attributes of the FlowView instance.
7605 * javax/swing/text/LabelView.java:
7606 (setPropertiesFromAttributes): Fetch attributes from
7607 View, rather then from the Element. (In the HTML
7608 package the getAttributes() method is overridden to
7609 return different attributes). Fetch font from the StyledDocument.
7611 2006-08-24 Roman Kennke <kennke@aicas.com>
7613 * javax/swing/text/DefaultEditorKit.java:
7614 (DefaultKeyTypedAction.actionPerform): Also filter
7615 ALT and CTRL modifiers.
7617 2006-08-24 Roman Kennke <kennke@aicas.com>
7619 * gnu/javax/swing/text/html/css/FontSize.java,
7620 * gnu/javax/swing/text/html/css/FontStyle.java,
7621 * gnu/javax/swing/text/html/css/FontWeight.java:
7622 New classes. Used to convert CSS font attributes to AWT/Swing
7625 2006-08-24 Francis Kung <fkung@redhat.com>
7626 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7627 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7628 (srccs, dstcs, rasterValid): Variables removed.
7629 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7630 (copyRaster): Check for null rendering hints
7631 (createCompatibleColorModel): New private method.
7632 (createCompatibleDestImage): Re-implemented.
7633 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7634 (createCompatibleDestRaster(Raster)): Re-implemented.
7635 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7636 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7637 (getPoint2D): Clean up formatting.
7638 * java/awt/image/ComponentColorModel.java
7639 (constructor): use findBits method instead of passing null.
7640 (findBits): New method.
7642 2006-08-24 Gary Benson <gbenson@redhat.com>
7644 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7647 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7649 * java/lang/ref/Reference.java
7650 (queue, nextOnQueue): Made volatile.
7651 (enqueue): Made thread safe.
7652 * java/lang/ref/ReferenceQueue.java
7654 (poll): Removed synchronized.
7655 (enqueue): Changed to synchronize on lock object, to update Reference
7656 state and return success status.
7657 (dequeue, remove): Synchronize on lock object.
7659 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7661 * java/security/SecureClassLoader.java
7662 (protectionDomainCache): Changed to HashMap.
7663 (SecureClassLoader): Removed redundant security check.
7664 (defineClass(String,byte[],int,int,CodeSource): Moved
7665 protection domain lookup/construction to new method.
7666 (defineClass(String,ByteBuffer,CodeSource): New method.
7667 (getProtectionDomain): New method.
7669 2006-08-23 Roman Kennke <kennke@aicas.com>
7671 * javax/swing/JComponent.java
7672 (isRepainting): Made package private.
7673 (paintChild): New field.
7674 (findOpaqueParent): Removed method. This is now in
7676 (findOverlapFreeParent): Removed method. This is now
7677 in paintImmediately2().
7678 (findPaintRoot): Removed method. This is now
7679 in paintImmediately2().
7680 (isCompletelyObscured): Changed to take rectangle as single
7682 (isPaintingDoubleBuffered): Removed method. This is now
7683 in paintImmediately2().
7684 (isPartiallyObscured): New helper method.
7685 (onTop): New helper method for optimization.
7686 (paintChildren): Paint only to specific child when
7687 requested like this from paintImmediately2().
7688 (paintDoubleBuffered): Changed to take rectangle as single int
7690 (paintImmediately2): Changed to take rectangle as single int
7691 arguments. Optimized determination of paint root.
7692 (paintImmediately(Rectangle)): Change to delegate to
7693 paintImmediately(int,int,int,int).
7694 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7695 and start painting there.
7696 (paint): Call paintDoubleBuffered() with int arguments. Only
7697 paint component, when not completely occupied by opaque child.
7698 (processKeyBinding): Removed unnecessary cast.
7699 (isOccupiedByChild): New helper method.
7700 * javax/swing/RepaintManager.java
7701 (repaintUnderway): Removed obsolete field.
7702 (commitRequests): Removed obsolete field.
7703 (RepaintManager): Removed initialization of obsolete fields.
7704 (addDirtyRegion): Removed unused statement.
7705 (commitBuffer): Changed to take plain ints as argument.
7706 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7707 Compute offsets in place, rather than using SwingUtilities.
7708 (paintDirtyRegions): Removed unused field.
7709 * javax/swing/JMenuItem.java
7710 (onTop): Return true when not descendant of JInternalFrame.
7711 * javax/swing/JPopupMenu.java
7712 (onTop): Return true.
7713 * javax/swing/JToolTip.java
7714 (onTop): Return true.
7715 * javax/swing/JViewport.java
7716 (paintImmediately2): Change signature to match the
7717 corresponding JComponent method.
7719 2006-08-23 Tania Bento <tbento@redhat.com>
7721 * java/awt/Color.java
7722 (brighter): Modified algorithm to correctly determine the
7723 new brighter colour.
7725 2006-08-23 Roman Kennke <kennke@aicas.com>
7727 * java/awt/Container.java
7728 (maxSize): Removed field. This is already declared in Component.
7729 (validateTree): Check for ContainerPeer. Don't addNotify here.
7730 Only validate Component instances if they are invalid.
7732 2006-08-22 Roman Kennke <kennke@aicas.com>
7734 * javax/swing/JComponent.java
7735 (preferredSize): Removed field.
7736 (maximumSize): Removed field.
7737 (minimumSize): Removed field.
7738 (getMaximumSize): Adjusted to delegate to Component, rather
7739 then managing the size in JComponent.
7740 (getMinimumSize): Adjusted to delegate to Component, rather
7741 then managing the size in JComponent.
7742 (getPreferredSize): Adjusted to delegate to Component, rather
7743 then managing the size in JComponent.
7744 (isMaximumSizeSet): Removed.
7745 (isMinimumSizeSet): Removed.
7746 (isPreferredSizeSet): Removed.
7747 (setMaximumSize): Removed.
7748 (setMinimumSize): Removed
7749 (setPreferredSize): Removed.
7751 2006-08-22 Roman Kennke <kennke@aicas.com>
7753 * javax/swing/AbstractButton.java
7754 (ButtonChangeListener.stateChanged): Delegate to combined
7756 (EventHandler): New inner class. Handles all three types
7757 of events on the model.
7758 (eventHandler): New field. Stores the combined event
7760 (AbstractButton): Moved listener initialization to
7762 (createActionListener): Return combined handler.
7763 (createChangeListener): Return combined handler.
7764 (createItemListener): Return combined handler.
7765 (getEventHandler): New helper method for creating the combined
7767 (setModel): Initialize listeners here.
7768 * javax/swing/plaf/basic/BasicButtonListener.java
7769 (ButtonAction): New class. Implements the keyboard action
7771 (checkOpacity): Implemented.
7772 (createDefaultActionMap): New helper method.
7773 (installKeyboardActions): Rewritten to install InputMap
7774 and ActionMap according to 'new' keyboard input method.
7775 (mouseClicked): Commented as no-op.
7776 (mouseDragged): Commented as no-op.
7777 (mouseMoved): Commented as no-op.
7778 (propertyChange): Check for contentAreaFilled change and
7779 update opacity. Pull handling of HTLM in font and text handler.
7780 (stateChanged): Repaint button.
7781 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7782 * javax/swing/plaf/basic/BasicButtonUI.java
7783 (listener): Removed.
7784 (sharedListener): New static field. Stores the shared listener.
7785 (sharedUI): New static field. Stores the shared UI.
7786 (createButtonListener): Return shared instance here.
7787 (createUI): Return shared instance here.
7788 (getButtonListener): New helper method. Looks for the
7789 BasicButtonListener installed on a button and returns it.
7790 (installDefaults): Correctly install rollover property here.
7791 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7792 (installKeyboardActions): Fetch listener with new helper method.
7793 (installListeners): Don't use removed field. Check for null.
7794 (installUI): Added comment about order of method invocations.
7795 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7796 (uninstallKeyboardActions): Fetch listener with new helper method.
7797 (uninstallListeners): Fetch listener with new helper method.
7798 (paintIcon): Paint icon offset when pressed and armed.
7799 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7800 * javax/swing/plaf/metal/MetalButtonUI.java
7801 (sharedUI): New field. Stores the shared UI.
7802 (MetalButtonUI): Don't initialize fields here.
7803 (createButtonListener): Removed method. Use super impl.
7804 (createUI): Return shared instance.
7805 (getDisabledTextColor): Update field here.
7806 (getFocusColor): Update field here.
7807 (getSelectColor): Update field here.
7808 (installDefaults): Don't handle rollover property here.
7809 (uninstallDefaults): Don't handle rollover property here.
7810 (paintButtonPressed): Use accessor method to update the
7813 2006-08-21 Mark Wielaard <mark@klomp.org>
7815 Merge NATIVE_LAYER branch.
7817 2006-08-20 Mark Wielaard <mark@klomp.org>
7819 * doc/tools.texinfo: Add file from trunk.
7820 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7821 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7823 * native/jni/java-lang/java_lang_VMProcess.c
7824 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7825 * native/jni/java-net/java_net_VMInetAddress.c
7826 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7827 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7829 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7831 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7833 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7835 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7837 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7839 * include/java_lang_VMProcess.h: Regenerated.
7841 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7843 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7844 (nativeReceive): Fixed the type of the arrays (use java types).
7845 (nativeSendTo): Force throwing an exception if port is 0.
7847 * native/jni/java-net/javanet.c:
7848 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7850 (_javanet_recvfrom): Likewise.
7851 (_javanet_sendto): Throw a NullPointerException if the socket is
7852 not connected and no address is given.
7854 * native/jni/java-net/javanet.h
7855 (NULL_EXCEPTION): Defined.
7857 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7859 * native/jni/java-net/java_net_VMInetAddress.c
7860 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7863 * native/jni/java-net/javanet.c
7864 (_javanet_accept): Fixed bogus call to TARGET.
7865 (_javanet_create_inetaddress): Fixed address generation. Fixed
7867 (_javanet_bind): set "Reuse address" flag.
7869 * native/jni/native-lib/cpio.c
7870 (cpio_getModificationTime): Fixed type.
7871 (cpio_removeFile): Use rmdir too.
7873 * native/jni/native-lib/cpnet.c
7874 (cpnet_getHostByName): Fixed error detection.
7876 * native/jni/native-lib/cpnet.h
7877 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7879 (cpnet_IPV4AddressToBytes): Fixed types.
7881 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7883 * native/jni/native-lib/cpio.c
7884 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7886 * native/jni/native-lib/cpnet.h:
7887 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7888 messed by signs in jbyte.
7890 * native/jni/native-lib/cpproc.h
7891 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7893 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7895 * native/jni/native-lib/cpnet.c
7896 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7897 (waitForWritable, waitForReadable): New functions.
7898 (socketTimeouts): New static global table to hold timeouts for all
7900 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7901 Added waitForXXXX safeguards to handle socket timeouts.
7903 * native/jni/java-net/javanet.c
7904 (_javanet_accept): Check for the right error value when a timeout
7907 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7909 * native/jni/java-io/Makefile.am,
7910 native/jni/java-lang/Makefile.am,
7911 native/jni/java-net/Makefile.am,
7912 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7914 * native/jni/native-lib/Makefile.am: Added cpproc.c
7916 * native/jni/native-lib/cpio.c: Implemented missing functions for
7919 * native/jni/native-lib/cpnet.c
7920 (cpnet_getHostByName): Fixed address array initialization.
7922 * native/jni/native-lib/cpproc.c: Implemented.
7924 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7926 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7928 * m4/gcc_attribute.m4: New file from ac_archive.
7930 * native/jni/java-net/javanet.c: Adapted to cpnet API
7933 * native/jni/native-lib/cpnet.c: Implemented.
7935 * native/jni/native-lib/cpnet.h
7936 (cpnet_openSocketDatagram,
7937 cpnet_openSocketStream): These calls need an address family now.
7938 (cpnet_IPV4AddressToBytes,
7939 cpnet_bytesToIPV4Address): Convert the address to network order.
7941 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7943 * native/jni/java-io/java_io_VMFile.c,
7944 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7945 native/jni/midi-dssi/dssi_data.h,
7946 native/jni/native-lib/cpio.c,
7947 native/jni/native-lib/cpmath.h: Removed cpmath
7948 dependency. Fixed coding style.
7950 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7952 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7953 dependency. Simplified the JNI code by moving some part into the
7956 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7958 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7960 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7961 errors. Removed any remaining TARGET invocations.
7963 * native/jni/java-net/javanet.c
7964 (_javanet_create_inetaddress): Removed spurious arr and
7965 octets. Fixed compilation errors.
7967 * native/jni/native-lib/cpnet.h
7968 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7969 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7970 cpnet_isIPV4Address): New functions.
7971 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7974 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7976 * native/jni/java-io/java_io_VMFile.c,
7977 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7978 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7979 native/jni/java-net/javanet.c,
7980 native/jni/java-net/javanet.h: Adapted the VM layer code
7981 to the new native layer.
7983 * native/jni/native-lib/cpnet.h
7984 (cpnet_addMembership,
7985 cpnet_dropMembership,
7986 cpnet_getAvailableBytes): Added the declarations of
7988 (cpnet_newIPV6Address,
7989 cpnet_IPV6AddressToBytes,
7990 cpnet_bytesToIPV6Address): Implemented.
7991 (cpnet_newIPV4Address): Initialize the sin_family field.
7993 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7995 * native/target: Removed.
7997 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7998 Makefile generation.
8000 * native/jni/native-lib/Makefile.am,
8001 native/jni/native-lib/cpnet.h,
8002 native/jni/native-lib/cpnet.c
8003 native/jni/native-lib/cpio.h,
8004 native/jni/native-lib/cpio.c,
8005 native/jni/native-lib/cpmath.h: Imported new native compatibility
8008 2006-08-21 Roman Kennke <kennke@aicas.com>
8010 * gnu/javax/swing/text/html/css/CSSParser.java:
8012 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8014 * gnu/javax/swing/text/html/css/CSSParserException.java:
8016 * gnu/javax/swing/text/html/css/CSSScanner.java:
8017 Adjusted API comments. Made all constants package private.
8018 (EOF): New constant field.
8019 (parseBuffer): Made package private.
8020 (tokenEnd): Made package private.
8021 (CSSScanner): Initialize lookahead buffer with -1.
8022 (main): Print out to System.out rather then System.err.
8023 (nextToken): Push back character after IDENT.
8025 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8027 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8029 2006-08-21 Roman Kennke <kennke@aicas.com>
8031 * gnu/javax/swing/text/html/css/CSSScanner.java
8032 (main): Use buffered input stream.
8033 (nextToken): Removed 65536 workaround. Use int value directly
8034 without cast to char.
8035 (readComment): Use int value directly without cast to char.
8036 Cast to char only when putting the character into the buffer.
8037 (readEscape): Likewise.
8038 (readIdent): Likewise.
8039 (readName): Likewise.
8040 (readNum): Likewise.
8041 (readString): Likewise.
8042 (readWhitespace): Likewise.
8044 2006-08-21 Ingo Proetel <proetel@aicas.com>
8046 * java/io/InputStreamReader.java
8047 (bytesCache): New field.
8048 (cacheLock): New field.
8049 (read(byte[],int,int): Avoid allocations of new byte
8050 array on every call and reuse cached byte array if possible.
8052 2006-08-21 Roman Kennke <kennke@aicas.com>
8054 * gnu/java/net/local/LocalSocketImpl.java
8055 Only load native lib if this is supported by runtime.
8056 * native/jni/java-net/local.c
8057 Include config.h unconditionally.
8058 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8059 Include config.h unconditionally.
8061 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8063 * java/io/ObjectInputStream.java
8064 (objectLookupTable): Changed to be a Vector.
8065 (ObjectInputStream): Initialize objectLookupTable as Vector.
8066 (assignNewHandle): Store Object using handle index rather than
8067 Hashtable, using the new rememberHandle() method.
8068 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8069 with a caching in ObjectStreamClass.
8070 (inputGetObjectStreamClass): Replaced by hierarchy().
8071 (lookupHandle): New method. Looks up an object by it's handle
8073 (parseContent): Avoid creating of Integer objects. Use
8074 hierarchy() method for looking up the class hierarchy.
8075 (processResolution): Use rememberHandle() to store
8076 handle per index, rather than Hashtabling the object.
8078 (rememberHandle): New method.
8079 * java/io/ObjectOutputStream.java
8080 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8081 Hashtable for improved lookup performance.
8082 (ObjectOutputStream): Initialize OIDLookupTable as
8083 ObjectIdentityMap2Int.
8084 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8085 (findHandle): Change to use ObjectIdentityMap2Int.
8086 (getBooleanField): Removed.
8087 (getByteField): Removed.
8088 (getCharField): Removed.
8089 (getDoubleField): Removed.
8090 (getField): Removed.
8091 (getFloatField): Removed.
8092 (getIntField): Removed.
8093 (getLongField): Removed.
8094 (getObjectField): Removed.
8095 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8096 (writeFields(Object,ObjectStreamField)): New helper method.
8097 Use switch rather then if-else cascade.
8098 (writeObject): Use int handle, rather then Integer.
8099 * java/io/ObjectStreamClass.java
8100 (hierarchy): New field. Caches the class hierarchy.
8101 (methodCache): New field. Caches methods.
8102 (readObjectSignature): New field. Stores the read signature.
8103 (uidCache): New field. Caches UIDs.
8104 (writeObjectSignature): New field. Stores the write signature.
8105 (cacheMethods): Cache methods in methodCache.
8106 (calculateClassID): Outsourced from getClassUID()
8107 for computing the UIDs.
8108 (getClassUIDFromField): Outsourced from getClassUID() for
8109 fetching the UID from the class field.
8110 (getClassUID): Use cached uid if possible. Use new helper
8111 methods for fetching the UID from the field or computing
8113 (getObjectStreamClasses): Removed. Replaced by more
8114 efficient hierarchy() method, that also caches the result.
8115 (hierarchy): Replaces getObjectStreamClasses() for caching
8117 (loadedByBootOrApplicationClassLoader): New helper method.
8118 (setClass): Invalidate hierarchy cache.
8119 (setSuperclass): Invalidate hierarchy cache.
8120 * java/io/ObjectStreamField.java
8121 (field): Made field package private for access from other
8123 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8124 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8125 hashtable for mapping objects to ints.
8127 2006-08-21 Roman Kennke <kennke@aicas.com>
8130 (getAbsolutePath): Fetch absolute path from
8131 VMFile.getAbsolutePath(). Moved actual impl to there.
8132 (isAbsolute): Let VMFile determine the absoluteness.
8133 (toURL): Let VMFile convert the filename.
8134 * vm/reference/java/io/VMFile.java
8135 (getAbsolutePath): New method.
8136 (isAbsolute): New method.
8137 (toURL): New method.
8139 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8141 * NEWS: Added note about updated VM interface.
8143 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8145 * java/lang/management/ManagementFactory.java:
8146 Updated documentation.
8148 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8151 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8153 * gnu/java/util/regex/CharIndexedCharSequence.java,
8154 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8156 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8157 (match): call the new method setHitEnd of the input,
8158 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8159 Some optimization commented out, Use CharIndexed#move1 instead of move.
8160 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8161 * gnu/java/util/regex/REToken.java(match): The method body has been
8162 moved to an internal private method, (matchFake): New method,
8163 (setHitEnd): New method.
8164 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8165 if the match is not complete, (matchOneString): Count the number of
8166 characters which matched the pattern.
8167 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8168 (setFake): New method, (match): Call super.match or super.matchFake.
8169 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8170 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8171 setHitEnd of the input,
8172 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8173 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8174 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8176 2006-08-18 Tom Tromey <tromey@redhat.com>
8178 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8179 the 'int', not the cast char.
8181 2006-08-18 Roger Sayle <roger@eyesopen.com>
8183 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8184 which isn't available in all shells.
8186 2006-08-18 Roger Sayle <roger@eyesopen.com>
8188 * lib/Makefile.am (resources): Fix some shell portability issues.
8190 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8192 * configure.ac (tool-wrappers): Check for ltdl support when tool
8193 wrapper binaries are enabled.
8194 * tools/Makefile.am (LIBJVM): Remove variable.
8195 (AM_CPPFLAGS): Add LIBJVM define.
8196 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8197 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8198 gjavah_LDFLAGS): Remove variables.
8199 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8201 2006-08-18 Tom Tromey <tromey@redhat.com>
8203 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8205 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8207 (readEntries): Likewise.
8209 2006-08-17 Roman Kennke <kennke@aicas.com>
8211 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8212 (layoutLabel): Reset the text and icon rectangles.
8214 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8217 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8218 Transform gappletviewer name using program_transform_name.
8220 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8222 * javax/swing/filechooser/FileSystemView.java
8223 (getFileSystemView): Always return UnixFileSystemView, since
8224 that's the only one we got. Marked with NotImplementedException.
8225 * javax/swing/plaf/basic/BasicFileChooserUI.java
8226 (mouseClicked, installUI): Don't parse path by hand.
8228 2006-08-17 Roman Kennke <kennke@aicas.com>
8230 * javax/swing/JComponent.java
8231 (scrollRectToVisible): Handle intermediate non-JComponents
8234 2006-08-17 Roman Kennke <kennke@aicas.com>
8236 * javax/swing/RepaintManager.java
8237 (blitBuffer): Removed. This is now done in commitBuffer().
8238 (commitBuffer): Always paint on the root window or applet.
8239 No need to look for intermediate heavyweights. Optimized
8240 rectangle translation.
8241 (commitRemainingBuffers): Removed. Not needed anymore.
8242 (getHeavyweightParent): Removed. Not needed anymore.
8243 (getOffscreenBuffer): Fetch offscreen image from the
8244 actual root component.
8245 (paintDirtyRegions): Don't call commitRemainingBuffers().
8247 2006-08-17 Roman Kennke <kennke@aicas.com>
8249 * javax/swing/SwingUtilities.java
8250 (clipString): New helper method for trimming strings.
8251 (layoutCompoundLabelImpl): Fixed algorithm to conform
8252 testsuites. Trim text if it's too long. Avoid creating
8253 new Rectangles. Optimized for performance.
8254 (layoutCompoundLabel): Use switch rather then if-else-chain.
8255 * javax/swing/plaf/basic/BasicButtonUI.java
8259 (paint): Reset and use cached rectangles. Only call paintIcon()
8260 if icon is not null. Don't call paintButtonPressed() when
8261 button is selected, only when it is both armed and pressed.
8262 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8263 (getPreferredButtonSize): Reused cached rectangles rather
8264 then creating new ones. Don't create new Rectangle via
8266 * javax/swing/plaf/basic/BasicLabelUI.java
8267 (getPreferredSize): Correctly reset cached rectangles. Especially
8268 the view rect must have a big size to give it room for layouting.
8269 Short cut layout when text == null.
8270 (paint): Correctly reset cached rectangles.
8271 * javax/swing/plaf/basic/BasicMenuItemUI.java
8272 (resetRectangles): New helper method.
8273 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8274 (paintMenuItem): Correctly reset the cached rectangles.
8275 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8276 (getPreferredSize): Use cached Rectangle objects and initialize
8278 (paint): Use cached Rectangle objects and initialize
8281 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8283 * java/util/Calendar.java: API doc additions.
8285 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8287 * javax/swing/DefaultButtonModel.java:
8288 (setRollover): Simplified statement.
8290 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8292 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8293 (loadClass): Rewritten to use getClassLoader.
8294 (loadProxyClass): Implemented.
8295 (getClassLoader): Fixed support for null or empty codebase.
8296 * gnu/java/rmi/server/RMIObjectInputStream.java
8297 (resolveClass): Use user class loader as default class loader.
8298 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8299 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8300 (loadClass): Simplified and use user class loader instead of
8301 context class loader as default.
8302 * java/io/ObjectInputStream.java
8303 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8304 * vm/reference/gnu/classpath/VMStackWalker.java
8305 (firstNonNullClassLoader): New method.
8306 * vm/reference/java/io/VMObjectInputStream.java
8307 (loaderAction, currentClassLoader): Removed.
8309 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8311 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8312 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8313 by current scroll offset, added method documention.
8314 (getTabBounds(int, Rectangle)): Added method documentation.
8315 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8316 (paintContentBorderLeftEdge): Changed y to 1.
8318 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8320 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8321 (MouseHandler.mouseReleased): Implemented.
8322 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8323 (MouseHandler.mouseEntered): Dito.
8324 (MouseHandler.mouseExited): Dito.
8325 (MouseHandler.mouseMoved): Dito.
8326 (MouseHandler.redispatchEvent): New method.
8327 (PropertyChangeHandler.propertyChange): Added extra block level,
8328 added code to handle tab placement changes, added comment.
8329 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8331 2006-08-16 Roman Kennke <kennke@aicas.com>
8333 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8334 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8337 2006-08-16 Mark Wielaard <mark@klomp.org>
8339 * java/awt/Component.java (orientation): Renamed to
8340 componentOrientation.
8341 (setComponentOrientation): Use new field name.
8342 (getComponentOrientation): Likewise.
8344 2006-08-16 Roman Kennke <kennke@aicas.com>
8347 * javax/swing/plaf/basic/BasicTreeUI.java
8348 (CellEditorHandler.editingCancelled): Call completeEditing
8350 (CellEditorHandler.editingStopped): Call completeEditing
8352 (NodeDimensionHandler.getNodeDimensions): Rewritten
8353 to use the preferred sizes of the renderer and editor.
8354 (TreeExpansionHandler.treeCollapsed): Complete editing
8356 (TreeSelectionHandler.valueChanged): Complete editing
8358 (cancelEditing): Call completeEditing with false, false and
8359 false. Don't call finish (removed method).
8360 (completeEditing(boolean,boolean,boolean): Only do something when
8361 stopEditingInCompleteEditing is true. Nullify editingComponent
8362 and editingPath. Remove editingComponent from tree. Update
8363 the layout when necessary and repaint.
8364 (completeEditing): Stop editing when necessary.
8365 (editorRequestFocus): New helper method. Request focus
8366 on the actual editor.
8367 (finish) Removed. This is now done in completeEditing().
8368 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8369 (setLargeModel): Complete editing here.
8370 (setRootVisible): Complete editing here.
8371 (setRowHeight): Complete editing here.
8372 (setSelectionModel): Complete editing here.
8373 (startEditing): Correctly initialize and start editing.
8374 (updateExpandedDescendants): Complete editing here.
8375 * javax/swing/tree/DefaultTreeCellEditor.java
8376 (DefaultTextField): Fetch size from super and use renderer's height
8378 (EditorContainer.EditorContainer): Set layout to null, just
8380 (EditorContainer.doLayout): Layout so that the editor
8381 is offset to the right of the icon.
8382 (EditorContainer.getPreferredSize): Implemented to
8383 provide a reasonable preferred size.
8384 (EditorContainer.paint): Position icon in the middle.
8385 Also paint border if appropriate.
8386 (EditorContainer.setBounds): Removed.
8387 (RealEditorListener): Removed.
8388 (DefaultTreeCellEditor): Set correct border.
8389 (cancelCellEditing): Message real editor. Call finish().
8390 (createCellEditor): Don't add listener.
8391 (determineOffset): Correctly determine offset, and update
8393 (finish): New helper method.
8394 (getTreeCellEditorComponent): Set correct font. Call
8395 prepareForEditing() and determineOffset() to correctly initialize
8397 (stopCellEditing): Messsage realEditor to stop editing. Call
8399 (stopEditingTimer): Removed.
8400 (valueChanged): Correctly reset lastPath.
8401 * javax/swing/tree/DefaultTreeCellRenderer.java
8402 (getPreferredSize): Return super plus some extra space for
8405 2006-08-16 Roman Kennke <kennke@aicas.com>
8407 * javax/swing/plaf/metal/MetalTreeUI.java
8408 (LineStyleListener): New property listener, that updates
8409 the line style setting if the corresponding property
8411 (lineStyleListener): New field.
8412 (lineStyle): New field.
8413 (LINE_STYLE_ANGLED): New constant field.
8414 (LINE_STYLE_HORIZONTAL): New constant field.
8415 (LINE_STYLE_NONE): New constant field.
8416 (LINE_STYLE_VALUE_ANGLED): New constant field.
8417 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8418 (LINE_STYLE_VALUE_NONE): New constant field.
8419 (LINE_STYLE_PROPERTY): New constant field.
8420 (decodeLineStyle): Implemented.
8421 (installUI): Install line style listener. Set initial
8423 (uninstallUI): Uninstall line style listener.
8424 (paintHorizontalPartOfLeg): Only call super for angled
8426 (paintVerticalPartOfLeg): Only call super for angled
8428 (paintHorizontalSeparators): Implemented.
8429 (paint): If lineStyle==HORIZONTAL, call
8430 paintHorizontalSeparators().
8431 * examples/gnu/classpath/examples/swing/TreeDemo.java
8432 (createContent): Add panel for selecting line styles.
8434 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8436 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8437 (createContent): Rewritten.
8438 (createPlacementChangingMenuItem): New method.
8439 (createLayoutPolicyChangingMenuItem): New method.
8440 (createTabbedPane): New method.
8441 (createTabContent): New method.
8443 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8445 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8446 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8447 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8449 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8451 * javax/swing/text/WrappedPlainView.java:
8452 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8453 (calculateBreakPosition): Add p0 to return value.
8455 2006-08-15 Roman Kennke <kennke@aicas.com>
8457 * javax/swing/plaf/basic/BasicTreeUI.java
8458 (MouseHandler.selectedOnPress): New field.
8459 (MouseHandler.handleEvent): New helper method for handling
8460 selection and start/stop editing for mouse events.
8461 (MouseHandler.mouseDragged): Commented as no-op method.
8462 (MouseHandler.mouseMoved): Commented as no-op method.
8463 (MouseHandler.mousePressed): Use handleEvent() to handle
8464 selection and editing handling.
8465 (MouseHandler.mouseReleased): Use handleEvent() to handle
8466 selection and editing handling.
8467 (MouseInputHandler.MouseInputHandler): Register itself
8468 as mouse listener on source. Redispatch event to
8470 (MouseInputHandler.dispatch): New helper method.
8471 (MouseInputHandler.mouseClicked): Dispatch event.
8472 (MouseInputHandler.mouseDragged): Dispatch event.
8473 (MouseInputHandler.mouseEntered): Stop dispatching
8474 if dragging stopped.
8475 (MouseInputHandler.mouseExited): Stop dispatching
8476 if dragging stopped.
8477 (MouseInputHandler.mouseMoved): Stop dispatching.
8478 (MouseInputHandler.mousePressed): Marked as no-op.
8479 (MouseInputHandler.mouseReleased): Dispatch and stop
8480 dispatching afterwards.
8481 (MouseInputHandler.removeFromSource): Implemented.
8482 (PropertyChangeHandler.propertyChange): Also handle
8483 editable property changes by calling setEditable().
8484 (SelectionModelPropertyChangeHandler.propertyChange):
8485 Reset row selection.
8486 (startEditTimer): Removed.
8487 (setCellEditor): Call updateEditor().
8488 (setEditable): Call updateEditor().
8489 (startEditingAtPath): Make path fully visible before starting
8491 (startEditing): Maybe cancel previous edit session. Add
8492 editing component itself, not its parent container.
8493 Register MouseInputHandler for correctly redispatching
8495 (stopEditing): Message cellEditor and only completeEditing()
8496 when approved by cell editor.
8497 (updateCellEditor): Complete editing before updating
8498 the cell editor. Get cell editor from JTree if possible,
8499 otherwise create default editor. Update the listeners
8501 * javax/swing/tree/DefaultTreeCellEditor.java
8502 (CLICK_COUNT_TO_START): Removed.
8503 (DefaultTreeCellEditor): Install correct border. Let setTree()
8504 update the listeners. Don't initialize lastPath and font yet.
8505 (actionPerformed): Implemented to start editing.
8506 (createTreeCellEditor): Set click count to start to 1, rather than
8508 (isCellEditable): Prepare editor here. Determine if we can
8509 start immediately, or if we trigger a timer to do so.
8510 (prepareForEditing): Don't removeAll() (not necessary),
8511 check editingComponent to be non-null.
8512 (setTree): Update listeners.
8513 (shouldStartEditingTimer): Check for left mouse button.
8514 (startEditingTimer): Lazily create timer.
8516 2006-08-15 Lillian Angel <langel@redhat.com>
8518 * java/awt/dnd/DropTargetDragEvent.java
8519 (getTransferable): Implemented.
8521 2006-08-15 Roman Kennke <kennke@aicas.com>
8523 * java/util/Vector.java
8524 (removeAll): Added comment about NPE.
8525 (retainAll): Added comment about NPE.
8527 2006-08-15 Roman Kennke <kennke@aicas.com>
8529 * java/util/zip/ZipFile.java
8530 (UTF8DECODER): Removed.
8531 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8532 (utf8Decoder): New instance field.
8533 (decodeChars): Lazily create UTF8 decoder. Use instance
8534 field rather than a static field to avoid corruption.
8536 2006-08-15 Roman Kennke <kennke@aicas.com>
8538 * java/io/PrintStream.java
8539 (line_separator): Provide default for system property.
8540 * java/io/FileDescriptor.java
8541 (valid): Create local copy of channel field for better
8544 2006-08-15 Ingo Proetel <proetel@aicas.com>
8546 * java/util/zip/ZipFile.java
8547 (PartialInputStream.UTF8DECODER): New constant field, used
8548 for decoding UTF8 strings.
8549 (readLeShort): Access buffer directly if it has enough bytes
8551 (readLeInt): Access buffer directly if it has enough bytes
8553 (decodeChars): New helper method for decoding UTF8 strings.
8554 (readString): Avoid NIO charset decoder if possible.
8556 2006-08-15 Roman Kennke <kennke@aicas.com>
8558 * java/util/Vector.java
8559 (removeAll): Don't explicitly null-check here. The RI allows
8560 null arguments when Vector is empty. In other cases we
8561 implicitly throw an NPE.
8562 (retainAll): Don't explicitly null-check here. The RI allows
8563 null arguments when Vector is empty. In other cases we
8564 implicitly throw an NPE.
8566 2006-08-14 Casey Marshall <csm@gnu.org>
8568 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8569 of changes made on this branch.
8571 * gnu/classpath/debug/Component.java
8572 * gnu/classpath/debug/SystemLogger.java
8573 * gnu/java/security/action/GetPropertyAction.java
8574 * gnu/java/security/action/GetSecurityPropertyAction.java
8575 * gnu/javax/crypto/RSACipherImpl.java
8576 * gnu/javax/net/ssl/PrivateCredentials.java
8577 * gnu/javax/net/ssl/provider/Alert.java
8578 * gnu/javax/net/ssl/provider/AlertException.java
8579 * gnu/javax/net/ssl/provider/Certificate.java
8580 * gnu/javax/net/ssl/provider/CertificateRequest.java
8581 * gnu/javax/net/ssl/provider/CertificateType.java
8582 * gnu/javax/net/ssl/provider/CertificateVerify.java
8583 * gnu/javax/net/ssl/provider/CipherSuite.java
8584 * gnu/javax/net/ssl/provider/ClientHello.java
8585 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8586 * gnu/javax/net/ssl/provider/CompressionMethod.java
8587 * gnu/javax/net/ssl/provider/Constructed.java
8588 * gnu/javax/net/ssl/provider/ContentType.java
8589 * gnu/javax/net/ssl/provider/DiffieHellman.java
8590 * gnu/javax/net/ssl/provider/Extension.java
8591 * gnu/javax/net/ssl/provider/Finished.java
8592 * gnu/javax/net/ssl/provider/Handshake.java
8593 * gnu/javax/net/ssl/provider/Jessie.java
8594 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8595 * gnu/javax/net/ssl/provider/Random.java
8596 * gnu/javax/net/ssl/provider/ServerHello.java
8597 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8598 * gnu/javax/net/ssl/provider/Signature.java
8599 * gnu/javax/net/ssl/provider/Util.java
8600 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8601 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8602 * java/security/MessageDigest.java
8603 * java/security/MessageDigestSpi.java
8604 * java/security/Signature.java
8605 * java/security/SignatureSpi.java
8606 * javax/crypto/Mac.java
8607 * javax/crypto/MacSpi.java
8608 * javax/net/ssl/HandshakeCompletedEvent.java
8609 * javax/net/ssl/HttpsURLConnection.java
8610 * javax/net/ssl/SSLContext.java
8611 * javax/net/ssl/SSLContextSpi.java
8612 * javax/net/ssl/SSLSession.java
8614 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8615 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8616 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8617 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8618 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8619 * gnu/javax/net/ssl/provider/ServerDHParams.java
8620 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8621 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8622 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8623 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8624 * gnu/javax/net/ssl/provider/ServerNameList.java
8625 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8626 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8627 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8628 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8629 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8630 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8631 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8632 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8633 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8634 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8635 * gnu/javax/net/ssl/provider/Record.java
8636 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8637 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8638 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8639 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8640 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8641 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8642 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8643 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8644 * gnu/javax/net/ssl/provider/ExtensionList.java
8645 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8646 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8647 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8648 * gnu/javax/net/ssl/provider/ServerHandshake.java
8649 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8650 * gnu/javax/net/ssl/provider/SessionImpl.java
8651 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8652 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8653 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8654 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8655 * gnu/javax/net/ssl/provider/HelloRequest.java
8656 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8657 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8658 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8659 * gnu/javax/net/ssl/provider/ClientHandshake.java
8660 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8661 * gnu/javax/net/ssl/provider/CertificateURL.java
8662 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8663 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8664 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8665 * gnu/javax/net/ssl/provider/Builder.java
8666 * gnu/javax/net/ssl/provider/Debug.java
8667 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8668 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8669 * gnu/javax/net/ssl/provider/DelegatedTask.java
8670 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8671 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8672 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8673 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8674 * javax/net/ssl/SSLEngine.java
8675 * javax/net/ssl/CertPathTrustManagerParameters.java
8676 * javax/net/ssl/KeyStoreBuilderParameters.java
8677 * javax/net/ssl/X509ExtendedKeyManager.java
8678 * javax/net/ssl/SSLEngineResult.java
8679 * gnu/javax/net/ssl/PreSharedKeyManager.java
8680 * gnu/javax/net/ssl/Session.java
8681 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8682 * gnu/javax/net/ssl/SSLCipherSuite.java
8683 * gnu/javax/net/ssl/AbstractSessionContext.java
8684 * gnu/javax/net/ssl/SessionStoreException.java
8685 * gnu/javax/net/ssl/SSLRecordHandler.java
8686 * gnu/javax/net/ssl/SSLProtocolVersion.java
8687 * gnu/javax/crypto/key/GnuPBEKey.java
8688 * gnu/java/security/util/ByteBufferOutputStream.java
8689 * gnu/java/security/Requires.java
8690 * gnu/javax/security/auth/callback/CertificateCallback.java
8692 * gnu/javax/net/ssl/provider/Context.java
8693 * gnu/javax/net/ssl/provider/DigestInputStream.java
8694 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8695 * gnu/javax/net/ssl/provider/Enumerated.java
8696 * gnu/javax/net/ssl/provider/Extensions.java
8697 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8698 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8699 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8700 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8701 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8702 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8703 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8704 * gnu/javax/net/ssl/provider/KeyPool.java
8705 * gnu/javax/net/ssl/provider/OverflowException.java
8706 * gnu/javax/net/ssl/provider/RecordInput.java
8707 * gnu/javax/net/ssl/provider/RecordInputStream.java
8708 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8709 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8710 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8711 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8712 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8713 * gnu/javax/net/ssl/provider/SSLSocket.java
8714 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8715 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8716 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8717 * gnu/javax/net/ssl/provider/SecurityParameters.java
8718 * gnu/javax/net/ssl/provider/Session.java
8719 * gnu/javax/net/ssl/provider/SessionContext.java
8720 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8721 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8723 2006-08-14 Roman Kennke <kennke@aicas.com>
8725 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8726 (DividerLayout.layoutContainer): Removed debug output.
8727 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8728 (BasicHorizontalLayoutManager.axis): New field.
8729 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8731 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8732 Call new axis constructor.
8733 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8735 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8737 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8738 Refactored to handle direction.
8739 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8740 to handle direction.
8741 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8743 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8744 to handle direction.
8745 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8746 to handle direction.
8747 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8748 to handle direction.
8749 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8751 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8752 New explicit constructor. Calls super with vertical axis.
8753 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8754 to BasicHorizontalLayoutManager.
8755 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8756 moved to BasicHorizontalLayoutManager.
8757 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8758 Functionality moved to BasicHorizontalLayoutManager.
8759 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8760 moved to BasicHorizontalLayoutManager.
8761 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8762 moved to BasicHorizontalLayoutManager.
8763 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8764 Functionality moved to BasicHorizontalLayoutManager.
8765 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8766 moved to BasicHorizontalLayoutManager.
8767 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8768 moved to BasicHorizontalLayoutManager.
8769 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8770 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8771 (BUTTON_SPRITE_R): New constant field.
8772 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8773 L sprite for left buttons.
8775 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8777 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8778 (query_formats): g_free 'name' after usage.
8779 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8780 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8782 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8785 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8788 2006-08-14 Francis Kung <fkung@redhat.com>
8791 * java/awt/image/ColorModel.java
8792 (coerceData): Added check for non-transparent images.
8794 2006-08-14 Francis Kung <fkung@redhat.com>
8796 * java/awt/image/BandCombineOp.java
8797 (BandCombineOp): Perform checks on validity of matrix.
8798 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8799 (filter): Updated to work with new matrix storage.
8800 (getMatrix): Updated javadoc.
8801 (getPoint2D): Formatting change.
8803 2006-08-14 Francis Kung <fkung@redhat.com>
8805 * java/awt/image/AffineTransformOp.java
8806 (AffineTransformOp): Updated javadoc.
8807 (createCompatibleDestImage): Match behaviour of reference implementation.
8808 (createCompatibleDestRaster): Formatting changes.
8809 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8810 (filter(Raster, WritableRaster)): Re-implemented.
8811 (filterBicubic): New private method.
8812 (filterBilinear): New private method.
8813 (filterNearest): New private method.
8814 (getBounds2D): No longer fixed around one point for rotations.
8815 (getInterpolationType): Add support for bicubic interpolation.
8817 2006-08-14 Roman Kennke <kennke@aicas.com>
8819 * javax/swing/plaf/metal/MetalLookAndFeel.java
8820 (MetalLookAndFeel): Moved theme initialization to
8822 (createDefaultTheme): Forward to getCurrentTheme().
8823 (getDefaults): Initialize theme before doing anything else.
8824 (getCurrentTheme): Recognize swing.metalTheme property.
8826 2006-08-14 Roman Kennke <kennke@aicas.com>
8828 * javax/swing/JTable
8829 (getScrollableUnitIncrement): Expose partially exposed
8830 row in scrolling direction.
8832 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8834 * javax/swing/JTable (getScrollableUnitIncrement):
8835 Removing my name as the whole method body have been
8836 recently completely replaced.
8838 2006-08-14 Roman Kennke <kennke@aicas.com>
8841 * javax/swing/text/Utilities.java
8842 (getTabbedTextOffset): Don't add p0 here.
8844 2006-08-14 Roman Kennke <kennke@aicas.com>
8847 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8848 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8849 when wheel is going up.
8851 2006-08-14 Roman Kennke <kennke@aicas.com>
8854 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8855 (BasicOneTouchButton): New inner class.
8856 (DividerLayout.changeButtonOrientation): Removed.
8857 (DividerLayout.positionButtons): Moved into layoutContainer.
8858 (DividerLayout.layoutContainer): Reworked for correct layout.
8859 (OneTouchAction): New inner class.
8860 (centerOneTouchButtons): New field.
8861 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8863 (createLeftOneTouchButton): Reimplemented to return
8864 BasicOneTouchButton.
8865 (createRightOneTouchButton): Reimplemented to return
8866 BasicOneTouchButton.
8867 (getPreferredSize): Reimplemented to return fixed preferredSize.
8868 (oneTouchExpandableChanged): Add OneTouchAction action to
8869 buttons. Don't install mouse listeners.
8870 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8871 (paint): Don't trigger extra paint for buttons.
8872 (propertyChange): Revalidate splitPane when orientation is changed.
8873 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8874 oneTouchExpandable is true.
8875 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8876 (installDefaults): Install dividerSize on the divider too.
8877 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8878 (MetalDividerLayout): Removed. Functionality is already
8879 in BasicSplitPaneDivider.DividerLayout.
8880 (MetalOneTouchButton): New inner class.
8881 (BUTTON_SPRITE): New constant field.
8882 (MetalSplitPaneDivider): Don't change layout.
8883 (createLeftOneTouchButton): Overridden to return custom button
8885 (createRightOneTouchButton): Overridden to return custom button
8887 (paint): Don't trigger button painting. Call super instead.
8889 2006-08-13 Roman Kennke <kennke@aicas.com>
8891 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8892 (installKeyboardAction): Unmarked as stub. Added comment
8893 explaining that the RI seems to do nothing here.
8894 (uninstallKeyboardAction): Unmarked as stub. Added comment
8895 explaining that the RI seems to do nothing here.
8897 2006-08-13 Roman Kennke <kennke@aicas.com>
8900 * javax/swing/ScrollPaneLayout.java
8901 (layoutContainer): Consider the viewportBorder of the
8903 (minimumLayoutSize): Consider the viewportBorder of the
8905 (preferredLayoutSize): Consider the viewportBorder of the
8907 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8908 (installDefaults): Also install viewportBorder if specified.
8909 (paint): Paint viewportBorder if present.
8910 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8911 Don't nullify foreground, background and font. Uninstall
8912 border via LookAndFeel helper method to avoid uninstall
8915 2006-08-13 Roman Kennke <kennke@aicas.com>
8918 * javax/swing/plaf/basic/BasicHTML.java
8919 (HTMLRootView.HTMLRootView): Trigger initial layout.
8920 (HTMLRootView.setSize): Overridden to forward to real view.
8921 * javax/swing/plaf/basic/BasicToolTipUI.java
8922 (PropertyChangeHandler): New inner class. Updates the HTML
8924 (propertyChangeHandler): New field.
8925 (getMaximumSize): Add HTML width delta.
8926 (getMinimumSize): Add HTML width delta.
8927 (getPreferredSize): Reimplemented to use HTML view for size
8928 calculation if appropriate, otherwise use simple stringWidth()
8930 (installListeners): Install propertyChangeHandler.
8931 (uninstallListeners): Uninstall propertyChangeHandler.
8932 (installUI): Update HTML renderer.
8933 (uninstallUI): Update HTML renderer.
8934 (paint): Reimplemented to use HTML view for rendering if
8935 appropriate, simple drawString otherwise.
8936 * javax/swing/plaf/metal/MetalToolTipUI.java
8937 (getPreferredSize): Call super and add accelerator delta.
8938 (paint): Simply call super.
8940 2006-08-13 Roman Kennke <kennke@aicas.com>
8942 * javax/swing/JMenu.java
8943 (changeListener): Renamed to menuChangeListener to avoid
8944 shadowing changeListener field from AbstractButton.
8946 2006-08-13 Roman Kennke <kennke@aicas.com>
8948 * javax/swing/JTree.java
8949 (getScrollableUnitIncrement): Fixed direction.
8950 (getScrollableBlockIncrement): Implemented to scroll one
8952 * javax/swing/tree/VariableHeightLayoutCache.java
8953 (distance): Consider y + height already outside the node.
8955 2006-08-13 Roman Kennke <kennke@aicas.com>
8957 * javax/swing/JTable.java
8958 (getScrollableUnitIncrement): Fixed direction. Make it behave
8960 (getScrollableBlockIncrement): Fixed direction. Make it behave
8963 2006-08-13 Roman Kennke <kennke@aicas.com>
8965 * javax/swing/JList.java
8966 (getScrollableUnitIncrement): Fixed direction. Implemented
8967 horizontal scrolling. Improved usability.
8968 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8970 2006-08-13 Roman Kennke <kennke@aicas.com>
8972 * javax/swing/plaf/basic/BasicScrollBarUI.java
8973 (scrollByUnit): Scroll by -unit when direction is not positive
8974 and +unit otherwise.
8975 (scrollByBlock): Scroll by -unit when direction is not positive
8976 and +unit otherwise.
8978 2006-08-13 Roman Kennke <kennke@aicas.com>
8981 * javax/swing/text/PlainView.java
8982 (paint): Limit painted area to the lines inside the clip
8985 2006-08-13 Roman Kennke <kennke@aicas.com>
8987 * javax/swing/plaf/basic/BasicTextUI.java
8988 (uninstallListeners): Unregister document listener.
8990 2006-08-13 Sven de Marothy <sven@physto.se>
8992 * java/util/Locale.java
8993 (hashcodeCache): New field.
8994 (hashCode): use the above field instead of the serialized one
8995 (writeObject): Removed method.
8996 (readObject): Intern strings.
8997 (equals): Revert to previous method.
8999 2006-08-13 Roman Kennke <kennke@aicas.com>
9001 * javax/swing/JTabbedPane.java
9002 (JTabbedPane): Call setModel() here and let this install the
9003 change listener correctly.
9004 (setModel): Correctly uninstall and reinstall ChangeListener when
9007 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9010 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9011 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9012 (lastDefaultLocale): Removed.
9013 (emptyLocale): Likewise.
9014 (BundleKey.defaultLocale): New field.
9015 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9016 (BundleKey.set): Likewise.
9017 (BundleKey.equals): Take defaultLocal field into consideration.
9018 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9020 2006-08-13 Roman Kennke <kennke@aicas.com>
9022 * javax/swing/JMenu.java
9023 (MenuChangeListener): New inner class, helps firing menu events.
9024 (changeListener): New field.
9025 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9026 (add(Action)): Create Action using createActionComponent()
9027 and add via add(Component).
9028 (setModel): Install and uninstall MenuChangeListener here.
9030 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9033 * java/math/BigInteger.java: Updated copyright year.
9034 (init): Consume as little bytes as possible.
9035 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9036 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9037 as per RI's documentation.
9039 2006-08-13 Sven de Marothy <sven@physto.se>
9041 * java/util/Locale.java
9042 (hashcode): Is a serialized field, not transient.
9043 (equals): Should NOT compare strings by reference.
9044 (readObject/writeObject): Use the default methods and handle the hash
9047 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9050 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9051 Updated documentation.
9053 (getInstance(String, String, Provider, Object[])): Likewise.
9054 Separate checks for null and empty string arguments.
9055 Include as much information as possible in the exception's message.
9056 Do not swallow original exception; instead use it as the cause of the
9057 resulting exception.
9058 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9059 (getInstance(String)): Updated documentation.
9061 Store last exception caught when iterating through all providers.
9062 If no implementation found, raise last exception if one was caught.
9063 (getInstance(String, String)): Updated documentation.
9065 Check for null or empty provider as per RI-5's documentation.
9066 (getInstance(String, Provider)): Updated documentation.
9068 Use as much information as possible in the exception message.
9069 Do not swallow original exception; instead use it as the cause for the
9070 ultimate raised exception(s).
9071 * java/security/cert/CertificateFactory.java: Likewise.
9072 * java/security/cert/CertPathBuilder.java: Likewise.
9073 * java/security/cert/CertPathValidator.java: Likewise.
9074 * java/security/cert/CertStore.java: Likewise.
9075 * java/security/AlgorithmParameterGenerator.java: Likewise.
9076 * java/security/AlgorithmParameters.java: Likewise.
9077 * java/security/KeyFactory.java: Likewise.
9078 * java/security/KeyPairGenerator.java: Likewise.
9079 * java/security/KeyStore.java: Likewise.
9080 * java/security/MessageDigest.java: Likewise.
9081 * java/security/SecureRandom.java: Likewise.
9082 * java/security/Signature.java: Likewise.
9083 * javax/crypto/Cipher.java: Likewise.
9084 * javax/crypto/ExemptionMechanism.java: Likewise.
9085 * javax/crypto/KeyAgreement.java: Likewise.
9086 * javax/crypto/KeyGenerator.java: Likewise.
9087 * javax/crypto/Mac.java: Likewise.
9088 * javax/crypto/SecretKeyFactory.java: Likewise.
9089 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9090 * javax/net/ssl/SSLContext.java: Likewise.
9091 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9093 2006-08-13 Roman Kennke <kennke@aicas.com>
9095 * javax/swing/JEditorPane.java
9096 (getScrollableTracksViewportHeight): Also check maximum size.
9097 * javax/swing/JTextPane.java
9098 (insertIcon): Use input attributes for adding the icon
9100 * javax/swing/plaf/basic/BasicTextUI.java
9101 (RootView.setSize): Overridden to forward to real view.
9102 (getPreferredSize): Trigger setSize() on the view.
9103 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9104 to viewToModel() call, rather then null.
9105 * javax/swing/text/ParagraphView.java
9106 (changedUpdate): Invalide layout. Call super.
9107 * javax/swing/text/SimpleAttributeSet.java
9108 (clone): Use super's clone method to create clone.
9109 * javax/swing/text/StyleConstants.java
9110 (setIcon): Also set element name attribute.
9111 * javax/swing/text/StyledEditorKit.java
9112 (BoldAction.actionPerformed): Actually set the bold attribute,
9114 (setCharacterAttributes): Replaced with more straightforward
9116 * javax/swing/text/TextAction.java
9117 (getFocusedComponent): Implemented.
9118 * javax/swing/text/Utilities.java
9119 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9121 * javax/swing/text/View.java
9122 (changedUpdate): Nullify element change when updateChildren
9125 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9127 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9128 Fix documentation typos.
9130 2006-08-11 David Daney <ddaney@avtrex.com>
9133 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9134 createResponseBodyStream in more cases and with new parameter.
9135 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9136 HEAD and !mayHaveBody responses specially.
9138 2006-08-11 Roman Kennke <kennke@aicas.com>
9140 * javax/swing/text/GlyphView.java
9141 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9142 * javax/swing/text/LabelView.java
9143 (valid): New flag indicating if the text attributes are valid.
9144 (LabelView): Initialize valid field with false.
9145 (setPropertiesFromAttributes): Call setter methods instead
9146 of setting properties directly. Set valid to true.
9147 (changedUpdate): Invalidate attributes. Call super.
9148 (getBackground): Sync attributes if necessary.
9149 (getForeground): Sync attributes if necessary.
9150 (getFont): Sync attributes if necessary.
9151 (isUnderline): Sync attributes if necessary.
9152 (isSuperscript): Sync attributes if necessary.
9153 (isStrikeThrough): Sync attributes if necessary.
9154 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9155 from toolkit if Container is not available yet.
9157 2006-08-11 Roman Kennke <kennke@aicas.com>
9159 * javax/swing/text/PlainView.java
9160 (tabBase): New field.
9161 (tabSize): New field.
9162 (updateMetrics): Update tabSize.
9163 (lineToRect): Only allocate when really necessary.
9164 (modelToView): Use tabBase for offset calculations.
9165 (paint): Only allocate when really necessary. Update tabBase.
9166 (nextTabStop): Fixed tab calculation.
9167 (viewToModel): Correctly handle multiline text and locations
9168 outside the view's bounds. Set bias.
9169 (getLineLength): Use tabBase.
9170 * javax/swing/text/Utilities.java
9171 (drawTabbedText): Don't special case newlines. The views
9172 must take care of this.
9174 2006-08-11 Roman Kennke <kennke@aicas.com>
9176 * javax/swing/text/GapContent.java
9177 (UndoPosRef): New inner class. Used for resetting positions
9178 after undo/redo operations.
9179 (InsertUndo.positions): New field.
9180 (InsertUndo.undo): Store positions in removed range.
9181 (InsertUndo.redo): Restore positions in re-inserted range.
9182 (UndoRemove.positions): New field.
9183 (UndoRemove.UndoRemove): Store positions in removed range.
9184 (UndoRemove.undo): Restore positions in re-inserted range.
9185 (UndoRemove.redo): Store positions in removed range.
9186 (insertString): Create InsertUndo instance before actually
9187 inserting the string.
9188 (remove): Create UndoRemove instance before actually
9190 (getPositionsInRange): Don't clear the Vector. Return Vector
9192 (updateUndoPositions): Implemented to reset all UndoPosRefs
9195 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9197 * java/io/ObjectInputStream.java (readClassDescriptor):
9198 Use class's class loader to resolve field types.
9199 * java/io/ObjectStreamField.java
9200 (ObjectStreamField(String,String,ClassLoader)): Removed.
9201 (ObjectStreamField(String,String)): Don't try to resolve typename.
9202 (resolveType): New method.
9204 2006-08-10 Roman Kennke <kennke@aicas.com>
9206 * javax/swing/text/BoxView.java
9207 (calculateMajorAxisRequirements): Sum up the preferred and
9209 (isAfter): Also add in the rectangle's with/height.
9210 (childAllocation): Don't trigger layout here.
9211 (layoutMinorAxis): Removed debug output.
9212 (getWidth): Consider the insets.
9213 (getHeight): Consider the insets.
9214 (setSize): Consider the insets.
9215 (updateRequirements): Check axis and throw
9216 IllegalArgumentException.
9218 2006-08-10 Roman Kennke <kennke@aicas.com>
9220 * javax/swing/text/AbstractDocument.java
9221 (BidiRootName): New constant field, denotes the element name
9222 for bidi root elements.
9223 (AsyncLoadPriority): New constant field, denotes the property
9224 to store the asynchronousLoadPriority.
9225 (I18N): New constant field, denotes the property for
9227 (bidiRoot): Made field type BidiRootElement.
9228 (AbstractDocument): Build initial element structure for
9230 (getAsynchronousLoadPriority): Implemented. Returns the
9231 value stored in the document properties.
9232 (setAsynchronousLoadPriority): Implemented. Sets the
9233 value stored in the document properties.
9234 (getEndPosition): Implemented to use a Position from the
9236 (getStartPosition): Implemented to use a Position from the
9238 (insertStringImpl): Update the I18N setting if necessary.
9239 (insertUpdate): Update the bidi structure if necessary.
9240 (postRemoveUpdate): Update the bidi structure if necessary.
9241 (putProperty): Update the I18N setting and bidi structure
9243 (updateBidi): New helper method for updating the bidi
9245 (getBidis): New helper method. Fetches the Bidi analysers
9246 for the paragraphs of the range to check.
9247 (dump): Also dump the bidi structure.
9248 (AbstractElement.dump): Indent the '>' correctly.
9249 (AbstractElement.children): Check numChildren rather then
9251 (BidiRootElement): New inner class.
9252 (BidiElement): New inner class.
9254 2006-08-10 Roman Kennke <kennke@aicas.com>
9256 * javax/swing/text/GapContent.java
9257 (getChars): Optimized to only copy array when really necessary.
9258 Respect the partialReturn property.
9260 2006-08-10 Lillian Angel <langel@redhat.com>
9262 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9263 (getComponentPeer): Added check to prevent NPE.
9265 2006-08-10 Gary Benson <gbenson@redhat.com>
9267 * java/security/AccessControlContext.java (<init>):
9268 Avoid a duplicated AccessController.getContext() call.
9270 2006-08-09 Mark Wielaard <mark@klomp.org>
9272 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9273 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9274 * doc/www.gnu.org/announce/20060809.wml: New file.
9276 2006-08-09 Mark Wielaard <mark@klomp.org>
9278 * configure.ac (VERSION): Set to 0.92-generics.
9279 * NEWS: Add updates for 0.92 release.
9281 2006-08-09 Tom Tromey <tromey@redhat.com>
9284 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9285 the pattern match any number of spaces in the text.
9287 2006-08-09 Sven de Marothy <sven@physto.se>
9289 * java/awt/image/BufferedImage.java
9290 (BufferedImage): Reimplement predefined-type constructor.
9291 (observers/tileObservers): Field renamed to tileObservers.
9292 (createDefaultIndexedColorModel): New method.
9294 2006-08-09 Tom Tromey <tromey@redhat.com>
9297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9298 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9299 Create a 'short' array.
9301 2006-08-09 Tom Tromey <tromey@redhat.com>
9303 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9305 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9306 (writeFields): Print "L" after int constant. Don't mangle the field
9307 name. Only print int/long fields.
9309 2006-08-09 Tom Tromey <tromey@redhat.com>
9311 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9314 2006-08-09 Sven de Marothy <sven@physto.se>
9316 * javax/swing/JTree.java
9317 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9318 (setSelectionModel): Null parameter should create an EmptySelectionM.
9320 2006-08-09 Roman Kennke <kennke@aicas.com>
9322 * javax/swing/text/AbstractDocument.java
9323 (insertString): Perform modifications inside a write lock.
9324 (insertStringImpl): Don't lock here. This is already done
9326 (replace): Perform modifications inside a write lock.
9327 (AbstractElement.AbstractElement): Call addAttributes() to
9329 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9330 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9331 (BranchElement.BranchElement): Set lastIndex to -1.
9332 (BranchElement.getElementIndex): Implemented more efficient
9335 2006-08-09 Roman Kennke <kennke@aicas.com>
9337 * javax/swing/text/DefaultStyledDocument.java
9338 (Edit): Moved this inner class into ElementBuffer where it
9340 (edits): Moved this field into ElementBuffer.
9341 (getEditForParagraphAndIndex): Removed obsolete method.
9342 (insertUpdate): Added some optimizations and fixes. Split
9343 out handling insertion after newlines.
9344 (insertAfterNewline): New helper method. Handles insertions
9346 (ElementBuffer.Edit): New inner class. Moved here from
9347 DefaultStyledDocument.
9348 (ElementBuffer.createdFracture): New field.
9349 (ElementBuffer.documentEvent): Made private.
9350 (ElementBuffer.edits): New field. Moved here from
9351 DefaultStyledDocument.
9352 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9353 (ElementBuffer.fracturedChild): New field.
9354 (ElementBuffer.fracturedParent): New field.
9355 (ElementBuffer.insertPath): New field.
9356 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9358 (ElementBuffer.offsetLastIndex): New field.
9359 (ElementBuffer.offsetLastIndexReplace): New field.
9360 (ElementBuffer.recreateLeafs): New field.
9361 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9362 (ElementBuffer.canJoin): New helper method.
9363 (ElementBuffer.changeUpdate): Changed to use elementStack with
9364 Edits rather than Elements. Let the split method do the work.
9365 (ElementBuffer.cloneAsNecessary): New helper method.
9366 (ElementBuffer.createFracture): Changed to fracture the bottommost
9368 (ElementBuffer.finishEdit): New helper method. Moved out
9369 from insertUpdate to perform the actual changes and update
9371 (fracture): New helper method.
9372 (insertContentTag): Fixed some bugs and changed to use Edit
9373 instances in the stack, rather then Elements.
9374 (insertElement): New helper method. Moved out from insertUpdate()
9375 to process the ElementSpecs.
9376 (insertFirstContentTag): Fixed some problems and changed to use Edit
9377 instances in the stack, rather then Elements.
9378 (insertFracture): Removed. Basically moved into createFracture()
9380 (insertParagraph): Removed.
9381 (insertUpdate): Split out the ElementSpec processing into
9382 insertElement(). Use Edit instances in the stack. Fixed some
9384 (insert): Split out the preparation and finishing code into
9385 prepareEdit() and finishEdit().
9386 (join): New helper method.
9387 (pop): New helper method.
9388 (prepareEdit): New helper method.
9389 (recreateFracturedElement): New helper method.
9390 (recreateLeaves): Removed.
9391 (recreate): New helper method.
9392 (removeElements): New helper method. Split out from removeUpdate().
9393 (removeUpdate): Split out the actual removal. Use the
9394 Edit stack to perform removal and perform the remove actions
9395 and event updates afterwards, just like in insertImpl().
9396 (remove): Use prepareEdit() and finishEdit().
9397 (split): Replaced with more flexible impl.
9399 2006-08-09 Sven de Marothy <sven@physto.se>
9401 * gnu/java/awt/peer/gtk/CairoSurface.java
9402 Change class to extend WritableRaster and not DataBuffer.
9403 (CairoDataBuffer): New inner class.
9404 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9405 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9406 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9407 Accomodate the above change.
9409 2006-08-09 Sven de Marothy <sven@physto.se>
9411 * gnu/java/awt/peer/gtk/GtkMainThread.java
9413 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9414 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9415 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9416 * gnu/java/awt/peer/gtk/GtkToolkit.java
9417 Minor style fixes; removed unused fields,
9418 set fields to private where possible.
9419 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9420 Call GtkMainThread.createWindow().
9421 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9422 (dispose): New method.
9423 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9424 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9425 (gtkQuit): New native method.
9427 2006-08-08 Lillian Angel <langel@redhat.com>
9429 * java/awt/Component.java
9430 (setDropTarget): Added check.
9432 2006-08-08 Lillian Angel <langel@redhat.com>
9434 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9435 (GtkDragSourceContextPeer): Added FIXME. Changed call
9437 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9438 (GtkDropTargetContextPeer): Removed target initialization.
9439 * java/awt/Component.java
9440 (setTarget): Removed commented out code.
9442 2006-08-08 Mark Wielaard <mark@klomp.org>
9444 * javax/swing/text/DefaultHighlighter.java: Qualify
9445 Highlighter.HighlightPainter class name for gcj.
9447 2006-08-05 Roman Kennke <kennke@aicas.com>
9449 * javax/swing/plaf/basic/BasicTableUI.java
9450 (MouseInputHandler.mousePressed): Request focus on list
9453 2006-08-05 Roman Kennke <kennke@aicas.com>
9455 * javax/swing/plaf/basic/BasicListUI.java
9456 (MouseInputHandler.mousePressed): Request focus on list
9459 2006-08-05 Roman Kennke <kennke@aicas.com>
9462 * javax/swing/plaf/basic/BasicMenuBarUI.java
9463 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9464 than Tree.actionMap.
9465 * javax/swing/plaf/basic/BasicTreeUI.java
9466 (action): Removed obsolete field.
9467 (uninstallKeyboardActions): Removed action field handling.
9468 (installKeyboardActions): Removed action field handling.
9469 (createDefaultActions): Don't install removed TreeAction.
9470 (TreeAction): Removed obsolete inner class.
9471 (ActionListenerProxy): Removed obsolete inner class.
9472 (MouseHandler.mousePressed): Request focus on JTree component
9475 2006-08-08 Roman Kennke <kennke@aicas.com>
9477 * javax/swing/plaf/basic/BasicListUI.java
9478 (MouseInputHandler.mousePressed): Request focus on list
9481 2006-08-08 Roman Kennke <kennke@aicas.com>
9483 * javax/swing/plaf/basic/BasicTableUI.java
9484 (MouseInputHandler.mousePressed): Request focus on list
9487 2006-08-08 Roman Kennke <kennke@aicas.com>
9489 * javax/swing/plaf/basic/BasicTextUI.java
9490 (damageRange(JTextComponent,int,int)): Call damageRange() with
9491 correct biases, rather than null.
9492 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9493 to use simpler modelToView() approach without much special
9494 casing. This seems not worth the effort and actually
9495 caused problems. Added locking of the document.
9496 * javax/swing/text/BoxView.java
9497 (requirementsValid): New field.
9498 (calculateMajorAxisRequirements): Rewritten without using
9499 SizeRequirements. The SizeRequirements algorithms are slightly
9500 different and too inefficient.
9501 (calculateMinorAxisRequirements): Rewritten without using
9502 SizeRequirements. The SizeRequirements algorithms are slightly
9503 different and too inefficient.
9504 (getAlignment): Simply return the alignment of the cached
9506 (getMaximumSpan): Add insets.
9507 (getMinimumSpan): Add insets.
9508 (getPreferredSpan): Add insets.
9509 (layoutMajorAxis): Rewritten without using
9510 SizeRequirements. The SizeRequirements algorithms are slightly
9511 different and too inefficient.
9512 (layoutMinorAxis): Rewritten without using
9513 SizeRequirements. The SizeRequirements algorithms are slightly
9514 different and too inefficient.
9515 (modelToView): Call setSize() rather than layout().
9516 (paint): Check clip for more efficient painting.
9517 (preferenceChanged): Invalidate requirements here.
9518 (replace): Invalidate requirements here.
9519 (updateRequirements): Update requirements only when requirements
9521 * javax/swing/text/CompositeView.java
9522 (modelToView): Added some more checks and handling of corner cases.
9523 * javax/swing/text/FlowView.java
9524 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9525 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9526 * javax/swing/text/IconView.java
9527 (getAlignment): Implemented to return 1.0 for vertical alignment.
9528 * javax/swing/text/ParagraphView.java
9529 (Row.getMaximumSpan): Implemented to let Rows span the whole
9531 (getAlignment): Fixed horizontal alignment and vertical alignment
9532 for empty paragraphs to be 0.5.
9534 2006-08-08 Roman Kennke <kennke@aicas.com>
9536 * javax/swing/text/View.java
9537 (modelToView): Added special handling for corner case at the end
9538 of the view and for multiline views.
9540 2006-08-08 Roman Kennke <kennke@aicas.com>
9542 * javax/swing/plaf/basic/BasicTextUI.java
9543 (modelToView): Read-lock the document. Set size of the
9544 root view before fetching the model-to-view mapping.
9545 (getViewIndex): Check of the position is inside the range and
9546 return -1 if this is not the case.
9547 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9549 (getViewIndexAtPosition(int)): Delegate the index search to
9550 the element since we have a 1:1 mapping between elements and
9552 * javax/swing/text/DefaultCaret.java
9553 (appear): Ignore BadLocationException.
9554 (paint): Ignore BadLocationException.
9555 * javax/swing/text/FlowView.java
9556 (changedUpdate): Also notify the layoutPool view.
9557 (removeUpdate): Also notify the layoutPool view.
9558 * javax/swing/text/ParagraphView.java
9559 (Row.getViewIndexAtPosition): Overridden to search linearily
9560 through the view instead of relying on a 1:1 model to view
9562 * javax/swing/text/View.java
9563 (removeUpdate): Clear ElementChange object if updateChildren
9565 (forwardUpdate): Special handle some boundary cases.
9567 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9569 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9570 (hasInheritedParameters): New method.
9571 (equals): Updated documentation.
9572 Take into consideration the outcome of hasInheritedParameters invocation.
9573 (toString): Call hasInheritedParameters and adjust the result accordingly.
9574 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9575 Updated documentation.
9576 Handle case of public keys with null p, q, and g MPIs.
9577 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9579 2006-08-07 Tom Tromey <tromey@redhat.com>
9582 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9583 (attachment): Likewise.
9584 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9586 (isValid): Likewise.
9587 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9589 (interestOps): Synchronize.
9590 (readyOps): Likewise.
9591 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9594 2006-08-07 C. Scott Marshall <csm@gnu.org>
9597 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9598 the mark has been set.
9599 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9600 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9603 2006-08-07 Sven de Marothy <sven@physto.se>
9605 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9606 (drawGlyphVector): Synchronize against font object when drawing.
9607 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9608 (nativeDrawGlyphVector): Use pango locking when drawing.
9609 (install_font_peer): Use pango locking when creating the cairo face.
9611 2006-08-06 Roman Kennke <kennke@aicas.com>
9614 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9615 (getPreferredSize): Renamed method to preferredSize(). That's
9616 the one that gets called from java.awt.*.
9617 * java/awt/peer/ComponentPeer.java
9618 (getPreferredSize): Added specnote about this method never
9619 beeing called in the RI.
9620 (getMinimumSize): Added specnote about this method never
9621 beeing called in the RI.
9623 2006-08-03 Sven de Marothy <sven@physto.se>
9625 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9626 (grab, nativeGrab): New methods.
9627 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9628 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9629 (nativeGrab): New method.
9630 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9632 * java/awt/Component.java
9633 (printAll): Should call peer print method.
9635 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9637 * java/net/URL.java (getContent(Class[])): Implement.
9639 2006-08-06 Mark Wielaard <mark@klomp.org>
9642 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9643 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9645 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9648 2006-08-06 Roman Kennke <kennke@aicas.com>
9650 * NEWS: Added note about the X peers.
9651 * INSTALL: Added install notes about the X peers.
9653 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9654 Paul Jenner <psj@harker.dyndns.org>
9656 * README: Update bug, patches and cvs instructions plus new URLs of
9657 various external projects.
9659 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9661 * configure.ac (MOZILLA_FOUND): Fall back to
9662 mozilla-firefox-plugin.
9664 2006-08-06 Mario Torre <neugens@limasoftware.net>
9666 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9667 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9668 g_type_init earlier in function to correctly initialize the
9669 type system used by the backend.
9671 2006-08-05 Roman Kennke <kennke@aicas.com>
9673 * javax/swing/text/DefaultHighlight.java
9674 (DefaultHighlightPainter.paintHighlight): Removed method.
9675 (DefaultHighlightPainter.paintLayer): Implemented.
9676 (DefaultHighlightPainter.paint): Implemented more efficient
9677 painting for multiline-highlights.
9678 (HighlightEntry.p0): Changed to be a Position.
9679 (HighlightEntry.p1): Changed to be a Position.
9680 (HighlightEntry.HighlightEntry): Changed to take Position
9682 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9683 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9684 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9685 and tracks the painted rectangle for efficient repainting.
9686 (addHighlight): Handle layered highlight.
9687 (changeHighlight): Handle layered highlight.
9688 (paintLayeredHighlights): Implemented.
9689 (paint): Paint only non-layered highlights here.
9690 (removeAllHighlights): Trigger correct repaint.
9691 (removeHighlight): Handle layered highlight here for
9692 more efficient repainting.
9693 * javax/swing/text/GlyphView.java
9694 (paint): Handle layered highlights.
9695 * javax/swing/text/PlainView.java
9696 (paint): Handle layered highlights.
9697 * javax/swing/text/WrappedPlainView.java
9698 (WrappedLine.paint): Handle layered highlights.
9700 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9703 * NEWS: As suggested by Paul Jennier, added note about the fix of
9706 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9708 * NEWS: Added entry about the context factories for JNDI.
9710 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9713 * gnu/CORBA/Connected_objects.java (size): New method.
9714 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9716 * javax/naming/spi/NamingManager.java (getURLContext):
9717 Also search for the URL context factories in
9718 gnu/javax/naming/jndi/url.
9719 * gnu/javax/naming/giop/ContextContinuation.java,
9720 gnu/javax/naming/giop/CorbalocParser.java,
9721 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9722 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9723 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9724 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9725 gnu/javax/naming/giop/ListEnumeration.java,
9726 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9727 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9728 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9729 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9730 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9731 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9732 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9733 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9735 2006-08-06 Sven de Marothy <sven@physto.se>
9737 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9738 (drawGlyphVector): Synchronize against font object when drawing.
9739 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9740 (nativeDrawGlyphVector): Use pango locking when drawing.
9741 (install_font_peer): Use pango locking when creating the cairo face.
9743 2006-08-06 C. Scott Marshall <csm@gnu.org>
9746 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9747 the mark has been set.
9748 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9749 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9752 2006-08-06 Mark Wielaard <mark@klomp.org>
9755 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9756 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9758 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9761 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9762 Paul Jenner <psj@harker.dyndns.org>
9764 * README: Update bug, patches and cvs instructions plus new URLs of
9765 various external projects.
9767 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9769 * gnu/java/lang/management/BeanImpl.java:
9770 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9772 (getCachedMBeanInfo()): Return open variant.
9773 (getMBeanInfo()): Likewise.
9774 (getTypeFromClass(Class)): Implemented.
9775 (translateSignature(MBeanParameterInfo)): Likewise.
9776 (translate(String)): Likewise.
9777 * javax/management/StandardMBean.java:
9778 (getMBeanInfo()): Return attribute names with capital letters,
9779 as in docs for java.lang.management.ManagementFactory, and
9780 ensure descriptions are not "".
9781 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9782 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9783 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9784 (toString()): Use Arrays.toString().
9785 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9786 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9787 Set open type here rather than in other constructors.
9789 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9791 * javax/management/MBeanFeatureInfo.java:
9792 Make string variable package-private.
9793 * javax/management/StandardMBean.java:
9794 (getMBeanInterface()): Made final.
9795 * javax/management/openmbean/SimpleType.java:
9798 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9800 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9803 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9805 * examples/gnu/classpath/examples/swing/FillRect.java,
9806 * gnu/CORBA/Focused_ORB.java,
9807 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9808 * gnu/classpath/ByteArray.java,
9809 * gnu/classpath/ObjectPool.java,
9810 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9811 * gnu/java/awt/peer/x/fonts.properties,
9812 * gnu/java/security/util/Prime2.java,
9813 * gnu/javax/imageio/gif/GIFStream.java,
9814 * javax/swing/text/html/HTMLTableView.java,
9815 * native/cni/Makefile.am,
9816 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9817 * org/omg/CORBA/SendingContext/Runtime.java,
9818 * resource/gnu/regexp/MessagesBundle.properties,
9819 * resource/gnu/regexp/MessagesBundle_fr.properties,
9820 * resource/gnu/regexp/MessagesBundle_it.properties,
9821 * tools/appletviewer.in,
9822 * tools/jarsigner.in,
9824 * vm/reference/java/lang/management/VMThreadInfo.java:
9826 * examples/gnu/classpath/examples/awt/aicas.png,
9827 * examples/gnu/classpath/examples/awt/palme.gif,
9828 * examples/gnu/classpath/examples/java2d/aicas.png,
9829 * examples/gnu/classpath/examples/java2d/palme.gif,
9830 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9831 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9832 * java/awt/doc-files/capjoin.png,
9833 * java/awt/geom/doc-files/Area-1.png,
9834 * java/awt/geom/doc-files/Ellipse-1.png,
9835 * java/awt/geom/doc-files/GeneralPath-1.png:
9838 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9843 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9845 * gnu/java/lang/management/BeanImpl.java:
9846 (getAttribute(String)): Implemented.
9848 2006-08-05 Roman Kennke <kennke@aicas.com>
9850 * javax/swing/text/JTextComponent.java
9851 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9852 (AccessibleJTextComponent.textComp): Removed field
9853 and replace with JTextComponent.this construct.
9854 (AccessibleJTextComponent.AccessibleJTextComponent):
9855 Fetch caret position.
9856 (caretUpdate): Implemented. Fires property change events and
9857 updates the caretDot field.
9858 (changedUpdate): Implemented. Fires property change events.
9859 (insertUpdate): Implemented. Fires property change events.
9860 (removeUpdate): Implemented. Fires property change events.
9861 (cut): Replaced textComp with JTextComponent.this construct.
9862 (paste): Replaced textComp with JTextComponent.this construct.
9863 (replaceText): Replaced textComp with JTextComponent.this construct.
9864 (selectText): Replaced textComp with JTextComponent.this construct.
9865 (getCaretPosition): Replaced textComp with JTextComponent.this
9867 (getCharCount): Replaced textComp with JTextComponent.this construct.
9868 (getSelectedText): Replaced textComp with JTextComponent.this
9870 (getSelectionEnd): Replaced textComp with JTextComponent.this
9872 (getSelectionStart): Replaced textComp with JTextComponent.this
9874 (getTextRange): Replaced textComp with JTextComponent.this
9876 (doAccessibleAction): Implemented.
9877 (getAccessibleActionCount): Implemented.
9878 (getAccessibleActionDescription): Implemented.
9879 (getAccessibleStateSet): Implemented.
9880 (getAfterIndex): Implemented.
9881 (getBeforeIndex): Implemented.
9882 (getAtIndex): Implemented.
9883 (getAtIndexImpl): New helper method.
9884 (getCharacterAttribute): Implemented.
9885 (getCharacterBounds): Implemented.
9886 (getIndexAtPoint): Implemented.
9887 (insertTextAtIndex): Implemented.
9888 (setAttributes): Implemented.
9889 (setTextContents): Implemented.
9891 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9893 * configure.ac: Better handling of default-preferences-peer option.
9895 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9897 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9900 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9902 * javax/management/openmbean/TabularData.java:
9903 Documentation corrections.
9904 * javax/management/openmbean/TabularDataSupport.java:
9907 2006-08-04 Francis Kung <fkung@redhat.com>
9909 * java/awt/BasicStroke.java
9910 (dashedStroke): Implemented.
9912 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9914 * javax/management/BadAttributeValueExpException.java,
9915 * javax/management/BadStringOperationException.java,
9916 * javax/management/InstanceAlreadyExistsException.java,
9917 * javax/management/InstanceNotFoundException.java,
9918 * javax/management/InvalidApplicationException.java,
9919 * javax/management/MBeanRegistrationException.java,
9920 * javax/management/MalformedObjectNameException.java,
9921 * javax/management/RuntimeErrorException.java,
9922 * javax/management/RuntimeMBeanException.java,
9923 * javax/management/ServiceNotFoundException.java:
9926 2006-08-04 Roman Kennke <kennke@aicas.com>
9928 * javax/swing/SwingUtilities.java
9929 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9930 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9931 layoutCompoundLabelImpl().
9932 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9933 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9934 layoutCompoundLabelImpl().
9935 (layoutCompoundLabelImpl): New helper method. Moved impl from
9936 layoutCompoundLabel() to here and added handling of HTML.
9937 * javax/swing/plaf/basic/BasicButtonUI.java
9938 (installUI): Update HTML view if appropriate.
9939 (uninstallUI): New method. Do the usual uninstallUI things
9940 and uninstall HTML view.
9941 (getMinimumSize): New method. Adjusts the minimum size
9942 by the HTML view minimum size.
9943 (getMaximumSize): New method. Adjusts the maximum size
9944 by the HTML view maximum size.
9945 (getPreferredSize): Pass the button's iconTextGap to the
9946 BasicGraphicsUtils method.
9947 (paint): Let HTML view paint the text, if present.
9948 * javax/swing/plaf/basic/BasicButtonListener.java
9949 (propertyChange): Update the HTML view when the button's
9952 2006-08-04 Mario Torre <neugens@limasoftware.net>
9954 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9955 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9956 g_type_init earlier in function to correctly initialize the
9957 type system used by the backend.
9959 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9962 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9964 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9966 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9968 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9970 * gnu/xml/dom/DomIterator.java:
9971 (successor): Added if-statement.
9973 2006-08-04 Mark Wielaard <mark@klomp.org>
9975 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9977 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9979 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9980 (update): Check size and paint smaller gradient.
9981 * javax/swing/plaf/metal/MetalBorders.java:
9982 (MenuBarBorder): Removed borderColor field.
9983 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9986 2006-08-03 Roman Kennke <kennke@aicas.com>
9989 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9990 (ComponentHandler.componentResized): Reimplemented to handle
9992 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9993 component listener on changed ancestor.
9994 (installListeners): Install componentListener.
9995 (uninstallListeners): Uninstall componentListener.
9997 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9999 * StrictMath.java (cbrt): Return argument if it is a NaN.
10004 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10006 * java/lang/StrictMath.java (tanh): New method.
10008 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
10010 * scripts/import-cacerts.sh: Batch CA certificates import script.
10012 2006-08-03 Roman Kennke <kennke@aicas.com>
10015 * javax/swing/plaf/basic/BasicListUI.java
10016 (paintCell): Pass row index to cell renderer.
10017 * javax/swing/plaf/basic/MetalFileChooserUI.java
10018 (DirectoryComboBoxRenderer.indentIcon): New field.
10019 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10020 Initialize indentIcon.
10021 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10022 Fall back to super and removed standard functionality.
10023 Handle indentation.
10024 (IndentIcon): New class. Wraps and indents another icon.
10026 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10028 * javax/management/MBeanConstructorInfo.java:
10029 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10030 Copy array rather than directly assigning.
10031 * javax/management/MBeanInfo.java:
10032 (MBeanInfo(String,String,MBeanAttributeInfo[],
10033 MBeanConstructorInfo[], MBeanOperationInfo[],
10034 MBeanNotificationInfo[])): Likewise.
10035 * javax/management/MBeanOperationInfo.java:
10036 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10038 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10039 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10041 * javax/management/openmbean/OpenMBeanInfo.java:
10042 Corrected documentation.
10043 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10045 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10046 Corrected documentation.
10047 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10049 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10050 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10051 Call other constructor rather than reimplementing.
10053 2006-08-02 Lillian Angel <langel@redhat.com>
10055 * java/awt/dnd/DragSource.java
10056 (isDragImageSupported): Implemented.
10057 (getDragThreshold): Changed default value.
10058 * java/awt/dnd/DropTarget.java
10059 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10060 (DropTarget): Likewise.
10061 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10062 (addDropTargetListener): Added check to determine if new DropTargetListener
10063 is this class. If so, an IllegalArgumentException is thrown. If the
10064 new listener is null, nothing happens.
10066 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10068 * configure.ac (MOZILLA_FOUND): Fall back to
10069 mozilla-firefox-plugin.
10071 2006-08-02 Sven de Marothy <sven@physto.se>
10073 * java/awt/geom/AffineTransform.java
10074 (hashCode): Tweak impl.
10075 * java/awt/font/FontRenderContext.java
10076 (hashCode): Implement.
10078 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10080 * java/lang/StrictMath.java (sinh): New method.
10082 2006-08-02 Roman Kennke <kennke@aicas.com>
10085 * javax/swing/JComboBox.java
10086 (setSelectedItem): Fire ActionEvent here.
10087 * javax/swing/plaf/basic/BasicDirectoryModel.java
10088 (directories): Changed to type Vector.
10089 (files): New field.
10090 (loadThread): New field.
10091 (DirectoryLoadThread): New inner class. This loads the contents
10092 of directories asynchronously.
10093 (getDirectories): Return cached Vector.
10094 (getFiles): Return cached Vector.
10095 (getSize): Return plain size of contents Vector.
10096 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10097 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10098 (sort): Don't store sorted list in contents. This must be done
10099 asynchronously from the EventThread.
10100 (validateFileCache): Rewritten for asynchronous reading
10101 of directory contents.
10102 * javax/swing/plaf/basic/BasicFileChooserUI.java
10103 (installListeners): Install model as PropertyChangeListener.
10104 (uninstallListeners): Uninstall model as PropertyChangeListener.
10105 (createPropertyChangeListener): Return null just like the
10108 2006-08-02 Sven de Marothy <sven@physto.se>
10110 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10111 (remove): Force event on removing item 0 when it's selected.
10112 (handleEvent): Always call Choice.selected().
10113 * java/awt/Choice.java:
10114 (remove): Simplify and correct.
10116 2006-08-02 Mark Wielaard <mark@klomp.org>
10119 * configure.ac (gconf-peer): Check for gdk-2.0.
10120 * native/jni/gconf-peer/Makefile.am
10121 (AM_LDFLAGS): Use GDK_LIBS.
10122 (AM_CFLAGS): Use GDK_CFLAGS.
10124 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10126 * java/net/URL.java (getContent(Class[])): Implement.
10128 2006-08-02 Roman Kennke <kennke@aicas.com>
10131 * javax/swing/JMenu.java
10132 (JMenu()): Removed setting of delay.
10133 (JMenu(String)): Removed setting of delay.
10134 (JMenu(Action)): Removed setting of delay.
10135 (JMenu(String,boolean)): Removed setting of delay.
10136 (setSelectedHelper): Removed unneeded method.
10137 (setSelected): Simply set the model state.
10138 (setPopupMenuVisible): Recognize the popup location
10139 determined by getPopupMenuOrigin().
10140 (getPopupMenuOrigin): Recognize the UI properties for
10142 (menuSelectionChanged): Call setSelected() directly.
10143 * javax/swing/JPopupMenu.java
10144 (menuSelectionChanged): If invoker is a JMenu, then delegate
10145 to that to get the position right.
10146 * javax/swing/Popup.java
10147 (LightweightPopup.show): Insert the popup as first component
10148 in the layer, so that it overlaps it's caller.
10149 * javax/swing/plaf/basic/BasicMenuItemUI.java
10150 (getPath): Don't include the popup.
10151 * javax/swing/plaf/basic/BasicMenuUI.java
10152 (SelectMenuAction): New class. This invokes the popup when
10153 a menu is selected.
10154 (installDefaults): Install delay of 200 ms.
10155 (setupPostTimer): Implemented.
10156 (MouseInputHandler.mouseClicked): Do nothing here.
10157 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10158 magic to handle the selection. Open the menu via a timer.
10159 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10160 magic to handle the selection. Open the menu via a timer.
10161 (MenuDragMouseHandler.menuMouseDragged): Probably use
10163 (menuDragMouseEntered): Do nothing here.
10165 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10167 * javax/management/openmbean/InvalidOpenTypeException.java,
10168 * javax/management/openmbean/KeyAlreadyExistsException.java:
10171 2006-08-02 Roman Kennke <kennke@aicas.com>
10174 * javax/swing/plaf/basic/BasicChooserUI.java
10175 (BasicFileView.getName): Fetch the real name from the
10176 file chooser's FileSystemView.
10177 * javax/swing/plaf/metal/MetalChooserUI.java
10178 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10179 Set the text fetched from the JFileChooser.getName().
10180 * javax/swing/FileSystemView.java
10181 (createFileObject): When file is a filesystem root,
10182 create a filesystem root object first.
10183 (getSystemDisplayName): Return the filename. Added specnote
10184 about ShellFolder class that is mentioned in the spec.
10185 * javax/swing/UnixFileSystemView.java
10186 (getSystemDisplayName): Implemented to return the real name
10187 of a file, special handling files like '.' or '..'.
10189 2006-08-03 Mark Wielaard <mark@klomp.org>
10191 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10193 2006-08-03 Roman Kennke <kennke@aicas.com>
10196 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10197 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10198 components when visual property chanegs.
10200 2006-08-03 Roman Kennke <kennke@aicas.com>
10203 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10204 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10205 component when visual properties change.
10207 2006-08-03 Roman Kennke <kennke@aicas.com>
10210 * javax/swing/JTree.java
10211 (JTree(TreeModel)): Set cell renderer to null.
10212 * javax/swing/plaf/basic/BasicTreeUI.java
10213 (setCellRenderer): Finish editing before setting the
10214 cell renderer. Refresh the layout. Don't set the
10215 currentCellRenderer field here (that's done in updateRenderer).
10216 (updateRenderer): Handle createdRenderer field here too.
10217 Set renderer to a default handler when the current renderer
10218 in the JTree is null.
10220 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10223 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10225 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10228 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10229 Updated documentation to clarify that RFC-2459 states that the parameters
10230 field of the AlgorithmIdentifier element MUST be NULL if present.
10231 Amended the code to reflect the specs.
10232 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10234 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10236 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10237 Call parameter 'defaultValue' not 'defValue'.
10239 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10241 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10244 2006-08-01 Roman Kennke <kennke@aicas.com>
10247 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10248 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10249 components when visual property chanegs.
10251 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10253 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10254 (toString()): Corrected documentation.
10255 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10256 * javax/management/openmbean/OpenMBeanInfo.java,
10257 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10259 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10260 (toString()): Corrected documentation.
10262 2006-08-01 Tania Bento <tbento@redhat.com>
10264 * java/awt/Choice.java
10265 (remove(int)): Added documentation.
10267 2006-08-01 Tania Bento <tbento@redhat.com>
10269 * java/awt/Choice.java
10270 (remove(int)): An IllegalArgumentException should not be thrown
10271 if int is invalid. Update selectedIndex and peer selection.
10273 2006-08-01 Tania Bento <tbento@redhat.com>
10275 * java/awt/CardLayout.java
10276 (toString): Changed format of string outputted.
10277 (goToComponent): Changed the order of the if-clause.
10279 2006-07-31 Tom Tromey <tromey@redhat.com>
10281 * INSTALL: Updated for ASM.
10283 2006-07-31 Tom Tromey <tromey@redhat.com>
10286 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10287 (attachment): Likewise.
10288 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10290 (isValid): Likewise.
10291 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10293 (interestOps): Synchronize.
10294 (readyOps): Likewise.
10295 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10298 2006-07-31 Roman Kennke <kennke@aicas.com>
10300 * NEWS: Added note about the X peers.
10301 * INSTALL: Added install notes about the X peers.
10303 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10305 * StrictMath.java (getLowDWord): Return long instead of int.
10306 (getHighDWord): Likewise.
10307 (buildDouble): Take two long arguments.
10308 (cbrt): Adapted to int -> long change.
10312 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10314 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10317 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10319 * java/security/Provider.java: Updated copyright year.
10320 Updated documentation.
10322 (put): Updated documentation.
10323 Added security manager check.
10324 Canonicalize the key before adding its mapping.
10325 (get): Override superclass implementation to use canonicalized keys.
10326 (remove): Updated documentation.
10327 Added security manager check.
10328 Canonicalize the key before removing its mapping.
10329 (clear): Updated documentation.
10330 Added security manager check.
10331 (toCanonicalKey): New method.
10333 2006-07-30 Matt Wringe <mwringe@redhat.com>
10335 * gnu/java/security/Engine.java
10336 (getInstance): Ignore self referencing aliases.
10338 2006-07-30 Mark Wielaard <mark@klomp.org>
10340 * javax/swing/JComponent.java (getListeners): Revert
10343 2006-07-30 Mark Wielaard <mark@klomp.org>
10345 * resource/java/security/classpath.security: Add /dev/urandom as
10346 default securerandom.source.
10348 2006-07-30 Mark Wielaard <mark@klomp.org>
10350 * java/util/GregorianCalendar.java (maximums): Months can have up to
10352 (nonLeniencyCheck): weeks is either 5 or 6.
10354 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10356 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10357 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10360 2006-07-30 Matt Wringe <mwringe@redhat.com>
10362 * gnu/java/security/Engine.java
10363 (getInstance): Ignore self referencing aliases.
10365 2006-07-30 Sven de Marothy <sven@physto.se>
10367 * java/awt/Choice.java:
10368 (accessibleAction): Call select() directly.
10369 (add, insert, remove): Reimplement.
10370 (dispatchEventImpl): Always call super.
10371 (processItemEvent): Does not set the index.
10372 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10373 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10375 (nativeAdd): Name changed to add.
10376 (selection_changed_cb): Simplify callback.
10377 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10378 (selected): New field.
10379 (add): Replaced with native impl.
10380 (handleEvent): New method.
10382 2006-07-30 Sven de Marothy <sven@physto.se>
10384 * java/awt/Choice.java:
10385 Reformat, fix copyright year.
10387 2006-07-29 Mark Wielaard <mark@klomp.org>
10389 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10390 static field isPaintingDoubleBuffered to not have the same name
10393 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10395 * examples/gnu/classpath/examples/management/TestBeans.java:
10397 * javax/management/MBeanAttributeInfo.java:
10398 (toString()): Implemented.
10399 * javax/management/MBeanConstructorInfo.java:
10400 (toString()): Implemented.
10401 * javax/management/MBeanFeatureInfo.java:
10402 (toString()): Implemented.
10403 * javax/management/MBeanInfo.java:
10404 (toString()): Implemented.
10405 * javax/management/MBeanNotificationInfo.java:
10406 (toString()): Implemented.
10407 * javax/management/MBeanOperationInfo.java:
10408 (toString()): Implemented.
10409 * javax/management/MBeanParameterInfo.java:
10410 (toString()): Implemented.
10411 * javax/management/StandardMBean.java:
10412 (getMBeanInfo()): Fix attribute naming.
10414 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10416 * gnu/java/lang/management/BeanImpl.java:
10417 Extended javax.management.StandardMBean.
10418 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10419 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10420 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10421 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10422 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10423 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10424 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10425 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10426 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10427 Call the superclass with the appropriate class.
10428 * java/lang/management/ManagementFactory.java:
10429 (getOperatingSystemMXBean()): Catch exception from
10431 (getRuntimeMXBean()): Likewise.
10432 (getClassLoadingMXBean()): Likewise.
10433 (getThreadMXBean()): Likewise.
10434 (getMemoryMXBean()): Likewise.
10435 (getCompilationMXBean()): Likewise.
10436 (getMemoryPoolMXBeans()): Likewise.
10437 (getMemoryManagerMXBeans()): Likewise.
10438 (getGarbageCollectorMXBeans()): Likewise.
10439 * javax/management/MBeanFeatureInfo.java:
10440 hashCode()): Fixed to check for null values.
10442 2006-07-29 Matt Wringe <mwringe@redhat.com>
10444 * gnu/java/security/Engine.java
10445 (getInstance): Add case insentivity to algorithm names
10446 * java/security/Provider.java
10447 (put): Stop using canonical key naming
10449 (toCanonicalKey): Method removed
10450 (get): Method removed, no longer needs to overwrite
10451 parent implementation
10453 2006-07-29 Mark Wielaard <mark@klomp.org>
10455 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10456 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10457 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10458 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10459 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10460 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10463 2006-07-29 Sven de Marothy <sven@physto.se>
10465 * java/math/BigDecimal.java
10466 Adjust copyright date.
10467 (divide(BigDecimal): Implement.
10468 (precision): Reimplement.
10469 (numDigitsInBigInteger, numDigitsInLong): Removed.
10470 (toString): Get exponent from string length,
10471 fix negative values with exponential form.
10472 (toEngineeringString): Same as for toString.
10473 (setScale): Throw ArithmeticException if scale < 0.
10475 2006-07-27 Francis Kung <fkung@redhat.com>
10477 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10478 (cp1): Renamed from first().
10479 (c2): Renamed from last().
10480 (first): Renamed to cp1().
10481 (getDisplacedSegments): Implemented.
10482 (last): Renamed to cp2().
10483 * gnu/java/awt/java2d/LineSegment.java
10484 (cp1): Renamed from first().
10485 (c2): Renamed from last().
10486 (first): Renamed to cp1().
10487 (last): Renamed to cp2().
10488 * gnu/java/awt/java2d/QuadSegment.java
10489 (cp1): Renamed from first().
10490 (c2): Renamed from last().
10491 (first): Renamed to cp1().
10492 (last): Renamed to cp2().
10493 * gnu/java/awt/java2d/Segment.java: Added comments.
10494 (first): New field.
10495 (Segment): Keep track of first element in list.
10496 (add): Update first & last element variables.
10497 (cp1): Renamed from first().
10498 (c2): Renamed from last().
10499 (first()): Renamed to cp1() to reduce ambiguity.
10500 (last()): Renamed to cp2() to reduce ambiguity.
10501 (reverseAll): Update first element variable..
10502 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10503 (draw): Remove flattening path iterator.
10504 * java/awt/BasicStroke.java: Clarified comments.
10505 (addSegments): Refactored some code into joinSegments and
10507 (capEnd): Rename of Segment.first() and Segment.end().
10508 (joinInnerSegments): New method.
10509 (joinOuterSegments): New method.
10510 (joinSegments): Refactored some code into joinOuterSegments.
10511 (solidStroke): Connect segments together properly.
10513 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10515 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10517 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10519 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10521 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10524 2006-07-28 Tom Tromey <tromey@redhat.com>
10526 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10528 2006-07-28 Lillian Angel <langel@redhat.com>
10530 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10531 Removed function declarations.
10532 (connect_signals_for_widget): Removed implementation because
10533 stub functions have been removed.
10534 (drag_begin_cb): Removed function.
10535 (drag_motion_cb): Likewise.
10536 (drag_data_get_cb): Likewise.
10537 (drag_data_delete_cb): Likewise.
10538 (drag_drop_cb): Likewise.
10539 (drag_end_cb): Likewise.
10540 (drag_data_received_cb): Likewise.
10542 2006-07-28 Mark Wielaard <mark@klomp.org>
10544 * configure.ac: Set version to 0.93-pre.
10546 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10548 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10550 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10552 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10553 (getCallbackHandler): Fully qualify linked class in javadoc.
10554 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10555 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10556 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10558 2006-07-27 Tom Tromey <tromey@redhat.com>
10560 PR classpath/28486:
10561 * java/net/URLStreamHandler.java (equals): Properly handle default
10562 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10564 2006-07-27 Roman Kennke <kennke@aicas.com>
10566 * javax/swing/text/AbstractDocument.java
10567 (documentCV): Made field private.
10568 (bypass): Made field private.
10569 (bidiRoot): New field.
10570 (AbstractDocument): Initialize bidiRoot.
10571 (getBidiRootElement): Return bidiRoot.
10572 (getRootElements): Adjusted to also return the bidiRoot element.
10573 (BranchElement.startOffset): Removed unneeded field.
10574 (BranchElement.endOffset): Removed unneeded field.
10575 (BranchElement.BranchElement): Removed unneeded fields.
10576 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10577 done automatically when there's no element left in the array.
10578 (BranchElement.getStartOffset): Likewise.
10579 (BranchElement.replace): Reordered calculations to avoid double
10581 (removeImpl): Silently ignore requests with length <= 0.
10582 * javax/swing/text/GapContent.java
10583 (createPosition): Removed explicit check for correct offset.
10584 This class can deal with offsets outside the document.
10585 (shiftEnd): Update all positions, even those outside the
10587 (adjustPositionsInRange): Fixed to also adjust positions outside
10588 the document boundary.
10590 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10592 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10594 (getParameter): Returns _klass field instead of determining
10595 class from _instance.
10596 (setCatchLoc): New method.
10597 (writeData): Now assumes Location deals with empty locations instead of
10599 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10600 locations and write out accordingly.
10601 (getEmptyLocation): New method.
10603 2006-07-27 Roman Kennke <kennke@aicas.com>
10605 * javax/swing/text/SimpleAttributeSet.java
10606 (EMPTY): Use EmptyAttributeSet for this field rather than
10607 SimpleAttributeSet.
10608 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10609 an empty and immutable AttributeSet.
10611 2006-07-27 Roman Kennke <kennke@aicas.com>
10613 * java/awt/Component.java
10614 (reshape): Invalidate the component itself only when the
10615 size has changed. Invalidate the parent always. Fixed
10616 repainting. Pulled out the notification into
10618 (notifyReshape): New helper method. Notify interested listeners
10620 (update): Simply call paint() without clearing the background.
10621 This is done in Container.update() if appropriate.
10622 (repaint): Delagate the repaint to the nearest heavyweight
10623 parent (for lightweights) and send an UPDATE event, rather than
10624 calling ComponentPeer.repaint().
10625 * java/awt/Container.java
10626 (backCleared): Removed field.
10627 (paint): Removed handling of backCleared flag.
10628 (update): Only paint if the container is actually
10629 showing. Removed handling of backCleared flag.
10631 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10633 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10635 (NavigateAction): New inner class.
10636 (NavigatePageDownAction): New inner class.
10637 (NavigatePageUpAction): New inner class.
10638 (RequestFocusAction): New inner class.
10639 (RequestFocusForVisibleComponentAction): New inner class.
10640 (FocusHandler.focusGained): Implemented.
10641 (FocusHandler.focusLost): Implemented.
10642 (MouseHandler.mouseReleased): Implemented.
10643 (MouseHandler.mousePressed): Rewritten.
10644 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10645 currentScrollLocation to 0.
10646 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10647 removed local variables, fixed indentation to stay under 80 column
10649 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10650 one, set selectedIndex to 0 if its negative, corrected start values
10651 for normalization, suppressed padding when only one tab run,
10652 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10653 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10654 80 column limit, corrected the starting value for the bounds fixing
10656 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10657 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10658 selectedRun, set start index for loop to 0.
10659 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10660 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10661 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10662 alignment and visibility handling.
10663 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10665 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10666 (currentScrollOffset): New field.
10667 (tabRuns): Rewritten documentation.
10668 (selectedColor): New field.
10669 (tempTextRect): New field.
10670 (tempIconRect): New field.
10671 (scrollTab): New method.
10672 (updateButtons): New method.
10673 (updateViewPosition): New method.
10674 (createLayoutManager): Reordered method calls, predefine new fields,
10675 register proper listeners.
10676 (uninstallComponents): Implemented.
10677 (installDefaults): Corrected property names, fixed indentation,.
10678 (uninstallDefaults): Set new fields to null.
10679 (uninstallListeners): Remove listeners from components neccessary for
10680 scrolling tab layout.
10681 (installKeyboardActions): Implemented.
10682 (uninstallKeyboardActions): Implemented.
10683 (paint): Paint tab area background.
10684 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10686 (getTabLabelShiftX): Rewritten.
10687 (getTabLabelShiftY): Rewritten.
10688 (paintFocusIndicator): Reindented.
10689 (paintTabBorder): Rewritten.
10690 (paintTabBackground): Corrected color usage, rewritten background
10691 rectangle painting.
10692 (paintContentBorderTopEdge): Rewritten.
10693 (paintContentBorderBottomEdge): Rewritten.
10694 (paintContentBorderLeftEdge): Rewritten.
10695 (paintContentBorderRightEdge): Rewritten.
10696 (tabForCoordinate): Return selected index when no tab could be
10697 found, removed FIXME note.
10698 (getRunForTab): Changed return value for first if-statement.
10699 (navigateSelectedTab): Fixed last argument for both
10700 getTabRunOffset() calls.
10701 (selectedNextTabInRun): Added scrolling code.
10702 (selectedPreviousTabInRun): Added scrolling code.
10703 (selectedNextTab): Added scrolling code.
10704 (selectedPreviousTab): Added scrolling code.
10705 (selectAdjacentRunTab): Added scrolling code.
10706 (getTextViewForTab): Added FIXME note.
10707 (calculateTabHeight): Changed FIXME note.
10708 (getTabRunOffset): Fixed indentation.
10709 (getNextTabIndexInRun): Corrected return value.
10710 (rotateInsets): Make TOP case the default in switch-statement.
10711 (getActionMap): New method.
10712 (createActionMap): New method.
10713 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10714 (createLayoutManager): Rewritten.
10715 (paintLeftTabBorder): Do not paint left line when previous tab
10716 is selected but current tab is the first in its run, do not paint
10717 left line when current tab is selected and is first in its run.
10718 (paintRightTabBorder): Added missing setColor() call, fixed color
10719 usage, do not paint right line if previous tab is selected but
10720 current tab is the first in its run.
10721 (paintBottomTabBorder): Do not paint left line if tab is selected
10722 and is the first tab in the last run.
10723 (paintFocusIndicator): New method.
10724 (getLabelShiftX): New method.
10725 (getLabelShiftY): New method.
10727 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10729 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10730 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10731 g_assert from unused obj.
10732 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10733 obj as unused and remove g_assert on it.
10735 2006-07-26 Roman Kennke <kennke@aicas.com>
10737 * javax/swing/RepaintManager.java
10738 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10740 (isCompletelyDirty): Consider a component completely dirty
10741 when it has a dirty region with Integer.MAX_VALUE.
10743 2006-07-26 Roman Kennke <kennke@aicas.com>
10745 * java/awt/KeyboardFocusManager.java
10746 (getGlobalFocusOwner): Explicitly check for thread security.
10747 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10748 (getGlobalFocusedWindow): Explicitly check for thread security.
10749 (getGlobalActiveWindow): Explicitly check for thread security.
10750 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10751 (getGlobalObject): Added new argument for specifying if
10752 a security check should be performed or not.
10753 (setGlobalObject): Don't check for thread security when
10754 calling getGlobalObject.
10756 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10758 * javax/management/MBeanConstructorInfo.java:
10760 * javax/management/MBeanInfo.java:
10761 (MBeanInfo(String,String,MBeanAttributeInfo[],
10762 MBeanConstructorInfo[], MBeanOperationInfo[],
10763 MBeanNotificationInfo[])): Implemented.
10764 (equals(Object)): Likewise.
10765 (getAttributes()): Likewise.
10766 (getConstructors()): Likewise.
10767 (getOperations()): Likewise.
10768 (hashCode()): Likewise.
10769 * javax/management/MBeanOperationInfo.java,
10770 * javax/management/NotCompliantMBeanException.java,
10771 * javax/management/StandardMBean.java:
10774 2006-07-26 Sven de Marothy <sven@physto.se>
10776 * java/awt/geom/GeneralPath.java: Fix severe typo.
10778 2006-07-26 Sven de Marothy <sven@physto.se>
10780 * include/java_lang_VMSystem.h
10781 * vm/reference/java/lang/VMSystem.java
10782 * native/jni/java-lang/java_lang_VMSystem.c
10783 (nanoTime, currentTimeMillis): Switch the former to native code and
10784 the latter to java.
10786 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10788 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10789 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10790 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10791 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10792 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10793 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10794 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10795 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10796 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10797 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10798 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10799 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10800 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10801 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10802 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10803 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10804 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10805 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10806 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10807 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10808 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10810 2006-07-26 Roman Kennke <kennke@aicas.com>
10812 * java/awt/KeyboardFocusManager.java
10813 (getFocusOwner): Don't check permanent owner.
10814 (getGlobalFocusOwner): Don't check permanent owner.
10816 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10818 * StrictMath.java (cosh): New method.
10819 (expm1): New method.
10820 (EXPM1_Q1): New field.
10821 (EXPM1_Q2): Likewise.
10822 (EXPM1_Q3): Likewise.
10823 (EXPM1_Q4): Likewise.
10824 (EXPM1_Q6): Likewise.
10826 2006-07-26 Roman Kennke <kennke@aicas.com>
10828 * javax/swing/plaf/basic/BasicButtonListener.java
10829 (mousePressed): Request focus if appropriate.
10830 * javax/swing/text/DefaultCaret.java
10831 (mousePressed): Also handle the focus of the text component
10832 as specified. Don't consume events.
10834 2006-07-26 Roman Kennke <kennke@aicas.com>
10836 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10837 (focusRequest): Removed field.
10838 (postFocusEvent(int,boolean,Component)): Removed.
10839 (postFocusEvent(int,boolean)): Reverted to post event using
10840 the heavyweight component.
10841 (requestFocus): Post focus event using the heavyweight
10843 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10844 (requestFocus): Post focus event using the heavyweight
10846 * java/awt/AWTEvent.java
10847 (isFocusManagerEvent): New field, indicating if this is
10848 an event that is redispatched by the KeyboardFocusManager.
10849 * java/awt/Component.java
10850 (requestFocusImpl): Register component for
10851 heavyweight->lightweight mapping.
10852 (dispatchEventImpl): Retarget focus events before dispatching
10853 to the KeyboardFocusManager. Use new AWTEvent flag instead
10854 of locking hack. Dispatch all events through the
10855 KeyboardFocusManager. Don't request focus on lightweight
10857 * java/awt/DefaultKeyboardFocusManager.java
10858 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10860 (handleFocusGained): Fixed handling of temporary vs permanent
10861 focus changes. Added some checks.
10862 (handleFocusLost): Fixed handling of temporary vs permanent
10863 focus changes. Added some checks.
10864 * java/awt/EventDispatchThread.java
10865 (run): Don't dispatch to KeyboardFocusManager here. This
10866 is done in Component.dispatchEventImpl().
10867 * java/awt/KeyboardFocusManager.java
10868 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10869 (focusRequests): New field.
10870 (retargetFocusEvent): New method. Retargets focus events
10871 that come from heavyweights to the correct lightweight component.
10872 (addLightweightFocusRequest): New method. Stores a mapping
10873 for later retargetting of heavyweight focus events.
10874 * java/awt/Window.java
10875 (addFocusListener): Removed bogus method. If at all, this
10876 should be performed in the KeyboardFocusManager.
10877 (Window): Don't install a focus listener on the Window.
10879 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10881 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10882 (drawLine): Apply shift to line coordinates.
10884 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10886 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10887 (copyimage): Do not call setRenderingHints() when the respective map
10889 (filter): Removed code to clone the ColorModel instance.
10890 * java/awt/image/ColorModel.java:
10891 (cloneColorModel): Removed.
10893 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10895 * javax/swing/JTabbedPane.java:
10896 (setSelectedIndex): Removed updating of component visibility status,
10898 (remove(Component)): Use indexOfComponent() to find whether we have
10899 to use super.remove(int) or removeTabAt().
10901 2006-07-26 Roman Kennke <kennke@aicas.com>
10903 * javax/swing/JOptionPane.java
10904 (createDialog): Add property change handler for closing
10905 the dialog when the value property changes.
10906 (ValuePropertyHandler): New inner helper class.
10907 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10908 (OptionPaneCloseAction): New class.
10909 (messageForeground): Removed field.
10910 (messageBorder): Removed field.
10911 (buttonBorder): Removed field.
10912 (addIcon): Configure the new label.
10913 (addMessageComponents): Configure newly created labels.
10914 (burstStringInto): Likewise.
10915 (createButtonArea): Install border here.
10916 (createMessageArea): Install border and foreground here.
10917 (createSeparator): Added comment and removed
10918 NotImplementedException.
10919 (installComponents): Don't install the UI defaults for the
10920 message and button area here. This is moved to the
10921 corresponding create* methods. Adjusted comment about
10923 (installDefaults): Removed initialization of removed fields.
10924 (installKeyboardActions): Implemented.
10925 (getActionMap): New helper method.
10926 (createDefaultActions): New helper method.
10927 (uninstallDefaults): Removed de-initialization of removed fields.
10928 (uninstallKeyboardActions): Implemented.
10929 (configureLabel): New helper method.
10930 * javax/swing/plaf/basic/BasicTableUI.java
10931 (getActionMap): Fixed the UI property names.
10932 * javax/swing/plaf/basic/BasicToolBarUI.java
10933 (getActionMap): Fixed the UI property names.
10935 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10937 * java/awt/image/BandedSampleModel.java
10938 (getDataElements): Check for negative x or y,
10939 (getPixels): Likewise,
10940 (getSamples): Likewise,
10941 (setSamples): Likewise.
10943 2006-07-26 Roman Kennke <kennke@aicas.com>
10945 * javax/swing/plaf/basic/BasicToolBarUI.java
10946 (ToolBarAction): New inner class for handling keyboard
10948 (installKeyboardActions): Implemented.
10949 (getActionMap): New helper method.
10950 (createDefaultActions): New helper method.
10951 (installListeners): Install focus listener on toolbar's
10952 children, rather than the toolbar itself.
10953 (navigateFocusedComp): Implemented.
10954 (uninstallKeyboardActions): Implemented.
10955 (uninstallListeners): Uninstall focus listener from
10956 toolbar's children, rather than the toolbar itself.
10957 (ToolBarContListener.componentAdded): Install focus
10958 listener on added child.
10959 (ToolBarContListener.componentRemoved): Uninstall focus
10960 listener from removed child.
10961 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10962 (ToolBarFocusListener.focusGained): Implemented.
10963 (ToolBarFocusListener.focusLost): Implemented.
10965 2006-07-26 Roman Kennke <kennke@aicas.com>
10967 * java/awt/DefaultKeyboardFocusManager.java
10968 (dispatchEvent): Notify old focus owner when it has lost
10971 2006-07-26 Roman Kennke <kennke@aicas.com>
10973 * javax/swing/plaf/basic/BasicTableUI.java
10974 (FocusHandler.focusGained): Implemented to refresh the
10976 (FocusHandler.focusLost): Implemented to refresh the
10978 (FocusHandler.repaintLeadCell): New helper method.
10979 (MouseInputHandler.mouseEntered): Do nothing here.
10980 (MouseInputHandler.mouseExited): Do nothing here.
10981 (MouseInputHandler.mouseMoved): Do nothing here.
10982 (installKeyboardActions): Rewritten to use a shared InputMap
10983 and ActionMap and correctly install the maps via SwingUtilities
10985 (getActionMap): New helper method.
10986 (createDefaultActions): New helper method.
10987 (ActionListenerProxy): Removed unneeded class.
10988 (TableAction): Made class static.
10989 (TableAction.actionPerformed): Determine table by fetching
10990 the event source. Pass the table to helper methods.
10991 Use __command__ hack to determine the action command.
10992 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10993 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10994 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10995 (TableAction.getLastVisibleRowIndex): Get table as argument.
10996 (TableAction.advanceMultipleSelection): Get table as argument.
10997 (uninstallDefaults): Do nothing here.
10998 (uninstallKeyboardActions): Uninstall the keyboard actions.
11000 2006-07-26 Roman Kennke <kennke@aicas.com>
11002 * javax/swing/JComponent.java
11003 (processKeyBinding): Store the action command as property
11004 in the Action instance that we call. This allows for
11005 improvement on the side of the Action.
11007 2006-07-26 Roman Kennke <kennke@aicas.com>
11009 * javax/swing/plaf/metal/MetalUtils.java
11010 (fillMetalPattern): Use fillRect() instead of drawLine() to
11011 fill single pixels.
11013 2006-07-26 Roman Kennke <kennke@aicas.com>
11015 * javax/swing/text/GapContent.java
11016 (getChars): Check for negative length and throw
11017 BadLocationException.
11019 2006-07-26 Roman Kennke <kennke@aicas.com>
11021 * javax/swing/plaf/basic/BasicMenuBarUI.java
11022 (FocusAction): Made class static.
11024 2006-07-26 Roman Kennke <kennke@aicas.com>
11026 * javax/swing/plaf/basic/BasicLookAndFeel.java
11027 (initComponentDefaults): Add keyboard bindings for
11030 2006-07-26 Roman Kennke <kennke@aicas.com>
11032 * javax/swing/UIManager.java
11033 (getLookAndFeelDefaults): Return the look and feel defaults.
11034 (setLookAndFeel): Improved exception messsage.
11036 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11038 * javax/swing/text/StringContent.java
11039 (StringContent): Changed initialLength to 10.
11041 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11043 * java/util/Vector.java: Fixed API doc typo.
11045 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11047 * java/awt/image/BandedSampleModel.java
11048 (createCompatibleSampleModel): Fixed typo in loop increment, set
11049 correct scanlineStride, and updated API docs.
11051 2006-07-25 Roman Kennke <kennke@aicas.com>
11053 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11054 (NavigateAction): New inner class. This is responsible for
11055 keyboard navigation through menus.
11056 (KeyboardHelper): New inner class. This manages the
11057 keyboard mappings and focus when a popup opens or closes.
11058 (keyboardHelper): New static field.
11059 (numPopups): New static field.
11060 (installUI): Create KeyboardHelper for first popup.
11061 Call installKeyboardActions().
11062 (installKeyboardActions): Removed NotImplementedException.
11063 This method is a no-op.
11064 (installKeyboardActionsImpl): New method. Installs keyboard
11065 mapping when a popup is opened.
11066 (getActionMap): New helper method.
11067 (createDefaultActions): New helper method.
11068 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11069 uninstalled. Call uninstallKeyboardActions().
11070 (uninstallKeyboardActions): Removed NotImplementedException.
11071 This method is a no-op.
11072 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11073 mapping when a popup is closed.
11075 2006-07-25 Roman Kennke <kennke@aicas.com>
11077 * java/awt/Component.java
11078 (requestFocus()): Reimplemented to use requestFocusImpl().
11079 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11080 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11081 (requestFocusInWindow(boolean)): Reimplemented to use
11082 requestFocusImpl().
11083 (requestFocusImpl): Reimplemented focus request to use
11084 new peer method. Also added some obvious additional checks
11085 for rejecting focus requests early.
11086 * java/awt/ComponentPeer.java
11087 (requestFocus(Component,boolean,boolean,long)): Documented
11089 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11090 (requestFocus): New field.
11091 (gtkWidgetHasFocus): New native method.
11092 (gtkWidgetCanFocus): New native method.
11093 (requestFocus): Replaced with assert false to prevent
11094 usage of obsolete method.
11095 (postFocusEvent(int,boolean,Component)): New overloaded method
11096 for posting the focus event to a specific target.
11097 (postFocusEvent(int,boolean)): Post event to requestFocus
11099 (requestFocus(Component,boolean,boolean,long)): Implemented.
11100 (getWindowFor): New helper method.
11101 (isLightweightDescendant): New helper method.
11102 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11103 (gtkWindowHasFocus): New native method.
11104 (requestFocus(Component,boolean,boolean,long)): New method.
11105 Overrides GtkComponentPeer method to specially handly the
11106 case when a Window receives a focus request for a lightweight
11108 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11109 (gtkWidgetHasFocus): New native method.
11110 (gtkWidgetCanFocus): New native method.
11111 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11112 (gtkWindowHasFocus): New native method.
11113 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11114 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11117 2006-07-25 Francis Kung <fkung@redhat.com>
11119 * java/awt/DefaultKeyboardFocusManager.java
11120 (dispatchEvent): Add check for valid component.
11122 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11124 * javax/management/MBeanConstructorInfo.java:
11126 * javax/management/MBeanNotificationInfo.java:
11128 * javax/management/MBeanParameterInfo.java:
11131 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11133 * java/awt/peer/gtk/CairoGraphics.java:
11134 (drawLine): Added special case for 1 pixel lines.
11136 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11139 * java/awt/peer/gtk/CairoGraphics.java:
11140 (drawLine): Removed calls to shifted().
11142 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11144 * javax/swing/JTabbedPane.java:
11145 (remove(Component)): Rewritten.
11146 (setSelectedIndex): Implemented updating of component visibility state.
11148 2006-07-25 Sven de Marothy <sven@physto.se>
11150 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11151 (init): Default to the actual depth in the worst case.
11153 * java/awt/Font.java
11154 (createFont(int, File)): New method.
11156 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11159 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11161 (RETokenEnd): New constructer to set check_java_line_terminators.
11162 (matchThis): Checck line terminators if check_java_line_terminators.
11163 * gnu/java/util/regex/RETokenStart.java: Likewise.
11164 * gnu/regexp/RE.java(initialize): Use the new constructors for
11165 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11166 * java/util/regex/Pattern.java(Patteren): Changed so that
11167 gnu/regexp/RE.java may use the new the new constructors.
11169 2006-07-25 Roman Kennke <kennke@aicas.com>
11171 * java/awt/Container.java
11172 (focusTraversalPolicyProvider): New field.
11173 (isFocusTraversalPolicyProvider): New method.
11174 (setFocusTraversalPolicyProvider): New method.
11175 * java/awt/ContainerOrderFocusTraversalPolicy.java
11176 (getFirstComponent): Use accept() instead of lengthy checks.
11177 Don't fetch getComponents() to avoid copying of array.
11178 Traverse down the hierarchy to find the first focused component.
11179 * java/awt/DefaultKeyboardFocusManager.java
11180 (dispatchEvent): Let the initial component request focus.
11182 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11184 * javax/swing/text/Segment.java
11185 (last): Update current index before returning DONE for zero count.
11187 2006-07-24 Mark Wielaard <mark@klomp.org>
11189 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11191 2006-07-25 Roman Kennke <kennke@aicas.com>
11193 * javax/swing/plaf/basic/BasicMenuBarUI.java
11194 (FocusAction): New inner class. Used to grab focus.
11195 (installKeyboardActions): Implemented.
11196 (uninstallKeyboardActions): Implemented.
11197 (getActionMap): New helper method.
11198 (createDefaultActions): New helper method.
11200 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11202 * examples/gnu/classpath/examples/swing/Demo.java:
11203 (mkMenuBar): Install instantiable basic look and feel.
11204 (InstantiableBasicLookAndFeel): New inner class.
11206 2006-07-25 Roman Kennke <kennke@aicas.com>
11208 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11209 (GlassPaneDispatcher.dragTarget): New field.
11210 (GlassPaneDispatcher.isDragging): New field.
11211 (GlassPaneDispatcher.pressedComponent): Removed field.
11212 (GlassPaneDispatcher.tempComponent): Removed field.
11213 (GlassPaneDispatcher.pressCount): Removed field.
11214 (GlassPaneDispatcher.mousePressed): Call
11215 borderListener.mousePressed() to activate the frame.
11216 (acquireComponentForMouseEvent): Removed method.
11217 (handleEvent): Rewritten.
11218 (redispatch): New method.
11219 (InternalFramePropertyChangeListener.propertyChange):
11220 Make glasspane invisible when frame is selected, and visible
11221 if it gets deselected.
11223 2006-07-25 Roman Kennke <kennke@aicas.com>
11225 * java/awt/LightweightDispatcher.java
11226 (handleMouseEvent): Dispatch event to real target if
11227 the dragTarget has become invisible in the meantime.
11229 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11231 * javax/swing/text/TabSet.java
11232 (equals): New method override for 1.5,
11233 (hashCode): Likewise,
11234 (toString): Added spaces to match reference implementation.
11236 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11238 * javax/management/IntrospectionException.java,
11239 * javax/management/MBeanAttributeInfo.java:
11241 * javax/management/MBeanNotificationInfo.java:
11242 Documentation cleanups.
11244 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11246 * javax/swing/text/TabSet.java
11247 (TabSet): Check for null argument,
11248 (getTab): Throw IllegalArgumentException for index out of bounds,
11249 (getTabIndexAfter): Changed test to '<=',
11250 and updated API docs all over,
11251 * javax/swing/text/TabStop.java: Updated API docs.
11253 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11255 * javax/swing/text/TabStop.java
11256 (toString): Don't use 'left ' prefix, and added space between tab
11257 location and '(w/leader)' suffix.
11259 2006-07-24 Francis Kung <fkung@redhat.com>
11261 * javax/swing/JComboBox.java
11262 (DefaultKeySelectionManager): Implemented.
11263 (createDefaultKeySelectionManager): Implemented.
11264 (getKeySelectionManager): Implemented.
11265 (processKeyEvent): Removed duplicate code.
11266 * javax/swing/JPopupMenu.java
11267 (selectionModel): Changed visibility.
11268 * javax/swing/plaf/basic/BasicComboBoxUI.java
11269 (KeyHandler.keyPressed): Added navigation keys.
11270 (configureEditor): Add key listener.
11271 (installListeners): Install focus listener to combo box.
11272 (isNavigationKey): Added enter, escape, and tab.
11273 (selectPreviousPossibleValue): Added out of bounds check.
11274 (unconfigureEditor): Remove key listener.
11275 * javax/swing/plaf/metal/MetalComboBoxButton.java
11276 (paintComponent): Highlight combo box when in focus.
11278 2006-07-24 Roman Kennke <kennke@aicas.com>
11280 * javax/swing/SwingUtilities.java
11281 (isLeftMouseButton): Fixed condition.
11282 * java/awt/LightweightDispatcher.java
11283 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11286 2006-07-24 Roman Kennke <kennke@aicas.com>
11288 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11289 (setPaint): Fixed scaleX and scaleY.
11291 2006-07-24 Roman Kennke <kennke@aicas.com>
11293 * javax/swing/JTable.java
11294 (handleInsert): Repaint the whole table for variable row
11295 height tables and an optimized region otherwise.
11296 (handleDelete): Likewise.
11297 (handleUpdate): Likewise.
11299 2006-07-24 Mario Torre <neugens@limasoftware.net>
11301 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11302 now explicity registerListeners on GtkMouseDragGestureRecognizer
11304 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11305 (unregisterListeners): new method, overrided from base class
11306 to rise visibility (from protected to public).
11307 (registerListeners): Likewise.
11308 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11309 removed call to registerListeners from the constructor.
11311 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11313 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11314 * java/lang/management/MemoryPoolMXBean.java:
11315 (getType()): Changed return type to MemoryType.
11316 * java/lang/management/MemoryType.java:
11319 2006-07-23 Mark Wielaard <mark@klomp.org>
11321 * configure.ac: Check for moc and moc-qt4.
11323 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11325 * java/awt/image/Kernel.java: API doc updates.
11327 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11329 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11332 2006-07-22 Mark Wielaard <mark@klomp.org>
11334 * java/lang/Iterable.java: Import all of java.util.
11335 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11336 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11338 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11340 * doc/vmintegration.texinfo:
11341 Document getType(String).
11342 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11343 * java/lang/management/MemoryPoolMXBean.java:
11344 (getType()): Implemented.
11345 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11346 (getType(String)): Implemented.
11348 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11350 * doc/vmintegration.texinfo:
11351 Move end of itemization block.
11353 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11355 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11356 (initComponentDefaults): Added new properties, added comments.
11358 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11360 * doc/vmintegration.texinfo:
11361 Mention callback methods.
11362 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11363 (fireNotification(String,String,long,long,long,long,long)):
11364 Made package-private.
11365 (fireThresholdExceededNotification(String,long,long,long,
11366 long,long)): Likewise.
11367 (fireCollectionThresholdExceededNotification(String,long,
11368 long,long,long,long)): Likewise.
11369 * java/lang/management/MemoryMXBean.java:
11370 Document notifications.
11372 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11374 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11375 (fireNotification(String,String,long,long,long,long,long)):
11377 (fireThresholdExceededNotification(String,long,long,long,
11378 long,long)): Likewise.
11379 (fireCollectionThresholdExceededNotification(String,long,
11380 long,long,long,long)): Likewise.
11381 * java/lang/management/MemoryNotificationInfo.java:
11382 Use composite type from MemoryMXBeanImpl.
11383 * javax/management/openmbean/CompositeData.java:
11384 Correct documentation.
11385 * javax/management/openmbean/CompositeDataSupport.java,
11386 * javax/management/openmbean/InvalidKeyException.java:
11389 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11391 * gnu/java/security/util/IntegerUtil.java: New file.
11393 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11396 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11397 (KEY_SIZE): Likewise.
11398 (adjustParity(int,byte[],int): New method.
11399 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11400 (isParityAdjusted(int,byte[],int)): New method.
11401 (isParityAdjusted): Call above method with 3 as 1st argument.
11402 (keySizes): Add 8 and 16 as other valid key sizes.
11403 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11405 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11407 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11408 code for the pixel swap routine to be more efficient.
11410 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11412 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11413 (lastIndexOf(E, int)): Likewise.
11414 (add(E)): Increase the size of newData array by one.
11415 (add(int, E)): Likewise.
11417 2006-07-20 Lillian Angel <langel@redhat.com>
11419 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11420 Removed unused fields.
11421 (GtkMouseDragGestureRecognizer): Removed initializations.
11423 2006-07-20 Lillian Angel <langel@redhat.com>
11425 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11426 (GtkMouseDragGestureRecognizer): New constructor.
11427 (GtkMouseDragGestureRecognizer): New constructor.
11428 (GtkMouseDragGestureRecognizer): New constructor.
11429 (mouseClicked): Removed FIXME.
11430 (mousePressed): Implemented.
11431 (mouseReleased): Implemented.
11432 (mouseEntered): Implemented.
11433 (mouseDragged): Implemented to check mouse point and trigger origin.
11434 (mouseMoved): Removed FIXME.
11435 (getDropActionFromEvent): New helper function used to convert mouse event
11436 modifiers to a drop action.
11437 * java/awt/dnd/DragSource.java
11438 (getDragThreshold): Changed to return some arbitrary value for testing
11441 2006-07-20 Roman Kennke <kennke@aicas.com>
11443 * java/awt/LightweightDispatcher.java
11444 (findTarget): Also consider components that have their eventMask
11445 set, for compatibility with stonage AWT. Optimized check
11447 (handleMouseEvent): Likewise.
11449 2006-07-20 Roman Kennke <kennke@aicas.com>
11451 * javax/swing/JTable.java
11452 (tableChanged): Split out handling of the event into multiple
11454 (handleCompleteChange): New method. Clear the selection and
11455 check the lead/anchor indices.
11456 (handleInsert): New method. Check the lead/anchor indices.
11457 Optimized repainting.
11458 (handleDelete): New method. Check the lead/anchor indices.
11459 Optimized repainting.
11460 (handleUpdate): New method. Optimized repainting.
11461 (checkSelection): New helper method.
11462 (setSelectionModel): Update lead/anchor indices.
11464 2006-07-20 Lillian Angel <langel@redhat.com>
11467 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11468 (dispose): Reset all fields.
11470 2006-07-20 Roman Kennke <kennke@aicas.com>
11472 * gnu/java/awt/peer/x/XToolkit.java
11473 (createImage(InputStream)): Only copy image to Pixmap if
11474 it's actually opaque. Transparent images are left as
11475 BufferedImage and composited later onto the screen.
11476 * gnu/java/awt/peer/x/XGraphics.java
11477 (XGraphics): Fetch some parameters for image rendering.
11478 (drawImage): Added special handling of transparent images.
11479 (getRGB): New helper method.
11480 (setRGB): New helper method.
11482 2006-07-20 Roman Kennke <kennke@aicas.com>
11484 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11485 ImageInputStreams as normal InputStreams.
11486 * gnu/javax/imageio/gif/GIFStream.java:
11487 Moved to gnu/javax/imageio/IIOInputStream.java.
11488 * gnu/javax/imageio/gif/GIFImageReader.java
11489 (readImage): Use IIOInputStream.
11490 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11491 (canDecodeInput): Use IIOInputStream.
11492 * gnu/javax/imageio/png/PNGException.java: Make subclass
11494 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11495 Implements the ImageIO ImageReader for PNG.
11496 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11497 Implements the ImageIO ImageReaderSpi for PNG.
11498 * javax/imageio/spi/IIORegistry.java:
11499 (IIORegistry): Add PNGImageReaderSpi.
11501 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11503 * java/awt/image/ComponentSampleModel.java
11504 (getPixel): Added argument check,
11505 (getSample): Modified exception message.
11507 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11510 * java/awt/image/ConvolveOp.java
11511 (filter(Raster, WritableRaster)): Reimplemented,
11512 (fillEdge): New private method.
11514 2006-07-19 Keith Seitz <keiths@redhat.com>
11516 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11517 (JVMTI_VERSION): Define.
11519 2006-07-19 Roman Kennke <kennke@aicas.com>
11521 * resource/gnu/regexp/MessagesBundle.properties,
11522 * resource/gnu/regexp/MessagesBundle_fr.properties,
11523 * resource/gnu/regexp/MessagesBundle_it.properties:
11524 Moved to resource/gnu/java/util/regex.
11525 * resource/gnu/java/util/regex/MessagesBundle.properties,
11526 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11527 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11529 * gnu/java/util/regex/RE.java
11530 Use new resource bundle location.
11532 2006-07-19 Roman Kennke <kennke@aicas.com>
11534 * javax/swing/JComponent.java
11535 (paintChildren): Refactored. The paintChildrenOptimized method
11536 has been moved back in here. Added locking of the tree and
11537 only check for completely obscured child components
11538 when not optimized drawing enabled. Use Graphics.create() to
11539 protect from irreversible changes.
11540 (isCompletelyObscured): New helper method.
11541 (paintComponent): Also use Graphics.create() for Graphics2D,
11542 to protect from irreverible changes.
11543 (clipAndTranslateGraphics): Refactored to use more efficient
11544 iterative (vs recursive) approach.
11545 * javax/swing/RepaintManager.java
11546 (getOffscreenBuffer): Create image from root component.
11548 2006-07-19 Roman Kennke <kennke@aicas.com>
11550 * gnu/java/awt/peer/x/XGraphics.java
11551 (translate): Don't set the clip on the X server.
11552 (clipRect): Use setXClip() to set the clip on the X server.
11553 (hitClip): More efficient and correct implementation.
11554 (setClip): Use setXClip() to set the clip on the X server.
11555 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11556 (copyArea): Translate and clip the source rectangle correctly.
11557 (dispose): Only flush when object is not yet disposed.
11558 (clone): Use setXClip() to set the clip on the X server.
11560 2006-07-19 Sven de Marothy <sven@physto.se>
11562 * gnu/javax/imageio/png/PNGChunk.java,
11563 * gnu/javax/imageio/png/PNGData.java,
11564 * gnu/javax/imageio/png/PNGDecoder.java,
11565 * gnu/javax/imageio/png/PNGEncoder.java,
11566 * gnu/javax/imageio/png/PNGException.java,
11567 * gnu/javax/imageio/png/PNGFile.java,
11568 * gnu/javax/imageio/png/PNGFilter.java,
11569 * gnu/javax/imageio/png/PNGGamma.java,
11570 * gnu/javax/imageio/png/PNGHeader.java,
11571 * gnu/javax/imageio/png/PNGICCProfile.java,
11572 * gnu/javax/imageio/png/PNGPalette.java,
11573 * gnu/javax/imageio/png/PNGPhys.java,
11574 * gnu/javax/imageio/png/PNGTime.java:
11577 2006-07-19 Sven de Marothy <sven@physto.se>
11579 * java/net/Inet6Address.java:
11580 (getScopedId, getScopedInterface): New methods.
11582 2006-07-19 Lillian Angel <langel@redhat.com>
11584 * examples/gnu/classpath/examples/awt/Demo.java
11585 (DragDropWindow): Fixed typo in Label text.
11586 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11587 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11588 (startDrag): Initialized context field.
11589 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11591 (dragEnter): New function.
11592 (dragExit): Likewise.
11593 (dragDropEnd): Likewise.
11594 (dragMouseMoved): Likewise.
11595 (dragOver): Likewise.
11596 (dragActionChanged): Likewise.
11598 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11601 * resource/java/security/classpath.security: Updated copyright year.
11602 (auth.login.defaultCallbackHandler): New property; set to our default
11603 callback handler. This is needed by the LoginContext when no callback
11604 handler was specified.
11605 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11606 (LoginContext(4)): Assign passed parameters to local fields before invoking
11609 2006-07-19 Roman Kennke <kennke@aicas.com>
11611 * gnu/java/awt/peer/x/XGraphics.java
11612 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11613 Fixed ordering of parameters.
11615 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11617 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11618 (MemoryMXBeanImpl()): Implemented.
11619 (ListenerData): New private class.
11620 (addNotificationListener(NotificationListener,
11621 NotificationFilter, Object)): Implemented.
11622 (getNotificationInfo()): Likewise.
11623 (removeNotificationListener(NotificationListener)):
11625 (removeNotificationListener(NotificationListener,
11626 NotificationFilter, Object)): Likewise.
11628 2006-07-18 Roman Kennke <kennke@aicas.com>
11630 * gnu/java/awt/peer/x/XFontPeer.java
11631 (encodeFont): Be more flexible with font sizes.
11632 (validSize): New helper method.
11633 * gnu/java/awt/peer/x/XGraphics.java
11634 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11636 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11638 * gnu/java/awt/peer/x/XImage.java
11639 (properties): New field.
11640 (getProperty): Implemented.
11641 * resource/gnu/java/awt/peer/x/fonts.properties:
11642 Added copyright header. Fixed font size field.
11644 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11646 * java/awt/image/BandedSampleModel.java
11647 (createDataBuffer): New method override,
11648 * java/awt/image/ByteLookupTable.java
11649 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11650 (ByteLookuptable(int, byte[])): Check for null array,
11651 * java/awt/image/ComponentSampleModel.java
11652 (createDataBuffer): Removed unnecessary braces,
11653 (getSample): Check (x, y) is within bounds,
11654 * java/awt/image/ShortLookupTable.java
11655 (ShortLookupTable(int, short[][])): Create new array to hold references,
11656 (ShortLookupTable(int, short[])): Check for null array,
11657 (getTable): Added API docs,
11658 (lookupPixel): Source reformatting.
11660 2006-07-18 Tania Bento <tbento@redhat.com>
11662 * java/awt/GridLayout.java
11663 (setHgap): Illegal Argument Exception should not be thrown if
11665 (setVgap): Illegal Argument Exception should not be thrown if
11667 (toString): Opening square braket ([) should appear before hgap
11668 value, not the name of the class.
11670 2006-07-18 Roman Kennke <kennke@aicas.com>
11672 * lib/copy-vmresources.sh.in: Reverted.
11673 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11674 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11676 2006-07-18 Roman Kennke <kennke@aicas.com>
11678 * lib/copy-vmresources.sh.in: Include properties from X peers.
11680 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11683 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11684 certificate validity.
11685 (getIssuerName): New method.
11686 (getSubjectName): Likewise.
11687 (getNotAfterDate): Likewise.
11688 (getNotBeforeDate): Likewise.
11689 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11690 messages for newly added messages in SFHelper.
11692 2006-07-18 Roman Kennke <kennke@aicas.com>
11694 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11695 * gnu/java/awt/peer/x/XEventPump.java
11696 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11697 * gnu/java/awt/peer/x/XFramePeer.java
11698 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11699 * gnu/java/awt/peer/x/XGraphics.java
11700 Made subclass of Graphics rather than Graphics2D. Removed
11701 all Graphics2D specific method stubs.
11702 (setColor): Map colors using the X color map that is
11703 stored in XToolkit.
11704 * gnu/java/awt/peer/x/XToolkit.java
11705 (colorMap): New field.
11706 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11708 (createDialog): Implemented.
11709 (createImage(ImageProducer)): Implemented.
11710 (createImage(InputStream)): Use createImage(ImageProducer)
11711 to convert the BufferedImage to an XImage.
11712 * gnu/java/awt/peer/x/XWindowPeer.java
11713 (XWindowPeer): Removed debug output.
11715 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11717 * java/awt/image/BufferedImageOp.java: API docs added,
11718 * java/awt/image/RasterOp.java: Likewise.
11720 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11722 * java/awt/Graphics2D.java: API docs updated.
11724 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11726 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11729 2006-07-18 Sven de Marothy <sven@physto.se>
11731 * java/net/Inet6Address.java:
11732 Add 1.5 serialized fields.
11733 (getByAddress): New methods.
11734 (readObject, writeObject): New methods.
11735 (equals): Reimplement.
11737 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11739 * java/awt/image/Raster.java: Added API docs and reformatted source
11742 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11744 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11746 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11747 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11748 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11749 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11750 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11751 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11752 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11753 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11754 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11755 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11756 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11757 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11758 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11759 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11760 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11761 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11762 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11763 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11764 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11765 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11766 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11768 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11770 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11771 to make it compile again under jikes. Note added.
11773 2006-07-17 Lillian Angel <langel@redhat.com>
11775 * examples/gnu/classpath/examples/awt/Demo.java
11776 (Demo): Added new window for DnD demo.
11777 (DragDropWindow): New class.
11778 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11779 Added new fields and declarations for native functions.
11780 (GtkDragSourceContextPeer): Implemented.
11781 (getComponentPeer): New function.
11782 (startDrag): Partially implemented.
11783 (getCursor): Implemented.
11784 (setCursor): Implemented.
11785 * include/GtkDragSourceContextPeer.h: New file.
11786 * include/Makefile.am: Added new header file.
11787 * java/awt/Component.java
11788 (addNotify): Added call to the dropTarget's addNotify.
11789 * java/awt/dnd/DragSource.java
11790 (startDrag): Fixed code to use shared instances of peer and
11792 (getDragThreshold): Added stub.
11793 * java/awt/dnd/DropTarget.java
11794 (DropTarget): Implemented fully.
11795 (addNotify): Added code to get the peer of the parent that is
11797 * java/awt/dnd/DropTargetDragEvent.java
11798 (getTransferable): Added stub.
11799 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11800 * native/jni/gtk-peer/Makefile.am: Added new c file.
11801 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11802 Changed to extend GtkGenericPeer.
11803 (GtkDropTargetContextPeer): New constructor.
11804 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11805 Changed to extend GtkGenericPeer.
11806 (GtkDropTargetContextPeer): New constructor.
11808 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11810 * java/awt/image/SinglePixelPackedSampleModel.java
11811 (createSubsetSampleModel): Added argument check and API docs.
11813 2006-07-17 Roman Kennke <kennke@aicas.com>
11815 * gnu/java/awt/peer/x/XGraphics.java
11816 (copyArea): Implemented.
11818 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11820 * java/awt/image/SinglePixelPackedSampleModel.java
11821 (getSampleSize): Return copy of array,
11822 (getOffset): Added API docs,
11823 (getScanlineStride): Likewise,
11824 (hashCode): Implemented.
11826 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11828 * java/awt/image/MultiPixelPackedSampleModel.java
11829 (getOffset): Updated API docs and source reformatting,
11830 (getBitOffset): Source reformatting only,
11831 (getDataElements): Likewise,
11832 (getPixel): Likewise,
11833 (getPixels): Removed method override,
11834 (setDataElements): Reimplemented.
11836 2006-07-17 Gary Benson <gbenson@redhat.com>
11838 * resource/META-INF/services/.cvsignore: New file.
11839 * lib/.cvsignore: Updated.
11841 2006-07-17 Roman Kennke <kennke@aicas.com>
11843 * javax/swing/plaf/basic/BasicButtonListener.java
11844 (propertyChange): Only do the text layout caching as long
11845 as the noGraphics2D property isn't set.
11846 * javax/swing/plaf/basic/BasicMenuItemUI.java
11847 (PropertyChangeHandler.propertyChange): Only do the text layout
11848 caching as long as the noGraphics2D property isn't set.
11850 2006-07-17 Roman Kennke <kennke@aicas.com>
11852 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11853 (XGraphicsEnvironment): Make constructor public so that it
11854 can be called via Class.forName().newInstance().
11855 * gnu/java/awt/peer/x/XImage.java
11856 (XImage): Fetch GraphicsEnvironment via
11857 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11858 than the XToolkit method, to avoid double instantiation
11859 of the XGraphicsEnvironment.
11860 * gnu/java/awt/peer/x/XToolkit.java
11861 (env): Removed field.
11862 (getLocalGraphicsEnvironment): Removed impl. This method
11863 should not be called since we set the graphicsenv property
11864 in the constructor.
11866 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11868 * java/util/UUID.java:
11869 (compareTo(Object)): Call compareTo(UUID).
11870 (compareTo(UUID)): Implemented.
11872 2006-07-16 Tom Tromey <tromey@redhat.com>
11874 * java/lang/StrictMath.java (cbrt): Added '@since'.
11876 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11878 * java/lang/StrictMath.java (cbrt): New method.
11879 (getLowDWord): New helper method.
11880 (getHighDWord): Likewise.
11881 (buildDouble): Likewise.
11882 (CBRT_B1): New field.
11883 (CBRT_B2): Likewise.
11884 (CBRT_C): Likewise.
11885 (CBRT_D): Likewise.
11886 (CBRT_E): Likewise.
11887 (CBRT_F): Likewise.
11888 (CBRT_G): Likewise.
11890 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11892 * javax/management/MBeanInfo.java:
11893 (getNotifications()): Implemented.
11894 * javax/management/NotificationBroadcaster.java:
11895 (removeNotificationListener(NotificationListener)):
11896 Renamed from removeListener.
11897 * javax/management/NotificationEmitter.java:
11898 (removeNotificationListener(NotificationListener,
11899 NotificationFilter, Object)): Likewise.
11900 * javax/management/NotificationFilter.java:
11901 Implement Serializable.
11902 * javax/management/NotificationListener.java:
11903 Implement java.util.EventListener.
11904 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11905 Implement Serializable.
11907 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11909 * java/lang/management/MemoryNotificationInfo.java:
11912 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11915 * gnu/javax/swing/text/html/parser/htmlValidator.java
11916 (tagIsValidForContext): If it is not possible to insert any tag, but
11917 is possible to insert a P, insert a P.
11918 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11919 (newInstance): Removed print statement. (getBodyElements):
11920 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11921 valid body level tags (will be enclosed into P's).
11923 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11925 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11926 Condition the creation of .keystore (a default keystore) based on the
11927 createIfNotFound argument as well.
11929 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11932 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11933 Removed heading p tag from the parsing example.
11934 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11935 (createHtmlContentModel): Explained.
11936 (defineElements): Call getBodyElements to get the body
11937 elements. (getBodyElements): New method. (model):
11938 Made protected from private.
11939 * gnu/javax/swing/text/html/parser/htmlValidator.java
11940 (openTag): Mind that current content model may be null.
11941 (tagIsValidForContext): If the tag is PCDATA, and it is not
11942 valid for context, but the paragraph (P) is valid for context,
11943 suggest to insert the P tag here.
11944 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11945 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11946 implied P tags here.
11947 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11948 Get the custom parser, using HTML_401Swing.java DTD.
11949 * javax/swing/text/html/parser/ParserDelegator.java:
11950 Removed the obsolete note that HTMLEditorKit does not exist.
11951 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11952 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11954 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11956 * javax/management/ListenerNotFoundException.java:
11958 * javax/management/MBeanFeatureInfo.java:
11959 (hashCode()): Use summation instead of multiplication
11960 for consistency with other classes.
11961 * javax/management/MBeanNotificationInfo.java,
11962 * javax/management/Notification.java,
11963 * javax/management/NotificationBroadcaster.java,
11964 * javax/management/NotificationEmitter.java,
11965 * javax/management/NotificationFilter.java,
11966 * javax/management/NotificationListener.java:
11968 * javax/management/OperationsException.java:
11969 (serialVersionUID): Added.
11971 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11972 Mark Wielaard <mark@klomp.org>
11974 * java/io/PrintStream.java: Added four constructors, for File and
11975 String describing a filename with or without explicit encoding.
11977 2006-07-16 Sven de Marothy <sven@physto.se>
11979 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11980 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11983 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11986 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11988 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11989 (setProviderClassNameParam): Made private.
11990 (setKeystoreTypeParam): Likewise.
11991 (setKeyPasswordParam): Likewise
11992 (setKeystorePasswordParam): Likewise.
11993 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11994 create or not the keystore if it's not there, and the second is the store's
11995 password to process before loading the keystore. Amended the code
11997 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11998 setKeyStoreParams(5) with true as its first argument.
11999 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12000 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12002 2006-07-16 Sven de Marothy <sven@physto.se>
12004 * java/util/UUID.java: New file.
12006 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12008 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12009 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12010 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12011 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12012 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12013 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12014 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12015 added Key Wrapping Algorithm SPIs.
12017 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12019 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12020 wrapping/unwrapping to invoke their engineGetOutputSize.
12022 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12024 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12025 (engineInit): If a SecureRandom was specified then use it.
12026 (nextRandomBytes): New method.
12027 (engineWrap): Use above method.
12028 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12029 (getDefaultPRNG): New method.
12030 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12031 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12034 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12036 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12037 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12039 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12041 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12042 offset into consideration.
12044 2006-07-16 Mario Torre <neugens@limasoftware.net>
12046 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12047 Fixed comment. This functions now requires to be called
12048 with gdk lock held, the comment states that.
12049 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12050 Introduces gdk locks around critical regions of code.
12051 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12053 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12055 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12057 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12059 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12061 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12063 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12065 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12067 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12069 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12070 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12072 2006-07-15 Sven de Marothy <sven@physto.se>
12074 * javax/swing/JFileChooser.java
12075 Change default selection mode to FILES_ONLY.
12076 * javax/swing/plaf/basic/BasicDirectoryModel.java
12077 Document, fix selection mode filtering.
12078 (renameFile): Implement
12079 * javax/swing/plaf/basic/BasicFileChooserUI.java
12080 (selectedDir): New field to handle selected directories,
12081 disallow selecting of directories in FILES_ONLY mode.
12082 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12083 (EditingActionListener.actionPerformed):
12084 Stop editing on all actions (e.g. return-key press)
12086 2006-07-15 Mark Wielaard <mark@klomp.org>
12088 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12090 (JNI Implementation): Mark JVMTI Implementation as next.
12091 (JVMTI Implementation): Mark JNI Implementation as prev.
12093 2006-07-15 Mark Wielaard <mark@klomp.org>
12095 * include/Makefile.am: Remove
12096 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12097 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12098 * native/jni/gtk-peer/Makefile.am: Remove
12099 gnu_java_awt_peer_gtk_GdkTextLayout.c
12100 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12103 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12105 2006-07-15 Mark Wielaard <mark@klomp.org>
12107 * autogen.sh: Recognize autoconf 2.60.
12109 2006-07-15 Keith Seitz <keiths@redhat.com>
12111 * NEWS: Update for JVMTI and jvmti.h.
12112 * doc/vmintegration.texinfo: Likewise.
12113 * include/jvmti.h: New file.
12115 2006-07-15 Mark Wielaard <mark@klomp.org>
12117 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12118 Removed C++ style comment.
12120 2006-07-15 Sven de Marothy <sven@physto.se>
12122 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12123 * java/awt/MouseInfo.java,
12124 * java/awt/PointerInfo.java,
12125 * java/awt/peer/MouseInfoPeer.java:
12128 * java/awt/Image.java
12129 (accelerationPriority): New field.
12130 (setAccelerationPriority, getAccelerationPriority): New methods..
12132 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12133 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12134 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12135 (getMouseCoordinates): New method.
12137 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12138 (updateAlwaysOnTop): Remove stub overload.
12140 * gnu/java/awt/ClasspathToolkit.java,
12141 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12142 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12143 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12144 (getMouseInfoPeer): New method.
12145 (getMouseNumberOfButtons): New method.
12147 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12148 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12149 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12150 (gtkWindowSetAlwaysOnTop): New method.
12151 (updateAlwaysOnTop): Implement.
12153 * java/awt/Toolkit.java,
12154 (getMouseInfoPeer): New method.
12156 * java/awt/Window.java
12157 (alwaysOnTop): New field.
12158 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12160 * java/awt/peer/WindowPeer.java: Doc fix.
12162 2006-07-14 Sven de Marothy <sven@physto.se>
12164 * java/awt/font/TextLayout.java:
12165 (hitTestChar): Stub method.
12166 * java/awt/font/TextMeasurer.java:
12167 (getLayout): Throw exception on invalid argument.
12169 2006-07-14 Sven de Marothy <sven@physto.se>
12171 * java/awt/image/DataBuffer.java
12172 (DataBuffer): Call constructors in the correct order,
12174 2006-07-14 Mark Wielaard <mark@klomp.org>
12176 Revert to previous implementation.
12177 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12178 constraints insets.
12180 2006-07-14 Roman Kennke <kennke@aicas.com>
12182 * gnu/java/awt/peer/x/XToolkit.java
12183 (XToolkit): Install properties to SystemProperties
12184 rather than System, to avoid SecurityManager.
12185 (getImage(String)): Return error image when string is invalid.
12186 (createImage(URL)): Moved image loading to helper method.
12187 (createImage(ImageProducer)): Implemented.
12188 (createImage(byte[],int,int)): Implemented.
12189 (createImage(InputStream)): New helper method.
12191 2006-07-14 Tania Bento <tbento@redhat.com>
12193 * java/awt/FlowLayout.java
12194 (setHgap): No Excpetion should be thrown if hgap has
12196 (setVgap): No Exception should be thrown if vgap has
12199 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12201 * java/awt/image/MultiPixelPackedSampleModel.java:
12202 Added API docs all over.
12204 2006-07-14 Matt Wringe <mwringe@redhat.com>
12206 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12207 (engineInit): Throw InvalidAlgorithmParameterException
12208 for invalid IVParameterSpec IV length.
12210 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12212 * java/awt/image/MultiPixelPackedSampleModel.java
12213 (createDataBuffer): Include dataBitOffset in calculating the size for
12216 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12218 * java/awt/image/MultiPixelPackedSampleModel.java
12219 (getSampleSize()): Return a copy of the array,
12220 (getTransferType()): New method override.
12222 2006-07-14 Roman Kennke <kennke@aicas.com>
12224 * java/awt/CardLayout.java
12225 (show): Validate parent to make sure that the layout is
12228 2006-07-14 Roman Kennke <kennke@aicas.com>
12230 * java/awt/Component.java
12231 (enable): Added tree locking.
12232 (disable): Added tree locking.
12233 (show): Added tree locking.
12234 (hide): Added tree locking.
12235 (getLocationOnScreen): Added tree locking.
12236 (reshape): Added tree locking.
12237 (addHierarchyListener): Added tree locking.
12238 (removeHierarchyListener): Added tree locking.
12239 (addHierarchyBoundsListener): Added tree locking.
12240 (removeHierarchyBoundsListener): Added tree locking.
12241 (addNotify): Added tree locking.
12242 (removeNotify): Added tree locking.
12243 * java/awt/Container.java
12244 (invalidateTree): Added tree locking.
12245 (getAlignmentX): Added tree locking.
12246 (getAlignmentY): Added tree locking.
12247 (addNotify): Added tree locking.
12248 (setComponentZOrder): Added tree locking.
12249 (getComponentZOrder): Added tree locking.
12251 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12253 * java/awt/image/MultiPixelPackedSampleModel.java
12254 (createSubsetSampleModel): Restored argument check, but let null
12257 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12259 * java/awt/image/MultiPixelPackedSampleModel.java
12260 (createSubsetSampleModel): Removed argument check.
12262 2006-07-14 Roman Kennke <kennke@aicas.com>
12264 * java/awt/Component.java
12265 (numHierarchyListeners): New field.
12266 (numHierarchyBoundsListeners): New field.
12267 (show): Fire hierarchy events here. Only fire component event
12268 if there is actually a listener for it.
12269 (hide): Fire hierarchy events here. Only fire component event
12270 if there is actually a listener for it.
12271 (reshape): Fire hierarchy events here. Only fire component event
12272 if there is actually a listener for it.
12273 (addHierarchyListeners): Update listener counters.
12274 (removeHierarchyListeners): Update listener counters.
12275 (addHierarchyBoundsListeners): Update listener counters.
12276 (removeHierarchyBoundsListeners): Update listener counters.
12277 (fireHierarchyEvent): New helper method for firing hierarchy
12279 * java/awt/Container.java
12280 (addImpl): Update listener counters. Fire hierarchy event.
12281 (remove): Update listener counters. Fire hierarchy event.
12282 (fireHierarchyEvent): New helper method for firing hierarchy
12284 (updateHierarchyListenerCount): New helper method for
12285 updating the listener counters.
12287 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12289 * java/awt/image/MultiPixelPackedSampleModel.java
12290 (equals): New method override,
12291 (hashCode): Likewise.
12293 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12295 * java/awt/image/MultiPixelPackedSampleModel.java
12296 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12297 Corrected scanlineStride calculation.
12299 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12301 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12302 (AES_KWA): Likewise.
12303 (AES128_KWA): Likewise.
12304 (AES192_KWA): Likewise.
12305 (AES256_KWA): Likewise.
12306 (RIJNDAEL_KWA): Likewise.
12307 (TRIPLEDES_KWA): Likewise.
12308 (DESEDE_KWA): Likewise.
12309 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12310 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12311 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12312 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12313 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12314 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12316 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12318 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12319 (PADDING_BLOCK_SIZE): New constant.
12320 (init(Map attributes)): New method.
12321 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12323 2006-07-14 Mario Torre <neugens@limasoftware.net>
12325 * gnu/java/security/OID.java (OID): Private Constructor removed as
12326 it is not needed anymore.
12327 (clone): Fixed. Now uses super.clone instead of the private
12328 constructor as per specification of clone method.
12329 (serialVersionUID): added new field to allow serialization.
12331 2006-07-13 Sven de Marothy <sven@physto.se>
12333 * gnu/javax/imageio/gif/GIFImageReader.java
12334 (read): Remove old debugging trace.
12336 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12339 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12342 2006-07-13 Roman Kennke <kennke@aicas.com>
12344 * java/awt/Component.java
12345 (DEFAULT_MAX_SIZE): New static constant.
12346 (preferredSize): Return copy of the actual value computed
12347 by new helper method.
12348 (preferredSizeImpl): New helper method. Adds locking and
12349 correct handling of cached value.
12350 (minimumSize): Return copy of the actual value computed
12351 by new helper method.
12352 (minimumSizeImpl): New helper method. Adds locking and
12353 correct handling of cached value.
12354 (getMaximumSize): Return copy of the actual value computed
12355 by new helper method.
12356 (maximumSizeImpl): New helper method. Adds locking and
12357 correct handling of cached value.
12358 (invalidate): Correct handling of cached layout information.
12360 * java/awt/Container.java
12361 (preferredSize): Minimized locking. Corrected handling of cached
12362 values. Return copy of real value.
12363 (minimumSize): Minimized locking. Corrected handling of cached
12364 values. Return copy of real value.
12365 (getMaximumSize): Minimized locking. Corrected handling of cached
12366 values. Return copy of real value.
12368 2006-07-13 Tania Bento <tbento@redhat.com>
12370 * gnu/java/awt/peer/ClasspathFontPeer.java
12371 (isLogicalFontName): Return true if name == default.
12372 (logicalFontNameToFaceName): Check if name == default,
12373 and if so, return "Dialog.plain".
12374 (setStandardAttributes(String, Map)): If name == null,
12375 it should be set to "Default", not "SansSerif".
12376 * java/awt/Canvas.java
12377 (generateName): Fixed documentation.
12378 * java/awt/CheckboxMenuItem.java
12379 Added static variable "next_chkmenuitem_number".
12380 (generateName): Added and implemented method.
12381 (getUniqueLong): Likewise.
12382 * java/awt/Choice.java
12383 Added static variable "next_choice_number".
12384 (generateName): Added and implemented method.
12385 (getUniqueLong): Likewise.
12386 * java/awt/Cursor.java
12387 (Cursor(int)): Set name depending on the type passed.
12388 * java/awt/List.java
12389 Added static variable "next_list_number".
12390 (generateName): Added and implemented method.
12391 (getUniqueLong): Likewise.
12392 * java/awt/Menu.java
12393 Added static variable "next_menu_number".
12394 (generateName): Added and implemented method.
12395 (getUniqueLong): Likewise.
12396 * java/awt/MenuBar.java
12397 Added static variable "next_menubar_number".
12398 (generateName): Added and implemented method.
12399 (getUniqueLong): Likewise.
12400 * java/awt/MenuComponent.java
12401 (getName): Before returning name, check if name == null
12402 and name is not explicity set. If this is the case,
12403 name will be generated.
12404 (generateName): Added and implemented method.
12405 * java/awt/MenuItem.java
12406 Added static variable "next_menuitem_number".
12407 (generateName): Added and implemented method.
12408 (getUniqueLong): Likewise.
12409 * java/awt/PopupMenu.java
12410 Added static variable "next_popup_number".
12411 (generateName): Added and implemented method.
12412 (getUniqueLong): Likewise.
12413 * java/awt/ScrollPane.java
12414 Added static variable "next_scrollpane_number".
12415 (generateName): Added and implemented method.
12416 (getUniqueLong): Likewise.
12417 * java/awt/TextField.java
12418 Added static variable "next_textfield_number".
12419 (generateName): Added and implemented method.
12420 (getUniqueLong): Likewise.
12423 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12425 * java/awt/image/SinglePixelPackedSampleModel.java
12426 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12427 mask correctly as an unsigned integer,
12428 (equals): New method override.
12430 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12432 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12433 insertAfterStart, insertBeforeEnd): Removed stub markings.
12435 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12437 * java/awt/image/BandedSampleModel.java: API doc updates and source
12439 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12441 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12443 * java/awt/image/BandedSampleModel.java: API doc updates.
12445 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12447 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12448 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12449 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12450 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12451 (HRMLReader.blockClose): Mind that parser stack may be empty.
12452 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12453 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12454 (HTMLReader.shouldInsert): New method. (getElement(String)):
12455 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12456 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12457 Implemented. (getInsertingReader): New method.
12458 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12459 Added buttons to demonstrate the work of the insert actions.
12461 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12463 * java/awt/image/SampleModel.java: API doc updates and additions,
12464 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12466 2006-07-12 Sven de Marothy <sven@physto.se>
12468 * javax/swing/JFileChooser.java:
12469 (createDialog): Close operation should cause a cancel.
12471 2006-07-12 Francis Kung <fkung@redhat.com>
12473 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12474 (cairoArc): New native method.
12475 (cairoRestore): New native method.
12476 (cairoSave): New native method.
12477 (cairoScale): New native method.
12478 (createPath): New method to centralize code from draw and fill.
12479 (draw): Modified to use createPath method.
12480 (fill): Modified to use createPath method.
12481 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12482 function declarations.
12483 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12484 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12486 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12488 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12491 2006-07-12 Tom Tromey <tromey@redhat.com>
12494 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12495 on PartialInputStream.
12496 (PartialInputStream.dummyByteCount): New field.
12497 (PartialInputStream.fillBuffer): Handle dummy byte.
12498 (PartialInputStream.read): Likewise.
12499 (PartialInputStream.addDummyByte): New method.
12501 2006-07-12 Mario Torre <neugens@limasoftware.net>
12503 * native/jni/gconf-peer/GConfNativePeer.c
12504 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12505 Fixed C++ style comment.
12507 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12509 * java/util/Arrays.java
12510 (asList): Updated API docs.
12512 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12515 * native/jni/gconf-peer/GConfNativePeer.c:
12516 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12517 Changed if-expression.
12518 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12519 Added check for _value not being NULL.
12521 2006-07-11 Roman Kennke <kennke@aicas.com>
12523 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12524 (read): Use fd when local sockets are disabled to make the
12528 2006-07-11 Roman Kennke <kennke@aicas.com>
12530 * java/awt/image/MultiPixelPackedSampleModel.java
12531 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12532 division gets rounded up.
12534 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12536 * java/lang/management/ManageFactory.java:
12537 (getMemoryManagerMXBeans()): Use addAll, not add.
12539 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12542 * gnu/classpath/ByteArray.java: Removed (moved).
12543 * gnu/java/security/util/ByteArray.java: New File.
12544 * gnu/javax/crypto/RSACipherImpl.java: Reference
12545 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12547 2006-07-11 Roman Kennke <kennke@aicas.com>
12549 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12550 (available): Pass fd as argument and avoid JNI class/field
12554 * include/gnu_java_net_local_LocalSocketImpl.h:
12556 * gnu/java/net/local/LocalSocketImpl.h
12557 (available): Pass fd as argument and avoid JNI class/field
12562 2006-07-11 Sven de Marothy <sven@physto.se>
12564 * gnu/javax/sound/sampled/AU/AUReader.java:
12565 Correct file extension from .as to .au.
12567 2006-07-11 Sven de Marothy <sven@physto.se>
12569 * gnu/javax/sound/sampled/AU/AUReader.java:
12571 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12572 Added new provider.
12574 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12576 * javax/swing/JTable.java
12577 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12578 (setColumnSelectionAllowed): Likewise.
12580 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12583 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12584 AccessController.doPrivileged instead of SystemProperties.getProperty.
12585 * gnu/classpath/debug/SystemLogger.java: Likewise.
12586 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12587 repeated getProperty calls for "file.seperator".
12588 (refresh): Since already in privileged block, call System.getProperty
12589 instead of SystemProperties.getProperty.
12590 * gnu/java/security/key/dss/DSSKey.java
12591 (toString): Use AccessController.doPrivileged instead of
12592 SystemProperties.getProperty.
12593 * gnu/java/security/key/dss/DSSPrivateKey.java
12594 (toString): Likewise.
12595 * gnu/java/security/key/dss/DSSPublicKey.java
12596 (toString): Likewise.
12597 * gnu/java/security/key/rsa/GnuRSAKey.java
12598 (toString): Likewise.
12599 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12600 (toString): Likewise.
12601 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12602 (toString): Likewise.
12603 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12604 * gnu/javax/crypto/key/dh/GnuDHKey.java
12605 (toString): Likewise.
12606 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12607 (toString): Likewise.
12608 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12609 (toString): Likewise.
12611 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12613 * javax/swing/AbstractButton.java
12614 (disabledIcon): Fixed name (was 'disabeldIcon'),
12615 (getDisabledIcon): Updated for corrected field name,
12616 (setDisabledIcon): Fire a PropertyChangeEvent.
12618 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12620 * javax/swing/DefaultBoundedRangeModel.java
12621 (readObject): New private method,
12622 (writeObject): Likewise.
12624 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12626 * javax/swing/ButtonGroup.java
12627 (add): Ignore null argument,
12628 (remove): Ignore null argument. If removing selected button, clear the
12630 (findButton): Changed case for method name, and documented,
12631 (setSelected): Updated for modification to findButton() method name,
12632 (isSelected): Updated API docs.
12634 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12636 * java/awt/image/BufferedImage.java
12637 (BufferedImage(int, int, int)): Use correct color space for
12638 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12639 IllegalArgumentException for an unrecognised type.
12641 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12643 * java/lang/management/ManagementFactory.java:
12644 (getMemoryPoolMXBeans): Genericized fully.
12645 (getMemoryManagerMXBeans): Likewise.
12646 (getGarbageCollectorMXBeans): Likewise.
12648 2006-07-10 Tom Tromey <tromey@redhat.com>
12650 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12652 (getMemoryManagerMXBeans): Likewise.
12653 (getGarbageCollectorMXBeans): Likewise.
12655 2006-07-10 Mario Torre <neugens@limasoftware.net>
12657 * java/awt/BasicStroke.java: Removed unused import.
12658 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12659 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12660 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12662 2006-07-10 Matt Wringe <mwringe@redhat.com>
12664 PR classpath/28212:
12665 * javax/crypto/spec/SecretKeySpec.java
12666 (equals): Check object type.
12668 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12670 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12671 communication/StructureToPassHelper.java,
12672 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12673 communication/StructureToReturnHelper.java,
12674 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12675 communication/TreeNodeHelper.java,
12676 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12677 communication/WeThrowThisExceptionHelper.java,
12678 gnu/CORBA/ForwardRequestHelper.java,
12679 org/omg/CORBA/CompletionStatusHelper.java,
12680 org/omg/CORBA/CurrentHelper.java,
12681 org/omg/CORBA/DefinitionKindHelper.java,
12682 org/omg/CORBA/IDLTypeHelper.java,
12683 org/omg/CORBA/NameValuePairHelper.java,
12684 org/omg/CORBA/ObjectHelper.java,
12685 org/omg/CORBA/ParameterModeHelper.java,
12686 org/omg/CORBA/PolicyErrorCodeHelper.java,
12687 org/omg/CORBA/PolicyErrorHelper.java,
12688 org/omg/CORBA/PolicyHelper.java,
12689 org/omg/CORBA/PolicyListHelper.java,
12690 org/omg/CORBA/PolicyTypeHelper.java,
12691 org/omg/CORBA/ServiceDetailHelper.java,
12692 org/omg/CORBA/ServiceInformationHelper.java,
12693 org/omg/CORBA/SetOverrideTypeHelper.java,
12694 org/omg/CORBA/StringValueHelper.java,
12695 org/omg/CORBA/UnionMemberHelper.java,
12696 org/omg/CORBA/UnknownUserExceptionHelper.java,
12697 org/omg/CORBA/VisibilityHelper.java,
12698 org/omg/CORBA/WStringValueHelper.java,
12699 org/omg/CORBA/WrongTransactionHelper.java,
12700 org/omg/CosNaming/BindingHelper.java,
12701 org/omg/CosNaming/BindingIteratorHelper.java,
12702 org/omg/CosNaming/BindingListHelper.java,
12703 org/omg/CosNaming/BindingTypeHelper.java,
12704 org/omg/CosNaming/NameComponentHelper.java,
12705 org/omg/CosNaming/NameHelper.java,
12706 org/omg/CosNaming/NamingContextExtHelper.java,
12707 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12708 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12709 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12710 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12711 org/omg/CosNaming/NamingContextHelper.java,
12712 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12713 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12714 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12715 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12716 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12717 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12718 org/omg/DynamicAny/AnySeqHelper.java,
12719 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12720 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12721 org/omg/DynamicAny/DynAnyHelper.java,
12722 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12723 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12724 org/omg/DynamicAny/DynAnySeqHelper.java,
12725 org/omg/DynamicAny/DynArrayHelper.java,
12726 org/omg/DynamicAny/DynEnumHelper.java,
12727 org/omg/DynamicAny/DynFixedHelper.java,
12728 org/omg/DynamicAny/DynSequenceHelper.java,
12729 org/omg/DynamicAny/DynStructHelper.java,
12730 org/omg/DynamicAny/DynUnionHelper.java,
12731 org/omg/DynamicAny/DynValueHelper.java,
12732 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12733 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12734 org/omg/DynamicAny/NameValuePairHelper.java,
12735 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12736 org/omg/IOP/CodecFactoryHelper.java,
12737 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12738 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12739 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12740 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12741 org/omg/IOP/ComponentIdHelper.java,
12742 org/omg/IOP/IORHelper.java,
12743 org/omg/IOP/MultipleComponentProfileHelper.java,
12744 org/omg/IOP/ProfileIdHelper.java,
12745 org/omg/IOP/ServiceContextHelper.java,
12746 org/omg/IOP/ServiceContextListHelper.java,
12747 org/omg/IOP/ServiceIdHelper.java,
12748 org/omg/IOP/TaggedComponentHelper.java,
12749 org/omg/IOP/TaggedProfileHelper.java,
12750 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12751 org/omg/PortableInterceptor/AdapterNameHelper.java,
12752 org/omg/PortableInterceptor/AdapterStateHelper.java,
12753 org/omg/PortableInterceptor/CurrentHelper.java,
12754 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12755 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12756 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12757 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12758 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12759 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12760 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12761 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12762 org/omg/PortableServer/CurrentHelper.java,
12763 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12764 org/omg/PortableServer/ForwardRequestHelper.java,
12765 org/omg/PortableServer/POAHelper.java,
12766 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12767 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12768 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12769 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12770 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12771 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12772 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12773 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12774 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12775 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12776 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12777 org/omg/PortableServer/ServantActivatorHelper.java,
12778 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12779 typecode caching and always use OrbRestricted.Singleton.
12781 2006-07-09 Tom Tromey <tromey@redhat.com>
12783 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12785 2006-07-09 Mark Wielaard <mark@klomp.org>
12787 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12788 New static final boolean field.
12789 (getComponentGraphics): Use hasXRenderExtension.
12790 (setClip): Override method for locking.
12792 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12794 * javax/swing/AbstractButton.java
12795 (setHorizontalTextPosition): Added check for illegal argument,
12796 (setVerticalTextPosition): Likewise.
12798 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12800 * javax/swing/Timer.java
12801 (setDelay): Throw IllegalArgumentException for negative delay,
12802 (setInitialDelay): Likewise,
12803 * javax/swing/ToolTipManager.java
12804 (setInitialDelay): Document IllegalArgumentException,
12805 (setDismissDelay): Likewise,
12806 (setReshowDelay): Likewise.
12808 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12810 * java/lang/management/MemoryUsage.java:
12811 (from(javax.management.openmbean.CompositeData)):
12813 * java/lang/management/ThreadInfo.java:
12814 Changed to use open types throughout for the state.
12815 (ThreadInfo(long,String,String,long,long,String,
12816 long,String,long,long,boolean,StackTraceElement[])):
12818 (checkAttribute(javax.management.openmbean.CompositeType,
12819 String, javax.management.openmbean.OpenType)): New method.
12820 (from(javax.management.openmbean.CompositeData)):
12822 (getLockName()): Fixed to use new variable.
12823 (getLockOwnerId()): Likewise.
12824 (getLockOwnerName()): Likewise.
12825 (getThreadId()): Likewise.
12826 (getThreadName()): Likewise.
12827 (getThreadState()): Likewise.
12828 (toString()): Refactored to use new variables.
12829 * javax/management/openmbean/ArrayType.java:
12831 * javax/management/openmbean/CompositeType.java:
12832 Variables should be transient, not volatile.
12833 * javax/management/openmbean/OpenDataException.java:
12834 (serialVersionUID): Added.
12835 * javax/management/openmbean/SimpleType.java:
12837 * javax/management/openmbean/TabularType.java
12838 Variables should be transient, not volatile.
12840 2006-07-09 Tom Tromey <tromey@redhat.com>
12842 * tools/.cvsignore: Updated for new tools.
12844 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12846 * javax/management/openmbean/CompositeData.java,
12847 * javax/management/openmbean/CompositeType.java,
12848 * javax/management/openmbean/OpenDataException.java,
12849 * javax/management/openmbean/OpenType.java,
12850 * javax/management/openmbean/TabularData.java,
12851 * javax/management/openmbean/TabularType.java,
12852 * javax/management/openmbean/package.html:
12855 2006-07-09 Mark Wielaard <mark@klomp.org>
12857 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12858 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12859 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12861 2006-07-08 Anthony Green <green@redhat.com>
12863 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12864 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12867 2006-07-09 Mario Torre <neugens@limasoftware.net>
12869 * native/jni/gconf-peer/GConfNativePeer.c:
12870 Fixed indentation to be more compliant to the GNU coding
12872 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12873 Added explicit test for errors in the GConf backend.
12874 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12875 Added explicit test for errors in the GConf backend.
12876 Fixed Segmentation Fault when non valid key names are given as input.
12877 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12879 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12880 Added explicit test for errors in the GConf backend.
12881 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12882 Added javadoc comments for all native methods.
12883 (nodeExist): removed test to check for valid absolute path name
12885 (startWatchingNode): likewise.
12886 (stopWatchingNode): likewise.
12887 (setString): likewise, plus fixed javadoc comments.
12888 (unset): likekwise.
12889 (getKey): likewise.
12890 (getKeys): likewise, also fixed javadoc comments.
12891 (getChildrenNodes): likewise.
12892 * gnu/java/util/prefs/GConfBasedPreferences.java:
12893 changed DEFAULT_USER_ROOT to /apps/classpath.
12894 (constructor): Test to check for a valid absolute path for nodes
12895 is now in the contructor for that node, instead of being on
12896 each method of the backend.
12897 (getGConfKey): removed empty new line.
12899 2006-07-08 Mark Wielaard <mark@klomp.org>
12901 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12903 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12905 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12906 Handle the forced break in the same way as exceeding the
12907 available row space.
12908 * javax/swing/text/html/HRuleView.java: Rewritten.
12909 * javax/swing/text/html/HTMLDocument.java
12910 (HTMLReader.addSpecialElement):Reserve two characters for
12911 the special elements.
12912 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12913 (text): Extended the HTML example to parse.
12915 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12917 * javax/swing/AbstractButton.java
12918 (setHorizontalAlignment): Check for illegal argument,
12919 (setVerticalAlignment): Likewise.
12921 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12923 * javax/swing/text/html/TableView.java
12924 (getStyleSheet): New method. (RowView.getStyleSheet):
12927 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12929 * javax/swing/AbstractButton.java
12930 (setRolloverIcon): Call setRolloverEnabled(true),
12931 (setRolloverSelectedIcon): Likewise.
12933 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12935 * javax/swing/border/TitledBorder.java
12936 (setTitlePosition): Added message to exception,
12937 (setTitleJustification): Likewise.
12939 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12941 * javax/swing/plaf/metal/MetalLookAndFeel.java
12942 (createDefaultTheme): Corrected API docs,
12943 (initComponentDefaults): Added entry for 'TitledBorder.border',
12944 (getCurrentTheme): Initialise theme if it is null.
12946 2006-07-07 Roman Kennke <kennke@aicas.com>
12948 * java/awt/Component.java
12949 (isValid): Return false when component has no peer,
12950 don't query the showing state.
12952 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12954 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12955 Advance the offset also in the case of the enforced break.
12957 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12959 * javax/swing/plaf/basic/BasicArrowButton.java
12960 (MAXIMUM_SIZE): Removed field,
12961 (MINIMUM_SIZE): Likewise,
12962 (PREFERRED_SIZE): Likewise,
12963 (getMaximumSize): Return new instance every time,
12964 (getMinimumSize): Likewise,
12965 (getPreferredSize): Likewise.
12967 2006-07-07 Roman Kennke <kennke@aicas.com>
12969 * java/awt/LightweightDispatcher.java
12970 (findTarget): Avoid array copying in
12971 Container.getComponents().
12973 2006-07-07 Roman Kennke <kennke@aicas.com>
12975 * javax/swing/JComponent.java
12976 (paintChildrenWithOverlap): Avoid array copying in
12977 Container.getComponents().
12978 (paintChildrenOptimized): Avoid array copying in
12979 Container.getComponents().
12980 (fireAncestorEvent): Avoid array copying in
12981 Container.getComponents().
12982 (findOverlapFreeParent): Avoid array copying in
12983 Container.getComponents().
12985 2006-07-07 Matt Wringe <mwringe@redhat.com>
12987 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12988 (passwordValid): New field.
12989 (setPassword): New method.
12990 (setSalt): Likewise.
12991 (setIterationCount): Likewise.
12992 (setKeyLength): Likewise.
12993 (PBEKeySpec(char[])): Use new setter methods.
12994 (PBEKeySpec(char[], byte[], int)): Likewise.
12995 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12996 (clearPassword): Set passwordValid to false.
12997 (getPassword): Check that clearPassword() was not called earlier.
12998 Return a clone of the password.
12999 (getSalt): Return a clone of the salt if it was not null.
13001 2006-07-07 Roman Kennke <kennke@aicas.com>
13003 * java/awt/Component.java
13004 (isValid): Always return false when component is
13006 (setFont): Always set font, even when setting
13007 the same or equal font again.
13009 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13011 * javax/swing/plaf/metal/MetalIconFactory.java
13012 (CheckBoxMenuItemIcon): Implement UIResource,
13013 (FileChooserDetailViewIcon): Likewise,
13014 (FileChooserHomeFolderIcon): Likewise,
13015 (FileChooserListViewIcon): Likewise,
13016 (FileChooserNewFolderIcon): Likewise,
13017 (FileChooserUpFolderIcon): Removed redundant 'implements',
13018 (RadioButtonMenuItemIcon): Implement UIResource,
13019 (HorizontalSliderThumbIcon): Likewise,
13020 (InternalFrameCloseIcon): Likewise,
13021 (InternalFrameDefaultMenuIcon): Likewise,
13022 (InternalFrameAltMaximizeIcon): Likewise,
13023 (InternalFrameMaximizeIcon): Likewise,
13024 (InternalFrameMinimizeIcon): Likewise,
13025 (VerticalSliderThumbIcon): Likewise,
13026 (TreeHardDriveIcon): Likewise,
13027 (TreeFloppyDriveIcon): Likewise,
13028 (TreeComputerIcon): Likewise,
13029 (horizontalSliderThumbIcon): New field,
13030 (verticalSliderThumbIcon): New field,
13031 (getHorizontalSliderThumbIcon): Cache icon,
13032 (getVerticalSliderThumbIcon): Likewise.
13034 2006-07-06 Mark Wielaard <mark@klomp.org>
13036 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13037 (DISTCLEANFILES): Add standard.omit.
13038 (clean-local): Remove Makefile.deps, only remove dirs.
13040 2006-07-06 Roman Kennke <kennke@aicas.com>
13042 * java/awt/Component.java
13043 (setFont): Only invalidate when component is valid.
13044 * java/awt/Container.java
13045 (setLayout): Only invalidate when component is valid.
13047 2006-07-06 Lillian Angel <langel@redhat.com>
13049 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13050 New class not fully implemented.
13051 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13052 New class not fully implemented.
13053 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13054 New class not fully implemented.
13055 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13056 New class not fully implemented.
13057 * nu/java/awt/peer/gtk/GtkToolkit.java:
13059 (createDragSourceContextPeer): Implemented.
13060 (createDragGestureRecognizer): New function to override
13061 java.awt.Toolkit.createDragGestureRecognizer.
13062 * java/awt/dnd/DragSource.java
13063 (NoDragGestureRecognizer): Removed inner class.
13064 (createDragGestureRecognizer): Re-Implemented to
13065 call Toolkit's createDragGestureRecognizer.
13066 (createDefaultDragGestureRecognizer): Re-Implemented to
13067 call Toolkit's createDragGestureRecognizer.
13068 * java/awt/dnd/DropTarget.java
13069 (addNotify): Added check to determine type of peer and call
13071 (removeNotify): Added call to removeDropTarget.
13073 2006-07-06 Tom Tromey <tromey@redhat.com>
13075 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13077 (run): Wait on queue, not 'this'.
13079 2006-07-06 Lillian Angel <langel@redhat.com>
13081 * java/awt/dnd/DragSource.java
13082 (startDrag): Implemented. Added comments describing
13083 what the function should do. Removed FIXME.
13085 2006-07-06 Tania Bento <tbento@redhat.com>
13087 * gnu/java/awt/Canvas.java
13088 Added new private variable 'next_canvas_number'.
13089 (generateName): Added.
13090 (getUniqueLong): Added.
13092 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13094 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13095 (getColor): Made public.
13096 * javax/swing/text/html/StyleSheet.java (stringToColor):
13097 Use CharacterAttributeTranslator.getColor(String)
13099 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13101 * javax/swing/text/html/HTMLEditorKit.java:
13102 (HTMLFactory.createElement): Update reference to the html table view.
13103 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13104 * javax/swing/text/html/TableView.java: New file.
13106 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13108 * javax/swing/text/html/HTMLEditorKit.java:
13109 (HTMLFactory.createElement): Uncomment
13110 code for BRView and HRuleView.
13111 * javax/swing/text/html/BRView.java,
13112 javax/swing/text/html/HRuleView.java: New files.
13114 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13116 * java/lang/Thread.java:
13117 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13118 Added generic type signature.
13120 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13123 * doc/vmintegration.texinfo: Likewise.
13124 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13125 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13126 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13127 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13128 * java/lang/management/GarbageCollectorMXBean.java:
13130 * java/lang/management/ManagementFactory.java:
13131 (getGarbageCollectorMXBeans()): Implemented.
13132 (getMemoryManagerMXBeans()): Likewise.
13133 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13134 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13136 * vm/reference/java/lang/management/VMManagementFactory.java:
13137 (getMemoryManagerNames()): Added.
13138 (getGarbageCollectorNames()): Added.
13140 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13142 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13143 from lib_LTLIBRARIES.
13144 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13146 2006-07-05 Lillian Angel <langel@redhat.com>
13148 * java/awt/dnd/DragGestureEvent.java:
13150 (DragGestureEvent): Initialized new fields, added to check and
13151 added documentation.
13152 (getSourceAsDragGestureRecognizer): Added documentation and
13153 changed to use getSource.
13154 (getComponent): Added documentation and fixed to return the proper
13156 (getDragSource): Likewise.
13157 (getDragOrigin): Added documentation.
13158 (iterator): Implemented and added documentation.
13159 (toArray): Likewise.
13160 (toArray): Likewise.
13161 (getDragAction): Likewise.
13162 (getTriggerEvent): Likewise.
13163 (startDrag): Likewise.
13164 * java/awt/dnd/DragGestureRecognizer.java
13165 (resetRecognizer): Added FIXME.
13166 * java/awt/dnd/DragSource.java:
13168 (DragSource): Set ds to be null if headless.
13169 (getDefaultDragSource): Added documentation and implemented.
13170 (isDragImageSupported): Marked as unimplemented.
13171 (startDrag): Likewise.
13172 (createDragSourceContext): Implemented.
13173 (NoDragGestureRecognizer): Formatted inner class.
13174 * java/awt/dnd/DropTarget.java
13175 (stop): Marked as unimplemented.
13176 (actionPerformed): Likewise.
13177 (addDropTargetListener): Added code to throw exception.
13178 (removeDropTargetListener): Added check, removed FIXME.
13179 (dragEnter): Implemented.
13180 (dragOver): Implemented.
13181 (dropActionChanged): Implemented.
13182 (dragExit): Implemented.
13183 (drop): Implemented.
13184 (addNotify): Implemented.
13185 (removeNotify): Implemented.
13186 (createDropTargetContext): Implemented.
13187 (createDropTargetAutoScroller): Implemented.
13188 (initializeAutoscrolling): Implemented.
13189 (updateAutoscroll): Implemented.
13190 (clearAutoscroll): Implemented.
13191 * java/awt/dnd/DropTargetContext.java
13192 (dropComplete): Implemented.
13193 (acceptDrag): Implemented.
13194 (rejectDrag): Implemented.
13195 (acceptDrop): Implemented.
13196 (rejectDrop): Implemented.
13197 (getCurrentDataFlavors): Implemented.
13198 (getTransferable): Partially implemented.
13199 * java/awt/dnd/DropTargetDragEvent.java
13200 (getDropAction): Uncommented correct code.
13201 * java/awt/dnd/DropTargetDropEvent.java
13202 (dropComplete) :Implemented.
13203 * java/awt/dnd/InvalidDnDOperationException.java
13204 (InvalidDnDOperationException): Added call to super.
13206 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13208 * javax/swing/plaf/basic/BasicArrowButton.java:
13209 (paint): Removed getBounds() call, changed center point
13212 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13214 * javax/swing/InputMap.java
13215 (inputMap): Don't initialize yet,
13216 (InputMap): Removed TODO,
13217 (get): Check for null inputMap,
13218 (put): Return immediately for null keyStroke, check for null inputMap
13219 and initialize if necessary,
13220 (remove): Check for null inputMap,
13224 (allKeys): Likewise,
13225 (writeObject): Removed,
13226 (readObject): Removed.
13228 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13230 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13231 (createContent): Use different labels for buttons.
13233 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13236 * doc/vmintegration.texinfo: Likewise.
13237 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13238 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13240 * java/lang/management/ManagementFactory.java:
13241 (getMemoryPoolMXBeans()): Implemented.
13242 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13243 * vm/reference/java/lang/management/VMManagementFactory.java:
13246 2006-07-04 Lillian Angel <langel@redhat.com>
13248 * java/awt/dnd/DragSourceContext.java:
13249 Removed FIXMEs from fields.
13250 (DragSourceContext): Added code to initialize cursor and sourceActions.
13251 (getDragSource): Added documentation.
13252 (getComponent): Likewise.
13253 (getTrigger): Likewise.
13254 (getSourceActions): Added documentation and implemented.
13255 (setCursor): Implemented. Added documentation.
13256 (getCursor): Implemented. Added documentation.
13257 (dragEnter): Added code to notify DragSource's listeners.
13258 (dragOver): Likewise.
13259 (dragExit): Likewise.
13260 (dropActionChanged): Likewise.
13261 (dragDropEnd): Likewise.
13262 (dragMouseMoved): Implemented.
13263 (getTransferable): Added API documentation.
13264 (updateCurrentCursor): Added API documentation and partially implemented.
13266 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13268 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13270 2006-07-04 Lillian Angel <langel@redhat.com>
13272 * java/awt/dnd/DragSourceContext.java
13273 (DragSourceContext): Implemented fully. Fixed API docs.
13274 (transferablesFlavorsChanged): Implemented.
13275 (dragEnter): Implemented.
13276 (dragOver): Implemented.
13277 (dragExit): Implemented.
13278 (dropActionChanged): Implemented.
13279 (dragDropEnd): Implemented.
13281 2006-07-04 Lillian Angel <langel@redhat.com>
13283 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13284 Fixed name of constant.
13285 (getIconWidth): Changed name of constant returned.
13286 (getIconHeight): Likewise.
13288 (createSeparator): Marked as unimplemented.
13289 * javax/swing/plaf/basic/BasicTableUI.java
13290 (focusGained): Marked as unimplemented.
13291 (focusLost): Marked as unimplemented.
13292 (mouseEntered): Likewise.
13293 (mouseMoved): Likewise.
13294 (uninstallDefaults): Likewise.
13295 * javax/swing/plaf/basic/BasicToolBarUI.java
13296 (mouseClicked): Changed comment.
13297 (mouseEntered): Likewise.
13298 (mouseExited): Likewise.
13299 (mouseMoved): Likewise.
13300 (setOrientation): Implemented.
13301 (ToolBarFocusListener): Marked as unimplemented.
13302 (focusGained): Marked as unimplemented.
13303 (focusLost): Marked as unimplemented.
13305 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13308 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13309 Mind the effect of the root visibility on the position of the control.
13310 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13311 vertical line over first level nodes.
13313 2006-07-04 Lillian Angel <langel@redhat.com>
13315 * javax/swing/plaf/basic/BasicMenuUI.java
13316 (installKeyboardActions): Implemented to call super. Nothing else
13317 needs to be done here.
13318 (setupPostTimer): Marked as unimplemented.
13319 (uninstallKeyboardActions): Implemented to call super. Nothing else
13320 needs to be done here.
13321 (mouseMoved): Removed TODO. Nothing to be done here.
13322 (ChangeHandler): Implemented.
13323 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13324 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13325 (menuKeyReleased): Removed TODO. Nothing to be done here.
13326 (menuKeyTyped): Marked as unimplemented.
13328 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13331 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13332 (getDefaults): Set hash color to black.
13333 * javax/swing/plaf/basic/BasicLookAndFeel.java
13334 (initComponentDefaults): Set hash color to grey blue.
13335 * javax/swing/plaf/basic/BasicTreeUI.java
13336 (instellDefaults): Set hash color.
13337 * javax/swing/plaf/metal/MetalIconFactory.java
13338 (TreeControlIcon.paint): Rewritten.
13340 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13343 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13344 Always cancel the current editing session before doing anything else,
13345 return immediately if this fails.
13346 (TreeHomeAction): Ensure that the lead selection path is visible after
13347 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13348 Likewise. TreeTraverseAction: Likewise.
13350 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13353 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13354 Returned back the code to handle the start of the click-pause-click
13355 editing initiation, explained about this code.
13356 (TreeStartEditingAction): New inner class.
13357 (stopEditingInCompleteEditing): Explained about this field.
13358 (completeEditing(boolean, boolean, boolean): Only return early
13359 if there is no current editing session.
13360 (createDefaultActions): Install TreeStartEditingAction and
13361 TreeCancelEditingAction.
13363 2006-07-04 Mario Torre <neugens@limasoftware.net>
13365 * configure.ac: Added new option --enable-default-preferences-peer
13366 to pass user specified default preference backend.
13367 If the GConf peer is built, GConf become the default backend.
13368 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13370 * lib/Makefile.am: excludes files terminating in 'in' from
13371 the metafiles list.
13372 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13373 from copy into META-INF.
13374 * java/util/prefs/Preferences.java: added two new import
13375 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13376 (getFactory): Now try to check for
13377 a system defined default preference backend before to fall back on
13378 FileBasedPreference.
13380 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13383 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13384 (EXPANDED): Initialise to Boolean.TRUE.
13385 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13386 First configure layout cache and then set the assigned value
13387 as row mapper. Set the root visibility property.
13388 (toggleExpandState): Obtains expansion state from the layout cache.
13390 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13392 * java/lang/management/MemoryPoolMXBean.java:
13395 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13397 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13399 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13401 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13402 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13403 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13404 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13405 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13406 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13407 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13408 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13409 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13410 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13411 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13412 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13413 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13414 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13415 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13416 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13417 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13418 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13419 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13420 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13421 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13422 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13423 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13424 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13425 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13426 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13427 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13428 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13429 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13430 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13431 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13432 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13433 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13434 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13435 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13436 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13437 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13438 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13439 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13440 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13441 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13442 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13443 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13444 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13445 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13446 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13447 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13449 2006-07-02 Anthony Green <green@redhat.com>
13451 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13452 sure that every track written ends with an End Of Track meta
13455 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13457 * java/lang/management/MemoryUsage.java:
13458 (toString()): Fix missing MB for maximum memory usage.
13460 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13463 Updated to include VMCompilationMXBeanImpl.
13464 * doc/vmintegration.texinfo:
13465 Likewise, along with update to VMMemoryMXBeanImpl
13467 * examples/gnu/classpath/examples/management/TestCompilation.java,
13468 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13469 * java/lang/management/CompilationMXBeanImpl.java:
13471 * java/lang/management/ManagementFactory.java:
13472 (getCompilationMXBean()): Implemented.
13473 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13475 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13476 (getHeapMemoryUsage()): Added default implementation.
13478 2006-07-02 Anthony Green <green@redhat.com>
13480 * NEWS: Mention MIDI file reader/writer providers.
13482 2006-07-02 Anthony Green <green@redhat.com>
13484 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13485 gnu/javax/sound/midi/file/MidiFileWriter.java,
13486 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13488 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13491 Updated to include VMMemoryMXBeanImpl.
13492 * doc/vmintegration.texinfo: Likewise.
13493 * examples/gnu/classpath/examples/management/TestMemory.java:
13495 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13496 Remove redundant import.
13497 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13499 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13500 Remove redundant import.
13501 * java/lang/management/ManagementFactory.java:
13502 (getMemoryMXBean()): Implemented.
13503 * java/lang/management/MemoryMXBean.java,
13504 * java/lang/management/MemoryUsage.java:
13506 * java/lang/management/ThreadInfo.java:
13507 (toString()): Updated documentation.
13508 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13511 2006-07-01 Anthony Green <green@redhat.com>
13513 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13514 gnu/javax/sound/midi/file/MidiFileReader.java,
13515 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13516 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13518 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13520 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13521 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13522 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13523 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13524 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13525 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13526 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13528 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13530 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13531 * gnu/javax/crypto/pad/IPad.java: Likewise.
13532 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13533 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13534 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13535 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13536 * gnu/javax/crypto/pad/TBC.java: Likewise.
13537 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13538 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13540 2006-07-01 Anthony Green <green@redhat.com>
13542 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13544 (setMessage): Fix it again, in a different setMessage method.
13546 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13548 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13549 * gnu/javax/crypto/mode/CBC.java: Likewise.
13550 * gnu/javax/crypto/mode/CFB.java: Likewise.
13551 * gnu/javax/crypto/mode/CTR.java: Likewise.
13552 * gnu/javax/crypto/mode/EAX.java: Likewise.
13553 * gnu/javax/crypto/mode/ECB.java: Likewise.
13554 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13555 * gnu/javax/crypto/mode/ICM.java: Likewise.
13556 * gnu/javax/crypto/mode/IMode.java: Likewise.
13557 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13558 * gnu/javax/crypto/mode/OFB.java: Likewise.
13560 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13562 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13563 * gnu/javax/crypto/mac/HMac.java: Likewise.
13564 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13565 * gnu/javax/crypto/mac/IMac.java: Likewise.
13566 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13567 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13568 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13569 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13570 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13571 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13572 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13574 2006-07-01 Anthony Green <green@redhat.com>
13576 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13578 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13580 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13581 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13582 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13583 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13584 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13585 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13586 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13587 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13588 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13589 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13590 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13591 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13592 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13593 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13594 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13595 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13596 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13597 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13598 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13599 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13600 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13601 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13602 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13603 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13605 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13607 * javax/swing/AbstractCellEditor.java: Source code formatting,
13608 * javax/swing/AbstractSpinnerModel.java: Likewise,
13609 * javax/swing/Box.java: Likewise,
13610 * javax/swing/BoxLayout.java: Likewise,
13611 * javax/swing/DefaultListModel.java: Likewise,
13612 * javax/swing/GrayFilter.java: Likewise,
13613 * javax/swing/LookAndFeel.java: Likewise,
13614 * javax/swing/ProgressMonitor.java: Likewise,
13615 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13616 * javax/swing/ScrollPaneLayout.java: Likewise,
13617 * javax/swing/SpringLayout.java: Likewise,
13618 * javax/swing/event/EventListenerList.java: Likewise,
13619 * javax/swing/event/MenuEvent.java: Likewise,
13620 * javax/swing/event/TreeExpansionListener.java: Likewise.
13622 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13625 Mention threading bean and getState().
13626 * doc/vmintegration.texinfo:
13627 Update documentation for threading bean and new
13628 method of VMThread.
13630 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13632 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13633 * examples/gnu/classpath/examples/management/TestOS.java,
13634 * examples/gnu/classpath/examples/management/TestRuntime.java,
13635 * examples/gnu/classpath/examples/management/TestThread.java:
13638 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13640 * java/lang/ThreadGroup.java
13641 (getThreadFromId, getThreadFromIdImpl): New methods.
13643 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13645 * java/lang/Thread.java:
13646 Make thread IDs start from 1 in a more efficient way.
13648 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13650 * java/lang/Thread.java:
13651 Make thread IDs start from 1.
13653 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13655 * gnu/java/lang/management/BeanImpl.java:
13656 New superclass for all bean implementations.
13657 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13658 Extend BeanImpl and call permission code there.
13659 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13661 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13662 Extend BeanImpl and call permission code there.
13663 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13665 * java/lang/management/ManagementFactory.java:
13666 (getThreadMXBean()): Implemented.
13667 * java/lang/management/ThreadInfo.java:
13668 (ThreadInfo(Thread,int)): Replaced...
13669 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13670 boolean, boolean, StackTraceElement[])): with this.
13671 (getBlockedCount()): Refactored to use local variables.
13672 (getBlockedTime()): Likewise.
13673 (getLockName()): Likewise.
13674 (getLockOwnerId()): Likewise.
13675 (getLockOwnerName()): Likewise.
13676 (getStackTrace()): Likewise.
13677 (getWaitedCount()): Likewise.
13678 (getWaitedTime()): Likewise.
13679 (isInNative()): Likewise.
13680 (isSuspended()): Likewise.
13681 (toString()): Changed to use new local variables.
13682 * java/lang/management/ThreadMXBean.java:
13683 (getThreadInfo(long, int)): Corrected documentation.
13684 (getThreadInfo(long[], int)): Likewise.
13685 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13687 * vm/reference/java/lang/management/VMThreadInfo.java:
13690 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13692 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13693 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13694 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13695 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13696 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13697 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13698 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13699 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13700 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13701 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13702 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13703 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13704 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13705 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13706 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13707 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13708 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13709 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13710 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13711 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13712 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13713 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13714 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13715 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13716 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13717 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13718 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13719 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13720 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13721 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13722 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13723 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13725 2006-07-01 Roman Kennke <kennke@aicas.com>
13727 * gnu/java/awt/java2d/AbstractGraphics2D.java
13728 (transform): Make field protected.
13729 (getDestinationRaster): Provide default implementation for
13730 previously abstract method.
13732 2006-06-30 Tania Bento <tbento@redhat.com>
13734 * java/awt/TextArea.java
13735 (TextArea(String, int, int, int)): No longer throws
13736 IllegalArgumentException if rows, columns, or scrollbarVisibility
13737 values are invalid.
13738 (TextArea(String, int, int, int)): If rows or columns are < 0,
13739 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13740 gets set to the default value of 0 (SCROLLBARS_BOTH).
13741 (appendText): Added case when peer = null.
13742 (insertText): Added case when peer == null.
13743 (replaceText): Added case when peer == null.
13744 * java/awt/TextComponent.java
13745 (TextComponent(String)): If text == null, set it to "".
13747 2006-06-30 Lillian Angel <langel@redhat.com>
13749 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13750 (create): Added synchronized block around groupMap.get calls.
13751 (setCheckboxGroup): Likewise.
13753 2006-06-30 Lillian Angel <langel@redhat.com>
13755 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13756 (create): Changed to be non-synchronized.
13757 (setLabel): Likewise.
13758 (setCheckboxGroup): Likewise.
13759 (addToGroupMap): Likewise. Added synchronized block around
13761 (dispose): Changed to be non-synchronized.
13763 2006-06-30 Lillian Angel <langel@redhat.com>
13765 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13766 Changed all return values of native functions to void.
13767 (create): Changed function to be synchronized. Removed
13768 call to put value in groupMap, this is now done from
13770 (setState): Changed function to be synchronized.
13771 (setLabel): Changed function to be synchronized.
13772 (setCheckboxGroup): Changed function to be synchronized. Removed
13773 call to put value in groupMap, this is now done from
13775 (postItemEvent): Changed function to be synchronized.
13776 (addToGroupMap): New function. Called by native code to add
13777 new value to the group.
13778 (dispose): Changed function to be synchronized.
13779 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13781 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13782 (cp_gtk_checkbox_init_jni): Added code to link to
13784 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13785 Changed return value to void. Added call
13786 to java function to set pointer in groupMap.
13787 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13788 changed check to an assert. Also, removed call to set/del pointer.
13789 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13790 Likewise. Also, added check to determine if native_group should be
13792 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13794 2006-06-30 Sven de Marothy <sven@physto.se>
13796 * gnu/java/awt/ClasspathToolkit.java,
13797 * gnu/java/awt/peer/x/XToolkit.java,
13798 * gnu/java/awt/peer/qt/QtToolkit.java,
13799 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13800 Remove ClasspathTextLayoutPeer.
13801 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13802 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13805 2006-06-30 Sven de Marothy <sven@physto.se>
13807 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13808 (drawGlyphVector): Don't draw empty vectors.
13810 2006-06-30 Lillian Angel <langel@redhat.com>
13811 Tom Fitzsimmons <fitzsim@redhat.com>
13813 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13814 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13815 Added current_group, groupMap fields. Added definitions for
13816 new native functions.
13817 (create): Removed FIXME. Added code to create the check button or
13818 radio button when appropriate. Updated groupMap to contain
13819 pointer to the newly created group.
13820 (setCheckboxGroup): Added code to handle all cases. Removing
13821 a button from a group, adding a button to a group, or changing the
13823 (dispose): Changed to call super.
13824 * include/Makefile.am: Removed reference to
13825 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13826 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13827 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13829 * native/jni/gtk-peer/Makefile.am: Removed reference to
13830 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13831 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13833 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13834 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13835 Renamed to checkbox_get_widget.
13836 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13837 Changed to use checkbox_get_widget.
13838 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13840 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13841 Changed to use checkbox_get_widget.
13842 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13844 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13845 New function. Creates checkbutton without a group.
13846 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13847 Creates a radio button in a group, using groupPointer. If groupPointer
13848 is 0, then a new group is created.
13849 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13850 check button to a group, using groupPointer. A radio button is created
13851 in its place. If groupPointer is 0, then a new group is created.
13852 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13853 radio button is removed from the group. A check button is created in
13855 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13856 radio button is moved to a new group.
13858 2006-06-30 Mark Wielaard <mark@klomp.org>
13860 * configure.ac: Move standard.omit creation after dirs are created.
13861 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13862 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13863 (clean-local): Remove standard.omit.
13864 * lib/gen-classlist.sh.in: Use omit file in build dir.
13865 * lib/standard.omit.in: Make exclude regex more explicit.
13867 2006-06-30 Roman Kennke <kennke@aicas.com>
13869 * lib/Makefile.am: Added Escher dir/jar to classpath when
13871 * configure.ac: Moved handling of standard.omit to a place
13872 where it actually gets executed.
13874 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13876 * java/awt/TextComponent.java: Reformatted source code,
13877 * java/awt/TextField.java: Likewise.
13879 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13881 * java/lang/Thread.java:
13882 (getState()): Handle case of no VMThread
13885 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13887 * java/lang/Thread.java,
13888 * java/lang/VMThread.java:
13889 Reverted patch from 2006-06-28.
13891 2006-06-29 Roman Kennke <kennke@aicas.com>
13893 * gnu/java/awt/peer/x/GLGraphics.java,
13894 * gnu/java/awt/peer/x/ImageConverter.java,
13895 * gnu/java/awt/peer/x/KeyboardMapping.java,
13896 * gnu/java/awt/peer/x/XEventPump.java,
13897 * gnu/java/awt/peer/x/XFontPeer.java,
13898 * gnu/java/awt/peer/x/XFontPeer2.java,
13899 * gnu/java/awt/peer/x/XFramePeer.java,
13900 * gnu/java/awt/peer/x/XGraphics.java,
13901 * gnu/java/awt/peer/x/XGraphics2D.java,
13902 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13903 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13904 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13905 * gnu/java/awt/peer/x/XImage.java,
13906 * gnu/java/awt/peer/x/XLightweightPeer.java,
13907 * gnu/java/awt/peer/x/XToolkit.java,
13908 * gnu/java/awt/peer/x/XWindowPeer.java,
13909 * gnu/java/awt/peer/x/fonts.properties: New files.
13910 * lib/standard.omit: Removed.
13911 * lib/standard.omit.in: Added.
13912 * configure.ac: Added configure option --with-escher. Added some
13913 configury for omitting gnu.java.awt.peer.x package when
13914 this option is not specified.
13916 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13918 * javax/swing/JComponent.java
13919 (JComponent()): Initialize the locale here, not the default locale,
13920 (getDefaultLocale): If null, return Locale.getDefault(),
13921 (setDefaultLocale): Added API docs.
13923 2006-06-29 Tania Bento <tbento@redhat.com>
13925 * java/awt/Container.java
13926 (applyComponentOrientation): Implemented method.
13928 2006-06-29 Gary Benson <gbenson@redhat.com>
13930 * java/io/File.java (listRoots): Merge security checks from libgcj.
13932 2006-06-29 Gary Benson <gbenson@redhat.com>
13934 * java/io/FilePermission.java (implies): Work when path is "/".
13936 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13938 * java/lang/Thread.java:
13939 (Thread(ThreadGroup,Runnable,String,long)): Update
13941 (Thread(VMThread,String,int,boolean)): Likewise.
13942 (join(long,int)): Likewise.
13943 (resume()): Likewise.
13944 (sleep(long,int)): Likewise.
13945 (start()): Likewise.
13946 (stop()): Likewise.
13947 (suspend()): Likewise.
13949 (getState()): Return either state or use VMThread.
13950 * java/lang/VMThread.java:
13951 (getState()): Added default implementation to return
13954 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13956 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13957 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13958 endian swapping code.
13960 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13961 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13962 without alpha information correctly on big endian systems.
13964 2006-06-28 Roman Kennke <kennke@aicas.com>
13966 * gnu/java/net/local/LocalSocket.java
13967 (setSoTimeout): Don't throw exception and ignore request.
13968 (getSoTimeout): Don't throw exception and always return 0.
13970 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13972 * javax/swing/JComponent.java
13973 (getRegisteredKeyStrokes): Implemented.
13975 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13977 * javax/swing/JComponent.java
13978 (verifyInputWhenFocusTarget): Initialise to true.
13980 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13982 * java/beans/VetoableChangeSupport.java
13983 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13985 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13986 for null property name and/or listener,
13987 * javax/swing/JComponent.java
13988 (getListeners): Handle VetoableChangeListener.class as a special case,
13989 (getVetoableChangeListeners): Fetch these from the
13990 vetoableChangeSupport object.
13992 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13994 * javax/swing/JComponent.java
13995 (componentPopupMenu): New field,
13996 (inheritsPopupMenu): New field,
13997 (getInheritsPopupMenu): Implemented,
13998 (setInheritsPopupMenu): Likewise,
13999 (getComponentPopupMenu): Likewise,
14000 (setComponentPopupMenu): Likewise,
14001 * javax/swing/JLabel.java
14002 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14004 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
14006 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14007 (toString): New method.
14008 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14009 (toString): New method.
14010 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14011 (toString): New method.
14012 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14013 Handle case when Q is null.
14014 (decodePrivateKey): Likewise.
14015 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14017 (decodePublicKey): Likewise.
14018 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14019 aliases for all block ciphers.
14020 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14021 (engineDoPhase): Compute fully the shared secret.
14022 (checkState): New method.
14024 (engineGenerateSecret()): Reset key-agreement before returning.
14025 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14026 Reset key-agreement before returning.
14027 (engineGenerateSecret(String)): Reset key-agreement before returning.
14028 (engineInit(Key,SecureRandom)): Call reset() before returning.
14029 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14030 (engineInit): Replace printing to System.out with conditional logging.
14031 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14032 When the key-size is not specified, attempt best effort to find a suitable
14033 value among those advertised by the cipher before setting it to the length
14034 of provided key material.
14036 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14038 * javax/swing/table/DefaultTableColumnModel.java
14039 (changeEvent): Don't initialize yet, removed FIXME,
14040 (fireColumnModelChanged): Initialize changeEvent if necessary.
14042 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14044 * java/lang/Thread.java:
14045 (getAllStackTraces()): Implemented.
14046 (getStackTrace()): Likewise.
14048 2006-06-27 Tania Bento <tbento@redhat.com>
14050 * java/awt/Component.java
14051 (setComponentOrientation): NPE should not be thrown.
14053 2006-06-27 Tom Tromey <tromey@redhat.com>
14055 * configure.ac: Create gjar, gnative2ascii, gserialver.
14056 * tools/gappletviewer.in: Quote $@.
14057 * tools/gkeytool.in: Likewise.
14058 * tools/gjarsigner.in: Likewise.
14059 * tools/gjar.in: New file.
14060 * tools/gnative2ascii.in: Likewise.
14061 * tools/gserialver.in: Likewise.
14062 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14064 (bin_SCRIPTS): Likewise.
14066 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14068 * java/lang/management/ThreadMXBean.java:
14069 (getThreadInfo(long[])): Corrected return type.
14070 (getThreadInfo(long[], int)): Likewise.
14072 2006-06-27 Mark Wielaard <mark@klomp.org>
14074 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14075 nothing when listener is null.
14076 (removeFlavorListener): Likewise.
14078 * java/awt/datatransfer/DataFlavor.java
14079 (getRepresentationClassFromMime): Renamed to
14080 getRepresentationClassFromMimeThrows.
14081 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14082 (isRepresentationClassSerializable): Likewise.
14083 (isFlavorJavaFileListType): Likewise and check primary and
14085 (getParameter): Parameters are separated by semi-colons.
14086 (DataFlavor(Class,String,String)): Do some sanity checks.
14087 (DataFlavor(String,String,ClassLoader)): Call
14088 getRepresentationClassFromMimeThrows.
14089 (DataFlavor(String)): Likewise.
14090 (equals(DataFlavor)): Special case primary type text and charset
14093 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14095 * java/awt/Component.java
14096 (setName): Fire required PropertyChangeEvent,
14097 * java/awt/Label.java
14098 (getText): Removed redundant brackets,
14099 (generateName): New method (override),
14100 (nextLabelNumber): New field,
14101 (getUniqueLong): New method.
14103 2006-06-27 Roman Kennke <kennke@aicas.com>
14105 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14106 (createImage): Delegate this to the parent.
14107 (handleEvent): Only handle PAINT/UPDATE events when the
14108 component is actually showing.
14109 (hide): Repaint the parent after hiding a component.
14110 (prepareImage): Have only one return point.
14111 (setVisible): Delegate to show() and hide().
14112 (createVolatileImage): Added null check to avoid NPE.
14114 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14116 * java/awt/Label.java: Reformatted source code.
14118 2006-06-27 Roman Kennke <kennke@aicas.com>
14120 * java/awt/image/BufferedImage.java
14121 (getSource): Use a fixed DirectColorModel to deliver the
14122 RGB pixels to the ImageConsumer.
14124 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14126 * java/awt/Point.java
14127 (setLocation(double, double)): Round to nearest integer coordinates.
14129 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14131 * java/awt/Component.java
14132 (minSizeSet): New field,
14133 (maxSize): Likewise,
14134 (maxSizeSet): Likewise,
14135 (isMaximumSizeSet): Implemented,
14136 (isMinimumSizeSet): Likewise,
14137 (isPreferredSizeSet): Likewise,
14138 (setMaximumSize): Likewise,
14139 (setMinimumSize): Likewise,
14140 (setPreferredSize): Likewise.
14142 2006-06-27 Roman Kennke <kennke@aicas.com>
14144 * javax/imageio/spi/IIORegistry.java
14145 (IIORegistry): Added BMP codec.
14147 2006-06-27 Mark Wielaard <mark@klomp.org>
14149 * javax/swing/JComponent.java
14150 (firePropertyChange(String,char,char)): New override method.
14152 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14154 * java/lang/Thread.java:
14155 (getState()): New method.
14156 * java/lang/management/ClassLoadingMXBean.java:
14157 Corrected class documentation.
14158 * java/lang/management/ManagementFactory.java:
14159 Added new temporary marked stub to get thread bean.
14160 * java/lang/management/OperatingSystemMXBean.java:
14161 Corrected class documentation.
14162 * java/lang/management/RuntimeMXBean.java:
14163 Corrected class documentation.
14164 * java/lang/management/ThreadInfo.java,
14165 * java/lang/management/ThreadMXBean.java:
14167 * vm/reference/java/lang/VMThread.java:
14168 (getState()): New method.
14169 * vm/reference/java/lang/management/VMThreadInfo.java:
14172 2006-06-26 Sven de Marothy <sven@physto.se>
14174 * gnu/javax/imageio/gif/GIFFile.java
14175 * gnu/javax/imageio/gif/GIFImageReader.java
14176 * gnu/javax/imageio/gif/GIFImageSpi.java
14177 * gnu/javax/imageio/gif/GIFStream.java
14179 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14181 2006-06-26 Tania Bento <tbento@redhat.com>
14183 * java/awt/List.java
14184 (List): A list should have at least 4 visible rows.
14185 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14186 not an IllegalArgumentException.
14187 (makeVisible): Should not throw an IllegalArgumentException if
14188 the specified index is out of range.
14190 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14192 * javax/swing/JList.java
14193 (getNextMatch): Reimplemented to perform a circular search for the
14196 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14198 * javax/swing/JList.java
14199 (init): Set default value for visibleRowCount to 8,
14200 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14202 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14204 * javax/swing/JList.java
14205 (valueIsAdjusting): Removed,
14206 (init): Removed initialization of valueIsAdjusting field,
14207 (getValueIsAdjusting): Fetch value from selection model,
14208 (setValueIsAdjusting): Store value in selection model.
14210 2006-06-26 Roman Kennke <kennke@aicas.com>
14212 * javax/swing/plaf/basic/BasicListUI.java
14213 (installKeyboardActions): Rewritten to fit with the
14214 ActionMap/InputMap architecture.
14215 (uninstallKeyboardActions): Implemented.
14216 (ListAction): Made private. Added TODO for splitting
14217 up this bulk Action.
14218 (ListAction.ListAction): New constructor. This one
14219 takes a cmd parameter to be installed as actionCommand.
14221 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14223 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14224 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14226 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14228 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14229 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14230 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14231 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14232 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14233 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14234 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14235 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14236 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14237 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14238 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14239 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14240 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14241 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14242 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14243 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14244 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14245 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14246 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14247 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14248 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14249 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14250 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14251 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14252 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14253 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14254 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14255 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14256 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14257 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14258 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14259 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14260 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14261 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14262 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14263 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14264 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14265 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14266 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14267 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14268 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14269 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14270 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14271 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14272 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14273 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14274 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14275 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14276 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14277 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14278 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14279 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14280 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14281 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14282 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14283 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14284 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14285 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14286 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14287 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14288 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14289 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14290 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14291 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14292 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14293 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14294 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14295 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14296 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14297 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14298 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14299 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14300 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14301 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14302 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14303 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14304 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14305 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14306 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14307 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14308 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14309 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14311 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14313 * javax/swing/JList.java
14314 (setLayoutOrientation): Check for valid argument.
14316 2006-06-26 Roman Kennke <kennke@aicas.com>
14318 * javax/swing/JComponent.java
14319 (firePropertyChange(String,int,int)): New method. Overrides
14320 Component method and makes it public.
14321 (firePropertyChange(String,boolean,boolean)): Likewise.
14323 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14325 * gnu/java/security/.cvsignore: New File.
14326 * gnu/java/security/Configuration.java.in: New File.
14327 * gnu/java/security/Properties.java: Change import from
14328 gnu.classpath.Configuration to gnu.java.security.Configuration.
14329 * gnu/java/security/hash/Whirlpool.java: Likewise.
14330 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14331 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14332 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14333 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14334 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14335 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14336 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14337 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14338 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14339 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14340 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14341 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14342 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14343 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14344 * gnu/java/security/util/Base64.java: Likewise.
14345 * gnu/java/security/x509/X509CRL.java: Likewise.
14346 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14347 * gnu/java/security/x509/ext/Extension.java: Likewise.
14348 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14349 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14350 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14351 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14352 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14353 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14354 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14355 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14356 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14357 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14358 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14359 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14360 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14361 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14362 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14363 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14364 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14365 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14366 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14367 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14368 * gnu/javax/crypto/pad/TBC.java: Likewise.
14369 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14370 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14371 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14372 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14373 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14374 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14375 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14376 * gnu/javax/security/auth/login/GnuConfiguration.java
14377 (getAppConfigurationEntry): Change reference to
14378 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14379 (getConfigFromUserHome): Likewise.
14380 (getInputStreamFromURL): Likewise.
14381 (getUserHome): Likewise.
14383 (processSecurityProperties): Likewise.
14384 (processSystemProperty): Likewise.
14385 (processUserHome): Likewise.
14386 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14387 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14390 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14392 * javax/swing/text/DefaultCaret.java (isActive): New method.
14394 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14396 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14397 * java/lang/management/ClassLoadingMXBean.java:
14398 (getTotalLoadedClassCount()): Corrected return type.
14399 (getUnloadedClassCount()): Likewise.
14400 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14401 (getUnloadedClassCount()): Likewise.
14403 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14405 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14406 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14407 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14408 * gnu/javax/crypto/cipher/Square.java: Likewise.
14409 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14410 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14411 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14412 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14413 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14414 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14415 * gnu/javax/crypto/cipher/DES.java: Likewise.
14416 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14417 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14418 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14419 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14420 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14422 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14424 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14425 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14426 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14427 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14428 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14429 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14430 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14431 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14432 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14433 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14434 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14435 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14436 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14438 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14441 * doc/vmintegration.texinfo:
14442 Updated with information on new VM interface.
14443 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14444 * java/lang/management/ClassLoadingMXBean.java:
14445 New files implementing the class loading bean.
14446 * java/lang/management/ManagementFactory.java:
14447 (getClassLoadingMXBean()): Implemented.
14448 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14449 New VM interface file.
14451 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14453 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14454 (isBootClassPathSupported()): Use SystemProperties
14455 rather than System.getProperty.
14457 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14459 * gnu/java/security/Properties.java: Source formatting.
14460 * gnu/java/security/Registry.java: Likewise.
14462 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14464 * gnu/java/security/util/Util.java: Source formatting.
14465 * gnu/java/security/util/SimpleList.java: Likewise.
14466 * gnu/java/security/util/Sequence.java: Likewise.
14467 * gnu/java/security/util/PRNG.java: Likewise.
14468 * gnu/java/security/util/ExpirableObject.java: Likewise.
14469 * gnu/java/security/util/Base64.java: Likewise.
14470 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14471 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14472 * gnu/java/security/sig/ISignature.java: Likewise.
14473 * gnu/java/security/sig/BaseSignature.java: Likewise.
14474 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14475 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14476 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14477 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14478 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14479 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14480 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14481 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14482 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14483 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14484 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14485 * gnu/java/security/provider/Gnu.java: Likewise.
14486 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14487 * gnu/java/security/prng/RandomEvent.java: Likewise.
14488 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14489 * gnu/java/security/prng/MDGenerator.java: Likewise.
14490 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14491 * gnu/java/security/prng/IRandom.java: Likewise.
14492 * gnu/java/security/prng/EntropySource.java: Likewise.
14493 * gnu/java/security/prng/BasePRNG.java: Likewise.
14495 2006-06-23 Francis Kung <fkung@redhat.com>
14497 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14498 (Harness.actionPerformed): Process additional options.
14499 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14500 (J2dBenchmarkWrapper.setAlias): New method.
14501 (J2dBenchmarkWrapper.setComposite): New method.
14502 (J2dBenchmarkWrapper.setFill): New method.
14503 (J2dBenchmarkWrapper.setRotation): New method.
14504 (J2dBenchmarkWrapper.setShear): New method.
14505 (J2dBenchmarkWrapper.setStroke): New method.
14506 (J2dBenchmarkWrapper.setTranslation): New method.
14507 (run): Add additional options to GUI.
14508 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14509 Added protected fields for various options.
14510 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14511 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14512 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14513 (getNextColor): Renamed to setRandom.
14514 (init): Load additional image for texturing if needed.
14515 (loadBufferedImage): New method.
14516 (main): Accept additional command-line switches.
14517 (prepareGraphics): New method.
14518 (resetGraphics): New method.
14519 (runTestSuite): Accept additional image-processing options.
14520 (setRandom): Renamed from getNextColor; generate various random options
14521 (test_drawArc): Rename getNextColor to setRandom.
14522 (test_drawCubic): Likewise.
14523 (test_drawEllipse): Likewise.
14524 (test_drawGeneralPath): Likewise.
14525 (test_drawImage): Likewise.
14526 (test_drawLine): Likewise.
14527 (test_drawQuadCurve): Likewise.
14528 (test_drawRectangle): Likewise.
14529 (test_drawRoundRectangle): Likewise.
14530 (test_drawTransparentImage): Likewise.
14531 (test_fillArc): Rename getNextColor to setRandom.
14532 (test_fillEllipse): Likewise.
14533 (test_fillGeneralPath): Likewise.
14534 (test_fillRectangle): Likewise.
14535 (test_fillRoundRectangle): Likewise.
14536 (TestRecorder.getAverage): Round the average time.
14538 2006-06-23 Tom Tromey <tromey@redhat.com>
14540 * java/util/logging/LoggingMXBean.java: New file.
14541 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14542 (loggingBean): New field.
14543 (getLoggingMXBean): New method.
14545 2006-06-23 Tania Bento <tbento@redhat.com>
14547 * java/awt/TextField.java
14548 (TextField): Default number of columns should be 0, not 1.
14549 (TextField): Check if number of columns given as argument
14550 is valid (>= 0) and set the number of columns accordingly.
14551 (TextField): Check if the string passed is null. If it is,
14552 set columns to 0, else columns is set to the length of
14555 2006-06-23 Roman Kennke <kennke@aicas.com>
14557 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14558 (InternalFramePropertyChangeListener.propertyChange):
14559 Don't call getPropertyName() repeatedly. Added null checks
14560 to avoid NPEs. Call closeFrame() if the closed property
14563 2006-06-23 Roman Kennke <kennke@aicas.com>
14565 * javax/swing/JInternalFrame.java
14566 (maxTransition): Removed.
14567 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14568 Don't initialize storedBounds here.
14569 (dipose): Rewritten to correctly dispose the JInternalFrame.
14570 (getDesktopIcon): Don't initialize desktopIcon here.
14571 (getLayer): Delegate to JLayeredPane.getLayer().
14572 (getNormalBounds): Return bounds when storedBounds == null,
14573 otherwise storedBounds.
14574 (hide): Don't change selection. Also hide the desktopIcon.
14575 (moveToBack): Call getParent() only once.
14576 (moveToFront): Call getParent() only once.
14577 (pack): Call validate() to make sure that the layout is
14578 propagated to the children.
14579 (setClosed): Fire InternalFrameEvent first, before the
14581 (setJMenuBar): Fire PropertyChangeEvent for this property.
14582 (setLayer): Delegate to JLayeredPane.
14583 (setLayeredPane): Check for null and throw IllegalArgumenException.
14584 (setMaximum): Remove handling of maxTransition and normalBounds.
14585 Should probably be done in the UI.
14586 (setNormalBounds): Store Rectangle object directly, not a copy.
14587 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14588 adding the RootPane doesn't add it to the contentPane.
14589 Fire PropertyChangeEvent.
14590 (setSelected): Added condition for when this property must not
14592 (show): Don't ask the DesktopPane to select the frame. Moved
14593 code around to fire InternalFrameEvent before actually calling
14594 super.show(). Also make the desktopIcon visible.
14595 (setTitle): Fire PropertyChangeEvent unconditionally.
14597 2006-06-23 Roman Kennke <kennke@aicas.com>
14599 * javax/swing/JLayeredPane.java
14600 (getPosition): Moved code around to avoid unnecessary method calls.
14601 (setPosition): Delegate to setLayer().
14602 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14603 (insertIndexForLayer(Component,int,int)): New helper method
14604 to support the use of setComponentZOrder() which doesn't remove
14605 the component and thus the insertIndexForLayer must ignore
14606 the component to be moved to get the index right.
14607 (setLayer): Added check to prevent unnecessary execution of
14608 method body. Changed to update the component order here.
14609 Added repaint() to make sure that the update becomes visible.
14610 (addImpl): Call setLayer() only when a constraint has been specified.
14611 Validate and repaint the JLayeredPane.
14613 2006-06-23 Roman Kennke <kennke@aicas.com>
14615 * java/awt/Container.java
14616 (getComponentZOrder): Use ncomponents instead of
14617 component.length so that we don't consider the empty space
14618 after the last component.
14620 2006-06-22 Roman Kennke <kennke@aicas.com>
14622 * javax/swing/JComponent.java
14623 (vetoableChangeSupport): New field.
14624 (removeVetoableChangeListener): Rewritten to use
14625 vetoableChangeSupport.
14626 (addVetoableChangeListener): Rewritten to use
14627 vetoableChangeSupport.
14628 (fireVetoableChange): Rewritten to use
14629 vetoableChangeSupport.
14630 (addPropertyChangeListener): Removed. This is handled in
14632 (firePropertyChange(String,boolean,boolean)): Likewise.
14633 (firePropertyChange(String,char,char)): Likewise.
14634 (firePropertyChange(String,int,int)): Likewise.
14635 (revalidate): Don't do anything when the commponent has no
14638 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14640 * javax/swing/JLabel.java: Updated API docs.
14642 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14644 * java/awt/Insets.java: Updated copyright year.
14645 (toString): Changed string, removed a line from the
14648 2006-06-22 Roman Kennke <kennke@aicas.com>
14650 * javax/swing/text/AbstractDocument.java
14651 (AbstractDocument): Set the i18n document property.
14652 (removeImpl): Added checks for correct boundaries.
14654 2006-06-22 Roman Kennke <kennke@aicas.com>
14656 * javax/swing/text/PlainDocument.java
14657 (rootElement): Changed type to Element.
14658 (tabSize): Removed field. This is stored in the document properties
14660 (PlainDocument): Set tabSize property. Init rootElement without
14662 (insertUpdate): Rewritten. The previous implementation did not
14663 handle some corner cases properly and was a mess.
14664 (removeUpdate): Cast rootElement to BranchElement.
14666 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14668 * javax/swing/plaf/basic/BasicLabelUI.java
14669 (installKeyboardActions): Implemented,
14670 (uninstallKeyboardActions): Implemented,
14671 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14674 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14676 * javax/swing/JMenu.java:
14677 (removeAll): Added check for popupMenu not being null.
14679 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14681 * javax/swing/JLabel.java
14682 (getText): Updated API docs,
14683 (setText): Corrected the check for an unchanged value, and the update
14684 of the displayedMnemonicIndex.
14686 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14688 * javax/swing/JLabel.java
14689 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14691 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14692 where label text is null.
14694 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14696 * javax/swing/JLabel.java
14697 (setDisplayedMnemonic): Updated API docs,
14698 (getDisplayedMnemonic): Removed unnecessary type-cast,
14699 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14700 (getDisplayedMnemonicIndex): Updated API docs.
14702 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14704 * java/util/Collections (entrySet): Fixed compile error.
14706 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14708 * javax/swing/DefaultListSelectionModel.java
14709 (getSelectionMode): Updated API docs,
14710 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14711 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14712 setSelectionInterval(),
14713 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14714 SINGLE_INTERVAL_SELECTION cases.
14716 2006-06-21 Roman Kennke <kennke@aicas.com>
14718 * javax/swing/text/AbstractDocument.java
14719 (BranchElement.numChildren): New field.
14720 (BranchElement.BranchElement): Initialize children array with
14721 one element (that's the least number of elements that makes sense).
14722 Initialize numChildren.
14723 (BranchElement.children): Use numChildren as boundary.
14724 (BranchElement.getElement): Use numChildren as boundary.
14725 (BranchElement.getElementCount): Use numChildren as boundary.
14726 (BranchElement.getElementIndex): Use numChildren as boundary.
14727 (BranchElement.getEndOffset): Use numChildren as boundary.
14728 (BranchElement.getStartOffset): Use numChildren as boundary.
14729 (BranchElement.positionToElement): Use numChildren as boundary.
14730 (BranchElement.replace): Handle the children array more efficiently
14731 by growing in blocks > 1, and reusing space from removed elements.
14732 (LeafElement.startDelta): Removed.
14733 (LeafElement.endDelta): Removed.
14734 (LeafElement.LeafElement): Removed handling of deltas.
14735 (LeafElement.getEndOffset): Likewise.
14736 (LeafElement.getStartOffset): Likewise.
14737 * javax/swing/text/JTextComponent.java
14738 (setDocument): Added locking of the old document to avoid dangling
14739 notification beeing delivered while the document is beeing
14741 (getScrollableTracksViewportWidth): Fixed condition.
14742 * javax/swing/text/PlainDocument.java
14743 (createDefaultRoot): Create elements without AttributeSet.
14744 * javax/swing/text/rtf/RTFParser.java
14745 (parseFile): Handle slightly incorrect RTF gracefully.
14746 * javax/swing/text/rtf/RTFScanner.java
14747 (lastToken): New field.
14748 (readTokenImpl): New method.
14749 (peekToken): New method.
14750 (readToken): Changed to call readTokenImpl or return the lastToken
14751 if there's one present.
14753 2006-06-21 Tania Bento <tbento@redhat.com>
14755 * javax/swing/JMenu.java
14756 (remove): An IllegalArgumentException should be thrown if
14757 either index < 0 or if index > 0 and there are no menu
14758 components. Also, a check was added that ensures there are
14759 menu components before removing the desired the component.
14761 2006-06-21 Lillian Angel <langel@redhat.com>
14763 * javax/swing/text/DefaultCaret.java
14764 (install): Added check to prevent NPE.
14765 (propertyChange): Added checks to prevent NPEs.
14767 2006-06-21 Tania Bento <tbento@redhat.com>
14769 * javax/swing/JMenu.java
14770 Changed instantiation of popupMenu to null.
14771 (JMenu): Instantiated popupMenu to new JPopupMenu.
14772 (JMenu): Instantiated popupMenu to new JPopupMenu.
14773 (add): Changed popupMenu to getPopupMenu().
14774 (add): Changed popupMenu to getPopupMenu().
14775 (add): Changed popupMenu to getPopupMenu().
14776 (add): Changed popupMenu to getPopupMenu().
14777 (remove): Changed popupMenu to getPopupMenu().
14778 (remove): Changed popupMenu to getPopupMenu().
14779 (insert): Changed popupMenu to getPopupMenu().
14780 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14781 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14782 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14783 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14784 (getMenuComponents): Changed popupMenu to getPopupMenu().
14785 (getPopupMenu): Check first if popupMenu is null and if so,
14786 instantiate it to a new JPopupMenu and set the invoker.
14787 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14788 (popupMenuWillBecomeVisible): Component Listener should only
14789 be added to the root container if the root container is not
14790 null. This avoids a null pointer exception.
14792 2006-06-21 Tania Bento <tbento@redhat.com>
14794 * javax/swing/JMenu.java
14795 (JMenu): Delay should be set to 200, not default of 0.
14796 (JMenu): Delay should be set to 200, not default of 0.
14797 (JMenu): Delay should be set to 200, not default of 0.
14798 (JMenu): Delay should be set to 200, not default of 0.
14799 (remove): Added check that index >= 0 before removing
14801 (getItem): Return null if item count equals 0.
14802 (isTearOff): Should throw new error and not return false.
14803 (getMenuComponent): Return null if popupMenu is null or
14804 if there are no menu components.
14806 2006-06-21 Roman Kennke <kennke@aicas.com>
14808 * java/awt/font/FontRenderContext.java:
14809 (equals): Added special conditions for affineTransform beeing
14812 2006-06-21 Roman Kennke <kennke@aicas.com>
14814 * javax/swing/UIManager.java
14815 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14816 must not be cleared.
14818 2006-06-21 Roman Kennke <kennke@aicas.com>
14820 * javax/swing/plaf/metal/MetalUtils.java
14821 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14822 Graphics2D is available. Use fillRect instead of drawLine, this
14824 (paintVerticalGradient): Use paintHorizontalGradient2D when
14825 Graphics2D is available. Use fillRect instead of drawLine, this
14827 (paintHorizontalGradient2D): New method. Paints gradient
14828 using Graphics2D functions.
14829 (paintVerticalGradient2D): New method. Paints gradient
14830 using Graphics2D functions.
14832 2006-06-21 Roman Kennke <kennke@aicas.com>
14834 * javax/swing/plaf/basic/BasicButtonListener.java
14835 (propertyChange): Create a TextLayout and store it in the button
14836 when the 'text' property changes.
14837 * javax/swing/plaf/basic/BasicButtonUI.java
14838 (paintText): Call BasicGraphicsUtils utility method for
14839 drawing strings, instead of Graphics.drawString().
14840 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14841 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14842 cached text layouts as client properties in JComponents.
14843 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14844 (drawStringUnderlineCharAt): New helper method.
14845 * javax/swing/plaf/basic/BasicMenuItemUI.java
14846 (PropertyChangeHandler.propertyChange): Update cached text layout
14847 when 'text' property changes. Use equals() instead of == for
14849 (paintText): Use new BasicGraphicsUtils methods for painting
14850 the cached text layout.
14851 (installListeners): Call super.installListeners() and remove
14852 the unneeded listener installs.
14853 (uninstallListeners): Call super.uninstallListeners() and remove
14854 the unneeded listener uninstalls.
14856 2006-06-21 Roman Kennke <kennke@aicas.com>
14858 * javax/swing/plaf/basic/BasicTextUI.java
14859 (PropertyChangeHandler.propertyChange): Handle document listener
14861 (background): Removed unneeded fields.
14862 (inactiveBackground): Remove unneeded fields.
14863 (installUI): Install the document listener. Slightly changed
14864 order of operations. Don't trigger modelChanged().
14865 (installDefaults): Only install properties when the
14866 current properties are null or instances of UIResource.
14867 (installListeners): Removed unnecessary listener installs.
14868 (installDocumentListeners): Removed unneeded method.
14869 (uninstallListeners): Removed unnecessary listener uninstalls.
14870 (modelChanged): Removed call to installDocumentListeners().
14871 * javax/swing/plaf/basic/BasicTextFieldUI.java
14872 (propertyChange): Update the colors by fetching them from
14873 SharedUIDefaults. Fixed conditions.
14874 * javax/swing/plaf/basic/SharedUIDefaults.java
14875 (getColor): New method.
14877 2006-06-21 Roman Kennke <kennke@aicas.com>
14879 * javax/swing/SizeSequence.java
14880 (SizeSequence): Initialize array with correct number of entries.
14882 2006-06-21 Roman Kennke <kennke@aicas.com>
14884 * javax/swing/JSplitPane.java
14885 (setDividerLocation): Substract divider size when computing
14888 2006-06-21 Roman Kennke <kennke@aicas.com>
14890 * javax/swing/JComponent.java
14891 (paintChildrenWithOverlap): Determine opaque property by
14892 calling the corresponding Component method, without requiring
14894 (paintChildrenOptimized): Removed old unneeded code.
14895 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14896 method instead of SwingUtilities.convertRectangle(). This is
14899 2006-06-21 Roman Kennke <kennke@aicas.com>
14901 * javax/swing/AbstractButton.java
14902 (init): Call setText() instead of setting the property directly,
14903 so that listeners (especially in the UI) get notified.
14905 2006-06-21 Roman Kennke <kennke@aicas.com>
14907 * javax/swing/UIManager.java
14908 (MultiplexUIDefaults): New inner class.
14909 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14910 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14911 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14912 directly. Print stacktrace if something goes wrong.
14913 (get): Delegate call to currentUIDefaults.
14914 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14916 (getUI): Delegate call to currentUIDefaults.
14917 (put): Delegate call to currentUIDefaults.
14918 (setLookAndFeel): Initialize currentUIDefaults with
14919 MultiplexUIDefaults. Set lookAndFeelDefaults.
14920 (setLookAndFeel): Use current thread's context classloader for
14923 2006-06-21 Roman Kennke <kennke@aicas.com>
14925 * javax/swing/text/GapContent.java
14926 (GapContentPosition.GapContentPosition): Replace
14927 Collections.binarySearch with call to local search() to make
14928 sure we find the first object that equals the searched object.
14929 (setPositionsInRange): Likewise.
14930 (adjustPositionsInRange): Likewise.
14931 (search): New helper method.
14933 2006-06-21 Gary Benson <gbenson@redhat.com>
14935 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14936 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14937 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14939 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14941 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14942 APPLETVIEWER_EXECUTABLE to gappletviewer.
14944 2006-06-20 Tom Tromey <tromey@redhat.com>
14946 PR classpath/28095:
14947 * java/net/URL.java (URL): Throw MalformedURLException if a
14948 RuntimeException is caught. Chain exceptions.
14950 2006-06-20 Lillian Angel <langel@redhat.com>
14952 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14953 (create): Added check to prevent Seg Fault. Should not
14954 set the label if it is null.
14955 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14956 (setText): Changed to be a non-native function. Calls
14957 setNativeText if the String parameter is non-null.
14958 (setNativeText): Replaces old native setText function.
14959 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14960 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14961 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14962 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14963 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14964 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14966 2006-06-20 Lillian Angel <langel@redhat.com>
14968 * javax/swing/text/JTextComponent.java
14969 (AccessibleJTextComponent): Rewrote all javadocs
14970 for this inner class.
14972 2006-06-20 Francis Kung <fkung@redhat.com>
14974 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14975 Changed many members to be protected.
14976 (J2dBenchmark): moved to init() instead.
14977 (init): New method.
14978 (main): Call init() after creating object
14979 (testComplete): New method.
14980 (test_drawArc): Use maxTests varialbe instead of constant.
14981 (test_drawCubicCurve): Likewise.
14982 (test_drawEllipse): Likewise.
14983 (test_drawGeneralPath): Likewise.
14984 (test_drawImage): Likewise.
14985 (test_drawLine): Likewise.
14986 (test_drawQuadCurve): Likewise.
14987 (test_drawRectangle): Likewise.
14988 (test_drawRoundRectangle): Likewise.
14989 (test_drawTransparentImage): Likewise.
14990 (test_fillArc): Likewise.
14991 (test_fillEllipse): Likewise.
14992 (test_fillGeneralPath): Likewise.
14993 (test_fillRectangle): Likewise.
14994 (test_fillRoundRectangle): Likewise.
14995 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14996 (GraphicsTest.runSetWithClipping): Likewise.
14997 (GraphicsTest.runSetZeroClipping): Likewise.
14998 (GraphicsTest.run): Added checks for more option flags.
14999 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15002 2006-06-20 Roman Kennke <kennke@aicas.com>
15004 * javax/swing/text/GapContent.java
15005 (GapContentPosition.mark): New field.
15006 (GapContentPosition.index): Removed.
15007 (GapContentPosition.GapContentPosition): Changed to take the
15008 real offset as parameter. Added handling of reference counter.
15009 Try to cleanup before creating new instances.
15010 (getOffset): Delegate to the Mark method with same name.
15011 (Mark): New class, encapsulating a mark.
15012 (positionMarks): Removed field.
15013 (numMarks): Removed field.
15014 (marks): New field.
15015 (queueOfDeath): New field.
15016 (GapContent): Removed init of old fields, added init of new fields.
15017 (createPosition): Added check for validity of arguments.
15018 Create GapContentPosition directly with offset.
15019 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15020 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15021 (shiftGapStartDown): Call resetMarksAtZero().
15022 (shiftGapEndUp): Call resetMarksAtZero().
15023 (replace): Don't call resetMarksAtZero().
15024 (setPositionInRange): Replaced by simpler algorithm, similar to
15025 adjustPositionsInRange.
15026 (adjustPositionsInRange): Adapted to use of Mark objects.
15027 (resetMarksAtZero): Reset all marks that point to zero instead
15028 of only the first one.
15029 (dumpMarks): Adjusted to dump Mark objects.
15030 (insertMark): Removed.
15031 (garbageCollect): New method. Cleans up the marks list.
15032 (binarySearch): Removed.
15034 2006-06-20 Lillian Angel <langel@redhat.com>
15036 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15037 (drawImage): Added call to updateColor because
15038 Cairo seems to lose the current color.
15040 2006-06-20 Gary Benson <gbenson@redhat.com>
15042 * java/awt/Toolkit.java: Add security check.
15043 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15044 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15046 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15048 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15049 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15050 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15051 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15052 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15053 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15054 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15055 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15056 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15057 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15058 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15059 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15060 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15061 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15062 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15063 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15064 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15065 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15066 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15068 2006-06-19 Lillian Angel <langel@redhat.com>
15070 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15071 (drawImage): Should always use getRGB to get the pixels.
15072 getData returns an incorrect array of pixels.
15074 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15076 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15077 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15078 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15079 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15080 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15081 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15082 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15083 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15084 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15085 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15086 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15087 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15088 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15089 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15090 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15091 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15092 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15093 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15094 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15095 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15096 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15097 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15098 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15099 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15100 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15101 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15102 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15103 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15104 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15105 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15106 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15107 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15108 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15109 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15110 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15111 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15113 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15115 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15117 2006-06-19 Roman Kennke <kennke@aicas.com>
15119 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15120 (drawImage): Clip volatile image correctly.
15121 (drawVolatileImage): Added arguments for clipping.
15122 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15123 (drawVolatileImage): Added arguments for clipping. Clip image
15125 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15127 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15130 * java/rmi/server/UID.java (constructor): Synchronized
15131 the whole constructor on the UID class.
15133 2006-06-19 Roman Kennke <kennke@aicas.com>
15135 * javax/swing/RepaintManager.java
15136 (addInvalidComponent): Only add component that are displayable,
15137 that have displayable parents and that have a validateRoot.
15138 Also, don't validate components that have a CellRendererPane
15141 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15143 * javax/swing/plaf/IconUIResource.java
15144 (IconUIResource): Throw IllegalArgumentException for null icon.
15146 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15149 * java/rmi/server/UID.java (constructor): First increment
15150 uidCounter, and then use the value.
15152 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15154 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15155 * java/awt/GridBagConstraints.java: Indent.
15157 2006-06-18 Tom Tromey <tromey@redhat.com>
15159 * native/jni/gconf-peer/.cvsignore: New file.
15161 2006-06-18 Tom Tromey <tromey@redhat.com>
15163 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15164 Also handle short options.
15166 2006-06-18 Jim Huang <jserv@kaffe.org>
15168 PR classpath/28076:
15169 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15172 2006-06-19 Mark Wielaard <mark@klomp.org>
15174 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15175 on gnu/java/util/prefs/gconf/%.class.
15176 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15177 chache typo, should be cache.
15178 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15180 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15182 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15183 Don't return a value for void function.
15184 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15186 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15187 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15189 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15190 Mark clazz ad unused.
15192 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15194 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15195 * gnu/java/security/hash/Tiger.java: Likewise.
15196 * gnu/java/security/hash/Sha512.java: Likewise.
15197 * gnu/java/security/hash/Sha384.java: Likewise.
15198 * gnu/java/security/hash/Sha256.java: Likewise.
15199 * gnu/java/security/hash/Sha160.java: Likewise.
15200 * gnu/java/security/hash/RipeMD160.java: Likewise.
15201 * gnu/java/security/hash/RipeMD128.java: Likewise.
15202 * gnu/java/security/hash/MD5.java: Likewise.
15203 * gnu/java/security/hash/MD4.java: Likewise.
15204 * gnu/java/security/hash/MD2.java: Likewise.
15205 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15206 * gnu/java/security/hash/Haval.java: Likewise.
15207 * gnu/java/security/hash/HashFactory.java: Likewise.
15208 * gnu/java/security/hash/BaseHash.java: Likewise.
15210 2006-06-18 Sven de Marothy <sven@physto.se>
15212 * java/awt/event/KeyEvent.java:
15213 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15214 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15215 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15217 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15219 * gnu/java/security/util/Prime2.java: Removed.
15220 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15221 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15222 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15223 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15224 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15225 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15226 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15227 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15228 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15229 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15230 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15231 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15233 2006-06-18 Sven de Marothy <sven@physto.se>
15235 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15236 * java/awt/font/TextMeasurer.java: Fix copyright date,
15237 remove commented-out code.
15239 2006-06-18 Sven de Marothy <sven@physto.se>
15241 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15242 (FreetypeGlyphVector, clone): Implement cloning.
15243 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15244 * java/awt/font/TextMeasurer.java: Implement.
15245 * java/awt/font/LineBreakMeasurer.java:
15246 Reimplement to use TextMeasurer.
15247 * java/awt/font/TextLayout.java
15249 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15250 (getText, getFont): New private static methods.
15251 (setCharIndices): New method.
15252 * java/text/AttributedString.java
15253 (AttributedString): Fix constructor to stop at end point.
15255 2006-06-17 Tom Tromey <tromey@redhat.com>
15257 * lib/gen-classlist.sh.in: Search all top-level directories, not
15258 just 'org', in external.
15260 2006-06-12 Mario torre <neugens at limasoftware.net>
15262 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15263 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15264 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15265 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15267 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15268 * configure.ac: update to introduce new files. Added options
15269 to build gconf native peer used by the GConf preference backend.
15270 * include/Makefile.am: update to introduce new files.
15271 * native/jni/Makefile.am update to introduce new files.
15272 * scripts/check_jni_methods.sh: added three new ignored file
15274 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15275 build gconf-peer shared library.
15277 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15279 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15280 Use Integer.valueOf() instead of new Integer().
15281 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15282 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15283 * gnu/java/security/util/Sequence.java: Likewise.
15284 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15285 * gnu/java/security/x509/X509Certificate.java: Likewise.
15286 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15287 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15288 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15289 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15290 * gnu/javax/crypto/cipher/DES.java: Likewise.
15291 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15292 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15293 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15294 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15295 * gnu/javax/crypto/cipher/Square.java: Likewise.
15296 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15297 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15298 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15299 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15300 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15301 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15302 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15303 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15304 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15305 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15306 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15307 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15308 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15309 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15310 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15311 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15312 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15313 * gnu/javax/crypto/mode/EAX.java: Likewise.
15314 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15315 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15316 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15317 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15318 * java/security/cert/X509CertSelector.java: Likewise.
15320 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15322 * javax/management/DynamicMBean.java:
15323 (setAttribute): Fixed to return void.
15324 * javax/management/MBeanFeatureInfo.java:
15327 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15329 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15330 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15331 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15332 into engineInitHandler and reuse the code in
15333 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15334 (engineInitHandler): New method.
15335 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15336 null, use random or default information when possible.
15338 2006-06-16 Francis Kung <fkung@redhat.com>
15340 * examples/gnu/classpath/examples/swing/Demo.java:
15341 (mkButtonBar): Rename FillRect to JNIOverhead.
15342 (mkMenuBar): Rename FillRect to JNIOverhead.
15343 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15344 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15345 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15346 Moved from old FillRect.
15348 2006-06-16 Tom Tromey <tromey@redhat.com>
15350 * tools/.cvsignore: Added new tool names.
15352 2006-06-16 Keith Seitz <keiths@redhat.com>
15354 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15355 instantiation so that EventManager is created when getDefault
15357 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15360 2006-06-16 Keith Seitz <keiths@redhat.com>
15362 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15363 (_initCount): New field.
15364 (Jdwp): Don't set isDebugging until fully initialized.
15365 (subcomponentInitialized): New method.
15366 (run): Wait for PacketProcessor and JdwpConnection to
15367 startup, then set isDebugging, and then let this thread
15369 * gnu/classpath/jdwp/transport/JdwpConnection.java
15370 (run): Add synchronization notification.
15371 * gnu/classpath/jdwp/processor/PacketProcessor.java
15374 2006-06-16 Tom Tromey <tromey@redhat.com>
15376 * NEWS: Updated for JSR 166.
15378 2006-06-16 Tom Tromey <tromey@redhat.com>
15380 * lib/Makefile.am (compile_classpath): Added jsr166.
15381 * configure.ac: Added external/jsr166/Makefile.
15382 * external/Makefile.am (SUBDIRS): Added jsr166.
15383 * external/jsr166/Makefile.am: New file.
15384 * lib/gen-classlist.sh.in: Look in external/jsr166.
15386 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15388 * gnu/classpath/jdwp/event/ExceptionEvent:
15389 Added Object instance to javadoc in constructor
15390 * gnu/classpath/jdwp/event/MethodEntryEvent:
15392 * gnu/classpath/jdwp/event/MethodExitEvent:
15394 * gnu/classpath/jdwp/event/SingleStepEvent:
15397 2006-06-16 Tom Tromey <tromey@redhat.com>
15399 Imported JSR 166 reference implementation:
15400 * .classpath: Added external/jsr166.
15401 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15402 * java/util/AbstractQueue.java: Removed.
15403 * java/util/Queue.java: Removed.
15404 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15405 (runPeriodic): Added explicit cast.
15406 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15409 2006-06-16 Tom Tromey <tromey@redhat.com>
15411 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15413 (getCallerClass): Now static.
15414 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15416 2006-06-16 Lillian Angel <langel@redhat.com>
15418 * java/awt/FileDialog.java
15419 (FileDialog): Added @since tag to API docs.
15420 (FileDialog): Likewise.
15421 (FileDialog): Likewise.
15422 * java/awt/Font.java:
15423 Added @since tag to TYPE1_FONT field docs.
15424 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15425 (isThumbRollover): Likewise.
15426 (setThumbRollover): Likewise.
15427 (getSupportsAbsolutePositioning): Likewise.
15428 * javax/swing/plaf/basic/BasicSliderUI.java:
15429 (isDragging): Likewise.
15431 2006-06-16 Lillian Angel <langel@redhat.com>
15433 * java/awt/FileDialog.java
15434 (FileDialog): Implemented.
15435 (FileDialog): Implemented.
15436 (FileDialog): Implemented.
15437 * java/awt/Font.java:
15438 Added TYPE1_FONT constant field.
15440 2006-06-16 Lillian Angel <langel@redhat.com>
15442 * java/awt/font/TextLayout.java:
15443 Removed unneeded imports.
15444 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15445 Added new thumbRollover field.
15446 (mouseMoved): Added code to set thumbRollover field.
15447 (isThumbRollover): New function.
15448 (setThumbRollover): New function.
15449 (getSupportsAbsolutePositioning): Implemented. This
15450 needs to be changed once the feature has been
15452 * javax/swing/plaf/basic/BasicSliderUI.java:
15453 Added new dragging field.
15454 (mouseDragged): Initialized dragging field.
15455 (isDragging): New function.
15456 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15457 (focusGained): Marked as not implemented.
15458 (focusLost): Likewise.
15460 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15462 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15463 Added check for null ThreadId to avoid null pointer
15466 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15468 * javax/swing/DefaultComboBoxModel.java
15469 (removeElementAt): Set new selected item by calling setSelectedItem().
15471 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15473 * javax/swing/DefaultButtonModel.java
15474 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15476 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15478 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15479 (ListDataEvent): Handle case where index0 > index1,
15480 (toString): Implemented.
15482 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15484 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15485 (update): Added subexpression to if-statement.
15487 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15489 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15490 (installDefaults): Removed unneccessary code.
15491 (paint): Removed complex if-cascade, revert to default icon if
15492 icon property is not set.
15493 (getPreferredSize): New method.
15495 2006-06-16 Roman Kennke <kennke@aicas.com>
15498 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15499 (drawImage): Don't use setClip() but instead clipRect() to
15500 intersect the current clip with a new one.
15502 2006-06-15 Tom Tromey <tromey@redhat.com>
15504 * scripts/sanitize-jsr166: New file.
15505 * external/jsr166/IMPORTING: New file.
15506 * vm/reference/sun/reflect/Reflection.java: New file.
15507 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15508 * vm/reference/sun/misc/Unsafe.java: ...here.
15510 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15512 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15513 gjarsigner and keytool to gkeytool.
15514 * doc/tools.texinfo: Add note about tool exectable names.
15515 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15516 jarsigner to gjarsigner and keytool to gkeytool.
15517 * tools/appletviewer.in: Rename ...
15518 * tools/gappletviewer.in: New file.
15519 * tools/jarsigner.in: Rename ...
15520 * tools/gjarsigner.in: New file.
15521 * tools/keytool.in: Rename ...
15522 * tools/gkeytool.in: New file.
15523 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15525 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15527 * javax/management/AttributeList.java:
15528 Add serialization UID.
15529 * javax/management/DynamicMBean.java:
15531 * javax/management/JMRuntimeException.java:
15532 Add serialization UID and correct name
15533 of serialized field.
15534 * javax/management/MBeanInfo.java: New file.
15536 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15538 * javax/management/AttributeList.java,
15539 * javax/management/JMRuntimeException.java,
15540 * javax/management/RuntimeOperationsException.java:
15543 2006-06-15 Lillian Angel <langel@redhat.com>
15545 * java/awt/font/TextLayout.java:
15546 DEFAULT_CARET_POLICY changed to be public static final.
15548 2006-06-15 Tania Bento <tbento@redhat.com>
15550 * javax/swing/plaf/metal/MetalScrollButton.java
15551 (MetalScrollButton): Should set 'focusable' to false.
15553 2006-06-15 Tania Bento <tbento@redhat.com>
15555 * javax/swing/plaf/basic/BasicArrowButton.java
15556 (BasicArrowButton): Should set 'focusable' to false.
15557 (BasicArrowButton): Should set 'focusable' to false.
15559 2006-06-15 Mark Wielaard <mark@klomp.org>
15561 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15562 (getGraphicsConfiguration): Return default screen device.
15563 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15565 (GtkVolatileImage): Record initiating component.
15566 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15567 (getDeviceConfiguration): Return configuration of image component.
15569 2006-06-15 Mark Wielaard <mark@klomp.org>
15571 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15574 2006-06-15 Mark Wielaard <mark@klomp.org>
15576 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15577 with null argument.
15579 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15581 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15582 (matches): Added explicit brackets to return statement.
15584 2006-06-15 Tania Bento <tbento@redhat.com>
15586 * javax/swing/JRadioButtonMenuItem.java
15587 (JRadioButtonMenuItem): Should set 'focusable' to false.
15589 2006-06-15 Tania Bento <tbento@redhat.com>
15591 * javax/swing/JCheckBoxMenuItem.java
15592 (JCheckBoxMenuItem): Should set 'focusable' to false.
15594 2006-06-15 Tania Bento <tbento@redhat.com>
15596 * javax/swing/AbstractButton.java:
15597 (AbstractButton): 'Focusable' should be set to true and not false.
15599 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15601 * java/lang/management/ManagementFactory.java:
15602 Add private constructor to prevent instance creation.
15603 * java/lang/management/ManagementPermission.java:
15606 2006-06-15 Francis Kung <fkung@redhat.com>
15608 * javax/swing/plaf/basic/BasicArrowButton.java:
15609 (BasicArrowButton): move client property for not triggering out
15611 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15612 (configureArrowButton): set client property for not triggering
15613 (installUI): set client property for not triggering
15614 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15615 (PopupHelper.mousePressed): check client property for triggering
15617 2006-06-15 Roman Kennke <kennke@aicas.com>
15620 * javax/swing/RepaintManager.java
15621 (blitBuffer): Substract coordinates the other way around.
15623 2006-06-15 Roman Kennke <kennke@aicas.com>
15626 * javax/swing/JComponent.java
15627 (paintImmediately2): Only paint component without double buffering
15628 when all of it's parents have also double buffering disabled.
15629 (isPaintingDoubleBuffered): New helper method.
15631 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15633 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15634 (draw(Shape)): Pass null transform to getPathIterator(),
15635 (getClip): Likewise,
15636 * gnu/java/print/PostscriptGraphics2D.java
15637 (drawStringShape): Pass null transform to getPathIterator(),
15638 (writeShape): Likewise,
15639 * java/awt/Shape.java: Small updates to API docs.
15641 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15643 * javax/naming/InitialContext.java:
15644 (list(javax.naming.Name)): Fixed generic type.
15645 (list(String)): Likewise.
15646 (listBindings(javax.naming.Name)): Likewise.
15647 (listBindings(String)): Likewise.
15649 2006-06-14 Roman Kennke <kennke@aicas.com>
15651 * javax/swing/plaf/basic/BasicComboBoxUI.java
15652 (getAccessibleChildrenCount): Implemented.
15653 (getAccessibleChild): Implemented.
15654 (isNavigationKey): Implemented.
15655 (KeyHandler.keyPressed): Implemented.
15657 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15659 * java/lang/management/ManagementPermission.java:
15660 Added serialization UID.
15661 * javax/management/Attribute.java: Likewise.
15662 * javax/management/MBeanException.java,
15663 * javax/management/ReflectionException.java:
15664 Added serialization UID and changed to extend
15665 javax.management.JMException.
15667 2006-06-14 Lillian Angel <langel@redhat.com>
15669 * java/awt/Component.java
15670 (ignoreOldMouseEvents): Made static.
15671 (translateEvent): Made static.
15672 * java/awt/TextComponent.java
15673 (ignoreOldMouseEvents): Made static.
15675 2006-06-14 Mark Wielaard <mark@klomp.org>
15677 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15679 (drawRect): Likewise.
15680 (fillRect): Likewise.
15682 2006-06-14 Lillian Angel <langel@redhat.com>
15684 * java/awt/Component.java
15685 (ignoreOldMouseEvents): New helper function.
15686 (translateEvent): Changed to be non-static and use new helper.
15687 * java/awt/TextComponent.java
15688 (ignoreOldMouseEvents): New helper function.
15690 2006-06-14 Roman Kennke <kennke@aicas.com>
15692 * javax/swing/RepaintManager.java
15693 (MERGE_REGIONS): New constant flag.
15694 (commitBuffer): Exclude the merging of regions by default. This
15695 was causing painting artifacts in some applications, especially
15696 when different areas of the GUI are updated synchronously.
15698 2006-06-14 Roman Kennke <kennke@aicas.com>
15700 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15701 New file. This is a benchmark for AWT 1.1 style graphics operations.
15702 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15703 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15705 2006-06-14 Tom Tromey <tromey@redhat.com>
15707 * java/io/File.java (getParent): Javadoc fix.
15709 2006-06-14 Tom Tromey <tromey@redhat.com>
15711 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15713 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15714 when index entry does not exist.
15716 2006-06-14 Tania Bento <tbento@redhat.com>
15718 * javax/swing/AbstractButton.java
15719 (AbstractButton): Set focusable to false, not true.
15721 2006-06-14 Tania Bento <tbento@redhat.com>
15723 * javax/swing/JMenuItem.java
15724 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15726 2006-06-14 Tania Bento <tbento@redhat.com>
15728 * javax/swing/JCheckBoxMenuItem.java
15729 (JCheckBoxMenuItem): Added check to set the selected state.
15731 2006-06-14 Roman Kennke <kennke@aicas.com>
15733 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15734 (cairoDrawLine): New native method.
15735 (cairoDrawRect): New native method.
15736 (cairoFillRect): New native method.
15737 (drawLine): Use special native method.
15738 (drawRect): Use special native method.
15739 (fillRect): Use special native method.
15740 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15741 (cairoDrawLine): New native method.
15742 (cairoDrawRect): New native method.
15743 (cairoFillRect): New native method.
15744 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15746 2006-06-14 Mark Wielaard <mark@klomp.org>
15748 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15749 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15750 cannot be allocated.
15752 2006-06-14 Tom Tromey <tromey@redhat.com>
15755 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15756 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15758 2006-06-14 Roman Kennke <kennke@aicas.com>
15760 * javax/swing/JComponent.java
15761 (isRepainting): New flag.
15762 (paintImmediately2): Set isRepainting flag.
15763 (getRoot): Removed obsolete method.
15764 (paintDoubleBuffered): Differenciate between paint calls from
15765 RepaintManager and from AWT refresh. Call
15766 RepaintManager.commitBuffer with this and local coordinates.
15767 (findOpaqueParent): Stop searching at heavyweight component. These
15769 (paintChildrenOptimized): Don't paint heavyweight children. These
15770 should care for themselves.
15771 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15772 should care for themselves.
15773 * javax/swing/RepaintManager.java
15774 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15776 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15777 toplevel windows only.
15778 (getRoot): Removed obsolete method.
15779 (commitBuffer): Blit buffer on nearest heavyweight.
15780 (blitBuffer): New helper method.
15781 (getHeavyweightParent): New helper method.
15782 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15783 * javax/swing/SwingUtilities.java
15784 (convertRectangleToAncestor): New helper method.
15786 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15788 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15789 Condition all trace/debug code based on Configuration.DEBUG.
15790 Use logger instead of STDOUT and ot STDERR.
15792 2006-06-13 Lillian Angel <langel@redhat.com>
15794 * native/plugin/gcjwebplugin.cc
15795 (NP_Initialize): Removed code to create whitelist file.
15796 (GCJ_New): Added code to create whitelist file.
15797 (plugin_user_trusts_documentbase): Fixed error message.
15799 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15801 * javax/swing/plaf/metal/MetalIconFactory.java
15802 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15803 prevent overwriting border,
15804 (VerticalSliderThumbIcon.gradientMask): Likewise.
15806 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15808 * javax/management/AttributeNotFoundException.java,
15809 * javax/management/InvalidAttributeValueException.java,
15810 * javax/management/JMException.java,
15811 * javax/management/MBeanException.java,
15812 * javax/management/OperationsException.java,
15813 * javax/management/ReflectionException.java:
15816 2006-06-13 Roman Kennke <kennke@aicas.com>
15818 * java/awt/Component.java
15819 (dispatchEvent): Handle events even when consumed (this might be
15820 picked up later in the dispatching chain).
15821 * javax/swing/plaf/basic/BasicLookAndFeel.java
15822 (PopupHelper.mousePressed): Don't consume event. Only close popup
15823 when target component isn't flagged as DONT_CANCEL_POPUP.
15824 (DONT_CANCEL_POPUP): New package private constant for flagging
15825 special components that don't trigger popup closing.
15826 * javax/swing/plaf/basic/BasicArrowButton.java
15827 (BasicArrowButton): Set client property for not triggering closing
15830 2006-06-13 Lillian Angel <langel@redhat.com>
15832 * java/awt/image/PixelGrabber.java
15833 (PixelGrabber): Added to API documentation.
15835 2006-06-13 Keith Seitz <keiths@redhat.com>
15837 From Kyle Galloway <kgallowa@redhat.com>:
15838 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15839 (ExceptionOnlyFilter): Allow null refId.
15841 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15842 compatibility with filters.
15843 (getParameter): Modified to allow access to above.
15845 2006-06-13 Sven de Marothy <sven@physto.se>
15847 * gnu/java/awt/peer/gtk/CairoSurface.java
15848 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15849 (create): Use stride in ints.
15851 2006-06-13 Keith Seitz <keiths@redhat.com>
15853 From Kyle Galloway <kgallowa@redhat.com>:
15854 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15856 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15858 * javax/swing/plaf/basic/BasicSliderUI.java
15859 (calculateThumbSize): Removed unnecessary code,
15860 (calculateThumbLocation): Shift position by one,
15861 (calculateTickRect): Shift position by one when ticks are displayed,
15862 (calculateLabelRect): Calculate rect differently according to whether
15863 or not the labels are visible,
15864 (paintTrack): Shift track down one pixel.
15866 2006-06-13 Lillian Angel <langel@redhat.com>
15868 * java/awt/image/PixelGrabber.java
15869 (PixelGrabber): Removed check to throw exception. JDK does
15871 (startGrabbing): Removed line to print stacktrace.
15873 2006-06-13 Mark Wielaard <mark@klomp.org>
15875 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15876 allocate unused AffineTransform. Add comment about conversion to
15878 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15879 Recognize identity transform as "easy". Always convert to
15880 BufferedImage before calling super.
15882 2006-06-13 Roman Kennke <kennke@aicas.com>
15884 * java/awt/Component.java
15885 (getGraphics): Translate child graphics correctly.
15886 (dispatchEvent): Only dispatch event if it hasn't been consumed
15887 yet by the global dispatcher.
15888 * javax/swing/plaf/basic/BasicLookAndFeel.java
15889 Added some API docs.
15890 (PopupHelper.mousePressed): Consume the event after closing
15893 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15895 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15897 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15898 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15899 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15900 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15901 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15902 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15903 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15904 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15905 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15906 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15907 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15908 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15909 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15910 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15911 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15912 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15914 2006-06-12 Sven de Marothy <sven@physto.se>
15916 * java/awt/font/LineBreakMeasurer.java): Implement.
15918 2006-06-12 Keith Seitz <keiths@redhat.com>
15920 From Kyle Galloway <kgallowa@redhat.com>:
15921 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15923 2006-06-12 Keith Seitz <keiths@redhat.com>
15925 From Kyle Galloway <kgallowa@redhat.com>:
15926 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15928 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15930 2006-06-12 Roman Kennke <kennke@aicas.com>
15932 * javax/swing/JComponent.java
15933 (paintDoubleBuffered): Correctly translate and clip the Graphics
15935 (clipAndTranslateGraphics): New helper method.
15937 2006-06-12 Roman Kennke <kennke@aicas.com>
15939 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15940 (copy): Use getClip() to copy the clip. Make copied transform
15941 null when original transform is null. Set clip here.
15942 (setTransform): Correctly update the clip.
15943 (setTransformImpl): New method. Updates the actual transform for
15945 (transform): Correctly update the clip.
15946 (translate): Correctly update the clip.
15947 (clip): Handle null clip and argument correctly.
15948 (clipRect): Avoid creating new Rectangle objects.
15949 (getClip): Get the correct copy of the clip.
15950 (setClip): Correctly handle null argument.
15951 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15952 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15953 be null or whatever has been set in copy().
15954 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15955 (drawImage): Add translation to the image coordinates.
15956 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15957 (VolatileImageGraphics): Don't set clip here. The clip can either
15958 be null or whatever has been set in copy().
15960 2006-06-12 Keith Seitz <keiths@redhat.com>
15962 From Kyle Galloway <kgallowa@redhat.com>:
15963 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15964 (forCaught): Removed unused/unnecessary method.
15965 (forUncaught): Likewise.
15966 (matches): Implement.
15968 2006-06-12 Keith Seitz <keiths@redhat.com>
15970 From Kyle Galloway <kgallowa@redhat.com>:
15971 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15973 2006-06-12 Keith Seitz <keiths@redhat.com>
15975 From Kyle Galloway <kgallowa@redhat.com>:
15976 * gnu/classpath/jdwp/event/Event.java: Added constants for
15978 (getParameter): Changed parameter type from Class to int.
15979 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15980 Changed from Class type to constants.
15981 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15983 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15985 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15987 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15989 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15991 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15993 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15995 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15997 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16000 2006-06-12 Lillian Angel <langel@redhat.com>
16002 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16003 (StandaloneAppletWindow): Changed title of standalone window.
16005 2006-06-12 Lillian Angel <langel@redhat.com>
16007 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16008 (layoutContainer): Added missing selectedComponent assignment.
16010 2006-06-12 Lillian Angel <langel@redhat.com>
16012 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16013 (layoutContainer): Added check to prevent exception.
16015 2006-06-12 Tom Tromey <tromey@redhat.com>
16017 * java/lang/Thread.java (uncaughtException): Javadoc fix.
16019 2006-06-12 Mark Wielaard <mark@klomp.org>
16021 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16024 (lock): New method.
16025 (unlock): Likewise.
16026 (draw): Use lock() and unlock().
16028 (drawRenderedImage): Likewise.
16029 (drawImage): Likewise.
16030 (drawGlyphVector): Likewise.
16032 2006-06-12 Roman Kennke <kennke@aicas.com>
16034 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16035 (drawPixels): Include alpha in parameter list.
16036 (cairoFill): Include alpha in parameter list.
16037 (setComposite): Don't modify the color.
16038 (draw(Shape))): Use fill when the current composite has an alpha
16039 of != 1.0, so that the stroked shaped will be composited.
16040 (fill(Shape)): Call cairoFill() with alpha.
16041 (drawImage): Call drawPixels or drawSurface with alpha.
16042 (drawGlyphVector): When composite alpha is != 1.0, render the
16043 outline using fill() to enable compositing for text.
16044 (drawRaster): Call drawPixels with alpha.
16045 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16046 (nativeDrawSurface): Include alpha in parameter list.
16047 (drawSurface): Include alpha in parameter list. Pass it to
16048 nativeDrawSurface().
16049 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16050 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16052 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16053 (drawPixels): Handle possible alpha for compositing.
16054 (cairoFill): Likewise.
16055 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16056 (nativeDrawSurface): Handle possible alpha for compositing.
16058 2006-06-12 Mark Wielaard <mark@klomp.org>
16060 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16061 Notify data when completely done. Wait for worker thread to finish.
16062 Rethrow any pending exceptions.
16063 (exception): New field.
16064 (run): Store pending exception.
16066 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16068 * java/lang/management/ManagementPermission.java:
16071 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16073 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16075 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16077 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16078 Use String.charAt().
16080 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16082 * doc/tools.texinfo
16083 (Applet Tools): New chapter.
16084 (appletviewer Tool): New section.
16085 (gcjwebplugin): New section.
16087 2006-06-11 Mark Wielaard <mark@klomp.org>
16089 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16090 Takes GdkPixbufWriter.
16091 (GdkPixbufWriter): Implements Runnable.
16092 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16094 (DATADONE): New static final field.
16096 (write(byte[])): New method.
16098 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16099 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16100 Get dataOutputWriteID from writeClass.
16101 (stream_save_request): Change stream field to writer.
16102 (save_to_stream): Remove FIXME, call writer.
16103 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16106 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16109 Mention new VM interface and use of properties.
16110 * doc/vmintegration.texinfo:
16111 Update with new gnu.java.lang.management section.
16112 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16114 * java/lang/management/ManagementFactory.java:
16115 (getRuntimeMXBean()): Implemented.
16116 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16117 New VM interface file.
16119 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16122 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16123 debug code based on Configuration.DEBUG.
16124 Use logger instead of STDOUT and ot STDERR.
16125 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16126 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16127 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16128 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16129 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16130 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16131 * gnu/javax/crypto/pad/TBC.java: Likewise.
16132 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16133 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16134 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16135 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16136 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16137 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16138 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16139 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16140 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16141 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16142 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16143 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16144 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16145 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16146 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16147 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16148 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16149 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16150 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16151 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16152 * gnu/java/security/Properties.java: Likewise.
16153 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16154 * gnu/java/security/x509/X509CRL.java: Likewise.
16155 * gnu/java/security/x509/ext/Extension.java: Likewise.
16156 * gnu/java/security/util/Prime2.java: Likewise.
16157 * gnu/java/security/util/Base64.java: Likewise.
16158 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16159 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16160 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16161 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16162 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16163 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16164 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16165 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16166 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16167 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16168 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16169 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16170 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16171 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16172 * gnu/java/security/hash/Whirlpool.java: Likewise.
16174 2006-06-11 Mark Wielaard <mark@klomp.org>
16176 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16177 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16178 Remove unused variable glyph_index.
16180 2006-06-11 Mark Wielaard <mark@klomp.org>
16182 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16183 Don't recurse, return false if not an BufferedImage and no image
16185 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16186 end_gdk_drawing() to finally block.
16188 (drawRenderedImage): Likewise.
16189 (drawImage): Likewise.
16190 (drawGlyphVector): Likewise.
16192 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16194 * doc/tools.texinfo: Added text for new -cacert command.
16195 Re-structured sections.
16196 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16197 for -cacert command.
16198 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16199 (_CACERT): Likewise.
16200 (shutdownThread): New field.
16201 (Main): Install shutdown thread.
16202 (main): Uninstall shutdown thread.
16203 (start): Handle new -cacert command.
16204 (getParser): Likewise.
16205 (teardown): Increased visibility.
16206 (ShutdownHook): New inner class.
16207 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16209 2006-06-11 Sven de Marothy <sven@physto.se>
16211 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16212 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16213 (getOutline): Operate on the shape directly.
16214 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16215 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16216 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16217 (getGlyph renamed getGlyphs)
16218 * java/awt/geom/AffineTransform.java
16219 (getTranslateInstance): Set fields directly.
16220 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16221 (getGlyphs): Get all glyph codes at once.
16223 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16226 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16228 2006-06-11 Sven de Marothy <sven@physto.se>
16230 * java/awt/font/TextLayout.java
16231 (getLogicalHighlightShape): Add check.
16232 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16233 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16235 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16237 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16238 Check that every component of 'cn' starts with a valid Java identifier char.
16240 2006-06-10 Tom Tromey <tromey@redhat.com>
16242 * java/io/File.java (pathSeparator): Typo fix.
16244 2006-06-10 Mark Wielaard <mark@klomp.org>
16246 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16248 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16249 Mark all unused parameters.
16250 (cp_gtk_get_cairo_t): Removed.
16251 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16252 Don't mix declerations and statements.
16253 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16254 Mark all unused parameters.
16255 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16256 Get cairographics2d pointer directly.
16257 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16258 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16259 Use jlong to pass pointer.
16260 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16261 Mark all unused parameters.
16262 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16263 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16264 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16265 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16266 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16267 * include/java_io_VMFile.h: Regenerated.
16269 2006-06-10 Roman Kennke <kennke@aicas.com>
16271 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16272 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16273 instead of setClip(), so that an already present clip is intersected
16276 2006-06-10 Mark Wielaard <mark@klomp.org>
16278 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16279 Call getSize() to avoid accessor method.
16281 2006-06-10 Mark Wielaard <mark@klomp.org>
16283 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16284 Qualify ElementSpec.
16286 2006-06-10 Mark Wielaard <mark@klomp.org>
16288 * lib/.cvsignore: Add sun.
16289 * lib/Makefile.am (dist-hook): Likewise.
16291 2006-06-10 Roman Kennke <kennke@aicas.com>
16293 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16294 * gnu/java/awt/peer/gtk/CairoSurface.java
16295 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16296 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16297 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16298 * native/jni/gtk-peer/cairographics2d.h
16299 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16300 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16301 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16302 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16303 Changed method signatures and calls to pass native pointers directly
16304 into the JNI code, in order to avoid costly lookups on each
16306 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16307 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16308 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16309 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16312 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16315 * javax/swing/text/DefaultStyledDocument.java
16316 (ElementBuffer.insertContentTag):
16317 Do not recreate leaves and do not remove elements here.
16319 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16321 * javax/swing/text/html/HTMLDocument.java
16322 (HTMLReader.HiddenAction): Implemented.
16324 2006-06-10 Roman Kennke <kennke@aicas.com>
16326 * javax/swing/RepaintManager.java
16327 (getVolatileOffscreenBuffer): Store the created buffer.
16328 * javax/swing/JComponent.java
16329 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16330 for better performance.
16332 2006-06-10 Roman Kennke <kennke@aicas.com>
16334 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16335 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16337 (getRealBounds): Overridden to return the correct bounds.
16339 2006-06-10 Roman Kennke <kennke@aicas.com>
16341 * javax/swing/plaf/metal/MetalButtonUI.java
16342 (update): Fixed to paint the gradient under the correct conditions.
16343 (updateWidthGradient): Removed.
16344 (isToolbarButton): New helper method.
16345 (isDrawingGradient): New helper method.
16347 2006-06-09 Roman Kennke <kennke@aicas.com>
16349 * javax/swing/JTabbedPane.java
16350 (setSelectedIndex): Don't change the visibility of the components,
16351 this is done by the UI class.
16352 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16353 (TabbedPaneLayout.layoutContainer): Change visibility of component
16354 here, depending on the selected index. Only do this if the new
16355 selected component is not null. Some programs seem to expect
16357 (visibleComponent): New field.
16358 (getVisibleComponent): Changed to return visibleComponent field.
16359 (setVisibleComponent): Changed to set the visibility of
16360 the old and new visible component.
16362 2006-06-09 Roman Kennke <kennke@aicas.com>
16364 * javax/swing/JComponent.java
16365 (paintChildrenOptimized): Paint component with a new Graphics
16366 object to protect the other painting code from modifications
16367 done in that object, and avoid cleanup ops on possibly dispose()ed
16370 2006-06-09 Sven de Marothy <sven@physto.se>
16372 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16373 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16374 Use GTK locks while disposing (Xlib) surface.
16376 2006-06-09 Tom Tromey <tromey@redhat.com>
16378 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16379 (uninstall-local): Delete 'sun' directory.
16380 (glibj.zip): Include 'sun' classes.
16381 (clean-local): Delete 'sun' directory.
16382 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16384 2006-06-09 Roman Kennke <kennke@aicas.com>
16386 * gnu/java/awt/java2d/AbstractGraphics2D.java
16387 (drawImage): Fixed scaling.
16388 (fillShape): Removed offset handling.
16389 (fillShapeImpl): Limit scanlining to device bounds.
16390 (getSegments): Removed offset handling.
16391 * gnu/java/awt/java2d/PolyEdge.java
16392 (toString): Include isClip flag in output.
16394 2006-06-08 Sven de Marothy <sven@physto.se>
16396 * java/awt/font/TextLayout.java
16397 (getOutline): Allow null transform.
16399 2006-06-08 Sven de Marothy <sven@physto.se>
16401 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16402 (drawString): Use TextLayout instead of GlyphVector.
16404 2006-06-08 Sven de Marothy <sven@physto.se>
16406 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16407 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16408 New constructor for bidirectionality.
16409 (getGlyphMetrics): Return whitespace glyphs.
16410 (getLogicalBounds): Offset rectangles to correct positions.
16411 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16412 (getBaselineFor): Default to ROMAN_BASELINE.
16413 (GdkFontLineMetrics): Guess some values for underline and
16415 (layoutGlyphVector): Use bidirectionality.
16416 * java/awt/font/TextLayout.java: Implement, mostly.
16418 2006-06-09 Anthony Green <green@redhat.com>
16420 PR classpath/27888:
16421 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16422 * java/util/Collections.java (binarySearch): Use unsigned shift.
16423 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16425 2006-06-09 Tom Tromey <tromey@redhat.com>
16427 * tools/.cvsignore: Added .deps.
16429 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16431 PR classpath/27966:
16432 * gnu/javax/security/auth/login/ConfigFileParser.java
16433 (validateClassName): Quote '.' in regexp.
16435 2006-06-09 Tom Tromey <tromey@redhat.com>
16437 PR classpath/23863:
16438 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16440 * native/fdlibm/mprec.c: New version from newlib. Commented out
16441 some includes. Added <assert.h>.
16442 (_reent, _Bigint): New defines.
16443 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16444 (__ULong, __Long): New types.
16445 (_calloc_r): New function.
16446 (Balloc): Dynamically add new _freelist entries as needed.
16447 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16448 MAX_BIGNUMS to size _x[].
16449 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16450 _allocation_map, num. Added _max_k.
16452 2006-06-09 Roman Kennke <kennke@aicas.com>
16454 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16455 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16458 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16460 * java/awt/image/BufferedImage.java
16461 (BufferedImage(int, int, int)): Added API docs,
16462 (getProperty(String)): Return correct value for undefined properties,
16463 (getPropertyNames()): Added comments and removed FIXME.
16465 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16467 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16468 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16470 2006-06-09 Francis Kung <fkung@redhat.com>
16472 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16473 (getPreferredSize): Return correct height for null or empty
16476 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16478 * java/awt/datatransfer/DataFlavor.java
16479 (readExternal): Mark as stub,
16480 (writeExternal): Likewise,
16481 * java/awt/dnd/DropTargetContext.java
16482 (dropComplete): Mark as stub,
16483 (acceptDrag): Likewise,
16484 (rejectDrag): Likewise,
16485 (acceptDrop): Likewise,
16486 (rejectDrop): Likewise,
16487 (getCurrentDataFlavors): Likewise,
16488 (getTransferable): Likewise,
16489 * java/awt/dnd/DropTargetDropEvent.java
16490 (dropComplete): Mark as stub.
16492 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16494 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16495 (constructor): Do not lowercase the values.
16496 * javax/swing/text/html/HTMLDocument.java
16497 (HTMLReader.addSpecialElement): Implemented.
16498 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16500 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16502 On behalf of Matthew Wringe <mwringe@redhat.com>
16503 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16504 * gnu/javax/crypto/pad/ISO10126.java: New class.
16505 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16506 (getInstance): Added support for ISO-10126 scheme.
16507 (getNames): Likewise.
16508 Cache result for speed.
16510 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16512 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16513 flexible self-test by sub-classes.
16514 (test1BlockSize): New method.
16516 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16518 * javax/swing/plaf/basic/BasicLookAndFeel.java
16519 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16520 * javax/swing/plaf/basic/BasicScrollBarUI.java
16521 (installKeyboardActions): Implemented,
16522 (uninstallKeyboardActions): Implemented,
16523 (getInputMap): New method,
16524 (getActionMap): New method,
16525 (createActionMap): New method,
16526 (installUI): Call installKeyboardActions(),
16527 (uninstallUI): Call uninstallKeyboardActions().
16529 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16531 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16532 (getActionMap): Use correct key to store action map.
16534 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16536 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16537 (executeInstruction): Added NOT support.
16539 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16541 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16544 2006-06-08 Tom Tromey <tromey@redhat.com>
16546 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16549 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16551 * java/lang/management/RuntimeMXBean.java:
16554 2006-06-08 Lillian Angel <langel@redhat.com>
16556 * native/plugin/gcjwebplugin.cc:
16557 (NP_Shutdown): Freed whitelist_filename.
16559 2006-06-08 Lillian Angel <langel@redhat.com>
16561 * native/plugin/Makefile.am:
16562 Removed DATA_DIRECTORY.
16563 * native/plugin/gcjwebplugin.cc:
16564 Added new global fields for whitelist_file
16565 and data_directory. Removed WHITELIST_FILE.
16566 (NP_Initialize): Initialized new fields. Also,
16567 Changed to use new fields.
16568 (NP_Shutdown): Freed data_directory.
16569 (GCJ_New): Changed to use new fields.
16570 (plugin_ask_user_about_documentbase): Likewise.
16572 2006-06-08 Lillian Angel <langel@redhat.com>
16574 * native/plugin/Makefile.am:
16575 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16576 * native/plugin/gcjwebplugin.cc:
16577 Changed all instances of PLUGIN_DATA_DIRECTORY
16580 2006-06-08 Roman Kennke <kennke@aicas.com>
16582 * java/awt/LightweightDispatcher.java
16583 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16584 with convertPointToChild(). This is more efficient and avoids
16585 problems with getLocationOnScreen().
16586 (findTarget): Check for component beeing showing() early.
16587 Simplified AWTUtilities.convertPoint() to a simple substraction
16589 (convertPointToChild): New helper method.
16591 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16593 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16596 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16597 Lillian Angel <langel@redhat.com>
16599 * native/plugin/gcjwebplugin.cc
16600 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16601 Also, reset initialized field.
16603 2006-06-08 Lillian Angel <langel@redhat.com>
16605 * javax/swing/plaf/basic/BasicProgressBarUI.java
16606 (paintString): Fixed to paint string at the correct location.
16608 2006-06-08 Roman Kennke <kennke@aicas.com>
16610 * javax/swing/plaf/basic/BasicTreeUI.java
16611 (createDefaultActions): Added new actions.
16612 (TreePageAction.TreePageAction): Set action name.
16613 (TreePageAction.actionPerformed): Implemented.
16614 (TreePageAction.isEnabled): Implemented.
16615 (TreeToggleAction.TreePageAction): Set action name.
16616 (TreeToggleAction.actionPerformed): Implemented.
16617 (TreeToggleAction.isEnabled): Implemented.
16618 (TreeTraverseAction.TreeTraverseAction): Set action name.
16619 (TreeTraverseAction.actionPerformed): Use action name as command.
16620 (TreeTraverseAction.isEnabled): Implemented.
16622 2006-06-08 Roman Kennke <kennke@aicas.com>
16624 * javax/swing/plaf/basic/BasicTreeUI.java
16625 (installKeyboardActions): Rewritten to correctly install the UI
16626 input and action maps.
16627 (getActionMap): New helper method.
16628 (createDefaultActionMap): New helper method.
16629 (TreeHomeAction.TreeHomeAction()): Implemented.
16630 (TreeHomeAction.actionPerformed): Implemented.
16631 (TreeHomeAction.isEnabled): Implemented.
16632 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16633 (TreeIncrementAction.actionPerformed): Use action name as command.
16634 (TreeIncrementAction.isEnabled): Implemented.
16636 2006-06-08 Mark Wielaard <mark@klomp.org>
16639 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16640 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16643 2006-06-08 Mark Wielaard <mark@klomp.org>
16645 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16646 (attrs): Removed unused static.
16648 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16650 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16651 (getInputMap): New method,
16652 (getActionMap): New method,
16653 (createActionMap): New method,
16654 (installKeyboardActions): Implemented,
16655 (uninstallKeyboardActions): Implemented.
16657 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16659 * javax/swing/border/MatteBorder.java:
16660 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16662 (paintBorder): Added if-statement to abort painting early.
16664 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16667 * gnu/xml/dom/DomIterator.java:
16668 (successor): Changed expression.
16670 2006-06-08 Sven de Marothy <sven@physto.se>
16672 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16673 (defaultLayout): Do kerning.
16674 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16675 (getKerning): Correct class name, removed unused variable.
16677 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16679 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16680 libqtpeer.so unconditionally.
16682 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16684 * java/util/InputMismatchException.java:
16687 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16689 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16691 2006-06-07 Roman Kennke <kennke@aicas.com>
16693 * javax/swing/plaf/basic/BasicTreeUI.java
16694 (completeUIUninstall): Implemented.
16695 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16696 editing before uninstalling anything.
16697 (isToggleEvent): Implemented.
16698 (selectPathForEvent): Make use of isToggleEvent().
16699 (ComponentHandler.componentMoved): Implemented.
16700 (ComponentHandler.startTimer): Implemented.
16701 (ComponentHandler.getScrollPane): Implemented.
16702 (ComponentHandler.actionPerformed): Implemented.
16704 2006-06-07 Francis Kung <fkung@redhat.com>
16706 * javax/swing/JMenuBar.java:
16707 (getSubElements): Do not return null values.
16709 2006-06-07 Roman Kennke <kennke@aicas.com>
16712 * gnu/regexp/BacktrackStack.java
16713 * gnu/regexp/CharIndexed.java
16714 * gnu/regexp/CharIndexedCharArray.java
16715 * gnu/regexp/CharIndexedCharSequence.java
16716 * gnu/regexp/CharIndexedInputStream.java
16717 * gnu/regexp/CharIndexedString.java
16718 * gnu/regexp/CharIndexedStringBuffer.java
16719 * gnu/regexp/RE.java
16720 * gnu/regexp/REException.java
16721 * gnu/regexp/REFilterInputStream.java
16722 * gnu/regexp/REMatch.java
16723 * gnu/regexp/REMatchEnumeration.java
16724 * gnu/regexp/RESyntax.java
16725 * gnu/regexp/REToken.java
16726 * gnu/regexp/RETokenAny.java
16727 * gnu/regexp/RETokenBackRef.java
16728 * gnu/regexp/RETokenChar.java
16729 * gnu/regexp/RETokenEnd.java
16730 * gnu/regexp/RETokenEndOfPreviousMatch.java
16731 * gnu/regexp/RETokenEndSub.java
16732 * gnu/regexp/RETokenIndependent.java
16733 * gnu/regexp/RETokenLookAhead.java
16734 * gnu/regexp/RETokenLookBehind.java
16735 * gnu/regexp/RETokenNamedProperty.java
16736 * gnu/regexp/RETokenOneOf.java
16737 * gnu/regexp/RETokenPOSIX.java
16738 * gnu/regexp/RETokenRange.java
16739 * gnu/regexp/RETokenRepeated.java
16740 * gnu/regexp/RETokenStart.java
16741 * gnu/regexp/RETokenWordBoundary.java
16742 * gnu/regexp/UncheckedRE.java
16743 * gnu/java/util/regex/BacktrackStack.java
16744 * gnu/java/util/regex/CharIndexed.java
16745 * gnu/java/util/regex/CharIndexedCharArray.java
16746 * gnu/java/util/regex/CharIndexedCharSequence.java
16747 * gnu/java/util/regex/CharIndexedInputStream.java
16748 * gnu/java/util/regex/CharIndexedString.java
16749 * gnu/java/util/regex/CharIndexedStringBuffer.java
16750 * gnu/java/util/regex/RE.java
16751 * gnu/java/util/regex/REException.java
16752 * gnu/java/util/regex/REFilterInputStream.java
16753 * gnu/java/util/regex/REMatch.java
16754 * gnu/java/util/regex/REMatchEnumeration.java
16755 * gnu/java/util/regex/RESyntax.java
16756 * gnu/java/util/regex/REToken.java
16757 * gnu/java/util/regex/RETokenAny.java
16758 * gnu/java/util/regex/RETokenBackRef.java
16759 * gnu/java/util/regex/RETokenChar.java
16760 * gnu/java/util/regex/RETokenEnd.java
16761 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16762 * gnu/java/util/regex/RETokenEndSub.java
16763 * gnu/java/util/regex/RETokenIndependent.java
16764 * gnu/java/util/regex/RETokenLookAhead.java
16765 * gnu/java/util/regex/RETokenLookBehind.java
16766 * gnu/java/util/regex/RETokenNamedProperty.java
16767 * gnu/java/util/regex/RETokenOneOf.java
16768 * gnu/java/util/regex/RETokenPOSIX.java
16769 * gnu/java/util/regex/RETokenRange.java
16770 * gnu/java/util/regex/RETokenRepeated.java
16771 * gnu/java/util/regex/RETokenStart.java
16772 * gnu/java/util/regex/RETokenWordBoundary.java
16773 * gnu/java/util/regex/UncheckedRE.java
16774 Moved gnu.regexp classes to gnu.java.util.regex package.
16775 * java/util/regex/Matcher.java
16776 * java/util/regex/Pattern.java
16777 Adjusted import statements for new package name for gnu regexp.
16779 2006-06-07 Tom Tromey <tromey@redhat.com>
16781 PR classpath/27905:
16782 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16783 Added missing charsets.
16784 (charsetForName): Don't check 'extendedLoaded'.
16786 2006-06-07 Roman Kennke <kennke@aicas.com>
16789 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16790 (clip(Shape)): Implemented correctly, so that the current shape
16791 gets intersected by the parameter shape.
16793 2006-06-07 Lillian Angel <langel@redhat.com>
16795 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16796 (getTabBounds): If this method is called with a tab index
16797 that is not in the rects array, we need to re-layout the container
16800 2006-06-07 Lillian Angel <langel@redhat.com>
16802 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16803 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16804 * java/lang/String.java
16805 (codePointCount): Fixed check to match API. Shouldn't throw exception
16806 if end == count. end is 1 more than the endIndex, so end == count is
16809 2006-06-07 Gary Benson <gbenson@redhat.com>
16812 * native/jni/java-io/java_io_VMFile.c
16813 (Java_java_io_VMFile_toCanonicalForm): New method.
16814 * configure.ac: Added checks for lstat and readlink.
16815 * include/java_io_VMFile.h: Added new method.
16816 * vm/reference/java/io/VMFile.java: Use new method.
16817 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16818 * NEWS: Documented the above.
16819 * java/io/File.java: Javadoc fix.
16821 2006-06-07 Roman Kennke <kennke@aicas.com>
16824 * javax/swing/JTree.java
16825 (JTree()): Initialize with default model.
16826 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16827 on the updateUI() / setModel() order.
16828 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16830 * javax/swing/plaf/basic/BasicTreeUI.java
16831 (BasicTreeUI()): Initialize listeners in installListeners().
16832 (setModel): Complete editing on model change. Correctly resetup
16833 the listeners. Update the layout cache accordingly.
16834 (setShowRootHandles): Complete editing and update layout. Do not
16835 call back into the JTree, this could cause cycles.
16836 (prepareForUIInstall): Implemented. Moved some init code from
16837 installUI() to this method.
16838 (completeUIInstall): Implemented. Moved some init code from
16839 installUI() to this method.
16840 (createDefaultCellEditor): Check for type of renderer, and install
16841 with null renderer when not DefaultTreeCellRenderer.
16842 (updateLayoutCacheExpandedNodes): Added null check for tree root
16844 (updateRenderer): Call updateEditor().
16845 (installListeners): Initialize the listeners here. Added some null
16846 checks to avoid NPEs.
16847 (installUI): Moved some init code to prepareForUIInstall() and
16848 completeUIInstall().
16849 (completeEditing): Return immediately if editing component is null
16850 or if the setting is to not stop editing on complete editing.
16851 (checkForClickInExpandControl): Call handleExpandControlClick()
16852 instead of toggleExpandState() directly.
16853 (isLocationInExpandControl): Rewritten to correctly determine the
16854 expand click location.
16855 (MouseHandler.mousePressed): Rewritten to make better use of the
16856 instance methods of BasicTreeUI to handle the click.
16857 (PropertyHandler.propertyChange): Handle model and cell renderer
16859 * javax/swing/tree/DefaultTreeCellEditor.java
16860 (DefaultTreeCellEditor): Removed initialization of the icon. This
16861 is done so that the constructor can deal with null renderer as the
16862 RI does. Maybe this needs more fixing.
16863 * javax/swing/tree/TreePath.java
16864 (isDescendant): Fixed this method. The previous version did too
16865 much and compared the wrong things, which lead to a ClassCastException
16867 * javax/swing/tree/VariableHeightLayoutCache.java
16868 (update): Do nothing when model is null.
16869 (setModel): Clear the tables and update the layout. Added null
16870 check to prevent NPE.
16872 2006-06-07 Sven de Marothy <sven@physto.se>
16874 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16876 2006-06-07 Sven de Marothy <sven@physto.se>
16878 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16879 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16880 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16883 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16884 (getGlyphVector): Removed native method.
16885 (createGlyphVector, getStringBounds): Use new GV class.
16887 * include/Makefile.am
16888 * native/jni/gtk-peer/Makefile.am
16891 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16892 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16893 (getGlyphVector): Removed native method.
16895 2006-06-07 Chris Burdess <dog@gnu.org>
16897 * gnu/classpath/debug/TeeInputStream.java,
16898 gnu/classpath/debug/TeeOutputStream.java,
16899 gnu/classpath/debug/TeeReader.java,
16900 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16901 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16902 read more characters than absolutely necessary in tryRead method.
16904 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16906 * examples/gnu/classpath/examples/swing/Demo.java:
16907 (mkMenuBar): Put look and feel radio buttons into
16908 appropriate button group.
16910 2006-06-07 Chris Burdess <dog@gnu.org>
16912 * gnu/xml/stream/SAXParser.java,
16913 gnu/xml/stream/XMLParser.java: Add command line options for setting
16914 parsing parameters (for simpler debugging).
16915 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16916 closing output stream is propagated to application.
16918 2006-06-06 Mark Wielaard <mark@klomp.org>
16921 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16922 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16923 call disposeSurface.
16924 (disposeSurface): New native method.
16925 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16926 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16928 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16929 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16930 cairo_pattern_destroy.
16931 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16932 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16933 New function to destroy the surface.
16934 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16935 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16936 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16938 2006-06-06 Mark Wielaard <mark@klomp.org>
16940 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16943 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16945 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16946 (paint): If has focus, paint special background color,
16947 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16948 (FocusHandler.focusGained): Implemented,
16949 (FocusHandler.focusLost): Implemented.
16951 2006-06-06 Tom Tromey <tromey@redhat.com>
16953 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16955 (writeAttributeSet): Implemented.
16957 2006-06-06 Tom Tromey <tromey@redhat.com>
16959 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16961 (SpecialAction.end): Removed.
16962 (IsindexAction.end): Likewise.
16964 2006-06-06 Tom Tromey <tromey@redhat.com>
16966 * include/jni.h (JDK1_1InitArgs): New struct.
16967 (JDK1_1AttachArgs): Likewise.
16969 2006-06-06 Tom Tromey <tromey@redhat.com>
16971 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16973 (getUnresolvedName): New method.
16974 (getUnresolvedActions): New method.
16975 (getUnresolvedCerts): New method.
16977 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16979 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16980 (getColor): Removed debugging code.
16982 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16984 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16985 (getColor): Added support for "rgb(red, green, blue)" notation.
16986 (translateTag): Use Boolean.TRUE, not new Boolean().
16988 2006-06-06 Roman Kennke <kennke@aicas.com>
16991 * javax/swing/JTree.java
16992 (JTree(TreeModel)): Call updateUI() before setModel().
16993 (setModel): Don't call updateUI here.
16995 2006-06-06 Lillian Angel <langel@redhat.com>
16997 * native/plugin/gcjwebplugin.cc:
16998 Fixed failure message and commenting.
16999 (NP_Initialize): Added more comments.
17001 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17003 * javax/swing/JSplitPane.java
17004 (AccessibleJSplitPane): API doc fixes,
17005 (setDividerLocation): Likewise,
17006 * javax/swing/plaf/basic/BasicLookAndFeel.java
17007 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17008 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17009 (getInputMap): New method,
17010 (getActionMap): New method,
17011 (createActionMap): New method,
17012 (installKeyboardActions): Implemented,
17013 (uninstallKeyboardActions): Implemented.
17015 2006-06-06 Roman Kennke <kennke@aicas.com>
17018 * javax/swing/MenuSelectionManager.java
17019 (processKeyEvent): Added check to avoid
17020 ArrayIndexOutOfBoundsException.
17022 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17024 * gnu/javax/swing/text/html/htmlAttributeSet.java
17025 (getAttributeNames): Rewritten
17027 2006-06-06 Chris Burdess <dog@gnu.org>
17029 * gnu/xml/transform/TransformerImpl.java: Check type of created
17030 document (more cases).
17032 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17034 * gnu/javax/swing/text/html/htmlAttributeSet.java
17035 (clone): New method. (copyAttributes): New method.
17036 (getResolveParent): Comment fix. (getAttribute):
17037 Rewritten. (addAttribute): Rewritten.
17038 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17041 2006-06-06 Roman Kennke <kennke@aicas.com>
17044 * javax/swing/JMenuBar.java
17045 (processKeyBindingHelper): Added null check to prevent NPE.
17047 2006-06-06 Roman Kennke <kennke@aicas.com>
17049 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17050 (ShowSystemMenuAction): New class.
17051 (installKeyboardActions): Implemented.
17052 (uninstallKeyboardActions): Implemented.
17053 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17054 (installKeyboardActions): Overridden to remove showSystemMenu action.
17056 2006-06-06 Chris Burdess <dog@gnu.org>
17058 * gnu/xml/transform/TransformerImpl.java: Check type of created
17061 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17063 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17064 (getScreenDevices): Added explicit cast.
17066 2006-06-06 Roman Kennke <kennke@aicas.com>
17068 * javax/swing/plaf/basic/BasicTextUI.java
17069 (installKeyboardActions): Use shared input map. Correctly
17070 install the input/action maps in the component's input/action
17072 (getActionMap): New helper method for fetching an ActionMap from
17073 the UIManager or creating a default one if there is none supplied
17075 (createActionMap): Add the TransferHandler's actions here. Made
17077 (getInputMap): Leave out unnecessary method parameter. Load
17079 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17081 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17083 * configure.ac: Added missing [ to expression.
17085 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17087 * configure.ac: Added missing { to expression.
17089 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17091 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17092 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17093 * include/Makefile.am: Added
17094 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17095 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17096 (GdkGraphicsConfiguration): Rewritten.
17097 (getColorModel): Rewritten.
17098 (getColorModel(int)): Rewritten.
17099 (getBounds): Rewritten.
17100 (createCompatibleVolatileImage): Implemented.
17101 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17103 (getDefaultScreenDevice): Rewritten.
17104 (nativeGetDefaultScreenDevice): New method.
17105 (getScreenDevices): Rewritten.
17106 (nativeGetScreenDevices): New method.
17107 (nativeInitState): New method.
17108 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17110 (X11DisplayMode): New inner class.
17111 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17112 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17113 * native/jni/gtk-peer/gdkdisplay.h: New file.
17114 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17115 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17117 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17119 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17120 _nativeGetScreenDevices):
17122 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17123 _nativeGetDefaultScreenDevice):
17125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17127 * configure.ac: Added check for Xrandr library.
17129 2006-06-06 Roman Kennke <kennke@aicas.com>
17131 * javax/swing/plaf/basic/BasicTableUI.java
17132 (getMaximumSize): Don't return null. Fixed calculation of
17134 (getMinimumSize): Don't return null. Fixed calculation of
17136 (getPreferredSize): Fixed calculation of with and height. Added
17138 (getHeight): New helper method.
17140 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17142 * javax/swing/JComponent.java
17143 (getInputMap(int)): Throw IllegalArgumentException for unknown
17144 condition argument, and added API docs,
17145 (getInputMap()): Added API docs.
17147 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17149 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17151 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17153 * javax/swing/JTable.java
17154 (AccessibleJTableHeaderCell.header): New field,
17155 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17156 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17157 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17158 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17159 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17160 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17161 (AccessibleJTable.getAccessibleAt): Reimplemented.
17163 2006-06-05 Sven de Marothy <sven@physto.se>
17165 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17166 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17167 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17168 (initFromVolatile): New method.
17169 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17170 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17172 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17173 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17174 (copyArea, drawVolatileImage): New methods.
17176 2006-06-05 Tania Bento <tbento@redhat.com>
17178 * javax/swing/JFrame.java
17179 (frameInit): Set background color and fixed layout parameters.
17181 2006-06-05 Tom Tromey <tromey@redhat.com>
17183 * NEWS: Mention VMURLConnection.
17185 2006-06-05 Lillian Angel <langel@redhat.com>
17187 * native/plugin/gcjwebplugin.cc:
17188 Added new field to keep track of initialization.
17189 (plugin_start_appletviewer): Fixed to return an error value, if
17190 an error was encountered when loading the appletviewer.
17191 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17193 (plugin_failed): New helper function. Shows a warning if the appletviewer
17194 has not been installed.
17195 (NP_Initialize): Added code to make sure this function is only called
17198 2006-06-05 Lillian Angel <langel@redhat.com>
17200 * native/plugin/Makefile.am:
17201 Fixed to use a set plugin directory in the .mozilla directory.
17202 All applet logs are now stored here, instead of /tmp.
17203 * native/plugin/gcjwebplugin.cc:
17204 Added new fields for security warning.
17205 (GCJ_NEW): Added code to generate a security warning for all pages
17206 that spawn an appletviewer. This warning asks the user if they trust
17207 the applet and if they would like to add it to a 'whitelist'. This
17208 whitelist keeps track of all the addresses the user would like
17209 to trust indefinitely.
17210 (plugin_user_trusts_documentbase): New helper function.
17211 (plugin_add_documentbase_to_whitelist): New helper function.
17212 (plugin_ask_user_about_documentbase): New helper function.
17213 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17215 (plugin_start_appletviewer): Likewise.
17216 (plugin_create_applet_tag): Reset all fields to null after they have been
17218 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17219 if channel_error has been set.
17220 (plugin_stop_appletviewer): Likewise.
17221 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17224 2006-06-05 Francis Kung <fkung@redhat.com>
17227 * gnu/java/awt/peer/gtk/GtkImage.java
17228 (getSource): Added check to determine if in
17229 errorLoading state.
17230 * gnu/java/awt/peer/gtk/GtkToolkit.java
17231 (createImage): Added check to prevent NPE.
17233 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17235 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17236 Create the ImageView, when applicable.
17237 * gnu/javax/swing/text/html/CombinedAttributes.java,
17238 javax/swing/text/html/ImageView.java: New files.
17240 2006-06-05 Roman Kennke <kennke@aicas.com>
17243 * javax/swing/text/GapContent.java
17244 (setPositionsInRange): Compare with startIndex and endIndex
17245 rather than start and end.
17246 (dumpMarks): Only dump real marks.
17248 2006-06-05 Sven de Marothy <sven@physto.se>
17250 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17251 (ComponentGraphics): Use 0,0 as clip origin.
17253 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17255 * java/util/Formattable.java,
17256 * java/util/FormattableFlags.java,
17257 * java/util/Formatter.java:
17260 2006-06-04 Tom Tromey <tromey@redhat.com>
17262 * javax/naming/Context.java (list): Genericized.
17263 (listBindings): Likewise.
17264 * javax/naming/Reference.java (addrs): Genericized.
17265 * javax/naming/InitialContext.java (myProps): Fixed type.
17266 (init): Genericized.
17268 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17270 * java/util/DuplicateFormatFlagsException.java,
17271 * java/util/FormatFlagsConversionMismatchException.java,
17272 * java/util/FormatterClosedException.java,
17273 * java/util/IllegalFormatCodePointException.java,
17274 * java/util/IllegalFormatConversionException.java,
17275 * java/util/IllegalFormatException.java,
17276 * java/util/IllegalFormatFlagsException.java,
17277 * java/util/IllegalFormatPrecisionException.java,
17278 * java/util/IllegalFormatWidthException.java,
17279 * java/util/MissingFormatArgumentException.java,
17280 * java/util/MissingFormatWidthException.java,
17281 * java/util/UnknownFormatConversionException.java,
17282 * java/util/UnknownFormatFlagsException.java:
17285 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17287 * java/lang/System.java:
17288 (getenv()): Handle cases where split only
17289 returns an array of size 1.
17291 2006-06-04 Sven de Marothy <sven@physto.se>
17293 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17294 (createVolatileImage): Pass peer to VolatileImage constructor.
17295 * java/awt/Component.java
17296 (createVolatileImage): Call peer method directly.
17298 2006-06-04 Sven de Marothy <sven@physto.se>
17300 * gnu/java/awt/peer/gtk/CairoSurface.java
17301 (getFlippedBuffer): New method.
17302 (getGtkImage): Renamed method.
17303 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17304 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17305 Renamed getSharedImage to getGtkImage.
17306 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17307 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17308 (getFlippedBuffer): New method
17309 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17310 Avoid window casts.
17311 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17313 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17314 (drawVolatile): Add casts.
17315 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17316 (getOutline): Add casts.
17317 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17318 Comment out unused prototype.
17319 (getPixels): Add appropriate cast and comment out unused variable.
17321 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17323 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17324 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17325 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17326 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17327 (getSystemInstance): Fix javadoc @link.
17328 (counter): Increased visibility.
17329 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17330 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17331 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17332 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17333 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17334 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17335 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17336 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17337 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17338 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17339 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17340 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17341 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17342 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17343 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17344 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17345 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17346 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17347 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17348 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17349 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17350 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17351 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17352 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17353 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17354 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17355 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17356 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17357 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17358 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17359 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17361 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17363 * gnu/java/security/PolicyFile.java: Updated copyright year.
17364 (logger): Increased visibility.
17365 * gnu/java/security/x509/Util.java: Updated copyright year.
17366 (hexDump): Fix javadoc @link.
17367 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17368 Removed unused import.
17369 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17370 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17371 * gnu/java/security/util/ExpirableObject.java: Likewise.
17372 (destroy): Likewise.
17373 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17374 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17375 Updated copyright year.
17376 (checkCRL): Fix javadoc @param.
17378 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17380 * java/lang/annotation/IncompleteAnnotationException.java:
17383 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17385 * java/lang/ProcessBuilder.java:
17387 (environment): Create as a copy.
17388 * java/lang/System.java:
17389 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17391 (EnvironmentMap.put(String,String)): Override superclass
17392 method with checks for nulls and non-Strings.
17394 2006-06-02 Sven de Marothy <sven@physto.se>
17396 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17397 (cairoPreserveClip, cairoResetClip): New methods.
17398 (setClip, clip): Reimplement.
17399 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17400 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17401 (cairoPreserveClip, cairoResetClip): New methods.
17403 2006-06-02 Sven de Marothy <sven@physto.se>
17405 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17406 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17407 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17409 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17410 (drawImage): Overloads for VolatileImage drawing.
17411 (drawVolatile): New method.
17412 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17413 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17414 (drawVolatile): New method.
17415 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17416 Unstub implementation.
17417 * include/Makefile.am
17418 * native/jni/gtk-peer/Makefile.am
17420 * native/jni/gtk-peer/gtkpeer.h
17423 2006-06-03 Roman Kennke <kennke@aicas.com>
17426 * javax/swing/plaf/basic/BasicTextUI.java
17427 (damageRange): Added null check to avoid NPE.
17429 2006-06-03 Roman Kennke <kennke@aicas.com>
17431 * javax/swing/text/PlainView.java
17432 (updateDamage): Check for valid longestLine and initialize if
17435 2006-06-03 Mark Wielaard <mark@klomp.org>
17437 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17440 2006-06-02 Sven de Marothy <sven@physto.se>
17443 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17444 (copyArea): Implement.
17445 (copyAreaImpl, getRealBounds): New methods.
17446 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17447 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17448 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17449 (copyAreaImpl, getRealBounds): Implement.
17450 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17451 (nativeCopyArea): Reimplement.
17453 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17455 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17456 (XTEST_LIBS): New, substitute.
17457 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17459 2006-06-02 Roman Kennke <kennke@aicas.com>
17462 * javax/swing/text/PlainView.java
17463 (updateDamage): Rewritten for correct repainting and revalidating.
17464 (findLongestLine): New helper method.
17465 (getLineLength): New helper method.
17467 2006-06-02 Sven de Marothy <sven@physto.se>
17469 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17470 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17471 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17472 (nativeCopyArea): Change stride parameter to use # of ints.
17473 (setPixels): Add checks.
17474 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17475 (ComponentGraphics): Set background, clip.
17476 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17477 (Cairographics2D): Don't set clip.
17478 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17481 2006-06-02 Lillian Angel <langel@redhat.com>
17484 * java/awt/DefaultKeyboardFocusManager.java
17485 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17486 to get the focused window.
17488 2006-06-01 Miriam Schuster <schmir11@web.de>
17490 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17491 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17493 2006-06-02 Roman Kennke <kennke@aicas.com>
17495 * javax/swing/JTable.java
17496 (columnSelectionChanged): Don't return when there's only one
17497 column (might still need repainting). Correctly calculate
17499 (valueChanged): Use return value of SwingUtilities.computeUnion
17502 2006-06-01 Keith Seitz <keiths@redhat.com>
17504 From Martin Platter <motse@complang.tuwien.ac.at>:
17505 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17506 (executeSet): Fix buffer underflow reading reference ID.
17507 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17508 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17509 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17510 (executeSuperclass): Handle case of Object with ID zero.
17512 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17514 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17515 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17516 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17517 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17518 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17519 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17520 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17521 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17522 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17523 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17524 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17526 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17528 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17529 (Command): Add the shutdown hook.
17530 (doCommand): Remove the shutdown hook.
17531 (ShutdownHook): New class.
17533 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17535 * tools/jarsigner.in: Use @VM_BINARY@.
17536 * tools/keytool.in: Likewise.
17538 2006-06-01 Sven de Marothy <sven@physto.se>
17540 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17541 (setColor): Update the cairo paint.
17543 2006-06-01 Mark Wielaard <mark@klomp.org>
17545 * java/util/logging/LogManager.java (createInstance): Always add
17546 original exception on warning.
17548 2006-06-01 Lillian Angel <langel@redhat.com>
17550 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17551 (prependCodebase): Fixed check. No dirname was ever considered to
17552 be a file, so every applet fell into the if-statement causing a lot
17553 of classloading problems with the applets.
17555 2006-06-01 Sven de Marothy <sven@physto.se>
17557 Patch submitted by Boris Dusek.
17558 * native/jni/qt-peer/qtmenupeer.cpp
17561 2006-06-01 Roman Kennke <kennke@aicas.com>
17563 * javax/swing/JTable.java
17564 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17565 why the behaviour is like it is.
17566 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17567 (AccessibleJTableHeader): New inner class.
17568 (AccessibleJTableHeaderCell): New inner class.
17569 (AccessibleJTable.lastSelectedRow): New field.
17570 (AccessibleJTable.lastSelectedColumn): New field.
17571 (AccessibleJTable.caption): New field.
17572 (AccessibleJTable.summary): New field.
17573 (AccessibleJTable.rowDescriptions): New field.
17574 (AccessibleJTable.columnDescriptions): New field.
17575 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17576 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17577 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17578 (AccessibleJTable.addAccessibleSelection): Implemented.
17579 (AccessibleJTable.removeAccessibleSelection): Implemented.
17580 (AccessibleJTable.clearAccessibleSelection): Implemented.
17581 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17582 (AccessibleJTable.valueChange): Implemented.
17583 (AccessibleJTable.tableRowsInserted): Implemented.
17584 (AccessibleJTable.tableRowsDeleted): Implemented.
17585 (AccessibleJTable.handleRowChange): New helper method.
17586 (AccessibleJTable.columnAdded): Implemented.
17587 (AccessibleJTable.columnMarginChanged): Implemented.
17588 (AccessibleJTable.columnMoved): Implemented.
17589 (AccessibleJTable.columnRemoved): Implemented.
17590 (AccessibleJTable.columnSelectionChanged): Implemented.
17591 (AccessibleJTable.handleColumnChange): New helper method.
17592 (AccessibleJTable.editingCanceled): Implemented.
17593 (AccessibleJTable.editingStopped): Implemented.
17594 (AccessibleJTable.getAccessibleRow): Implemented.
17595 (AccessibleJTable.getAccessibleColumn): Implemented.
17596 (AccessibleJTable.getAccessibleIndex): Implemented.
17597 (AccessibleJTable.getAccessibleCaption): Implemented.
17598 (AccessibleJTable.setAccessibleCaption): Implemented.
17599 (AccessibleJTable.getAccessibleSummary): Implemented.
17600 (AccessibleJTable.setAccessibleSummary): Implemented.
17601 (AccessibleJTable.getAccessibleRowCount): Implemented.
17602 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17603 (AccessibleJTable.getAccessibleAt): Implemented.
17604 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17605 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17606 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17607 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17608 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17609 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17610 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17611 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17612 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17613 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17614 (AccessibleJTable.isAccessibleSelected): Implemented.
17615 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17616 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17617 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17618 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17619 (getAccessibleContext): Register listeners for the accessibility
17620 class on the JTable.
17622 2006-06-01 Sven de Marothy <sven@physto.se>
17624 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17625 (setPaint): Scale +1 pixel larger.
17627 2006-06-01 Sven de Marothy <sven@physto.se>
17630 * gnu/java/awt/Buffers.java (getData): Reimplement.
17631 * gnu/java/awt/peer/gtk/CairoSurface.java
17632 (getElem, setElem): Call native methods.
17634 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17636 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17638 2006-06-01 Sven de Marothy <sven@physto.se>
17640 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17641 (drawImage): Check for zero size.
17642 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17643 (setFont): Declare new native method.
17644 (GdkTextLayout): Read some attributes.
17645 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17646 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17647 (setFont): New native method.
17649 2006-06-01 Sven de Marothy <sven@physto.se>
17651 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17652 (updateBufferedImage): Fix some errors.
17654 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17656 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17658 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17659 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17660 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17661 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17662 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17663 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17664 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17665 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17666 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17667 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17669 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17671 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17672 * javax/swing/JEditorPane.java: Likewise,
17673 * javax/swing/JFormattedTextField.java: Likewise,
17674 * javax/swing/JLayeredPane.java: Likewise,
17675 * javax/swing/JScrollPane.java: Likewise,
17676 * javax/swing/JSlider.java: Likewise,
17677 * javax/swing/JSpinner.java: Likewise,
17678 * javax/swing/JTree.java: Likewise,
17679 * javax/swing/JViewport.java: Likewise,
17680 * javax/swing/UIDefaults.java: Likewise,
17681 * javax/swing/UIManager.java: Likewise.
17683 2006-06-01 Sven de Marothy <sven@physto.se>
17685 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17686 (BufferedImageGraphics): Cache surfaces.
17687 (updateBufferedImage): Copy directly for certain color models.
17688 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17689 (drawImage): Reimplement.
17691 2006-06-01 Sven de Marothy <sven@physto.se>
17693 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17694 (setPixels): Don't swap, correct size.
17696 2006-05-31 Anthony Green <green@redhat.com>
17699 * java/net/InetSocketAddress.java: Defer getting the host
17700 name until somebody calls InetSocketAddress.getHostName().
17701 Fix "represenation" typo.
17703 2006-06-01 Sven de Marothy <sven@physto.se>
17705 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17706 (updateBufferedImage): Simplify.
17707 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17708 (getPixels): Don't swap.
17710 2006-06-01 Sven de Marothy <sven@physto.se>
17712 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17713 (setGradient): Reimplement.
17715 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17717 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17718 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17719 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17720 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17721 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17722 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17723 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17726 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17728 * javax/swing/table/JTableHeader.java
17729 (getColumnHeaderRenderer): New method,
17730 (getAccessibleColumnHeaderRenderer): Delegate part to new
17731 getColumnHeaderRenderer() method,
17732 (getLocale): Implemented.
17734 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17736 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17737 (cp_gtk_grab_current_drawable): Rename
17738 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17739 cp_gtk_grab_current_drawable, remove static declaration.
17740 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17742 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17744 Remove prototype of
17745 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17746 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17748 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17749 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17750 cp_gtk_grab_current_drawable here.
17752 2006-05-31 Sven de Marothy <sven@physto.se>
17754 Should fix PR 27835
17755 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17756 (updateBufferedImage): Keep within image bounds.
17758 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17759 Andreas Tobler <a.tobler@schweiz.ch>
17761 * configure.ac: Check for libXrender when the GTK peers are
17762 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17764 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17765 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17766 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17768 2006-05-31 Lillian Angel <langel@redhat.com>
17770 * javax/swing/plaf/basic/BasicProgressBarUI.java
17771 (paintString): Implemented to paint the string vertically.
17773 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17775 * javax/swing/JTable.java
17776 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17777 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17779 (AccessibleJTable.getAccessibleTable()): Likewise,
17780 (getAccessibleContext): Create new context if required.
17782 2006-05-31 Roman Kennke <kennke@aicas.com>
17784 * javax/swing/JTabbedPane.java
17785 (AccessibleJTabbedPane.stateChanged): Implemented.
17786 (Page.getAccessibleStateSet): Implemented.
17787 (Page.getAccessibleIndexInParent): Implemented.
17788 (getAccessibleContext): Add AccessibleJTabbedPane object
17789 as ChangeListener to the JTabbedPane.
17791 2006-05-31 Roman Kennke <kennke@aicas.com>
17793 * javax/swing/JMenuItem.java
17794 (getAccessibleContext): Register accessible object as ChangeListener
17796 (AccessibleJMenuItem.armed): New field.
17797 (AccessibleJMenuItem.focusOwner): New field.
17798 (AccessibleJMenuItem.pressed): New field.
17799 (AccessibleJMenuItem.selected): New field.
17800 (stateChanged): Implemented.
17802 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17804 * javax/swing/ListSelectionModel.java: Added API docs all over.
17806 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17808 * examples/gnu/classpath/examples/swing/FillRect.java
17809 (paintComponent): Optionally paint lines rather than rectangles.
17810 (createContent): Added option to test line painting.
17812 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17814 * javax/swing/event/EventListenerList.java
17815 (getListenerList): Updated API docs.
17817 2006-05-30 Sven de Marothy <sven@physto.se>
17819 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17820 (drawImage): Clip scaled image to dest rectangle.
17822 2006-05-30 Sven de Marothy <sven@physto.se>
17824 * gnu/java/awt/peer/gtk/CairoSurface.java:
17825 (CairoSurface): Convert pixels properly.
17826 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17827 Remove commented-out lines.
17829 2006-05-30 Sven de Marothy <sven@physto.se>
17831 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17832 (drawImage): Use Toolkit to convert to BufferedImage.
17833 * gnu/java/awt/peer/gtk/CairoSurface.java
17834 (CairoSurface(GtkImage)): New Constructor.
17835 (getBufferedImage): New method.
17836 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17837 Don't fill background - FIXME.
17838 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17839 Remove unused methods.
17840 * gnu/java/awt/peer/gtk/GtkImage.java:
17841 (pixbuflock): New field. Methods change to use this lock.
17842 * gnu/java/awt/peer/gtk/GtkToolkit.java
17843 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17845 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17846 (setPixels): Correct length in bytes.
17848 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17850 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17851 System.loadLibrary unconditionally.
17852 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17853 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17854 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17855 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17857 2006-05-30 Mark Wielaard <mark@klomp.org>
17859 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17860 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17861 Mark unused parameters, remove unused variables.
17863 2006-05-30 Sven de Marothy <sven@physto.se>
17865 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17866 (copyArea): Implemented.
17867 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17868 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17869 (copyAreaNative): New method.
17871 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17874 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17875 for non big endian systems.
17876 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17878 2006-05-30 Roman Kennke <kennke@aicas.com>
17880 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17881 * java/awt/TexturePaint.java
17882 (createContext): Implemented.
17884 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17886 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17889 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17891 * java/awt/Container.java:
17892 (removeAll): Reimplemented, added note.
17894 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17896 * java/awt/Container.java:
17897 (removeAll): Implemented different removal mechanism, added note.
17899 2006-05-30 Lillian Angel <langel@redhat.com>
17902 * java/awt/Component.java:
17903 (translateEvent): Added handling to translate WindowEvents
17904 * java/awt/Window.java:
17905 Removed unneeded imports.
17907 2006-05-30 Mark Wielaard <mark@klomp.org>
17909 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17912 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17914 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17916 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17918 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17919 (clearRect): Do not reuse the fg field, call updateColor.
17920 (drawRaster): Likewise.
17921 (setColor): Call updateColor.
17922 (updateColor): New method.
17924 2006-05-30 Mark Wielaard <mark@klomp.org>
17926 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17927 (PTR_TO_JLONG): Likewise.
17928 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17929 (getPointer): Use new conversion macros.
17930 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17931 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17932 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17934 (setNativeObject): Likewise.
17935 (getNativeObject): Likewise.
17936 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17937 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17939 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17940 Correctly cast XID and pointer values.
17941 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17942 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17943 Mark unused variables.
17944 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17946 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17947 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17948 Remove unused cairographics2d struct.
17949 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17950 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17951 Use new conversion macros.
17952 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17954 2006-05-30 Mark Wielaard <mark@klomp.org>
17956 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17958 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17960 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17961 (copy): Do not reuse the fd field.
17962 (setColor): Do not set the color if the parameter
17964 (translate(double, double): Rewritten to use
17965 AffineTransform.translate.
17967 2006-05-30 Sven de Marothy <sven@physto.se>
17969 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17970 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17971 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17973 * include/Makefile.am
17974 * native/jni/gtk-peer/Makefile.am
17976 * gnu/java/awt/peer/gtk/CairoSurface.java
17977 (getSharedGtkImage): New method.
17978 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17979 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17981 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17982 Support a non-xrender context.
17983 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17985 * gnu/java/awt/peer/gtk/GtkImage.java
17986 * include/gnu_java_awt_peer_gtk_GtkImage.h
17987 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17988 (initFromBuffer): New method.
17989 * native/jni/gtk-peer/gtkpeer.h:
17990 Remove declarations of previouslyremoved methods.
17992 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17994 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17996 2006-05-29 Mark Wielaard <mark@klomp.org>
17998 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17999 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18001 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18002 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18003 early. Remove unused return statement in void function.
18004 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18006 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18007 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18009 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18010 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18012 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18015 2006-05-29 Sven de Marothy <sven@physto.se>
18017 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18018 (setPixels): Remove superfluous return statement.
18020 2006-05-29 Sven de Marothy <sven@physto.se>
18022 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18023 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18024 * gnu/java/awt/peer/gtk/CairoSurface.java
18025 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18026 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18027 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18028 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18029 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18030 * native/jni/gtk-peer/cairographics2d.h
18031 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18032 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18035 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18036 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18037 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18040 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18041 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18042 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18043 (releasePeerGraphicsResource): Moved to Font peer class.
18045 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18046 (createGraphics): Use new context classes.
18048 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18049 Use native BufferedImages where possible.
18051 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18052 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18053 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18054 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18055 renamed to cairoDrawGdkTextLayout.
18057 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18058 (getGraphics): Use ComponentGraphics context.
18059 (createImage): Use native BufferedImage.
18061 * gnu/java/awt/peer/gtk/GtkImage.java:
18062 * include/gnu_java_awt_peer_gtk_GtkImage.h
18063 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18064 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18065 Remove drawing methods.
18067 * gnu/java/awt/print/JavaPrinterGraphics.java:
18068 Use CairoSurface instead of GtkImage.
18070 * include/Makefile.am
18071 * native/jni/gtk-peer/Makefile.am
18072 Update for new files.
18074 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18075 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18076 Remove superfluous GtkImage code for GdkPixmaps.
18078 * native/jni/gtk-peer/gtkpeer.h
18079 Remove graphics2d structure.
18081 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18083 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18084 Do not reuse fg in the constructor.
18086 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18088 * java/io/ObjectStreamConstants.java: Added API docs.
18090 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18092 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18093 Take no action if this color is already set.
18095 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18097 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18099 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18100 Optionally paint with translation. (createContent): Added option
18101 to test painting with translation
18103 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18105 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18106 pattern to the default value when null.
18107 Pass field pattern, and not parameter with same name to createFileStream.
18109 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18111 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18112 New class implementing the OS bean.
18113 * gnu/java/lang/management/package.html:
18114 New file to document the gnu.java.lang.management package.
18115 * java/lang/management/ManagementFactory.java:
18116 New class to provide access to the OS bean.
18117 * java/lang/management/OperatingSystemMXBean.java:
18119 * java/lang/management/package.html:
18120 New file to document the java.lang.management package.
18122 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18124 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18127 (SECURITY): Likewise.
18128 (CACERTS): Likewise.
18129 (CACERTS_GKR): Likewise.
18130 (gkrCaCertsPathName): New field.
18131 (jksCaCertsPathName): Likewise.
18132 (selfSignedCertificate): Likewise.
18133 (start): Initialize trusted certificate key stores if -trustcacerts is
18135 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18136 (orderChain): Implemented.
18137 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18138 certificate key stores if -trustcacerts option is specified.
18139 (findTrustInCACerts): Removed.
18140 (getCertPathParameters): New method.
18141 (validate): New method.
18142 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18144 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18146 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18147 (PATTERN_KEY): Likewise.
18148 (DEFAULT_PATTERN): Likewise.
18149 (LIMIT_KEY): Likewise.
18150 (DEFAULT_LIMIT): Likewise.
18151 (COUNT_KEY): Likewise.
18152 (DEFAULT_COUNT): Likewise.
18153 (APPEND_KEY): Likewise.
18154 (DEFAULT_APPEND): Likewise.
18155 (FileHandler()): Use pattern value as set in logging.properties.
18156 Use constants defined above.
18157 (FileHandler(1)): Use constants defined above.
18158 (FileHandler(2)): Likewise.
18159 (FileHandler(3)): Likewise.
18160 (FileHandler(4)): Likewise.
18161 (createFileStream): Likewise.
18163 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18165 * java/util/logging/FileHandler.java: Reverted previous patch.
18166 * java/util/logging/LogManager.java: Likewise.
18168 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18170 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18171 (DEFAULT_PATTERN): Likewise.
18172 (FileHandler()): Use configured pattern property if any; otherwise use a
18173 default value as per RI documentation.
18174 * java/util/logging/LogManager.java (getStringProperty): New method.
18176 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18178 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18180 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18182 * configure.ac (FOUND_CACAO): New automake conditional.
18183 Add --enable-tool-wrappers.
18184 * NEWS: Introduce the --enable-tool-wrappers option.
18185 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18186 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18188 * tools/toolwrapper.c: New file.
18190 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18192 * java/awt/Graphics2D.java: Use full class name for
18193 PrinterJob in javadoc.
18195 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18197 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18198 (callMouseMethod): Likewise.
18200 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18202 * native/jni/java-net/java_net_VMURLConnection.c:
18203 Fix function declarations to specify unused parameters.
18204 * scripts/check_jni_methods.sh:
18205 Remove copies of the same function using uniq.
18207 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18209 * vm/reference/java/net/VMURLConnection.java:
18210 Make package-private and final.
18212 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18214 * examples/gnu/classpath/examples/swing/TableDemo.java
18215 (TModed): Added editor for the icons column.
18216 (createContent): Increase the row height by 2 px.
18218 2006-05-26 Tom Tromey <tromey@redhat.com>
18220 PR classpath/27685:
18221 * java/math/BigInteger.java (modPow): Correctly handle negative
18224 2006-05-26 Tom Tromey <tromey@redhat.com>
18226 * configure.ac: Check for magic.h and -lmagic.
18227 * vm/reference/java/net/VMURLConnection.java: New file.
18228 * include/java_net_VMURLConnection.h: New file.
18229 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18230 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18231 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18233 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18234 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18236 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18238 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18240 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18242 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18243 libjawtgnu.la libjawt.la.
18245 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18247 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18250 2006-05-25 Lillian Angel <langel@redhat.com>
18253 * java/awt/Window.java
18254 (Window): Moved code to helper.
18255 (addWindowFocusListener): New function. Handles focus
18256 listener code. Added code to handle focus lost/gained
18259 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18262 Make pkg-config check for GTK+ >= 2.8.
18264 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18266 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18267 (flush): Remove debugging printfs.
18269 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18271 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18272 (schedule_flush): New function.
18273 (end_drawing_operation): Call schedule_flush.
18275 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18277 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18278 paint performance demo.
18279 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18281 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18283 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18284 Cairo version requirement. Do not mention --enable-gtk-cairo
18286 * NEWS: Add entry for GdkGraphics2D.
18287 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18288 Cairo library and headers.
18289 * .externalToolBuilders/Configure.launch: Remove
18290 --enable-gtk-cairo from configure line.
18291 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18293 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18294 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18295 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18296 useGraphics2D references. Always assume Graphics2D is enabled.
18297 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18298 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18299 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18300 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18301 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18302 useGraphics2D references. Always assume Graphics2D is enabled.
18303 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18304 Graphics2D check. Always assume Graphics2D is enabled.
18305 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18306 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18307 (realize): Remove method.
18308 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18309 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18310 (isRealized): Remove method.
18311 (realize): Implement as a native method. Remove useGraphics2D
18312 references. Always assume Graphics2D is enabled.
18313 * gnu/java/awt/peer/gtk/GtkImage.java,
18314 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18315 GdkGraphics references with GdkGraphics2D references.
18316 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18317 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18318 useGraphics2D references. Always assume Graphics2D is enabled.
18319 * include/Makefile.am (GTKPEER_H_FILES): Remove
18320 gnu_java_awt_peer_gtk_GdkGraphics.h.
18321 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18322 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18323 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18324 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18325 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18326 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18327 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18328 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18329 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18330 (AM_LDFLAGS): Remove CAIRO_LIBS.
18331 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18332 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18334 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18336 2006-05-25 Lillian Angel <langel@redhat.com>
18338 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18339 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18340 Added check to prevent assertion error. If widget->window is null, then
18341 use the parent widget's window to set the cursor on.
18343 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18345 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18348 2006-05-24 Lillian Angel <langel@redhat.com>
18350 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18351 (prependCodeBase): Added check to determine if the documentbase
18352 points to a directory or a file.
18354 2006-05-24 Sven de Marothy <sven@physto.se>
18356 * java/awt/dnd/DragGestureRecognizer.java
18357 (resetRecognizer): Implement.
18358 (fireDragGestureRecognized): Implement.
18360 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18362 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18363 fixed source code formatting.
18365 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18367 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18369 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18371 Reported by Antony Balkisson.
18372 * javax/swing/JTable.java (selectAll): Return without action
18373 if the table is empty.
18375 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18377 * examples/gnu/classpath/examples/swing/TableDemo.java:
18378 (SliderCell): New inner class. (setCustomEditors,
18379 setInformativeHeaders): New fields. (createContent):
18381 * javax/swing/DefaultCellEditor.java
18382 (JComboBoxDelegate.shouldSelectCell): New method.
18383 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18384 * javax/swing/plaf/basic/BasicTableUI.java
18385 (MouseInputHandler.mouseClicked): Start editing on a single
18386 click if the cell editor is not a default cell editor.
18388 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18390 * javax/swing/naming/CompositeName.java,
18391 javax/swing/naming/CompoundName.java:
18394 2006-05-23 Archie Cobbs <archie@dellroad.org>
18396 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18399 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18401 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18402 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18403 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18404 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18405 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18406 * javax/swing/tree/ExpandVetoException.java: Likewise,
18407 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18408 * javax/swing/tree/RowMapper.java: Likewise,
18409 * javax/swing/tree/TreeNode.java: Likewise,
18410 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18411 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18413 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18415 * javax/swing/tree/DefaultTreeCellRenderer.java
18416 (DefaultTreeCellRenderer): Changed key for
18417 setBackgroundNonSelectionColor(),
18418 plus API docs all over.
18420 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18423 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18424 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18425 Initialise in constructor. (columnMoved): Cancel editing.
18426 (createDefaultEditors): Rewritten. (editCellAt):
18427 Just invert the value if this is a boolean cell.
18428 (initialiseLocalVars): Do not initialise renderer and editor tables.
18429 (setUI): Create editors and renderers here.
18431 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18433 * examples/gnu/classpath/examples/awt/Demo.java:
18434 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18435 instance as subframe.
18436 (ResolutionWindow): New inner class.
18437 (FullscreenWindow): New inner class.
18439 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18442 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18443 Set horizontal alignment to centered.
18445 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18447 * javax/accessibility/AccessibleContext.java
18448 (getAccessibleComponent): Fixed typo in docs,
18449 * javax/swing/JLabel.java:
18450 (AccessibleJLabel.getAccessibleName): Check for explicit
18452 * javax/swing/JTableHeader.java
18453 (AccessibleJTableHeaderEntry.columnIndex): New field,
18454 (AccessibleJTableHeaderEntry.parent): New field,
18455 (AccessibleJTableHeaderEntry.table): New field,
18456 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18458 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18460 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18461 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18462 (AccessibleJTableHeaderEntry.contains): Implemented,
18463 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18464 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18465 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18466 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18467 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18468 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18469 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18470 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18471 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18472 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18473 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18474 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18475 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18476 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18477 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18478 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18479 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18480 (AccessibleJTableHeaderEntry.getFont): Implemented,
18481 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18482 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18483 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18484 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18485 (AccessibleJTableHeaderEntry.getSize): Implemented,
18486 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18487 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18488 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18489 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18490 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18491 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18493 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18494 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18495 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18496 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18497 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18498 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18499 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18500 (AccessibleJTableHeaderEntry.setFont): Implemented,
18501 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18502 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18503 (AccessibleJTableHeaderEntry.setSize): Implemented,
18504 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18505 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18506 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18507 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18508 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18510 2006-05-22 Tom Tromey <tromey@redhat.com>
18514 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18516 * javax/swing/JLabel.java
18517 (AccessibleJLabel.getAccessibleName): New method (override),
18518 (setLabelFor): Fire 'labelFor' property change event before other
18521 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18523 * javax/swing/JLabel.java
18524 (AccessibleJLabel.getAccessibleRole): New method (override).
18526 2006-05-22 Tom Tromey <tromey@redhat.com>
18528 * resource/gnu/classpath/tools/serialver/messages.properties: New
18530 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18531 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18533 (classpath): Likewise.
18536 (addFileURL): New method.
18537 (getClassLoader): Likewise.
18538 (printMessage): Likewise.
18540 2006-05-22 Tom Tromey <tromey@redhat.com>
18542 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18544 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18546 * javax/swing/JTable.java (doLayout): In the column
18547 resize mode, only repaing the changed part of the table.
18548 (getLeftResizingBoundary): New method.
18550 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18552 * javax/naming/spi/InitialContextFactory.java,
18553 javax/naming/spi/InitialContextFactoryBuilder.java,
18554 javax/naming/spi/NamingManager.java,
18555 javax/naming/spi/ObjectFactory.java,
18556 javax/naming/spi/ResolveResult.java,
18557 javax/naming/spi/Resolver.java,
18558 javax/naming/spi/StateFactory.java: Documented.
18560 2006-05-21 Tom Tromey <tromey@redhat.com>
18562 PR classpath/27688:
18563 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18565 (initSet): Removed.
18566 (shouldExtract): Removed.
18568 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18569 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18572 (allItems): New field.
18573 (run): Initialize it.
18576 2006-05-22 Sven de Marothy <sven@physto.se>
18578 * java/nio/CharBuffer.java
18579 (wrap): Fix bounds checking.
18581 2004-08-26 Tom Tromey <tromey@redhat.com>
18583 * java/io/OutputStream.java
18584 (OutputStream): Implements Closeable, Flushable.
18586 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18588 * java/io/ObjectOutputStream.java:
18589 (writeObject(Object)): Added enum support.
18590 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18591 * java/io/ObjectStreamClass.java:
18592 (isEnum()): New package-private method.
18593 (setFlags(Class)): Added enum support.
18594 * java/io/ObjectStreamConstants.java:
18597 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18599 * java/io/ObjectInputStream.java:
18600 (parseContent(byte)): Added enum support.
18601 * java/io/ObjectStreamConstants.java:
18603 (TC_MAX): Changed to new maximum, TC_ENUM.
18605 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18607 * java/beans/beancontext/BeanContextSupport.java:
18608 (instantiateChild(String)): Implemented.
18610 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18612 * java/beans/beancontext/BeanContextSupport.java:
18613 (add(Object)): Add further documentation.
18614 (isEmpty()): Documented.
18615 (propertyChange(PropertyChangeEvent)): Implemented.
18616 (remove(Object)): Documented.
18617 (remove(Object,boolean)): Documented and implemented.
18618 (vetoableChange(PropertyChangeEvent)): Marked as
18619 implemented (only subclasses appear to need this).
18621 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18623 * java/beans/beancontext/BeanContextSupport.java:
18624 (add(Object)): Implement support for the child being
18625 a BeanContextChild.
18626 (avoidingGui()): Implemented.
18627 (dontUseGui()): Likewise.
18628 (needsGui()): Likewise.
18629 (okToUseGui()): Likewise.
18631 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18633 * javax/naming/Context.java,
18634 javax/naming/ContextNotEmptyException.java,
18635 javax/naming/Reference.java: Documented.
18637 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18639 * javax/swing/text/html/MinimalHTMLWriter.java
18640 (writeComponent, writeImage): Declare that the method
18641 may throw the IOException.
18643 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18646 * javax/naming/InitialContext.java (colon_list): Changed type to
18647 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18648 (merge): Rewritten.
18650 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18652 * javax/naming/InitialContext.java: Documented.
18654 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18656 * javax/naming/NameParser.java,
18657 javax/naming/NamingEnumeration.java,
18658 javax/naming/PartialResultException.java,
18659 javax/naming/SizeLimitExceededException.java,
18660 javax/naming/spi/ObjectFactory.java,
18661 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18663 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18665 * gnu/java/net/loader/JarURLLoader.java:
18666 Use Map.Entry instead of LinkedHashMap.Entry
18668 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18670 * javax/naming/Context.java: Documented.
18672 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18674 * javax/naming/Referenceable.java: Documented.
18675 * javax/naming/spi/NamingManager.java: Documented.
18677 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18679 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18680 to messages.properties.
18681 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18682 Renamed to messages.properties.
18683 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18685 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18686 Renamed from MessageBundle.properties.
18687 Added copyright notice.
18688 * resource/gnu/classpath/tools/keytool/messages.properties:
18690 * tools/gnu/classpath/tools/jarsigner/Messages.java
18691 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18692 (getFormattedString): Fixed a spelling mistake.
18693 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18695 2006-05-20 Sven de Marothy <sven@physto.se>
18697 * gnu/java/awt/font/opentype/NameDecoder.java
18699 (getName): Use getShort instead of getChar(), fix PS name.
18700 (decodeName): New method.
18701 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18702 (getSubFamilyName): Implement.
18703 (getPostScriptName): Use the NameDecoder class instead.
18704 (parsePSName): Removed.
18707 2006-05-20 Sven de Marothy <sven@physto.se>
18709 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18710 (getTrueTypeTable): New native method.
18711 (getPostScriptName): Reimplement.
18712 (parsePSName): New method.
18713 (getNumGlyphs): Implement.
18714 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18715 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18716 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18717 New function. File is now explicitly dependent on FT2.
18719 2006-05-20 Tom Tromey <tromey@redhat.com>
18721 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18722 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18724 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18725 (HandleFile): New class.
18726 (input, output, encoding, reversed): New fields.
18727 (createParser): New method.
18730 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18731 (notifyFile): Throws OptionException.
18733 2006-05-20 Tom Tromey <tromey@redhat.com>
18735 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18738 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18740 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18741 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18744 2006-05-20 Sven de Marothy <sven@physto.se>
18746 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18748 2006-05-20 Sven de Marothy <sven@physto.se>
18750 * gnu/java/awt/print/JavaPrinterJob.java
18751 (print): Use PostScriptGraphics2D.
18752 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18754 2006-05-20 Sven de Marothy <sven@physto.se>
18756 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18758 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18760 * gnu/java/security/OID.java: Updated copyright year.
18761 (OID): Removed unused Javadoc param tag.
18762 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18763 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18765 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18767 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18769 Added trace/debug statements.
18770 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18771 Entry. Also ensure that any previous entry for this alias is removed
18772 before a new one is added.
18773 (engineGetKey): Do not trace/log passwords.
18774 Trace key's class name only.
18775 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18776 Certificate Entry. Also ensure that previous entry for this alias is
18777 removed before a new one is added.
18778 (engineLoad): Do not trace/log passwords.
18779 (engineStore): Likewise.
18780 (engineSize): Use size of enumeration instead of collection size.
18782 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18784 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18785 (toString): New method.
18786 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18787 Do not trace/log passwords.
18788 Set masked to false before decoding envelope.
18789 Do not set payload to null.
18790 (encrypt): Set masked to true.
18791 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18792 Do not trace/log passwords.
18793 Set masked to false before decoding envelope.
18794 Do not set payload to null.
18795 Added trace/debug statements.
18796 (authenticate): Do not trace/log passwords.
18797 Set masked to true.
18798 Added trace/debug statements.
18799 (getMac): Added trace/debug statements.
18800 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18801 (remove(String)): Changed the signature to return a boolean.
18802 (toString): New method.
18803 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18805 (getCertificate): Likewise.
18806 (putCertificate): Likewise.
18808 Do not trace/log passwords.
18810 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18811 Do not trace/log passwords.
18812 Added more trace/logging statements.
18813 (putPrivateKey): Do not trace/log passwords.
18814 Trace only key's class name.
18816 (containsPublicKey): Formatting.
18817 (getPublicKey): Likewise.
18818 Trace only key's class name.
18819 (putPublicKey): Trace only key's class name.
18820 (containsCertPath): Formatting.
18821 (getCertPath): Likewise.
18822 (putCertPath): Likewise.
18823 (load): Do not trace/log passwords.
18826 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18827 (add): Do not set payload to null.
18828 Added trace/debug statements.
18829 (containsAlias): Added trace/debug statements.
18831 (remove(Entry)): Likewise.
18832 (remove(String)): Likewise.
18833 Changed the signature to return a boolean.
18834 Do not set payload to null unless really removed.
18835 (toString): New method.
18836 (decodeEnvelope): Clear entries before proceeding.
18837 (makeAliasList): Added trace/debug statements.
18838 Ensure only non-null aliases and alias-lists are added.
18839 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18840 (TYPES): New constant.
18841 (toString): New method.
18842 (defaultDecode): Add trace/debug statement.
18844 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18846 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18847 Increased visibility.
18848 (setup): Do not trace/log passwords.
18849 (parsed): Was not setting correct (rfc) field; fixed.
18850 (print1Chain): Formatting.
18851 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18852 Do not trace/log passwords.
18853 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18854 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18855 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18856 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18857 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18858 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18859 (orderChain): Added FIXME.
18860 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18861 Do not trace/log passwords.
18862 Removed commented out code.
18863 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18864 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18865 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18866 (setKeystoreURLParam): Likewise.
18867 (setKeystorePasswordParam): Do not trace/log passwords.
18868 (saveKeyStore): Likewise.
18870 2006-05-19 Roman Kennke <kennke@aicas.com>
18872 * gnu/java/awt/java2d/AbstractGraphics2D.java
18874 (pixel): Removed obsolete field.
18875 (draw(Shape)): Removed commented out code.
18876 (drawImage): Formatting.
18877 (drawString): Added optimization hook.
18878 (setPaint): Removed rawSetForeground().
18879 (getFontRenderContext): Return context with correct transform.
18880 (drawGlyphVector): Draw complete outline in one go.
18881 (copyArea): Added optimization hook.
18882 (clearRect): Added optimization hook.
18883 (drawImage): Added optimization hook.
18884 (fillShape): (Temporarily) Set antialiasing off by default for
18885 font rendering. Adjust the shape by some bits to improve rendering.
18886 Pass clip bounds to the render methods.
18887 (drawPixel): Removed.
18888 (rawSetPixel): Removed.
18889 (rawSetForeground): Removed.
18890 (rawDrawLine): Default impl calls standard pipeline.
18891 (rawDrawString): New method, calls standard pipeline for rendering.
18892 (rawClearRect): New method, calls standard pipeline for rendering.
18893 (rawFillRect): New method, calls standard pipeline for rendering.
18894 (rawDrawImage): New method, calls standard pipeline for rendering.
18895 (rawCopyArea): New method.
18896 (copyAreaImpl): New method.
18897 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18899 (fillShapeAntialias): Fixed AA rendering.
18900 (fillScanlineAA): Fixed AA rendering.
18901 (getSegments): Take offset into account.
18903 2006-05-19 Sven de Marothy <sven@physto.se>
18905 * javax/swing/text/AbstractWriter.java
18906 (getText): Fix parameters (start, length) not (start, end).
18908 2006-05-19 Tom Tromey <tromey@redhat.com>
18910 PR classpath/27444:
18911 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18912 Changed return type.
18913 * java/net/URLClassLoader.java (urlloaders): Removed.
18914 (addURLImpl): Updated.
18915 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18916 (indexSet): Likewise.
18917 (classPath): Changed type.
18918 (JarURLLoader): New constructor.
18919 (initialize): New method.
18920 (getResource): Use index set if it exists.
18921 (getClassPath): Updated.
18922 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18923 (prefixes): New field.
18924 (headers): Removed.
18925 (IndexListParser): Fill in prefixes.
18926 (clearAll): Clear prefixes.
18927 (getHeaders): Changed return type.
18929 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18931 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18932 (MouseInputHandler.mouseExitted): No nothing there.
18933 (MouseInputHandler.endDragging): Move column to the
18934 first/last position if released outside the horizontal
18937 2006-05-19 Lillian Angel <langel@redhat.com>
18939 * java/awt/font/GlyphVector.java
18940 (getGlyphCharIndex): Implemented.
18941 (getGlyphCharIndices): Implemented.
18942 (getGlyphOutline): Implemented.
18943 (getGlyphVisualBounds): Implemented.
18944 (getGlyphVisualBounds): Implemented.
18945 (getPixelBounds): Implemented.
18946 (getLayoutFlags): Implemented.
18948 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18950 * java/awt/LightweightDispatcher.java: Added field dragButton and
18951 documentation for it.
18952 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18953 added subexpression to if-clause in MOUSE_RELEASED case.
18955 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18957 * javax/swing/metal/MetalButtonUI.java:
18958 (update): Removed some subexpression from if-clause and call
18959 updateWithGradient.
18960 (updateWithGradient): New method.
18962 2006-05-19 Roman Kennke <kennke@aicas.com>
18964 * javax/swing/JComponent.java
18965 (findOverlapFreeParent): Implemented algorithm for finding
18966 overlapping in component hierarchy.
18968 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18970 * java/lang/Thread.java
18971 (contextClassLoaderIsSystemClassLoader): New field.
18972 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18973 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18974 and set contextClassLoaderIsSystemClassLoader.
18975 (Thread(ThreadGroup,Runnable,String,long)):
18976 Set contextClassLoaderIsSystemClassLoader.
18977 (createAnonymousThreadName): New method.
18978 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18979 and fixed security check.
18980 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18982 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18984 * javax/swing/plaf/basic/BasicToolBarUI.java:
18985 (createNonRolloverBorder): Rewritten.
18986 (createRolloverBorder): Rewritten.
18987 (setToNonRolloverBorder): Store old border instance in hashtable.
18988 (setToRolloverBorder): Store old border instance in hashtable, use
18989 AbstractButton instead of JButton in statements.
18990 (setBorderToNormal): Rewritten.
18991 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18992 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18993 ToolBar.nonrolloverBorder.
18995 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18997 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18998 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19000 2006-05-18 Lillian Angel <langel@redhat.com>
19002 * java/awt/font/GlyphMetrics.java
19003 (getLSB): Implemented.
19004 (getRSB): Implemented.
19006 2006-05-18 Lillian Angel <langel@redhat.com>
19008 * java/awt/font/GraphicAttribute.java:
19009 Documented entire class.
19010 (GraphicAttribute): Added check for alignment.
19011 (getBounds): Implemented.
19012 (getJustificationInfo): Implemented.
19014 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19016 * java/awt/LightweightDispatcher.java:
19017 (handleMouseEvent): Added note, added subexpression to if-statement.
19019 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19021 * javax/swing/plaf/basic/BasicToolBarUI.java:
19022 (navigateFocusedComp): Marked as stub.
19023 (createRolloverBorder): Create a different Border instance, added note.
19024 * javax/swing/plaf/metal/MetalBorders.java:
19025 (ButtonBorder): Added documentation.
19026 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19027 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19028 subexpression into if-else cascade, added note.
19030 2006-05-18 Lillian Angel <langel@redhat.com>
19032 * java/awt/font/ShapeGraphicAttribute.java:
19033 Documented entire class.
19034 (ShapeGraphicAttribute): Initialized bounds field.
19035 (draw): Implemented.
19036 (equals): Implemented.
19037 (getAdvance): Implemented.
19038 (getAscent): Implemented.
19039 (getBounds): Implemented.
19040 (getDescent): Implemented.
19041 (hashCode): Implemented.
19043 2006-05-18 Roman Kennke <kennke@aicas.com>
19045 * javax/swing/CellRendererPane.java
19046 (CellRendererPane): Set CellRendererPane to invisible.
19048 2006-05-18 Roman Kennke <kennke@aicas.com>
19050 * gnu/java/awt/peer/gtk/GdkGraphics.java
19051 (clipRect): Removed old intersection statement.
19053 2006-05-18 Roman Kennke <kennke@aicas.com>
19055 * gnu/java/awt/peer/gtk/GdkGraphics.java
19056 (clipRect): Don't use Rectangle.intersection() to avoid creating
19057 2 unnecessary Rectangle instances and fix a clipping problem.
19058 (computeIntersection): New helper method, adapted from SwingUtilities.
19060 2006-05-18 Roman Kennke <kennke@aicas.com>
19062 * javax/swing/JComponent.java
19063 (isCompletelyDirty): Removed.
19064 (paint): Don't mark children as clean, this is no longer necessary.
19065 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19066 painting when something overlaps the viewport (like a popup/menu).
19067 * javax/swing/RepaintManager.java
19068 (currentRepaintManagers): Made package private to avoid accessor
19070 (dirtyComponents): Made private.
19071 (dirtyComponentsWork): Made private.
19072 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19073 component-local not parent-local. Do not set flag in JComponent.
19074 (markCompletelyClean): Don't set JComponent flag.
19075 (isCompletelyDirty): Rewritten to return true when the complete
19076 component is marked dirty.
19077 (paintDirtyRegions): Improved parent-merging so that the merged-in
19078 components don't get painted too. 'Outsourced' the compilation
19079 of the repaint root components.
19080 (compileRepaintRoots): New helper method.
19082 2006-05-18 Roman Kennke <kennke@aicas.com>
19085 * javax/swing/text/GapContent.java
19086 (GapContentPosition(int)): Use adapted binarySearch method to
19087 allow for having a greater array than number of entries.
19088 (numMarks): New field, holds the end of the marks list.
19089 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19090 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19091 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19092 (setPositionsInRange): Changed signature to narrow the purpose and
19093 special cases inside. Reimplemented to crunch together equal marks.
19094 (adjustPositionsInRange): Added assertion to make sure we do
19095 not accidentally change the order of the mark. Added some debug
19096 output for a special case of which I don't know if it even exists.
19097 (resetMarksAtZero): Made impl simpler.
19098 (dumpMarks): New debug helper method.
19099 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19100 (binarySearch): New method. An adaption of Arrays.binarySearch()
19101 that allows for an maxIndex parameter.
19103 2006-05-18 Roman Kennke <kennke@aicas.com>
19105 * javax/swing/KeyboardManager.java
19106 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19108 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19110 * gnu/java/net/loader/JarURLLoader.java
19111 (JarURLLoader): Use a slightly more efficient URL constructor.
19113 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19115 * gnu/java/awt/print/JavaPrinterGraphics.java
19116 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19117 (drawImage(Image, int, int, ImageObserver)): Likewise,
19118 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19119 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19120 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19121 ImageObserver)): Likewise,
19122 (drawImage(Image, int, int, int, int, int, int, int, int,
19123 ImageObserver)): Likewise.
19125 2006-05-17 Tom Tromey <tromey@redhat.com>
19127 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19130 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19132 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19133 * javax/swing/border/BevelBorder.java: Likewise,
19134 * javax/swing/border/CompoundBorder.java: Likewise,
19135 * javax/swing/border/TitledBorder.java: Likewise.
19137 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19139 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19140 * javax/swing/table/DefaultTableModel.java: Likewise,
19141 * javax/swing/table/TableCellEditor.java: Likewise,
19142 * javax/swing/table/TableCellRenderer.java: Likewise.
19144 2006-05-17 Lillian Angel <langel@redhat.com>
19146 * java/awt/font/ImageGraphicAttribute.java:
19147 Documented entire class.
19148 (ImageGraphicAttribute): Changed to call this.
19149 (ImageGraphicAttribute): Implemented.
19150 (draw): Implemented.
19151 (equals): Implemented.
19152 (getAdvance): Implemented.
19153 (getAscent): Implemented.
19154 (getBounds): Implemented.
19155 (getDescent): Implemented.
19156 (hashCode): Implemented.
19157 * javax/swing/text/html/HTMLDocument.java
19158 (create): Removed. Sufficent enough for
19159 super to be called.
19160 (insert): Likewise.
19161 (insertUpdate): Likewise.
19162 (processHTMLFrameHyperlinkEvent): Marked as stub.
19163 (start): Removed FIXME.
19165 (start): Called super.
19166 (end): Called super.
19167 (getElement): removed unneeded code.
19168 (setParagraphAttribute): Removed. Sufficent enough
19169 for super to be called.
19170 (fireChangedUpdate): Likewise.
19171 (fireUndoableEditUpdate): Likewise.
19173 2006-05-17 Lillian Angel <langel@redhat.com>
19175 * java/awt/TexturePaint.java:
19176 Added documentation for class and all functions.
19177 (getTransparency): Implemented.
19179 2006-05-17 Roman Kennke <kennke@aicas.com>
19181 * java/awt/LightweightDispatcher.java
19182 (findTarget): Translate point to child components.
19184 2006-05-17 Roman Kennke <kennke@aicas.com>
19187 * javax/swing/text/GapContent.java
19188 (GapContentPosition): Do no more implement Comparable.
19189 (GapContentPosition.mark): Removed field.
19190 (GapContentPosition.index): New field to hold the index into
19191 the positions array.
19192 (GapContentPosition(int)): Rewritten to use the new indirection
19193 to the positions array.
19194 (GapContentPosition.compareTo): Removed.
19195 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19196 positionMarks array.
19197 (WeakPositionComparator): Removed obsolete class.
19198 (positions): Changed type to WeakHashMap.
19199 (positionMarks): New field, holds the marks of the positions.
19200 (GapContent): Initialize new fields.
19201 (createPosition): Rewritten to use the new indirection
19202 to the positions array.
19203 (getPositionsInRange): Rewritten to use the new indirection
19204 to the positions array.
19205 (setPositionsInRange): Rewritten to use the new indirection
19206 to the positions array.
19207 (adjustPositionsInRange): Rewritten to use the new indirection
19208 to the positions array.
19209 (insertMark): New helper method.
19210 (clearPositionReferences): Removed obsolete methods.
19212 2006-05-17 Lillian Angel <langel@redhat.com>
19214 * java/awt/GraphicsConfiguration.java
19215 (getImageCapabilities): Implemented.
19216 (getBufferCapabilities): Implemented.
19218 2006-05-17 Lillian Angel <langel@redhat.com>
19220 * javax/swing/plaf/basic/BasicSliderUI.java
19221 (focusGained): Implemented.
19222 (focusLost): Implemented.
19223 (paint): Added code to paint the focus.
19224 * javax/swing/plaf/metal/MetalSliderUI.java
19225 (paintThumb): Added code to set the thumbColor.
19226 (paintFocus): Implemented properly.
19228 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19231 * javax/naming/spi/NamingManager.java (getURLContext):
19232 Always search for the factory class in all possible places
19233 and use VMStackWalker.
19234 (forName): New method.
19236 2006-05-17 Roman Kennke <kennke@aicas.com>
19238 * java/awt/LightweightDispatcher.java
19239 (handleMouseEvent): Fixed search algorithm for finding the
19240 mouse event target.
19241 (findTarget): Fixed search algorithm for finding the
19242 mouse event target.
19244 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19246 * javax/naming/spi/NamingManager.java: Documented.
19248 2006-05-17 Mark Wielaard <mark@klomp.org>
19250 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19251 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19252 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19253 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19255 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19258 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19260 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19262 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19264 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19267 * java/awt/LightweightDispatcher.java:
19268 (handleMouseEvent): Moved assignment into switch-block, added notes.
19270 2006-05-16 Lillian Angel <langel@redhat.com>
19272 * javax/swing/text/StyleContext.java:
19273 Changed staticAttributeKeys to be a Hashtable.
19274 (getStaticAttribute): Implemented.
19275 (getStaticAttributeKey): Implemented.
19276 (readAttributeSet): Implemented.
19277 (writeAttributeSet): Added FIXME. Not sure how
19279 (readAttributes): Implemented.
19280 (writeAttributes): Implemented.
19281 (registerStaticAttibuteKey): Fixed to add key to
19284 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19286 * javax/swing/DefaultButtonModel.java
19287 (setGroup): Removed event notification.
19289 2006-05-16 Lillian Angel <langel@redhat.com>
19291 * javax/swing/plaf/basic/BasicComboBoxUI.java
19292 (installKeyboardActions): Implemented.
19293 (uninstallKeyboardActions): Implemented.
19294 * javax/swing/plaf/basic/BasicComboPopup.java
19295 (uninstallKeyboardActions): Removed FIXME. Nothing
19297 (installKeyboardActions): Likewise.
19298 * javax/swing/plaf/basic/BasicTextUI.java
19299 (uninstallKeyboardActions): Implemented.
19300 * javax/swing/plaf/basic/BasicTreeUI.java:
19301 Added field for hashColor.
19302 Marked stub methods.
19303 (getHashColor): Implemented to use field.
19304 (setHashColor): Likewise.
19305 (getRowX): Implemented.
19306 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19308 2006-05-16 Roman Kennke <kennke@aicas.com>
19311 * javax/swing/JTable.java
19312 (rowHeights): New field.
19313 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19314 in order to initialize rowHeights correctly.
19315 (tableChanged): Nullify rowHeights when model changes. Only
19316 create default columns from model when corresponding property
19317 is set. Sync table model with rowHeights as appropriate.
19318 (valueChanged): Call repaint with the correct rectangle.
19319 (rowAtPoint): Handle rowHeights.
19320 (getCellRect): Mostly rewritten. Check for boundaries
19321 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19322 Handle component orientation. Round correctly.
19323 (getRowHeight(int)): Implemented for variable row height.
19324 (setRowHeight(int,int)): Implemented for variable row height.
19325 (setRowHeight(int)): Nullify rowHeights.
19326 (setModel): Notify tableChanged().
19327 * javax/swing/plaf/basic/BasicTableUI.java
19328 (installDefaults): Create rendererPane in installUI.
19329 (installUI): Create and install rendererPane.
19330 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19332 (paint): Correctly handle rowMargin.
19334 2006-05-16 Tom Tromey <tromey@redhat.com>
19336 PR classpath/27563:
19337 * java/text/NumberFormat.java (getIntegerInstance): Use
19338 "integerFormat", not "numberFormat".
19340 2006-05-16 Lillian Angel <langel@redhat.com>
19342 * javax/swing/JPopupMenu.java
19343 (addMenuKeyListener): Implemented.
19344 (removeMenuKeyListener): Implemented.
19345 (getMenuKeyListeners): Implemented.
19346 * javax/swing/ProgressMonitor.java:
19347 Added new protected field.
19348 (getAccessibleContext): Implemented.
19350 2006-05-16 Lillian Angel <langel@redhat.com>
19352 * javax/swing/JFileChooser.java:
19353 Added new private field.
19354 (setDragEnabled): Implemented.
19355 (getDragEnabled): Implemented.
19357 2006-05-16 Lillian Angel <langel@redhat.com>
19359 * java/awt/Window.java
19360 (applyResourceBundle): Implemented.
19362 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19364 * javax/swing/DefaultButtonModel.java
19365 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19368 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19370 * javax/swing/JList.java (getSelectedValues):
19371 Ask the value for the indexed array element.
19373 2006-05-16 Roman Kennke <kennke@aicas.com>
19375 * javax/swing/JTable.java
19376 (valueChanged): Also repaint when table has only 1 row. Fixed
19377 repaint rectangle to span the entire changed rows.
19379 2006-05-16 Roman Kennke <kennke@aicas.com>
19382 * javax/swing/JOptionPane.java
19383 (startModal): Rewritten. The events are now dispatched, even
19384 when the event dispatch thread gets blocked by the call
19385 to this method. Also, mouse events get intercepted outside the
19388 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19390 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19391 (BorderListener.mouseDragged):Do not set cursor
19392 if the frame is being dragged.
19394 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19396 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19397 (BorderListener): Rewritten. (InternalFrameBorder):
19398 Made package private.
19399 (InternalFrameBorder.offset):
19400 Renamed to cornerSize, made package private.
19401 (bSize): Made package private.
19403 2006-05-16 Roman Kennke <kennke@aicas.com>
19405 * javax/swing/JMenu.java
19406 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19407 (AccessibleJMenu.getAccessibleChild): Implemented.
19408 (AccessibleJMenu.getAccessibleSelection): Implemented.
19409 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19410 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19411 (AccessibleJMenu.getAccessibleRole): Documented.
19412 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19413 (AccessibleJMenu.addAccessibleSelection): Implemented.
19414 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19415 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19416 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19417 (createPath): New helper method.
19419 2006-05-15 Tom Tromey <tromey@redhat.com>
19421 * java/text/MessageFormat.java (format): Now varargs.
19423 2006-05-15 Tom Tromey <tromey@redhat.com>
19425 * java/lang/Thread.java (State): Fixed typo.
19427 2006-05-15 Tom Tromey <tromey@redhat.com>
19429 * java/net/URLClassLoader.java: Moved inner classes to
19430 gnu.java.net.loader.
19431 (factoryCache): Changed type.
19432 (URL_LOADER_PREFIX): New constant.
19433 (URLClassLoader): Updated for new factoryCache.
19434 (addURLImpl): Use reflection to search for a loader.
19435 (findClass): Use getClass method on URLLoader.
19436 (getURLStreamHandler): Removed.
19437 * gnu/java/net/loader/URLLoader.java: New file, extracted
19438 from URLClassLoader.
19439 * gnu/java/net/loader/Resource.java: Likewise.
19440 * gnu/java/net/loader/FileResource.java: Likewise.
19441 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19442 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19443 * gnu/java/net/loader/JarURLResource.java: Likewise.
19444 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19445 * gnu/java/net/loader/RemoteResource.java: Likewise.
19446 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19448 2006-05-15 Sven de Marothy <sven@physto.se>
19450 * native/target/generic/target_generic_network.h:
19451 Add a pair of parenthesis.
19453 2006-05-15 Mark Wielaard <mark@klomp.org>
19455 * java/awt/Graphics2D.java: Remove PrinterJob import.
19457 2006-05-15 Mark Wielaard <mark@klomp.org>
19459 * doc/www.gnu.org/announce/20060515.wml: New file.
19460 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19461 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19463 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19465 * NEWS: Announce inclusion of gcjwebplugin.
19466 Announce inclusion of appletviewer.
19467 * INSTALL: Note gcjwebplugin dependencies.
19469 2006-05-15 Mark Wielaard <mark@klomp.org>
19471 * configure.ac (VERSION): Set to 0.91-generics.
19473 2006-05-15 Mark Wielaard <mark@klomp.org>
19475 * NEWS: Add release date and VMClassLoader.getBootPackages()
19478 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19480 * README: Added CACAO to list of VMs.
19482 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19484 * javax/swing/RepaintManager.java (paintDirtyRegions):
19485 Break loop as soon as the component repaint is merged
19486 with some parent. (ComponentComparator): Removed.
19487 (comparator): Removed.
19489 2006-05-15 Roman Kennke <kennke@aicas.com>
19491 * javax/swing/border/TitledBorder.java
19492 (paintBorderWithTitle): Fixed indentation.
19494 2006-05-15 Roman Kennke <kennke@aicas.com>
19496 * javax/swing/border/TitledBorder.java
19497 (layoutBorderWithTitle): Fetch border using getBorder() instead
19498 of using the border field directly. Allows for the use of
19499 an UI supplied border in the case when a null border was set.
19500 Fixed component orientation.
19501 (paintBorderWithTitle): Fetch border using getBorder() instead
19502 of using the border field directly. Allows for the use of
19503 an UI supplied border in the case when a null border was set.
19505 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19507 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19508 (contains): New method.
19510 2006-05-15 Tom Tromey <tromey@redhat.com>
19512 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19514 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19517 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19519 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19521 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19522 region. (paintDirtyRegions): Rewritten.
19524 2006-05-15 Tom Tromey <tromey@redhat.com>
19526 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19528 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19530 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19531 (run): Use MessageFormat.
19532 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19533 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19534 (writeFile): Use MessageFormat.
19536 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19538 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19539 instead of directly calling the class loader.
19541 2006-05-15 Tom Tromey <tromey@redhat.com>
19543 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19544 Removed old comment.
19545 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19546 Externalized strings.
19547 (getVersionString): Use MessageFormat.
19548 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19549 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19550 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19551 (getArgument): Use a MessageFormat.
19552 (handleLongOption): Likewise.
19555 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19558 * javax/swing/text/FieldView.java:
19559 (paint): Calculate intersection between clip and allocation area and
19560 set that as new clip.
19562 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19564 * javax/swing/text/JTextComponent.java: Marked stub methods.
19566 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19568 * javax/swing/JTable.java: Marked stub methods.
19570 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19572 * tools/gnu/classpath/tools/jarsigner/Main.java:
19573 Increased visibility of fields used by parser anonymous classes.
19574 (KEYTOOL_TOOL): New constant.
19575 (cmdLineParser): Changed type to ToolParser.
19576 (fileAndAlias): new field.
19577 (main): Don't catch OptionException.
19578 (processArgs): Removed validation checks; now handled by ToolParser.
19579 (getParser): Removed.
19580 (ToolParserCallback): New inner class.
19581 (ToolParser): Likewise.
19583 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19585 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19588 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19590 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19591 endResizingFrame): Do not repaint, unless in the outline mode.
19593 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19595 * javax/swing/JTabbedPane.java
19596 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19597 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19598 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19599 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19600 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19601 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19602 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19603 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19604 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19605 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19606 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19607 (Page.getAccessibleName): Implemented.
19609 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19611 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19612 Do not repaint nor revalidate here.
19614 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19616 * javax/swing/RepaintManager.java (addDirtyRegion):
19617 If there is a lightweight parent, recursively add the corresponding
19618 region of the parent instead.
19620 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19622 * java/awt/Graphics2D.java: Added some API doc comments.
19624 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19626 * javax/swing/JTabbedPane.java
19627 (paramString): Reimplemented,
19628 (getAccessibleContext): Added API docs.
19630 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19632 * javax/swing/JFileChooser.java
19633 (paramString): Reimplemented,
19634 (getAccessibleContext): Updated API docs,
19635 (AccessibleJFileChooser): Added API docs.
19637 2006-05-14 Tom Tromey <tromey@redhat.com>
19639 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19641 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19643 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19645 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19646 validation to JarParser.
19647 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19648 (run): Moved validation to JarParser. Don't throw OptionException.
19649 (initializeParser): Create a JarParser.
19650 (main): Don't catch OptionException.
19651 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19653 (validate): New method.
19654 (parse): Call it. Print '-help' in error message when long-only.
19656 2006-05-14 Tom Tromey <tromey@redhat.com>
19658 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19661 2006-05-15 Sven de Marothy <sven@physto.se>
19663 * gnu/java/awt/print/JavaPrinterGraphics.java:
19664 Sweeping changes I can't be bothered to document in detail.
19665 * gnu/java/awt/print/JavaPrinterJob.java
19666 (getPageAttributes): New method.
19667 (setPageable,cancel,isCancelled): Implement.
19669 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19671 * javax/swing/JCheckBoxMenuItem.java
19672 (requestFocus): Fixed typo in API docs,
19673 (paramString): Just call super.paramString(),
19674 (getAccessibleContext): Added API docs,
19675 (AccessibleJCheckBoxMenuItem): Likewise.
19677 2006-05-14 Tom Tromey <tromey@redhat.com>
19679 * tools/gnu/classpath/tools/jar/Indexer.java
19680 (writeCommandLineEntries): Simplify insertion.
19681 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19684 2006-05-14 Tom Tromey <tromey@redhat.com>
19686 PR classpath/27514:
19687 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19689 (JAR_INDEX_VERSION_KEY): Likewise.
19690 (IndexListParser): Updated.
19691 (getVersionInfo): Likewise.
19692 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19693 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19695 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19697 (ModeOption): New constructor.
19698 (parsed): Updated. Use setArchiveFile.
19699 (setArchiveFile): New method.
19700 (run): Handle no-argument case.
19701 (main): Emit --help message on option error.
19702 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19703 (createManifest): New method.
19704 (run): Updated. Throws OptionException. Correctly copy zip entry.
19705 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19707 (writeManifest): Removed.
19708 (outputStream): Now a JarOutputStream.
19709 (writeCommandLineEntries): Changed parameters. Updated callers.
19710 (run): Throws OptionException.
19711 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19712 * java/util/jar/Manifest.java (read): Typo fix.
19714 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19716 * javax/swing/JMenuItem.java
19717 (paramString): Fixed class name in API doc comment.
19719 2006-05-14 Tom Tromey <tromey@redhat.com>
19721 * native/plugin/.cvsignore: Updated.
19723 2006-05-14 Mark Wielaard <mark@klomp.org>
19725 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19728 2006-05-14 Chris Burdess <dog@gnu.org>
19730 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19731 nodes to be preserved during cloneNode.
19733 2006-05-14 Mark Wielaard <mark@klomp.org>
19736 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19737 inherited timeout on socket.
19739 2006-05-14 Lillian Angel <langel@redhat.com>
19741 * java/util/SimpleTimeZone.java: Reverted patch.
19742 (SimpleTimeZone): Throw exception if startMonth ==
19744 (SimpleTimeZone): Likewise.
19745 (checkRule): Rewritten to properly check all values (more
19747 This code is now more stable, at least less buggy than before.
19748 Fixed API documentation.
19749 (setStartRule): Moved checkRule call to end.
19750 (setStartRule): Likewise.
19751 (setEndRule): Likewise.
19752 (setEndRule): Likewise.
19754 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19756 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19759 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19762 * javax/swing/text/AbstractDocument.java:
19763 (insertString): Flipped if-expression and its blocks.
19765 (replace): Flipped if-expression and its blocks, added note, invoke
19766 insertString and remove instead of insertStringImpl and removeImpl.
19768 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19770 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19772 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19774 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19776 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19777 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19778 Increased visibility of fields used by parser anonymous classes.
19779 (processArgs): Removed.
19780 (getParser): New method.
19781 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19782 (setup): Mark (Eclipse) strings that need not be externalised.
19784 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19785 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19786 command line option parsing.
19787 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19788 Increased visibility of fields used by parser anonymous classes.
19789 (processArgs): Removed.
19790 (setup): set 'all' local field.
19791 (getParser): New method.
19792 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19793 Increased visibility of fields used by parser anonymous classes.
19794 (processArgs): Removed.
19795 (getParser): New method.
19796 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19797 (setNewKeyPassword): Fixed comments.
19798 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19799 Increased visibility of fields used by parser anonymous classes.
19800 (processArgs): Removed.
19801 (getParser): New method.
19802 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19804 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19805 Increased visibility of fields used by parser anonymous classes.
19806 (processArgs): Removed.
19807 (setup): Mark (Eclipse) strings that need not be externalised.
19808 (getParser): New method.
19809 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19810 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19811 Increased visibility of fields used by parser anonymous classes.
19812 (processArgs): Removed.
19813 (getParser): New method.
19814 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19815 (ATTRIBUTES_OPT): New constant.
19816 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19817 Increased visibility of fields used by parser anonymous classes.
19818 (processArgs): Removed.
19819 (setup): Mark (Eclipse) strings that need not be externalised.
19821 Reduced logging level.
19822 (getParser): New method.
19823 * tools/gnu/classpath/tools/keytool/Command.java
19824 (processArgs): Made it concrete.
19825 (getParser): New abstract method.
19826 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19828 2006-05-13 Casey Marshall <csm@gnu.org>
19830 Patch by Michael Barker <mike@middlesoft.co.uk>.
19831 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19832 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19833 gnu.java.nio.SocketChannelSelectionKeyImpl.
19834 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19835 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19837 * include/gnu_java_nio_VMChannel.h: new file.
19838 * java/nio/FileChannel.java (read,write): changed to call abstract
19840 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19841 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19842 `gnu_java_nio_VMChannel.c.'
19843 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19845 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19847 * javax/swing/text/AbstractDocument.java:
19848 (insertString): Flipped if-expression and its blocks.
19850 (replace): Flipped if-expression and its blocks, added note, invoke
19851 insertString and remove instead of insertStringImpl and removeImpl.
19853 2006-05-13 Tom Tromey <tromey@redhat.com>
19855 * java/nio/ByteBufferImpl.java (compact): Always set position.
19857 2006-05-13 Sven de Marothy <sven@physto.se>
19859 * gnu/java/awt/print/JavaPrinterGraphics.java
19860 (spoolPostScript): Use a faster writer.
19862 2006-05-13 Sven de Marothy <sven@physto.se>
19864 * gnu/java/awt/print/JavaPrinterGraphics.java
19865 (colorTripleHex): Reimplement better.
19867 2006-05-13 Sven de Marothy <sven@physto.se>
19869 * javax/swing/text/html/HTMLDocument.java
19870 (CharacterAction.start): Translate tag to StyleAttribute.
19871 (pushCharacterStyle): Push copy of attributes onto stack.
19872 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19875 2006-05-13 Sven de Marothy <sven@physto.se>
19877 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19878 * java/awt/print/PrinterJob.java
19879 (getPrinterJob): Return a JavaPrinterJob
19880 (setPrintService,getPrintService): Implement.
19881 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19882 (getPixels): Gtk_threads_enter required.
19883 * gnu/java/awt/print/JavaPrinterGraphics.java
19884 * gnu/java/awt/print/JavaPrinterJob.java
19885 * gnu/java/awt/print/SpooledDocumet.java:
19888 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19890 * javax/swing/text/TextAction.java:
19891 (HorizontalMovementAction): New inner class.
19892 (VerticalMovementAction): New inner class.
19893 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19894 new inner classes to array 'defaultActions'.
19895 (SelectionBeginWordAction): New inner class.
19896 (SelectionEndWordAction): New inner class.
19897 (BeginWordAction): New inner class.
19898 (EndWordAction): New inner class.
19899 (PreviousWordAction.actionPerformed): Rewritten.
19900 (SelectLineAction): New inner class.
19901 (SelectWordAction): New inner class.
19902 (SelectionDownAction): Rewritten.
19903 (SelectionUpAction): Rewritten.
19904 (DownAction): Rewritten.
19905 (UpAction): Rewritten.
19906 (SelectionForwardAction): Rewritten.
19907 (SelectionBackwardAction): Rewritten.
19908 (ForwardAction): Rewritten.
19909 (BackwardAction): Rewritten.
19910 (BeginAction): New inner class.
19911 (EndAction): New inner class.
19912 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19913 Character.isISOControl.
19915 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19917 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19918 (WordFilter.getNextVisualPositionFrom): Added statement to check
19919 for variable pt not being null.
19921 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19923 * javax/swing/text/Utilities.java:
19924 (getNextWord): Fixed grammar in exception message.
19925 (getPreviousWord): Changed expression in first if-clause, added sub-
19926 expression to if-clause in while-loop.
19927 (getWordStart): Changed expression in if-clause.
19928 getNextVisualPositionFrom): Added package-private helper method.
19930 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19932 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19935 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19937 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19939 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19940 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19941 * tools/gnu/classpath/tools/jarsigner/Main.java:
19942 Increased visibility of fields used by parser anonymous classes.
19943 (HELP_PATH): Removed.
19944 (cmdLineParser): New field.
19945 (main): Handle JVM exit status.
19946 Handle command line parsing exceptions.
19947 (processArgs): Use getopt command line parser.
19948 (getParser): New method.
19949 (setupCommonParams): Removed checks now handled by processArgs().
19950 (setupSigningParams): Likewise.
19951 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19952 Reuse an existing message-bundle constant.
19954 2006-05-12 Tom Tromey <tromey@redhat.com>
19956 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19957 Explicitly specify class for synchronization.
19959 2006-05-12 Tom Tromey <tromey@redhat.com>
19961 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19963 2006-05-12 Sven de Marothy <sven@physto.se>
19965 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19966 * gnu/java/net/protocol/http/HTTPURLConnection.java
19967 (setConnectTimeout): New method.
19968 (getConnection): Add timeout parameter.
19969 * java/net/URLConnection.java
19970 (getConnectTimeout, setConnectTimeout): Implement.
19971 * native/target/generic/target_generic_network.h:
19972 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19974 2006-05-12 Sven de Marothy <sven@physto.se>
19976 * gnu/javax/print/CupsServer.java
19977 (CupsServer): Make the Cups host configurable.
19978 * java/lang/System.java: Document the system property.
19980 2006-05-12 Roman Kennke <kennke@aicas.com>
19982 * javax/swing/border/TitledBorder.java
19983 (paintBorder): Rewritten for simplicity and correctness.
19984 (layoutBorderWithTitle): New helper method.
19985 (paintBorderWithTitle): New helper method.
19986 (getBorderInsets): Rewritten.
19987 (getMinimumSize): Rewritten.
19988 (getRealJustification): Removed.
19989 (getMeasurements): Removed.
19990 (Measurements): Removed.
19992 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19994 * javax/swing/plaf/basic/BasicPanelUI.java
19995 (sharedUI): New field,
19996 (createUI): Return a shared instance rather than a new instance,
19997 (installUI): Reformatted and added API docs,
19998 (installDefaults): Install border if one is defined,
19999 (uninstallDefaults): Uninstall border.
20001 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20003 * javax/swing/JProgressBar.java: Updated API docs all over.
20005 2006-05-11 Lillian Angel <langel@redhat.com>
20007 * java/awt/ContainerOrderFocusTraversalPolicy.java
20008 (getComponentAfter): Should not throw exception if
20009 the ancestor is null. Added a check for this.
20010 Also, changed to use new helper function, we should
20011 iterate through all the components at least once.
20012 (getNextAvailableComponent): New helper function.
20013 (getPrevAvailableComponent): New helper function.
20014 (getComponentBefore): Should not throw exception if
20015 the ancestor is null. Added a check for this.
20016 Also, changed to use new helper function, we should
20017 iterate through all the components at least once.
20018 (getFirstComponent): Changed check to manually check
20019 fields. Calling accept() casts the object to a Component,
20020 so different values may be returned.
20021 (getLastComponent): Likewise.
20023 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20025 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20026 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20027 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20028 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20029 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20030 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20031 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20032 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20033 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20034 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20035 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20036 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20037 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20038 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20039 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20040 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20041 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20042 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20044 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20046 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20047 package-private, added field 'active'.
20048 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20049 cases to update field 'active'.
20050 (mouseDragged): Added documentation, added if-clause to update
20051 selection or caret position.
20052 (mouseClicked): Added early return when text component is disabled.
20053 (focusGained): Moved statements into an if-clause.
20054 (focusLost): Added subexpression to if-clause.
20055 (install): Preset value of 'active'.
20056 (paint): Added subexpression to if-clause.
20057 (isVisible): Extended return expression.
20058 * javax/swing/text/JTextComponent.java:
20059 (copy): Copy only if component is enabled.
20060 (cut): Cut only if component is enabled and editable.
20063 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20065 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20066 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20067 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20068 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20069 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20070 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20071 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20073 2006-05-11 Roman Kennke <kennke@aicas.com>
20075 * gnu/java/awt/font/GNUGlyphVector.java
20076 (GNUGlyphVector): Don't apply the font renderer context's
20079 2006-05-11 Mark Wielaard <mark@klomp.org>
20081 * java/util/logging/Logger.java (global): Initialize inside static
20084 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20086 * javax/swing/JFrame.java
20087 (EXIT_ON_CLOSE): Added note to API docs,
20088 (close_action): Renamed closeAction,
20089 (JFrame()): Change title to "",
20090 (JFrame(String)): Added API docs,
20091 (getAccessibleContext): Likewise,
20092 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20093 (processWindowEvent): Updated for renamed field,
20094 (setDefaultCloseOperation): Likewise, and updated API docs.
20096 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20098 * javax/swing/JFrame.java
20099 (paramString): Reimplemented,
20100 * javax/swing/SwingUtilities.java
20101 (convertWindowConstantToString): New method.
20103 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20105 * javax/swing/WindowConstants.java: Updated API docs.
20107 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20109 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20110 (createUI): Removed 'final' qualifier for parameter,
20111 (paint): Reformatted.
20113 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20115 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20116 (createUI): Removed 'final' qualifier on method argument.
20118 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20120 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20121 (getDefaultIcon): Removed this redundant method.
20123 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20125 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20126 (paint): Pass component size to paintFocus().
20128 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20130 * java/awt/Component.java:
20131 (dispatchEventImpl): Added comment.
20133 2006-05-11 Mark Wielaard <mark@klomp.org>
20135 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20136 Option constructor null argument to String.
20138 2006-05-11 Mark Wielaard <mark@klomp.org>
20140 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20141 Fully qualify PathIterator constants
20143 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20145 * java/awt/Component.java:
20146 (dispatchEventImpl): Added subexpression to if-clause.
20148 2006-05-11 Mark Wielaard <mark@klomp.org>
20150 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20153 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20155 * javax/swing/TransferHandler.java: Marked stub methods.
20157 2006-05-10 Roman Kennke <kennke@aicas.com>
20160 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20161 (installDefaults): Set background of content pane to null, if
20162 no custom color has been installed by the application yet.
20164 2006-05-10 Roman Kennke <kennke@aicas.com>
20167 * javax/swing/JRootPane.java
20168 (createContentPane): Don't set background to null.
20170 2006-05-10 Sven de Marothy <sven@physto.se>
20172 * java/awt/print/PrinterJob.java:
20173 (lookupPrintServices): Un-comment-out.
20175 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20177 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20178 (FILLER): New constant.
20179 (formatText(PrintStream,String,int)): New method.
20180 (formatText(PrintStream,String,int,Locale)): Likewise.
20181 (printHelp): Use formatText method.
20182 * tools/gnu/classpath/tools/getopt/Parser.java
20183 (MAX_LINE_LENGTH): New constant.
20184 (formatText(PrintStream,String)): New method.
20185 (formatText(PrintStream,String,Locale)): Likewise.
20186 (printHelp): New method.
20187 (printHelp(PrintStream)): Increased visibility to protected.
20188 Use formatText method.
20190 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20192 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20193 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20194 modify the lookup key.
20196 2006-05-10 Lillian Angel <langel@redhat.com>
20198 * java/util/SimpleTimeZone.java: Reverted patch.
20199 (SimpleTimeZone): Throw exception if startMonth ==
20201 (SimpleTimeZone): Likewise.
20202 (checkRule): Rewritten to properly check all values (more
20204 This code is now more stable, at least less buggy than before.
20205 Fixed API documentation.
20206 (setStartRule): Moved checkRule call to end.
20207 (setStartRule): Likewise.
20208 (setEndRule): Likewise.
20209 (setEndRule): Likewise.
20211 2006-05-10 Roman Kennke <kennke@aicas.com>
20213 * gnu/java/awt/peer/swing/SwingComponent.java:
20214 Some API comment fixlets.
20215 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20216 (createImage): Create a BufferedImage, not a Toolkit image.
20217 (paint): Removed bogus API comment.
20218 (prepareImage): Added checks to avoid NPE.
20219 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20220 (getInsets): Added check to avoid NPE.
20221 (handleMouseEvent): Added check to avoid NPE.
20222 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20223 Some API comment fixlets.
20224 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20225 Some API comment fixlets.
20226 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20227 Changed start_pos name to startPos.
20228 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20229 Some API comment fixlets.
20231 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20233 * java/awt/BasicStroke.java
20234 (equals): Fixed typo in HTML tag for API doc comment.
20236 2006-05-10 Gary Benson <gbenson@redhat.com>
20238 * java/lang/ThreadGroup.java (parent): Make package-private.
20239 * java/lang/SecurityManager.java (checkAccess(Thread)):
20240 Reference ThreadGroup.parent directly to avoid extra checks.
20241 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20244 2006-05-10 Roman Kennke <kennke@aicas.com>
20246 Reported by Ingo Proetel (proetel@aicas.com)
20247 * java/awt/EventDispatchThread.java
20248 (DEFAULT_PRIORITY): New constant field.
20249 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20250 system property for adjusting the priority of the event
20253 2006-05-10 Roman Kennke <kennke@aicas.com>
20255 Reported by Ingo Proetel (proetel@aicas.com)
20256 * java/awt/image/ColorModel.java
20257 (S_RGB_MODEL): New constant field.
20258 (getRGBDefault): Return constant SRGBColorModel.
20259 (SRGBColorModel): Specialized color model for sRGB.
20261 2006-05-10 Roman Kennke <kennke@aicas.com>
20263 * java/awt/ColorPaintContext.java
20264 (getRaster): Create Raster with (0,0) as source location.
20266 2006-05-10 Roman Kennke <kennke@aicas.com>
20268 * gnu/java/awt/java2d/AlphaCompositeContext.java
20269 (compose): Don't premultiply alpha to alpha itself.
20271 2006-05-10 Roman Kennke <kennke@aicas.com>
20273 * gnu/java/awt/java2d/AbstractGraphics2D.java
20274 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20275 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20277 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20278 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20279 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20281 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20282 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20284 (scale): Inverse transform by doing 1/scale instead of -scale.
20285 (drawImage(Image,int,int,ImageObserver)): Implemented.
20286 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20287 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20288 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20289 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20291 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20293 (fillScanline): Work on translated destination raster for
20294 correct compositin.
20295 (init): Fetch the clip after the destination raster is initialized.
20296 * gnu/java/awt/java2d/ImagePaint.java: New file.
20297 * gnu/java/awt/java2d/RasterGraphics
20298 (drawImage): Removed.
20300 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20302 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20303 Clarify option descriptions.
20304 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20305 uppercase for metasyntactic variables.
20307 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20310 * javax/swing/text/AbstractDocument.java:
20311 (insertString): Added more documentation, added argument check.
20312 (remove): Added more documentation.
20313 (removeImpl): Added argument check.
20314 (replace): Added more documentation, added argument check.
20316 2006-05-09 Tom Tromey <tromey@redhat.com>
20318 * tools/.cvsignore: Added appletviewer.
20320 2006-05-09 Tom Tromey <tromey@redhat.com>
20322 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20325 2006-05-09 Tom Tromey <tromey@redhat.com>
20327 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20328 Special case for '-J'. Use space instead of '='.
20329 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20332 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20334 * configure.ac: Add --disable-plugin and --with-vm options. Check
20335 for plugin support headers and libraries.
20336 * native/Makefile.am: Recurse into plugin directory.
20337 * native/plugin/.cvsignore: New file.
20338 * native/plugin/Makefile.am: New file.
20339 * native/plugin/gcjwebplugin.cc: New file.
20340 * tools/Makefile.am: Install appletviewer wrapper script.
20341 * tools/appletviewer.in: Replace VM location heuristic with
20342 VM_BINARY configure substitution.
20344 2006-05-09 Tom Tromey <tromey@redhat.com>
20346 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20347 an initial pass to look for short options. Added 'longOnly' option.
20348 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20350 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20351 options into final group. Added -J.
20352 (add): Insert new groups before final group.
20353 (printHelp): Updated.
20355 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20358 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20359 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20360 Expect -classpath option.
20361 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20362 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20364 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20365 (classLoader): New field. (loadClass, setClassPath):
20368 2006-05-09 Roman Kennke <kennke@aicas.com>
20370 * gnu/java/awt/java2d/RasterGraphics.java
20371 (RasterGraphics): Call init() and super().
20372 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20375 2006-05-09 Gary Benson <gbenson@redhat.com>
20377 * java/lang/Thread.java (Thread): Always perform threadgroup
20378 access checks on thread creation.
20380 2006-05-09 Chris Burdess <dog@gnu.org>
20382 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20383 be preserved during cloneNode.
20385 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20388 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20389 Do not demand all thrown exceptions to be an instance of RemoteException.
20391 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20393 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20394 Use hash-style comments.
20395 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20398 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20400 * javax/swing/JLabel.java
20401 (paramString): Added more attribute details,
20402 * javax/swing/SwingUtilities.java
20403 (convertHorizontalAlignmentCodeToString): New method,
20404 (convertVerticalAlignmentCodeToString): New method.
20406 2006-05-08 Tom Tromey <tromey@redhat.com>
20408 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20409 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20410 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20413 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20415 (run): Use ZipInputStream.
20416 (initSet): New method.
20417 (shouldExtract): Likewise.
20418 (run): Use new methods.
20419 * tools/gnu/classpath/tools/jar/Creator.java
20420 (writeCommandLineEntries): New overload.
20421 (writeFile): Use System.err for verbose.
20422 (writeManifest): New method.
20423 (writtenItems): New field.
20424 (writeFile): Update it.
20425 (writeCommandLineEntries): Return void. Call writeManifest.
20426 (addEntries): Don't add extra '/'.
20427 * NEWS: Mention jar.
20429 2006-05-08 Lillian Angel <langel@redhat.com>
20431 * gnu/java/net/IndexListParser.java: New class.
20432 * java/net/URLClassLoader.java
20433 (JarURLLoader): Fixed code to use new class.
20435 2006-05-08 Roman Kennke <kennke@aicas.com>
20437 * javax/swing/JComboBox.java
20438 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20439 (AccessibleJComboBox.getAccessibleChild): Implemented.
20440 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20441 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20442 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20443 (AccessibleJComboBox.getAccessibleAction): Implemented.
20444 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20445 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20446 (AccessibleJComboBox.doAccessibleAction): Implemented.
20447 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20448 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20449 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20450 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20451 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20453 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20455 * configure.ac: Add support for building appletviewer.
20456 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20458 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20460 * tools/appletviewer.c: New file.
20461 * tools/appletviewer.in: New file.
20462 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20464 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20466 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20467 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20469 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20471 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20473 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20475 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20477 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20478 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20480 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20482 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20484 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20486 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20488 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20490 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20493 2006-05-08 Tom Tromey <tromey@redhat.com>
20495 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20496 * tools/gnu/classpath/tools/jar/Action.java: New file.
20497 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20498 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20499 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20500 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20501 * tools/gnu/classpath/tools/jar/Main.java: New file.
20502 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20503 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20504 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20505 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20506 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20507 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20510 2006-05-08 Lillian Angel <langel@redhat.com>
20512 * java/net/URLClassLoader.java
20513 (JarURLLoader): Added check to make sure the INDEX.LIST file
20516 2006-05-08 Roman Kennke <kennke@aicas.com>
20518 * gnu/java/awt/java2d/AbstractGraphics2D.java
20519 (fill): Removed commented out code.
20520 (fillShape): Also determine the outline of the clip and feed
20521 it into the rendering method. Use new helper method for
20522 converting the shapes into lists of segments.
20523 (getUserBounds): Removed obsolete method.
20524 (rawFillShape): Respect the clip when rendering shapes.
20525 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20526 However, the implementation can't clip still.
20527 (getSegments): New helper method for converting a shape into
20528 a list of segments.
20529 (clipShape): Removed obsolete method.
20530 * gnu/java/awt/java2d/PolyEdge.java
20531 (isClip): New field.
20532 (PolyEdge): Added isField argument to constructor.
20534 2006-05-08 Roman Kennke <kennke@aicas.com>
20537 * javax/swing/JRootPane.java
20538 (createContentPane): Set background of the content pane to null,
20539 so that the content pane inherits its background from the
20542 2006-05-08 Roman Kennke <kennke@aicas.com>
20545 * javax/swing/ButtonGroup.java
20546 (add): Check if new button is selected and if so, deselect other
20547 buttons in the group.
20549 2006-05-08 Lillian Angel <langel@redhat.com>
20552 * java/net/URLClassLoader.java
20553 (JarURLLoader): Added code to go through
20554 META-INF/INDEX.LIST file to load all jars listed.
20556 2006-05-08 Roman Kennke <kennke@aicas.com>
20559 * javax/swing/ImageIcon.java
20560 (ImageIcon(URL)): Set description to URL.toString().
20562 2006-05-08 Roman Kennke <kennke@aicas.com>
20565 * javax/swing/JTable.java
20566 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20567 null when cell value is null.
20569 2006-05-08 Roman Kennke <kennke@aicas.com>
20572 * javax/swing/DefaultDesktopManager.java
20573 (closeFrame): Don't perform default close action on the frame
20574 to prevent endless loop.
20576 2006-05-08 Roman Kennke <kennke@aicas.com>
20579 * javax/swing/table/DefaultTableModel.java
20580 (addExtraRows): New helper method.
20581 (checkSize): New helper method.
20582 (setRowCount): Use addExtraRows helper method.
20583 (addColumn): Use addExtraRows helper method.
20584 (getColumnName): Check and adjust size if necessary using
20587 2006-05-08 Roman Kennke <kennke@aicas.com>
20590 * javax/swing/JTable.java
20591 (setValueAt): Allow setting values even when table is editable.
20593 2006-05-08 Tom Tromey <tromey@redhat.com>
20595 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20596 space to error message.
20598 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20600 * javax/swing/AbstractButton.java: Fixed comment typos.
20602 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20604 PR classpath/27435:
20605 * java/util/zip/DeflaterEngine.java:
20606 (deflateFast(boolean,boolean)): Empty buffer when full.
20608 2006-05-07 Sven de Marothy <sven@physto.se>
20611 * java/util/Calendar.java (setTimeZone): Force recalculation.
20613 2006-05-07 Sven de Marothy <sven@physto.se>
20616 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20617 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20619 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20621 PR classpath/27311:
20622 * gnu/java/text/StringFormatBuffer.java:
20623 (toString()): Implemented so we can see the contents.
20624 * java/text/DecimalFormat.java:
20625 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20626 Don't calculate the exponent when the number is 0 or less.
20627 Also, use log10 instead of log now it's available.
20629 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20631 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20632 Use instance's field creationDate not the constructor's argument.
20633 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20634 Removed unused imports.
20637 (decrypt): Added trace/debug/timing statements.
20638 (encrypt): Likewise.
20639 Use PRNG instead of instantiating every time a new SecureRandom.
20640 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20641 Removed unused imports.
20644 (verify): Added trace/debug/timing statements.
20645 (authenticate): Likewise.
20646 Use PRNG instead of instantiating every time a new SecureRandom.
20648 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20650 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20651 (THREAD_FORMAT): Likewise.
20652 (dateFormat): Added field.
20653 (threadFormat): Added field.
20654 (format): Initialize instance fields if null.
20655 Use StringBuilder instead of StringBuffer.
20657 2006-05-07 Roman Kennke <kennke@aicas.com>
20659 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20661 2006-05-07 Roman Kennke <kennke@aicas.com>
20663 * gnu/java/awt/java2d/AbstractGraphics2D.java
20664 (fillShape): Determine user space bounds of shape and feed them
20665 into the actual rendering pipeline.
20666 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20667 (rawSetForeground): Likewise.
20668 (getDestinationColorModel): Removed.
20669 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20670 (rawFillShape): Handle paint context.
20671 (fillScanline): Implement painting and compositing.
20672 (fillShapeAntialias): Handle paint context.
20673 (fillScanlineAA): Implemented preliminary antialiasing based on
20674 composite context. Not working yet.
20675 (fillScanlineAlpha): Removed.
20676 (init): Fetch destination raster.
20677 (getDestinationRaster): New abstract method.
20678 (updateRaster): New backend method.
20680 2006-05-07 Roman Kennke <kennke@aicas.com>
20682 * gnu/java/awt/java2d/AlphaCompositeContext.java
20683 (compose): Fixed loops, conditions and logic to make compositing
20686 2006-05-07 Roman Kennke <kennke@aicas.com>
20688 * java/awt/ColorPaintContext.java
20689 (ColorPaintContext): Fixed filling of the raster.
20691 2006-05-07 Sven de Marothy <sven@physto.se>
20694 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20695 * java/awt/Component.java (processMouseEvent):
20696 Do lightweight cursor handling.
20697 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20698 (endResizing,mouseMoved): Save and reset original cursor, not the
20701 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20704 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20705 getNodeDimensions): Mind the size of the node icon. (getRowX):
20706 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20707 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20708 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20709 (installDefaults): assign totalChildIndent. (installUI): Call
20710 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20711 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20714 2006-05-06 Sven de Marothy <sven@physto.se>
20717 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20718 Check for zero image sizes.
20720 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20723 * java/util/Calendar.java (clear(int)): Forced internal state
20724 completion before performing a field clearing.
20726 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20728 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20729 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20730 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20731 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20732 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20733 UnmodifiableMapEntry as part of their return value.
20735 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20737 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20738 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20739 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20740 Generate jarsigner and keytool scripts.
20741 * tools/keytool.in: New file (renamed from keytool.sh.in).
20742 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20743 * tools/.cvsignore: Replaced *.sh with *
20744 * configure.ac: Replaced tools/*.sh with tools/*.
20746 2006-05-05 Roman Kennke <kennke@aicas.com>
20748 * java/awt/image/ColorModel.java
20749 (getNormalizedComponents): Implemented.
20751 2006-05-05 Roman Kennke <kennke@aicas.com>
20753 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20754 (paint): Query the button model for it's state, not the
20757 2006-05-05 Roman Kennke <kennke@aicas.com>
20759 * javax/swing/JTable.java
20760 (tableChanged): Sync selection model with table model changes.
20762 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20764 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20765 if there are no visible nodes to paint.
20767 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20769 * javax/swing/JOptionPane.java: API doc updates.
20771 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20773 * javax/swing/JToolBar.java
20774 (paramString): Reimplemented.
20776 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20778 * javax/swing/JScrollBar.java
20779 (paramString): Reimplemented.
20781 2006-05-04 Tom Tromey <tromey@redhat.com>
20783 PR classpath/27375:
20784 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20785 (readEntries): Updated.
20786 (getEntries): Likewise.
20787 (getEntry): Likewise.
20788 (getInputStream): Likewise.
20790 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20792 * gnu/javax/imageio/jpeg/DCT.java,
20793 gnu/javax/imageio/jpeg/HuffmanTable.java,
20794 gnu/javax/imageio/jpeg/JPEGComponent.java,
20795 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20796 gnu/javax/imageio/jpeg/JPEGException.java,
20797 gnu/javax/imageio/jpeg/JPEGFrame.java,
20798 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20799 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20800 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20801 gnu/javax/imageio/jpeg/JPEGMarker.java,
20802 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20803 gnu/javax/imageio/jpeg/JPEGScan.java,
20804 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20805 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20807 2006-05-04 Lillian Angel <langel@redhat.com>
20809 * javax/swing/JLabel.java
20810 (JLabel): Pass in an empty string for the text parameter.
20811 (JLabel): Likewise.
20812 (JLabel): Likewise.
20814 2006-05-04 Roman Kennke <kennke@aicas.com>
20816 * javax/swing/plaf/basic/BasicButtonListener.java
20817 (mouseEntered): Fixed conditions for changing states.
20819 2006-05-04 Roman Kennke <kennke@aicas.com>
20821 * javax/swing/JOptionPane.java
20822 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20824 2006-05-04 Roman Kennke <kennke@aicas.com>
20826 * javax/swing/JLabel.java
20827 (AccessibleJLabel.getSelectedText): Return null instead of "".
20828 (AccessibleJLabel.getSelectionStart): Added comment why
20829 return -1 is correct here.
20830 (AccessibleJLabel.getSelectionEnd): Added comment why
20831 return -1 is correct here.
20832 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20834 (AccessibleJLabel.getCharCount): Added comment about what
20836 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20837 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20838 (paramString): Return super.paramString() here, this provides
20839 a more meaningful output.
20841 2006-05-04 Roman Kennke <kennke@aicas.com>
20843 * javax/swing/JComponent.java
20844 (paint): Added null check to avoid NPE when clip == null.
20846 2006-05-04 Roman Kennke <kennke@aicas.com>
20848 * javax/swing/AbstractButton.java
20849 (addImpl): New method. Installs an OverlayLayout if no
20850 other layout has been installed before.
20851 (setLayout): New method. Detect if a client app installs a custom
20854 2006-05-04 Roman Kennke <kennke@aicas.com>
20856 * javax/swing/table/DefaultTableCellRenderer.java
20857 (noFocusBorder): Fixed width of empty border to 1.
20858 (getTableCellRendererComponent): Don't change the colors for
20859 focuses cells. Fixed border for focused cells.
20861 2006-05-04 Roman Kennke <kennke@aicas.com>
20863 * javax/swing/JTable.java
20864 (moveToCellBeingEdited): Adjust bounding box of editing component
20865 to exactly cover the grid.
20866 * javax/swing/plaf/basic/BasicTableUI.java
20867 (paint): Paint grid to the bottom and right of the cells instead
20868 of left and top. Adjust bounding box of cells accordingly.
20869 * javax/swing/plaf/metal/MetalLookAndFeel.java
20870 (initComponentDefaults): Fixed color of JTable selection border.
20871 * javax/swing/plaf/metal/OceanTheme.java
20872 (addCustomEntriesToTable): Fixed color of JTable selection border.
20874 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20876 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20877 Use _alias instead of alias.
20879 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20882 Set version to 0.92-pre.
20884 Add space for 0.92 entries.
20886 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20888 * include/Makefile.am:
20889 Added rules for gnu.java.net.local.LocalSocketImpl.h
20890 * include/java_lang_VMSystem.h:
20891 Regenerated correctly.
20893 2006-05-03 Sven de Marothy <sven@physto.se>
20896 * java/awt/Image.java:
20897 (getScaledInstance): Default to AreaAveraging for "smooth",
20898 don't thrown an error on illegal flag values.
20899 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20901 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20903 * javax/swing/text/FieldView.java:
20904 (adjustAllocation): Added if-block to return null when shape argument
20906 * javax/swing/text/PlainView.java:
20907 (updateDamage): Added if-block to return early if a is null.
20909 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20911 * javax/swing/plaf/basic/BasicTextUI.java:
20912 (changeUpdate): Added note.
20913 (removeUpdate): Dito.
20914 (insertUpdate): Dito.
20915 (damageRange): Added if-block to return early.
20916 (modelToView): Added check of getVisibleEditorRect's return value.
20917 (getVisibleEditorRect): Return null instead of empty rectangle.
20918 * javax/swing/text/DefaultCaret.java:
20919 (clearHighlight): Removed if-clause to create a highlight entry if it
20920 did not exist before.
20921 * javax/swing/text/WrappedPlainView.java:
20922 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20923 removed 2nd part of if-expression.
20924 (WrappedLine.updateDamage): Added more documentation, added check
20925 whether allocation area rectangle is null.
20927 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20929 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20930 Reset to preferred sizes if the argument is negative.
20932 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20934 * javax/swing/JList.java: Added/updated API docs.
20936 2006-05-03 Lillian Angel <langel@redhat.com>
20938 * javax/swing/JComponent.java
20939 (getRoot): New private function. Gets the root appropriate
20940 for painting. If an applet exists as a parent, then it is returned.
20941 (paintDoubleBuffered): Changed to use new function.
20942 * javax/swing/RepaintManager.java
20943 (getRoot): New private function. Gets the root appropriate
20944 for painting. If an applet exists as a parent, then it is returned.
20945 (getOffscreenBuffer): Changed to use new function.
20946 * javax/swing/SwingUtilties.java
20947 (getRoot): Reverted last patch to return Window, even if
20950 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20952 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20953 a pair of one public keyring and one private keyring.
20954 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20955 (containsCertificate): Added logging.
20956 (getCertificate): Likewise.
20957 (putCertificate): Likewsie.
20960 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20961 (containsPrivateKey): Added logging.
20962 (getPrivateKey): Likewise.
20963 (putPrivateKey): Likewise.
20964 (containsPublicKey): Likewise.
20965 (getPublicKey): Likewise.
20966 (putPublicKey): Likewise.
20967 (containsCertPath): Likewise.
20968 (getCertPath): Likewise.
20969 (putCertPath): Likewise.
20973 2006-05-03 Roman Kennke <kennke@aicas.com>
20975 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20976 * java/awt/AlphaComposite.java
20977 (createContext): Implemented.
20979 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20981 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20982 Set the current color again after drawing the raster.
20984 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20986 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20987 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20989 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20991 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20992 Assign returned value to field handler.
20993 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20996 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20998 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20999 Return without action if there is no view in the viewport.
21000 * javax/swing/text/WrappedPlainView.java
21001 (WrappedLine.getPreferredSpan): If metrics == null, update
21003 * javax/swing/tree/DefaultTreeModel.java (constructors):
21004 Do not call setRoot, assign the root node directly.
21006 2006-05-02 Lillian Angel <langel@redhat.com>
21008 * javax/swing/SwingUtilities.java
21009 (getRoot): Should return the Applet if it exists.
21010 Only return the Window if an Applet has not been
21013 2006-05-02 Lillian Angel <langel@redhat.com>
21015 * gnu/javax/swing/text/html/parser/support/Parser.java
21016 (readAttributes): Reverted Audrius' last patch. There is
21017 a slight difference in code between the NUMTOKEN and SLASH case.
21019 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21021 * javax/swing/text/JTextComponent.java:
21022 (setText): Throw InternalError from catch-block.
21023 * javax/swing/text/GapContent.java:
21024 (removed): Removed if-expression, changed '>' to '>='.
21026 2006-05-02 Roman Kennke <kennke@aicas.com>
21028 * gnu/java/awt/java2d/AbstractGraphics2D.java
21029 (AA_SAMPLING): New constant.
21030 (alpha): New field. Used in the antialiasing renderer.
21031 (edgeTable): New field. Used in the antialiasing renderer.
21032 (AbstractGraphics2D): Initialize rendering hints wrt
21034 (draw): Clip after stroking. Commented out clipping for now,
21035 it seems to be buggy.
21036 (fill): Commented out clipping for now, it seems to be buggy.
21037 (setComposite): Don't create composite context.
21038 (setPaint): Only change paint when parameter is not null.
21039 (translate): Call setClip() so subclasses can update their clip
21041 (clip): Call setClip() so subclasses can update their clip
21043 (drawGlyphVector): Added clipping, but left it commented out
21044 because it's buggy.
21045 (getClipBounds): Returns null when clip is null.
21046 (drawLine): Call rawDrawLine with translation applied.
21047 (filLRect): Call rawFillRect with translation applied.
21048 (fillShape): Added support for anti-aliasing.
21049 (rawSetForeground(int,int,int)): New method.
21050 (rawFillShape): A couple of painting fixes.
21051 (fillScanline): Implemented to call rawDrawLine.
21052 (fillShapeAntialias): New method. Implements an anti-aliasing
21054 (fillScanlineAA): New method. Used for the anti-aliasing
21056 (fillScanlineAlpha): New method. Used for the anti-aliasing
21058 (init): Initialize clip with the device bounds.
21059 (updateOptimization): Fixed the optimization condition.
21061 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21063 * javax/swing/text/GapContent.java:
21064 (GapContent): Restrict size argument by 2.
21065 (insertString): Changed expression from >= to >.
21066 (remove): Changed right side of expression to 'length - 1', changed
21068 (getChars): Throw exception if where below 0.
21069 (replace): Replaced call to setPositionsInRange() with
21070 resetMarksAtZero(), removed note.
21072 2006-05-02 Roman Kennke <kennke@aicas.com>
21075 * javax/swing/MenuSelectionManager.java
21076 (setSelectedPath): Rewritten.
21078 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21080 * gnu/javax/swing/text/html/parser/support/Parser.java
21081 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21084 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21086 * tools/.cvsignore: Added keytool.sh.
21087 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21089 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21091 * doc/tools.texinfo: New file.
21092 * doc/Makefile.am: Generate tools documentation.
21094 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21096 * tools/keytool.sh.in: New file.
21097 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21098 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21099 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21100 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21101 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21102 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21103 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21104 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21105 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21106 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21107 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21108 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21109 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21110 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21111 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21112 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21113 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21114 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21116 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21118 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21119 resemble more closely man-page style text.
21120 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21121 Mark (Eclipse) strings that need not be externalised.
21122 (writeSF): Likewise.
21123 (writeDSA): Likewise.
21124 Use package-private Messages class to provide i18n-ready strings.
21126 Use package-private Messages class to provide i18n-ready strings.
21127 (updateEntry): Likewise.
21128 Mark (Eclipse) strings that need not be externalised.
21129 (finishSigning): Likewise.
21130 * tools/gnu/classpath/tools/jarsigner/Main.java:
21131 Mark (Eclipse) strings that need not be externalised.
21132 (main): Do not use constant strings as class name.
21133 Use package-private Messages class to provide i18n-ready strings.
21134 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21135 (processArgs): Do not use constant strings as class name.
21136 Mark (Eclipse) strings that need not be externalised.
21137 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21138 (start): Do not use constant strings as class name.
21139 (teardown): Likewise.
21141 (setupCommonParams): Do not use constant strings as class name.
21142 Use package-private Messages class to provide i18n-ready strings.
21143 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21144 (installNewProvider): Do not use constant strings as class name.
21146 (setupSigningParams): Do not use constant strings as class name.
21147 Use package-private Messages class to provide i18n-ready strings.
21148 Mark (Eclipse) strings that need not be externalised.
21149 (getCallbackHandler): Use CallbackUtil.
21150 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21151 Use package-private Messages class to provide i18n-ready strings.
21152 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21153 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21154 (verifySF): Likewise.
21155 (verifySFEntries): Do not use constant strings as class name.
21156 Use Boolean.valueOf instead of new Boolean().
21157 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21158 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21160 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21161 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21163 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21165 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21166 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21167 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21169 2006-05-01 Tom Tromey <tromey@redhat.com>
21171 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21173 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21174 (close): Synchronize.
21175 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21176 * java/nio/LongBufferImpl.java (compact): Rewrote.
21177 * java/nio/IntBufferImpl.java (compact): Rewrote.
21178 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21179 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21180 * java/nio/CharBufferImpl.java (compact): Rewrote.
21181 * gnu/java/nio/ChannelWriter.java: New file.
21182 * java/nio/channels/Channels.java (newWriter): Implemented.
21184 2006-05-01 Lillian Angel <langel@redhat.com>
21186 * java/util/SimpleTimeZone.java
21187 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21188 (SimpleTimeZone): Likewise.
21189 (checkRule): Rewritten to properly check all values (more efficently).
21190 This code is now more stable, at least less buggy than before. Fixed
21192 (setStartRule): Moved checkRule call to end.
21193 (setStartRule): Likewise.
21194 (setEndRule): Likewise.
21195 (setEndRule): Likewise.
21197 2006-05-01 Tom Tromey <tromey@redhat.com>
21199 * lib/.cvsignore: Added classes.2.
21201 2006-05-01 Tom Tromey <tromey@redhat.com>
21203 * java/util/jar/JarFile.java (provider): Now package-private.
21204 * java/lang/Enum.java (compareTo): Javadoc fix.
21205 * java/lang/Boolean.java (compareTo): Javadoc fix.
21207 2006-05-01 Lillian Angel <langel@redhat.com>
21209 * gnu/javax/swing/text/html/parser/support/Parser.java
21210 (readAttributes): Formatted function. Added handling for
21211 SLASH token. The value of an attribute may start with a slash
21212 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21213 We should not be skipping over these type of attributes.
21215 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21217 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21218 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21219 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21220 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21221 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21222 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21223 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21224 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21225 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21226 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21227 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21228 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21229 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21230 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21231 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21232 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21233 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21234 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21235 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21236 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21237 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21238 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21239 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21240 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21241 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21242 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21243 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21244 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21245 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21246 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21247 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21248 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21249 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21250 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21251 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21252 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21253 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21254 * include/gnu_java_awt_peer_qt_QMatrix.h,
21255 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21256 * include/gnu_java_awt_peer_qt_QPen.h,
21257 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21258 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21259 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21260 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21261 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21262 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21263 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21264 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21265 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21266 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21267 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21268 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21269 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21270 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21271 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21272 * include/gnu_java_awt_peer_qt_QtImage.h,
21273 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21274 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21275 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21276 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21277 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21278 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21279 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21280 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21281 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21282 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21283 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21284 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21285 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21286 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21287 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21288 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21289 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21290 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21291 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21292 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21293 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21294 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21295 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21296 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21297 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21298 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21299 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21300 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21301 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21302 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21303 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21304 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21305 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21306 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21307 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21308 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21309 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21310 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21311 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21312 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21313 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21314 * include/java_lang_VMProcess.h:
21316 * native/jni/java-lang/java_lang_VMProcess.c:
21317 Redirect when pipe_count is 2 not 3.
21319 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21321 * gnu/java/awt/font/FontDelegate.java,
21322 * gnu/java/awt/font/FontFactory.java,
21323 * gnu/java/awt/font/GNUGlyphVector.java,
21324 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21325 * gnu/java/awt/font/opentype/GlyphNamer.java,
21326 * gnu/java/awt/font/opentype/MacResourceFork.java,
21327 * gnu/java/awt/font/opentype/NameDecoder.java,
21328 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21329 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21330 * gnu/java/awt/font/opentype/Scaler.java,
21331 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21332 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21333 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21334 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21335 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21336 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21337 * gnu/java/awt/font/opentype/truetype/Zone.java,
21338 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21339 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21340 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21341 New files. Imported font framework from:
21342 http://www.brawer.ch/software/fonts/
21344 2006-04-30 Roman Kennke <kennke@aicas.com>
21346 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21347 (lastTabInRun): Fix calculation of the last tab in a run. This
21348 has caused painting problems sometimes, making the
21349 last tab painted incorrectly.
21351 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21354 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21355 Use for and not while to prevent the endless loop.
21357 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21359 * javax/swing/JList.java
21360 (paramString): Changed from public to protected.
21362 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21364 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21365 (printHelpAndExit): Re-factored to use the above method.
21367 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21369 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21370 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21371 * tools/gnu/classpath/tools/jarsigner/Main.java:
21372 Changed license to GPL + Exception.
21373 (handler): New field.
21374 (getCallbackHandler): New method.
21375 (setupSigningParams): Use above method.
21376 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21377 Changed license to GPL + Exception.
21378 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21379 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21380 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21381 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21383 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21385 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21386 (handleConfirmation): Use print instead of println.
21387 (handleConfirmation): When case is YES_NO_OPTION, print default option
21389 (handleLanguage): Use print instead of println.
21391 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21393 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21394 (putComponent): Handle O and OU components.
21395 (getDer): Use correct (it2) iterator.
21396 (readAttributeValue): Read next character and break if end-of-stream.
21398 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21400 * gnu/java/security/provider/Gnu.java (run):
21401 Add "RSA" as an alias to MD5withRSA.
21402 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21403 Always encode a NULL as the value of an algorithm parameters field.
21404 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21405 (encodePrivateKey): Added trace/log statements.
21406 (decodePrivateKey): Likewise.
21407 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21408 (setup): Added trace/log statements.
21409 (generate): Likewise.
21410 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21411 (toString): New method.
21412 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21414 (toString): New method.
21415 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21416 (getEncoded): Use defaultFormat.
21417 (toString): New method.
21418 * gnu/java/security/key/dss/DSSKey.java (toString):
21419 Include defaultFormat in string.
21420 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21421 Break if successfully decoded public key.
21422 (engineGeneratePrivate): Break if successfully decoded private key.
21424 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21426 * java/security/Security.java <clinit>: Add our Callback provider.
21427 * resource/java/security/classpath.security: Likewise
21429 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21432 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21433 Decide about scroll bars from the preferred view size, not
21435 * javax/swing/ViewportLayout.java (layoutContainer):
21436 Do not change returned preferred size. Do not treat JScrollPane
21439 2006-04-28 Sven de Marothy <sven@physto.se>
21441 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21442 * javax/swing/ProgressMonitor.java (actionPerformed):
21443 Avoid divide-by-zero.
21445 2006-04-28 Sven de Marothy <sven@physto.se>
21447 * javax/swing/JSpinner.java: Fix default text justification.
21448 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21450 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21452 * javax/swing/JList.java
21453 (getMinSelectionIndex): Return correct value, added API docs,
21454 (getMaxSelectionIndex): Added API docs.
21456 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21458 * javax/swing/JList.java
21459 (JList(Object[])): Pass new model directly to init(),
21460 (JList(Vector)): Likewise,
21461 (JList(ListModel)): Renamed argument and updated API docs,
21462 (init): Throw IllegalArgumentException for null argument,
21463 (setListData(Object[])): Delegate model creation,
21464 (setListData(Vector)): Likewise,
21465 (createListModel(Object[])): New private method,
21466 (createListModel(Vector)): New private method,
21467 (paramString): Implemented.
21469 2006-04-28 Tom Tromey <tromey@redhat.com>
21471 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21473 (isSynthetic): Likewise.
21474 (isAnnotation): Likewise.
21475 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21476 (isAnnotation): Likewise.
21477 (isEnum): Likewise.
21479 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21481 * javax/swing/text/View.java:
21482 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21485 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21487 * javax/swing/text/View.java:
21488 (getNextVisualPositionFrom): Rewritten.
21489 * javax/swing/text/CompositeView.java:
21490 (getNextEastWestVisualPositionFrom): Partly implemented.
21491 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21493 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21495 * javax/swing/JList.java
21496 (setFixedCellHeight): Use correct property name for event.
21498 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21500 * javax/swing/text/Utilities.java:
21501 (getNextWord): Use codePointAt instead of charAt, added note, changed
21502 if-expression, added throwing of exception.
21503 (getPreviousWord): Use codePointAt instead of charAt.
21505 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21507 * java/lang/StringBuilder.java
21508 (ensureCapacity, getChars, append(StringBuffer),
21509 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21510 insert(int,String), insert(int,char), trimToSize): Replaced
21511 System.arraycopy calls with VMSystem.arraycopy.
21513 2006-04-27 Tom Tromey <tromey@redhat.com>
21515 * java/awt/image/renderable/RenderableImageProducer.java
21516 (requestTopDownLeftRightResend): Implemented.
21518 (startProduction): Add new consumer.
21520 2006-04-27 Sven de Marothy <sven@physto.se>
21522 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21524 2006-04-27 Roman Kennke <kennke@aicas.com>
21526 * java/awt/LightweightDispatcher.java
21527 Dispatch events only to targets that have a mouselistener
21528 attached. Changed to also handle null targets.
21530 2006-04-27 Roman Kennke <kennke@aicas.com>
21532 * NEWS: Added entries about accessibility support and L&F
21533 window decorations.
21535 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21537 * javax/swing/text/Utilities.java:
21538 (getTabbedTextOffset): Introduced width variable, rewritten the check
21539 which ends the loop.
21540 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21543 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21545 * examples/gnu/classpath/examples/swing/TreeDemo.java
21546 (createContent): Added root visibility and selection listener demos.
21547 * javax/swing/JTree.java (setRootVisible): If false, unselect
21548 the root node, if it is selected.
21549 * javax/swing/plaf/basic/BasicTreeUI.java
21550 (TreeTraverseAction.actionPerformed): Do not select the root if it
21552 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21553 removeSelectionPaths): Reset lead to null if the current lead path is
21554 removed from selection.
21555 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21556 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21557 Return the same path regardless is root visible or not. (update):
21558 Reduce the identation if the root is not visible.
21559 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21560 Return the same path regardless is root visible or not. (update):
21561 Reduce the identation if the root is not visible.
21563 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21565 * javax/swing/plaf/basic/BasicTreeUI.java
21566 (TreeAction.actionPerformed):Newly obtain the current lead
21567 path that must stay visible.
21568 (TreeTraverseAction.actionPerformed):Rewritten.
21569 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21570 Do not treat root specially. (setModel): Assume the root node
21571 initially expanded.
21572 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21573 Do not treat root specially. (setModel): Assume the root node
21574 initially expanded.
21576 2006-04-26 Chris Burdess <dog@gnu.org>
21579 * javax/xml/datatype/DatatypeFactory.java: Use complete
21580 implementation resolution mechanism.
21582 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21584 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21586 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21587 Removed NoImplementException form the implemented method.
21589 2006-04-26 Tom Tromey <tromey@redhat.com>
21591 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21594 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21596 * javax/swing/DefaultListSelectionModel.java
21597 (clone): Initialise empty listener list,
21598 (setSelectionMode): Throw IllegalArgumentException for bad input.
21600 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21602 * javax/swing/DefaultListSelectionModel.java
21603 (clearSelection): Clear the Bitset.
21605 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21607 * javax/swing/JTree.java (setLeadSelectionPath):
21608 Repaint the new and old lead pathes.
21609 * javax/swing/plaf/basic/BasicTreeUI.java
21610 (FocusHandler): Repaint the lead row when focus changes.
21611 (PropertyChangeHandler): Use existing constants, not the
21612 string literals for the property names.
21613 (TreeIncrementAction): Shrink the selection when moving
21614 from the selection edge to the selection anchor.
21615 (TreeSelectionHandler.valueChanged): Repaint the
21616 new and old lead pathes.
21617 (paintRow): Treat row as focused only if it is the lead row.
21618 * javax/swing/tree/DefaultTreeCellRenderer.java
21619 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21620 (paint): Rewritten.
21621 * javax/swing/tree/DefaultTreeSelectionModel.java
21622 (addSelectionPath): Event construction fix (old and new lead were
21624 (addSelectionPaths): Likewise.
21625 * javax/swing/JComponent.java (setOpaque): Explained.
21626 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21628 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21631 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21633 * examples/gnu/classpath/examples/swing/TreeDemo.java
21634 (createContent): Call DefaultTreeModel.reload(), not the
21635 tree.repaint(). Expand the parent of the added node.
21636 * javax/swing/JTree.java (constructor): Do not call
21637 UpdateUI (and documented why). (treeDidChange):
21638 Added comment, excluding the misinterpretation of this method.
21639 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21640 focusListener, keyListener, mouseListener, propertyListener,
21641 selectionModelPropertyChangeListener, treeModelListener,
21642 treeSelectionListener): Made package private.
21643 (PropertyChangeHandler): If the model changes, install the
21644 listener on it. (installUI): Assign treeModel.
21645 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21646 comment, excluding misinterpretation.
21647 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21648 (reload(TreeNode)): Implemented.
21650 2006-04-25 Tom Tromey <tromey@redhat.com>
21652 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21653 * javax/swing/tree/VariableHeightLayoutCache.java
21654 (getVisiblePathsFrom): Genericized.
21655 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21658 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21660 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21661 If clicked on the other row, cancel the current editing session.
21663 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21665 * javax/swing/plaf/basic/BasicTreeUI.java
21666 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21667 (paintExpandControl): Always paint in one gap distance from the left
21668 border of the path bounds.
21669 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21670 into consideration.
21671 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21674 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21676 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21678 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21680 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21681 Allow slashes (/) in the unquoted parameter value.
21683 2006-04-25 Roman Kennke <kennke@aicas.com>
21685 * gnu/java/awt/java2d/AbstractGraphics2D.java
21686 (drawString(String,int,int)): Implemented.
21687 (drawString(String,float,float)): Implemented.
21688 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21689 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21690 (getFontRenderContext): Implemented.
21691 (drawGlyphVector): Implemented.
21692 (getFont): Implemented.
21693 (setFont): Don't change font setting when null.
21694 (getFontMetrics): Implemented.
21695 (fillShape): Re-written to fill call rawFillShape() with a list
21696 of the edges instead of double arrays.
21697 (rawFillShape): Implemented using a polygon scanline conversion.
21698 (fillScanline): New helper method.
21699 (init): Initialize foreground black. Set font.
21700 * gnu/java/awt/java2d/PolyEdge.java: New file.
21701 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21703 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21705 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21707 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21709 * javax/swing/JTable.java: Fixed API doc tags,
21710 * javax/swing/text/AsyncBoxView.java: Likewise,
21711 * javax/swing/text/FlowView.java: Likewise.
21713 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21715 * javax/swing/table/DefaultTableColumnModel.java
21716 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21718 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21720 * javax/swing/table/DefaultTableColumnModel.java
21721 (DefaultTableColumnModel): Set selection model field and add 'this' as
21723 (addColumn): Add 'this' as a PropertyChangeListener,
21724 (removeColumn): Remove column before firing event, and remove 'this' as
21725 a PropertyChangeListener,
21726 (setSelectionModel): Remove 'this' as a listener from old model,
21727 (propertyChange): Check for 'width' property rather than
21728 TableColumn.COLUMN_WIDTH_PROPERTY.
21730 2006-04-24 Chris Burdess <dog@gnu.org>
21733 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21734 attributes when no doctype exists.
21736 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21738 * javax/swing/event/ChangeEvent.java: Updated API docs,
21739 * javax/swing/event/ChangeListener.java: Likewise,
21740 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21741 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21742 * javax/swing/table/TableColumnModel.java: Likewise.
21744 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21746 * javax/swing/text/Utilities.java:
21747 (getBreakLocation): Introduced shift variable, added notes.
21748 * javax/swing/text/WrappedPlainView.java:
21749 (calculateBreakPosition): Decrease allocation area bounds by insets,
21750 added early return when allocation area is empty, provide start offset
21752 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21753 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21754 numLines after loop.
21755 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21756 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21757 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21758 decreasing variable end by one, changed break condition in while-loop,
21759 added check for return value.
21760 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21761 allocation area is empty.
21763 2006-04-24 Sven de Marothy <sven@physto.se>
21765 * gnu/java/awt/java2d/Segment.java: New file.
21766 * gnu/java/awt/java2d/CubicSegment.java: New file.
21767 * gnu/java/awt/java2d/QuadSegment.java: New file.
21768 * gnu/java/awt/java2d/LineSegment.java: New file.
21769 * java/awt/BasicStroke.java
21770 (start): New field.
21772 (createStrokedShape): Implemented.
21773 (solidStroke): New method.
21774 (dashedStroke): New method.
21775 (capEnds): New method.
21776 (convertPath): New method.
21777 (addSegments): New method.
21778 (capEnd): New method.
21779 (lineIntersection): New method.
21780 (joinSegments): New method.
21782 2006-04-24 Roman Kennke <kennke@aicas.com>
21784 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21787 (clip): Changed clip to be in user space not in target space.
21788 (isOptimized): Added flag to allow optimized drawing for
21789 primitive operations (e.g. for Swing).
21790 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21791 with the paint context etc.
21792 (draw): Clip the shape before drawing it.
21793 (fill): Clip the shape before drawing it.
21794 (setComposite): Update isOptimized flag.
21795 (setPaint): Likewise.
21796 (setStroke): Likewise.
21797 (translate): Update the clip.
21798 (rotate): Likewise.
21801 (transform): Likewise.
21802 (setTransform): Likewise.
21803 (clip): Added optimization for rectangle clips.
21804 (create): Implemented.
21805 (clone): New method.
21806 (setFont): Basic implementation.
21807 (setClip): Update opimization flag.
21808 (drawLine): Added possible optimization.
21809 (fillRect): Added possible optimization.
21810 (fillShape): Implemented shape-filling by filling the flattended
21811 shape using polygon fill.
21812 (drawPixel): Added basic painting.
21813 (rawSetPixel): Changed signature to only take coordinates.
21814 (rawSetForeground): New abstract method.
21815 (getUserBounds): Implemented default for this method.
21816 (rawDrawLine): New method.
21817 (rawFillRect): New method.
21818 (rawFillPolygon): New method.
21819 (init): New method.
21820 (updateOptimization): New method.
21821 (computeIntersection): New method.
21822 (updateClip): New method.
21823 (clipShape): New method.
21825 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21827 * java/lang/Package.java: Added compatibility constructor to ease
21828 VM interface migration.
21830 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21832 * java/lang/Class.java (getEnumConstants): Implemented without
21833 delegating to VMClass.
21834 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21836 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21838 * java/lang/ClassLoader.java (definePackage): Added argument to
21839 Package constructor.
21840 * java/lang/Package.java (Package): Added ClassLoader argument.
21841 (loader): New field.
21842 (getDeclaredAnnotations): Implemented without help from VMPackage.
21843 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21844 to Package constructor.
21845 * vm/reference/java/lang/VMPackage.java: Removed.
21847 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21849 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21850 (createContent): Added check box to swith between single and
21851 multiple selection.
21852 * javax/swing/JTree.java (leadSelectionPath): Removed.
21853 (addSelectionInterval): Explained. (getLeadSelectionPath):
21854 Request the path from model. (getPathsBetweenRows): Explained.
21855 (setLeadSelectionPath): Set the path in model.
21856 * javax/swing/plaf/basic/BasicTreeUI.java
21857 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21858 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21859 (MouseHandler.mousePressed): Call selectPathForEvent.
21861 2006-04-23 Roman Kennke <kennke@aicas.com>
21863 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21865 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21868 Mention changes to VMProcess and VMSystem.
21869 * doc/vmintegration.texinfo:
21870 Change documentation on VMProcess and VMSystem.
21871 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21872 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21873 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21874 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21875 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21876 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21877 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21878 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21879 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21880 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21881 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21882 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21883 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21884 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21885 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21886 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21887 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21888 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21889 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21890 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21891 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21892 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21893 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21894 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21895 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21896 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21897 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21898 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21899 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21900 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21901 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21902 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21903 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21904 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21905 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21906 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21907 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21908 * include/gnu_java_awt_peer_qt_QMatrix.h,
21909 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21910 * include/gnu_java_awt_peer_qt_QPen.h,
21911 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21912 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21913 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21914 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21915 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21916 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21917 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21918 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21919 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21920 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21921 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21922 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21923 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21924 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21925 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21926 * include/gnu_java_awt_peer_qt_QtImage.h,
21927 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21928 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21929 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21930 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21931 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21932 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21933 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21934 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21935 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21936 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21937 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21938 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21939 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21940 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21941 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21942 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21943 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21944 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21945 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21946 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21947 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21948 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21949 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21950 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21951 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21952 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21953 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21954 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21955 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21956 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21957 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21958 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21959 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21960 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21961 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21962 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21963 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21964 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21965 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21966 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21967 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21968 * include/java_lang_VMProcess.h,
21969 * include/java_lang_VMSystem.h:
21970 Regenerated with GCJ 4.1.
21972 2006-04-22 Casey Marshall <csm@gnu.org>
21974 Fixes PR classpath/27228.
21975 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21976 (initialize): also accept `DHParameterSpec.'
21977 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21978 handle a passed-in `DHParameterSpec' properly.
21979 (generate): don't check if the random exponent is less than `q -
21980 1' if no `q' was specified.
21982 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21984 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21985 Only repaint the patches, speficied in the passed event.
21986 (expandPath): Do nothing if the path is already expanded.
21987 (scrollPathToVisible): Only scroll to visible, do nothing else.
21988 * javax/swing/plaf/basic/BasicTreeUI.java
21989 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21990 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21991 (TreeTraverseAction.actionPerformed): Collapse the node on the
21992 action "selectParent". (selectPath): Rewritten.
21993 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21994 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21995 Do not reuse selection array.
21996 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21998 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22001 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22003 * javax/swing/tree/DefaultTreeSelectionModel.java
22004 (addSelectionPath): If the path cannot be added, set it.
22005 (addSelectionPaths): Call insureRowContinuity.
22006 (arePathsContiguous): Implemented.
22007 (canPathBeAdded): New private method.
22008 (canPathsBeAdded): Implemented.
22009 (canPathsBeRemoved): Implemented.
22010 (getPath): New private method.
22011 (insureRowContinuity): Implemented.
22012 (removeSelectionPath): Call insureRowContinuity.
22013 (removeSelectionPaths): Call insureRowContinuity.
22014 (resetRowSelection): Removed stub marking, not used in implementation
22015 (nothing to do there).
22016 (selectOne): New private method.
22017 (setSelectionMode) Call insureRowContinuity.
22018 (setSelectionPaths) Remove the current selection by clearing it.
22020 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
22022 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22023 parameters consistendly, documented some methods.
22024 * java/sql/Blob.java: Likewise.
22025 * java/sql/CallableStatement.java: Likewise.
22026 * java/sql/Clob.java: Likewise.
22027 * java/sql/Connection.java: Likewise.
22028 * java/sql/DatabaseMetaData.java: Likewise.
22029 * java/sql/Date.java: Likewise.
22030 * java/sql/Driver.java: Likewise.
22031 * java/sql/PreparedStatement.java: Likewise.
22032 * java/sql/ResultSet.java: Likewise.
22033 * java/sql/ResultSetMetaData.java: Likewise.
22034 * java/sql/SQLData.java: Likewise.
22035 * java/sql/SQLOutput.java: Likewise.
22036 * java/sql/SQLWarning.java: Likewise.
22037 * java/sql/Statement.java: Likewise.
22038 * java/sql/Time.java: Likewise.
22039 * java/sql/Timestamp.java: Likewise.
22041 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22043 * java/lang/reflect/AccessibleObject.java:
22044 Implemented AnnotatedElement.
22045 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22046 isAnnotationPresent): New methods.
22048 2006-04-21 Tom Tromey <tromey@redhat.com>
22050 PR classpath/27163:
22051 * gnu/java/net/protocol/ftp/FTPConnection.java
22052 (changeWorkingDirectory): Do nothing if path is empty.
22054 2006-04-21 Tom Tromey <tromey@redhat.com>
22057 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22058 case where no '/' appears in 'location'.
22060 2006-04-21 Tom Tromey <tromey@redhat.com>
22062 * java/security/Security.java (<clinit>): Add all default providers.
22063 * resource/java/security/classpath.security: Added comment.
22065 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22067 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22068 * javax/swing/SpinnerNumberModel.java: Likewise.
22070 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22072 * javax/swing/SpinnerDateModel.java
22073 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22074 checking to call compareTo() on start and end.
22076 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22078 * javax/swing/border/AbstractBorder.java: API doc updates,
22079 * javax/swing/border/BevelBorder.java: Likewise,
22080 * javax/swing/border/CompoundBorder.java: Likewise,
22081 * javax/swing/border/EtchedBorder.java: Likewise,
22082 * javax/swing/border/LineBorder.java: Likewise,
22083 * javax/swing/border/MatteBorder.java: Likewise,
22084 * javax/swing/border/TitledBorder.java: Likewise.
22086 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22088 * gnu/javax/crypto/cipher/Anubis.java:
22089 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22091 * gnu/javax/crypto/cipher/Blowfish.java:
22092 (selfTest): Likewise,
22093 * gnu/javax/crypto/cipher/Cast5.java:
22094 (selfTest): Likewise,
22095 * gnu/javax/crypto/cipher/Khazad.java:
22096 (selfTest): Likewise,
22097 * gnu/javax/crypto/cipher/Rijndael.java:
22098 (selfTest): Likewise,
22099 * gnu/javax/crypto/cipher/Serpent.java:
22100 (selfTest): Likewise,
22101 * gnu/javax/crypto/cipher/Square.java:
22102 (selfTest): Likewise,
22103 * gnu/javax/crypto/cipher/Twofish.java:
22104 (selfTest): Likewise,
22105 * gnu/javax/crypto/mac/UMac32.java:
22106 (selfTest): Likewise,
22107 * gnu/javax/crypto/prng/CSPRNG.java:
22108 (getSystemInstance): Likewise.
22110 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22112 * gnu/java/security/hash/Haval.java:
22113 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22115 * gnu/java/security/hash/MD2.java:
22116 (selfTest): Likewise,
22117 * gnu/java/security/hash/MD4.java:
22118 (selfTest): Likewise,
22119 * gnu/java/security/hash/MD5.java:
22120 (selfTest): Likewise,
22121 * gnu/java/security/hash/RipeMD128.java:
22122 (selfTest): Likewise,
22123 * gnu/java/security/hash/RipeMD160.java:
22124 (selfTest): Likewise,
22125 * gnu/java/security/hash/Sha160.java:
22126 (selfTest): Likewise,
22127 * gnu/java/security/hash/Sha256.java:
22128 (selfTest): Likewise,
22129 * gnu/java/security/hash/Sha384.java:
22130 (selfTest): Likewise,
22131 * gnu/java/security/hash/Sha512.java:
22132 (selfTest): Likewise,
22133 * gnu/java/security/hash/Tiger.java:
22134 (selfTest): Likewise,
22135 * gnu/java/security/hash/Whirlpool.java:
22136 (selfTest): Likewise.
22138 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22140 * javax/swing/plaf/basic/BasicTreeUI.java
22141 (PropertyChangeHandler.propertyChange): Set the row mapper
22142 for the selection model.
22143 * javax/swing/tree/AbstractLayoutCache.java
22144 (NodeDimensions.getNodeDimensions): Explained.
22145 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22146 Implemented. (setRowHeight): Invalidate sizes.
22147 * javax/swing/tree/DefaultTreeSelectionModel.java
22148 (addSelectionPath, addSelectionPaths): Update lead row.
22149 (removeSelectionPath, removeSelectionPaths): Do nothing if
22150 selection is empty.
22151 (clone): Only clone list selection model if it is not null.
22152 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22153 setSelectionPath, setSelectionPaths, toString): Implemented.
22154 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22155 Pass the empty rectangle. (isFixedRowHeight): New method.
22156 * javax/swing/tree/VariableHeightLayoutCache.java
22157 (NodeRecord.getBounds): Pass the empty rectangle.
22159 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22161 * gnu/java/security/Properties.java
22162 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22164 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22166 * gnu/classpath/jdwp/util/Value.java
22167 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22168 creating new Boolean instances.
22170 2006-04-20 Mark Wielaard <mark@klomp.org>
22172 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22173 PrivilegedAction. Access awt.toolkit through SystemProperties.
22175 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22177 * javax/swing/ActionMap.java: Removed unused imports,
22178 * javax/swing/DefaultListSelectionModel.java
22179 (clearSelection): Removed unused label,
22180 * javax/swing/JScrollPane.java: Removed unused imports,
22181 * javax/swing/UIManager.java: Likewise,
22182 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22184 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22186 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22187 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22188 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22189 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22190 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22192 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22194 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22195 * java/sql/Blob.java: Likewise,
22196 * java/sql/CallableStatement.java: Likewise,
22197 * java/sql/Clob.java: Likewise,
22198 * java/sql/Connection.java: Likewise,
22199 * java/sql/DatabaseMetaData.java: Likewise,
22200 * java/sql/Date.java: Likewise,
22201 * java/sql/Driver.java: Likewise,
22202 * java/sql/PreparedStatement.java: Likewise,
22203 * java/sql/ResultSet.java: Likewise,
22204 * java/sql/ResultSetMetaData.java: Likewise,
22205 * java/sql/SQLData.java: Likewise,
22206 * java/sql/SQLOutput.java: Likewise,
22207 * java/sql/SQLWarning.java: Likewise,
22208 * java/sql/Statement.java: Likewise,
22209 * java/sql/Time.java: Likewise,
22210 * java/sql/Timestamp.java: Likewise.
22212 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22214 * java/sql/DriverManager.java
22215 (setLoginTimeout): Use incoming argument,
22216 (setLogStream): Likewise,
22217 (println): Fix API doc comment.
22219 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22221 * javax/swing/JMenuItem.java
22222 (paramString): Updated API docs,
22223 (getAccessibleContext): Added API docs,
22224 (AccessibleJMenuItem.stateChanged): Marked as stub,
22225 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22226 * javax/swing/JSlider.java
22227 (paramString): Fix for API docs,
22228 * javax/swing/JToolTip.java
22229 (getAccessibleContext): Fix for API docs.
22231 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22233 * javax/swing/JRadioButtonMenuItem.java
22234 (paramString): Reimplemented,
22235 (getAccessibleContext): API docs added,
22236 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22238 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22240 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22242 * javax/swing/plaf/basic/BasicTreeUI.java
22243 (finish): Invalidate path bounds.
22244 (getMaxHeight): Set the row height to the layout cache.
22245 (startEditing): Do not request to recalculated
22246 row height and preferred size.
22247 * javax/swing/tree/DefaultTreeCellEditor.java
22248 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22250 * javax/swing/tree/FixedHeightLayoutCache.java:
22253 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22255 * javax/swing/JDesktopPane.java
22256 (paramString): Reimplemented,
22257 plus API doc updates in AccessibleJDesktopPane.
22259 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22261 * javax/swing/ImageIcon.java:
22262 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22263 (AccessibleImageIcon.getLocale): Declared exception and always return
22265 (getAccessibleContext): Updated API docs,
22266 plus updated API docs all over AccessibleImageIcon.
22268 2006-04-20 Roman Kennke <kennke@aicas.com>
22271 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22272 (paintText): Fetch the ascent only once. Add the ascent to
22273 the text rect also when tabs are disabled.
22275 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22277 * java/util/Locale.java (defaultLocale): Set to en_US per
22278 default and use user.country but prioritize user.region if
22280 (getLocale(String language, String country)): Renamed region to
22282 (getLocale(String language, String region, String variant)):
22284 (getAvailableLocales): Likewise.
22286 2006-04-20 Roman Kennke <kennke@aicas.com>
22289 * javax/swing/JList.java
22290 (JList()): Call init() with DefaultListModel instance.
22291 (JList(Object[])): Call init() with null.
22292 (JList(Vector)): Call init() with null.
22293 (JList(ListModel)): Call init() with model.
22294 (init): Changed to take the model as argument. Don't call
22295 setter methods and initialize stuff directly instead.
22296 (getCellBounds): Check if UI is null.
22298 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22300 * javax/swing/text/WrappedPlainView.java: Initialize
22301 WrappedLine.numLines with -1.
22302 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22303 numLines is -1 and reculcalate the value appropriately.
22304 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22305 allocation area is empty.
22307 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22309 * javax/swing/JTabbedPane.java
22310 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22311 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22312 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22313 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22314 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22315 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22316 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22317 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22318 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22319 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22320 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22321 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22322 (Page.getAccessibleStateSet): Likewise,
22323 (Page.getAccessibleIndexInParent): Likewise.
22325 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22327 * javax/swing/JProgressBar.java
22328 (paramString): Reimplemented.
22330 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22332 * javax/swing/JButton.java: Updated API docs all over.
22334 2006-04-19 Roman Kennke <kennke@aicas.com>
22336 * java/awt/Toolkit.java
22337 (getDefaultToolkit): Use system classloader to load the
22340 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22342 * javax/swing/text/DefaultCaret.java:
22343 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22344 instead of DefaultCaret.setDot.
22346 2006-04-19 Roman Kennke <kennke@aicas.com>
22348 * native/jni/java-net/local.c
22349 (local_read): Handle EINTR correctly.
22350 (local_write): Likewise.
22352 2006-04-19 Riccardo Mottola <multix@gmail.com>
22354 PR classpath/27062, PR classpath/25650:
22355 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22357 2006-04-19 Tom Tromey <tromey@redhat.com>
22359 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22360 value of 'pureMinutes'. PR classpath/27189.
22362 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22364 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22365 boot packages list from the META-INF/INDEX.LIST file if it exists.
22367 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22369 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22370 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22371 (ITERATION_COUNT): Removed modifiers.
22372 (PASSWORD): Likewise.
22374 (PASSWORD_ENCODING): New property.
22375 (DEFAULT_PASSWORD_ENCODING): New constant.
22376 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22377 material (bytes) before a password (chars).
22379 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22381 * javax/swing/JMenu.java
22382 (getAccessibleChildrenCount): Marked as stub,
22383 (getAccessibleChild): Likewise,
22384 (getAccessibleSelection): Likewise,
22385 (getAccessibleSelection(int)): Likewise,
22386 (isAccessibleChildSelected): Likewise,
22387 (getAccessibleSelectionCount): Likewise,
22388 (addAccessibleSelection): Likewise,
22389 (removeAccessibleSelection): Likewise,
22390 (clearAccessibleSelection): Likewise,
22391 (selectAllAccessibleSelection): Likewise.
22393 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22395 * javax/swing/JSplitPane.java
22396 (getAccessibleContext): Added API docs,
22397 (paramString): Reimplemented,
22398 (setOrientation): Updated API docs,
22399 (setResizeWeight): Added argument checking and event notification.
22401 2006-04-18 Casey Marshall <csm@gnu.org>
22403 Fixes PR classpath/25673
22404 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22405 property is set. Update JavaDoc to reflect this.
22407 2006-04-18 Lillian Angel <langel@redhat.com>
22409 * gnu/xml/dom/DomDocument.java
22410 (setCheckingCharacters): New function used to set
22411 checkingCharacters flag.
22412 * gnu/xml/dom/html2/DomHTMLParser.java
22413 (parseDocument): Added call to set checkingCharacters flag
22416 2006-04-18 Lillian Angel <langel@redhat.com>
22418 * gnu/xml/dom/DomDocument.java
22419 (checkNCName): Reverted last patch. Added check for colon at
22420 last position back in.
22422 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22424 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22426 * examples/gnu/classpath/examples/swing/Demo.java:
22427 (mkMenuBar): Added NavigationFilter demo.
22429 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22431 * javax/swing/JSeparator.java: Updated API docs all over, plus
22432 (setOrientation): Fire PropertyChangeEvent,
22433 (paramString): Reimplemented.
22435 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22437 * javax/swing/plaf/basic/BasicTextUI.java:
22438 (getNextVisualPositionFrom): Implemented.
22440 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22442 * javax/swing/JPanel.java: Updated API docs all over, plus
22443 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22444 double-buffer flag.
22446 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22448 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22450 * examples/gnu/classpath/examples/swing/Demo.java:
22451 (mkMenuBar): Added DocumenFilter demo.
22453 2006-04-18 Tom Tromey <tromey@redhat.com>
22455 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22457 2006-04-18 Mark Wielaard <mark@klomp.org>
22459 Reported by John Sullivan (johns@fsf.org)
22460 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22462 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22464 * javax/swing/JInternalFrame.java
22465 (JDesktopIcon.getAccessibleContext): Added API docs,
22466 (getDefaultCloseOperation): Likewise,
22467 (paramString): Added 'title' attribute,
22468 (setDefaultCloseOperation): Added API docs.
22470 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22472 * javax/swing/JSlider.java
22473 (paramString): Reimplemented.
22475 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22477 * javax/swing/JComboBox.java
22478 (paramString): Reimplemented,
22479 (getAccessibleContext): Added API docs,
22480 (AccessibleJComboBox.getAccessibleRole): Likewise.
22482 2006-04-18 Roman Kennke <kennke@aicas.com>
22484 * javax/swing/RepaintManager.java
22485 (dirtyComponentsWork): New field.
22486 (ComponentComparator): Use dirtyComponentsWork instead of
22488 (RepaintManager): Initialize new field.
22489 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22490 and work on the copy.
22492 2006-04-18 Roman Kennke <kennke@aicas.com>
22494 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22495 (setBounds): Call reshape().
22496 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22497 (SwingContainerPeer): Changed argument to be a Component
22498 instead a Container.
22499 (getInsets): Call insets().
22500 (handleMouseEvent): Added null check to avoid NPE.
22501 (handleMouseMotionEvent): Added null check to avoid NPE.
22503 2006-04-18 Roman Kennke <kennke@aicas.com>
22506 * javax/swing/JComponent.java
22507 (paintChildrenWithOverlap): When one child is not opaque, propagate
22508 the dirty rectangles to the next child.
22509 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22510 This actually didn't work right and probably gained nothing.
22512 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22514 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22515 (moveToCellBeingEdited): Do not clone the rectangle here.
22517 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22519 * javax/swing/plaf/basic/BasicSliderUI.java
22520 (getActionMap): Fixed lookup key,
22521 (createActionMap): Modified actions to fetch slider/ui from the event
22524 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22526 * java/lang/Enum.java: Documented.
22528 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22530 * gnu/java/lang/InstrumentationImpl.java:
22531 Moved from java.lang.
22532 * java/lang/InstrumentationImpl.java:
22534 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22535 Moved from java.lang.
22536 * vm/reference/java/lang/VMClassLoader.java:
22537 Corrected reference to InstrumentationImpl.
22538 * vm/reference/java/lang/VMInstrumentationImpl.java:
22541 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22543 * java/lang/annotation/Annotation.java:
22546 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22548 * javax/swing/JToolBar.java
22549 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22550 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22551 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22552 (getAccessibleContext): Likewise.
22554 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22557 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22559 * native/fdlibm/Makefile.am,
22560 native/jni/classpath/Makefile.am:
22561 Don't use -module and -version-info for convenience libraries LDFLAGS.
22562 Fixes libtool warnings.
22564 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22566 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22567 (installKeyboardActions): Marked as stub,
22568 (uninstallKeyboardActions): Likewise,
22569 * javax/swing/plaf/basic/BasicComboPopup.java:
22570 (installKeyboardActions): Marked as stub,
22571 (uninstallKeyboardActions): Likewise,
22572 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22573 (installKeyboardActions): Marked as stub,
22574 (uninstallKeyboardActions): Likewise,
22575 * javax/swing/plaf/basic/BasicLabelUI.java:
22576 (installKeyboardActions): Marked as stub,
22577 (uninstallKeyboardActions): Likewise,
22578 * javax/swing/plaf/basic/BasicListUI.java:
22579 (installKeyboardActions): Marked as stub,
22580 (uninstallKeyboardActions): Likewise,
22581 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22582 (installKeyboardActions): Marked as stub,
22583 (uninstallKeyboardActions): Likewise,
22584 * javax/swing/plaf/basic/BasicMenuUI.java:
22585 (installKeyboardActions): Marked as stub,
22586 (uninstallKeyboardActions): Likewise,
22587 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22588 (installKeyboardActions): Marked as stub,
22589 (uninstallKeyboardActions): Likewise,
22590 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22591 (installKeyboardActions): Marked as stub,
22592 (uninstallKeyboardActions): Likewise,
22593 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22594 (installKeyboardActions): Marked as stub,
22595 (uninstallKeyboardActions): Likewise,
22596 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22597 (installKeyboardActions): Marked as stub,
22598 (uninstallKeyboardActions): Likewise,
22599 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22600 (installKeyboardActions): Marked as stub,
22601 (uninstallKeyboardActions): Likewise,
22602 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22603 (installKeyboardActions): Marked as stub,
22604 (uninstallKeyboardActions): Likewise,
22605 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22606 (installKeyboardActions): Marked as stub,
22607 (uninstallKeyboardActions): Likewise,
22608 * javax/swing/plaf/basic/BasicTableUI.java:
22609 (installKeyboardActions): Marked as stub,
22610 (uninstallKeyboardActions): Likewise,
22611 * javax/swing/plaf/basic/BasicTextUI.java:
22612 (installKeyboardActions): Marked as stub,
22613 (uninstallKeyboardActions): Likewise,
22614 * javax/swing/plaf/basic/BasicToolBarUI.java:
22615 (installKeyboardActions): Marked as stub,
22616 (uninstallKeyboardActions): Likewise.
22618 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22620 * javax/swing/plaf/basic/BasicSliderUI.java
22621 (installKeyboardActions): Implemented,
22622 (uninstallKeyboardActions): Implemented,
22623 (scrollByBlock): Accept any value for direction,
22624 (scrollByUnit): Likewise,
22625 (getInputMap): New method,
22626 (getActionMap): New method,
22627 (createActionMap): New method.
22630 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22632 * doc/vmintegration.texinfo:
22635 2006-04-16 Tom Tromey <tromey@redhat.com>
22637 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22639 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22642 Mention generics additions to the VM interface.
22643 * doc/vmintegration.texinfo:
22644 Added information on VMClass 1.5 additions and
22647 2006-04-16 Casey Marshall <csm@gnu.org>
22649 * NEWS: add an entry mentioning local socket support.
22651 2006-04-16 Casey Marshall <csm@gnu.org>
22653 * configure.ac (--enable-local-sockets): new enable argument.
22654 (ENABLE_LOCAL_SOCKETS): new define.
22655 * native/jni/java-net/Makefile.am (local_sources): new variable.
22656 (lib_javanet_la_SOURCES): append `local_sources.'
22657 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22658 * native/jni/java-net/local.c,
22659 * native/jni/java-net/local.h,
22660 * include/gnu_java_net_local_LocalSocketImpl.h,
22661 * gnu/java/net/local/LocalServerSocket.java,
22662 * gnu/java/net/local/LocalSocket.java,
22663 * gnu/java/net/local/LocalSocketAddress.java,
22664 * gnu/java/net/local/LocalSocketImpl.java: new files.
22666 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22668 * javax/accessibility/AccessibleAction.java:
22669 (DECREMENT): Added field.
22670 (INCREMENT): Likewise.
22671 (TOGGLE_EXPAND): Likewise.
22672 * javax/accessibility/AccessibleRole.java:
22673 (EDITBAR): Added field.
22674 (FOOTER): Likewise.
22675 (HEADER): Likewise.
22676 (PARAGRAPH): Likewise.
22677 (PROGRESS_MONITOR): Likewise.
22679 * javax/accessibility/AccessibleState.java:
22680 (INDETERMINATE): Added field.
22681 (MANAGES_DESCENDANTS): Likewise.
22682 (TRUNCATED): Likewise.
22684 2006-04-14 Tom Tromey <tromey@redhat.com>
22686 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22688 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22691 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22693 * javax/swing/text/DefaultCaret.java:
22694 (getBypass): New method.
22695 (moveDot): Rewritten.
22696 (moveDotImpl): New method.
22697 (setDot): Rewritten.
22698 (setDotImpl): New method.
22699 (DefaultCaret.Bypass): New class.
22701 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22703 * javax/swing/text/AbstractDocument.java:
22704 (getBypass): New method.
22705 (insertString): Rewritten.
22706 (remove): Rewritten.
22707 (replace): Rewritten.
22708 (insertStringImpl): New method.
22709 (removeImpl): New method.
22710 (replaceImpl): New method.
22711 (AbstractDocument.Bypass): New class.
22713 2006-04-14 Casey Marshall <csm@gnu.org>
22715 Fixes PR classpath/24642
22716 * NEWS: add note about SecureRandom changes, and addition of
22718 * java/security/SecureRandom.java (isSeeded): new field.
22719 (setSeed, setSeed): set `isSeeded' to `true.'
22720 (nextBytes): seed this instance if `isSeeded' is false.
22721 (getSeed): call `generateSeed.'
22722 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22723 (generateSeed, generateSeed): new methods.
22724 * vm/reference/java/security/VMSecureRandom.java: new file.
22726 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22728 * javax/swing/text/FieldView.java:
22729 (paint): Apply clipping rectangle of the allocation area
22730 before painting the text.
22731 * javax/swing/text/DefaultHighlighter.java:
22732 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22733 compute union and intersection, calculate intersection with allocation
22734 area before painting, adjust x and width when painting multiple lines
22735 by the range of the allocation area.
22737 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22739 * javax/swing/text/DefaultHighlighter.java:
22740 (paintLayeredHighlights): Marked as stub.
22742 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22744 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22745 (propertyChanged): Added note, change color only if current background
22746 is a ColorUIResource instance.
22748 2006-04-14 Tom Tromey <tromey@redhat.com>
22750 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22754 2006-04-14 Tom Tromey <tromey@redhat.com>
22756 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22758 2006-04-14 Mark Wielaard <mark@klomp.org>
22760 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22761 thread group when exceptionHandler isn't set.
22762 * vm/reference/java/lang/VMThread.java (run): Use result of
22763 thread.getUncaughtExceptionHandler directly.
22765 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22767 * javax/swing/JSplitPane.java
22768 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22769 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22770 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22771 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22772 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22773 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22774 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22776 2006-04-10 Tom Tromey <tromey@redhat.com>
22778 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22779 Fixed parameter bounds.
22781 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22783 * gnu/javax/crypto/assembly/Assembly.java,
22784 * gnu/javax/crypto/assembly/Cascade.java,
22785 * gnu/javax/crypto/assembly/CascadeStage.java,
22786 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22787 * gnu/javax/crypto/assembly/Direction.java,
22788 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22789 * gnu/javax/crypto/assembly/ModeStage.java,
22790 * gnu/javax/crypto/assembly/Operation.java,
22791 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22792 * gnu/javax/crypto/assembly/Stage.java,
22793 * gnu/javax/crypto/assembly/Transformer.java,
22794 * gnu/javax/crypto/cipher/Square.java,
22795 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22796 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22797 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22798 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22799 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22800 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22801 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22802 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22803 * gnu/javax/crypto/jce/cipher/PBES2.java,
22804 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22805 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22806 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22807 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22808 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22809 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22810 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22811 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22812 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22813 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22814 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22815 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22816 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22817 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22818 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22819 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22820 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22821 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22822 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22823 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22824 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22825 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22826 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22827 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22828 * gnu/javax/crypto/pad/WrongPaddingException.java,
22829 * gnu/javax/crypto/prng/ICMGenerator.java,
22830 * gnu/javax/crypto/prng/IPBE.java,
22831 * gnu/javax/crypto/prng/PBKDF2.java,
22832 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22833 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22834 * gnu/javax/crypto/sasl/srp/IALG.java,
22835 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22836 Remove CVS revision tags.
22838 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22840 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22841 Removed debugging code.
22843 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22845 * javax/swing/JTree.java (getPreferredSize): Return the
22847 * javax/swing/ViewportLayout.java (layoutContainer):
22848 Do not manage the view size and location if the view is
22849 in the scroll pane. Also manage size and location for
22850 Scrollable, if it is not in the scroll pane.
22851 * javax/swing/plaf/basic/BasicTreeUI.java,
22852 * javax/swing/tree/FixedHeightLayoutCache.java,
22853 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22854 * gnu/javax/swing/tree/GnuPath.java: New file.
22856 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22858 * javax/swing/JToolBar.java
22859 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22861 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22863 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22864 (createCustomColoredPanel): Set background color as demo intends,
22865 changed custom selection color to red.
22866 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22867 Replaced various single variables with a Compound instance, added
22868 custom highlighter demo.
22869 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22871 (TextFieldDemo.Compound): New class.
22872 (createTextFieldCompound): New method.
22873 (createLeftAlignedPanel): Rewritten.
22874 (createRightAlignedPanel): Rewritten.
22875 (createCenteredPanel): Rewritten.
22876 (createCustomColoredPanel): Removed.
22877 (createCustomColoredPanel1): New method.
22878 (createCustomColoredPanel2): New method.
22879 (createCustomBordersPanel): New method.
22880 (createMiscPanel): Rewritten.
22881 (actionPerformed): Rewritten.
22882 (createContent): Add panels of new compounds to main panel, put
22883 main panel in a JScrollPane.
22884 * examples/gnu/classpath/examples/swing/Demo.java:
22885 (Demo): Put desktop in a scrollpane.
22886 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22887 method via reflection.
22889 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22891 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22892 (createUI): Return new instance rather than shared instance.
22894 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22896 * javax/swing/text/FieldView.java:
22897 (checkContainer): Call updateVisibility() at the end.
22899 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22901 * java/awt/event/MouseEvent.java:
22902 (paramString): Add value of 'consumed' variable in string.
22904 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22907 * javax/swing/JTextField.java: Removed scrollOffset variable.
22908 (JTextField): Moved up initialization of horizontalVisibility field.
22909 (getScrollOffset): Implemented.
22910 (setScrollOffset): Implemented.
22911 (getHorizonztalVisibility): Removed note.
22912 (scrollRectToVisible): New method.
22913 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22914 (checkContainer): New method.
22915 (updateVisibility): New method.
22916 (calculateHorizontalSpan): New method.
22917 (adjustAllocation): Removed unneeded local variables, added code
22918 to handle scrolling.
22919 (getPreferredSpan): Use new method calculateHorizontalSpan,
22920 avoid calculation by returning cached value cachedSpan.
22921 (paint): Added check whether the hosted component is a JTextField.
22922 (insertUpdate): Invalidate cached span value, update visibility
22924 (removeUpdate): Dito.
22925 (changeUpdate): Dito.
22927 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22929 * javax/swing/JInternalFrame.java
22930 (setTitle): Set old value to 'this.title', not 'title'.
22932 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22934 * javax/swing/JInternalFrame.java
22935 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22936 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22937 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22938 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22939 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22940 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22941 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22942 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22943 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22944 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22946 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22948 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22950 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22952 (JInternalFrame()): Use "" for default title,
22953 (getAccessibleContext): Updated API docs,
22954 (getDesktopIcon): Likewise,
22955 (getLayer): Check for layer in client properties, and return
22956 DEFAULT_LAYER if no setting is found,
22957 (getTitle): Updated API docs,
22958 (setDesktopIcon): Fire property change event.
22960 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22962 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22963 Mind that the presence of one scroll bar may cause the
22966 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22968 * gnu/regexp/REToken.java(unicodeAware): New field,
22969 (toLowerCase, toUpperCase): New methods.
22970 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22971 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22972 Use toLowerCase and toUpperCase defined in REToken instead of
22973 those defined in java.lang.Character.
22974 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22975 (initialize): Sets unicodeAware of the generated REToken to false if
22976 REG_ICASE_USASCII is set.
22977 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22978 to lower case and keep the original value.
22979 (matchOneString): Use the new method charEquals to compare characters.
22980 (charEquals): New method to compare characters.
22981 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22983 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22985 * javax/swing/event/InternalFrameEvent.java:
22986 (paramString): Implemented,
22987 updated API docs all over.
22989 2006-04-12 Casey Marshall <csm@gnu.org>
22991 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22992 (Generator.setup): call `fillBlock.'
22994 2006-04-12 Casey Marshall <csm@gnu.org>
22996 Fixes PR classpath/24481.
22997 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22998 initialize the adaptee.
22999 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23000 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23001 addRandomBytes): new methods.
23003 2006-04-12 Tom Tromey <tromey@redhat.com>
23005 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23008 2006-04-12 Lillian Angel <langel@redhat.com>
23010 * gnu/xml/dom/DomDocument.java
23011 (checkNCName): Removed unneeded part of check.
23012 * gnu/xml/dom/DomNode.java
23013 (dispatchEvent): Added code to grow ancestors array
23014 if needed. Changed checks to use depth of node instead.
23015 Fixes an infinite loop and segmentation fault.
23016 * gnu/xml/dom/html2/DomHTMLParser.java
23017 (handleEndTag): No need to use/make a copy of the node.
23018 Causes an infinite loop.
23020 2006-04-12 Tom Tromey <tromey@redhat.com>
23022 PR classpath/27131:
23023 * java/util/BitSet.java (get): Early return if to==from.
23025 2006-04-12 Mark Wielaard <mark@klomp.org>
23027 * java/security/SecureRandom.java (algorithm): New private field.
23028 (SecureRandom): Initialize algorithm.
23029 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23031 (getInstance): Call 3 argument constructor.
23032 (getAlgorithm): New method.
23034 2006-04-12 Mark Wielaard <mark@klomp.org>
23036 Port UncaughtExceptionHandler support from generics branch.
23037 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23039 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23041 * java/lang/Thread.java:
23042 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23043 Added docs and security check.
23044 (getUncaughtExceptionHandler()): Documented.
23045 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23046 Added docs and security check.
23047 (getDefaultUncaughtExceptionHandler()): Documented.
23048 (getId()): Documented.
23050 2006-04-12 Tom Tromey <tromey@redhat.com>
23052 * vm/reference/java/lang/VMThread.java (run): Use thread's
23054 * java/lang/Thread.java (defaultHandler): New field.
23055 (setDefaultUncaughtExceptionHandler,
23056 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23057 getUncaughtExceptionHandler): New methods.
23058 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23059 UncaughtExceptionHandler.
23060 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23062 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23064 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23065 buffer. Loop only once to determine Utf8 length when possible. Make
23066 the inner loop bounded by buf.length.
23067 (getUTFlength): New private method.
23068 (buf): New private field.
23070 2006-04-11 Lillian Angel <langel@redhat.com>
23072 * gnu/xml/dom/DomNodeIterator.java
23073 (nextNode): Moved line of code to avoid an infinite loop.
23074 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23075 (getCls): New function.
23076 (setCls): Likewise.
23077 (getSrc): Likewise.
23078 (setSrc): Likewise.
23079 * gnu/xml/dom/html2/DomHTMLDocument.java:
23080 Added DomHTMLEmbedElement to map.
23081 (getApplets): Added node name, 'embed'.
23082 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23084 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23085 (getJavaCode): New function.
23086 (setJavaCode): Likewise.
23087 (getObject): Likewise.
23088 (setObject): Likewise.
23089 (getJavaObject): Likewise.
23090 (setJavaObject): Likewise.
23091 (getJavaArchive): Likewise.
23092 (setJavaArchive): Likewise.
23093 (getJavaCodeBase): Likewise.
23094 (setJavaCodeBase): Likewise.
23095 (getJavaType): Likewise.
23096 (setJavaType): Likewise.
23097 (setMayscript): Likewise.
23098 (getMayscript): Likewise.
23099 (setScriptable): Likewise.
23100 (getScriptable): Likewise.
23101 * gnu/xml/dom/html2/DomHTMLParser.java
23102 (parseDocument): Should not check for well formedness
23103 when parsing an html document.
23104 * java/awt/Window.java
23105 (dispatchEvent): Added check to avoid NPE.
23107 2006-04-10 Tom Tromey <tromey@redhat.com>
23109 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23111 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23112 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23114 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23116 * javax/swing/plaf/basic/BasicTextUI.java:
23117 (getNextVisualPositionFrom): Marked as stub.
23119 2006-04-10 Roman Kennke <kennke@aicas.com>
23121 * javax/swing/plaf/basic/BasicLookAndFeel.java
23122 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23123 and create the defaults as strings constants.
23124 (loadSystemColors): Implemented stubbed method.
23126 2006-04-10 Tom Tromey <tromey@redhat.com>
23128 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23131 2006-04-10 Tom Tromey <tromey@redhat.com>
23133 * java/io/CharArrayWriter.java (append): Javadoc fix.
23134 (append): Likewise.
23136 2006-04-10 Tom Tromey <tromey@redhat.com>
23138 * javax/accessibility/AccessibleTextSequence.java: New file.
23139 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23141 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23142 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23143 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23144 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23145 * javax/accessibility/AccessibleExtendedText.java: New file.
23146 * javax/accessibility/AccessibleContext.java
23147 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23148 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23149 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23150 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23151 * javax/accessibility/AccessibleStreamable.java: New file.
23152 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23155 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23157 * javax/swing/tree/AbstractLayoutCache.java
23158 (getNodeDimensions, getRowsForPath): Implemented.
23159 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23160 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23162 2006-04-10 Roman Kennke <kennke@aicas.com>
23164 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23166 2006-04-10 Roman Kennke <kennke@aicas.com>
23168 * javax/swing/JInternalFrame.java
23169 (AccessibleJInternalFrame): Marked all stubbed methods as such
23170 by adding throws NotImplementedException.
23172 2006-04-10 Roman Kennke <kennke@aicas.com>
23174 * javax/swing/JFileChooser.java
23175 (getAccessibleContext): Don't create a new instance on each
23176 call, instead store the accessible context in the
23177 accessibleContext field.
23179 2006-04-10 Roman Kennke <kennke@aicas.com>
23181 * javax/swing/JComboBox.java
23182 (AccessibleJComboBox): Marked all stubbed methods as such
23183 by adding throws NotImplementedException.
23185 2006-04-10 Roman Kennke <kennke@aicas.com>
23187 * javax/swing/ActionMap.java
23188 (readObject): Removed.
23189 (writeObject): Removed.
23191 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23193 * javax/swing/tree/DefaultTreeSelectionModel.java
23194 (addSelectionPaths, setSelectionPaths): Call
23195 insureUniqueness. (clone, setRowMapper): Implemented.
23196 * TreePath (path): Marked final.
23198 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23200 * javax/swing/tree/DefaultTreeSelectionModel.java:
23201 Documented and autoformatted. (insureUniqueness):
23202 Removed stub marking.
23204 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23206 * javax/swing/SizeSequence.java
23207 (sizes): Don't initialise here,
23208 (SizeSequence(int, int)): Initialise sizes field,
23209 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23210 (setSize): Do nothing when index is out of bounds,
23211 (getIndex): Implemented,
23212 (setSizes): Reimplemented,
23213 (getSizes): Likewise,
23214 (insertEntries): Likewise,
23215 (removeEntries): Likewise,
23216 plus added API docs all over.
23218 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23220 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23221 one way message and retry after any IOException.
23223 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23225 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23226 Set the byte order.
23228 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23230 * org/omg/PortableServer/ServantLocatorPOA.java:
23231 (preinvoke, postinvoke): Remove default implementation.
23232 * org/omg/PortableServer/ServantActivatorPOA.java:
23233 (incarnate, etherealize): Remove default implementation.
23234 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23235 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23236 (make_object): Moved method from ObjectReferenceFactoryOperations.
23237 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23238 Removed unspecified interface.
23239 * org/omg/DynamicAny/_DynAnyStub.java:
23240 (_DynAnyStub(Delegate)): Removed constructor.
23241 * org/omg/DynamicAny/_DynArrayStub.java,
23242 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23243 * org/omg/DynamicAny/_DynEnumStub.java,
23244 * org/omg/DynamicAny/_DynFixedStub.java,
23245 * org/omg/DynamicAny/_DynSequenceStub.java,
23246 * org/omg/DynamicAny/_DynStructStub.java,
23247 * org/omg/DynamicAny/_DynUnionStub.java,
23248 * org/omg/DynamicAny/_DynValueStub.java:
23249 Extend from ObjectImpl and not from _DynAnyStub.
23250 (type, next, destroy, copy, rewind, assign, component_count,
23251 current_component, equal, from_any, get_any, get_boolean, get_char,
23252 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23253 get_reference, get_short, get_string, get_typecode, get_ulong,
23254 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23255 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23256 insert_long, insert_longlong, insert_octet, insert_reference,
23257 insert_short, insert_string, insert_typecode, insert_ulong,
23258 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23259 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23260 * org/omg/CosNaming/_BindingIteratorStub.java:
23261 (_BindingIteratorStub(Delegate)): Made package private.
23262 * org/omg/CosNaming/_NamingContextExtStub.java:
23263 (_NamingContextExtStub(Delegate)): Made package private.
23264 * org/omg/CosNaming/_NamingContextStub.java:
23265 (_NamingContextStub(Delegate)): Made package private.
23266 (throw4, throw5): Likewise.
23267 * gnu/CORBA/NamingService/NameParser.java (resolve):
23268 Adapt to package private constructor. Use _set_delegate instead.
23269 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23270 * org/omg/CORBA/ORB.java:
23271 (create_recursive_sequence_tc): Made abstract.
23272 (get_default_context): Likewise.
23273 * gnu/CORBA/OrbRestricted.java:
23274 (create_recursive_sequence_tc): New moved method.
23275 (get_default_context): Likewise.
23276 * org/omg/CORBA/ParameterMode.java:
23277 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23279 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23281 * gnu/CORBA/GIOP/MessageHeader.java (write):
23282 More informative exception.
23283 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23284 * gnu/CORBA/SocketRepository.java (get_socket):
23285 Removed debugging code.
23287 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23289 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23290 one way message, but ignore if EOF was received.
23291 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23292 Minor.EOF if the end of file is received instead of the header.
23294 2006-04-09 Roman Kennke <kennke@aicas.com>
23296 * javax/swing/plaf/metal/MetalRootPaneUI.java
23297 (MetalTitlePane.IconifyAction): New inner class.
23298 (MetalTitlePane.MaximizeAction): New inner class.
23299 (MetalTitlePane.createActions): Create iconifyAction and
23301 (MetalRootLayout.titlePane): New field.
23302 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23304 (MetalRootLayout.preferredLayoutSize): Changed to not make
23305 assumptions about the actual component order.
23306 (MetalRootLayout.layoutContainer): Changed to not make
23307 assumptions about the actual component order.
23308 (installWindowDecorations): Pass the titlePane as parameter to
23309 the MetalRootLayout constructor.
23310 (uninstallWindowDecorations): Changed to not make
23311 assumptions about the actual component order.
23313 2006-04-08 Roman Kennke <kennke@aicas.com>
23315 * javax/swing/plaf/metal/MetalRootPaneUI.java
23316 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23318 (MetalTitlePane.installListeners): Don't register a focus listener
23319 on the window. This is a potential memory leak and must be
23320 implemented on a different way. Install mouse listener here.
23321 (installWindowDecorations): Fixed assertion condition. Always
23322 insert the window decoration at index#1 in the layered
23325 2006-04-08 Roman Kennke <kennke@aicas.com>
23327 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23328 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23329 Only resize window if actual width or height value changes.
23330 Avoids nasty flicker when only setLocation() is beeing called
23333 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23335 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23336 exception if the magic sequence does not match.
23338 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23340 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23341 response for the one way messages.
23343 2006-04-08 Roman Kennke <kennke@aicas.com>
23345 * javax/swing/MenuSelectionManager.java
23346 (processKeyEvent): Implemented stub method.
23347 * javax/swing/JMenu.java
23348 (processKeyEvent): Implemented stub method.
23349 * javax/swing/JMenu.java
23350 (processKeyEvent): Implemented stub method.
23351 (processMenuKeyEvent): Implemented stub method.
23353 2006-04-08 Roman Kennke <kennke@aicas.com>
23355 * javax/swing/AbstractAction.java
23356 (readObject): Removed unneeded method.
23357 (writeObject): Removed unneeded method.
23359 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23361 * javax/swing/plaf/synth/SynthPainter.java:
23362 (paintSplitPaneDividerBorder): Removed.
23364 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23366 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23367 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23368 No longer constants.
23369 (static_initializer): Added to initialize above fields.
23370 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23371 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23372 (static_initializer): Added to initialize above fields.
23374 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23376 * java/awt/Dialog.java: Improved documentation all over.
23377 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23378 (Dialog(Dialog)): Likewise.
23380 2006-04-08 Mark Wielaard <mark@klomp.org>
23382 * java/util/jar/JarFile.java (provider): New static field.
23383 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23386 2006-04-08 Mark Wielaard <mark@klomp.org>
23389 * java/lang/StackTraceElement.java (toString): Don't add space
23390 between type and source indicator.
23392 2006-04-07 Casey Marshall <csm@gnu.org>
23394 Fixes PR classpath/24464
23395 * java/util/jar/JarFile.java (verify, verifyHashes,
23396 EntryInputStream.<init>): pass the Gnu provider directly to
23399 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23402 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23403 (DIGEST0): Use version 3 test vector.
23405 (S_box): New field: Version 3 S-box values.
23406 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23407 (transform): Formating.
23408 (padBuffer): Likewise.
23409 (getResult): Likewise.
23410 (selfTest): Likewise.
23412 2006-04-07 Tom Tromey <tromey@redhat.com>
23414 * java/util/InvalidPropertiesFormatException.java
23415 (serialVersionUID): New field.
23416 (readObject, writeObject): New methods.
23417 * java/util/Arrays.java (toString): Javadoc fixes.
23418 * java/net/URLConnection.java: Cleaned up imports.
23419 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23420 * java/lang/reflect/MalformedParameterizedTypeException.java
23421 (serialVersionUID): New field.
23422 * java/lang/reflect/GenericSignatureFormatError.java
23423 (serialVersionUID): New field.
23424 * java/lang/Class.java (Class): Javado fixes.
23425 (getComponentType): Likewise.
23426 (getGenericInterfaces): Likewise.
23427 (getTypeParameters): Likewise.
23428 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23429 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23431 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23433 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23436 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23438 * java/awt/Dialog.java
23439 (AccessibleAWTDialog): Added api docs
23440 (AccessibleAWTDialog.getAccessibleStateSet):
23441 Renamed from getAccessibleState.
23442 * java/awt/Frame.java
23443 (AccessibleAWTFrame): Added api docs
23444 (AccessibleAWTFrame.getAccessibleStateSet):
23445 Renamed from getAccessibleState.
23447 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23449 * java/awt/Dialog.java: Reformatted.
23451 2006-04-07 Lillian Angel <langel@redhat.com>
23453 * java/awt/Component.java
23454 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23455 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23457 2006-04-07 Tom Tromey <tromey@redhat.com>
23459 * java/beans/beancontext/BeanContextMembershipEvent.java
23460 (serialVersionUID): New field.
23461 * java/beans/beancontext/BeanContextServicesSupport.java
23462 (addBeanContextServicesListener): Synchronize.
23463 (addService): Implemented.
23464 (createBCSChild): Implemented.
23465 (BCSSChild): Added arguments.
23466 (fireServiceAdded): Implemented.
23467 (fireServiceRevoked): Implemented.
23468 (getCurrentServiceSelectors): Implemented.
23469 (hasService): Implemented.
23470 (removeBeanContextServicesListener): Implemented.
23471 (serviceAvailable): Implemented.
23472 (serviceRevoked): Implemented.
23473 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23475 (createBCSChild): Implemented.
23476 (BeanContextSupport):
23477 (addBeanContextMembershipListener): Synchronize.
23478 (fireChildrenAdded): Implemented.
23479 (fireChildrenRemoved): Implemented.
23480 (BeanContextSupport): Use default locale.
23481 (isEmpty): Implemented.
23482 (isDesignTime): Implemented.
23483 (size): Implemented.
23484 (toArray): Synchronized.
23485 (toArray): Likewise.
23486 (iterator): Likewise.
23487 (BCSIterator): Implemented.
23488 (bcsChildren): Implemented.
23489 (validatePendingAdd): Implemented.
23490 (validatePendingRemove): Likewise.
23491 (childJustAddedHook): Implemented.
23492 (childJustRemovedHook): Likewise.
23493 (classEquals): Likewise.
23494 (toArray): Mark as stub.
23495 (setDesignTime): Implemented.
23496 (copyChildren): Implemented.
23497 (containsKey): Implemented.
23498 (contains): Likewise.
23499 (containsAll): Likewise.
23500 (getResource): Implemented.
23501 (getResourceAsStream): Likewise.
23502 (removeBeanContextMembershipListener): Likewise.
23503 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23504 (serialVersionUID): New field.
23505 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23506 (serialVersionUID): New field.
23507 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23510 2006-04-06 Roman Kennke <kennke@aicas.com>
23513 * javax/swing/MenuSelectionManager.java
23514 (setSelectedPath): Search one more item in the loop.
23516 2006-04-06 Tom Tromey <tromey@redhat.com>
23518 * java/awt/image/renderable/RenderableImageProducer.java
23519 (image, context, consumers): New fields.
23520 (RenderableImageProducer): Implemented.
23521 (setRenderContext): Likewise.
23522 (addConsumer): Likewise.
23523 (isConsumer): Likewise.
23524 (removeConsumer): Likewise.
23525 (startProduction): Likewise.
23527 2006-04-06 Roman Kennke <kennke@aicas.com>
23529 * java/awt/Component.java
23530 (AccessibleAWTComponent.getBounds): Return the component
23531 bounds regardless of its showing state.
23532 (AccessibleAWTComponent.getLocation): Return the component
23533 location regardless of its showing state.
23534 (AccessibleAWTComponent.getSize): Return the component
23535 size regardless of its showing state.
23537 2006-04-06 Roman Kennke <kennke@aicas.com>
23539 * javax/swing/JRootPane.java
23540 (getAccessibleContext): New method. Provides an accessibleContext
23543 2006-04-06 Roman Kennke <kennke@aicas.com>
23545 * java/awt/Toolkit.java
23546 (initAccessibility): Use the 'gnu.classpath.home.url' property
23547 to determine the system confiuration directory.
23548 * java/awt/Component.java
23549 (dispatchEvent): Trigger Toolkit dispatching here.
23550 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23551 so it can't be overridden by subclasses and is performed in
23554 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23556 * javax/naming/Binding.java: Added API docs.
23557 * javax/naming/NameClassPair.java: Added API docs.
23558 (fullName): New field.
23559 (setNameInNamespace): New 1.5 method.
23560 (getNameInNamespace): Likewise.
23562 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23564 * javax/naming/CompositeName.java:
23565 (readObject): New deserialization method.
23566 (writeObject): New serialization method.
23568 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23570 * javax/security/auth/x500/X500Principal.java
23571 (readAttributeValue) Check for separator after quoted value was
23572 failing in all cases.
23574 2006-04-06 Mark Wielaard <mark@klomp.org>
23576 * java/lang/Class.java (getClassLoader): Don't do security check
23577 when loader is null.
23579 2006-04-06 Roman Kennke <kennke@aicas.com>
23581 * java/awt/Toolkit.java
23582 (getDefaultToolkit): Initialize accessibility after setting
23584 (initAccessibility): New helper method to setup accessibility.
23586 2006-04-06 Roman Kennke <kennke@aicas.com>
23588 * javax/swing/AbstractButton.java
23589 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23590 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23592 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23593 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23594 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23595 (AccessibleAbstractButton.getCharCount): Implemented stub.
23596 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23597 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23598 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23599 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23600 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23601 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23604 2006-04-06 Roman Kennke <kennke@aicas.com>
23606 * java/awt/Component.java
23607 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23608 state here. This is only done in JComponent.
23609 * javax/swing/JComponent.java
23610 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23612 (getNextFocusableComponent): Implemented stub method.
23613 (grabFocus): Implemented stub method.
23614 (unregisterKeyboardAction): Implemented stub method.
23615 (setNextFocusableComponent): Implemented stub method.
23616 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23617 This is a helper class for providing compatibility with the older
23620 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23623 * javax/naming/directory/BasicAttribute.java,
23624 * javax/naming/directory/BasicAttributes.java:
23625 (readObject): New deserialization method.
23626 (writeObject): New serialization method.
23628 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23630 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23631 (getErrorHandler): Made method abstract.
23632 (setErrorHanlder): Likewise.
23633 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23634 (getErrorHandler): Implement abstract method from superclass.
23635 (setErrorHandler): Likewise.
23636 (errorHandler): New field.
23637 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23638 (getErrorHandler): Implement abstract method from superclass.
23639 (setErrorHandler): Likewise.
23640 (errorHandler): New field.
23641 * javax/xml/XMLConstants.java: Corrected since tag.
23642 (XMLConstants): Added private constructor.
23643 * javax/xml/datatype/Duration.java: Corrected since tag.
23644 (multiply): Made method abstract.
23645 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23646 (DatatypeConstants): Added private constructor.
23647 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23648 (XPathConstants): Added private constructor.
23650 2006-04-05 Tom Tromey <tromey@redhat.com>
23652 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23654 2006-04-05 Tom Tromey <tromey@redhat.com>
23657 * lib/Makefile.am (compile-classes): Touch the output file.
23659 2006-04-05 Roman Kennke <kennke@aicas.com>
23661 * javax/swing/AbstractButton.java
23662 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23663 of the focused state. This is already done in AccessibleAWTComponent.
23665 2006-04-05 Roman Kennke <kennke@aicas.com>
23667 * javax/swing/JComponent.java
23668 (accessibleContext): Fixed API doc for this field.
23669 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23670 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23671 Implemented and added API docs.
23672 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23673 Implemented and added API docs.
23674 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23675 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23676 Implemented and added API docs.
23677 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23678 Implemented and added API docs.
23679 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23680 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23681 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23682 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23683 (AccessibleJComponent.getAccessibleStateSet): Simply return
23684 super here. Added comment about this.
23686 2006-04-05 Roman Kennke <kennke@aicas.com>
23688 * javax/swing/JComponent.java
23689 (AccessibleJComponent.addPropertyChangeListener): Install
23690 ContainerHandler and FocusHandler here.
23691 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23692 ContainerHandler and FocusHandler here.
23693 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23694 by super.getAccessibleChildrenCount().
23695 (AccessibleJComponent.getAccessibleChild): Replaced
23696 by super.getAccessibleChild().
23697 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23698 adding OPAQUE to the supported states.
23699 (AccessibleJComponent.getAccessibleName): Added titled border
23700 and label fallbacks.
23701 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23702 and label fallbacks.
23703 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23704 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23705 explaining why return null seems correct here.
23706 * javax/swing/JLabel.java
23707 (LABEL_PROPERTY): New constant.
23708 (setLabelFor): Store label in labeled component's client properties
23709 for the AccessibleJComponent to read.
23711 2006-04-05 Tom Tromey <tromey@redhat.com>
23713 * java/util/zip/ZipFile.java (available): Defer to super if
23714 entry's size is unknown.
23716 2006-04-05 Tom Tromey <tromey@redhat.com>
23718 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23719 property with mime.types name.
23720 * gnu/classpath/SystemProperties.java: Set
23721 gnu.classpath.mime.types.file if not already set.
23722 * java/net/URLConnection.java (defaultFactory): New field.
23723 (guessContentTypeFromStream): Mark as unimplemented.
23724 (getContentHandler): Updated with libgcj's implementation.
23725 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23728 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23732 * java/util/AbstractList.java (hasNext): Don't throw
23733 ConcurrentModificationException. Update Javadoc.
23734 (hasPrevious): Likewise.
23735 (nextIndex): Likewise.
23736 (previousIndex): Likewise.
23737 * java/util/HashMap.java (hasNext): Likewise.
23738 * java/util/Hashtable.java (hasNext): Likewise.
23739 * java/util/IdentityHashMap.java (hasNext): Likewise.
23740 * java/util/LinkedHashMap.java (hasNext): Likewise.
23741 * java/util/LinkedList.java (nextIndex): Likewise.
23742 (previousIndex): Likewise.
23743 (hasNext): Likewise.
23744 (hasPrevious): Likewise.
23745 * java/util/TreeMap.java (hasNext): Likewise.
23746 * java/util/WeakHashMap.java (hasNext): Likewise.
23748 2006-04-05 Roman Kennke <kennke@aicas.com>
23750 * javax/swing/AbstractButton.java
23751 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23752 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23753 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23754 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23755 (AccessibleAbstractButton.getAccessibleActionDescription):
23757 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23758 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23759 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23760 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23761 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23762 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23764 2006-04-05 Roman Kennke <kennke@aicas.com>
23766 * javax/swing/JComboBox.java
23767 (selectWithKeyChar): Implemented stubbed method.
23769 2006-04-05 Roman Kennke <kennke@aicas.com>
23771 * javax/swing/LookAndFeel.java
23772 (installProperty): New method. Allows primitive typed properties
23773 to be handled like UIResources.
23774 * javax/swing/AbstractButton.java
23775 (clientBorderPaintedSet): New field.
23776 (clientRolloverEnabledSet): New field.
23777 (clientIconTextGapSet): New field.
23778 (clientContentAreaFilledSet): New field.
23779 (setRolloverEnabled): Set the client field to true.
23780 (setBorderPainted): Likewise.
23781 (setIconTextGap): Likewise.
23782 (setContentAreaFilled): Likewise.
23783 (setUIProperty): New helper method.
23784 * javax/swing/JComponent.java
23785 (clientOpaqueSet): New field.
23786 (clientAutoscrollsSet): New field.
23787 (setAutoscrolls): Set the client field to true.
23788 (setOpaque): Likewise.
23789 (setUIProperty): New helper method.
23790 * javax/swing/JDesktopPane.java
23791 (clientDragModeSet): New field.
23792 (setDragMode): Set the client field to true.
23793 (setUIProperty): New helper method.
23794 * javax/swing/JSplitPane.java
23795 (clientDividerSizeSet): New field.
23796 (clientOneTouchExpandableSet): New field.
23797 (setDividerSize): Set the client field to true.
23798 (setOneTouchExpandable): Likewise.
23799 (setUIProperty): New helper method.
23800 * javax/swing/JTable.java
23801 (clientRowHeightSet): New field.
23802 (setRowHeight): Set the client field to true.
23803 (setUIProperty): New helper method.
23804 * javax/swing/JTree.java
23805 (clientRowHeightSet): New field.
23806 (clientScrollsOnExpandSet): New field.
23807 (clientShowsRootHandlesSet): New field.
23808 (setRowHeight): Set the client field to true.
23809 (setShowsRootHandles): Likewise.
23810 (setScrollsOnExpand): Likewise.
23811 (setUIProperty): New helper method.
23813 2006-04-05 Roman Kennke <kennke@aicas.com>
23815 * java/awt/Component.java
23816 (getFont): Don't request the font from the peer's graphics. The
23817 graphics should instead get the font from the Component, which might
23819 (getFocusCycleAncestor): Don't special case Window.
23820 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23821 to here. Correctly determine the focus cycle root.
23822 (transferFocusBackward): Likewise.
23823 (transferFocusUpCycle): Likewise.
23824 * java/awt/Container.java
23825 (transferFocusDownCycle): Moved implementation from
23826 DefaultKeyboardFocusManager to here.
23827 * java/awt/DefaultKeyboardFocusManager.java
23828 (focusPreviousComponent): Moved implementation to
23829 Component.transferFocusBackward().
23830 (focusNextComponent): Moved implementation to
23831 Component.nextFocus().
23832 (upFocusCycle): Moved implementation to
23833 Component.transferFocusUpCycle().
23834 (downFocusCycle): Moved implementation to
23835 Container.transferFocusDownCycle().
23837 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23839 * java/awt/image/ComponentSampleModel.java
23840 (equals): Implemented,
23841 (hashCode): Likewise.
23843 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23845 * java/lang/Class.java
23846 (cast): New method.
23848 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23850 * java/awt/image/ComponentSampleModel.java
23851 (getBankIndices): Return a copy of the array, not a reference to the
23853 (getBandOffsets): Likewise.
23855 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23857 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23859 2006-04-04 Tom Tromey <tromey@redhat.com>
23861 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23863 2006-04-04 Tom Tromey <tromey@redhat.com>
23865 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23866 (MimeTypeMapper): Initialize.
23867 (fillFromFile): New method.
23868 (main): New method.
23869 (mime_strings): Updated.
23871 2006-04-04 Tom Tromey <tromey@redhat.com>
23873 * lib/gen-classlist.sh.in: Correct handle generated files.
23875 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23877 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23878 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23879 * gnu/regexp/CharIndexedCharSequence.java: New file.
23880 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23881 gnu.regexp.CharIndexedCharSequence.
23882 * gnu/regexp/CharIndexedString.java: Likewise.
23883 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23884 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23885 using CharIndexedCharSequence. Use setAnchor when the input
23886 object is already a CharIndexed.
23887 * java/util/regex/Matcher.java(inputCharIndexed): New field
23888 to be used as a parameter of the RE#getMatch.
23890 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23892 * java/awt/image/SampleModel.java: Reformatted.
23894 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23896 * java/awt/image/ComponentSampleModel.java
23897 (ComponentSampleModel(int, int, int, int, int[])): Added API
23899 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23900 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23901 of the bandOffsets and bankIndices arguments, added API documentation,
23902 * java/awt/image/SampleModel.java
23903 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23904 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23905 less than or equal to zero, added API documentation.
23907 2006-04-04 Lillian Angel <langel@redhat.com>
23909 * java/util/zip/ZipFile.java
23910 (getInputStream): Fixed to return size of ZipEntry
23911 minus the total bytes read. This guarantees that the
23912 right value is returned even if some bytes have already
23915 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23917 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23918 Remove static modifier.
23920 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23922 * java/awt/image/ComponentSampleModel.java: Reformatted.
23924 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23926 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23927 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23928 retrieval instructions to javadoc header.
23929 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23930 compressionType field.
23931 * lib/Makefile.am (propertydirs): Add javax directory.
23932 (propertyfiles): Likewise.
23933 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23936 2006-04-03 Tom Tromey <tromey@redhat.com>
23938 PR classpath/26971:
23939 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23940 (BasicAttributeEnumeration.where): Initialize to 0.
23941 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23943 2006-04-03 Lillian Angel <langel@redhat.com>
23945 PR classpath/24596 and PR classpath/26930
23946 * java/util/zip/ZipFile.java
23947 (getInputStream): Override available function for
23948 InflaterInputStream instance.
23950 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23952 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23954 2006-04-03 Tom Tromey <tromey@redhat.com>
23956 * javax/security/auth/kerberos/ServicePermission.java: New file.
23957 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23958 * javax/security/auth/kerberos/KerberosKey.java: New file.
23959 * javax/security/auth/kerberos/KeyImpl.java: New file.
23960 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23961 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23963 2006-04-03 Sven de Marothy <sven@physto.se>
23965 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23966 non-GtkImage images.
23968 2006-04-03 Mark Wielaard <mark@klomp.org>
23970 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23971 as temporary file name.
23973 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23975 * INSTALL: Documented --with-glibj-zip option.
23977 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23979 Fixed all pscan warnings.
23981 * native/jni/classpath/jcl.c (JCL_ThrowException),
23982 native/jni/classpath/jcl.h (DBG),
23983 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23984 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23985 Use "%s" format in fprintf and snprintf explicitely when printing a single
23986 string to prevent format string exploits.
23988 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23989 definition. Included jcl.h instead.
23991 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23993 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23994 (provider): Made it protected.
23995 (providerInstalled): New field.
23996 (Main): Made it a 0-arguments constructor.
23997 Removed throws clasue.
23998 (main): Removed throws clause.
23999 Call processArgs(args) after constructing instance.
24000 Call teardown() before existing.
24001 (processArgs): Added javadoc.
24002 Reduced to throws Exception.
24004 (teardown): New method.
24005 (setupCommonParams): Added javadoc.
24006 Install designated provider if not already installed.
24007 (installNewProvider): New method.
24008 (setupSigningParams): Added javadoc.
24009 Instantiate the KeyStore using type only.
24010 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24011 Removed unused imports.
24012 (start): Reduced to throws Exception.
24013 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24014 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24015 Re-organized imports.
24016 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24017 Test ignoring case.
24018 (getNames): Add "dsa" as an algorithm provided by this Factory.
24019 (makeInstance): Construct IllegalArgumentException with 2 arguments.
24021 2006-04-03 Roman Kennke <kennke@aicas.com>
24023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24024 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24025 Replaced g_free() with pango_item_free() to avoid problems
24026 with the allocator.
24028 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24031 * java/util/logging/Level.java (parse): Document.
24032 * java/util/logging/LogManager.java (rootLogger): Removed.
24033 (LogManager): Just set loggers to new HashMap.
24034 (getLogManager): Make synchronized. Create and init LogManager if it
24036 (static): Removed block.
24037 (MANAGER_PROPERTY): New private final string.
24038 (makeLogManager): Use new property string, move warning to
24039 createInstance() method.
24040 (CONFIG_PROPERTY): New private final string.
24041 (initLogManager): New method.
24042 (addLogger): Use Logger.root, not rootLogger.
24043 (findAncestor): Likewise.
24044 (readConfiguration): Move warning to createInstance() method.
24045 Add handlers directly to Logger.root. Warn about bad level values.
24046 (getClassProperty): Use new locateClass() method.
24047 (getInstanceProperty): Only catch specific newInstance Errors.
24048 (createInstance): Make private and takes a string to use in warning
24049 messages. Use new locateClass() method and generate appropriate
24051 (warn): New methods.
24052 (locateClass): Locates a class through the context class loader and
24053 system class loader as backup.
24054 * java/util/logging/Logger.java (root): New static final field.
24055 (Logger): Set parent to root.
24056 (setParent): Directly check root field.
24058 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24060 * java/util/Collections.java:
24061 (binarySearch(List, T)): Fixed signature.
24062 (unmodifiableList(List)): Likewise.
24063 (UnmodifiableList(List)): Fixed constructor.
24064 (UnmodifiableRandomAccessList(List)): Likewise.
24065 (unmodifiableMap(Map)): Fixed signature.
24066 (UnmodifiableMap(Map)): Fixed constructor.
24067 (unmodifiableSortedMap(Map)): Fixed signature.
24068 (UnmodifiableSortedMap(Map)): Fixed constructor.
24070 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24072 * java/io/ObjectOutputStream.java:
24073 (writeObject(Object)): Added enum support.
24074 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24075 * java/io/ObjectStreamClass.java:
24076 (isEnum()): New package-private method.
24077 (setFlags(Class)): Added enum support.
24078 * java/io/ObjectStreamConstants.java:
24081 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24083 * javax/swing/text/Segment.java:
24084 (setPosition): Make exception message more verbose.
24085 * javax/swing/text/WrappedPlainView.java:
24086 (insertUpdate): Removed unneeded repaint call.
24087 (changeUpdate): Dito.
24088 (removeUpdate): Dito.
24089 (WrappedLine.determineNumLines): Do not return numLines, break
24090 from loop if no new break point has been calculated.
24091 (WrappedLine.updateDamage): Rewritten.
24092 (WrappedLine.insertUpdate): Removed unneeded update code.
24093 (WrappedLine.removeUpdate): Removed unneeded update code, added
24096 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24098 * configure.ac (with-glibj-zip): Added new option.
24100 * examples/Makefile.am,
24102 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24103 in addition to classes in lib directory.
24105 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24107 * tools/gnu/classpath/tools/giop/GRMIC.java,
24108 tools/gnu/classpath/tools/giop/IorParser.java,
24109 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24110 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24111 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24112 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24113 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24114 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24115 tools/gnu/classpath/tools/rmi/RMIC.java,
24116 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24117 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24118 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24119 linking exception from the licensing header.
24120 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24121 Added licensing header.
24123 2006-04-02 Mark Wielaard <mark@klomp.org>
24125 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24126 (jarsigner): Removed.
24128 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24130 * configure.ac: don't check for isnan function.
24131 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24133 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24135 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24136 * tools/Makefile.am: Generate jarsigner shell script.
24137 * tools/jarsigner.sh.in: New template.
24138 * tools/.cvsignore: Added jarsigner.sh.
24140 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24142 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24143 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24144 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24145 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24146 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24147 Re-organised imports.
24149 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24151 PR classpath/25924:
24152 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24153 Handle case where alpha==0.
24155 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24158 * javax/swing/text/Utilities.java:
24159 (getTabbedTextOffset): Added check to decrement pos not below zero,
24160 changed '>' comparison to '>='.
24161 * javax/swing/text/WrappedPlainView.java:
24162 (lineHeight): New field.
24163 (calculateBreakPosition): Throw InternalError in catch block, removed
24164 unneeded brackets, use specific version of
24165 Utilities.getTabbedTextOffset.
24166 (paint): Set various properties neccessary for drawing.
24167 (WrappedLine.paint): Removed code to set field of outer class.
24168 (WrappedLine.modelToView): Removed unneeded expression from
24170 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24171 -1 from return statement, copy only a subset into the Segment, removed
24172 special handling of mark value - just return it, simplified
24173 incrementation of currLineStart.
24174 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24175 change to parent view.
24176 (WrappedLine.removeUpdate): Dito.
24178 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24180 * javax/swing/text/Segment.java:
24181 (toString): Return empty string when array is null.
24183 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24185 * javax/swing/plaf/basic/BasicTextUI.java:
24186 (damageRange): Use SwingUtilities.computeUnion to avoid
24187 unneccessary Rectangle instantiation.
24189 2006-04-01 Tom Tromey <tromey@redhat.com>
24191 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24193 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24195 * javax/swing/text/CompositeView.java: Fixed copyright header.
24196 * javax/swing/text/BoxView.java: Fixed copyright header.
24197 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24198 * javax/swing/text/Utilities.java: Fixed copyright header.
24200 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24202 * javax/swing/text/CompositeView.java:
24203 (modelToView): Throw BadLocationException when no child
24204 view can be found, restructed to throw exception as early
24206 (viewToModel): Use mutable allocation as argument for viewToModel
24207 call on child view.
24208 * javax/swing/text/BoxView.java:
24209 (getViewAtPoint): Call setBounds() r before method returns with
24210 suitable child view.
24211 * javax/swing/text/Utilities.java:
24212 (getPositionBelow): Added try-catch-block around modelToView call,
24213 added method return when BadLocationException was thrown.
24214 * javax/swing/text/WrappedPlainView.java:
24215 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24216 added note about meaning of rect.x and rect.width, removed unneeded
24217 checks, added code to not return the last possible document offset.
24219 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24221 * javax/swing/text/WrappedPlainView.java:
24222 (WrappedLine.viewToModel): Change < to <= in if-statement,
24223 removed addition of currLineStart to return value.
24224 * javax/swing/text/BoxView.java:
24225 (getViewAtPoint): Use copy instead of r for method call
24226 which modifies the second argument.
24228 2006-04-01 Mark Wielaard <mark@klomp.org>
24231 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24233 2006-03-31 Tom Tromey <tromey@redhat.com>
24235 * lib/split-for-gcj.sh: Updated for multi-field format.
24236 * lib/Makefile.am (CLEANFILES): Added classes.2.
24237 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24238 classes.2 using multiple fields.
24240 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24242 * javax/swing/JTable.java (columnSelectionChanged):
24243 Removed print statement.
24244 * javax/swing/DefaultListSelectionModel.java
24245 (addSelectionInterval, removeSelectionInterval):
24246 Fire the difference between selection. (setLeadSelectionIndex):
24247 Fire the difference and mark current and previous lead
24248 selection indexes for repaint.
24250 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24252 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24253 unnecessary copying.
24254 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24256 2006-03-31 Lillian Angel <langel@redhat.com>
24258 * java/awt/Component.java
24259 (translateEvent): oldKey should be the value of the
24262 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24264 * javax/swing/JTable.java (columnSelectionChanged):
24265 Treat second repaint parameter as width.
24267 2006-03-31 Lillian Angel <langel@redhat.com>
24270 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24271 (realize): New native function.
24272 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24273 Added new function declaration.
24274 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24275 (realize): New function.
24277 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24279 * javax/swing/text/GapContent.java:
24280 (replace): Move all Position instances from gap's end to
24281 it's start before increasing the gap start.
24282 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24283 (propertyChanged): Update the view only instead of
24284 indicating a document change.
24286 2006-03-31 Roman Kennke <kennke@aicas.com>
24288 * javax/swing/JTextField.java
24289 (fireActionPerformed): Put the textfields text in the action
24290 instead of the action name.
24292 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24294 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24295 Check for null jar-file argument.
24296 (setupSigningParams): Check for null alias argument.
24298 2006-03-31 Roman Kennke <kennke@aicas.com>
24300 * javax/swing/JComponent.java
24301 (paintChildren): Split up in two cases, depending on the
24302 optimizedDrawingEnabled flag.
24303 (paintChildrenWithOverlap): New method. Paints children when
24304 not optimizedDrawingEnabled. This implements better painting
24305 algorithm for overlapping components, so that the painted
24306 regions are minimized.
24307 (paintChildrenOptimized): New method. Paints children when
24308 when optimizedDrawingEnabled. This implements a painting
24309 algorithm that is optimized for the case when all children
24310 are guaranteed to be tiled.
24312 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24314 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24315 Attributes.putValue(String,String).
24316 (finishSigning): Likewise.
24317 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24318 (SIGNATURE_VERSION): Likewise.
24319 (readSFManifest): Use local string constant.
24320 (readMainSection): Likewise.
24321 (readVersionInfo): Likewise.
24322 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24323 Redefined using JarUtils constant.
24324 (SIGNATURE_VERSION): Likewise.
24325 (putValue(Name,String)): Made it private.
24327 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24329 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24330 New method. (clearSelection): Rewritten. (setSelectionInterval):
24331 Fire the difference between current and new selection.
24332 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24333 Only repaint the region, where selection has been changed.
24334 * javax/swing/plaf/basic/BasicTableUI.java
24335 (TableAction.actionPerformed): Do not change the column selection
24336 when only row selection change is wanted (and in reverse) and
24337 do not call the repaint() here.
24339 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24342 * javax/swing/DefaultComboBoxModel.java
24343 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24345 (addElement): Call list.addElement() rather than list.add(), and only
24346 update selected item if it is currently null,
24347 (removeElementAt): Update selected item, then remove the element.
24349 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24352 * java/awt/geom/Point2D.java
24353 (distanceSq(double, double)): Fixed order of arguments,
24354 (distanceSq(Point2D)): Likewise,
24355 (distance(double, double)): Likewise,
24356 (distance(Point2D)): Likewise.
24358 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24360 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24361 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24362 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24363 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24364 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24366 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24368 * javax.swing.JTable (constructor): Initialize column
24369 model column margin and table row margin before setting the
24370 table column model. (initialiseLocalVars): Do not call
24371 setIntercellSpacing.
24373 2006-03-30 Chris Burdess <dog@gnu.org>
24375 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24377 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24379 2006-03-30 Mark Wielaard <mark@klomp.org>
24382 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24383 adjust bounds. On resize invalidate and validate container.
24384 Always pass on ComponentEvents to Container super class.
24385 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24386 menuBar and pass to GtkWindowPeer super class.
24387 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24388 bounds and pass to GtkWindowPeer super class.
24389 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24390 New fields for local bounds.
24391 (getX, getY): New methods.
24392 (getWidth): Don't call into awtComponent.
24393 (getHeight): Likewise.
24394 (create): Cache local bounds.
24395 (setLocation): Documented, made protected and just call
24397 (setLocationUnlocked): Removed unused method.
24398 (setBoundsUnlocked): Likewise.
24399 (setBounds): Check whether bounds actually changed and cache local
24401 (setSize): Documented and made protected.
24402 (setResizable): Documented and cache local bounds.
24403 (postConfigureEvent): Update local bounds. Don't call awtComponent
24404 directly but post ComponentEvents.
24405 (show): Cache local bounds.
24406 (getBounds): Override to return cached bounds.
24408 2006-03-30 Lillian Angel <langel@redhat.com>
24410 * gnu/java/awt/peer/gtk/GdkGraphics.java
24411 (drawImage): Added check to prevent NPE.
24412 (drawImage): Likewise.
24413 (drawImage): Likewise.
24414 * java/awt/Choice.java
24415 (dispatchEventImpl): New function. selectedIndex was
24416 not being updated properly otherwise.
24418 2006-03-30 Roman Kennke <kennke@aicas.com>
24420 * javax/swing/JTabbedPane.java
24421 (removeTabAt): Removed debug code.
24423 2006-03-30 Roman Kennke <kennke@aicas.com>
24426 * javax/swing/plaf/basic/BasicTextUI.java
24427 (installKeyboardActions): Simply call getKeymap() and install this.
24428 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24430 2006-03-30 Roman Kennke <kennke@aicas.com>
24432 * javax/swing/JTabbedPane.java
24433 (removeTabAt): Adjust selection correctly when removing a tab
24434 before the selected tab. Also remove the component from the
24435 container, not only the tab object. Repaint and revalidate the
24436 component after the removal.
24437 (removeAll): Set selection to -1 before removing the tabs.
24439 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24441 * java/io/ObjectInputStream.java:
24442 (parseContent(byte)): Added enum support.
24443 * java/io/ObjectStreamConstants.java:
24445 (TC_MAX): Changed to new maximum, TC_ENUM.
24447 2006-03-29 Lillian Angel <langel@redhat.com>
24449 Partial fix for bug #26929
24450 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24451 (updateComponent): Removed. We want to clear the panel
24453 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24454 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24455 Should set the background to the saved background color.
24457 2006-03-29 Mark Wielaard <mark@klomp.org>
24459 Partial fix for bug #26848 (pack).
24460 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24461 Always show instances of Window.
24463 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24465 * javax/swing/JSlider.java
24466 (setPaintLabels): Only create standard labels if labelTable is null,
24467 * javax/swing/plaf/basic/BasicSliderUI.java
24468 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24469 "paintTicks" property change,
24470 (calculateThumbSize): Updated API docs,
24471 (calculateContentRect): Likewise,
24472 (calculateTrackBuffer): Take into account the lowest and highest
24473 labels when calculating buffer space,
24474 (calculateTrackRect): Include labels, if visible, in the calculation of
24475 the trackRect position,
24476 (calculateTickRect): Height is zero if ticks are not painted,
24477 (calculateLabelRect): Use max dimensions of actual labels,
24478 (getWidthOfHighValueLabel): Use preferred size,
24479 (getWidthOfLowValueLabel): Likewise,
24480 (getHeightOfHighValueLabel): Likewise,
24481 (getHeightOfLowValueLabel): Likewise,
24482 (drawInverted): Just return slider setting,
24483 (getHighestValueLabel): Updated API docs,
24484 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24485 to xPositionForValue() and yPositionForValue(),
24486 (paintHorizontalLabel): Removed full qualification of class name,
24487 (paintVerticalLabel): Likewise,
24488 (xPositionForValue): Reimplemented,
24489 (yPositionForValue): Reimplemented,
24490 * javax/swing/plaf/metal/MetalSliderUI.java
24491 (paintTrack): Made track one pixel longer.
24493 2006-03-29 Tom Tromey <tromey@redhat.com>
24496 * tools/Makefile.am (JCOMPILER): Added encoding options.
24497 * examples/Makefile.am (JCOMPILER): Added encoding options.
24499 2006-03-29 Gary Benson <gbenson@redhat.com>
24501 Partial fix for PR classpath/24895
24502 * java/io/FilePermission.java (implies): Canonicalize paths.
24504 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24507 * javax/swing/text/GapContent.java:
24508 (replace): Added call to resetMarksAtZero.
24510 2006-03-29 Roman Kennke <kennke@aicas.com>
24513 * javax/swing/plaf/basic/BasicMenuItemUI.java
24514 (cachedRect): New field.
24515 (BasicMenuItemUI): Initialize cachedRect field.
24516 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24517 to determine layout. Store maximum accelerator and text width
24518 in client properties of parent to allow correct alignment
24519 of accelerators among menu items of one menu.
24520 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24521 method. Align accelerators according to the values calculated
24522 in getPreferredMenuItemSize.
24523 (getAcceleratorString) New helper method.
24524 (layoutMenuItem): New helper method.
24526 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24528 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24529 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24530 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24532 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24533 readExternal, writeExternal): New methods.
24534 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24535 two stages, invokeCommon(Remote, ...) and
24536 invokeCommen(UnicastConnection, ...).
24537 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24538 also the ActivatableRef. toString(): Documented.
24539 * gnu/java/rmi/server/ActivatableRef.java,
24540 tools/gnu/classpath/tools/rmi/Persistent.java,
24541 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24542 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24543 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24544 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24545 tools/gnu/classpath/tools/rmi/RMID.java,
24546 tools/gnu/classpath/tools/rmi/RMID.txt,
24547 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24548 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24549 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24550 tools/gnu/classpath/tools/rmi/registry/package.html,
24551 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24552 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24554 * tools/README: Documented.
24555 * NEWS: Added entry about the activation.
24557 2006-03-29 Roman Kennke <kennke@aicas.com>
24560 * javax/swing/plaf/basic/BasicMenuItemUI.java
24561 (viewRect): New field.
24562 (textRect): New field.
24563 (accelRect): New field.
24564 (iconRect): New field.
24565 (arrowIconRect): New field.
24566 (checkIconRect): New field.
24567 (BasicMenuItemUI): Initialize new fields.
24568 (paintMenuItem): Rewritten to correctly layout and paint
24569 the menu item in a more straightforward way. Use cached rectangle
24570 objects for layout.
24571 (paintAccelerator): Pulled inside the paintMenuItem method.
24573 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24575 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24576 Do not use initCause with UnexpectedException.
24577 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24580 2006-03-29 Mark Wielaard <mark@klomp.org>
24582 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24583 (setCursorID): Removed unused static variable.
24585 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24587 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24589 2006-03-29 Mark Wielaard <mark@klomp.org>
24592 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24593 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24595 2006-03-28 Roman Kennke <kennke@aicas.com>
24597 * javax/swing/UIManager.java
24598 (installLookAndFeel): Implemented.
24599 (setInstalledLookAndFeels): Implemented.
24601 2006-03-28 Roman Kennke <kennke@aicas.com>
24603 * javax/swing/plaf/metal/MetalButtonUI.java
24604 (update): Paint gradient only when the background color
24605 is not a UIResource and if the button is neither armed nor
24606 pressed and if the button is contentAreaFilled.
24608 2006-03-28 Roman Kennke <kennke@aicas.com>
24610 * javax/swing/JLayeredPane.java
24611 (addImpl): Repaint added component.
24613 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24615 * java/util/regex/Matcher.java: Reverted.
24617 2006-03-28 Roman Kennke <kennke@aicas.com>
24619 * javax/swing/text/AsyncBoxView.java
24620 (setEstimatedMajorSpan): Made method protected.
24621 (getEstimatedMajorSpan): Made method protected.
24622 * javax/swing/text/BoxView.java
24623 (flipEastAndWestAtEnds): Fixed typo.
24624 * javax/swing/text/InternationalFormatter.java
24625 (getActions): Made method protected.
24626 * javax/swing/text/Position.java
24627 (Bias): Made class final.
24628 * javax/swing/text/html/HTML.java
24629 (MEDIA): Made field package private. Not specified.
24630 (NOBR): Made field package private. Not specified.
24631 * javax/swing/text/html/NullView.java
24632 Made class package private.
24633 * javax/swing/text/html/parser/Entity.java
24634 Made class non-serializable as specified.
24636 2006-03-28 Roman Kennke <kennke@aicas.com>
24638 * javax/swing/plaf/metal/MetalButtonUI.java
24639 (update): Don't paint gradient if the background color is
24640 no UIResource. Removed double getModel() call. Don't check for
24643 2006-03-28 Roman Kennke <kennke@aicas.com>
24645 * javax/swing/plaf/basic/BasicMenuItemUI.java
24646 (paint): Call paintMenuItem with the selectionBackground as
24648 (paintBackground): Fixed the condition and color for the background
24651 2006-03-28 Roman Kennke <kennke@aicas.com>
24653 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24654 (tabsOpaque): New field.
24655 (paintLeftTabBorder): Paint some parts only when the tabs are
24656 opaque. Determine the tab background using the paintLeftTabBorder()
24658 (paintRightTabBorder): Likewise.
24659 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24661 2006-03-27 Tom Tromey <tromey@redhat.com>
24663 PR classpath/25189:
24664 * java/lang/Enum.java (valueOf): Ensure that the named field
24665 is an enum constant.
24666 (compareTo): Check class of enum.
24668 2006-03-27 Tom Tromey <tromey@redhat.com>
24670 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24672 2006-03-27 Tom Tromey <tromey@redhat.com>
24674 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24676 (getModifiersInternal): Renamed from getModifiers.
24677 (getModifiers): New method.
24678 (isBridge): Likewise.
24679 (isSynthetic): Likewise.
24680 (isVarArgs): Likewise.
24681 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24683 (getModifiersInternal): Renamed from getModifiers.
24684 (getModifiers): New method.
24685 (isSynthetic): Likewise.
24686 (isEnumConstant): Likewise.
24687 * vm/reference/java/lang/reflect/Constructor.java
24688 (getModifiersInternal): Renamed from getModifiers.
24689 (getModifiers): New method
24690 (CONSTRUCTOR_MODIFIERS): New constant.
24691 (isSynthetic): New method.
24692 (isVarArgs): Likewise.
24693 * java/lang/reflect/Member.java (isSynthetic): New method.
24695 2006-03-28 Tom Tromey <tromey@redhat.com>
24697 * java/net/Proxy.java (TYPE): Added missing ";".
24699 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24701 * java/math/RoundingMode.java:
24702 Fixed serialization UID.
24703 * java/net/Proxy.java:
24706 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24708 * java/io/CharArrayWriter.java:
24709 (append(char)): Documented.
24710 (append(CharSequence)): Likewise.
24711 (append(CharSequence,int,int)): Likewise.
24713 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24715 * vm/reference/java/lang/reflect/Constructor.java
24716 (getTypeParameters): Check return value of getSignature for null.
24717 * vm/reference/java/lang/reflect/Method.java
24718 (getTypeParameters): Check return value of getSignature for null.
24720 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24722 * java/rmi/activation/ActivationGroup_Stub.java:
24725 2006-03-27 Tom Tromey <tromey@redhat.com>
24727 * java/io/CharArrayWriter.java (append): New overloads.
24729 2006-03-27 Lillian Angel <langel@redhat.com>
24731 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24732 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24733 Added check for colormap. Prevents assertion error.
24734 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24736 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24738 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24740 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24742 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24745 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24747 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24748 AC_MSG_ERROR instead of echoing the error message
24749 that no compiler has been found manually.
24751 2006-03-27 Roman Kennke <kennke@aicas.com>
24753 * javax/swing/RepaintManager.java
24754 (commitBuffer): Use simple drawImage() method instead of the
24757 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24759 * javax/swing/text/PlainView.java:
24760 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24761 for painting the selected line.
24763 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24765 * javax/swing/plaf/basic/BasicSliderUI.java
24766 (getThumbSize): Removed TODO and updated API docs.
24768 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24770 * javax/swing/text/DefaultCaret.java:
24771 (mouseClicked): Word selection rewritten.
24772 (paint): Draw line inside the bounding rectangle.
24773 (damage): Retrieve caret height from line height.
24775 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24777 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24779 Check for -help option.
24780 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24782 2006-03-27 Roman Kennke <kennke@aicas.com>
24784 * javax/swing/text/FieldView.java
24785 (getPreferredSpan): Don't include trailing newline in
24787 * javax/swing/text/PlainView.java
24788 (drawLine): Don't include trailing newline.
24789 (determineMaxLineLength): Don't include trailing newline.
24790 (getLineBuffer): Made method final.
24792 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24794 * javax/swing/JSlider.java
24795 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24796 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24797 NotImplementedException,
24798 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24800 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24802 * java/lang/ProcessBuilder.java:
24805 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24807 * gnu/java/net/protocol/http/Headers.java:
24808 Match layout of file on HEAD.
24809 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24811 * java/awt/datatransfer/DataFlavor.java
24814 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24816 * gnu/java/security/jce/hash/HavalSpi.java,
24817 * gnu/java/security/jce/hash/MD2Spi.java,
24818 * gnu/java/security/jce/hash/MD4Spi.java,
24819 * gnu/java/security/jce/hash/MD5Spi.java,
24820 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24821 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24822 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24823 * gnu/java/security/jce/hash/Sha160Spi.java,
24824 * gnu/java/security/jce/hash/Sha256Spi.java,
24825 * gnu/java/security/jce/hash/Sha384Spi.java,
24826 * gnu/java/security/jce/hash/Sha512Spi.java,
24827 * gnu/java/security/jce/hash/TigerSpi.java,
24828 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24829 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24830 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24831 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24832 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24833 * gnu/java/security/jce/sig/SignatureAdapter.java,
24834 * gnu/java/security/key/IKeyPairCodec.java,
24835 * gnu/java/security/key/IKeyPairGenerator.java,
24836 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24837 * gnu/java/security/key/dss/DSSKey.java,
24838 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24839 * gnu/java/security/key/dss/DSSPrivateKey.java,
24840 * gnu/java/security/key/dss/DSSPublicKey.java,
24841 * gnu/java/security/key/dss/FIPS186.java,
24842 * gnu/java/security/key/rsa/GnuRSAKey.java,
24843 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24844 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24845 * gnu/java/security/sig/ISignature.java,
24846 * gnu/java/security/sig/ISignatureCodec.java,
24847 * gnu/java/security/sig/dss/DSSSignature.java,
24848 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24849 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24850 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24851 * gnu/java/security/util/Util.java:
24852 Remove CVS revision tags.
24854 2006-03-26 Tom Tromey <tromey@redhat.com>
24856 * java/io/InputStream.java (InputStream): Implements Closeable.
24858 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24860 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24862 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24863 getAnchor): New methods.
24864 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24865 getAnchor): New methods.
24866 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24867 getAnchor): New methods.
24868 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24869 getAnchor): New methods.
24870 * gnu/regexp/REMatch.java(start1): New field.
24871 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24872 (match): set the starting position to start1[] instead of start[],
24873 (getMatchImpl): Set the found REMatch to the input,
24874 (makeCharIndexed): Made public.
24875 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24876 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24877 set the value of start[] copying from start1[].
24878 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24880 * java/util/regex/Matcher.java(inputCharIndexed): New field
24881 to be used as a parameter of the RE#getMatch.
24883 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24885 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24886 Documented the default jre spawning strategy (none).
24887 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24888 getSystem): Obtain the acticivation system from the
24889 DefaultActivationSystem.
24891 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24893 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24894 Ask user for keystore password if one was not provided.
24896 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24898 * tools/README: Added Security tools section.
24899 Documented the jarsigner tool.
24901 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24903 * javax/swing/JScrollBar.java
24904 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24905 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24906 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24907 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24908 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24909 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24910 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24911 (getAccessibleContext): Updated API docs.
24913 2006-03-25 Tom Tromey <tromey@redhat.com>
24915 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24916 change or if generator script changes.
24918 2006-03-25 Tom Tromey <tromey@redhat.com>
24920 * javax/naming/ldap/StartTlsRequest.java: New file.
24921 * javax/naming/ldap/StartTlsResponse.java: New file.
24923 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24925 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24926 to validate all components of a resource path.
24927 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24928 allowed to walk through every component of a resource path.
24930 2006-03-25 Michael Koch <konqueror@gmx.de>
24932 * NEWS: Added item for CLDR 1.3 update.
24934 2006-03-25 Michael Koch <konqueror@gmx.de>
24936 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24937 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24938 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24939 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24940 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24941 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24944 2006-03-25 Michael Koch <konqueror@gmx.de>
24946 * resource/gnu/java/locale/LocaleInformation_az.properties,
24947 resource/gnu/java/locale/LocaleInformation_bs.properties,
24948 resource/gnu/java/locale/LocaleInformation_byn.properties,
24949 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24950 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24951 resource/gnu/java/locale/LocaleInformation_gez.properties,
24952 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24953 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24954 resource/gnu/java/locale/LocaleInformation_haw.properties,
24955 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24956 resource/gnu/java/locale/LocaleInformation_kok.properties,
24957 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24958 resource/gnu/java/locale/LocaleInformation_sid.properties,
24959 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24960 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24961 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24962 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24963 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24964 resource/gnu/java/locale/LocaleInformation_syr.properties,
24965 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24966 resource/gnu/java/locale/LocaleInformation_tig.properties,
24967 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24968 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24969 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24970 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24971 resource/gnu/java/locale/LocaleInformation_wal.properties,
24972 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24975 2006-03-25 Michael Koch <konqueror@gmx.de>
24977 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24978 resource/gnu/java/locale/LocaleInformation_kn.properties,
24979 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24980 resource/gnu/java/locale/LocaleInformation_ko.properties,
24981 resource/gnu/java/locale/LocaleInformation_sl.properties,
24982 resource/gnu/java/locale/LocaleInformation_so.properties,
24983 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24984 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24985 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24986 resource/gnu/java/locale/LocaleInformation_sr.properties:
24987 Random fixes I forgot to commit before.
24989 2006-03-25 Michael Koch <konqueror@gmx.de>
24991 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24992 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24993 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24994 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24995 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24996 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24997 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24998 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24999 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25000 resource/gnu/java/locale/LocaleInformation_en.properties,
25001 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25002 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25003 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25004 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25005 resource/gnu/java/locale/LocaleInformation_fa.properties,
25006 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25007 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25008 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25009 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25010 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25011 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25012 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25013 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25014 resource/gnu/java/locale/LocaleInformation_pa.properties,
25015 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25016 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25017 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25018 resource/gnu/java/locale/LocaleInformation_sa.properties,
25019 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25020 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25021 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25022 Updated currency formats.
25024 2006-03-25 Roman Kennke <kennke@aicas.com>
25026 * javax/swing/text/AbstractDocument.java
25027 (getAttributeContext): Made method final.
25028 (getCurrentWriter): Likewise.
25029 (getEndPosition): Likewise.
25030 (getProperty): Likewise.
25031 (getStartPosition): Likewise.
25032 (putProperty): Likewise.
25033 (readLock): Likewise.
25034 (readUnlock): Likewise.
25035 (writeLock): Likewise.
25036 (writeUnlock): Likewise.
25038 2006-03-25 Roman Kennke <kennke@aicas.com>
25040 * javax/swing/InputMap.java
25041 (allKeys): Check if parent keys is null.
25042 * javax/swing/KeyboardManager.java
25043 (registerEntireMap): Also register map's parent keys.
25044 * javax/swing/plaf/metal/MetalRootPaneUI.java
25045 (propertyChange): Also call super.propertyChange().
25047 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25049 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25050 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25051 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25052 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25053 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25054 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25056 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25058 * gnu/java/util/jar/JarUtils.java: New file.
25059 * java/util/jar/Manifest.java (CRLF): Removed.
25060 (read_main_section): Likewise.
25061 (read_version_info): Likewise.
25062 (expect_header(String,BufferedReader)): Likewise.
25063 (expect_header(String,BufferedReader,String)): Likewise.
25064 (read_header_value): Likewise.
25065 (read_attributes): Likewise.
25066 (read_attribute): Likewise.
25067 (read_individual_sections): Likewise.
25068 (read_section_name): Likewise.
25069 (write_main_section): Likewise.
25070 (write_version_info): Likewise.
25071 (write_header): Likewise.
25072 (write_main_attributes): Likewise.
25073 (write_attribute_entry): Likewise.
25074 (write_individual_sections): Likewise.
25075 (write_entry_attributes): Likewise.
25076 (read): use JarUtils.
25079 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25081 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25084 (SignerInfo(BERReader)): Updated javadoc.
25086 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25088 (encode): New method.
25089 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25090 (PKCS7_DATA): Removed.
25093 (PKCS7SignedData(BERReader)): Updated javadoc.
25095 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25097 (encode): New method.
25098 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25099 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25100 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25101 (decodePrivateKey): Decode x from an OCTET STRING.
25102 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25103 (toString): New method.
25104 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25106 (toString): New method.
25107 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25108 (toString): New method.
25109 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25111 2006-03-25 Roman Kennke <kennke@aicas.com>
25113 * java/util/GregorianCalender.java
25114 (computeTime): Fix comparison to correctly calculate the
25117 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25120 * java/awt/Window.java:
25121 (setFocusCycleRoot): New overriden method.
25122 (isFocusCycleRoot): Likewise.
25123 (getFocusCycleRootAncestor): Likewise.
25124 * java/awt/Container.java:
25125 (getFocusTraversalPolicy): Check also for anchestor == null.
25127 2006-03-25 Mark Wielaard <mark@klomp.org>
25129 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25130 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25133 2006-03-24 Tom Tromey <tromey@redhat.com>
25135 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25137 (writeChar): Removed useless cast.
25138 (writeChars(String)): Implemented.
25139 (writeDouble): Rewrote.
25140 (writeFloat): Likewise.
25141 (writeUTF): Implemented.
25142 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25145 2006-03-24 Roman Kennke <kennke@aicas.com>
25147 * javax/swing/JButton.java
25148 (def): Replaced field with defaultCapable field.
25149 (is_def): Removed field.
25150 (JButton): Initialize defaultCapable with true.
25151 (isDefaultButton): Documented and implemented method by querying
25152 the button's root pane if present.
25153 (isDefaultCapable): Changed def field to defaultCapable.
25154 Added documentation.
25155 (paramString): Call isDefaultButton() instead of accessing field,
25157 (setDefaultCapable): Changed def field to defaultCapable.
25158 Added documentation.
25159 * javax/swing/JRootPane.java
25160 (setDefaultButton): Only change the default button if the
25161 new button is defaultCapable.
25162 * javax/swing/plaf/basic/BasicRootPaneUI.java
25163 (DefaultPressAction): New class.
25164 (DefaultReleaseAction): New class.
25165 (installKeyboardActions): Implemented.
25166 (uninstallKeyboardActions): Implemented.
25167 (propertyChange): Implemented.
25168 * javax/swing/plaf/metal/MetalBorders.java
25169 (ButtonBorder.paintBorder): 'Outsourced' default theme
25170 painting to paintDefaultButtonBorder().
25171 (ButtonBorder.paintDefaultButtonBorder): New helper method
25172 to paint the border in the default theme. This also fixes
25173 painting of the border for default buttons.
25174 (ButtonBorder.paintOceanButtonBorder): Added support for
25175 default button painting. Fixed border for pressed/default state.
25176 * javax/swing/plaf/metal/MetalButtonUI.java
25177 (update): Only paint gradient when in OceanTheme and when the
25178 button is not armed.
25180 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25182 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25183 Inherit from Activator.
25185 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25187 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25188 Print debug message if debug flag is set.
25189 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25190 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25191 detail, do not call iniCause(). (exportClass): New method.
25192 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25193 Ignore null (bootstrap) class loader.
25194 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25195 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25196 visibility to protected.
25197 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25198 (toStub): New method.
25199 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25200 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25201 Explained property java.rmi.activation.port.
25203 2006-03-24 Tom Tromey <tromey@redhat.com>
25205 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25206 * gnu/java/locale/.cvsignore: New file.
25207 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25208 * java/util/Locale.java (getAvailableLocales): Clone result.
25209 (getISOCountries): Likewise.
25210 (getISOLanguages): Likewise.
25211 * scripts/generate-locale-list.sh: Make class public. Added new
25213 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25214 (getLocaleCount): Likewise.
25215 * java/text/Collator.java (getInstance): Javadoc typo fix.
25216 (getAvailableLocales): Wrote.
25218 2006-03-24 Roman Kennke <kennke@aicas.com>
25220 * javax/swing/JTabbedPane.java
25221 (getSelectedComponent): Return null when no component is
25224 2006-03-24 Mark Wielaard <mark@klomp.org>
25226 * NEWS: Add cursor and selection improvements.
25228 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25230 * java/awt/Component.java
25231 (getAccessibleName): Just return accessibleName,
25232 * javax/swing/AbstractButton.java
25233 (getAccessibleStateSet): Mark as stub,
25234 (getAccessibleName): Implemented,
25235 (getAcessibleIcon): Mark as stub,
25236 (getAccessibleRelationSet): Likewise,
25237 (getAccessibleAction): Likewise,
25238 (getAccessibleValue): Likewise,
25239 (getAccessibleActionCount): Likewise,
25240 (getAccessibleActionDescription): Likewise,
25241 (doAccessibleAction): Likewise,
25242 (getCurrentAccessibleValue): Likewise,
25243 (setCurrentAccessibleValue): Likewise,
25244 (getMinimumAccessibleValue): Likewise,
25245 (getMaximumAccessibleValue): Likewise,
25246 (getAccessibleText): Likewise,
25247 (getIndexAtPoint): Likewise,
25248 (getCharacterBounds): Likewise,
25249 (getCharCount): Likewise,
25250 (getCaretPosition): Likewise,
25251 (getAtIndex): Likewise,
25252 (getAfterIndex): Likewise,
25253 (getBeforeIndex): Likewise,
25254 (getCharacterAttribute): Likewise,
25255 (getSelectionStart): Likewise,
25256 (getSelectionEnd): Likewise,
25257 (getSelectedText): Likewise,
25258 (getTextRectangle): Likewise,
25259 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25260 (getIconTextGap): Added @since 1.4,
25261 (setContentAreaFilled): Reordered code to make event sequence match
25262 reference implementation,
25263 * javax/swing/JButton.java
25264 (getSelectedObjects): Removed,
25265 *javax/swing/JComponent.java
25266 (getAccessibleName): Call super.
25268 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25270 * javax/swing/JProgressBar.java
25271 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25272 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25273 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25274 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25275 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25276 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25277 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25278 (getAccessibleContext): Added API docs.
25280 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25282 * javax/swing/plaf/basic/BasicTextUI.java:
25283 (FocusListener.focusLost): Put current selection into the system
25286 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25288 * java/awt/Component.java:
25289 (processMouseEvent): Remove call to consume event.
25290 (dispatchEventImpl): Handle specific events first, do focus request
25291 only when mouse event was not yet consumed.
25292 * javax/swing/text/DefaultCaret.java:
25293 (mousePressed): Rewritten.
25294 (setDot): Changed order of operations.
25297 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25299 * javax/swing/JComponent.java
25300 (AccessibleJComponent.changeSupport): Removed field,
25301 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25302 (AccessibleJComponent.addPropertyChangeListener): Call super,
25303 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25304 * javax/swing/JSlider.java
25305 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25306 (AccessibleJSlider.getAccessibleRole): Likewise,
25307 (AccessibleJSlider.getAccessibleValue): Likewise,
25308 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25309 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25310 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25311 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25312 (getAccessibleContext): Added API docs.
25314 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25316 * gnu/java/rmi/activation/ActivationSystemTransient.java
25317 (debug): Made public. (constructor): Made protected.
25318 (activate, getActivationDesc): Throw more informative exceptions.
25319 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25321 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25323 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25325 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25327 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25328 system, passed in the activation descriptor field.
25329 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25330 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25331 to package private final. (equals): Compare uid, not the system.
25332 (hashCode): Forward to uid.hashCode(). toString(): New method.
25333 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25334 Rewritten. (equals): Compare UID only. toString(): New method.
25335 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25336 UID (space). (hashCode, toString): Rewritten.
25337 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25338 New method. (invoke): Treat null as an empty array for parameters.
25339 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25340 Include count, do not include the static machineId.
25342 2006-03-23 Tom Tromey <tromey@redhat.com>
25344 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25346 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25348 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25349 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25350 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25351 (force): New field. (setForce): New method. (compile): Handle -force.
25352 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25353 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25355 2006-03-23 Roman Kennke <kennke@aicas.com>
25357 * javax/swing/JTabbedPane.java
25358 (Page.getBackground): Return the JTabbedPane's background,
25359 rather than the page's component background.
25360 (Page.getForeground): Return the JTabbedPane's foreground,
25361 rather than the page's component foreground.
25362 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25363 (uninstallUI): Don't set colors to null.
25364 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25365 (paintTabBackground): Correctly determine the tab background.
25366 (getUnselectedBackground): New helper method to
25367 handle the UI property 'TabbedPane.unselectedBackground'
25370 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25372 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25373 (BorderListener.showingResizeCursor): New field.
25374 (BorderListener.mouseMoved, BorderListner.mouseExited):
25377 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25379 * javax/swing/JComboBox.java
25380 (selectWithKeyChar): Mark as stub,
25381 * javax/swing/JFileChooser.java
25382 (setDragEnabled): Mark as stub,
25383 (getDragEnabled): Likewise,
25384 * javax/swing/JSlider.java
25385 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25386 (AccessibleJSlider.getAccessibleRole): Likewise,
25387 (AccessibleJSlider.getAccessibleValue): Likewise,
25388 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25389 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25390 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25391 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25392 * javax/swing/UIManager.java
25393 (installLookAndFeel): Mark as stub,
25394 (setInstalledLookAndFeels): Likewise.
25396 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25398 * javax/swing/filechooser/UnixFileSystemView.java
25399 (getSystemDisplayName): Mark as stub,
25400 (getSystemIcon): Likewise,
25401 (getSystemTypeDescription): Likewise.
25403 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25405 * javax/swing/tree/AbstractLayoutCache.java
25406 (getNodeDimensions): Mark as stub,
25407 (getPreferredHeight): Likewise,
25408 (getPreferredWidth): Likewise,
25409 (getRowsForPaths): Likewise,
25410 (isFixedRowHeight): Likewise,
25411 * javax/swing/tree/DefaultTreeModel.java
25412 (reload()): Mark as stub,
25413 (reload(TreeNode)): Likewise,
25414 (nodeStructureChanged): Likewise,
25415 * javax/swing/tree/DefaultTreeSelectionModel.java
25416 (clone): Mark as stub,
25417 (setRowMapper): Likewise,
25418 (setSelectionPaths): Likewise,
25419 (isRowSelected): Likewise,
25420 (resetRowSelection): Likewise,
25421 (insureRowContinuity): Likewise,
25422 (arePathsContiguous): Likewise,
25423 (canPathsBeAdded): Likewise,
25424 (canPathsBeRemoved): Likewise,
25425 (notifyPathChange): Likewise,
25426 (updateLeadIndex): Likewise,
25427 (insureUniqueness): Likewise,
25428 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25430 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25432 2006-03-22 Tom Tromey <tromey@redhat.com>
25434 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25436 (getStaticAttributeKey): Likewise.
25437 (readAttributeSet): Likewise.
25438 (writeAttributeSet): Likewise.
25439 (readAttributes): Likewise.
25440 (writeAttributes): Likewise.
25441 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25443 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25445 (fireChangedUpdate): Likewise.
25448 (handleEndOfLineString): Likewise.
25449 (textAreaContent): Likewise.
25450 (preContent): Likewise.
25451 (addSpecialElement): Likewise.
25452 (setInnerHTML): Likewise.
25453 (setOuterHTML): Likewise.
25454 (insertBeforeStart): Likewise.
25455 (insertBeforeEnd): Likewise.
25456 (insertAfterEnd): Likewise.
25457 (insertAfterStart): Likewise.
25458 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25459 Mark all methods as stub.s
25460 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25462 (paintHorizontalSeparators): Likewise.
25463 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25465 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25467 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25469 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25472 2006-03-22 Mark Wielaard <mark@klomp.org>
25474 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25476 2006-03-22 Mark Wielaard <mark@klomp.org>
25479 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25480 Takes GtkImage, x and y coordinates.
25481 (gtkWidgetSetCursorUnlocked): Likewise.
25482 (GtkComponentPeer): Set cursor when set.
25483 (setCursor): Handle GtkCursor.
25484 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25486 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25487 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25488 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25489 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25491 2006-03-23 Roman Kennke <kennke@aicas.com>
25494 * gnu/java/security/Registry.java
25495 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25496 * gnu/javax/crypto/pad/PadFactory.java
25497 (getInstance): For PKCS#5, also return PKCS#7 pad
25499 (getNames): Added PKCS#5.
25500 * javax/crypto/KeyGenerator.java
25501 (getInstance): Initialize key generator before returning
25504 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25506 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25507 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25508 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25509 if COMMENTS is set.
25511 2006-03-22 Tom Tromey <tromey@redhat.com>
25513 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25514 (getBoolean): Likewise.
25515 (getString): Likewise.
25516 (getIcon): Likewise.
25518 2006-03-22 Mark Wielaard <mark@klomp.org>
25521 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25522 (GLightweightPeer(Component)): Install MouseListener.
25523 (setCursor): Implement.
25524 (mouseEntered): New method.
25526 2006-03-22 Tom Tromey <tromey@redhat.com>
25528 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25530 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25532 (getFontForState): Likewise.
25533 (getInsets): Added 'result' argument.
25534 (getPainter): Renamed.
25536 2006-03-22 Tom Tromey <tromey@redhat.com>
25538 * javax/swing/plaf/synth/SynthPainter.java
25539 (paintScrollBarThumbBackground): Added 'orientation' argument.
25540 (paintScrollBarThumbBorder): Likewise.
25541 (paintSliderThumbBackground): Likewise.
25542 (paintSliderThumbBorder): Likewise.
25543 (paintTabbedPaneTabBackground): Added 'index' argument.
25544 (paintTabbedPaneTabBorder): Likewise.
25546 2006-03-22 Tom Tromey <tromey@redhat.com>
25548 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25549 (toString): New method.
25551 2006-03-22 Tom Tromey <tromey@redhat.com>
25553 * doc/hacking.texinfo (Source Code Style Guide): Mention
25554 NotImplementedException.
25555 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25556 (flushBefore): Mark as stub.
25558 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25560 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25563 (writeBit): Likewise.
25564 (writeChars): Likewise.
25565 (writeUTF): Likewise.
25566 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25569 * java/net/URLConnection.java (getContent): Mark as stub.
25570 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25571 * java/awt/TexturePaint.java (createContext): Mark as stub.
25572 (getTransparency): Mark as stub.
25573 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25574 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25575 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25577 (getImageCapabilities): Likewise.
25578 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25579 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25580 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25582 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25583 (getAdvanceBetween): Likewise.
25584 (getLayout): Likewise.
25585 (insertChar): Likewise.
25586 (getLineBreakIndex): Likewise.
25587 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25588 (getAdvance): Likewise.
25589 (getAscent): Likewise.
25590 (getDescent): Likewise.
25591 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25592 (insertChar): Likewise.
25593 (nextLayout): Likewise.
25594 (nextLayout): Likewise.
25595 (nextOffset): Likewise.
25596 (nextOffset): Likewise.
25597 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25598 (equals): Likewise.
25599 (getAdvance): Likewise.
25600 (getAscent): Likewise.
25601 (getBounds): Likewise.
25602 (getDescent): Likewise.
25603 (hashCode): Likewise.
25604 (ImageGraphicAttribute): Likewise.
25605 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25606 (getJustificationInfo): Likewise.
25607 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25608 (getGlyphCharIndices): Likewise.
25609 (getGlyphOutline): Likewise.
25610 (getGlyphPixelBounds): Likewise.
25611 (getLayoutFlags): Likewise.
25612 (getPixelBounds): Likewise.
25613 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25614 (getRSB): Likewise.
25615 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25616 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25617 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25619 (resetRecognizer): Likewise.
25620 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25622 (getNativesForFlavor): Likewise.
25623 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25624 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25626 (getRegion): Likewise.
25627 (createUI): Likewise.
25628 (initialize): Likewise.
25629 (uninitialize): Likewise.
25630 (getDefaults): Likewise.
25632 (shouldUpdateStyleOnAncestorChanged): Likewise.
25633 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25635 (getPreferredSize): Likewise.
25636 (getMaximumSize): Likewise.
25637 (paintText): Likewise.
25638 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25640 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25642 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25644 * java/io/ObjectStreamConstants.java: Added since tag.
25645 (PROTOCOL_VERSION_1): Added javadoc.
25646 (PROTOCOL_VERSION_2): Likewise.
25647 * java/io/ObjectOutputStream.java:
25648 (setDefaultProtocolVersion): Removed.
25649 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25651 2006-03-21 Lillian Angel <langel@redhat.com>
25653 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25654 (BMPInfoHeader): Removed debug lines.
25655 * gnu/javax/imageio/bmp/EncodeRLE4.java
25656 (encode): Implemented.
25657 (uncompress): New function implemented to
25658 uncompress the image before encoding.
25659 * gnu/javax/imageio/bmp/EncodeRLE8.java
25660 (encode): Implemented.
25661 (uncompress): New function implemented to
25662 uncompress the image before encoding.
25664 2006-03-21 Roman Kennke <kennke@aicas.com>
25666 * javax/swing/text/html/FormView.java
25667 (getImageData): New helper method.
25669 2006-03-21 Tom Tromey <tromey@redhat.com>
25671 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25673 (Unsafe): Now final.
25675 2006-03-21 Roman Kennke <kennke@aicas.com>
25677 * javax/swing/text/html/FormView.java
25678 (MouseEventListener): New inner class.
25680 2006-03-21 Roman Kennke <kennke@aicas.com>
25682 * javax/swing/text/html/ListView.java: New file.
25684 2006-03-21 Tom Tromey <tromey@redhat.com>
25686 * java/text/Bidi.java: Completed.
25688 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25690 * javax/swing/JTable.java:
25691 (columnAtPoint): Removed the null check, this method should throw a NPE
25692 if the argument is null.
25694 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25696 * javax/swing/text/DefaultHighlighter.java:
25697 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25699 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25701 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25702 the textcomponent having a selection.
25703 (clearSelection): Clear 'componentWithSelection' variable.
25704 (handleSelection): Clear selection of current component having a
25705 selection before setting a new selection in another component.
25706 (mouseDragged): Only react on left mouse button.
25707 (mouseClicked): Only react on left mouse button.
25709 2006-03-21 Roman Kennke <kennke@aicas.com>
25711 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25712 (paintContentBorderTopEdge): Implemented.
25713 (paintContentBorderBottomEdge): Implemented.
25714 (paintContentBorderLeftEdge): Implemented.
25715 (paintContentBorderRightEdge): Implemented.
25716 (isLastTabInRun): New helper method.
25718 2006-03-21 Roman Kennke <kennke@aicas.com>
25720 * javax/swing/JTabbedPane.java
25721 (Page.getForeground): Fall back to returning the tabbed pane's
25722 foreground if no foreground has been exclicitly set.
25724 2006-03-21 Roman Kennke <kennke@aicas.com>
25726 * javax/swing/plaf/metal/MetalComboBoxButton.java
25727 (setEnabled): Update colors of button correctly.
25728 * javax/swing/plaf/metal/MetalComboBoxUI.java
25729 (MetalPropertyChangeListener.propertyChange): Update the colors
25730 of the list and the button when any of the color properties
25731 of the ComboBox change.
25733 2006-03-21 Roman Kennke <kennke@aicas.com>
25735 * javax/swing/plaf/basic/BasicButtonUI.java
25736 (uninstallDefaults): Only nullify button colors if they are
25737 not UIResource instances.
25739 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25741 * javax/swing/JComponent.java
25742 (AccessibleJComponent.getAccessibleDescription): Call super,
25743 * javax/swing/JToolTip.java: API doc updates all over, plus
25744 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25745 (AccessibleJToolTip.getAccessibleRole): Implemented,
25746 (getAccessibleContext): Implemented,
25747 (paramString): Reimplemented,
25748 (setComponent): Fire PropertyChangeEvent,
25749 (setTipText): Likewise.
25751 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25753 * java/util/Formatter.java:
25754 Make the class final.
25756 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25758 * java/lang/System.java:
25759 (nanoTime()): Documented.
25760 * java/lang/Thread.java:
25761 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25762 Added docs and security check.
25763 (getUncaughtExceptionHandler()): Documented.
25764 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25765 Added docs and security check.
25766 (getDefaultUncaughtExceptionHandler()): Documented.
25767 (getId()): Documented.
25768 (Thread.State): Documented.
25769 * vm/reference/gnu/classpath/Unsafe.java:
25771 (getUnsafe()): Updated to handle security.
25773 2006-03-20 Tom Tromey <tromey@redhat.com>
25775 * java/lang/System.java:
25776 (nanoTime()): Implemented.
25777 * java/lang/Thread.java:
25778 (getId()): Implemented.
25779 * java/util/AbstractMap.java:
25780 (SimpleImmutableEntry): New 1.6 class.
25781 (BasicMapEntry): Modified to be SimpleEntry.
25782 * java/util/Collections.java:
25783 Modified to use SimpleEntry.
25784 * java/util/EnumMap.java: Likewise.
25785 * java/util/HashMap.java: Likewise.
25786 * java/util/Hashtable.java: Likewise.
25787 * java/util/TreeMap.java: Likewise.
25788 * vm/reference/gnu/classpath/Unsafe.java:
25789 New class to handle low-level facilities for concurrency.
25790 * vm/reference/java/lang/VMSystem.java:
25791 (nanoTime()): Implemented.
25793 2006-03-20 Tom Tromey <tromey@redhat.com>
25795 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25796 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25797 (CertStoreSpi): Updated throws clause.
25798 * java/security/cert/CertPathValidatorSpi.java: Added import for
25800 (engineValidate): Updated 'throws' clause.
25801 * java/security/cert/PKIXParameters.java: Javadoc fix.
25802 * java/security/cert/X509CertSelector.java
25803 (setAuthorityKeyIdentifier): Javadoc fix.
25805 2006-03-20 Tom Tromey <tromey@redhat.com>
25807 * .classpath: Build gnu.javax.swing.plaf.
25809 2006-03-20 Lillian Angel <langel@redhat.com>
25811 * gnu/javax/imageio/bmp/BMPDecoder.java:
25812 Removed unneeded import.
25813 * gnu/javax/imageio/bmp/BMPEncoder.java:
25815 * gnu/javax/imageio/bmp/BMPFileHeader.java
25816 (BMPFileHeader): New constructor used to create info header
25817 for an output stream.
25818 (write): Fixed indexes.
25819 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25820 Initialized writerSpiNames field.
25821 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25823 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25825 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25826 Change visibility for fields.
25827 (BMPInfoHeader): New constructor used to create
25828 file header for an output stream.
25829 (intToDWord): New method. Converts an int to a
25831 (intToWord): New method. Converts an int to a word.
25832 * gnu/javax/imageio/bmp/DecodeBF32.java:
25833 Removed unneeded imports.
25834 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25836 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25838 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25840 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25842 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25844 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25846 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25848 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25850 * javax/imageio/ImageIO.java:
25853 2006-03-20 Roman Kennke <kennke@aicas.com>
25855 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25856 (TabbedPaneLayout.normalizeTabRuns): New method.
25857 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25858 (paintTabBorder): Replaced if-else chain with switch.
25859 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25861 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25863 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25865 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25867 (paintTabBackground): Fetch background color from the TabbedPane.
25868 Fixed painting and improved by not using fillPolygon, and instead
25869 using fillRectangle. Replaced if-else chain with switch.
25870 (calculateMaxTabHeight): Added overridden method with FIXME.
25871 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25873 (paintContentBorderTopEdge): Added stub with FIXME.
25874 (paintContentBorderBottomEdge): Added stub with FIXME.
25875 (paintContentBorderLeftEdge): Added stub with FIXME.
25876 (paintContentBorderRightEdge): Added stub with FIXME.
25878 2006-03-20 Roman Kennke <kennke@aicas.com>
25880 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25881 (tabsOpaque): New field.
25882 (installDefaults): Fetch tabsOpaque property from UIManager.
25883 (paintTab): Fill tab background when tabsOpaque property is true.
25884 * javax/swing/plaf/basic/BasicLookAndFeel.java
25885 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25887 2006-03-20 Roman Kennke <kennke@aicas.com>
25889 * javax/swing/JTabbedPane.java
25890 (Pane.getBackground): When no background was explicitly set, return
25891 the JTabbedPane's background.
25893 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25895 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25896 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25897 * org/omg/CORBA/BAD_INV_ORDER.java,
25898 * org/omg/CORBA/BAD_CONTEXT.java,
25899 * org/omg/CORBA/BAD_OPERATION.java,
25900 * org/omg/CORBA/BAD_PARAM.java,
25901 * org/omg/CORBA/BAD_QOS.java,
25902 * org/omg/CORBA/BAD_TYPECODE.java,
25903 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25904 * org/omg/CORBA/COMM_FAILURE.java,
25905 * org/omg/CORBA/CurrentHolder.java,
25906 * org/omg/CORBA/DATA_CONVERSION.java,
25907 * org/omg/CORBA/FREE_MEM.java,
25908 * org/omg/CORBA/IMP_LIMIT.java,
25909 * org/omg/CORBA/INITIALIZE.java,
25910 * org/omg/CORBA/INTERNAL.java,
25911 * org/omg/CORBA/INTF_REPOS.java,
25912 * org/omg/CORBA/INVALID_ACTIVITY.java,
25913 * org/omg/CORBA/INVALID_TRANSACTION.java,
25914 * org/omg/CORBA/INV_FLAG.java,
25915 * org/omg/CORBA/INV_IDENT.java,
25916 * org/omg/CORBA/INV_OBJREF.java,
25917 * org/omg/CORBA/INV_POLICY.java,
25918 * org/omg/CORBA/MARSHAL.java,
25919 * org/omg/CORBA/NO_RESOURCES.java,
25920 * org/omg/CORBA/NO_MEMORY.java,
25921 * org/omg/CORBA/NO_IMPLEMENT.java,
25922 * org/omg/CORBA/NO_PERMISSION.java,
25923 * org/omg/CORBA/NO_RESPONSE.java,
25924 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25925 * org/omg/CORBA/OBJ_ADAPTER.java,
25926 * org/omg/CORBA/ParameterModeHolder.java,
25927 * org/omg/CORBA/PolicyError.java,
25928 * org/omg/CORBA/PolicyErrorHolder.java,
25929 * org/omg/CORBA/PolicyHolder.java,
25930 * org/omg/CORBA/PolicyListHolder.java,
25931 * org/omg/CORBA/REBIND.java,
25932 * org/omg/CORBA/TIMEOUT.java,
25933 * org/omg/CORBA/TRANSACTION_MODE.java,
25934 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25935 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25936 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25937 * org/omg/CORBA/TRANSIENT.java,
25938 * org/omg/CORBA/TypeCodeHolder.java,
25939 * org/omg/CORBA/UNKNOWN.java,
25940 * org/omg/CORBA/UnionMember.java,
25941 * org/omg/CORBA/UnknownUserException.java,
25942 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25943 * org/omg/CORBA/WrongTransactionHolder.java,
25944 * org/omg/IOP/IOR.java,
25945 * org/omg/IOP/IORHolder.java,
25946 * org/omg/IOP/MultipleComponentProfileHolder.java,
25947 * org/omg/IOP/ServiceContextHolder.java,
25948 * org/omg/IOP/ServiceContextListHolder.java,
25949 * org/omg/IOP/TaggedComponentHolder.java,
25950 * org/omg/IOP/TaggedProfileHolder.java,
25951 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25952 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25953 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25954 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25955 Made class final, various javadoc fixlets.
25956 * org/omg/CORBA/CompletionStatus.java,
25957 * org/omg/CORBA/PERSIST_STORE.java,
25958 * org/omg/CORBA/ValueMember.java,
25959 * org/omg/PortableInterceptor/ForwardRequest.java,
25960 * org/omg/PortableInterceptor/InvalidSlot.java,
25961 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25962 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25963 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25964 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25965 * org/omg/IOP/Encoding.java,
25966 * org/omg/IOP/TaggedComponent.java,
25967 * org/omg/IOP/TaggedProfile.java: Made class final.
25968 * org/omg/CORBA/SystemException.java: Made class abstract.
25969 * org/omg/CORBA/UserException.java: Made class abstract.
25970 (UserException): Now protected.
25971 (UserException(String)): Likewise.
25972 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25973 (typecode): Removed unused private variable.
25975 2006-03-20 Chris Burdess <dog@gnu.org>
25978 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25980 2006-03-20 Roman Kennke <kennke@aicas.com>
25982 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25983 (paintTabArea): Look up tab run indices in tabRuns array instead
25984 of using the index directly.
25986 2006-03-20 Roman Kennke <kennke@aicas.com>
25988 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25989 (paintTab): Fixed painting.
25990 (paintText): Fixed text painting.
25991 (paintFocusIndicator): Fixed painting of the focus rectangle.
25992 (paintContentBorder): Fixed painting of the content area.
25994 2006-03-20 Mark Wielaard <mark@klomp.org>
25996 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25997 static lock Object field.
25998 (produce): Synchronize on pixbufLock when calling initState(),
25999 pumpBytes() and pumpDone().
26000 (finalize): Likewise when calling finish().
26001 (GdkPixbufWriter.write): Likewise when calling streamImage().
26002 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26003 when calling loadPixbuf. Chain exception.
26004 (GtkImage(byte[])): Likewise when calling loadImageFromData.
26005 (GtkImage(URL)): Likewise.
26006 (GtkImage(int,int)): Likewise when calling createPixmap().
26007 (GtkImage(GtkImage,int,int,int)): Likewise when calling
26008 createScaledPixmap().
26009 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26010 (setImage): Likewise when calling createPixmap() and setPixels().
26011 (getSource): Likewise when calling getPixels().
26012 (flush): Likewise when calling freePixmap().
26013 (finalize): Likewise.
26014 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26015 drawPixelsScaledFlipped().
26016 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26017 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26018 gdk_threads_enter/leave().
26019 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26020 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26021 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26022 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26024 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26025 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26026 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26027 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26028 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26029 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26030 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26031 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26033 2006-03-20 Roman Kennke <kennke@aicas.com>
26035 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26036 (calculateTabHeight): Not need to use SwingUtilities here.
26037 (getTabInsets): Do not rotate insets.
26039 2006-03-20 Roman Kennke <kennke@aicas.com>
26041 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26042 (paint): Make sure the layout is valid before painting.
26043 (paintTabArea): Made tab painting more straightforward and efficient.
26045 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26047 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26048 (getScrollableUnitIncrement): Rewritten.
26049 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26050 (getScrollableUnitIncrement): Rewritten.
26051 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26052 (ROWS_PER_WHEEL_CLICK): New field.
26053 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26055 2006-03-20 Roman Kennke <kennke@aicas.com>
26057 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26058 (paint): Make sure the layout is valid before painting.
26059 (paintTabArea): Made tab painting more straightforward and efficient.
26061 2006-03-20 Roman Kennke <kennke@aicas.com>
26063 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26064 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26066 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26067 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26068 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26069 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26070 bounds here. That is moved into layoutContainer().
26071 (calculateSize): Correctly respect insets. Made code slightly more
26072 clear and efficient.
26073 (calculateTabRects): Rewritten completely. The old code was
26074 not quite right and unstable in some situations.
26075 (layoutContainer): Moved layout of tabbed pane's subcomponents
26077 (tabRunsDirty): New field.
26078 (rolloverTab): New field.
26079 (tabForCoordinate): Rewritten for simplicity and correctness.
26080 (setRolloverTab): New method.
26081 (getRolloverTab): New method.
26083 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26085 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26086 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26087 (getScrollableUnitIncrement
26088 * javax/swing/Scrollable.java: Documented.
26089 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26090 (MouseWheelHandler):Rewritten.
26092 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26094 * doc/vmintegration.texinfo:
26095 Updated with gnu.classpath.Unsafe
26097 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26100 Updated with VMArray and Unsafe changes.
26102 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26104 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26105 (getScrollableUnitIncrement): Rewritten.
26106 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26107 (getScrollableUnitIncrement): Rewritten.
26108 (getScrollableBlockIncrement): Rewritten.
26109 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26110 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26111 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26112 New field. (installListeners): Install wheel listeners.
26113 (uninstallListeners): Uninstall wheel listeners.
26114 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26115 of the MouseWheelListener. (installListeners): Do not install wheel
26116 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26118 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26120 * vm/reference/gnu/classpath/Unsafe.java:
26122 (getUnsafe()): Updated to handle security.
26124 2006-03-19 Tom Tromey <tromey@redhat.com>
26126 * vm/reference/gnu/classpath/Unsafe.java:
26127 New class to handle low-level facilities for concurrency.
26129 2006-03-19 Mark Wielaard <mark@klomp.org>
26131 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26132 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26133 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26134 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26136 2006-03-19 Mark Wielaard <mark@klomp.org>
26138 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26140 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26142 2006-03-19 Michael Koch <konqueror@gmx.de>
26144 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26145 resource/gnu/java/locale/LocaleInformation_am.properties,
26146 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26147 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26148 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26149 resource/gnu/java/locale/LocaleInformation_bg.properties,
26150 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26151 resource/gnu/java/locale/LocaleInformation_ca.properties,
26152 resource/gnu/java/locale/LocaleInformation_cs.properties,
26153 resource/gnu/java/locale/LocaleInformation_cy.properties,
26154 resource/gnu/java/locale/LocaleInformation_da.properties,
26155 resource/gnu/java/locale/LocaleInformation_de.properties,
26156 resource/gnu/java/locale/LocaleInformation_dv.properties,
26157 resource/gnu/java/locale/LocaleInformation_el.properties,
26158 resource/gnu/java/locale/LocaleInformation_en.properties,
26159 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26160 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26161 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26162 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26163 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26164 resource/gnu/java/locale/LocaleInformation_es.properties,
26165 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26166 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26167 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26168 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26169 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26170 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26171 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26172 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26173 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26174 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26175 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26176 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26177 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26178 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26179 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26180 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26181 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26182 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26183 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26184 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26185 resource/gnu/java/locale/LocaleInformation_fa.properties,
26186 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26187 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26188 resource/gnu/java/locale/LocaleInformation_fi.properties,
26189 resource/gnu/java/locale/LocaleInformation_fr.properties,
26190 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26191 resource/gnu/java/locale/LocaleInformation_ga.properties,
26192 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26193 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26194 resource/gnu/java/locale/LocaleInformation_hr.properties,
26195 resource/gnu/java/locale/LocaleInformation_hu.properties,
26196 resource/gnu/java/locale/LocaleInformation_id.properties,
26197 resource/gnu/java/locale/LocaleInformation_is.properties,
26198 resource/gnu/java/locale/LocaleInformation_it.properties,
26199 resource/gnu/java/locale/LocaleInformation_ja.properties,
26200 resource/gnu/java/locale/LocaleInformation_kk.properties,
26201 resource/gnu/java/locale/LocaleInformation_kl.properties,
26202 resource/gnu/java/locale/LocaleInformation_km.properties,
26203 resource/gnu/java/locale/LocaleInformation_ky.properties,
26204 resource/gnu/java/locale/LocaleInformation_lo.properties,
26205 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26206 resource/gnu/java/locale/LocaleInformation_lt.properties,
26207 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26208 resource/gnu/java/locale/LocaleInformation_lv.properties,
26209 resource/gnu/java/locale/LocaleInformation_mk.properties,
26210 resource/gnu/java/locale/LocaleInformation_mn.properties,
26211 resource/gnu/java/locale/LocaleInformation_mr.properties,
26212 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26213 resource/gnu/java/locale/LocaleInformation_ms.properties,
26214 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26215 resource/gnu/java/locale/LocaleInformation_mt.properties,
26216 resource/gnu/java/locale/LocaleInformation_nb.properties,
26217 resource/gnu/java/locale/LocaleInformation_nl.properties,
26218 resource/gnu/java/locale/LocaleInformation_nn.properties,
26219 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26220 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26221 resource/gnu/java/locale/LocaleInformation_pa.properties,
26222 resource/gnu/java/locale/LocaleInformation_pl.properties,
26223 resource/gnu/java/locale/LocaleInformation_pt.properties,
26224 resource/gnu/java/locale/LocaleInformation_ru.properties,
26225 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26226 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26227 resource/gnu/java/locale/LocaleInformation_sa.properties,
26228 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26229 resource/gnu/java/locale/LocaleInformation_sk.properties,
26230 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26231 resource/gnu/java/locale/LocaleInformation_sv.properties,
26232 resource/gnu/java/locale/LocaleInformation_sw.properties,
26233 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26234 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26235 resource/gnu/java/locale/LocaleInformation_te.properties,
26236 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26237 resource/gnu/java/locale/LocaleInformation_th.properties,
26238 resource/gnu/java/locale/LocaleInformation_ti.properties,
26239 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26240 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26241 resource/gnu/java/locale/LocaleInformation_tr.properties,
26242 resource/gnu/java/locale/LocaleInformation_tt.properties,
26243 resource/gnu/java/locale/LocaleInformation_uk.properties,
26244 resource/gnu/java/locale/LocaleInformation_ur.properties,
26245 resource/gnu/java/locale/LocaleInformation_uz.properties,
26246 resource/gnu/java/locale/LocaleInformation_zh.properties,
26247 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26248 More updates for CLDR 1.3.
26250 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26252 * doc/vmintegration.texinfo:
26253 Updated to include VMArray.
26254 * include/Makefile.am:
26255 Replace java_lang_reflect_Array.h with
26256 java_lang_reflect_VMArray.h
26257 * include/java_lang_reflect_VMArray.h:
26258 New autogenerated header.
26259 * include/java_lang_reflect_Array.h:
26261 * java/lang/reflect/Array.java:
26262 (newInstance(Class,int)): Calls VMArray.
26263 (createMultiArray(Class,int[],int)): Likewise.
26264 (createObjectArray(Class,int)): Removed.
26265 * native/jni/java-lang/Makefile.am:
26266 Replaced java_lang_reflect_Array.c with
26267 java_lang_reflect_VMArray.c
26268 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26269 Renamed from java_lang_reflect_Array.c.
26270 * vm/reference/java/lang/reflect/VMArray.java:
26271 (createObjectArray(Class,int)): Native method moved
26272 from java.lang.reflect.Array.
26274 2006-03-19 Roman Kennke <kennke@aicas.com>
26276 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26277 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26279 * examples/gnu/classpath/examples/swing/Demo.java
26280 (mkButtonBar): Hook up theme editor.
26281 (mkMenuBar): Hook up theme editor.
26283 2006-03-19 Roman Kennke <kennke@aicas.com>
26285 * javax/swing/plaf/basic/BasicFileChooserUI.java
26286 (ApproveSelectionAction.actionPerformed): Added case for when
26287 nothing has been selected but the user has typed a filename
26288 into the textfield.
26289 (getFileName): Return the value of the text field.
26291 2006-03-19 Roman Kennke <kennke@aicas.com>
26293 * javax/swing/JColorChooser.java
26294 (createDialog): Create JDialog instead of ModalDialog. Make this
26295 dialog modal by calling setModal(true).
26296 (ModalDialog): Removed unnecessary inner class.
26298 2006-03-19 Tom Tromey <tromey@redhat.com>
26300 * java/awt/font/NumericShaper.java: Rewrote.
26302 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26304 * javax/swing/plaf/basic/BasicTableUI.java:
26305 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26306 New field. MouseInputHandler.mouseWheelMoved): New method.
26307 (installListeners): Register MouseInputHandler as
26308 wheel listener also.
26310 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26313 * javax/swing/ViewportLayout.java (layoutContainer):
26314 If Scrollable tracks dimension, set view size to the port size.
26315 If port is larger than the view, move the view to the top/left.
26317 2006-03-19 Roman Kennke <kennke@aicas.com>
26319 * javax/swing/MenuSelectionManager.java
26320 (isComponentPartOfCurrentMenu): Also consider the first element
26321 in a menu selection list. Make a isDescendentFrom check instead
26322 of simple equals to also catch sub components.
26324 2006-03-19 Roman Kennke <kennke@aicas.com>
26326 * javax/swing/JComboBox.java
26327 (actionPerformed): Fetch selected item directly from the editor
26328 instead of trying to get it from the event.
26330 2006-03-19 Roman Kennke <kennke@aicas.com>
26332 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26333 (listener): Removed field.
26334 (BasicComboBoxEditor): Removed initialization of listener field.
26335 (addActionListener): Add listener directly to editor.
26336 (removeActionListener): Remove listener directly from editor.
26337 (ComboBoxEditorListener): Removed class.
26338 * javax/swing/plaf/basic/BasicComboBoxUI.java
26339 (getPreferredSize): Fixed to return the minimumSize.
26340 (getMinimumSize): Improved code for more clearness.
26341 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26342 (rectangleForCurrentValue): Correctly respect insets.
26343 (getDefaultSize): Return preferredSize here. Dont override height
26345 (getDisplaySize): Moved around code for more clearness. Added
26346 handling of prototype renderer.
26347 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26348 arrowButton bounds since the former depends on the latter.
26349 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26350 (MetalComboBoxButton): Make button rollover disabled.
26351 (isFocusTraversable): Return false unconditionally.
26352 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26353 (EditorTextField): New class. Fixes the size properties.
26354 (MetalComboBoxEditor): Create instance of EditorTextField.
26355 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26356 (getMinimumSize): Fixed editable size.
26358 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26360 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26362 2006-03-18 Roman Kennke <kennke@aicas.com>
26364 * javax/swing/plaf/metal/MetalToolBarUI.java
26365 (update): Added overridden method to support OceanTheme.
26367 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26369 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26370 Activate the cell editing on character keystroke.
26372 2006-03-18 Mark Wielaard <mark@klomp.org>
26374 * java/awt/Component.java (eventTypeEnabled): Handle
26375 MouseEvent.MOUSE_WHEEL.
26376 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26377 New callback method.
26378 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26379 (AWT_MOUSE_WHEEL): New constant.
26380 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26381 (postMouseWheelEventID): New static variable.
26382 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26383 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26384 (button_number): Renamed to ...
26385 (button_number_direction): variable to hold button number or scroll
26387 (component_button_press_cb): Use button_number_direction.
26388 (component_scroll_cb): New static callback function.
26390 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26392 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26393 Return without action.
26395 2006-03-18 Mark Wielaard <mark@klomp.org>
26397 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26398 Don't cast graphics object to GdkGraphics.
26399 (updateComponent): Likewise.
26401 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26403 * examples/gnu/classpath/examples/swing/TableDemo.java
26404 (TModel.getColumnClass): Set second column to Icon.
26405 (TModel.isCellEditable): Say icons are not editable.
26406 (createContent): Fill the in second column with some icons from
26409 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26411 * examples/gnu/classpath/examples/swing/Demo.java
26412 (mkButtonBar): Set maximal button bar height to the preferred height.
26414 2006-03-18 Roman Kennke <kennke@aicas.com>
26416 * javax/swing/plaf/basic/BasicComboPopup.java
26417 (show): Substract insets from scroller width.
26418 (getPopupHeightForRowCount): If height==0, return a default of 100
26419 instead for empty ComboBoxes.
26421 2006-03-18 Roman Kennke <kennke@aicas.com>
26423 * javax/swing/plaf/basic/BasicLookAndFeel.java
26424 (PopupHelper.autoClosePopups): Removed field.
26425 (PopupHelper.mousePressed): Removed processing of registered
26427 (registerForAutoClose): Removed unneeded method.
26428 (autoClosePopups): Removed unneeded method.
26429 (registerForAutoClose): Removed unneeded method.
26431 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26433 * javax.swing.JTable.java (TableTextField): Set border.
26434 (moveToCellBeingEdited): Do not adjust the editor boundaries
26436 2006-03-18 Michael Koch <konqueror@gmx.de>
26438 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26439 resource/gnu/java/locale/LocaleInformation_af.properties,
26440 resource/gnu/java/locale/LocaleInformation_am.properties,
26441 resource/gnu/java/locale/LocaleInformation_ar.properties,
26442 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26443 resource/gnu/java/locale/LocaleInformation_be.properties,
26444 resource/gnu/java/locale/LocaleInformation_bg.properties,
26445 resource/gnu/java/locale/LocaleInformation_bn.properties,
26446 resource/gnu/java/locale/LocaleInformation_ca.properties,
26447 resource/gnu/java/locale/LocaleInformation_cs.properties,
26448 resource/gnu/java/locale/LocaleInformation_cy.properties,
26449 resource/gnu/java/locale/LocaleInformation_da.properties,
26450 resource/gnu/java/locale/LocaleInformation_de.properties,
26451 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26452 resource/gnu/java/locale/LocaleInformation_dz.properties,
26453 resource/gnu/java/locale/LocaleInformation_en.properties,
26454 resource/gnu/java/locale/LocaleInformation_eo.properties,
26455 resource/gnu/java/locale/LocaleInformation_es.properties,
26456 resource/gnu/java/locale/LocaleInformation_et.properties,
26457 resource/gnu/java/locale/LocaleInformation_eu.properties,
26458 resource/gnu/java/locale/LocaleInformation_fa.properties,
26459 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26460 resource/gnu/java/locale/LocaleInformation_fi.properties,
26461 resource/gnu/java/locale/LocaleInformation_fo.properties,
26462 resource/gnu/java/locale/LocaleInformation_fr.properties,
26463 resource/gnu/java/locale/LocaleInformation_ga.properties,
26464 resource/gnu/java/locale/LocaleInformation_gl.properties,
26465 resource/gnu/java/locale/LocaleInformation_gu.properties,
26466 resource/gnu/java/locale/LocaleInformation_he.properties,
26467 resource/gnu/java/locale/LocaleInformation_hi.properties,
26468 resource/gnu/java/locale/LocaleInformation_hr.properties,
26469 resource/gnu/java/locale/LocaleInformation_hu.properties,
26470 resource/gnu/java/locale/LocaleInformation_hy.properties,
26471 resource/gnu/java/locale/LocaleInformation_id.properties,
26472 resource/gnu/java/locale/LocaleInformation_is.properties,
26473 resource/gnu/java/locale/LocaleInformation_it.properties,
26474 resource/gnu/java/locale/LocaleInformation_ja.properties,
26475 resource/gnu/java/locale/LocaleInformation_ka.properties,
26476 resource/gnu/java/locale/LocaleInformation_km.properties,
26477 resource/gnu/java/locale/LocaleInformation_ko.properties,
26478 resource/gnu/java/locale/LocaleInformation_lo.properties,
26479 resource/gnu/java/locale/LocaleInformation_lt.properties,
26480 resource/gnu/java/locale/LocaleInformation_lv.properties,
26481 resource/gnu/java/locale/LocaleInformation_mk.properties,
26482 resource/gnu/java/locale/LocaleInformation_mr.properties,
26483 resource/gnu/java/locale/LocaleInformation_ms.properties,
26484 resource/gnu/java/locale/LocaleInformation_mt.properties,
26485 resource/gnu/java/locale/LocaleInformation_nb.properties,
26486 resource/gnu/java/locale/LocaleInformation_nl.properties,
26487 resource/gnu/java/locale/LocaleInformation_nn.properties,
26488 resource/gnu/java/locale/LocaleInformation_om.properties,
26489 resource/gnu/java/locale/LocaleInformation_pl.properties,
26490 resource/gnu/java/locale/LocaleInformation_ps.properties,
26491 resource/gnu/java/locale/LocaleInformation_pt.properties,
26492 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26493 resource/gnu/java/locale/LocaleInformation_ro.properties,
26494 resource/gnu/java/locale/LocaleInformation_ru.properties,
26495 resource/gnu/java/locale/LocaleInformation_sk.properties,
26496 resource/gnu/java/locale/LocaleInformation_sl.properties,
26497 resource/gnu/java/locale/LocaleInformation_so.properties,
26498 resource/gnu/java/locale/LocaleInformation_sq.properties,
26499 resource/gnu/java/locale/LocaleInformation_sr.properties,
26500 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26501 resource/gnu/java/locale/LocaleInformation_sv.properties,
26502 resource/gnu/java/locale/LocaleInformation_sw.properties,
26503 resource/gnu/java/locale/LocaleInformation_ta.properties,
26504 resource/gnu/java/locale/LocaleInformation_te.properties,
26505 resource/gnu/java/locale/LocaleInformation_th.properties,
26506 resource/gnu/java/locale/LocaleInformation_tr.properties,
26507 resource/gnu/java/locale/LocaleInformation_uk.properties,
26508 resource/gnu/java/locale/LocaleInformation_uz.properties,
26509 resource/gnu/java/locale/LocaleInformation_vi.properties,
26510 resource/gnu/java/locale/LocaleInformation_zh.properties,
26511 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26512 Updated to use the new localized strings for currencies, languages,
26513 variants, territories, etc.
26515 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26517 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26518 (start, end): Added comment about the negative values of them,
26519 (finish): Saves the input text in matchedCharIndexed,
26520 (toString): If the start or end index is out of bounds of the
26521 matched text, get the substring from matchedCharIndexed.
26522 Added special handlings in case start/end index < -1,
26523 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26524 Added special handlings in case start/end index < -1,
26525 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26526 found match, but keep the index as the original match.
26527 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26528 found match, but keep the index as the original match.
26529 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26530 in case start/end index < -1.
26532 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26534 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26537 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26539 * javax/swing/text/DefaultCaret.java:
26540 (mouseClicked) Use setDot() and moveDot() instead of
26541 JTextComponent.select().
26543 2006-03-17 Roman Kennke <kennke@aicas.com>
26545 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26546 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26547 border painting for the Ocean theme.
26548 (MetalComboBoxEditor): Create editor directly instead of going
26551 2006-03-17 Roman Kennke <kennke@aicas.com>
26553 * javax/swing/text/JTextComponent.java
26554 (JTextComponent): Make text components opaque.
26556 2006-03-17 Roman Kennke <kennke@aicas.com>
26558 * javax/swing/plaf/metal/MetalComboBoxUI.java
26559 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26561 (MetalPropertyChangeListener.propertyChange): Update focusable
26562 flag according to the enable and editable state.
26563 (editablePropertyChanged): Removed unnecessary code.
26564 (getMinimumSize): Rewritten to correctly compute the
26565 size, respecting the insets of the components and the icon,
26566 the visual properties of the combobox, etc.
26567 (configureEditor): Update listeners correctly.
26568 (unconfigureEditor): Update listeners correctly.
26569 (layoutComboBox): Implemented.
26571 2006-03-17 Roman Kennke <kennke@aicas.com>
26573 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26574 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26575 instead of Flush3DBorder.
26576 (paintBorder): Fixed border painting.
26577 (editorBorderInsets): Fixed border's insets.
26579 2006-03-17 Roman Kennke <kennke@aicas.com>
26581 * javax/swing/plaf/metal/MetalComboBoxButton.java
26582 (rendererPane): Documented.
26583 (MetalComboBoxButton): Set enabled flag from ComboBox.
26584 Set focusable flag from ComboBox's enabled flag.
26585 (isFocusTraversable): Make button focus traversable if
26586 ComboBox is not editable but enable.
26587 (paintComponent): Fixed painting to correctly adjust
26588 the boxes of the renderer and button.
26590 2006-03-17 Roman Kennke <kennke@aicas.com>
26592 * javax/swing/plaf/basic/BasicButtonUI.java
26593 (installDefaults): Only install UI margin if installed margin.
26594 is null or a UIResource.
26595 (uninstallDefaults): Only uninstall margin if it's
26598 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26600 * javax/swing/text/DefaultCaret.java:
26601 (mouseClicked) Use setDot() and moveDot() instead of
26602 JTextComponent.select().
26604 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26606 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26607 inner classes into package-private inner classes, added actions
26608 for caret movement and selection to the next and previous word
26609 and an action which selects the whole text.
26611 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26613 * javax/swing/Spring.java: Uncomment springdebug methods and
26614 rename them toString.
26615 * javax/swing/SpringLayout.java: Likewise.
26617 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26619 * javax/swing/text/FieldView.java:
26620 (viewToModel): Added call to adjust allocation area.
26622 2006-03-17 Roman Kennke <kennke@aicas.com>
26624 * javax/swing/plaf/basic/BasicComboBoxUI.java
26625 (mouseListener): Removed field.
26626 (buttonBackground): Removed field.
26627 (buttonShadow): Removed field.
26628 (buttonDarkShadow): Removed field.
26629 (buttonHighlight): Removed field.
26630 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26631 (installUI): Initialize and configure renderer and editor here.
26632 (uninstallUI): Close popup before uninitializing.
26633 Message popup that we are uninitializing. Clear layout.
26634 (installDefaults): Install UI border. Don't install colors.
26635 (installListeners): Install listeners fetched from the popup.
26636 Remove handling of mouseListener.
26637 (uninstallDefaults): Uninstall border. Don't handle colors.
26638 (uninstallListeners): Don't handle mouseListener. Uninstall
26639 listener from the popup.
26640 (createMouseListener): Removed method.
26641 (createRenderer): Create UIResource.
26642 (installComponents): Cleaned up.
26643 (uninstallComponents): Only remove renderer when it is
26645 (addEditor): Remove editor before adding new one.
26646 Fetch editor from comboBox.
26647 (removeEditor): Only do something when editor != null. Unconfigure
26648 editor before removing.
26649 (configureEditor): Add key listener. Call comboBox.configureEditor.
26650 (unconfigureEditor): Removed key listener.
26651 (configureArrowButton): Only handle when arrowButton != null.
26652 Add mouse listeners to arrow button.
26653 (unconfigureArrowButton): Remove listeners.
26654 (createArrowButton): Don't handle colors here.
26655 (setPopupVisible): Don't handle focus here.
26656 (paint): Only paint when comboBox is not editable. Update
26658 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26659 (getMinimumSize): Respect insets here.
26660 (getMaximumSize): Return preferredSize with width of 32767.
26661 (getInsets): Return ComboBox insets.
26662 (paintCurrentValue): Paint using currentValuePane.
26663 Install correct colors. Don't revalidate.
26664 (paintCurrentValueBackground): Implemented.
26665 (getDefaultSize): Reimplemented using a default renderer.
26666 (getDisplaySize): Reimplemented to use renderer.
26667 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26668 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26669 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26670 (FocusHandler.focusGained): Don't invalidate minimumSize.
26671 (FocusHandler.focusLost): Don't invalidate minimumSize.
26672 Only close popup if focus change is not temporary.
26673 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26674 Reconfigure editor if not null.
26675 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26676 editor if necessary.
26677 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26678 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26679 (MouseHandler): Removed unnecessary class.
26681 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26683 * examples/gnu/classpath/examples/swing/Demo.java:
26684 (Demo): Set default closing operation to shutdown the runtime.
26686 2006-03-17 Roman Kennke <kennke@aicas.com>
26688 * javax/swing/plaf/basic/BasicComboPopup.java
26689 (BasicComboPopup): Create listeners here.
26690 Configure components here.
26691 (show): Correctly calculate bounds using computePopupBounds().
26692 Make scroller fixed-size. Removed special autocloser handling.
26693 (hide): Rewritten to use MenuSelectionHandler.
26694 (createList): Don't set selection mode here.
26695 (configureList): Correctly install colors and fonts and selectionMode.
26696 (createScroller): Set scrollpane policies.
26697 (configureScroller): Make scroller and scrollbar not-focusable.
26698 (configurePopup): Make popup opaque and borderPainted.
26699 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26700 (delegateFocus): Implemented.
26701 (convertMouseEvent): Implemented.
26702 (updateListBoxSelectionForEvent): Implemented to also handle
26704 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26705 Only open popup on left mouse-click.
26706 (InvocationMouseHandler.mouseReleased): Rewritten.
26707 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26708 support autoscrolling.
26709 (ItemHandler.itemStateChanged): Implemented to sync selection with
26711 (ListMouseHandler.mouseReleased): Fetch selected index directly
26713 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26715 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26716 When model changes, then update listeners correctly.
26717 (uninstallListeners): Don't uninstall list listeners.
26718 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26720 (syncSelection): New helper method.
26722 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26724 * javax/swing/text/PlainView.java:
26725 (drawLine): Rewritten.
26726 (drawSelectedText): Corrected last argument for
26727 Utilities.drawTabbedText() call.
26728 (paint): Store start and end of selection in object variables,
26729 store constant values of for-loop in local variables.
26730 * javax/swing/text/Utilities.java:
26731 (drawTabbedText): Add 'pixelWidth' to the return value, store
26732 constant value of for-loop in local variable.
26734 2006-03-17 Roman Kennke <kennke@aicas.com>
26736 * javax/swing/plaf/basic/BasicComboPopup.java
26737 (BasicComboPopup): Create listeners here.
26738 Configure components here.
26739 (show): Correctly calculate bounds using computePopupBounds().
26740 Make scroller fixed-size. Removed special autocloser handling.
26741 (hide): Rewritten to use MenuSelectionHandler.
26742 (createList): Don't set selection mode here.
26743 (configureList): Correctly install colors and fonts and selectionMode.
26744 (createScroller): Set scrollpane policies.
26745 (configureScroller): Make scroller and scrollbar not-focusable.
26746 (configurePopup): Make popup opaque and borderPainted.
26747 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26748 (delegateFocus): Implemented.
26749 (convertMouseEvent): Implemented.
26750 (updateListBoxSelectionForEvent): Implemented to also handle
26752 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26753 Only open popup on left mouse-click.
26754 (InvocationMouseHandler.mouseReleased): Rewritten.
26755 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26756 support autoscrolling.
26757 (ItemHandler.itemStateChanged): Implemented to sync selection with
26759 (ListMouseHandler.mouseReleased): Fetch selected index directly
26761 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26763 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26764 When model changes, then update listeners correctly.
26765 (uninstallListeners): Don't uninstall list listeners.
26766 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26768 (syncSelection): New helper method.
26770 2006-03-17 Roman Kennke <kennke@aicas.com>
26772 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26773 (noFocusBorder): Make border with insets of (1,1,1,1).
26774 (BasicComboBoxRenderer): Make renderer opaque.
26775 No need to explicitly set alignment.
26776 (getListCellRendererComponent): Rewritten to correctly initialize
26779 2006-03-17 Roman Kennke <kennke@aicas.com>
26781 * javax/swing/JPopupMenu.java
26782 (setVisible): Handle JPopupMenu opening and closing via
26783 the MenuSelectionHandler.
26785 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26787 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26788 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26789 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26791 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26792 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26793 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26794 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26795 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26796 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26797 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26798 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26799 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26800 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26802 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26804 * java/rmi/activation/Activatable.java: Implemented.
26805 java/rmi/activation/ActivationDesc.java: Implemented.
26806 java/rmi/activation/ActivationGroup.java: Implemented.
26807 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26808 java/rmi/activation/ActivationID.java: Implemented.
26809 java/rmi/activation/ActivationSystem.java: Implemented.
26810 * gnu/java/rmi/server/UnicastServerRef.java
26811 (exportObject, incommingMessageCall): Documented.
26812 * java/rmi/activation/package.html: Documented.
26813 * java/rmi/server/ObjID.java (objNum, space): Made package
26815 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26816 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26818 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26819 gnu/java/rmi/activation/BidiTable.java: New file.
26820 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26821 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26822 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26824 2006-03-17 Mark Wielaard <mark@klomp.org>
26826 * java/security/BasicPermission.java (BasicPermission): Check
26827 name equals empty string to force NullPointerException.
26829 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26832 Commit patch by Caolan McNamara <caolanm@redhat.com>
26833 * javax/swing/Spring.java: Complete implementation
26834 * javax/swing/SpringLayout.java: Likewise.
26836 2006-03-16 Keith Seitz <keiths@redhat.com>
26838 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26840 (run): Remove catch clause for InterruptedException. It is no
26843 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26845 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26846 (getFontMetrics): Handle monospaced fonts specially.
26848 2006-03-16 Keith Seitz <keiths@redhat.com>
26850 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26851 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26852 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26853 Don't suspend the current thread unless it is not part of the JDWP
26856 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26858 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26860 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26861 font metrics through toolkit.
26862 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26864 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26865 (getFontMetrics): To calculate Java logical ascent and descent
26866 values, average Pango ink and logical values.
26868 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26870 * java/lang/Character.java: Updated header comment.
26872 2006-03-16 Tom Tromey <tromey@redhat.com>
26874 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26876 * javax/sound/sampled/FloatControl.java: Now abstract.
26877 * javax/sound/sampled/EnumControl.java: Now abstract.
26878 * javax/sound/sampled/CompoundControl.java: Now abstract.
26879 * javax/sound/sampled/BooleanControl.java: Now abstract.
26881 2006-03-16 Tom Tromey <tromey@redhat.com>
26883 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26885 2006-03-16 Roman Kennke <kennke@aicas.com>
26887 * java/util/zip/ZipFile.java
26888 (openFile): New helper method.
26889 (ZipFile): Use new openFile method to ensure the proper
26890 exception is thrown. This applies for all overloaded constructors.
26892 2006-03-16 Roman Kennke <kennke@aicas.com>
26894 * java/text/DateFormatSymbols.java
26895 (setAmPmStrings): Added null check and throw NPE.
26896 (setEras): Likewise.
26897 (setLocalPatternChars): Likewise.
26898 (setMonths): Likewise.
26899 (setShortMonths): Likewise.
26900 (setShortWeekdays): Likewise.
26901 (setWeekdays): Likewise.
26902 (setZoneStrings): Likewise.
26904 2006-03-16 Roman Kennke <kennke@aicas.com>
26906 * javax/swing/DefaultDesktopManager.java
26907 (iconifyFrame): Repaint after removing the frame.
26908 (removeIconFor): Repaint after removing the icon.
26910 2006-03-16 Roman Kennke <kennke@aicas.com>
26912 * javax/swing/JInternalFrame.java
26913 (remove): Respect the rootPaneCheckingEnabled flag here.
26915 2006-03-16 Roman Kennke <kennke@aicas.com>
26917 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26918 Moved from examples into gnu.javax.swing.. namespace.
26919 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26920 Moved to gnu.javax.swing.. namespace.
26921 * examples/gnu/classpath/examples/swing/Demo.java:
26922 (themesMenu): New field. Used to disable theme switch in
26924 (mkMenuBar): Added L&F menu.
26925 (ChangeThemeAction.actionPerformed): Only switch theme when
26927 (ChangeLAFAction): New class used for changing themes.
26928 * javax/swing/UIManager.java
26929 (installed): Added GNU L&F as installed L&F.
26931 2006-03-16 Mark Wielaard <mark@klomp.org>
26933 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26934 * examples/gnu/classpath/examples/icons/badge.png: Added.
26935 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26936 from icon directory.
26938 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26940 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26942 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26943 * examples/gnu/classpath/examples/awt/Demo.java: Add
26944 AnimationApplet demo.
26945 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26948 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26951 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26953 (handleEvent): Likewise.
26954 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26956 (beginNativeRepaint): Remove method.
26957 (endNativeRepaint): Likewise.
26958 (handleEvent): Call paintComponent and updateComponent.
26959 (paintComponent): New method.
26960 (updateComponent): Likewise.
26961 (repaint): Return early if width or height is less than one.
26962 (postExposeEvent): Remove isInRepaint reference.
26963 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26965 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26966 from GtkWindowPeer.
26967 (postMouseEvent): Likewise.
26968 (postExposeEvent): Likewise.
26969 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26970 Override to do nothing.
26971 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26972 from GtkWindowPeer.
26973 (postMouseEvent): Likewise.
26974 (postExposeEvent): Likewise.
26975 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26976 paint and update handling from GtkComponentPeer.
26977 (updateComponent): Override to call paintComponent.
26978 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26979 gdk_flush calls with schedule_flush calls.
26980 (flush): New function.
26981 (schedule_flush): Likewise.
26983 2006-03-15 Tom Tromey <tromey@redhat.com>
26985 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26987 (BCSIterator): Likewise.
26988 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26990 (BCSSProxyServiceProvider): Likewise.
26991 (BCSSServiceProvider): Likewise.
26993 2006-03-15 Tom Tromey <tromey@redhat.com>
26995 * javax/sound/midi/Track.java (Track): New constructor.
26996 (events): Now package-private.
26997 * javax/sound/midi/MidiUnavailableException.java
26998 (MidiUnavailableException): Removed invalid constructors.
26999 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27000 * javax/sound/midi/InvalidMidiDataException.java
27001 (InvalidMidiDataException): Removed invalid constructors.
27002 * javax/sound/midi/Sequencer.java (hashCode): Now final.
27003 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27004 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27005 (SYSTEM_EXCLUSIVE): Removed.
27006 (getDataLength): Updated.
27007 * javax/sound/midi/MidiDevice.java (Info): Now protected.
27008 (equals): Now final
27009 (getName): Now final.
27010 (getVendor): Now final.
27011 (getDescription): Likewise.
27012 (hashCode): Likewise.
27013 (getVersion): Likewise.
27014 (toString): Likewise.
27015 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27016 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27017 (getEarlyReflectionDelay): Likewise.
27018 (getEarlyReflectionIntensity): Likewise.
27019 (getLateReflectionDelay): Likewise.
27020 (getLateReflectionIntensity): Likewise.
27021 (toString): Likewise.
27022 * javax/sound/sampled/Port.java (toString): Now final.
27023 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27024 (getLine): Likewise.
27025 (getType): Likewise.
27026 * javax/sound/sampled/Mixer.java (Info): Now protected.
27027 (getDescription): Now final.
27028 (getName): Likewise.
27029 (getVendor): Likewise.
27030 (getVersion): Likewise.
27031 (toString): Likewise.
27032 * javax/sound/sampled/Control.java: Now abstract.
27033 (Type.toString): Now final.
27035 2006-03-15 Keith Seitz <keiths@redhat.com>
27037 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27038 of this redundant variable.
27039 (LineTable): Assert that the number of line numbers and the number of
27040 code indicies is the same.
27042 2006-03-15 Tom Tromey <tromey@redhat.com>
27044 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27046 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27048 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27049 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27050 * java/util/zip/Inflater.java (end): Not deprecated.
27051 * java/util/zip/Deflater.java (end): Not deprecated.
27052 * java/text/Bidi.java (Bidi): Now final.
27053 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27055 2006-03-15 Keith Seitz <keiths@redhat.com>
27057 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27058 (Location): Index is a long, not an int.
27059 (getMethod): New method.
27060 (getIndex): New method.
27061 (toString): New method.
27063 2006-03-15 Tom Tromey <tromey@redhat.com>
27065 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27066 * java/awt/image/LookupOp.java (filter): Now final.
27067 (getBounds2D): Likewise.
27068 (getPoint2D): Likewise.
27069 (getTable): Likewise.
27070 (getRenderingHints): Likewise.
27071 * java/awt/image/ConvolveOp.java (filter): Now final.
27072 (getBounds2D): Likewise.
27073 (getKernel): Likewise.
27074 (getPoint2D): Likewise.
27075 (getRenderingHints): Likewise.
27076 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27077 (getMatrix): Likewise.
27078 (getBounds2D): Likewise.
27079 (getRenderingHints): Likewise.
27080 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27081 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27083 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27085 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27087 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27089 2006-03-15 Keith Seitz <keiths@redhat.com>
27091 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27093 (matches): Implement.
27095 2006-03-15 Keith Seitz <keiths@redhat.com>
27097 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27099 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27101 2006-03-15 Tom Tromey <tromey@redhat.com>
27103 * java/lang/StrictMath.java (signum): New methods.
27105 2006-03-15 Tom Tromey <tromey@redhat.com>
27107 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27109 2006-03-15 Lillian Angel <langel@redhat.com>
27112 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27113 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27114 Added check to avoid segmentation fault.
27116 2006-03-15 Lillian Angel <langel@redhat.com>
27118 * java/awt/Container.java
27119 (getComponentAt): Fixed documentation.
27120 (getComponentAt): Likewise.
27122 2006-03-15 Roman Kennke <kennke@aicas.com>
27124 * javax/swing/JComponent.java
27125 (dragBuffer): New field.
27126 (dragBufferInitialized): New field.
27127 (paint): Added facility for buffered dragging of components.
27128 (initializeDragBuffer): New method.
27129 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27131 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27132 (BorderListener.mouseDragged): Turn on buffered dragging.
27133 (BorderListener.mouseReleased): Turn off buffered dragging.
27135 2006-03-15 Lillian Angel <langel@redhat.com>
27137 * java/awt/Container.java
27138 (getComponentAt): Fixed documentation.
27139 (getComponentAt): Likewise.
27140 (findComponentAt): Likewise.
27141 (findComponentAt): Likewise.
27143 2006-03-15 Roman Kennke <kennke@aicas.com>
27145 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27146 (PropertyChangeHandler.propertyChange): Call enableActions().
27147 Fixed 'iconable' property name.
27149 2006-03-15 Chris Burdess <dog@gnu.org>
27152 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27154 2006-03-15 Roman Kennke <kennke@aicas.com>
27156 * examples/gnu/classpath/examples/swing/Demo.java:
27157 (desktop): New field.
27158 (mkMenuBar): Added new subdemos.
27159 (mkButtonWorld): Removed.
27160 (CheckCellRenderer): Moved to ListDemo.
27161 (LabelCellRenderer): Moved to ListDemo.
27162 (mkTreeWorld): Moved to TreeDemo.
27163 (mkDesktopWorld): Removed.
27164 (mkTabWorld): Moved to TabbedPaneDemo.
27165 (mkTabbedPane): Removed.
27166 (Demo): Replaced 'worlds' tabbed pane with desktop.
27167 (PopupAction): Made class non-static.
27168 (PopupAction.actionPerformed): Bring up subdemos in internal
27170 (mkButtonBar): Added new demos.
27171 (createDesktop): New method.
27172 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27173 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27174 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27175 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27176 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27178 2006-03-15 Lillian Angel <langel@redhat.com>
27180 * java/awt/Container.java
27181 (getComponentAt): Fixed mistake in comments.
27182 (getComponentAt): Likewise.
27183 (locate): Likewise. Also, handled lightweight components.
27184 Heavyweights take precedence over lightweights, so we should
27185 iterate through the heavyweights first.
27187 2006-03-15 Lillian Angel <langel@redhat.com>
27189 * java/awt/Container.java
27190 (getComponentAt): Added API documentation.
27191 (getComponentAt): Likewise.
27192 (locate): Likewise. Also, removed lines to ignore
27193 invisible components.
27194 (findComponentAt): Added API documentation.
27195 (findComponentAt): Added API documentation.
27196 (findComponentForMouseEvent): Removed, never used.
27198 2006-03-15 Roman Kennke <kennke@aicas.com>
27200 * javax/swing/Popup.java
27201 (LightweightPopup.show): Repaint the panel after showing it.
27203 2006-03-15 Lillian Angel <langel@redhat.com>
27205 * java/awt/Component.java
27206 (show): repaint should only be called if the component
27207 isShowing and isLightweight.
27209 2006-03-15 Roman Kennke <kennke@aicas.com>
27211 * javax/swing/JInternalFrame.java
27212 (setClosable): Made this property bound.
27213 (setResizable): Made this property bound.
27214 (setIconifiable): Made this property bound.
27215 (setMaximizable): Made this property bound.
27217 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27219 * javax/swing/table/TableColumn.java
27220 (sizeWidthToFit): Implemented.
27222 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27224 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27225 (setIdentifier): Fire required PropertyChangeEvent,
27226 (setCellEditor): Likewise.
27228 2006-03-15 Roman Kennke <kennke@aicas.com>
27230 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27231 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27232 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27233 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27234 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27235 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27236 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27237 * examples/gnu/classpath/examples/swing/TableDemo.java,
27238 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27239 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27240 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27241 * examples/gnu/classpath/examples/swing/Demo.java:
27242 Cleaned up. Reworked handling of Sub-demos to load lazily.
27243 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27244 New interface. Used for loading the subdemos lazily.
27246 2006-03-15 Roman Kennke <kennke@aicas.com>
27248 * javax/swing/plaf/basic/BasicToolBarUI.java
27249 (PropertyListener.propertyChange): Added null check to avoid NPE.
27251 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27253 * javax/swing/table/TableColumn.java
27254 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27256 (minWidth): Likewise,
27257 (preferredWidth): Likewise,
27258 (maxWidth): Likewise,
27259 (headerRenderer): Likewise,
27260 (cellRenderer): Likewise,
27261 (cellEditor): Likewise,
27262 (changeSupport): Likewise,
27263 (firePropertyChange(String, Object, Object)): Removed,
27264 (firePropertyChange(String, int. int)): Likewise,
27265 (firePropertyChange(String, boolean, boolean)): Likewise,
27266 (setModelIndex): Fire property change,
27267 (setHeaderValue): Call changeSupport directly to generate event,
27268 (setHeaderRenderer): Likewise,
27269 (setCellRenderer): Likewise,
27270 (setWidth): Likewise,
27271 (setPreferredWidth): Likewise,
27272 (setMinWidth): Likewise,
27273 (setMaxWidth): Likewise,
27274 (createDefaultHeaderRenderer): Added API docs.
27276 2006-03-14 Roman Kennke <kennke@aicas.com>
27278 * examples/gnu/classpath/examples/swing/Demo.java
27279 Removed static initializer.
27280 (mkMenuBar): Made method non-static. Added themes menu.
27281 (ChangeThemeAction): New inner class, used to change themes.
27283 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27285 * javax/swing/table/TableColumn.java
27286 (setMaxWidth): Updated width and preferredWidth if necessary,
27287 (getMaxWidth): Updated API docs.
27289 2006-03-14 Roman Kennke <kennke@aicas.com>
27291 * javax/swing/plaf/basic/BasicSliderUI.java
27292 (TrackListener.mouseDragged): Only process event when slider is
27294 (TrackListener.mouseReleased): Only process event when slider is
27296 (TrackListener.mousePressed): Only process event when slider is
27299 2006-03-14 Roman Kennke <kennke@aicas.com>
27301 * NEWS: Added note about OceanTheme support.
27303 2006-03-14 Roman Kennke <kennke@aicas.com>
27305 * javax/swing/plaf/metal/MetalIconFactory.java
27306 (HorizontalSliderThumbIcon.gradientMask): New field
27307 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27309 (VerticalSliderThumbIcon.gradientMask): New field
27310 (VerticalSliderThumbIcon.paintIcon): Added support for the
27312 * javax/swing/plaf/metal/MetalUtils.java
27313 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27314 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27316 2006-03-14 Mark Wielaard <mark@klomp.org>
27319 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27320 of handleMouseEvent.
27321 (handleMouseEvent): Return boolean to indicate whether we handled the
27322 event by passing it to a lightweight.
27324 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27326 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27327 * org/omg/PortableServer/ServantActivatorPOA.java,
27328 * org/omg/PortableServer/ServantLocatorPOA.java:
27329 Make class abstract and minor api docs fixlets.
27330 * org/omg/PortableServer/ForwardRequest.java,
27331 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27332 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27333 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27334 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27335 * org/omg/PortableServer/POAPackage/NoServant.java,
27336 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27337 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27338 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27339 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27340 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27341 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27342 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27343 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27344 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27345 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27347 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27349 * NEWS: Added entry about printing support.
27351 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27353 * javax/swing/table/TableColumn.java
27354 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27355 (isResizable): Likewise,
27356 (setWidth): Likewise,
27357 (getWidth): Likewise,
27358 (setPreferredWidth): Likewise,
27359 (getPreferredWidth): Likewise,
27360 (setMinWidth): Check for negative argument and update width and
27361 preferredWidth if necessary,
27362 (getMinWidth): Updated API docs.
27364 2006-03-14 Lillian Angel <langel@redhat.com>
27366 * java/awt/Container.java
27367 (addImpl): Removed call to repaint. No need to repaint here.
27369 2006-03-14 Roman Kennke <kennke@aicas.com>
27371 * javax/swing/plaf/metal/MetalSliderUI.java
27372 (paintTrack): Added OceanTheme support.
27374 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27376 * javax/swing/table/TableColumn.java
27377 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27378 (isResizable): Updated API docs.
27380 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27382 * javax/swing/LookAndFeel.java: Updated API docs.
27384 2006-03-14 Roman Kennke <kennke@aicas.com>
27386 * javax/swing/plaf/metal/MetalUtils.java
27387 (paintGradient): Added support for 'masked' gradients.
27388 (paintHorizontalGradient): Likewise.
27389 (paintVerticalGradient): Likewise.
27390 * javax/swing/plaf/metal/MetalIconFactory.java
27391 (RadioButtonIcon.gradientMask): New field.
27392 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27394 2006-03-14 Mark Wielaard <mark@klomp.org>
27397 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27399 (removeActionListener): Add listener to ComboBoxEditorListener.
27400 (removeActionListener): Remove listener from ComboBoxEditorListener.
27401 (ComboBoxEditorListener): New static helper class.
27403 2006-03-14 Roman Kennke <kennke@aicas.com>
27405 * javax/swing/plaf/metal/MetalBorders.java
27406 (getToolBarButtonBorder): Don't create a UIResource border
27408 * javax/swing/plaf/metal/MetalToolBarUI.java
27409 (installUI): New overridden method. Installs the rollover property.
27410 (uninstallUI): New overridden method. Resets the rollover property.
27411 * javax/swing/plaf/metal/MetalUtils.java
27412 (paintGradient): Fetch Float values from the UIManager. Adjusted
27413 method signatures accordingly.
27414 (paintHorizontalGradient): Adjusted signature to accept float
27416 (paintVerticalGradient): Adjusted signature to accept float
27418 * javax/swing/plaf/metal/OceanTheme.java
27419 (addCustomEntriesToTable): Added missing UIDefaults entries,
27420 except of Icons. Fixed gradient entries to use Float instead
27423 2006-03-14 Roman Kennke <kennke@aicas.com>
27425 * javax/swing/JInternalFrame.java
27426 (JInternalFrame): Make JInternalFrame opaque.
27427 * javax/swing/JToolBarFrame.java
27428 (JToolBar): Make JToolBar opaque.
27430 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27432 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27433 * javax/swing/tree/TreePath.java: Likewise.
27435 2006-03-13 Tom Tromey <tromey@redhat.com>
27437 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27439 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27440 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27442 2006-03-13 Keith Seitz <keiths@redhat.com>
27444 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27445 (executeMethods): Output number of methods.
27447 2006-03-13 Roman Kennke <kennke@aicas.com>
27449 * javax/swing/plaf/basic/BasicButtonUI.java
27450 (uninstallDefaults): Only uninstall border if it's a UIResource.
27451 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27452 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27453 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27454 (installUI): Don't touch the opaque flag of the glassPane and
27455 the frame. Don't invalidate.
27456 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27457 (installUI): Don't touch the opaque flag of the glassPane.
27458 * javax/swing/plaf/basic/BasicMenuBarUI.java
27459 (properyChangeListener): Made field private.
27460 (ChangeHandler): Made class private.
27461 (ContainerHandler): Made class private.
27462 (PropertyChangeHandler): Made class private.
27463 * javax/swing/plaf/basic/BasicMenuUI.java
27464 (MenuHandler): Made class private.
27465 (PropertyChangeHandler): Removed unneeded class.
27466 (MenuDragMouseHandler): Made class private.
27467 (MenuKeyHandler): Made class private.
27468 * javax/swing/plaf/basic/BasicPanelUI.java
27469 (installDefaults): Made method protected. Don't set opaque
27471 * javax/swing/plaf/basic/BasicScrollBarUI.java
27472 (TrackListener.shouldScroll): Made method private.
27473 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27474 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27475 Made constructor package private.
27476 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27477 (cellBorder): Made field private.
27478 * javax/swing/plaf/basic/BasicTextUI.java
27479 (installDefaults): Don't make component opaque.
27480 * javax/swing/plaf/basic/BasicToolBarUI.java
27481 (createNonRollOverBorder): Don't create UIResource border.
27482 (createRollOverBorder): Don't create UIResource border.
27483 (installComponents): Moved setRolloverBorders call here.
27484 (installDefaults): Moved setRolloverBorders call from here.
27485 (installUI): Don't make toolbar opaque.
27486 (setBorderToNonRollover): Handle AbstractButton instead of
27488 (uninstallComponents): Don't nullify class fields here.
27490 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27492 * javax/swing/SwingUtilities.java
27493 (calculateInnerArea): handle null component, and replace
27494 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27497 2006-03-13 Roman Kennke <kennke@aicas.com>
27499 * javax/swing/JColorChooser.java
27500 (updateUI): Don't call revalidate().
27501 * javax/swing/JComboBox.java
27502 (updateUI): Don't call invalidate().
27503 * javax/swing/JDesktopPane.java
27504 (updateUI): Don't call invalidate().
27505 * javax/swing/JFileChooser.java
27506 (updateUI): Don't call revalidate().
27507 * javax/swing/JMenu.java
27508 (updateUI): Don't call invalidate().
27509 * javax/swing/JMenuBar.java
27510 (updateUI): Don't call invalidate().
27511 * javax/swing/JMenuItem.java
27512 (updateUI): Don't call invalidate().
27513 * javax/swing/JOptionPane.java
27514 (updateUI): Don't call invalidate().
27515 * javax/swing/JPopupMenu.java
27516 (updateUI): Don't call invalidate().
27517 * javax/swing/JProgressBar.java
27518 (updateUI): Don't call invalidate().
27519 * javax/swing/JScrollBar.java
27520 (updateUI): Don't call invalidate() and repaint().
27521 * javax/swing/JScrollPane.java
27522 (updateUI): Rewritten to be like the other updateUI()
27524 * javax/swing/JSlider.java
27525 (updateUI): Don't call invalidate() and repaint().
27526 * javax/swing/JSplitPane.java
27527 (updateUI): Don't call invalidate() and repaint().
27528 * javax/swing/JTabbedPane.java
27529 (updateUI): Don't call invalidate().
27530 * javax/swing/JTable.java
27531 (updateUI): Don't call revalidate() and repaint().
27532 * javax/swing/JToolBar.java
27533 (updateUI): Don't call revalidate() and repaint().
27534 * javax/swing/JToolTip.java
27535 (updateUI): Don't call revalidate() and repaint().
27537 2006-03-13 Roman Kennke <kennke@aicas.com>
27539 * javax/swing/SwingUtilities.java
27540 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27541 menus and non-Swing components is improved.
27542 (updateComponentTreeUIImpl): New helper method.
27543 (replaceUIActionMap): Added check for uiActionMap==parent to
27545 (replaceUIInputMap): Added check for uiInputMap==parent to
27548 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27550 * gnu/classpath/debug/Component.java:
27551 (IPP) New component for IPP debugging.
27552 (EVERYTHING): Adapted to include IPP.
27553 * javax/print/PrintServiceLookup.java:
27554 (registerServiceProvider): New method.
27555 (registerService): Likewise.
27556 (lookupPrintServices): Likewise.
27557 (lookupMultiDocPrintServices): Likewise.
27558 (lookupDefaultPrintService): Likewise.
27559 (static_initializer): Likewise.
27560 (printServiceLookups): New field for found service providers.
27561 (printServices): New field for application registered providers.
27562 (systemProvider): New field for the system provider.
27563 * javax/print/ServiceUI.java: New file.
27564 * javax/print/package.html: Added more usage content.
27565 * javax/print/event/package.html: Likewise.
27566 * javax/print/attribute/package.html: Likewise.
27567 * javax/print/attribute/standard/package.html: Likewise.
27568 * gnu/javax/print/PrintUriException.java,
27569 gnu/javax/print/PrintFlavorException.java,
27570 gnu/javax/print/PrinterDialog.java,
27571 gnu/javax/print/PrintAttributeException.java,
27572 gnu/javax/print/CupsPrintServiceLookup.java,
27573 gnu/javax/print/CupsServer.java,
27574 gnu/javax/print/CupsPrintService.java,
27575 gnu/javax/print/CupsMediaMapping.java,
27576 gnu/javax/print/CupsIppOperation.java:
27577 New implementation files of the Java Print Service API.
27578 * gnu/javax/print/ipp/IppValueTag.java,
27579 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27580 gnu/javax/print/ipp/IppStatusCode.java,
27581 gnu/javax/print/ipp/IppUtilities.java,
27582 gnu/javax/print/ipp/IppResponse.java,
27583 gnu/javax/print/ipp/IppException.java,
27584 gnu/javax/print/ipp/IppPrintService.java,
27585 gnu/javax/print/ipp/IppRequest.java,
27586 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27587 gnu/javax/print/ipp/IppDelimiterTag.java,
27588 gnu/javax/print/ipp/DocPrintJobImpl.java:
27589 New files of the IPP client implementation.
27590 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27591 gnu/javax/print/ipp/attribute/StatusMessage.java,
27592 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27593 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27594 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27595 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27596 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27597 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27598 New attribute syntax/role files of the printing implementation.
27599 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27600 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27601 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27602 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27603 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27604 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27605 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27606 gnu/javax/print/ipp/attribute/supported/
27607 OrientationRequestedSupported.java,
27608 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27609 gnu/javax/print/ipp/attribute/supported/
27610 MultipleDocumentHandlingSupported.java,
27611 gnu/javax/print/ipp/attribute/supported/
27612 MultipleDocumentJobsSupported.java,
27613 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27614 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27615 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27616 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27617 gnu/javax/print/ipp/attribute/supported/
27618 GeneratedNaturalLanguageSupported.java,
27619 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27620 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27621 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27622 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27623 New supported attribute files.
27624 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27625 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27626 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27627 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27628 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27629 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27630 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27631 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27632 New printer description attribute files.
27633 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27634 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27635 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27636 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27637 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27638 gnu/javax/print/ipp/attribute/job/JobId.java,
27639 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27640 gnu/javax/print/ipp/attribute/job/JobUri.java,
27641 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27642 New job description attribute files.
27643 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27644 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27645 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27646 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27647 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27648 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27649 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27650 gnu/javax/print/ipp/attribute/defaults/
27651 MultipleDocumentHandlingDefault.java,
27652 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27653 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27654 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27655 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27656 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27657 New default printing attribute files.
27658 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27659 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27660 * examples/gnu/classpath/examples/print/Demo.java:
27661 New demo application of the current implemented functionality.
27663 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27665 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27666 java/rmi/activation/ActivationDesc.java.java,
27667 java/rmi/activation/ActivationGroup.java,
27668 java/rmi/activation/ActivationID.java,
27669 java/rmi/activation/ActivationMonitor.java,
27670 java/rmi/activation/ActivationSystem.java,
27671 java/rmi/activation/package.html: Documenting.
27673 2006-03-13 Roman Kennke <kennke@aicas.com>
27675 * javax/swing/JInternalFrame.java
27676 (setSelected): Repaint frame when it is showing and the selection
27679 2006-03-13 Roman Kennke <kennke@aicas.com>
27681 * javax/swing/AbstractButton.java
27682 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27685 2006-03-13 Roman Kennke <kennke@aicas.com>
27687 * javax/accessibility/AccessibleContext.java
27688 (getAccessibleRelationSet): Return empty set instead of null.
27690 2006-03-13 Roman Kennke <kennke@aicas.com>
27692 * javax/swing/ImageIcon.java
27693 (loadImage): Remove completed images from the MediaTracker. This
27694 avoids a potential memory leak.
27696 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27698 * javax/print/MultiDocPrintService.java,
27699 * javax/print/MultiDocPrintJob.java,
27700 * javax/print/MultiDoc.java: Added and enhanced documentation.
27702 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27704 * java/rmi/activation/ActivationID.java (uid): New field.
27705 (writeExternal, readExternal): New methods.
27706 (equals, hashCode): Rewritten.
27707 * java/rmi/activation/ActivationInstantiator.java,
27708 * java/rmi/activation/ActivationSystem.java,
27709 * java/rmi/activation/Activator.java,
27710 * java/rmi/activation/Activatable.java,
27711 * java/rmi/activation/ActivationGroup.java,
27712 * java/rmi/activation/ActivationGroupDesc.java:
27713 Documented and autoformatted.
27714 * java/rmi/activation/package.html: Added content.
27716 2006-03-12 Chris Burdess <dog@gnu.org>
27719 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27720 encoding are specified.
27722 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27724 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27725 (changeEvent): Initialise in fireStateChange(),
27726 (setSelectedIndex): Check if change is made before firing event,
27727 (clearSelection): Delegate to setSelectedIndex(),
27728 (fireStateChanged): Initialise changeEvent if necessary,
27729 * javax/swing/SingleSelectionModel.java: API docs all over.
27731 2006-03-11 Tom Tromey <tromey@redhat.com>
27733 * java/util/zip/InflaterInputStream.java: Reverted previous
27736 2006-03-11 Mark Wielaard <mark@klomp.org>
27738 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27741 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27743 * javax/swing/event/TreeSelectionEvent.java
27744 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27745 not one of the added/removed paths,
27746 (cloneWithSource): Reformatted.
27748 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27750 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27751 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27753 2006-03-10 Casey Marshall <csm@gnu.org>
27756 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27758 (doFinal, update): new methods.
27759 (init, init, init, init): initialize `state' after trying the
27760 implementation, which can throw an exception.
27761 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27764 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27766 * gnu/regexp/BacktrackStack.java: New file.
27767 * gnu/regexp/RE.java(findMatch): New method.
27768 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27769 REMatchList): Removed. (backtrackStack): New field.
27770 * gnu/regexp/REToken.java(match): Changed from an abstract
27771 method to an ordinary method defined with the new method
27772 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27773 findFixedLengthMatches, backtrack, toString): New methods.
27774 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27775 * gnu/regexp/RETokenBackRef.java: Likewise.
27776 * gnu/regexp/RETokenChar.java: Likewise.
27777 * gnu/regexp/RETokenEnd.java: Likewise.
27778 * gnu/regexp/RETokenEndSub.java: Likewise.
27779 * gnu/regexp/RETokenIndependent.java: Likewise.
27780 * gnu/regexp/RETokenLookAhead.java: Likewise.
27781 * gnu/regexp/RETokenLookBehind.java: Likewise.
27782 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27783 * gnu/regexp/RETokenPOSIX.java: Likewise.
27784 * gnu/regexp/RETokenRange.java: Likewise.
27785 * gnu/regexp/RETokenStart.java: Likewise.
27786 * gnu/regexp/RETokenWordBoundary.java: Likewise
27787 * gnu/regexp/RETokenOneOf.java: Rewriten.
27788 * gnu/regexp/RETokenRepeated.java: Rewriten.
27790 2006-03-10 Roman Kennke <kennke@aicas.com>
27792 * javax/swing/plaf/metal/MetalBorders.java
27793 (RolloverButtonBorder.paintBorder): Only call super here.
27794 * javax/swing/plaf/metal/MetalButtonListener.java
27795 (propertyChange): Only call super here.
27796 * javax/swing/plaf/metal/MetalButtonUI.java
27797 (update): Changed condition from isOpaque() to isContentAreaFilled()
27798 for the gradient fill.
27799 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27800 (paintText): API doc fix. Makes paintText not deprecated as specified
27801 but adds comment that this is obsolete.
27802 * javax/swing/plaf/metal/MetalUtils.java
27803 (fillMetalPattern): Fixed condition so that the Java2D is not
27804 used when the noGraphics2D property is set.
27806 2006-03-10 Roman Kennke <kennke@aicas.com>
27808 * javax/swing/plaf/metal/MetalLookAndFeel.java
27809 (createDefaultTheme): Set OceanTheme as default metal theme.
27811 2006-03-10 Roman Kennke <kennke@aicas.com>
27813 * javax/swing/text/WrappedPlainView.java
27814 (metrics): Made field package private to avoid accessor method.
27815 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27816 The drawLine (righly) interprets the y parameter as the baseline.
27817 * javax/swing/text/Utilities.java
27818 (getBreakLocation): Don't consider the offset. The returned value
27819 for getTabbedTextOffset is already relative to the offset.
27821 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27823 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27824 (dateFormat): Made private.
27825 (put): Replace only the last occurance and the value.
27826 (putAll): Save one iteration. Clarified documentation.
27828 2006-03-10 Tom Tromey <tromey@redhat.com>
27830 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27832 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27835 2006-03-10 Lillian Angel <langel@redhat.com>
27837 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27838 (comboboxgroup_get_widget): New function.
27839 (removed): Fixed to use new function to get the correct widget.
27840 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27841 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27844 2006-03-10 Lillian Angel <langel@redhat.com>
27846 * java/awt/GridBagLayout.java
27847 (ArrangeGrid): Added checks to determine if component
27848 is placed last in a row or column. If so, the location
27849 of the last component should be used to get the location
27850 of the current component.
27852 2006-03-10 Lillian Angel <langel@redhat.com>
27854 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27855 (nativeSetCheckboxGroup): No need to use new function here.
27856 Should just pass in pointer.
27858 2006-03-10 Lillian Angel <langel@redhat.com>
27860 * java/awt/GridBagLayout.java
27861 (distributeSizeAndWeight): Change else if to else. This
27862 allows for components to be added to a new row when
27863 their gridheight is REMAINDER.
27865 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27867 * java/rmi/activation/ActivationDesc.java,
27868 java/rmi/activation/ActivationGroupID.java,
27869 java/rmi/activation/Activator.java,
27870 java/rmi/server/Operation.java,
27871 java/rmi/server/RemoteServer.java: Documented and formatted.
27873 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27875 * javax/swing/JToggleButton.java: Fixed API doc tags,
27876 * javax/swing/OverlayLayout.java: Likewise.
27878 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27880 * javax/swing/DefaultCellEditor.java
27881 (cancelCellEditing): Removed spurious API doc tag.
27883 2006-03-10 Lillian Angel <langel@redhat.com>
27885 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27886 (create): Put checkbox widget into an event box so it paints properly.
27887 (connectSignals): Fixed to use new function.
27888 (nativeSetCheckboxGroup): Likewise.
27889 (gtkToggleButtonSetActive): Likewise.
27890 (gtkWidgetModifyFont): Likewise.
27891 (gtkButtonSetLabel): Likewise.
27892 (combobox_get_widget): New function.
27894 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27896 * javax/swing/text/rtf/package.html: New file.
27898 2006-03-10 Roman Kennke <kennke@aicas.com>
27900 * javax/swing/plaf/metal/OceanTheme.java
27901 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27902 * javax/swing/plaf/metal/MetalScrollBarUI.java
27903 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27904 (paintThumbHorizontal): Added handling of OceanTheme.
27905 (paintThumbVertical): Added handling of OceanTheme.
27907 2006-03-10 Roman Kennke <kennke@aicas.com>
27909 Reported by Fridjof Siebert <siebert@aicas.com>
27910 * java/awt/MediaTracker.java
27911 (removeImage): Only set prev to e when the the images of the
27912 entries are not the same. This avoids a potentially corrupt list.
27914 2006-03-10 Chris Burdess <dog@gnu.org>
27917 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27918 checking while reindenting.
27920 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27922 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27924 2006-03-09 Tom Tromey <tromey@redhat.com>
27926 PR classpath/26585:
27927 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27928 subdir. Added README.
27929 (install-data-local): Removed.
27930 (uninstall-local): Likewise.
27931 (EXTRA_DIST): Removed.
27933 2006-03-09 Tom Tromey <tromey@redhat.com>
27935 PR classpath/26623:
27936 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27938 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27940 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27942 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27944 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27946 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27948 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27950 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27952 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27954 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27956 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27957 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27959 2006-03-09 Keith Seitz <keiths@redhat.com>
27961 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27962 (executeVariableTable): Use VMMethod instead of reflection.
27963 (executeLineTable): Likewise.
27964 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27965 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27966 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27967 (getLineTable): Removed. Now resides in VMMethod.
27968 (getVarTable): Likewise.
27969 (getAllClassMethods): New method.
27971 2006-03-09 Keith Seitz <keiths@redhat.com>
27973 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27974 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27975 (ThreadStartEvent): Likewise.
27976 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27977 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27978 (ConditionalFilter): Likewise.
27979 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27980 (ExceptionOnlyFilter): Likewise.
27981 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27982 (FieldOnlyFilter): Likewise.
27983 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27984 (getSize): Likewise.
27985 (StepFilter): Likewise.
27986 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27987 * gnu/classpath/jdwp/transport/JdwpPacket.java
27988 (JdwpPacket): Likewise.
27989 (fromBytes): Likewise.
27990 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27991 (JdwpReplyPacket): Likewise.
27992 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27993 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27994 (getReferenceType): Likewise.
27995 (newObjectId): Likewise.
27996 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27997 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27998 (getFrames): Fix typo in parameter name and update javadoc.
27999 (getClassMethod): Update javadoc.
28001 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
28003 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28004 * javax/swing/event/TreeSelectionListener.java: Likewise.
28006 2006-03-09 Lillian Angel <langel@redhat.com>
28008 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28009 (getHScrollbarHeight): Fixed property name.
28010 (getVScrollbarHeight): Likewise.
28012 2006-03-09 Lillian Angel <langel@redhat.com>
28014 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28015 (get_widget): New function.
28016 (gtkWidgetSetParent): Changed to use new function.
28017 (gtkWidgetSetCursorUnlocked): Likewise.
28018 (gtkWidgetSetSensitive): Likewise.
28019 (gtkWidgetRequestFocus): Likewise.
28020 (gtkWindowGetLocationOnScreen): Likewise.
28021 (gtkWidgetGetDimensions): Likewise.
28022 (gtkWidgetGetPreferredDimensions): Likewise.
28023 (setNativeBounds): Likewise.
28024 (gtkWidgetGetBackground): Likewise.
28025 (gtkWidgetGetForeground): Likewise.
28026 (gtkWidgetSetBackground): Likewise.
28027 (gtkWidgetSetForeground): Likewise.
28028 (setVisibleNativeUnlocked): Likewise.
28029 (isEnabled): Likewise.
28030 (isRealized): Likewise.
28031 (setNativeEventMask): Likewise.
28033 2006-03-09 Lillian Angel <langel@redhat.com>
28036 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28037 (create): Added combobox widget to an event box.
28038 (connectSignals): Added call to choice_get_widget to get the
28039 combobox out of the event box.
28040 (append): Likewise.
28041 (nativeRemoveAll): Likewise.
28042 (nativeRemove): Likwise.
28043 (nativeAdd): Likewise.
28044 (selectNative): Likewise.
28045 (choice_get_widget): New function.
28046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28047 (create): Added list scroll window widget to an event box.
28048 (connectSignals): Changed call to use new function to get the
28049 correct widget out of the event box.
28050 (getWidgetModifyFont): Likewise.
28051 (getWidgetRequestFocus): Likewise.
28052 (append): Likewise.
28054 (delItems): Likewise.
28055 (select): Likewise.
28056 (deselect): Likewise.
28057 (getSize): Likewise.
28058 (getSelectedIndexes): Likewise.
28059 (makeVisible): Likewise.
28060 (setMultipleMode): Likewise.
28061 (list_get_widget): New function.
28062 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28063 (create): Added scrollpane to an eventbox.
28064 (setScrollPosition): Changed call to use new function to get the
28065 correct widget out of the event box.
28066 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28067 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28068 (getHScrollbarHeight): Likewise.
28069 (getVScrollbarWidth): Likewise.
28070 (setPolicy): Likewise.
28071 (scrollpane_get_widget): New function.
28072 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28073 (connectSignals): Changed call to use new function to get the
28074 correct widget out of the event box.
28075 (create): Added scrollbar to an eventbox.
28076 (setLineIncrement): Changed call to use new function to get the
28077 correct widget out of the event box.
28078 (setPageIncrement): Likewise.
28079 (setBarValues): Likewise.
28080 (scrollbar_get_widget): New function.
28081 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28082 (create): Added text area scroll window widget to an event box.
28083 (connectSignals): Changed call to use new function to get the
28084 correct widget out of the event box.
28085 (insert): Likewise.
28086 (replaceRange): Likewise.
28087 (gtkWidgetModifyFont): Likewise.
28088 (gtkWidgetRequestFocus): Likewise.
28089 (getHScrollbarHeight): Likewise.
28090 (getVScrollbarWidth): Likewise.
28091 (getCaretPosition): Likewise.
28092 (setCaretPosition):Likewise.
28093 (getSelectionStart): Likewise.
28094 (getSelectionEnd): Likewise.
28095 (select): Likewise.
28096 (setEditable): Likewise.
28097 (getText): Likewise.
28098 (setText): Likewise.
28099 (textarea_get_widget): New function.
28101 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28103 * java/rmi/dgc/VMID.java:
28104 (equals, hashCode, static initializer): Rewritten.
28105 * java/rmi/dgc/package.html: Documented.
28107 2006-03-09 Mark Wielaard <mark@klomp.org>
28109 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28111 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28112 (canCache): Likewise.
28113 (GtkClipboard): Take String argument.
28114 (getInstance): Removed.
28115 (getClipboardInstance, getSelectionInstance): New static methods.
28116 (setSystemContents): Make synchronized. Takes boolean argument.
28117 (initNativeState): Add clipboard and selection.
28118 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28119 (announceClipboardChange, announcePrimaryChange): New static field.
28120 (announce): Take GtkClipboard as argument.
28121 (run): Check which clipboard to announce change for.
28122 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28124 (GtkSelection): Take GtkClipboard as argument.
28125 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28126 clipboard argument.
28127 (requestMimeTypes): Likewise.
28128 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28130 * java/awt/Toolkit.java (getSystemSelection): Document.
28131 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28132 (cp_gtk_selection_instance): New var.
28133 (current_selection, owner): Removed.
28134 (clipboard_owner_change_cb): Use clipboard argument.
28135 (initNativeState): Store clipboard and selection instances. Cache
28136 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28138 (clipboard_get_func): Use clipboard argument.
28139 (clipboard_clear_func): Likewise. Always call method.
28140 (advertiseContent): Don't cache method ids here. Check whether to
28141 use clpboard or selection. Don't set owner or current_selection.
28142 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28143 (requestText, requestImage, requestURIs, requestBytes): Use extra
28144 boolean argument to select clipboard.
28145 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28146 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28147 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28148 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28150 2006-03-09 Keith Seitz <keiths@redhat.com>
28152 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28153 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28154 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28155 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28156 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28157 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28158 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28159 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28160 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28162 2006-03-09 Mark Wielaard <mark@klomp.org>
28164 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28165 bounds for index is valid.
28166 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28168 (getCellBounds): Update documentation.
28170 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28172 * .classpath: added exclude pattern on source folders
28173 (Makefiles, README and .cvsignore)
28175 2006-03-08 Michael Koch <konqueror@gmx.de>
28177 * java/net/Proxy.java (NO_PROXY): Made final.
28178 (equals): Likewise.
28179 (hashCode): Likewise.
28181 2006-03-08 Keith Seitz <keiths@redhat.com>
28183 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28184 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28185 (getClassMethod): New method.
28187 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28189 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28191 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28193 * java/rmi/server/ObjID.java: Documented and autoformatted.
28195 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28198 * tools/Makefile.am (install-data-local,
28199 uninstall-local): Install/uninstall the tools/README only.
28200 * tools/gnu/classpath/tools/giop/README: Updated.
28201 * tools/README: New file.
28203 2006-03-08 Lillian Angel <langel@redhat.com>
28205 * java/awt/GridBagLayout.java
28206 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28207 then the next item should be set to current_y (not 0).
28209 2006-03-08 Lillian Angel <langel@redhat.com>
28211 * java/awt/GridBagLayout.java
28212 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28213 in the bottom-most spot of the column, we need to place that component
28214 at the y-location of the other components in that row. If there are
28215 no other components in that row, then place it at y = 0.
28217 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28219 * javax/swing/ProgressMonitor.java: Updated API docs,
28220 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28222 2006-03-08 Michael Koch <konqueror@gmx.de>
28224 * java/net/InetSocketAddress.java
28225 (InetSocketAddress(String,int,resolve)): New private contructor.
28226 (InetSocketAddress(String,int)): Use new private constructor.
28227 (createUnresolved): New method.
28229 2006-03-07 Michael Koch <konqueror@gmx.de>
28231 * gnu/java/net/DefaultProxySelector.java,
28232 java/net/Proxy.java, java/net/ProxySelector.java:
28235 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28237 * java/rmi/server/UID.java (constructor): Assign last and time fields
28240 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28242 * java/rmi/server/UID.java: New file (replacing).
28244 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28246 * java/util/jar/Manifest.java: Removed unused imports.
28247 (CRLF): New constant.
28248 (read): Added method documentation.
28249 Use UTF-8 encoding instead of 8859_1.
28250 (write): Added method documentation.
28251 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28252 (write_main_section): Replace PrintWriter arg with OutputStream.
28253 Replace JarException with IOException.
28254 (write_version_info): Likewise.
28255 (write_main_attributes): Likewise.
28256 (write_attribute_entry): Likewise.
28257 (write_individual_sections): Likewise.
28258 (write_entry_attributes): Likewise.
28259 (write_header): Replace PrintWriter arg with OutputStream.
28262 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28264 * javax/swing/tree/DefaultMutableTreeNode.java
28265 (getFirstChild): Updated API docs,
28266 (getLastChild): Likewise,
28267 (getChildAfter): Likewise,
28268 (getChildBefore): Likewise,
28269 (isNodeSibling): Return true if node == this,
28270 (getSiblingCount): Updated API docs,
28271 (getNextSibling): Likewise,
28272 (getPreviousSibling): Likewise,
28273 (isLeaf): Likewise,
28274 (getFirstLeaf): Likewise,
28275 (getLastLeaf): Likewise,
28276 (getNextLeaf): Implemented,
28277 (getPreviousLeaf): Implemented.
28279 2006-03-07 Tom Tromey <tromey@redhat.com>
28281 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28282 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28283 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28284 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28287 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28289 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28290 (clone): Reimplemented,
28291 (add): Throw IllegalArgumentException if child is an ancestor,
28292 (remove(int)): Set child's parent to null,
28293 (remove(MutableTreeNode)): Check arguments and set child's parent to
28295 (insert): Check allowsChildren flag, check for null argument, and
28296 check for a node that is an ancestor,
28297 (getIndex): Throw IllegalArgumentException for null argument,
28298 (setAllowsChildren): If setting to false, remove existing children,
28299 (removeAllChildren): Set parent to null for removed children.
28301 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28303 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28306 2006-03-06 Tom Tromey <tromey@redhat.com>
28308 * java/lang/StrictMath.java (ulp): New methods.
28309 * java/lang/Math.java (ulp): New methods.
28311 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28313 * gnu/java/rmi/server/UnicastRef.java,
28314 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28316 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28318 * gnu/java/rmi/server/CombinedClassLoader.java
28319 (findClass, findLibrary, findResouce, findResources): check
28320 all loaders in array.
28322 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28325 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28326 (RefProtector): new inner class. (dirty): Rewritten.
28327 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28328 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28329 new methods. (readExternal): Create LeaseRenewingTask if non local.
28330 * gnu/java/rmi/server/UnicastServer.java (objects):
28331 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28332 (getExported): New method.
28333 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28335 2006-03-06 Mark Wielaard <mark@klomp.org>
28337 * doc/www.gnu.org/announce/20060306.wml: New file.
28338 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28339 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28341 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28343 * javax/swing/plaf/metal/MetalLookAndFeel.java
28344 (initComponentDefaults): Use Boolean.TRUE for
28345 'CheckBoxMenuItem.borderPainted'.
28347 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28349 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28350 (dateFormat): Made private.
28351 (put): Replace only the last occurance and the value.
28352 (putAll): Reimplemented with the put method.
28354 2006-03-06 Lillian Angel <langel@redhat.com>
28357 * java/awt/List.java
28358 (preferredSize): Return the size of the list if the peer is
28360 * gnu/java/awt/peer/gtk/GtkListPeer.java
28361 (preferredSize): Code was returning the minimum size of the
28362 list. Added adjustment to the width of the list so it is a
28365 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28367 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28368 (getRequestProperty): Remove duplicated null check.
28369 * java/net/URLConnection.java:
28370 (URLConnection): Javadoc fix.
28371 (addRequestProperty): Likewise.
28372 (getDefaultRequestProperty): Likewise.
28373 (getHeaderField): Likewise.
28374 (getHeaderFieldDate): Likewise.
28375 (getHeaderFieldKey): Likewise.
28376 (getHeaderFields): Likewise.
28377 (getRequestProperties): Likewise.
28378 (getRequestProperty): Likewise.
28379 (setDefaultRequestProperty): Likewise.
28380 (setRequestProperty): Likewise.
28382 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28384 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28385 * examples/gnu/classpath/examples/swing/Demo.java:
28386 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28388 (mkMenuBar): Added entry for text area example.
28390 2006-03-06 Tom Tromey <tromey@redhat.com>
28392 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28393 (FORMATTED_TEXT_FIELD): Likewise.
28395 2006-03-06 Tom Tromey <tromey@redhat.com>
28397 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28399 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28401 * examples/gnu/classpath/examples/swing/Demo.java:
28402 (mkMenuBar): Added menu entry that will display the VM's name,
28403 version and distributor.
28405 2006-03-06 Tom Tromey <tromey@redhat.com>
28407 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28409 (getName): Likewise.
28411 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28413 * java/util/jar/Manifest.java: Removed unused imports.
28414 (CRLF): New constant.
28415 (read): Added method documentation.
28416 Use UTF-8 encoding instead of 8859_1.
28417 (write): Added method documentation.
28418 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28419 (write_main_section): Replace PrintWriter arg with OutputStream.
28420 Replace JarException with IOException.
28421 (write_version_info): Likewise.
28422 (write_main_attributes): Likewise.
28423 (write_attribute_entry): Likewise.
28424 (write_individual_sections): Likewise.
28425 (write_entry_attributes): Likewise.
28426 (write_header): Replace PrintWriter arg with OutputStream.
28429 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28432 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28433 API doc tag warnings,
28434 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28436 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28438 * gnu/java/net/protocol/file/Connection.java (unquote):
28439 Update position in buffer after decoding a unicode character
28440 outside of the basic plane.
28442 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28444 * java/net/URI.java
28445 (quote): Pass Unicode characters outside the basic plane through.
28447 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28449 * javax/swing/plaf/basic/BasicTextUI.java:
28450 (damageRange): Rewritten if-expressions to correctly identify the
28453 2006-03-06 Mark Wielaard <mark@klomp.org>
28455 * configure.ac: Set version to 0.90-generics.
28458 2006-03-06 Mark Wielaard <mark@klomp.org>
28460 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28461 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28462 (isnan): Define explicitly isnan if it is not a macro.
28464 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28466 * javax/swing/text/GapContent.java:
28467 (insertString): Throw exception when argument is below
28470 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28472 * javax/swing/text/PlainDocument.java:
28473 (insertUpdate): Extended if-expression, added
28474 code to generate another Element when newly inserted characters
28475 and old ones will be on the same line.
28477 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28479 * javax/swing/text/DefaultCaret.java:
28480 (mouseDragged): Do selection when shift is pressed.
28481 (mouseClicked): Implemented.
28483 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28485 * javax/swing/text/PlainDocument.java: Fix copyright header,
28487 (insertUpdate): Do not copy the whole document any more, added some
28488 more variables to prevent needless method calls.
28490 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28492 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28493 is required on Darwin.
28494 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28495 (AM_CFLAGS): Likewise.
28497 2006-03-06 Mark Wielaard <mark@klomp.org>
28499 * NEWS: Add updates for 0.90 release.
28501 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28503 * javax/swing/text/GapContent.java:
28504 (insertString): Throw exception when argument is below
28507 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28510 * javax/swing/filechooser/FileFilter.java:
28511 (accept): Fixed API doc tag,
28512 (getDescription): Likewise,
28513 * javax/swing/filechooser/FileView.java:
28514 (isTraversable): Fixed API doc tag.
28516 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28518 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28519 added API docs all over.
28521 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28523 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28524 and corrected a bad API doc tag.
28526 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28528 * javax/swing/undo/StateEditable.java
28529 (restoreState): Fixed bad API doc tag,
28530 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28531 AbstractUndoableEdit.java,
28532 * javax/swing/undo/UndoableEditSupport.java
28533 (createCompoundEdit): Fixed bad API doc tag,
28534 * javax/swing/undo/UndoManager.java
28535 (editToBeUndone): Fixed bad API doc tag,
28536 (editToBeRedone): Likewise.
28538 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28540 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28541 * javax/swing/FocusManager.java: Likewise.
28544 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28547 * javax/swing/plaf/metal/MetalComboBoxButton.java
28548 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28549 JList)): Fixed API doc tag,
28550 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28551 (createLayout): Fixed API doc warning.
28553 2006-03-05 Tom Tromey <tromey@redhat.com>
28555 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28556 ClassHelper.getUserName.
28557 * vm/reference/java/lang/reflect/Method.java (toString): Use
28558 ClassHelper.getUserName.
28559 (getUserTypeName): Removed.
28560 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28561 * vm/reference/java/lang/reflect/Field.java (toString): Use
28562 ClassHelper.getUserName.
28564 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28567 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28568 Allows directories as valid resources.
28570 2006-03-05 Mark Wielaard <mark@klomp.org>
28572 * configure.ac (VERSION): Set to 0.90-pre-generics.
28573 * Merge with CVS trunk from classpath-0_90-branch-point.
28575 2006-03-04 Tom Tromey <tromey@redhat.com>
28577 * javax/swing/SpringLayout.java (Constraints): New constructor.
28578 * javax/swing/Spring.java (width): New method.
28579 (height): Likewise.
28582 2006-03-04 Mark Wielaard <mark@klomp.org>
28584 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28585 existing connection from pool before returning.
28587 2006-03-04 Mark Wielaard <mark@klomp.org>
28589 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28590 exceptions thrown by handlers while cleaning up and rethrow original
28593 2006-03-04 Tom Tromey <tromey@redhat.com>
28595 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28597 (findConstructor): Likewise.
28598 (instantiateClass): Likewise.
28600 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28602 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28603 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28604 lease value and not always the default one.
28605 (LeaseRecord): Remember the array of objects, marked as dirty.
28606 java/rmi/dgc/Lease.java: Boilerplate fix.
28608 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28610 * java/util/jar/Attributes.java (putValue): Made it public and updated
28611 method documentation.
28613 2006-03-04 Mark Wielaard <mark@klomp.org>
28615 * java/awt/Container.java (remove(int)): Always call removeNotify()
28616 on removed Component.
28618 2006-03-04 Mark Wielaard <mark@klomp.org>
28620 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28621 * javax/swing/JEditorPane.java (setText): Check for empty String
28622 with equals(), not equality (==).
28624 2006-03-04 Mark Wielaard <mark@klomp.org>
28626 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28627 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28629 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28631 * javax/swing/text/GapContent.java
28632 (getArray): Mark as final.
28634 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28636 * javax/swing/text/StyleConstants.java
28637 (CharacterConstants.Background): Marked final,
28638 (CharacterConstants.BidiLevel): Likewise,
28639 (CharacterConstants.Bold): Likewise,
28640 (CharacterConstants.ComponentAttribute): Likewise,
28641 (CharacterConstants.Family): Likewise,
28642 (CharacterConstants.Size): Likewise,
28643 (CharacterConstants.Foreground): Likewise,
28644 (CharacterConstants.IconAttribute): Likewise,
28645 (CharacterConstants.Italic): Likewise,
28646 (CharacterConstants.StrikeThrough): Likewise,
28647 (CharacterConstants.Subscript): Likewise,
28648 (CharacterConstants.Superscript): Likewise,
28649 (CharacterConstants.Underline): Likewise,
28650 (ColorConstants.Foreground): Likewise,
28651 (ColorConstants.Background): Likewise,
28652 (FontConstants.Bold): Likewise,
28653 (FontConstants.Family): Likewise,
28654 (FontConstants.Italic): Likewise,
28655 (FontConstants.Size): Likewise,
28656 (ParagraphConstants.Alignment): Likewise,
28657 (ParagraphConstants.FirstLineIndent): Likewise,
28658 (ParagraphConstants.LeftIndent): Likewise,
28659 (ParagraphConstants.LineSpacing): Likewise,
28660 (ParagraphConstants.Orientation): Likewise,
28661 (ParagraphConstants.RightIndent): Likewise,
28662 (ParagraphConstants.SpaceAbove): Likewise,
28663 (ParagraphConstants.SpaceBelow): Likewise,
28664 (ParagraphConstants.TabSet): Likewise.
28666 2006-03-03 Tom Tromey <tromey@redhat.com>
28668 * javax/net/ssl/SSLException.java: Added missing @since.
28671 2006-03-03 Tom Tromey <tromey@redhat.com>
28673 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28674 (serialVersionUID): New field.
28676 2006-03-03 Tom Tromey <tromey@redhat.com>
28678 * java/security/spec/InvalidKeySpecException.java
28679 (InvalidKeySpecException): New constructors.
28680 * java/security/cert/CertificateParsingException.java
28681 (CertificateParsingException): New constructors.
28682 * java/security/cert/CertificateEncodingException.java
28683 (CertificateEncodingException): New constructors.
28684 * java/security/cert/CertificateException.java (CertificateException):
28686 * java/security/cert/CRLException.java (CRLException): New
28689 2006-03-03 Tom Tromey <tromey@redhat.com>
28691 * java/security/SignatureException.java (SignatureException): New
28693 * java/security/ProviderException.java (ProviderException): New
28695 * java/security/NoSuchAlgorithmException.java
28696 (NoSuchAlgorithmException): New constructors.
28697 * java/security/KeyStoreException.java (KeyStoreException): New
28699 * java/security/KeyManagementException.java (KeyManagementException):
28701 * java/security/InvalidKeyException.java (InvalidKeyException): New
28703 * java/security/KeyException.java (KeyException): New constructors.
28704 * java/security/InvalidAlgorithmParameterException.java
28705 (InvalidAlgorithmParameterException): New constructors.
28706 * java/security/DigestException.java (DigestException): New
28708 * java/security/GeneralSecurityException.java
28709 (GeneralSecurityException): New constructors.
28711 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28713 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28715 * javax/swing/event/DocumentEvent.java: Likewise,
28716 * javax/swing/event/EventListenerList.java: Likewise,
28717 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28718 * javax/swing/event/MenuKeyEvent.java: Likewise,
28719 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28720 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28721 * javax/swing/event/TreeModelEvent.java: Likewise,
28722 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28723 * javax/swing/event/UndoableEditEvent.java: Likewise.
28725 2006-03-03 Tom Tromey <tromey@redhat.com>
28727 * java/awt/Insets.java (set): New method.
28728 (equals): Added @since.
28730 2006-03-03 David Daney <ddaney@avtrex.com>
28732 * gnu/java/net/protocol/http/HTTPURLConnection.java
28733 (getRequestProperties): Rewrote.
28734 (addRequestProperty): Rewrote.
28735 (getHeaderFields): Rewrote.
28736 (getHeaderField): Rewrote.
28737 (getHeaderFieldKey): Rewrote.
28738 (getHeaderField): Removed useless cast.
28739 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28740 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28742 (notifyHeaderHandlers): Use new Headers interface.
28744 2006-03-03 Tom Tromey <tromey@redhat.com>
28746 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28747 * javax/naming/spi/ResolveResult.java,
28748 javax/naming/event/NamingExceptionEvent.java,
28749 javax/naming/event/NamingEvent.java,
28750 javax/naming/directory/SearchResult.java,
28751 javax/naming/directory/SearchControls.java,
28752 javax/naming/directory/SchemaViolationException.java,
28753 javax/naming/directory/NoSuchAttributeException.java,
28754 javax/naming/directory/ModificationItem.java,
28755 javax/naming/directory/InvalidSearchFilterException.java,
28756 javax/naming/directory/InvalidSearchControlsException.java,
28757 javax/naming/directory/InvalidAttributesException.java,
28758 javax/naming/directory/InvalidAttributeIdentifierException.java,
28759 javax/naming/directory/AttributeModificationException.java,
28760 javax/naming/directory/AttributeInUseException.java,
28761 javax/naming/TimeLimitExceededException.java,
28762 javax/naming/SizeLimitExceededException.java,
28763 javax/naming/PartialResultException.java,
28764 javax/naming/Reference.java,
28765 javax/naming/ServiceUnavailableException.java,
28766 javax/naming/OperationNotSupportedException.java,
28767 javax/naming/NotContextException.java,
28768 javax/naming/NoPermissionException.java,
28769 javax/naming/NoInitialContextException.java,
28770 javax/naming/NameNotFoundException.java,
28771 javax/naming/NameAlreadyBoundException.java,
28772 javax/naming/NameClassPair.java,
28773 javax/naming/MalformedLinkException.java,
28774 javax/naming/LinkLoopException.java,
28775 javax/naming/LinkException.java,
28776 javax/naming/LimitExceededException.java,
28777 javax/naming/InvalidNameException.java,
28778 javax/naming/InterruptedNamingException.java,
28779 javax/naming/InsufficientResourcesException.java,
28780 javax/naming/ContextNotEmptyException.java,
28781 javax/naming/ConfigurationException.java,
28782 javax/naming/CannotProceedException.java,
28783 javax/naming/CommunicationException.java,
28784 javax/naming/Binding.java,
28785 javax/naming/AuthenticationNotSupportedException.java,
28786 javax/naming/AuthenticationException.java: Added serialVersionUID.
28788 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28790 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28792 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28794 * javax/swing/event/TableModelListener.java: Updated API docs.
28796 2006-03-03 Mark Wielaard <mark@klomp.org>
28798 * java/awt/Component.java (addNotify): Expand documentation.
28800 2006-03-03 Mark Wielaard <mark@klomp.org>
28802 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28803 Always call setParentAndBounds().
28804 (setComponentBounds): Always call setBounds().
28805 (setBounds): Call setVisible().
28806 (setVisible): If no pixels are showing then don't make it visible.
28807 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28808 to call setParentAndBounds() anymore.
28810 2006-03-03 Roman Kennke <kennke@aicas.com>
28812 * javax/swing/JInternalFrame.java
28813 (JInternalFrame): Set frame invisible.
28814 (show): Reformatted.
28815 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28816 (installDefaults): Do not set invisible here.
28818 2006-03-03 Roman Kennke <kennke@aicas.com>
28820 * java/awt/Toolkit.java
28821 (getScreenInsets): Return (0,0,0,0) here.
28823 2006-03-03 Roman Kennke <kennke@aicas.com>
28825 * javax/swing/text/FlowView.java
28826 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28827 (FlowStrategy.getLogicalView): Made method protected.
28829 2006-03-03 Chris Burdess <dog@gnu.org>
28831 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28832 gnu/xml/validation/relaxng/AttributePattern.java,
28833 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28834 gnu/xml/validation/relaxng/ChoicePattern.java,
28835 gnu/xml/validation/relaxng/DataPattern.java,
28836 gnu/xml/validation/relaxng/Define.java,
28837 gnu/xml/validation/relaxng/ElementPattern.java,
28838 gnu/xml/validation/relaxng/EmptyPattern.java,
28839 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28840 gnu/xml/validation/relaxng/Grammar.java,
28841 gnu/xml/validation/relaxng/GrammarException.java,
28842 gnu/xml/validation/relaxng/GrammarValidator.java,
28843 gnu/xml/validation/relaxng/GroupPattern.java,
28844 gnu/xml/validation/relaxng/InterleavePattern.java,
28845 gnu/xml/validation/relaxng/ListPattern.java,
28846 gnu/xml/validation/relaxng/NSNameNameClass.java,
28847 gnu/xml/validation/relaxng/NameClass.java,
28848 gnu/xml/validation/relaxng/NameNameClass.java,
28849 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28850 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28851 gnu/xml/validation/relaxng/Param.java,
28852 gnu/xml/validation/relaxng/Pattern.java,
28853 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28854 gnu/xml/validation/relaxng/RefPattern.java,
28855 gnu/xml/validation/relaxng/TextPattern.java,
28856 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28857 builder and data model.
28858 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28859 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28860 gnu/xml/validation/xmlschema/AttributeUse.java,
28861 gnu/xml/validation/xmlschema/ComplexType.java,
28862 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28863 gnu/xml/validation/xmlschema/Particle.java,
28864 gnu/xml/validation/xmlschema/ValidationException.java,
28865 gnu/xml/validation/xmlschema/XMLSchema.java,
28866 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28867 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28868 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28869 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28870 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28871 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28872 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28873 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28874 W3C XML Schema builder and schema components.
28875 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28876 XML Schema namespace URIs.
28878 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28880 * NEWS: Add entry for --enable-collections.
28881 * configure.ac: Add --enable-collections option.
28882 * lib/Makefile.am (collections.jar): New target.
28883 (glibj_DATA): Add $(COLLECTIONS).
28884 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28885 configure substitution.
28886 (classpath): Read from command line.
28887 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28889 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28891 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28893 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28895 * javax/swing/event/ListSelectionEvent.java
28896 (toString): Implemented,
28897 plus updated API docs all over.
28899 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28901 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28903 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28905 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28907 * gnu/java/rmi/dgc/DGCImpl.java,
28908 java/rmi/dgc/DGC.java,
28909 java/rmi/dgc/Lease.java: Formatted and commented.
28911 2006-03-03 Roman Kennke <kennke@aicas.com>
28913 * NEWS: Added comment about text highlighting and copy+paste
28916 2006-03-03 Roman Kennke <kennke@aicas.com>
28918 * javax/swing/JTabbedPane.java
28919 (remove(int)): Call super.remove(int) instead of remove(Component).
28920 Avoids a stack overflow.
28922 2006-03-03 Roman Kennke <kennke@aicas.com>
28924 * javax/swing/JTable.java
28925 (distributeSpillResizing): Avoid ArithmeticException by checking
28928 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28930 * javax/swing/text/package.html: Added package description.
28932 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28934 * javax/swing/CellRendererPane.java: Minor API doc fix,
28935 * javax/swing/ComboBoxModel.java: Updated API docs.
28937 2006-03-03 Chris Burdess <dog@gnu.org>
28940 * gnu/xml/stream/EntityReferenceImpl.java,
28941 gnu/xml/stream/FilteredEventReader.java,
28942 gnu/xml/stream/SAXParser.java,
28943 gnu/xml/stream/XIncludeFilter.java,
28944 gnu/xml/stream/XMLEventAllocatorImpl.java,
28945 gnu/xml/stream/XMLEventFactoryImpl.java,
28946 gnu/xml/stream/XMLEventImpl.java,
28947 gnu/xml/stream/XMLEventReaderImpl.java,
28948 gnu/xml/stream/XMLEventWriterImpl.java,
28949 gnu/xml/stream/XMLInputFactoryImpl.java,
28950 gnu/xml/stream/XMLOutputFactoryImpl.java,
28951 gnu/xml/stream/XMLParser.java,
28952 javax/xml/stream/EventFilter.java,
28953 javax/xml/stream/Location.java,
28954 javax/xml/stream/StreamFilter.java,
28955 javax/xml/stream/XMLEventFactory.java,
28956 javax/xml/stream/XMLEventReader.java,
28957 javax/xml/stream/XMLEventWriter.java,
28958 javax/xml/stream/XMLInputFactory.java,
28959 javax/xml/stream/XMLOutputFactory.java,
28960 javax/xml/stream/XMLReporter.java,
28961 javax/xml/stream/XMLResolver.java,
28962 javax/xml/stream/XMLStreamConstants.java,
28963 javax/xml/stream/XMLStreamReader.java,
28964 javax/xml/stream/events/EntityDeclaration.java,
28965 javax/xml/stream/events/EntityReference.java,
28966 javax/xml/stream/events/XMLEvent.java,
28967 javax/xml/stream/util/EventReaderDelegate.java,
28968 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28969 StAX API as specified in JWSDP 2.0.
28970 * gnu/xml/stream/EndEntityImpl.java,
28971 gnu/xml/stream/LocationImpl.java,
28972 gnu/xml/stream/StartEntityImpl.java,
28973 gnu/xml/stream/XMLStreamReaderImpl.java,
28974 javax/xml/stream/XMLFilter.java,
28975 javax/xml/stream/XMLIterator.java,
28976 javax/xml/stream/events/EndEntity.java,
28977 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28979 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28981 * javax/swing/CellEditor.java: API doc updates,
28982 * javax/swing/DefaultCellEditor.java: Likewise.
28984 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28986 * javax/swing/AbstractListModel.java:
28987 (AbstractListModel): Added API docs,
28988 (fireContentsChanged): Minor API doc correction,
28989 (fireIntervalAdded): Likewise,
28990 (fireIntervalRemoved): Likewise.
28992 2006-03-03 Roman Kennke <kennke@aicas.com>
28994 * NEWS: Added paragraph about Swing improvements.
28996 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28998 * javax/swing/AbstractAction.java: Updated API docs all over,
28999 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29000 (stopCellEditing): Minor API doc correction,
29001 * javax/swing/UnsupportedLookAndFeelException.java
29002 (UnsupportedLookAndFeelException): Changed argument name, updated API
29005 2006-03-03 Roman Kennke <kennke@aicas.com>
29007 * javax/swing/plaf/metal/MetalUtils.java
29008 (fillMetalPattern): Added switch to not use Graphics2D methods,
29009 even if they are available.
29011 2006-03-03 Roman Kennke <kennke@aicas.com>
29013 * javax/swing/plaf/basic/BasicHTML.java
29014 (isHTMLString): Check for string beeing null.
29015 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29016 (BasicInternalFrameListener.internalFrameActivated): Implemented.
29017 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29018 (InternalFrameLayout): Don't touch the glass pane here.
29019 (installUI): Fix handling of glass pane.
29020 * javax/swing/plaf/basic/BasicLabelUI.java
29024 (BasicLabelUI): Initialize new fields.
29025 (getPreferredSize): Avoid creating new Rectangles by using
29026 SwingUtilities method.
29027 (paint): Avoid creating new Rectangles by reusing
29028 new fields. Added some preliminary handling of HTML inside the
29030 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29031 (uninstallComponents): Clear HTML renderer.
29032 (propertyChange): Check for HTML text and install renderer if
29034 * javax/swing/plaf/basic/BasicListUI.java
29035 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29037 * javax/swing/plaf/basic/BasicTextUI.java
29038 (RootView.getStartOffset): Implemented.
29039 (RootView.getEndOffset): Implemented.
29040 (RootView.getDocument): Implemented.
29042 2006-03-03 Roman Kennke <kennke@aicas.com>
29044 * javax/swing/text/DefaultStyledDocument.java
29045 (ElementBuffer.inserUpdate): Added check for zero-length
29047 * javax/swing/text/DefaultStyledDocument.java
29048 (setIndex): Improved exception message.
29049 * javax/swing/text/TableView.java
29050 Made class abstract.
29051 (TableRow.replace): Probably extend columnRequirements
29053 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29054 of super.layoutMajorAxis.
29055 (columnRequirements): Made field package private.
29056 (TableView): Do not load any child views here.
29057 (layoutColumns): Implemented this method.
29058 (updateColumnRequirements): New helper method.
29059 * javax/swing/text/Utilities.java
29060 (getBreakLocation): Also take offset into account when
29061 finding end location.
29062 * javax/swing/text/html/HTMLDocument.java
29063 (HTMLReader.parseStack): New field.
29064 (HTMLReader.blockOpen): Properly handle p-implied tags.
29065 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29066 (HTMLReader.addContent): Insert p-implied when adding content to
29068 * javax/swing/text/html/HTMLEditorKit.java
29069 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29070 ParagraphView for TD tags. Print out warning for tags that don't have
29071 matching view yet and create NullView for them.
29072 (read): Only set document base when document != null.
29073 * javax/swing/text/html/HTMLTableView.java:
29076 2006-03-03 Roman Kennke <kennke@aicas.com>
29078 * javax/swing/plaf/basic/BasicHTML.java
29079 (HTMLRootView): New inner class.
29080 (createHTMLView): Embed view inside a HTMLRootView.
29082 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29084 * gnu/java/net/protocol/jar/Connection.java:
29085 (connect): Throw FileNotFoundException.
29086 (getInputStream): Remove duplicated code.
29088 2006-03-03 Roman Kennke <kennke@aicas.com>
29090 * javax/swing/RepaintManager.java
29091 (commitBuffer): Added null check for clip.
29093 2006-03-02 Lillian Angel <langel@redhat.com>
29095 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29096 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29097 to use GtkWidget instead of GTKMenu.
29099 2006-03-02 Lillian Angel <langel@redhat.com>
29101 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29102 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29103 use the submenu to get the list of children. This now works
29104 in the same way as addItem.
29106 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29108 * java/lang/StringBuilder.java:
29109 (codePointAt): New method.
29110 (codePointBefore): Likewise.
29111 (codePointCount): Likewise.
29112 (trimToSize): Likewise.
29114 2006-03-02 Tom Tromey <tromey@redhat.com>
29116 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29118 2006-03-02 Tom Tromey <tromey@redhat.com>
29120 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29121 (getProviderInstance):
29123 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29125 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29126 Fix regression caused by move to VM variant.
29127 PR classpath/22926.
29129 2006-03-01 Tom Tromey <tromey@redhat.com>
29131 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29132 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29133 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29134 imports for javadoc.
29135 (getProxyClass): Javadoc fixes.
29136 (getProxyData): Likewise.
29137 (generateProxyClass): Likewise.
29138 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29139 (setOut): Likewise.
29140 (setErr): Likewise.
29141 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29142 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29144 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29146 (getModifiers): Likewise.
29147 (getDeclaredClasses): Javadoc fix.
29148 (getDeclaredFields): Likewise.
29149 (getDeclaredMethods): Likewise.
29150 (getDeclaredConstructors): Likewise.
29151 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29154 2006-03-01 Tom Tromey <tromey@redhat.com>
29156 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29157 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29158 (getVersion): Javadoc fix.
29160 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29161 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29163 2006-03-01 David Daney <ddaney@avtrex.com>
29165 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29166 as relative if it contains a colon but no protocol handler can be
29169 2006-03-01 Roman Kennke <kennke@aicas.com>
29171 * javax/swing/text/AbstractDocument.java
29172 (LeafElement.LeafElement): Handle delta with respect to content
29173 length not document length.
29174 * javax/swing/text/CompositeView.java
29175 (getViewIndex): Handle bias correctly.
29176 * javax/swing/text/DefaultCaret.java
29177 (paint): Align caret position to document bounds to avoid trouble
29178 when removing large portions of content.
29179 * javax/swing/text/DefaultStyledDocument.java
29180 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29181 (ElementBuffer.createFracture): Copy old childs attribute. The
29182 ElementSpec usually doesn't carry attribute information.
29183 Use pos instead of offset.
29184 (ElementBuffer.insertFracture): Use pos instead of offset.
29185 (createDefaultRootElement): Don't use create* and instead directly
29186 instantiate the elements.
29187 (handleInsertAfterNewline): Compare the paragraphs startOffset
29188 rather than previous paragraphs endOffset.
29189 * javax/swing/text/JTextComponent.java
29190 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29192 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29194 * javax/swing/text/PlainView.java
29195 (damageLineRange): Avoid creating new Rectangle by using
29197 * javax/swing/text/View.java
29198 (forwardUpdate): Correct the use of bias.
29199 (modelToView): Avoid new Rectangles by using SwingUtilities.
29200 (dump): Made (temprorarily) protected for use in BasicTextUI.
29201 (dump(int)): Dump out the element of the view.
29203 2006-03-01 Lillian Angel <langel@redhat.com>
29205 * NEWS: javax.imageio.plugins.bmp implementation.
29207 2006-03-01 Lillian Angel <langel@redhat.com>
29209 * javax/imageio/ImageWriteParam.java:
29210 Added documentation for fields.
29211 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29212 New class implemented.
29214 2006-03-01 Tom Tromey <tromey@redhat.com>
29216 * NEWS: Mention java.util.prefs update.
29218 2006-03-01 Tom Tromey <tromey@redhat.com>
29220 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29221 * java/nio/charset/UnmappableCharacterException.java:
29222 (serialVersionUID): New field.
29223 * java/nio/charset/MalformedInputException.java:
29224 (serialVersionUID): New field.
29225 * java/nio/charset/CoderMalfunctionError.java:
29226 (serialVersionUID): New field.
29227 * java/nio/charset/CharacterCodingException.java:
29228 (serialVersionUID): New field.
29229 * java/nio/channels/UnsupportedAddressTypeException.java:
29230 (serialVersionUID): New field.
29231 * java/nio/channels/UnresolvedAddressException.java:
29232 (serialVersionUID): New field.
29233 * java/nio/channels/OverlappingFileLockException.java:
29234 (serialVersionUID): New field.
29235 * java/nio/channels/NotYetConnectedException.java:
29236 (serialVersionUID): New field.
29237 * java/nio/channels/NotYetBoundException.java
29238 (serialVersionUID): New field.
29239 * java/nio/channels/NonWritableChannelException.java
29240 (serialVersionUID): New field.
29241 * java/nio/channels/NonReadableChannelException.java
29242 (serialVersionUID): New field.
29243 * java/nio/channels/NoConnectionPendingException.java
29244 (serialVersionUID): New field.
29245 * java/nio/channels/IllegalSelectorException.java
29246 (serialVersionUID): New field.
29247 * java/nio/channels/IllegalBlockingModeException.java
29248 (serialVersionUID): New field.
29249 * java/nio/channels/FileLockInterruptionException.java
29250 (serialVersionUID): New field.
29251 * java/nio/channels/ConnectionPendingException.java
29252 (serialVersionUID): New field.
29253 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29255 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29257 * java/nio/channels/ClosedByInterruptException.java
29258 (serialVersionUID): New field.
29259 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29261 * java/nio/channels/AsynchronousCloseException.java
29262 (serialVersionUID): New field.
29263 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29265 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29266 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29267 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29269 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29270 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29271 Javadoc fix. Added import.
29272 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29273 (validOps): Likewise.
29274 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29275 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29276 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29277 * java/nio/channels/Channels.java: Added import.
29278 * java/nio/channels/FileChannel.java (lock): Typo fix.
29279 (tryLock): Likewise.
29281 2006-03-01 Tom Tromey <tromey@redhat.com>
29283 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29285 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29286 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29288 (putSpi): Likewise.
29289 (newNode): Likewise.
29291 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29292 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29294 (systemRoot): Use it.
29295 (userPreferences): New field.
29296 (userRoot): Use it.
29298 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29300 * java/util/ResourceBundle.java
29301 (tryBundle): Catch and ignore all Exceptions.
29303 2006-02-28 Roman Kennke <kennke@aicas.com>
29305 * javax/swing/plaf/basic/BasicScrollBarUI.java
29306 (getPreferredSize): Fixed add a fixed space between the buttons
29307 instead of something related to min/max.
29308 (installComponents): Create and install buttons here.
29309 (installDefaults): Don't create buttons here.
29310 * javax/swing/plaf/metal/MetalScrollBarUI.java
29311 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29312 (getPreferredSize): New method.
29314 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29316 * examples/gnu/classpath/examples/swing/Demo.java
29317 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29318 connected 'Spinner' action to SpinnerDemo,
29319 (mkCheckbox): Removed,
29320 (mkRadio): Likewise,
29321 (mkSpinner): Likewise,
29322 (mkToggle): Likewise,
29323 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29324 connected 'Spinner' action to SpinnerDemo.
29326 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29328 * javax/print/ServiceUIFactory.java: Added documentation to class.
29330 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29333 * javax/swing/DefaultListSelectionModel.java:
29334 (addSelectionInterval): Return early if either of the arguments is -1.
29335 (removeSelectionInterval): Likewise.
29336 (setSelectionInterval): Likewise.
29338 2006-02-28 Lillian Angel <langel@redhat.com>
29340 * javax/swing/text/DefaultFormatter.java
29341 (stringToValue): Added NPE check.
29343 2006-02-28 Roman Kennke <kennke@aicas.com>
29346 * javax/swing/JList.java
29347 (getPreferredScrollableViewportSize): Restored specified behaviour.
29348 * javax/swing/plaf/metal/MetalFileChooserUI.java
29349 (createList): Set filelist panel's preferredSize, so that it doesn't
29350 get size into infinity for big lists.
29352 2006-02-28 Lillian Angel <langel@redhat.com>
29354 * javax/swing/ViewportLayout.java
29355 (layoutContainer): Should not extend container to be
29356 minimum size. Mauve test shows that the preferred size
29357 and the size of the viewport can be set smaller than
29360 2006-02-28 Lillian Angel <langel@redhat.com>
29363 * javax/swing/JList.java
29364 (getPreferredScrollableViewportSize): Added a check to determine
29365 if orientation is VERTICAL_WRAP. If it is, we should only
29368 2006-02-28 Lillian Angel <langel@redhat.com>
29371 * javax/swing/ViewportLayout.java:
29372 Patch submitted by Audrius Meskauskas
29373 (addLayoutComponent): Added documentation.
29374 (removeLayoutComponent): Likewise.
29375 (preferredLayoutSize): Likewise.
29376 (minimumLayoutSize): Likewise.
29377 (layoutContainer): Fixed code, so view is set
29378 to the right position when inside a scrollpane.
29380 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29382 * java/math/BigInteger.java:
29383 Committed patch by Rafael:
29384 developer.classpath.org/pipermail/classpath-patches/
29385 2006-February/000473.html
29386 (signum): Return early 0 if words == null and ival == 0.
29387 (readObject): Handle special case of magnitude.length or signum being
29389 (writeObject): If signum is zero return a zero-sized byte[].
29391 2006-02-28 Lillian Angel <langel@redhat.com>
29393 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29394 (create): Initially set the directory to the current working directory.
29395 (setDirectory): Removed else-if. No need for this check.
29397 2006-02-28 Tom Tromey <tromey@redhat.com>
29399 * .project: Run java builder before header generation.
29401 2006-02-28 Tom Tromey <tromey@redhat.com>
29403 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29405 * gnu/java/util/prefs/EventDispatcher.java: New file.
29406 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29407 (NodeWriter): Specify UTF-8.
29408 (writeHeader): Emit DOCTYPE.
29409 * java/util/prefs/Preferences.java (getFactory): Add cause to
29411 (exportNode): Documented.
29412 (exportSubtree): Likewise.
29413 (importPreferences): Likewise.
29414 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29415 (writeObject): Likewise.
29416 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29417 (writeObject): Likewise.
29418 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29419 (nodeListeners): New field.
29420 (preferenceListeners): Likewise.
29421 (addNodeChangeListener): Implemented.
29422 (addPreferenceChangeListener): Likewise.
29423 (removeNodeChangeListener): Likewise.
29424 (removePreferenceChangeListener): Likewise.
29425 (fire): New methods.
29427 (remove): Likewise.
29428 (purge): Likewise. Fixed synchronization.
29429 (removeNode): Fixed synchronization.
29430 (getNode): Fire event.
29431 (flushNode): Fixed synchronization.
29433 2006-02-28 Roman Kennke <kennke@aicas.com>
29435 * javax/swing/text/BranchElement.java
29436 (startOffset): New field.
29437 (endOffset): New field.
29438 (BranchElement): Initialize new fields.
29439 (getEndOffset): Rewritten to possibly return cached values
29440 if element has no children.
29441 (getStartOffset): Rewritten to possibly return cached values
29442 if element has no children.
29443 * javax/swing/text/LeafElement.java
29444 (startDelta): New field.
29445 (endDelta): New field.
29446 (LeafElement): Handle possible delta of start/endOffset when
29447 these parameters lie outside the document range.
29448 (getStartOffset): Handle possible startDelta.
29449 (getEndOffset): Handle possible startDelta.
29451 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29453 * NEWS: Added line about Unicode 4.0.0 support.
29455 2006-02-28 Roman Kennke <kennke@aicas.com>
29457 * javax/swing/SwingUtilities.java
29458 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29460 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29462 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29464 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29466 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29467 Amended class documentation.
29468 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29470 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29471 a BIT STRING construct.
29472 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29474 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29476 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29477 a BIT STRING construct.
29478 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29479 (engineVerify): Added logging.
29481 2006-02-28 Roman Kennke <kennke@aicas.com>
29483 * java/awt/Component.java
29484 (dispatchEventImpl): Let the Toolkit dispatch global events.
29485 * java/awt/Container.java
29486 (dispatchEventImpl): Let the LightweightDispatcher handle events
29488 * java/awt/EventQueue.java
29489 (dispatchEvent): Don't do the global event dispatching here. This
29490 is moved to the Component.
29491 (globalDispatchEvent): Moved this method to Toolkit.
29492 * java/awt/LightweightDispatcher.java
29493 (instances): New field.
29494 (getInstance): New method. Delivers an instance of
29495 LightweightDispatcher.
29496 (LightweightDispatcher): Made default constructor private.
29497 (dispatchEvent): New method. Replaces the eventDispatched method.
29498 This now returns true when the event was actually dispatched.
29499 (eventDispatched): Replaced by dispatchEvent.
29500 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29501 received the last MOUSE_RELEASED.
29502 * java/awt/Toolkit.java
29503 (Toolkit): Don't register LightweightDispatcher as global event
29505 (globalDispatchEvent): Moved here from EventQueue.
29507 2006-02-27 David Daney <ddaney@avtrex.com>
29510 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29512 (getRequestProperties): Rewrote.
29514 2006-02-27 David Daney <ddaney@avtrex.com>
29517 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29519 (ChunkedInputStream): Extend InputStream.
29521 (headers): Moved to top of class.
29522 (constructor): Save referenct to in.
29523 (read(byte[])): Removed method.
29524 (read(byte[], int, int)): Made synchronized and throw IOException
29525 on error parsing chunk header.
29526 (available): New method.
29527 (close): New method.
29529 2006-02-27 David Daney <ddaney@avtrex.com>
29531 * gnu/java/net/protocol/http/HTTPURLConnection.java
29532 (imports): Cleaned up.
29533 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29534 (constructor): ... Here, using SystemProperties instead of System.
29536 2006-02-27 Lillian Angel <langel@redhat.com>
29538 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29539 (setDirectory): GtkFileChooser requires an absolute directory
29540 name. Added a check to make the directory passed to nativeSetDirectory
29543 2006-02-27 Roman Kennke <kennke@aicas.com>
29545 * javax/swing/SwingUtilities.java
29546 (computeIntersection): Changed to store result in rect, instead of
29547 creating new Rectangle instances. Fixed API docs accordingly.
29548 (computeUnion): Changed to store result in rect, instead of
29549 creating new Rectangle instances. Fixed API docs accordingly.
29551 2006-02-27 Roman Kennke <kennke@aicas.com>
29553 * javax/swing/JViewport.java
29554 (static_init): Changed default scrollmode to BLIT.
29555 (paintSimple): Added some clipping to avoid painting problems.
29556 (paintBlit): Added some clipping to avoid painting problems.
29558 2006-02-27 Roman Kennke <kennke@aicas.com>
29560 * javax/swing/JComponent.java
29561 (rectCache): Made field static to save memory.
29562 (getVisibleRect): Don't use rectCache and create new Rectangle
29564 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29565 (repaint(long,int,int,int,int)): Directly call
29566 RepaintManager.addDirtyRegion(). The visibleRect check is now
29567 performed in the RepaintManager.
29569 2006-02-27 Roman Kennke <kennke@aicas.com>
29571 * javax/swing/RepaintManager.java
29572 (currentRepaintManagers): Made field private.
29573 (rectCache): New field.
29574 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29575 component. Changed Rectangle handling to avoid unnecessary new
29576 Rectangle instances.
29577 (getOffscreenBuffer): Create buffer with size of the root window.
29578 Respect the maximum buffer size here.
29579 (commitBuffer): Align the regions so that they are inside the buffer
29580 image and inside the clip. This avoids problems with a bug in GTKImage.
29581 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29583 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29585 * native/fdlibm/e_acos.c,
29586 * native/fdlibm/e_asin.c,
29587 * native/fdlibm/e_atan2.c,
29588 * native/fdlibm/e_cosh.c,
29589 * native/fdlibm/e_exp.c,
29590 * native/fdlibm/e_fmod.c,
29591 * native/fdlibm/e_hypot.c,
29592 * native/fdlibm/e_log.c,
29593 * native/fdlibm/e_log10.c,
29594 * native/fdlibm/e_rem_pio2.c,
29595 * native/fdlibm/e_remainder.c,
29596 * native/fdlibm/e_sinh.c,
29597 * native/fdlibm/e_sqrt.c,
29598 * native/fdlibm/k_cos.c,
29599 * native/fdlibm/k_sin.c,
29600 * native/fdlibm/k_tan.c,
29601 * native/fdlibm/s_atan.c,
29602 * native/fdlibm/s_cbrt.c,
29603 * native/fdlibm/s_ceil.c,
29604 * native/fdlibm/s_copysign.c,
29605 * native/fdlibm/s_cos.c,
29606 * native/fdlibm/s_expm1.c,
29607 * native/fdlibm/s_fabs.c,
29608 * native/fdlibm/s_finite.c,
29609 * native/fdlibm/s_floor.c,
29610 * native/fdlibm/s_log1p.c,
29611 * native/fdlibm/s_rint.c,
29612 * native/fdlibm/s_scalbn.c,
29613 * native/fdlibm/s_sin.c,
29614 * native/fdlibm/s_tan.c,
29615 * native/fdlibm/s_tanh.c:
29616 Fixed to call our macros rather than __HI and __LO.
29617 * native/fdlibm/fdlibm.h:
29618 Reintroduced previous extraction code.
29619 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29620 (GET_HIGH_WORD(i,d)): Readded.
29621 (GET_LOW_WORD(i,d)): Readded.
29622 (INSERT_WORDS(d,ix0,ix1)): Readded.
29623 (SET_HIGH_WORD(d,i)): Readded.
29624 (SET_LOW_WORD(d,i)): Readded.
29625 * native/jni/gtk-peer/gthread-jni.c:
29626 Use Glib macros to convert integers/pointers portably.
29628 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29630 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29631 as the fallback SPI.
29632 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29633 ones referencing GNU-CRYPTO classes.
29634 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29635 (engineValidate): Use GNU-CRYPTO class.
29636 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29637 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29638 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29639 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29640 * gnu/java/security/provider/DSAParameters: Likewise.
29641 * gnu/java/security/provider/DSASignature: Likewise.
29642 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29643 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29644 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29645 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29646 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29647 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29648 * gnu/java/security/provider/MD2withRSA: Likewise.
29649 * gnu/java/security/provider/MD4withRSA: Likewise.
29650 * gnu/java/security/provider/MD5: Likewise.
29651 * gnu/java/security/provider/MD5withRSA: Likewise.
29652 * gnu/java/security/provider/RSA: Likewise.
29653 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29654 * gnu/java/security/provider/SHA: Likewise.
29655 * gnu/java/security/provider/SHA1PRNG: Likewise.
29656 * gnu/java/security/provider/SHA1withRSA: Likewise.
29657 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29659 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29661 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29662 (engineGeneratePublic): Added logging.
29663 (engineGeneratePrivate): Likewise.
29664 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29665 (encodePublicKey): Added logging.
29666 Clarified in method documentation that params is optional, but is
29667 always NULL if present.
29668 (decodePublicKey): Added logging.
29669 Handle optional NULL element.
29671 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29673 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29675 2006-03-03 Tom Tromey <tromey@redhat.com>
29677 * java/awt/MenuBar.java (shortcuts): Genericized.
29679 2006-03-03 Tom Tromey <tromey@redhat.com>
29681 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29683 (getListenerType): Likewise.
29684 * java/beans/Introspector.java (getBeanInfo): Genericized.
29685 * java/beans/DefaultPersistenceDelegate.java (initialize):
29688 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29690 * java/math/BigDecimal.java:
29691 (precision): Fixed overflow problem with large numbers.
29692 (longValueExact): New method.
29693 (intValueExact): Likewise.
29694 (byteValueExact): Likewise.
29695 (shortValueExact): Likewise.
29697 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29699 * java/math/BigDecimal.java:
29700 (remainder(BigDecimal)): New method.
29701 (divideAndRemainder(BigDecimal)): Likewise.
29702 (divideToIntegralValue(BigDecimal)): Likewise.
29703 (floor): New implementation method.
29705 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29707 * java/math/BigDecimal.java:
29708 (divide(BigDecimal, int, RoundingMode)): New method.
29709 (divide(BigDecimal, RoundingMode)): Likewise.
29710 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29711 when the new scale is < 0.
29712 (setScale(int, RoundingMode)): New method.
29715 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29717 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29718 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29719 (add(BigDecimal, MathContext)): New method.
29720 (subtract(BigDecimal, MathContext)): Likewise.
29721 (precision): Fixed to correctly handle BigIntegers with more than 19
29723 (pow(int, MathContext)): New method.
29725 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29727 * java/math/BigDecimal.java: Added @throws clause to constructors.
29728 (mathContext): Removed this unneeded field.
29729 (BigDecimal(int, MathContext)): New constructor.
29730 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29731 (multiply(BigDecimal, MathContext)): New method.
29732 (negate(MathContext)): Likewise.
29733 (plus(MathContext)): Likewise.
29734 (numDigitsInLong): Fixed to properly handle negatives.
29736 2006-02-25 Chris Burdess <dog@gnu.org>
29738 * gnu/java/net/CRLFInputStream.java,
29739 gnu/java/net/LineInputStream.java: Streams that use mark
29740 capabilities on the underlying stream do not expose mark
29741 functionality themselves.
29742 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29745 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29747 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29748 option flags passed to match methods.
29749 (MF_FIND_ALL): New flag.
29750 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29751 do not try other possibilties once a match is found.
29752 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29753 so that all possibilities can be found.
29754 (match): Rewritten using new methods matchMinimum and _match.
29755 (_match): New method which performs a depth-first recursive search.
29756 (matchMinimum): New method.
29757 (initVisited), (visitedContains), (addVisited): New methods for
29758 manipulating an array of icharacter positions which _match has
29761 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29763 * java/math/BigDecimal.java:
29764 (BigDecimal(long, MathContext)): New constructor.
29765 (BigDecimal(BigInteger, MathContext)): Likewise.
29766 (BigDecimal(String, MathContext)): Likewise.
29767 (BigDecimal(double, MathContext)): Likewise.
29768 (round): Fixed a typo where the precision field was used instead of a
29769 call to the precision method, and also store the new precision in the
29770 returned BigDecimal.
29771 (abs(MathContext)): New method.
29773 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29775 * java/math/BigDecimal.java
29776 (toBigInteger): Fixed problem where this method couldn't handle
29777 negative values for scale.
29778 (toBigIntegerExact): New method.
29779 (stripTrailingZeros): Likewise.
29781 2006-02-24 David Daney <ddaney@avtrex.com>
29784 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29786 (Pool): New inner class.
29787 (timeLastUsed): New field.
29788 (setPool): Changed parameter type to Pool.
29789 (release): Moved pool management logic to new class Pool.
29790 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29792 (maxConnections) : Removed.
29793 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29794 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29796 2006-02-24 Lillian Angel <langel@redhat.com>
29798 * java/awt/Container.java:
29799 Added new field. True if Container has been cleared and
29800 heavyweights need to be repainted.
29801 (paint): Fixed comment. Fixed to use backCleared and
29803 (update): Set backCleared to true after the background
29804 of the container has been cleared.
29806 2006-02-24 Lillian Angel <langel@redhat.com>
29808 * java/awt/TextField.java
29809 (addNotify): Added call to super.
29811 2006-02-24 Lillian Angel <langel@redhat.com>
29813 * java/awt/Component.java
29814 (reshape): Reverted last patch. Should have check here.
29815 (addNotify): Added check. If parent is lightweight, then
29816 initialize listener on the parent.
29817 (HeavyweightInLightweightListener): New class.
29819 2006-02-24 Roman Kennke <kennke@aicas.com>
29821 * javax/swing/plaf/basic/BasicComboPopup.java
29822 (show): Register the popup with the autocloser after it has been
29823 opened completely, by putting the registration on the eventqueue.
29825 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29827 * gnu/java/security/prng/BasePRNG.java:
29828 (clone()): Added cast of buffer to byte[].
29829 * gnu/javax/crypto/mac/TMMH16.java:
29830 (clone()): Fixed casting of cloned arrays.
29831 * native/fdlibm/fdlibm.h:
29832 Added missing defines from old fdlibm.h needed by Darwin.
29833 (GET_FLOAT_WORD(i,d)): Re-added.
29834 (SET_FLOAT_WORD(d,i)): Re-added.
29836 2006-02-24 Roman Kennke <kennke@aicas.com>
29838 * java/awt/Container.java:
29839 (dispatcher): Removed field.
29840 (dispatchEventImpl): Removed lightweight dispatching.
29841 (addNotifyContainerChildren): Removed LightweightDispatcher
29843 (LightweightDispatcher): Removed class.
29844 * java/awt/LightweightDispatcher.java: New class.
29845 * java/awt/Toolkit.java
29846 (Toolkit): Install LightweightDispatcher in global listener
29849 2006-02-24 Chris Burdess <dog@gnu.org>
29852 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29855 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29857 * NEWS: Mentions the VMMath runtime changes.
29858 * doc/vmintegration.texinfo: Updated to include
29861 2006-02-24 Roman Kennke <kennke@aicas.com>
29863 * javax/swing/plaf/basic/BasicLookAndFeel.java
29864 (PopupHelper.autoClosePopups): New field.
29865 (PopupHelper.mousePressed): Also autoclose any registered popups.
29866 (PopupHelper.registerForAutoClose): New method.
29867 (PopupHelper.autoClosePopups): New method.
29868 (popupHelper): Changed type of field to PopupHelper.
29869 (registerForAutoClose): New method.
29870 * javax/swing/plaf/basic/BasicComboPopup.java
29871 (show): Register this popup for autoclosing.
29873 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29875 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29876 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29877 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29879 2006-02-24 Roman Kennke <kennke@aicas.com>
29881 Reported by Ingo Proetel <proetel@aicas.com>
29882 * java/util/logging/LogManager.java
29883 (addLogger): Search the parent loggers for log level
29884 configuration and inherit that.
29885 (readConfiguration): Provide minimal default configuration
29886 if no configuration can be found otherwise.
29888 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29890 * java/math/BigDecimal.java:
29891 (toString): Fixed a problem where the negative sign was being displayed
29892 twice in the exponent.
29893 (toEngineeringString): New method.
29894 (toPlainString): Likewise.
29897 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29899 * java/math/BigDecimal.java:
29900 (toString): Rewrote this method to behave as specified. Added API
29901 comments to explain behaviour.
29902 (scaleByPowerOfTen): New method.
29904 2006-02-23 Roman Kennke <kennke@aicas.com>
29906 * javax/swing/JRootPane.java
29907 (isOptimizedDrawingEnabled): Implemented to return true
29908 when the glassPane is not visible.
29910 2006-02-23 Roman Kennke <kennke@aicas.com>
29912 * javax/swing/plaf/basic/BasicLookAndFeel.java
29913 (PopupHelper): New inner class.
29914 (popupHelper): New field.
29915 (initialize): New method.
29916 (uninitialize): New method.
29917 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29918 (mouseInputListener): Removed field.
29919 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29920 handling of GlassPane.
29921 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29922 handling of GlassPane.
29923 (MouseInputHandler): Removed class.
29925 2006-02-23 Roman Kennke <kennke@aicas.com>
29927 * java/awt/AWTEvent.java
29928 (eventIdToMask): New utility method.
29929 * java/awt/EventQueue.java
29930 (dispatchEvent): Also globally dispatch events via the toolkit.
29931 (globalDispatchEvent): New method.
29932 * java/awt/Toolkit.java
29933 (awtEventListeners): New field.
29934 (Toolkit()): Initialize new field.
29935 (createComponent): Create GLightweightPeer here.
29936 (addAWTEventListener): Implemented and documented.
29937 (removeAWTEventListener): Implemented and documented.
29938 (getAWTEventListeners): Implemented and documented both method
29940 * java/awt/event/AWTEventListenerProxy.java
29941 (eventDispatched): Don't filter events here.
29943 2006-02-23 Chris Burdess <dog@gnu.org>
29946 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29947 gnu/xml/dom/JAXPFactory.java,
29948 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29949 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29950 implement DocumentBuilderFactory.get/setFeature methods.
29952 2006-02-23 Lillian Angel <langel@redhat.com>
29954 * gnu/java/awt/peer/GLightweightPeer.java
29955 (repaint): Scott's proposed fix. Send repaint to the
29956 component's parent.
29957 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29958 (setBounds): Removed next_parent, not needed. Removed
29959 lightweightChild, we always need to compensate for the
29961 * java/awt/Component.java
29962 (setBounds): Removed check. Caused lots of problems, because some
29963 components were not being invalidated. Components should be
29964 invalidated when they are resized or moved, and in some cases,
29965 when a parent is resized/moved, the components do not know
29966 about it and do not adjust.
29967 * java/awt/Graphics.java
29968 (hitClip): Scott's proposed fix. Added check to handle a
29971 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29973 * javax/print/attribute/standard/MediaSize.java:
29974 (media): Field renamed to mediaName for serialization.
29975 (MediaSize): Adapted to new fieldname.
29976 (getMediaSizeName): Likewise.
29977 * javax/print/attribute/HashAttributeSet.java:
29978 (interfaceName): Field renamed to myInterface for serialization.
29979 (HashAttributeSet): Adapted to the new fieldname.
29981 (addAll): Likewise.
29982 (addInternal): Likewise.
29983 (attributeMap): Made transient.
29984 (readObject): New serialization method.
29985 (writeObject): Likewise.
29986 * javax/print/attribute/AttributeSetUtilities.java:
29987 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29988 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29989 (SynchronizedAttributeSet.addAll): Likewise.
29990 (SynchronizedAttributeSet.clear): Likewise.
29991 (SynchronizedAttributeSet.containsKey): Likewise.
29992 (SynchronizedAttributeSet.containsValue): Likewise.
29993 (SynchronizedAttributeSet.equals): Likewise.
29994 (SynchronizedAttributeSet.get): Likewise.
29995 (SynchronizedAttributeSet.hashCode): Likewise.
29996 (SynchronizedAttributeSet.isEmpty): Likewise.
29997 (SynchronizedAttributeSet.remove): Likewise.
29998 (SynchronizedAttributeSet.size): Likewise.
29999 (SynchronizedAttributeSet.toArray): Likewise.
30000 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30001 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30002 (UnmodifiableAttributeSet.addAll): Likewise.
30003 (UnmodifiableAttributeSet.clear): Likewise.
30004 (UnmodifiableAttributeSet.containsKey): Likewise.
30005 (UnmodifiableAttributeSet.containsValue): Likewise.
30006 (UnmodifiableAttributeSet.equals): Likewise.
30007 (UnmodifiableAttributeSet.get): Likewise.
30008 (UnmodifiableAttributeSet.hashCode): Likewise.
30009 (UnmodifiableAttributeSet.isEmpty): Likewise.
30010 (UnmodifiableAttributeSet.remove): Likewise.
30011 (UnmodifiableAttributeSet.size): Likewise.
30012 (UnmodifiableAttributeSet.toArray): Likewise.
30013 * javax/print/attribute/standard/MediaPrintableArea.java:
30014 (width): Field renamed to w for serialization.
30015 (height): Field renamed to h for serialization.
30016 (MediaPrintableArea): Adapted to the new fieldnames.
30017 (MediaPrintableArea): Likewise.
30018 (equals): Likewise.
30019 (hashCode): Likewise.
30020 (getHeight): Likewise.
30021 (getWidth): Likewise.
30023 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30025 * include/java_lang_VMMath.h:
30026 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30027 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30028 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30029 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30030 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30031 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30032 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30033 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30034 * java/lang/Math.java:
30035 (cbrt(double)): Implemented.
30036 (cosh(double)): Implemented.
30037 (expm1(double)): Implemented.
30038 (hypot(double,double)): Implemented.
30039 (log10(double)): Implemented.
30040 (log1p(double)): Implemented.
30041 (signum(double)): Implemented.
30042 (signum(float)): Implemented.
30043 (sinh(double)): Implemented.
30044 (tanh(double)): Implemented.
30045 * native/fdlibm/Makefile.am:
30046 Added new files from fdlibm 5.3.
30047 * native/fdlibm/e_acos.c,
30048 * native/fdlibm/e_asin.c,
30049 * native/fdlibm/e_atan2.c,
30050 * native/fdlibm/e_exp.c,
30051 * native/fdlibm/e_fmod.c,
30052 * native/fdlibm/e_log.c,
30053 * native/fdlibm/e_rem_pio2.c,
30054 * native/fdlibm/e_remainder.c,
30055 * native/fdlibm/e_scalb.c,
30056 * native/fdlibm/e_sqrt.c,
30057 * native/fdlibm/k_cos.c,
30058 * native/fdlibm/k_rem_pio2.c,
30059 * native/fdlibm/k_sin.c,
30060 * native/fdlibm/k_tan.c,
30061 * native/fdlibm/s_atan.c,
30062 * native/fdlibm/s_ceil.c,
30063 * native/fdlibm/s_copysign.c,
30064 * native/fdlibm/s_cos.c,
30065 * native/fdlibm/s_fabs.c,
30066 * native/fdlibm/s_finite.c,
30067 * native/fdlibm/s_floor.c,
30068 * native/fdlibm/s_rint.c,
30069 * native/fdlibm/s_scalbn.c,
30070 * native/fdlibm/s_sin.c,
30071 * native/fdlibm/s_tan.c,
30072 * native/fdlibm/w_acos.c,
30073 * native/fdlibm/w_asin.c,
30074 * native/fdlibm/w_atan2.c,
30075 * native/fdlibm/w_acos.c,
30076 * native/fdlibm/w_exp.c,
30077 * native/fdlibm/w_fmod.c,
30078 * native/fdlibm/w_log.c,
30079 * native/fdlibm/w_pow.c,
30080 * native/fdlibm/w_remainder.c,
30081 * native/fdlibm/w_sqrt.c:
30082 Updated to fdlibm 5.3.
30083 * native/fdlibm/e_cosh.c,
30084 * native/fdlibm/e_hypot.c,
30085 * native/fdlibm/e_log10.c,
30086 * native/fdlibm/e_sinh.c,
30087 * native/fdlibm/s_cbrt.c,
30088 * native/fdlibm/s_expm1.c,
30089 * native/fdlibm/s_log1p.c,
30090 * native/fdlibm/s_tanh.c,
30091 * native/fdlibm/w_cosh.c,
30092 * native/fdlibm/w_hypot.c,
30093 * native/fdlibm/w_log10.c,
30094 * native/fdlibm/w_sinh.c:
30095 Imported from fdlibm 5.3.
30096 * native/fdlibm/fdlibm.h:
30097 Imported from fdlibm 5.3 with Classpath additions.
30098 * native/fdlibm/namespace.h:
30099 Updated from new math_symbols file.
30100 * native/jni/java-lang/java_lang_VMMath.c:
30101 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30102 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30103 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30104 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30106 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30107 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30108 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30109 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30110 * scripts/math_symbols:
30111 Added tanh, expm1, log10 and log1p.
30112 * vm/reference/java/lang/VMMath.java:
30113 (cbrt(double)): Implemented.
30114 (cosh(double)): Implemented.
30115 (expm1(double)): Implemented.
30116 (hypot(double,double)): Implemented.
30117 (log10(double)): Implemented.
30118 (log1p(double)): Implemented.
30119 (sinh(double)): Implemented.
30120 (tanh(double)): Implemented.
30122 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30124 * javax/print/DocFlavor.java: Added documentation all over.
30125 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30126 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30127 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30128 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30129 (URL.TEXT_HTML_HOST): Likewise.
30130 (URL.TEXT_PLAIN_HOST): Likewise.
30131 (hostEncoding): Initialize with host default charset encoding.
30132 (mediaSubtype): Made transient.
30133 (mediaType): Likewise.
30134 (params): Made transient. Changed type to TreeMap.
30135 (className): Removed, changed to myClassName.
30136 (myClassName): New field as defined in serialized form.
30137 (DocFlavor): Adapted to new variable types, names.
30138 (parseMimeType): Reimplemented.
30139 (getParameter): Search with lowercase name.
30140 (getRepresentationClassName): Adapted to changed variable name.
30141 (hashCode): Likewise.
30142 (toString): Reimplemented.
30143 (readObject): New method for serialization.
30144 (writeObject): Likewise.
30146 2006-02-23 Roman Kennke <kennke@aicas.com>
30148 * javax/swing/RepaintManager.java
30149 (commitBuffer): Clip the repaint area with the current clip.
30151 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30153 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30154 (DEFAULT_PRIME_SIZE): Made public.
30155 (DEFAULT_EXPONENT_SIZE): Likewise.
30156 (setup): Handle DHParameterSpec as well.
30157 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30158 defaultFormat instead of Raw.
30159 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30160 (checkIsConstructed): Removed.
30161 (checkIsBigInteger): Likewise.
30162 (decodePublicKey): Use DerUtil.
30163 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30164 (checkIsConstructed): Removed.
30165 (checkIsBigInteger): Likewise.
30166 (decodePrivateKey): Use DerUtil.
30167 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30169 Added mappings for AlgorithmParameters.DH and
30170 AlgorithmParameterGenerator.DH.
30171 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30172 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30173 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30174 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30176 (engineGeneratePublic): Likewise.
30177 * gnu/java/security/util/DerUtil.java: New file.
30178 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30179 Include only valid RSA PKCS1 (v1.5) signature names.
30180 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30181 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30182 (checkIsConstructed): Likewise.
30183 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30184 (checkIsConstructed): Removed.
30185 (checkIsBigInteger): Likewise.
30186 (decodeSignature): Use DerUtil.
30187 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30188 (checkIsConstructed): Removed.
30189 (checkIsBigInteger): Likewise.
30190 (decodePublicKey): Use DerUtil.
30191 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30192 (checkIsConstructed): Removed.
30193 (checkIsBigInteger): Likewise.
30194 (decodePrivateKey): Use DerUtil.
30195 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30196 (checkIsConstructed): Removed.
30197 (checkIsBigInteger): Likewise.
30198 (decodePublicKey): Use DerUtil.
30199 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30200 (checkIsConstructed): Removed.
30201 (checkIsBigInteger): Likewise.
30202 (decodePrivateKey): Use DerUtil.
30203 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30204 (DEFAULT_MODULUS_LENGTH): Made it public.
30205 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30206 defaultFormat instead of Raw.
30207 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30208 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30209 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30211 (engineGeneratePublic): Likewise.
30212 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30214 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30216 * java/math/BigDecimal.java:
30217 (BigDecimal(char[], int, int, MathContext)): New constructor.
30218 (BigDecimal(char[], MathContext)): Likewise.
30219 (BigDecimal(char[])): Likewise.
30220 (BigDecimal(char[], int, int)): Likewise.
30221 (BigDecimal(String)): Fixed handling of exponent and scale.
30223 2006-02-22 Mark Wielaard <mark@klomp.org>
30225 * java/awt/Checkbox.java (setState): Check that state actually changed
30226 before calling peer.
30227 (dispatchEventImpl): Set new state if ItemEvent.
30228 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30229 (create): Set currentState.
30230 (setState): Make synchronized, check and set currentState before
30231 calling gtkToggleButtonSetActive.
30232 (postItemEvent): Make synchronized, check and set currentState before
30234 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30235 (postItemEventID): Method now takes boolean.
30236 (item_toggled_cb): Likewise.
30238 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30240 * javax/swing/text/DefaultHighlighter.java:
30241 (changeHighlight): Added code to minimize the damaged area.
30243 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30245 * javax/swing/text/PlainView.java:
30246 (getPreferredSpan): Added missing 'break'.
30247 statement which corrects an unwanted fall through.
30248 (updateDamage): Update maxLineLength correctly when text is
30249 removed, call preferenceChanged accordingly.
30250 (viewToModel): Restrict line number to be within 0 and the
30251 number of elements-1.
30253 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30255 * javax/swing/text/Utilities.java:
30256 (getPositionAbove): Prefer first value by changing comparison
30258 (getPositionBelow): Dito.
30260 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30262 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30263 behavior when magic caret position is null.
30265 2006-02-22 Roman Kennke <kennke@aicas.com>
30267 * javax/swing/JTextField.java
30268 (isValidateRoot): New method.
30270 2006-02-22 Roman Kennke <kennke@aicas.com>
30272 * javax/swing/JEditorPane.java
30273 (getPreferredSize): Rewritten to behave like the reference impl.
30274 (getScrollableTracksViewportWidth): Likewise.
30275 (getScrollableTracksViewportHeight): Likewise.
30277 2006-02-22 Roman Kennke <kennke@aicas.com>
30279 * javax/swing/RepaintManager.java
30280 (addInvalidComponent): Also consider the component itself.
30282 2006-02-22 Mark Wielaard <mark@klomp.org>
30284 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30285 qualify AbstractDocument.AttributeContext.
30286 (blockOpen): Likewise.
30288 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30290 * java/math/BigDecimal.java:
30291 (mathContext): New field.
30292 (precision): Likewise.
30293 (BigDecimal(int)): New constructor.
30294 (BigDecimal(long)): Likewise.
30295 (BigDecimal(BigInteger)): Added API docs.
30296 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30297 and added API docs.
30298 (plus): New method.
30300 (precision): Likewise.
30301 (valueOf): Likewise.
30302 (numDigitsInLong): New implementation method.
30304 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30306 * java/math/MathContext.java: New class.
30307 * java/math/RoundingMode: New Enum.
30309 2006-02-21 Mark Wielaard <mark@klomp.org>
30311 * java/awt/Component.java (translateEvent): Translate
30312 AdjustmentEvents to 1.0 Events.
30313 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30314 Call setValue() before processing event.
30315 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30316 whether we are currently changing and being called back from the
30317 Scrollbar component.
30318 (setBarValues): New native method.
30319 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30320 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30321 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30322 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30323 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30325 2006-02-21 Roman Kennke <kennke@aicas.com>
30327 * javax/swing/text/View.java
30328 (setParent): Set child parent to null when disconnecting
30329 the view from the View hierarchy.
30331 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30333 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30335 2006-02-21 Roman Kennke <kennke@aicas.com>
30337 * javax/swing/text/WrappedPlainView.java
30338 (calculateBreakPosition): Changed to use the view's allocation instead
30339 of the container's preferredSize.
30341 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30343 * java/awt/CardLayout.java:
30344 (first): Updated api documentation.
30347 (previous): Likewise.
30348 (show): Clarified api docs. Return if name is null. Throw
30349 IllegalArgumentException if layout of container is not this.
30350 (gotoComponent): Updated api documentation. Throw
30351 IllegalArgumentException if layout of container is not this.
30353 2006-02-21 Roman Kennke <kennke@aicas.com>
30355 * javax/swing/text/NavigationFilter.java
30356 (getNextVisualPositionFrom): New method.
30358 2006-02-21 Roman Kennke <kennke@aicas.com>
30360 * javax/swing/plaf/basic/BasicTextUI.java
30361 (RootView.setView): Call setParent() on the view with this as
30362 argument instead of null.
30363 (setView): Don't set root view's parent here.
30365 2006-02-21 Roman Kennke <kennke@aicas.com>
30367 * javax/swing/text/AbstractDocument.java
30368 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30369 the resolving parent.
30370 (AbstractElement.getResolveParent): Fixed to handle possible null
30372 * javax/swing/text/BoxView.java
30373 (childReqs): New field.
30374 (paint): Added debugging code (commented out).
30375 (getPreferredSpan): Rewritten to use new update* methods.
30376 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30377 for the minor axis and preferredSpan for the major axis.
30378 (getMinimumSpan): Rewritten to use new update* methods.
30379 (baselineRequirements): Rewritten to avoid creation of
30380 unnecessary SizeRequirements objects.
30381 (baselineLayout): Rewritten to use new update* methods.
30382 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30383 unnecessary SizeRequirements objects.
30384 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30385 unnecessary SizeRequirements objects.
30386 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30388 (layoutMajorAxis): Rewritten to use new update* methods.
30389 (layoutMinorAxis): Rewritten to use new update* methods.
30390 (getChildRequirements): Replaced by the update* methods.
30391 (getAlignment): Use update* methods.
30392 (updateChildRequirements): New methods. Updates the child requirements
30394 (updateRequirements): New methods. Updates the BoxView requirements
30396 * javax/swing/text/DefaultStyledDocument.java
30397 (ElementBuffer.insert): Added warning for illegal replacement operation.
30398 * javax/swing/text/FlowView.java
30399 (layoutRow): When offset doesn't change, return -1.
30400 (LogicalView): Now subclasses BoxView.
30401 (loadChildren): Let the CompositeView.setParent() load the children
30402 of the logicalView.
30403 (calculateMinorRequirements): New overridden method.
30404 * javax/swing/text/GlyphView.java
30405 (DefaultGlyphPainter.paint): Fixed typo.
30406 (startOffset): Made field private.
30407 (endOffset): Made field private.
30408 (paint): Call getStartOffset() and getEndOffset() instead of the
30410 (isStrikeThrough): Fixed typo.
30411 (breakView): Use Utilities.getBreakLocation() to determine best
30413 (changedUpdate): Call preferencedChange on this instead of parent.
30414 (removeUpdate): Call preferencedChange on this instead of parent.
30415 * javax/swing/text/ParagraphView.java
30416 (Row.getAlignment): For Y_AXIS, call super.
30417 (getAlignment): Likewise.
30418 * javax/swing/text/Utilities.java
30419 (getBreakLocation): Set Segment object directly on the BreakIterator.
30420 * javax/swing/text/html/HTML.java
30421 (Attribute): Made class non-serializable and final as specified.
30422 (Attribute(String)): Made constructor private.
30423 (Attribute.compareTo): Removed.
30424 (Attribute.equals): Removed.
30425 (Attribute.hashCode): Removed.
30426 (Tag): Made class non-comparable and non-serializable as specified.
30427 (Tag.compareTo): Removed.
30428 (Tag.equals): Removed.
30429 (Tag.hashCode): Removed.
30430 * javax/swing/text/html/HTMLDocument.java
30431 (HTMLReader.blockOpen): Add tag as name attribute to element.
30432 * javax/swing/text/html/HTMLEditorKit.java
30433 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30435 * javax/swing/text/html/InlineView.java
30436 (setPropertiesFromAttributes): Call super.
30437 * javax/swing/text/html/NullView.java: New class.
30439 2006-02-21 Roman Kennke <kennke@aicas.com>
30442 * javax/swing/text/GapContent.java
30443 (GapContentPosition): Made class private.
30444 (InsertUndo): Made class private.
30445 (UndoRemove): Made class private.
30446 (WeakPositionComparator): New inner class.
30447 (positions): Made field private.
30448 (createPosition): Clear up GC'ed positions before creating
30449 a new one. Store position as WeakReference.
30450 (getPositionsInRange): Changed to handle WeakReference
30452 (setPositionsInRange): Changed to handle WeakReference
30454 (adjustPositionsInRange): Changed to handle WeakReference
30456 (dumpPositions): Handle WeakReference positions.
30457 (clearPositionReferences): New method.
30459 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30461 * javax/swing/plaf/basic/BasicTextUI.java:
30462 (paint): Remove unneccessary part of the if-expression.
30463 (damageRange): Added case where the range spans multiple lines.
30464 * javax/swing/text/DefaultCaret.java:
30465 (clearHighlight): New method.
30466 (handleHighlight): Removed unneccessary part of the if-expression.
30467 (setDot): Use clearHighlight method.
30468 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30470 (paint): Prevented calling size() on every loop iteration, fixed
30471 calculation of allocation area bounds.
30472 (getHighlights): Implemented.
30473 (removeHighlight): Mark damaged area in textcomponent.
30474 (addHighlight): Mark damaged area in textcomponent.
30475 (changeHighlight): Mark damaged area in textcomponent.
30476 (DefaultHighlighter.HighlightEntry): Made it a real
30477 Highlighter.Highlight implementation.
30478 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30481 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30483 * java/util/zip/ZipConstants.java
30484 (LOCSIG): Change type to long.
30485 (EXTSIG): Likewise.
30486 (CENSIG): Likewise.
30487 (ENDSIG): Likewise.
30488 * java/util/zip/ZipOutputStream.java
30489 (writeLeInt(long)): New method.
30491 2006-02-21 Michael Koch <konqueror@gmx.de>
30493 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30495 2006-02-20 Mark Wielaard <mark@klomp.org>
30497 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30498 (begin_drawing_operation): Output stacktrace and return on bad cairo
30500 (end_drawing_operation): Likewise. And reset cairo_t.
30502 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30504 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30505 in backward selection action.
30507 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30509 * java/lang/reflect/Proxy.java:
30510 (ProxyData.getProxyData): Skipped overriding of core methods.
30511 (ProxyData.isCoreObjectMethod): New method.
30513 2006-02-20 Mark Wielaard <mark@klomp.org>
30515 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30517 2006-02-20 Roman Kennke <kennke@aicas.com>
30519 * javax/swing/text/html/Option.java: New class.
30521 2006-02-20 Lillian Angel <langel@redhat.com>
30523 * java/swt/Window.java
30524 (show): Calling show() on the owned windows caused problems.
30525 Changed back to get the peer and call setVisible.
30527 2006-02-20 Roman Kennke <kennke@aicas.com>
30529 * javax/swing/plaf/basic/BasicTextUI.java
30530 (damageRange): Implemented this method.
30532 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30534 * javax/swing/text/GapContent.java:
30535 (shiftGapEndUp): Corrected new mark value.
30536 * javax/swing/text/AbstractDocument.java:
30537 (remove): Changed order of operations.
30539 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30541 * javax/swing/text/GapContent.java:
30542 (shiftGapEndUp): Reverted.
30543 * javax/swing/text/AbstractDocument.java:
30544 (remove): Reverted.
30546 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30548 * javax/swing/text/GapContent.java:
30549 (shiftGapEndUp): Corrected new mark value.
30550 * javax/swing/text/AbstractDocument.java:
30551 (remove): Changed order of operations.
30553 2006-02-20 Mark Wielaard <mark@klomp.org>
30555 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30557 (insert): Likewise.
30558 (addNotify): Add the item after addNotifying it.
30559 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30560 there is a peer. Use getParent() and setParent() to manipulate parent
30562 (add(Menu)): Use getParent() and setParent() to manipulate parent
30563 field. Call addNotify() and addMenu() when there is a peer.
30564 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30565 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30566 when there is a peer.
30567 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30568 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30569 (setFont): Call setFont(Font).
30570 (setFont(Font)): Document. Only set font when not null.
30571 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30573 (connectSignals): Likewise.
30574 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30576 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30578 (postMenuActionEvent): Document.
30579 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30581 (addItem): Document. Made private.
30582 (addTearOff): Made private.
30583 (connectSignals): New protected overridden method.
30584 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30585 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30586 (create): Document.
30587 (addMenu): Made private, take GtkMenuPeer as argument and document.
30588 (GtkMenuBarPeer): Document.
30589 (nativeSetHelpMenu): Removed.
30590 (addHelpMenu): Implement.
30591 (delMenu): Document.
30592 (addMenu): Implement.
30593 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30594 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30595 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30596 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30599 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30601 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30602 Expect that proxy interfaces may have different class loaders.
30603 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30604 * java/rmi/registry/Registry.java,
30605 * java/rmi/server/UnicastRemoteObject.java:
30606 Documented about proxy stubs.
30607 * gnu/java/rmi/server/CombinedClassLoader.java,
30608 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30609 * NEWS: Added entry.
30611 2006-02-19 Mark Wielaard <mark@klomp.org>
30613 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30614 Parent and Bounds of our children if either or parent is showing, or
30615 we are a Window and are showing ourselves now.
30617 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30619 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30621 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30622 Another stub name fix.
30624 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30626 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30627 Call convertStubName. (convertStubName): New method.
30628 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30629 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30630 (convertStubName): New method.
30631 (getMethodHashCode):
30632 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30633 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30635 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30637 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30639 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30641 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30643 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30645 * javax/swing/JViewport.java (paintBackingStore): If the component has
30646 not been scrolled, only repaint the buffer part, indicated by
30647 the parameter graphics clip.
30649 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30651 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30653 (writePrivateKey): Likewise.
30654 (writeKey): New method.
30655 (getKeyType): Likewise.
30656 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30658 (readPrivateKey): Likewise.
30659 (getKeyPairCodec): New method.
30660 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30661 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30662 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30663 (RSA_PSS_ENCODING): Likewise..
30664 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30665 (RSA_PSS_SIG): Redefined using other constants.
30666 (RSA_PKCS1_V1_5_SIG): Likewise.
30667 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30668 * gnu/java/security/util/FormatUtil.java: New file.
30669 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30670 (getInstance): Let RSASignatureFactory handle RSA signature names.
30671 (getNames): Handle new RSA signature (with format) names.
30672 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30673 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30675 (name): Include hash algorithm name.
30676 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30677 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30678 (RSAPSSSignature): Call constructor with IMessageDigest.
30679 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30680 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30682 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30684 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30685 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30686 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30687 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30688 hash algorithm name to exception.
30689 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30690 * gnu/java/security/key/KeyPairCodecFactory.java
30691 (names): New class field.
30692 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30693 (getInstance(String,String)): New method.
30694 (getInstance(String,int)): New method.
30695 (getInstance(byte[])): Removed.
30696 (getInstance(Key)): Handle new formats.
30697 (getNames): Likewise.
30698 (getEncodingName(int)): Moved to FormatUtil.
30699 (getEncodingShortName(int)): Likewise.
30700 (getRawCodec(String)): New method.
30701 (getX509Codec(String)): Likewise.
30702 (getPKCS8Codec(String)): Likewise.
30703 (getRawCodec(Key)): Likewise.
30704 (getX509Codec(Key)): Likewise.
30705 (getPKCS8Codec(Key)): Likewise.
30706 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30707 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30708 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30709 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30710 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30711 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30712 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30713 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30714 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30716 2006-02-18 Mark Wielaard <mark@klomp.org>
30718 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30720 (NoDragGestureRecognizer): New static class.
30721 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30722 Toolkit doesn't support drag and drop.
30724 2006-02-18 Mark Wielaard <mark@klomp.org>
30726 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30727 (AbstractAction(String)): Just call putValue() for NAME.
30728 (putValue): Nothing to do is old and new value are both null.
30730 2006-02-18 Mark Wielaard <mark@klomp.org>
30732 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30733 through getContentPane().
30734 (preferredLayoutSize): Likewise.
30736 2006-02-18 Mark Wielaard <mark@klomp.org>
30738 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30739 actually set before painting.
30741 2006-02-18 Mark Wielaard <mark@klomp.org>
30743 * javax/swing/text/html/HTMLDocument.java (addContent):
30744 Fully qualify AbstractDocument.AttributeContext and
30745 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30747 2006-02-18 Mark Wielaard <mark@klomp.org>
30749 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30750 (getRepresentationClassFromMime): Add exception cause to
30751 IllegalArgumentException.
30753 2006-02-17 Lillian Angel <langel@redhat.com>
30755 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30756 Removed unneeded import.
30757 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30758 Removed unneeded imports.
30759 * java/awt/BorderLayout.java:
30760 Fixed comment, this is not yet handled in the JDK 1.5.
30761 * java/awt/Container.java:
30762 Removed unneeded import.
30764 2006-02-17 Lillian Angel <langel@redhat.com>
30766 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30767 (setBounds): Removed check. Coordinates should always be changed
30768 to incorporate the parent's coordinates.
30769 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30770 (setMenuBar): Added checks. Don't validate component if it has
30771 not been validated yet, it will be validated later. Only validate
30772 if it has already been validated, in that case it needs to be
30774 * java/awt/Window.java
30775 (show): Added check. If the window is visible, then bring it to the
30776 front. Otherwise, iterate through all its children windows and show them.
30777 No need to do both.
30779 2006-02-17 Roman Kennke <kennke@aicas.com>
30781 * javax/swing/text/html/ParagraphView.java: New file.
30783 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30785 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30786 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30787 same location where was the initial text.
30788 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30790 2006-02-17 Chris Burdess <dog@gnu.org>
30792 Fixes PRs 26319, 26320, 26321, 26322, 26325
30793 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30794 rethrowing exception.
30795 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30796 1.1-style prefix unbinding in 1.0 document" error for xmlns
30797 prefixes, not xmlns attributes. Fix a problem with empty namespace
30798 stack at the end of a document. Permit parameter entity references
30799 in element and attribute-list definition name area. Corrected
30800 normalisation of whitespace character entity references in CDATA
30801 attribute values. Fixed number of characters read following a
30802 reset when detecting end of character data with characters after a
30803 Unicode surrogate pair.
30805 2006-02-17 Roman Kennke <kennke@aicas.com>
30807 * javax/swing/text/html/HTMLEditorKit.java
30808 (HTMLFactory.create): Create InlineView for content tags.
30809 * javax/swing/text/html/HTMLDocument.java
30810 (HTMLReader.flush): Call create() on first flush and insert
30811 on subsequent flushes.
30813 2006-02-17 Roman Kennke <kennke@aicas.com>
30815 * javax/swing/text/AbstractDocument.java
30816 (BranchElement.getStartOffset): Implemented workaround for wrong
30818 (BranchElement.getEndOffset): Implemented workaround for wrong
30820 (ElementBuffer.split): Use createBranchElement() instead of
30821 new BranchElement().
30822 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30823 new BranchElement().
30824 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30825 instead of new BranchElement().
30826 (createDefaultRoot): Use createBranchElement() and createLeafElement
30827 instead of the constructors.
30828 (create): Rewritten.
30830 2006-02-17 Keith Seitz <keiths@redhat.com>
30832 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30833 (SIZE): New constant.
30834 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30835 (executeIDsizes): Use SIZE constant.
30836 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30837 (SIZE): New constant.
30839 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30841 * javax/swing/JTable.java (IconCellRenderer): Set the component
30842 text to empty string. (createDefaultRenderers): Register
30843 IconCellRenderer also for ImageIcon.
30844 (getCellEditor(int, int), getCellRenderer(int, int)):
30845 Use model index for data model and column index for column model.
30846 (getColumnClass): Convert to model index before requesting class
30849 2006-02-17 Roman Kennke <kennke@aicas.com>
30851 * javax/swing/text/html/HTMLDocument.java
30852 (createDefaultRoot): Implemented.
30853 (createLeafElement): Implemented.
30854 (createBranchElement): Implemented.
30855 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30856 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30857 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30858 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30859 (HTMLReader.blockOpen): Add name attribute with the current tag.
30860 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30862 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30864 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30866 * javax/swing/table/JTableHeader.java: Documenting related methods.
30868 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30871 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30872 (connect): Changed to use SystemProperties.
30873 (getInputStream): Try changeWorkingDirectory to figure out if
30874 url is a directory, if not use retrieve.
30875 (getOutputStream): Don't worry about directories, simply always
30878 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30880 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30881 (ActiveModeDTP): Mark accept thread as daemon.
30883 2006-02-17 Michael Koch <konqueror@gmx.de>
30885 * tools/.cvsignore: Ignore tools.zip.
30887 2006-02-16 Keith Seitz <keiths@redhat.com>
30889 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30890 Set the ID's reference.
30891 (<clinit>): Remove comments for field, method, and frame ID types,
30892 which will not be handled by VMIdManager.
30894 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30896 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30897 Use model index, not the column number.
30898 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30899 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30900 movement by painting draggingHeaderRect.
30901 * NEWS: Added entry about JTable columns.
30903 2006-02-16 Keith Seitz <keiths@redhat.com>
30905 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30906 default size of eight bytes.
30907 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30908 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30909 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30910 (executeIDsizes): Use new static methods.
30911 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30914 2006-02-16 David Daney <ddaney@avtrex.com>
30917 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30918 return value with 0xff.
30920 2006-02-16 Keith Seitz <keiths@redhat.com>
30922 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30923 (matches): Use Iterator instead of ListIterator.
30925 2006-02-16 Keith Seitz <keiths@redhat.com>
30927 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30928 processor thread for easier debugging.
30929 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30932 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30934 * javax/swing/JTable.java
30935 (TableColumnPropertyChangeHandler.propertyChange): Return without
30936 action if table header resizing column in not null. (doLayout):
30937 Only repaint the header if it is not null.
30938 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30939 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30940 Rewritten. (MouseInputHandler.endResizing): New method.
30942 2006-02-16 Roman Kennke <kennke@aicas.com>
30944 * javax/swing/text/html/InlineView.java: New file.
30946 2006-02-16 Roman Kennke <kennke@aicas.com>
30948 * javax/swing/JTabbedPane.java
30949 (AccessibleJTable.getAccessibleChild): Implemented to return
30950 the Page instance for the specified index.
30951 (Page): Changed to implement Accessible and extend
30953 (Page.getAccessibleContext): New method.
30954 (Page.getAccessibleRole): New method.
30955 (Page.getAccessibleStateSet): New method.
30956 (Page.getAccessibleIndexInParent): New method.
30957 (Page.getAccessibleChildrenCount): New method.
30958 (Page.getAccessibleChild): New methdod.
30959 (Page.getLocale): New method.
30961 2006-02-16 Roman Kennke <kennke@aicas.com>
30963 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30964 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30965 tabCount gets greater than tabRuns.length.
30966 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30967 when tabCount gets greater than tabRuns.length.
30968 (paintTabArea): Don't set tabCount == runCount.
30970 2006-02-16 Roman Kennke <kennke@aicas.com>
30972 * javax/swing/plaf/basic/BasicTextUI.java
30973 (installUI): Moved installation of PropertyChangeListener
30974 to installListeners(). Call modelChanged() after everything is
30976 (installListeners): Install PropertyChangeListener here.
30977 (uninstallUI): Moved uninstallation of PropertyChangeListener
30978 to uninstallListeners.
30979 (uninstallListeners): Uninstall PropertyChangeListener here.
30981 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30983 * javax/swing/JTable.java (doLayout):
30984 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30986 javax/swing/plaf/basic/BasicTableHeaderUI.java
30987 (MouseInputHandler.mouseDragged): Do not repaint the header.
30989 2006-02-16 Roman Kennke <kennke@aicas.com>
30991 * javax/swing/JViewport.java
30992 (static_initializer): Set default scrollMode to backingstore.
30994 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30996 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30997 returned by getCellRect. To not translate the component.
30999 2006-02-16 Roman Kennke <kennke@aicas.com>
31001 * javax/swing/JComponent.java
31002 (rectCache): Made field non-static to avoid nasty interferences.
31003 (computeVisibleRect): Avoid creation of new Rectangles and double
31004 calculations on ints by using Swing.computeIntersection() instead
31005 of Rectangle2D.intersect().
31006 (repaint): Interect the dirty region with the visible rectangle
31007 of this component to avoid unnecessary painting.
31009 2006-02-16 Gary Benson <gbenson@redhat.com>
31011 * java/lang/Thread.java (stop): Add a missing access check.
31013 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
31015 * javax/swing/text/JTextComponent.java:
31016 (replaceSelection): Added code to update the magic caret position.
31017 * javax/swing/text/DefaultEditorKit.java: Added code to update
31018 the magic caret position of the text component in all relevant
31019 movement actions, make use of the magic caret position in up
31020 and down movements and selections, simplified some actions
31023 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31025 * gnu/java/lang/CharData.java: Regenerated from
31026 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31027 and scripts/unicode-muncher.pl.
31028 * java/lang/Character.java:
31029 (PrivateUseCharacters): New private static class.
31030 (UnassignedCharacters): Likewise.
31031 (blocks): Changed from char[] to char[][] to reflect the changes in
31032 gnu/java/lang/CharData. There is now one char[] per Unicode code
31035 (numValue): Likewise.
31038 (direction): Likewise.
31039 (readChar): Replaced this method with new method readCodePoint.
31040 (readCodePoint): New method.
31041 (isLowerCase(char)): Redirected to new isLowerCase(int).
31042 (isLowerCase(int)): New method.
31043 (isUpperCase(char)): Redirected to new isUpperCase(int).
31044 (isUpperCase(int)): New method.
31045 (isTitleCase(char)): Redirected to new isTitleCase(int).
31046 (isTitleCase(int)): New method.
31047 (isDigit(char)): Redirected to new isDigit(int).
31048 (isDigit(int)): New method.
31049 (isDefined(char)): Redirected to new isDefined(int).
31050 (isDefined(int)): New method.
31051 (isLetter(char)): Redirected to new isLetter(int).
31052 (isLetter(int)): New method.
31053 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31054 (isLetterOrDigit(int)): New method.
31055 (isJavaIdentifierStart(char)): Redirected to new
31056 isJavaIdentifierStart(int).
31057 (isJavaIdentifierStart(int)): New method.
31058 (isJavaIdentifierPart(char)): Redirected to new
31059 isJavaIdentifierPart(int).
31060 (isJavaIdentifierPart(int)): New method.
31061 (isUnicodeIdentifierStart(char)): Redirected to new
31062 isUnicodeIdentifierStart(int).
31063 (isUnicodeIdentifierStart(int)): New method.
31064 (isUnicodeIdentifierPart(char)): Redirected to new
31065 isUnicodeIdentifierPart(int).
31066 (isUnicodeIdentifierPart(int)): New method.
31067 (isIdentifierIgnorable(char)): Redirected to new
31068 isIdentifierIgnorable(int).
31069 (isIdentifierIgnorable(int)): New method.
31070 (toLowerCase(char)): Changed access to lower to correspond with new
31071 char[][] type of lower.
31072 (toLowerCase(int)) New method.
31073 (toUpperCase(char)): Changed access to upper to correspond with new
31074 char[][] type of upper.
31075 (toUpperCase(int)): New method.
31076 (toTitleCase(int)): New method.
31077 (digit(char, int)): Replaced call to readChar with call to
31078 readCodePoint and changed access to numValue to reflect new char[][]
31080 (digit(int, int)): New method.
31081 (getNumericValue(char)): Changed access to numValue to reflect new
31082 char[][] type of numValue.
31083 (getNumericValue(int)): New method.
31084 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31085 (isSpaceChar(int)): New method.
31086 (isWhitespace(char)): Redirected to new isWhitespace(int).
31087 (isWhitespace(int)): New method.
31088 (isISOControl(char)): Redirected to new isISOControl(int).
31089 (isISOControl(int)): New method.
31090 (getType(char)): Redirected to new getType(int).
31091 (getType(int)): New method.
31092 (getDirectionality(char)): Redirected to new getDirectionality(int).
31093 (getDirectionality(int)): New method.
31094 (isMirrored(char)): Changed call to readChar to readCodePoint.
31095 (isMirrored(int)): New method.
31096 * java/lang/String.java:
31097 (upperCaseExpansion): Changed access to Character.direction to reflect
31098 new char[][] type of direction.
31099 (offsetByCodePoints): New method.
31100 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31101 4.0.0 which introduced supplementary character assignments.
31103 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31105 * javax/swing/JTable.java,
31106 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31107 javax/swing/table/DefaultTableModel.java: Documented.
31109 2006-02-15 Lillian Angel <langel@redhat.com>
31111 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31112 Removed duplicate methods.
31114 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31116 * javax/swing/JTable.java (distributeSpillResizing): New method.
31117 (doLayout): Use distributeSpillResizing when resizing.
31118 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31119 Rewritten. (installListeners): Add mouse motion listener.
31120 (uninstallListeners): Remove mouse motion listener.
31122 2006-02-15 Lillian Angel <langel@redhat.com>
31124 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31125 (setVisible): Removed method.
31126 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31127 (setLocation): New method.
31128 (setLocationUnlocked): New method.
31129 (show): Changed to use setLocation instead of setBounds.
31130 * java/awt/Component.java
31131 (show): Should call peer.show(), not peer.setVisible(), so the
31132 location of the component is correctly set.
31133 (preferredSize): Added curly braces so else statements are
31134 properly associated with if's.
31135 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31136 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31138 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31139 LocationUnlocked): New function.
31140 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31141 Added declarations for Java_gnu_java_awt_peer_gtk_
31142 GtkWindowPeer_nativeSetLocation and
31143 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31144 _nativeSetLocationUnlocked.
31146 2006-02-15 Mark Wielaard <mark@klomp.org>
31148 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31149 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31150 Downcast gtk_plug_new result when used.
31152 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31154 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31155 Call assignNewHandle() after writing Proxy class.
31157 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31160 * java/io/ObjectInputStream.java (readClassDescriptor):
31161 Class doesn't have to be abstract for first_nonserial.
31163 2006-02-15 Roman Kennke <kennke@aicas.com>
31165 * javax/swing/JInternalFrame.java
31166 (setClosed): Call dispose to actually make the frame invisible
31169 2006-02-15 Roman Kennke <kennke@aicas.com>
31171 * javax/swing/JInternalFrame.java
31172 (dispose): Call setVisible(false) instead of hide.
31173 (doDefaultCloseOperation): Likewise.
31175 2006-02-15 Roman Kennke <kennke@aicas.com>
31177 * javax/swing/JComponent.java
31178 (paintChildren): Also check for the visibility of a child component
31179 to avoid artifacts.
31180 (repaint): Simply add this component to the RepaintManager rather than
31181 trying to do useless optimization here.
31183 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31185 * javax/swing/JSpinner.java
31186 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31187 PropertyChangeListener,
31188 (DefaultEditor.getSpinner): Updated API docs,
31189 (DefaultEditor.dismiss): Likewise,
31190 (DefaultEditor.getTextField): Likewise,
31191 (DefaultEditor.layoutContainer): Likewise,
31192 (DefaultEditor.minimumLayoutSize): Likewise,
31193 (DefaultEditor.preferredLayoutSize): Likewise,
31194 (DefaultEditor.propertyChange): Implemented,
31195 (DefaultEditor.stateChanged): Implemented,
31196 (DefaultEditor.removeLayoutComponent): Updated API docs,
31197 (DefaultEditor.addLayoutComponent): Likewise,
31198 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31199 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31200 (NumberEditor.getFormat): Implemented,
31201 (NumberEditor.getModel): Updated API docs,
31202 (NumberEditorFormatter): New static inner class,
31203 (ListEditor.getModel): Updated API docs,
31204 (DateEditor.dateFormat): Removed,
31205 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31206 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31207 (DateEditor.init): Removed,
31208 (DateEditor.getFormat): Reimplemented,
31209 (DateEditorFormatter): New static inner class,
31210 (ModelListener): New inner class,
31211 (model): Updated API docs,
31212 (editor): Likewise,
31213 (listener): Removed,
31214 (JSpinner()): Updated API docs,
31215 (JSpinner(SpinnerModel)): Set up ModelListener,
31216 (setEditor): Fire property change,
31217 (getModel): Updated API docs,
31218 (setModel): Removed check for null editor,
31219 (setValue): Updated API docs,
31220 (getUIClassID): Updated API docs,
31221 (createEditor): Handle SpinnerListModel case,
31222 * javax/swing/plaf/basic/BasicSpinnerUI.java
31223 (createUI): Updated API docs,
31224 (createPropertyChangeListener): Added FIXME,
31225 (installDefaults): Set text field border to null,
31226 (DefaultLayoutManager): Updated API docs,
31227 (DefaultLayoutManager.layoutContainer): Modified layout,
31228 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31229 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31230 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31231 (DefaultLayoutManager.addLayoutComponent): Likewise,
31232 (DefaultLayoutManager.minSize): Renamed prefSize,
31233 (DefaultLayoutManager.setBounds): Reformatted,
31234 (DefaultLayoutManager.editor): Added API docs,
31235 (DefaultLayoutManager.next): Likewise,
31236 (DefaultLayoutManager.previous): Likewise,
31237 * javax/swing/plaf/metal/MetalLookAndFeel.java
31238 (initComponentDefaults): Added entry for 'Spinner.border',
31239 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31241 2006-02-15 Chris Burdess <dog@gnu.org>
31243 * gnu/xml/validation/datatype/BooleanType.java,
31244 gnu/xml/validation/datatype/ByteType.java,
31245 gnu/xml/validation/datatype/DateTimeType.java,
31246 gnu/xml/validation/datatype/DateType.java,
31247 gnu/xml/validation/datatype/DecimalType.java,
31248 gnu/xml/validation/datatype/DoubleType.java,
31249 gnu/xml/validation/datatype/DurationType.java,
31250 gnu/xml/validation/datatype/FloatType.java,
31251 gnu/xml/validation/datatype/GDayType.java,
31252 gnu/xml/validation/datatype/GMonthDayType.java,
31253 gnu/xml/validation/datatype/GMonthType.java,
31254 gnu/xml/validation/datatype/GYearMonthType.java,
31255 gnu/xml/validation/datatype/GYearType.java,
31256 gnu/xml/validation/datatype/IntType.java,
31257 gnu/xml/validation/datatype/IntegerType.java,
31258 gnu/xml/validation/datatype/LongType.java,
31259 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31260 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31261 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31262 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31263 gnu/xml/validation/datatype/NegativeIntegerType.java,
31264 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31265 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31266 gnu/xml/validation/datatype/PositiveIntegerType.java,
31267 gnu/xml/validation/datatype/ShortType.java,
31268 gnu/xml/validation/datatype/SimpleType.java,
31269 gnu/xml/validation/datatype/TimeType.java,
31270 gnu/xml/validation/datatype/TypeBuilder.java,
31271 gnu/xml/validation/datatype/UnsignedByteType.java,
31272 gnu/xml/validation/datatype/UnsignedIntType.java,
31273 gnu/xml/validation/datatype/UnsignedLongType.java,
31274 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31275 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31276 minInclusive facets use the value space of the base type, and
31279 2006-02-15 Mark Wielaard <mark@klomp.org>
31281 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31282 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31283 gtk_plug_new() returns a GtkWindow.
31285 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31287 * javax/swing/SpinnerNumberModel.java
31288 (getNextValue): Check for null maximum,
31289 (getPreviousValue): Check for null minimum.
31291 2006-02-15 Roman Kennke <kennke@aicas.com>
31293 * javax/swing/plaf/basic/BasicTableUI.java
31294 (paint): Paint vertical and horizontal lines one pixel shifted
31297 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31299 * java/util/zip/ZipFile.java
31300 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31301 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31302 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31303 (readEntries): Rewritten to use PartialInputStream.
31304 (locBuf, checkLocalHeader): Removed.
31305 (getInputStream): Rewritten to use new PartialInputStream.
31306 (PartialInputStream): Rewritten to do buffering.
31308 2006-02-15 Michael Koch <konqueror@gmx.de>
31310 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31311 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31312 Make sure the embedded window gets no decorations.
31313 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31314 (window_get_frame_extents): Return early of the window has no
31317 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31319 * examples/gnu/classpath/examples/swing/TableDemo.java
31320 (TModel, createContent): Explain which value appears in the header.
31321 * javax/swing/JTable.java (setColumnModel): Only set the
31322 column header value if the getHeaderValue() returns null.
31324 2006-02-14 Mark Wielaard <mark@klomp.org>
31327 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31328 (getErrorImage): New static method.
31329 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31330 (bufferedImageOrError): Renamed to ...
31331 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31332 Returns GtkImage.getErrorImage() when argument null.
31333 (createImage(String)): Always use imageOrError.
31334 (createImage(URL)): Likewise.
31335 (createImage(ImageProducer)): Likewise.
31336 (createImage(byte[],int,int)): Likewise.
31338 2006-02-14 Roman Kennke <kennke@aicas.com>
31340 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31342 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31343 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31344 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31345 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31346 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31348 2006-02-14 Roman Kennke <kennke@aicas.com>
31350 * javax/swing/text/AsyncBoxView.java
31351 (ChildState.locator): Removed wrong field.
31352 (ChildState): Removed initialization of removed field.
31353 (locator): Changed access modifier to be protected as specified.
31355 2006-02-14 Roman Kennke <kennke@aicas.com>
31357 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31358 * javax/swing/Timer.java: Some small reindention.
31359 (task): Made package private to avoid synthetic accessor method.
31361 2006-02-14 Roman Kennke <kennke@aicas.com>
31363 * javax/swing/SwingUtilities.java
31364 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31367 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31369 * examples/gnu/classpath/examples/swing/TableDemo.java:
31370 Making the columns variable width.
31371 * javax/swing/JTable.java (distributeSpill, doLayout):
31372 Call getPreferredSize and not getSize().
31374 2006-02-14 Roman Kennke <kennke@aicas.com>
31376 * javax/swing/DefaultCellEditor.java
31377 (DefaultCellEditor): API doc fixlet.
31379 2006-02-14 Roman Kennke <kennke@aicas.com>
31381 * javax/swing/JViewport.java
31382 (isPaintRoot): New field.
31383 (repaint): Only call super here. Also added a comment regarding
31384 the diversion from the JDK.
31385 (paintBlit): Implemented real blitting.
31386 (paintImmediately2): New method. Overrides the same package private
31387 method in JComponent.
31389 2006-02-14 Roman Kennke <kennke@aicas.com>
31391 * javax/swing/plaf/basic/BasicTableUI.java
31392 (paint): Check for boundary cases when determining the painting
31395 2006-02-14 Mark Wielaard <mark@klomp.org>
31397 * java/awt/Menu.java (add): Always set parent of item to this. Call
31398 addNotify() on item when we have a MenuPeer already.
31399 (insert): Always adjust parent for item. Call addNotify() on item if
31400 we already have a peer.
31401 (remove(int)): Always clear item parent. Call removeNotify() on item
31404 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31406 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31407 row == getRowCount().
31409 2006-02-14 Lillian Angel <langel@redhat.com>
31411 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31412 (setVisible): New method to override super. Need to set the
31413 native bounds of the component, so it appears at the
31416 2006-02-14 Mark Wielaard <mark@klomp.org>
31418 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31419 (remove): If menu component is the current MenuBar remove it,
31420 otherwise call super.remove().
31421 * java/awt/MenuBar.java (frame): Remove field.
31422 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31424 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31426 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31427 to NameServicePersistent.
31428 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31429 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31431 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31433 * NEWS: Updated tool status.
31434 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31435 (constructor, bind, rebind): Rewritten.
31436 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31437 * tools/gnu/classpath/tools/giop/README: Updated.
31438 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31439 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31440 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31441 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31442 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31445 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31447 * javax/swing/JComponent.java
31448 (getListeners): Check for PropertyChangeListener.class and delegate to
31449 getPropertyChangeListeners() for that case.
31451 2006-02-13 Roman Kennke <kennke@aicas.com>
31453 * javax/swing/plaf/basic/BasicTableUI.java
31454 (paint): Determine the cells that need painting based on the
31455 current clip. Use getCellRect() for calculating the cell
31458 2006-02-13 Roman Kennke <kennke@aicas.com>
31460 * javax/swing/JTable.java
31461 (rectCache): New field.
31462 (getCellRect): Returns cached Rectangle instance.
31464 2006-02-13 Roman Kennke <kennke@aicas.com>
31466 * javax/swing/JLayeredPane.java
31467 (removeAll): New method. Avoid potential memory leak.
31468 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31471 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31473 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31474 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31476 2006-02-13 Tom Tromey <tromey@redhat.com>
31478 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31479 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31481 2006-02-13 Roman Kennke <kennke@aicas.com>
31483 * javax/swing/RepaintManager.java
31484 (offscreenBuffers): New field.
31485 (doubleBuffer): Removed field.
31486 (repaintUnderway): New field.
31487 (commitRequests): New field.
31488 (RepaintManager): Initialize new fields.
31489 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31491 (getOffscreenBuffer): Returns the offscreen buffer for the
31492 corresponding root component.
31493 (commitBuffer): New method.
31494 (commitRemainingBuffers): New method.
31495 * javax/swing/JComponent.java
31496 (paint): Call paintDoubleBuffered with the current clip.
31497 (paintImmediately2): Don't paint on screen here.
31498 (paintDoubleBuffered): Rewritten for real double buffering.
31499 (paintSimple): Draw to screen in this method.
31501 2006-02-13 Roman Kennke <kennke@aicas.com>
31503 * javax/swing/JRootPane.java
31504 (JRootPane): Set opaque property to true.
31506 2006-02-13 Tom Tromey <tromey@redhat.com>
31508 * .classpath: Updated for external/relaxngDatatype.
31510 2006-02-13 Chris Burdess <dog@gnu.org>
31512 * gnu/xml/stream/UnicodeReader.java,
31513 gnu/xml/validation/datatype/Annotation.java,
31514 gnu/xml/validation/datatype/AnySimpleType.java,
31515 gnu/xml/validation/datatype/AnyType.java,
31516 gnu/xml/validation/datatype/AnyURIType.java,
31517 gnu/xml/validation/datatype/AtomicSimpleType.java,
31518 gnu/xml/validation/datatype/Base64BinaryType.java,
31519 gnu/xml/validation/datatype/BooleanType.java,
31520 gnu/xml/validation/datatype/ByteType.java,
31521 gnu/xml/validation/datatype/DateTimeType.java,
31522 gnu/xml/validation/datatype/DateType.java,
31523 gnu/xml/validation/datatype/DecimalType.java,
31524 gnu/xml/validation/datatype/DoubleType.java,
31525 gnu/xml/validation/datatype/DurationType.java,
31526 gnu/xml/validation/datatype/EntitiesType.java,
31527 gnu/xml/validation/datatype/EntityType.java,
31528 gnu/xml/validation/datatype/EnumerationFacet.java,
31529 gnu/xml/validation/datatype/Facet.java,
31530 gnu/xml/validation/datatype/FloatType.java,
31531 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31532 gnu/xml/validation/datatype/GDayType.java,
31533 gnu/xml/validation/datatype/GMonthDayType.java,
31534 gnu/xml/validation/datatype/GMonthType.java,
31535 gnu/xml/validation/datatype/GYearMonthType.java,
31536 gnu/xml/validation/datatype/GYearType.java,
31537 gnu/xml/validation/datatype/HexBinaryType.java,
31538 gnu/xml/validation/datatype/IDRefType.java,
31539 gnu/xml/validation/datatype/IDRefsType.java,
31540 gnu/xml/validation/datatype/IDType.java,
31541 gnu/xml/validation/datatype/IntType.java,
31542 gnu/xml/validation/datatype/IntegerType.java,
31543 gnu/xml/validation/datatype/LanguageType.java,
31544 gnu/xml/validation/datatype/LengthFacet.java,
31545 gnu/xml/validation/datatype/ListSimpleType.java,
31546 gnu/xml/validation/datatype/LongType.java,
31547 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31548 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31549 gnu/xml/validation/datatype/MaxLengthFacet.java,
31550 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31551 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31552 gnu/xml/validation/datatype/MinLengthFacet.java,
31553 gnu/xml/validation/datatype/NCNameType.java,
31554 gnu/xml/validation/datatype/NMTokenType.java,
31555 gnu/xml/validation/datatype/NMTokensType.java,
31556 gnu/xml/validation/datatype/NameType.java,
31557 gnu/xml/validation/datatype/NegativeIntegerType.java,
31558 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31559 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31560 gnu/xml/validation/datatype/NormalizedStringType.java,
31561 gnu/xml/validation/datatype/NotationType.java,
31562 gnu/xml/validation/datatype/PatternFacet.java,
31563 gnu/xml/validation/datatype/PositiveIntegerType.java,
31564 gnu/xml/validation/datatype/QNameType.java,
31565 gnu/xml/validation/datatype/ShortType.java,
31566 gnu/xml/validation/datatype/SimpleType.java,
31567 gnu/xml/validation/datatype/StringType.java,
31568 gnu/xml/validation/datatype/TimeType.java,
31569 gnu/xml/validation/datatype/TokenType.java,
31570 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31571 gnu/xml/validation/datatype/Type.java,
31572 gnu/xml/validation/datatype/TypeBuilder.java,
31573 gnu/xml/validation/datatype/TypeLibrary.java,
31574 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31575 gnu/xml/validation/datatype/UnionSimpleType.java,
31576 gnu/xml/validation/datatype/UnsignedByteType.java,
31577 gnu/xml/validation/datatype/UnsignedIntType.java,
31578 gnu/xml/validation/datatype/UnsignedLongType.java,
31579 gnu/xml/validation/datatype/UnsignedShortType.java,
31580 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31581 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31582 RELAX NG datatype library implementation for XML Schema Datatypes.
31584 2006-02-13 Chris Burdess <dog@gnu.org>
31590 external/Makefile.am,
31591 external/relaxngDatatype/.cvsignore,
31592 external/relaxngDatatype/Makefile.am,
31593 external/relaxngDatatype/README.txt,
31594 external/relaxngDatatype/copying.txt,
31595 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31596 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31597 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31598 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31599 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31600 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31601 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31602 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31603 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31604 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31606 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31607 datatypes library API.
31609 2006-02-13 Mark Wielaard <mark@klomp.org>
31611 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31613 (gtkWidgetModifyFont(Font)): New protected helper method.
31614 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31615 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31616 protected and document.
31617 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31619 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31621 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31623 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31624 (setFont): Removed method. Done in GtkMenuComponent.
31625 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31626 abstract and protected.
31627 (setFont): Made private, add implementation.
31628 (setFont(Font)): Implemented.
31629 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31630 Made protected and document.
31631 (create): Made protected.
31632 (setFont): Removed method. Done in GtkMenuComponent.
31633 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31634 (gtkWidgetModifyFont): Made protected and document.
31635 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31636 Removed, similar to GtkGenericPeer super class implementation.
31637 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31638 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31639 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31642 2006-02-13 Mark Wielaard <mark@klomp.org>
31644 * java/lang/Math.java (static): Explicitly call
31645 System.loadLibrary("javalang").
31647 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31649 * javax/print/StreamPrintServiceFactory.java: New file.
31651 2006-02-13 Tom Tromey <tromey@redhat.com>
31653 * tools/.cvsignore: Added Makefile.
31655 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31657 * java/awt/print/PrinterGraphics.java: Reformatted.
31658 * java/awt/print/Paper.java: Likewise.
31659 * java/awt/print/PageFormat.java: Likewise.
31660 * java/awt/print/Pageable.java: Likewise.
31662 2006-02-13 Lillian Angel <langel@redhat.com>
31664 * java/awt/BorderLayout.java
31665 (layoutContainer): Rewrote part of this function to
31666 properly set the bounds of the components.
31667 (setBounds): Removed method, not needed.
31669 2006-02-13 Roman Kennke <kennke@aicas.com>
31671 * javax/swing/text/DefaultStyledDocument.java
31672 (ElementBuffer.clone): Fixed replace call.
31673 (clone): Removed method.
31675 2006-02-13 Roman Kennke <kennke@aicas.com>
31677 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31679 2006-02-13 Roman Kennke <kennke@aicas.com>
31681 * java/rmi/server/UnicastRemoteObject.java
31682 (exportObject(Remote)): Forward method call to export(Remote,int).
31684 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31686 * include/Makefile.am:
31687 Swapped Math.h for VMMath.h
31688 * include/java_lang_Math.h:
31690 * include/java_lang_VMMath.h:
31691 New autogenerated header for the new class.
31692 * java/lang/Math.java:
31693 (sin(double)): Changed to link to VMMath.
31694 (cos(double)): Changed to link to VMMath.
31695 (tan(double)): Changed to link to VMMath.
31696 (asin(double)): Changed to link to VMMath.
31697 (acos(double)): Changed to link to VMMath.
31698 (atan(double)): Changed to link to VMMath.
31699 (atan2(double)): Changed to link to VMMath.
31700 (exp(double)): Changed to link to VMMath.
31701 (log(double)): Changed to link to VMMath.
31702 (sqrt(double)): Changed to link to VMMath.
31703 (pow(double,double)): Changed to link to VMMath.
31704 (IEEEremainder(double,double)): Changed to link to VMMath.
31705 (ceil(double)): Changed to link to VMMath.
31706 (floor(double)): Changed to link to VMMath.
31707 (rint(double)): Changed to link to VMMath.
31708 * native/jni/java-lang/Makefile.am:
31709 Replaced java_lang_Math.c with java_lang_VMMath.c
31710 * native/jni/java-lang/java_lang_Math.c:
31712 * native/jni/java-lang/java_lang_VMMath.c:
31713 Renamed from java_lang_Math.c.
31714 * vm/reference/java/lang/VMMath.java:
31716 (sin(double)): New native method.
31717 (cos(double)): New native method.
31718 (tan(double)): New native method.
31719 (asin(double)): New native method.
31720 (acos(double)): New native method.
31721 (atan(double)): New native method.
31722 (atan2(double)): New native method.
31723 (exp(double)): New native method.
31724 (log(double)): New native method.
31725 (sqrt(double)): New native method.
31726 (pow(double,double)): New native method.
31727 (IEEEremainder(double,double)): New native method.
31728 (ceil(double)): New native method.
31729 (floor(double)): New native method.
31730 (rint(double)): New native method.
31732 2006-02-13 Lillian Angel <langel@redhat.com>
31734 * java/awt/Component.java
31735 (repaint): No need to call isShowing, it is done in the other repaint call.
31736 (repaint): Likewise.
31737 (repaint): Likewise.
31739 2006-02-13 Lillian Angel <langel@redhat.com>
31741 * java/awt/Component.java
31742 (repaint): Reverted last change.
31743 (repaint): Likewise.
31744 (repaint): Likewise.
31746 2006-02-13 Lillian Angel <langel@redhat.com>
31748 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31749 (handleEvent): Made more efficent by handling paint event and
31750 setting the clip for the graphics.
31751 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31752 (handleEvent): Likewise.
31753 * java/awt/Component.java
31754 (repaint): No need to call isShowing, it is done in the other repaint call.
31755 (repaint): Likewise.
31756 (repaint): Likewise.
31758 2006-02-13 Roman Kennke <kennke@aicas.com>
31760 * javax/swing/text/AbstractDocument.java
31761 (setParent): Added API docs. Call setParent(null) on children before
31762 disconnecting this view from the View hierarchy.
31764 2006-02-13 Roman Kennke <kennke@aicas.com>
31766 * javax/swing/text/AbstractDocument.java
31767 (readUnlock): Don't attempt to unlock when the current threads also
31768 holds a write lock.
31770 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31772 * javax/swing/plaf/metal/MetalBorders.java
31773 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31774 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31776 (Flush3DBorder.borderInsets): New field,
31777 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31778 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31779 null insets argument, and populate result from borderInsets,
31780 (PaletteBorder.borderInsets): New field,
31781 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31782 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31783 null insets argument, and populate result from borderInsets,
31784 (InternalFrameBorder.borderInsets): New field,
31785 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31787 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31788 for null insets argument, and populate result from borderInsets,
31789 (MenuItemBorder.borderInsets): Initialise to correct value.
31791 2006-02-13 Roman Kennke <kennke@aicas.com>
31793 * javax/swing/text/AsyncBoxView.java: New file.
31795 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31798 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31799 was moved to a new method parseCharClass.
31800 (parseCharClass): New method originally in initialize. Added parsing
31801 of nested character classes.
31802 (ParseCharClassResult): New inner class used as a return value of
31804 (getCharExpression),(getNamedProperty): Made static.
31805 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31806 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31807 nested character classes.
31808 (RETokenOneOf): New constructor accepting the Vector addition.
31809 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31810 stands for only one character.
31811 (match): Added the processing of the Vector addition.
31812 (matchN), (matchP): Do not check next token if addition is used.
31814 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31816 * AUTHORS: add self.
31818 2006-02-12 Tom Tromey <tromey@redhat.com>
31820 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31821 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31822 (securityContext): Likewise.
31825 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31829 * gnu/java/net/protocol/file/Connection.java (unquote):
31830 Convert Unicode characters outside basic plane to UTF-8,
31831 rather than throwing an exception.
31833 2006-02-12 Tom Tromey <tromey@redhat.com>
31835 * javax/sound/sampled/LineEvent.java (readObject): New method.
31836 (writeObject): Likewise.
31837 (serialVersionUID): New field.
31839 2006-02-12 Mark Wielaard <mark@klomp.org>
31841 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31842 Silently ignores null listener.
31843 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31844 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31845 array for null propertyName.
31847 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31849 * java/rmi/MarshalledObject.java: Added api docs to the class.
31850 * java/rmi/Remote.java: Added interface api docs.
31851 * java/rmi/package.html: Added package description.
31852 * java/rmi/AccessException.java: Minor api doc fixes.
31853 * java/rmi/NoSuchObjectException.java: Likewise.
31854 * java/rmi/AlreadyBoundException.java: Likewise.
31855 * java/rmi/RemoteException.java: Likewise.
31856 * java/rmi/NotBoundException.java: Likewise.
31857 * java/rmi/RMISecurityException.java: Likewise.
31858 * java/rmi/StubNotFoundException.java: Likewise.
31860 2006-02-12 Mark Wielaard <mark@klomp.org>
31862 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31863 q() to get EventQueue.
31864 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31865 (enableQueue): Remove static method.
31866 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31867 Don't call GtkGenericPeer.enableQueue().
31869 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31871 * java/rmi/MarshalledObject.java: Reformatted.
31872 * java/rmi/Naming.java: Likewise.
31874 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31876 * java/io/InputStream.java
31877 (read(byte[],int,int)): Changed argument validation to prevent
31878 integer overflow. Remove redundant check.
31880 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31883 * java/io/InputStreamReader.java
31884 (InputStreamReader(InputStream)): Use SystemProperties.
31885 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31886 Throw NullPointerException if in is null.
31887 Added maxBytesPerChar initialisation.
31888 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31889 Throw NullPointerException if in is null.
31891 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31893 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31894 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31895 (GnuDHPublicKey): New constructor.
31896 (getEncoded): Removed.
31897 (valueOf): Added support for ASN.1 encoding.
31898 (getEncoded(int)): Likewise.
31899 (equals): New method.
31900 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31901 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31902 (GnuDHPrivateKey(5)): New constructor.
31903 (getEncoded): Removed.
31904 (valueOf): Added support for ASN.1 encoding.
31905 (getEncoded(int)): Likewise.
31906 (equals): New method.
31907 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31908 (PREFERRED_ENCODING_FORMAT): New constant.
31909 (DEFAULT_ENCODING_FORMAT): Likewise.
31910 (preferredFormat): New field.
31911 (setup): Handle preferred encoding format identifier.
31912 (generate): Call constructors with format identifier.
31913 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31914 (GnuDHKey): Added an int argument.
31915 (getEncoded): New method.
31916 (getFormat): New implementation.
31917 (getEncoded(int)): New abstract method.
31918 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31919 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31920 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31921 key-pair generator and key-factory.
31922 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31923 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31924 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31925 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31926 (invokeConstructor): New method.
31927 (getConcreteClass): Likewise.
31928 (getConcreteCtor): Likewise.
31929 (invokeValueOf): Likewise.
31930 (getValueOfMethod): Likewise.
31931 (engineGeneratePublic): Add support for DH keys.
31932 (engineGeneratePrivate): Likewise.
31933 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31934 (decodeDHPublicKey(byte[])): Likewise.
31935 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31936 (decodeDHPrivateKey(byte[])): Likewise.
31938 2006-02-11 Mark Wielaard <mark@klomp.org>
31940 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31942 (repaint): Immediately post to queue when tm <= 0, otherwise call
31943 RepaintTimerTask.schedule().
31944 (RepaintTimerTask): Make static.
31945 (RepaintTimerTask.repaintTimer): New static final field.
31946 (RepaintTimerTask.awtComponent): New field.
31947 (schedule): New static method.
31949 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31951 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31952 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31953 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31954 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31955 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31957 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31959 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31961 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31962 (engineGeneratePublic): Added support for raw key-specifications.
31963 (engineGeneratePrivate): Likewise.
31964 (decodeDSSPublicKey): New method.
31965 (decodeRSAPublicKey): Likewise.
31966 (decodeDSSPrivateKey): Likewise.
31967 (decodeRSAPrivateKey): Likewise.
31968 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31969 (encodePrivateKey): Throw InvalidParameterException.
31970 (decodePublicKey): Likewise.
31971 (decodePrivateKey): Likewise.
31972 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31973 (encodePublicKey): Likewise.
31974 (encodePrivateKey): Likewise.
31975 (decodePublicKey): Likewise.
31976 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31977 (encodePrivateKey): Likewise.
31978 (decodePublicKey): Likewise.
31979 (decodePrivateKey): Likewise.
31980 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31981 (encodePublicKey): Likewise.
31982 (encodePrivateKey): Likewise.
31983 (decodePublicKey): Likewise.
31985 2006-02-10 Roman Kennke <kennke@aicas.com>
31987 * javax/swing/text/StyleContext.java
31988 (registerStaticAttributeKey): New static method.
31990 2006-02-10 Roman Kennke <kennke@aicas.com>
31992 * javax/swing/text/DefaultStyledDocument.java
31993 (ElementBuffer.clone): New method.
31995 2006-02-10 Roman Kennke <kennke@aicas.com>
31997 * javax/swing/text/ParagraphView.java
31998 (findOffsetToCharactersInString): New method.
31999 (getClosestPositionTo): New method.
32000 (getPartialSize): New method.
32001 (getTabBase): New method.
32002 (adjustRow): New method.
32003 (breakView): New method.
32004 (getBreakWeight): New method.
32006 2006-02-10 Roman Kennke <kennke@aicas.com>
32008 * javax/swing/text/GapContent.java
32009 (updateUndoPositions): New method.
32010 * javax/swing/text/StringContent.java
32011 (updateUndoPositions): New method.
32013 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
32015 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32017 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32018 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32019 Added support for encoded key specifications.
32020 (engineGeneratePrivate): Likewise.
32021 (engineGetKeySpec): Likewise.
32022 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32024 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32026 * javax/swing/text/Utilities.java:
32027 (getTabbedTextOffset): Fixed usage of variable p0.
32028 (getPositionAbove): Rewritten.
32029 (getPositionBelow): Rewritten.
32031 2006-02-09 Roman Kennke <kennke@aicas.com>
32033 * javax/swing/text/BoxView.java
32034 (getAxis): Added @since tag.
32035 (setAxis): Added @since tag.
32036 (layoutChanged): Added @since tag.
32037 (isLayoutValid): Added @since tag.
32038 (paint): Don't call setSize here. This is done in RootView already.
32039 (getMaximumSpan): Reimplemented to return the requirements'
32040 maximum size. Added API docs.
32041 (getMinimumSpan): New method.
32042 (layout): Fixed layout order.
32043 (modelToView): Call layout instead of setSize here.
32044 (getResizeWeight): New method.
32045 (getChildAllocation): New method.
32046 (forwardUpdate): New method.
32047 (viewToModel): New method.
32048 (flipEastEndWestEnds): New method.
32049 * javax/swing/text/CompositeView.java
32050 (modelToView): Made this method more robust by returning a default
32051 location if it's not possible to calculate one via the children.
32052 This default location returns the left or right edge of this
32054 (createDefaultLocation): New helper method.
32055 * javax/swing/text/IconView.java
32056 (modelToView): Don't throw BadLocationException. This should
32057 really only be thrown if the position is outside the document
32058 model, not if it's outside the view's boundary.
32060 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32062 * tools/Makefile.am: Handle rmi and giop folders separately.
32064 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32066 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32067 * javax/swing/SpinnerNumberModel.java: Likewise.
32069 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32071 * javax/swing/SpinnerDateModel.java: Removed tabs,
32072 * javax/swing/SpinnerNumberModel.java: Likewise.
32074 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32076 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32077 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32079 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32082 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32083 (isRedirect): Removed, moved to Response.java.
32084 (connect): If error condition redirect responseSink to errorSink.
32085 (getInputStream): If error condition throw IOException, for the error
32086 codes 404 and 410 throw a FileNotFoundException.
32087 * gnu/java/net/protocol/http/Response.java (isError): New method.
32088 (isRedirect): New method, moved from HTTPURLConnection.java.
32090 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32092 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32093 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32094 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32096 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32098 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32099 AbstractMethodGenerator.
32100 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32101 tools/gnu/classpath/tools/rmi/RMIC.java,
32102 tools/gnu/classpath/tools/rmi/RMIC.txt,
32103 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32104 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32105 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32106 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32107 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32108 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32110 * NEWS: Corrected entry about the tools.
32112 2006-02-09 Lillian Angel <langel@redhat.com>
32114 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32115 (handleEvent): Added more to check to prevent assertion errors.
32116 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32117 (handleEvent): Likewise.
32118 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32119 (handleEvent): Likewise.
32121 2006-02-09 Mark Wielaard <mark@klomp.org>
32123 * javax/swing/JTable.java (tableChanged): Interpret null event as
32124 "everything changed".
32126 2006-02-09 Roman Kennke <kennke@aicas.com>
32128 * javax/swing/text/DefaultCaret.java
32129 (DocumentHandler.removeUpdate): When update policy is
32130 'on eventqueue', and the update doesn't come from the
32131 event queue, check if the current dot location is still
32133 (moveDot): Make sure the new dot location is valid.
32134 (setDot): Set the mark the same as the dot.
32136 2006-02-09 Roman Kennke <kennke@aicas.com>
32138 * javax/swing/text/AbstractDocument.java
32139 (remove): Perform all operations within a write lock and in the
32142 2006-02-09 Mark Wielaard <mark@klomp.org>
32144 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32145 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32146 creater than min, adjusting page_size if necessary.
32147 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32149 2006-02-09 Lillian Angel <langel@redhat.com>
32151 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32152 (handleEvent): Added code to handle PaintEvent.UPDATE.
32153 Sun does not call update(Graphics g) on Panels.
32154 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32155 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32156 Sun does not call update(Graphics g) on Panels.
32158 2006-02-09 Roman Kennke <kennke@aicas.com>
32160 * javax/swing/text/BoxView.java
32161 (myAxis): Made field private.
32162 (xLayoutValid): Replaced by layoutValid array.
32163 (yLayoutValid): Replaced by layoutValid array.
32164 (layoutValid): New field.
32165 (spansX): Replaced by spans array.
32166 (spansY): Replaced by spans array.
32167 (spans): New field.
32168 (offsetsX): Replaced by offsets array.
32169 (offsetsY): Replaced by offsets array.
32170 (offsets): New field.
32171 (requirements): New field.
32172 (BoxView): Initialize new fields.
32173 (layoutChanged): Rewritten to use the layoutValid array.
32174 (isLayoutValid): Rewritten to use the layoutValid array.
32175 (replace): Use the new arrays.
32176 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32177 instead of baselineRequirements.
32178 (baselineRequirements): Rewritten to calculate baseline requirements.
32179 (baselineLayout): Rewritten to calculate baseline layout.
32180 (childAllocation): Use new arrays.
32181 (layout): Rewritten. Only update the layout if necessary.
32182 (layoutMajorAxis): Directly set layoutValid.
32183 (layoutMinorAxis): Directly set layoutValid. Use cached size
32185 (getWidth): Use new span array.
32186 (getHeight): Likewise.
32187 (setSize): Rewritten to simply call layout().
32188 (validateLayout): Removed unneeded method.
32189 (getSpan): Use new arrays.
32190 (getOffset): Use new arrays.
32191 (getAlignment): Use cached requirements if possible.
32192 (preferenceChanged): Use new arrays.
32193 * javax/swing/text/FlowView.java
32194 (FlowStrategy.insertUpdate): Do nothing here.
32195 (FlowStrategy.removeUpdate): Do nothing here.
32196 (FlowStrategy.changedUpdate): Do nothing here.
32197 (FlowStrategy.layoutRow): Rewritten.
32198 (FlowStrategy.createView): Rewritten.
32199 (FlowStrategy.adjustRow): New method.
32200 (LogicalView.getViewIndex): Fixed condition for finding child
32202 (layoutDirty): New field indicating the state of the layout.
32203 (FlowView): Initialize new field.
32204 (loadChildren): Set parent on logical view so that preferenceChanges
32205 get propagated upwards.
32206 (layout): Rewritten to match the specs.
32207 (insertUpdate): Set layout to dirty.
32208 (removeUpdate): Set layout to dirty.
32209 (changedUpdate): Set layout to dirty.
32210 * javax/swing/text/GlyphView.java
32211 (getBreakWeight): Rewritten to use the Utilities class. Commented
32212 out though because that is broken.
32213 (insertUpdate): Call preferenceChanged on this object instead of
32215 * javax/swing/text/ParagraphView.java
32216 (Row.loadChildren): Overridden to be a noop to prevent initial
32217 creation of child views. This is carried out by the flow layout.
32218 * javax/swing/text/View.java
32219 (getPreferredSpan): Added API docs.
32220 (getResizeWeight): Added API docs.
32221 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32223 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32224 resizable instead of Integer.MAX_VALUE.
32225 (getAlignment): Added API docs.
32226 (replace): Added API docs.
32227 (forwardUpdate): Rewritten to only notify child views that need to
32230 2006-02-09 Roman Kennke <kennke@aicas.com>
32232 * javax/swing/plaf/basic/BasicTextUI.java
32233 (RootView.paint): Call setSize() before painting the view.
32235 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32238 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32239 flag which enables backslash escape in a replacement.
32240 (getReplacement): New public static method.
32241 (substituteImpl),(substituteAllImpl): Use getReplacement.
32242 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32243 * java/util/regex/Matcher.java(appendReplacement)
32244 Use RE#getReplacement.
32245 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32247 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32249 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32250 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32251 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32252 (PREFERRED_ENCODING_FORMAT): New constant.
32253 (DEFAULT_ENCODING_FORMAT): Likewise.
32254 (preferredFormat): New field.
32255 (setup): Add support for preferred encoding format.
32256 (generate): Call key constructors with explicit format identifier.
32257 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32258 Call constructor with 3 arguments..
32259 (GnuRSAPublicKey(3)): New constructor.
32260 (valueOf): Added support for ASN.1 format.
32261 (getEncoded): Likewise.
32262 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32263 Call constructor with 5 arguments.
32264 (GnuRSAPrivateKey(5)): New constructor.
32265 (GnuRSAPrivateKey(9)): New constructor.
32266 (valueOf): Added support for ASN.1 format.
32267 (getEncoded): Likewise.
32268 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32269 (GnuRSAKey): Modified constructor.
32270 (getFormat): Return preferred format identifier.
32271 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32272 (decodePrivateKey): Fixed documentation.
32273 Check Version field.
32274 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32275 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32277 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32278 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32279 (engineGeneratePublic): Added support for RSA.
32280 (engineGeneratePrivate): Likewise.
32282 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32284 * java/net/URLConnection.java:
32285 (setAllowUserInteraction): Throw IllegalStateException if connected.
32286 (getRequestProperty): Document return value if key is null.
32287 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32288 (getRequestProperty): Return null if key is null.
32289 (getRequestProperties): Throw IllegalStateException if connected.
32290 (setRequestProperty): Call super method for exception tests.
32291 (addRequestProperty): Likewise.
32293 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32295 * gnu/java/net/protocol/http/Request.java:
32296 (Request): Remove initialization of removed field.
32297 (requestBodyNegotiationThreshold): Removed now unused field.
32298 (setRequestBodyNegotiationThreshold): Remove now unused method.
32299 (dispatch): Do not use 'Expect 100-continue' header if content-length
32300 is over a treshold. If user specified 'Expect 100-continue' still
32301 initialize the expectingContinue variable.
32303 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32305 * javax/swing/SpinnerNumberModel.java
32306 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32307 maximum and minimum to take null values,
32308 (setValue): Only fire ChangeEvent if new value is different to old
32310 (setMinimum): Fixed test for updating value,
32311 (setMaximum): Likewise,
32312 (setStepSize): Likewise.
32314 2006-02-08 Tom Tromey <tromey@redhat.com>
32316 * tools/.cvsignore: Added Makefile.in.
32318 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32320 * java/rmi/server/RemoteRef.java,
32321 java/rmi/server/RemoteStub.java: Commented.
32323 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32325 * javax/swing/SpinnerDateModel.java
32326 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32328 (getPreviousValue): Check result against start, not end,
32329 (setValue): Check that value actually changes before firing
32332 2006-02-08 Lillian Angel <langel@redhat.com>
32334 * java/awt/Choice.java
32335 (select): Fixed up code, added some checks to prevent errors.
32336 (dispatchEventImpl): Removed. This function is not needed. It
32337 causes several assertion errors.
32339 2006-02-08 Roman Kennke <kennke@aicas.com>
32341 * javax/swing/text/PlainView.java
32342 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32343 drawing unnecessary characters.
32345 2006-02-08 Lillian Angel <langel@redhat.com>
32347 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32348 (handleEvent): Fixed check to determine if height or
32349 width is less than 1.
32351 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32353 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32355 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32357 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32358 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32359 Documenting the code generator.
32360 * gnu/CORBA/IOR.java (toStringFormatted,
32361 CodeSet_component.toStringFormatted): New methods.
32362 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32363 * tools/gnu/classpath/tools/giop/README: Rewritten.
32364 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32365 (printHelpAndExit): Removed.
32366 *tools/gnu/classpath/tools/giop/IorParser.java,
32367 tools/gnu/classpath/tools/giop/IorParser.txt,
32368 tools/gnu/classpath/tools/giop/NameService.java,
32369 tools/gnu/classpath/tools/giop/NamingService.txt,
32370 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32371 NEWS: Added note about GIOP tools.
32373 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32375 * .classpath: New source patch (tools).
32376 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32377 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32378 * tools/gnu/classpath/tools/Makefile.am,
32379 tools/gnu/classpath/tools/giop/GRMIC.java
32380 tools/gnu/classpath/tools/giop/GRMIC.txt,
32381 tools/gnu/classpath/tools/giop/README,
32382 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32383 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32384 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32385 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32386 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32387 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32388 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32389 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32390 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32391 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32392 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32393 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32395 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32397 * java/awt/BasicStroke.java: Updated API docs all over,
32398 * java/awt/doc-files/capjoin.png: New file.
32400 2006-02-07 Lillian Angel <langel@redhat.com>
32402 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32403 (handleEvent): Added check. Should not paint or update the
32404 component if it's width and height are both 0.
32406 2006-02-07 Roman Kennke <kennke@aicas.com>
32408 * javax/swing/text/AbstractDocument.java
32409 (insertString): Enclose locking/unlocking in try-finally block
32410 and also keep locked while notifying the listeners.
32412 2006-02-07 Roman Kennke <kennke@aicas.com>
32414 * javax/swing/text/GlyphView.java
32415 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32417 (getStartOffset): Return element boundary if startOffset < 0.
32418 (getEndOffset): Return element boundary if endOffset < 0.
32419 (createFragment): Set startOffset and endOffset fields of fragment
32420 if one of p0 or p1 is not at the element boundary.
32422 2006-02-07 Roman Kennke <kennke@aicas.com>
32424 * javax/swing/CellRendererPane.java
32425 (paintComponent): Enclosed painting in try finally to properly
32426 clean up even when throwing an exception.
32428 2006-02-07 Roman Kennke <kennke@aicas.com>
32430 * javax/swing/UIManager.java
32431 (listeners): Made this an instance of
32432 java.beans.PropertyChangeSupport instead of the obsoleted
32433 SwingPropertyChangeSupport.
32435 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32437 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32438 of actions "delete-next" and "delete-previous", added new TextAction
32439 implementations for "selection-begin", "selection-begin-line",
32440 "selection-end" and "selection-end-line".
32442 2006-02-07 Roman Kennke <kennke@aicas.com>
32444 * javax/swing/plaf/basic/BasicTextUI.java
32445 (paint): Acquire read lock on the document before calling
32447 (paintSafely): Added comment about what this method does.
32448 (paintBackground): Implemented to actually paint the background.
32449 (update): Overridden to _not_ paint the background. This is done
32450 in paintBackground in this UI.
32452 2006-02-07 Roman Kennke <kennke@aicas.com>
32454 * javax/swing/text/View.java
32455 (forwardUpdate): Don't notify newly added child views as specified.
32457 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32459 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32461 2006-02-07 Roman Kennke <kennke@aicas.com>
32463 * javax/swing/text/DefaultStyledDocument.java
32464 (ElementBuffer.insert): Only register change when the element
32467 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32469 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32471 (getEncodingShortName): Likewise.
32472 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32473 (PKCS8_FORMAT): Likewise.
32474 (ASN1_FORMAT): Likewise.
32475 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32476 constructor with 5 arguments.
32477 (DSSPublicKey(5)): New constructor.
32478 (valueOf): Handle ASN.1 encoding.
32479 (getEncoded): Likewise.
32480 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32481 constructor with 5 arguments.
32482 (DSSPrivateKey(5)): New constructor.
32483 (valueOf): Handle ASN.1 encoding.
32484 (getEncoded): Likewise.
32485 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32486 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32487 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32488 (PREFERRED_ENCODING_FORMAT): New constant.
32489 (DEFAULT_ENCODING_FORMAT): Likewise.
32490 (preferredFormat): New field.
32491 (setup): Handle preferred format ID.
32492 (generate): Use new ctors with 5 arguments.
32493 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32494 ID as an additional argument.
32495 (defaultFormat): new field.
32496 (getFormat): Returns the preferred format as a short string.
32497 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32498 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32500 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32501 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32503 (initialize(int,boolean,SecureRandom)): Likewise.
32504 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32505 writeLength() instead of write().
32506 return buf.length + 1 instead of buf.length.
32508 2006-02-07 Roman Kennke <kennke@aicas.com>
32510 * javax/swing/plaf/basic/BasicTextUI.java
32511 (RootView.preferenceChange): Changed view parameter to view so
32512 that it doesn't hide a field of that class.
32513 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32514 (RootView.modelToView): Removed unnecessary cast from View to View.
32515 (PropertyChangeHandler): Made inner class private.
32516 (updateHandler): Made field private.
32517 (getVisibleEditorRect): Removed unneeded local variable that
32518 shadowed a field with the same name and purpose.
32520 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32522 * javax/swing/text/JTextComponent.java:
32523 (getSelectedText): Calculate offset and use that as
32526 2006-02-07 Roman Kennke <kennke@aicas.com>
32528 * javax/swing/JTextPane.java
32529 (setCharacterAttributes): Replace input attributes when
32532 2006-02-07 Roman Kennke <kennke@aicas.com>
32534 * java/awt/Component.java
32535 (firePropertyChange(String,byte,byte)): Made method public.
32536 (firePropertyChange(String,char,char)): Made method public.
32537 (firePropertyChange(String,short,short)): Made method public.
32538 (firePropertyChange(String,long,long)): Made method public.
32539 (firePropertyChange(String,float,float)): Made method public.
32540 (firePropertyChange(String,double,double)): Made method public.
32542 2006-02-06 Tom Tromey <tromey@redhat.com>
32544 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32546 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32548 2006-02-06 Anthony Green <green@redhat.com>
32550 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32552 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32554 * .settings/org.eclipse.jdt.core.prefs:
32555 Force a line split on extends and implements.
32556 Force a white-space after unary operators.
32557 Don't force a new-line after @params.
32558 Add new-line at end-of-file.
32559 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32561 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32563 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32565 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32567 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32569 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32571 * gnu/java/security/provider/EncodedKeyFactory.java
32572 (ID_DSA): Redefined in terms of Registry constant.
32573 (ID_DSA): Redefined in terms of Registry constant.
32574 (ID_DH): Redefined in terms of Registry constant.
32575 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32576 (PKCS8_ENCODING): Likewise.
32577 (ASN1_ENCODING): Likewise.
32578 (RAW_ENCODING_SHORT_NAME): Likewise.
32579 (X509_ENCODING_SORT_NAME): Likewise.
32580 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32581 (ASN1_ENCODING_SHORT_NAME): Likewise.
32582 (X509_ENCODING_ID): Likewise.
32583 (PKCS8_ENCODING_ID): Likewise.
32584 (ASN1_ENCODING_ID): Likewise.
32585 (DSA_OID_STRING): Likewise.
32586 (RSA_OID_STRING): Likewise.
32587 (DH_OID_STRING): Likewise.
32589 2006-02-06 Roman Kennke <kennke@aicas.com>
32591 * javax/swing/text/GlyphView.java:
32592 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32593 Only fill background if there is a background set on the view.
32594 Call Utilities.drawTabbedText with the baseline height, rather than
32595 the upper left corner of the view rectangle.
32596 (getBackground): Return null if no background is set.
32597 * javax/swing/text/GlyphView.java:
32598 (setPropertiesFromAttributes): Use null for background when no
32599 background is set. StyleConstants.getBackground() doesn't work
32600 for this, because it returns Color.BLACK in that case.
32602 2006-02-06 Roman Kennke <kennke@aicas.com>
32604 * java/awt/Container.java
32605 (changeSupport): Removed duplicate (from Component) field.
32606 (addPropertyChangeListener): Call super.
32608 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32610 * java/util/regex/Matcher.java(matches):
32611 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32613 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32616 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32617 * gnu/regexp/CharIndexedCharArray.java
32618 (lookBehind),(length): Implemented.
32619 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32620 * gnu/regexp/CharIndexedString.java: Likewise.
32621 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32622 * gnu/regexp/REToken.java(getMaximumLength): New method.
32623 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32625 (initialize): Parse (?<=X), (?<!X), (?>X).
32626 (getMaximumLength): Implemented.
32627 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32628 * gnu/regexp/RETokenChar.java: Likewise.
32629 * gnu/regexp/RETokenEnd.java: Likewise.
32630 * gnu/regexp/RETokenEndSub.java: Likewise.
32631 * gnu/regexp/RETokenLookAhead.java: Likewise.
32632 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32633 * gnu/regexp/RETokenOneOf.java: Likewise.
32634 * gnu/regexp/RETokenPOSIX.java: Likewise.
32635 * gnu/regexp/RETokenRange.java: Likewise.
32636 * gnu/regexp/RETokenRepeated.java: Likewise.
32637 * gnu/regexp/RETokenStart.java: Likewise.
32638 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32639 * gnu/regexp/RETokenIndependent.java: New file.
32640 * gnu/regexp/RETokenLookBehind.java: New file.
32642 2006-02-06 Roman Kennke <kennke@aicas.com>
32644 * java/awt/Component.java
32645 (firePropertyChange(String,byte,byte)): New method.
32646 (firePropertyChange(String,char,char)): New method.
32647 (firePropertyChange(String,short,short)): New method.
32648 (firePropertyChange(String,long,long)): New method.
32649 (firePropertyChange(String,float,float)): New method.
32650 (firePropertyChange(String,double,double)): New method.
32652 2006-02-06 Roman Kennke <kennke@aicas.com>
32654 * javax/swing/JComponent.java
32655 (AccessibleJComponent.changeSupport): Changed to be a
32656 java.beans.PropertyChangeSupport rather than
32657 SwingPropertyChangeSupport.
32658 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32660 (changeSupport): Removed unneeded field.
32661 (removePropertyChangeListener): Removed unneeded methods.
32662 (addPropertyChangeListener): Removed unneeded methods.
32663 (getPropertyChangeListeners): Removed unneeded methods.
32664 (firePropertyChange(String,boolean,boolean)): Changed to simply
32665 call super. Added specnote.
32666 (firePropertyChange(String,char,char)): Changed to simply
32667 call super. Added specnote.
32668 (firePropertyChange(String,int,int)): Changed to simply
32669 call super. Added specnote.
32670 (firePropertyChange(String,byte,byte)): Removed.
32671 (firePropertyChange(String,Object,Object)): Removed.
32672 (firePropertyChange(String,double,double)): Removed.
32673 (firePropertyChange(String,float,float)): Removed.
32674 (firePropertyChange(String,long,long)): Removed.
32675 (firePropertyChange(String,short,short)): Removed.
32677 2006-02-06 Roman Kennke <kennke@aicas.com>
32679 * javax/swing/event/SwingPropertyChangeSupport.java
32680 (listeners): Removed field.
32681 (propertyListeners): Removed field.
32682 (source): Removed field.
32683 (SwingPropertyChangeSupport()): Removed initialization of removed
32685 (addPropertyChangeListener): Removed methods.
32686 (removePropertyChangeListener): Removed methods.
32687 (getPropertyChangeListeners): Removed methods.
32688 (firePropertyChange): Removed methods.
32689 (hasListeners): Removed methods.
32691 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32694 * java/net/InetAddress.java
32695 (readResolve): Implemented.
32697 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32700 * java/io/ObjectInputStream.java
32701 (readNextBlock()): Handle TC_RESET.
32703 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32705 * javax/print/attribute/standard/Compression.java,
32706 * javax/print/attribute/standard/Finishings.java,
32707 * javax/print/attribute/standard/JobMediaSheets.java,
32708 * javax/print/attribute/standard/JobSheets.java,
32709 * javax/print/attribute/standard/JobState.java,
32710 * javax/print/attribute/standard/JobStateReason.java,
32711 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32712 * javax/print/attribute/standard/PrintQuality.java,
32713 * javax/print/attribute/standard/Media.java,
32714 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32715 * javax/print/attribute/standard/PrinterStateReason.java,
32716 * javax/print/attribute/standard/PDLOverrideSupported.java:
32717 (getName): Make method final.
32718 (getCategory): Likewise.
32719 * javax/print/attribute/standard/MediaSize.java:
32720 (getName): Make method final.
32721 (getCategory): Likewise.
32722 (ISO): Added private default constructor.
32726 (Engineering): Likewise.
32728 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32730 * native/jni/java-net/javanet.c (_javanet_connect):
32731 Throw ConnectException instead of IOException if connection failed.
32732 * native/jni/java-net/javanet.h:
32733 Add a define for java.net.ConnectException
32735 2006-02-05 Mark Wielaard <mark@klomp.org>
32738 reported by Egon Willighagen <egon.willighagen@gmail.com>
32739 * javax/swing/DefaultListCellRenderer.java
32740 (getListCellRendererComponent): Turn null value into empty string.
32742 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32744 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32745 a Unicode block if the name starts with "In".
32746 (UnicodeBlockHandler): New inner class.
32748 2006-02-04 Roman Kennke <kennke@aicas.com>
32750 * java/awt/Container.java
32751 (getComponentZOrder): New method.
32752 (setComponentZOrder): New method.
32753 * javax/swing/JLayeredPane.java
32754 (setPosition): Reimplemented to use setComponentZOrder().
32755 (getIndexOf): Reimplemented to use getComponentZOrder().
32756 (addImpl): Pass layerContraint to super call. Important for possibly
32757 installed layout managers.
32758 (swapComponents): Remove unneeded method.
32760 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32762 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32763 DSAKeyPairGenerator.
32764 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32765 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32767 Surround call to adaptee in a try/catch.
32768 (initialize((DSAParams,SecureRandom)): New method.
32769 (initialize(int,boolean,SecureRandom)): New method.
32770 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32771 KeyPairGenerator rather than KeyPairGeneratorSpi.
32772 (KeyPairGeneratorAdapter): Call super with algorithm name.
32774 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32776 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32777 (getDefaultPRNG): New method.
32778 (parseO): Use method above.
32779 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32780 (getDefaultPRNG): New method.
32781 (createO): Use method above.
32782 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32783 (nextByte): Use above field.
32784 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32785 * gnu/java/security/sig/rsa/RSA.java: New class field.
32786 (newR): Use above field
32787 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32788 (encode): Use field.above.
32789 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32790 (getDefaultPRNG): new method.
32791 (nextRandomBytes): Use above method.
32792 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32793 * gnu/java/security/sig/BaseSignature.java: Likewise.
32794 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32795 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32796 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32797 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32798 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32799 (getDefaultPRNG): new method.
32800 (nextRandomBytes): Use above method.
32801 (STRICT_DEFAULTS): new class field.
32802 (USE_DEFAULTS): more documentation to clarify behavior.
32803 (setup): amended to handle new attribute.
32804 * gnu/java/security/util/PRNG.java: New file.
32806 2006-02-03 Lillian Angel <langel@redhat.com>
32808 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32809 chooser field should be protected, not package-private.
32811 2006-02-03 Lillian Angel <langel@redhat.com>
32813 * javax/swing/text/DefaultStyledDocument.java
32814 (changeUpdate): Cleaned up code.
32816 (insertUpdate): Set offset to be equal to pos after
32817 insertContentTag call.
32818 (insertContentTag): If paragraph has no children, should use
32819 replace instead of Edit.
32820 (insertFracture): Moved around code to prevent any exception. Also,
32821 left side of tree should not be recreated if it has already been
32822 edited. In that case, we should only be creating a new right branch
32824 (getEditForParagraphAndIndex): No need to check index. We should
32825 use the same edit for each paragraph.
32827 2006-02-03 Mark Wielaard <mark@klomp.org>
32829 * javax/swing/event/SwingPropertyChangeSupport.java
32830 (propertyListeners): Change type to HashMap.
32831 (SwingPropertyChangeSupport): Allocate HashMap.
32833 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32835 * java/security/KeyPairGenerator.java (getInstance): Test for
32836 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32838 2006-02-02 Roman Kennke <kennke@aicas.com>
32840 * javax/swing/RepaintManager.java
32841 Made fields private.
32842 (RepaintWorker.run): Enclosed work stuff in try finally block in
32843 order to clean up correctly if invalidation or painting fails,
32844 otherwise we would get no more RepaintWorkers onto the EventQueue.
32845 Also, now the RepaintWorker is marked 'dead' only after it has
32846 finished its work, avoid more than one RepaintWorker on the queue.
32847 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32848 instead of hierarchy depths.
32849 (workDirtyComponents): Removed unused field.
32850 (repaintOrder): Removed unused field.
32851 (workRepaintOrder): Removed unused field.
32852 (workInvalidComponents): Removed unused field.
32853 (RepaintManager()): Removed initialization of removed fields.
32854 (addInvalidComponent): Fine tuned synchronization.
32855 (removeInvalidComponent): Fine tune synchronization.
32856 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32857 synchronization. Don't manager repaintOrder here.
32858 (insertRepaintOrder): Removed method.
32859 (markCompletelyClean): Fine tuned synchronization.
32860 (validateInvalidComponents): Dont use a working copy of the
32861 invalidComponents list, instead fine tuned synchronization on this
32862 list. Also, don't search validateRoot, this is already done in
32863 addInvalidComponent().
32864 (paintDirtyRegions): Compute repaint order here, based on size of
32865 damaged regions. Fine tuned synchronization. Avoid use of working
32866 copies of dirtyComponent.
32868 2006-02-02 Lillian Angel <langel@redhat.com>
32870 * javax/swing/text/DefaultStyledDocument.java
32871 (insertUpdate): JoinNextDirection should push the
32872 'next' paragraph on the stack.
32874 2006-02-02 Lillian Angel <langel@redhat.com>
32876 * javax/swing/text/DefaultStyledDocument.java
32877 (insertUpdate): Rewrote code for Originate. This prevents
32878 leaves being created multiple times. If it is on the last
32879 ElementSpec, the leaves need to be created right then;
32880 otherwise, only a branch is created.
32881 (insertContentTag): Rewrote to add new leaf directly if
32882 this is a branch with no children. Otherwise, it
32883 recreates the remainder of the tree as before.
32885 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32887 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32888 for making a list of REMatch instances.
32889 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32890 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32891 (match): Rewritten using REMatchList.
32892 (matchRest): Rewritten using REMatchList.
32894 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32896 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32897 (friendsMove): Call repaint() only after endOfGame is assigned.
32899 2006-02-02 Mark Wielaard <mark@klomp.org>
32901 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32902 * java/util/AbstractCollection.java (toString): Only use Iterator,
32903 check whether collection contains itself.
32905 2006-02-01 Casey Marshall <csm@gnu.org>
32907 Partial fix for PR classpath/25143.
32908 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32909 (<init>): fill in `algName,' derive `algOid' from `algName.'
32910 (getOid): new method.
32911 (encode): embed NULL value for parameters if `params' is `null.'
32913 2006-02-01 Casey Marshall <csm@gnu.org>
32915 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32916 <monoman@gmail.com>.
32917 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32918 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32920 2006-02-01 Casey Marshall <csm@gnu.org>
32922 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32923 * gnu/java/security/der/DERValue.java
32924 (getLength, getEncoded, getEncodedLength): throw an exception,
32925 don't initialize `encoded' to a bogus value.
32926 (toString): return a more helpful string.
32928 Partial fix for PR classpath/25144.
32929 * gnu/java/security/der/DERWriter.java (write): if the value is
32930 the pseudo-value used for CONSTRUCTED, write the encoded value
32933 2006-02-01 Tom Tromey <tromey@redhat.com>
32935 * java/security/Security.java (loadProviders): Use system class
32938 2006-02-01 Mark Wielaard <mark@klomp.org>
32940 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32941 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32942 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32943 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32944 (UnicodeCategoriesHandler): New private static class.
32946 2006-02-01 Lillian Angel <langel@redhat.com>
32948 * javax/swing/text/DefaultStyledDocument.java:
32949 Removed unneeded fields.
32950 (insertUpdate): Removed field initialization.
32951 (insertContentTag): Rewrote part of function. Still
32954 2006-02-01 Lillian Angel <langel@redhat.com>
32956 * javax/swing/text/DefaultStyledDocument.java
32957 (insertParagraph): Cleaned up code.
32958 (insertFirstContentTag): Fixed call to recreateLeaves.
32959 (insertContentTag): Added check to code to determine where
32960 content should be inserted with respect to next element.
32961 (createFracture): Removed check, recreateLeaves is called in
32962 other places when needed.
32963 (recreateLeaves): Added new parameter for paragraph instead
32964 of checking the stack. Removed editing for newBranch, replaced
32965 with a replace call.
32967 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32969 * doc/unicode/Blocks-4.0.0.txt: New file.
32970 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32971 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32972 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32973 but replaced some 1.5-only features (such as enum).
32975 2006-01-31 Roman Kennke <kennke@aicas.com>
32977 * javax/swing/text/PasswordView.java
32978 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32980 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32983 2006-01-31 Roman Kennke <kennke@aicas.com>
32985 * javax/swing/JTextField.java
32986 (getPreferredSize): Also include textfield's insets in width
32989 2006-01-31 Roman Kennke <kennke@aicas.com>
32991 * javax/swing/plaf/basic/BasicTextUI.java
32992 (getPreferredSize): Include the textcomponent's insets in
32995 2006-01-31 Roman Kennke <kennke@aicas.com>
32997 * javax/swing/table/DefaultTableCellRenderer.java
32998 (getTableCellRendererComponent): Moved setting of the value into
32999 setValue(). Removed (bogus) special handling of JTextField values.
33000 (setValue): Made ?: statement more clear by rewriting it
33003 2006-01-31 Roman Kennke <kennke@aicas.com>
33005 * javax/swing/JLayeredPane.java
33006 (insertIndexForLayer): Fixed algorithm to correctly determine
33007 inser index for positions >= 0.
33008 (addImpl): Fixed API docs for the index parameter.
33010 2006-01-31 Mark Wielaard <mark@klomp.org>
33012 * java/net/URI.java (getURIGroup): Check for null to see whether
33013 group actually exists.
33015 2006-01-31 Lillian Angel <langel@redhat.com>
33017 * javax/swing/text/DefaultStyledDocument.java
33018 (changeUpdate): Fixed calls to split to incorporate
33020 (insertParagraph): Likewise. Uses 0 as editIndex
33021 because inserting into a new paragraph.
33022 (insertContentTag): Fixed check to use
33023 recreateLeaves. Added a FIXME comment.
33024 (split): Added a new parameter for edits.
33026 2006-01-31 Roman Kennke <kennke@aicas.com>
33028 * javax/swing/plaf/basic/BasicRootPaneUI.java
33029 (installDefaults): Don't install a background color here.
33031 2006-01-31 Lillian Angel <langel@redhat.com>
33033 * javax/swing/text/DefaultStyledDocument.java
33034 (insert): Removed comment.
33035 (insertUpdate): Added comment.
33036 (recreateLeaves): Removed call to push newBranch onto the
33037 stack. This does not need to be done here.
33039 2006-01-31 Chris Burdess <dog@gnu.org>
33041 * gnu/xml/stream/SAXParser.java,
33042 gnu/xml/stream/UnicodeReader.java,
33043 gnu/xml/stream/XIncludeFilter.java,
33044 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33045 only resolved the system ID not the stream. Make some utility methods
33046 public and static for use by other private XML APIs.
33047 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33048 called without throwing IllegalStateException.
33049 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33052 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33055 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33056 for an invalid index and return null for a skipped group.
33058 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33061 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33062 (NamedProperty): New inner class.
33063 (getNamedProperty): New method.
33064 (getRETokenNamedProperty): New Method.
33065 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33066 * gnu/regexp/RETokenNamedProperty.java: New file.
33068 2006-01-31 Roman Kennke <kennke@aicas.com>
33070 * javax/swing/plaf/PlainView.java
33071 (paint): Call drawLine with baseline coordinates.
33072 (drawLine): Documented and indented this method.
33073 (drawUnselecetedText): Documented and indented this method.
33074 * javax/swing/plaf/text/Utilites.java
33075 (drawTabbedText): The coordinates denote the baseline of the text
33076 not the upper left corner.
33078 2006-01-31 Roman Kennke <kennke@aicas.com>
33080 * javax/swing/plaf/basic/BasicTextUI.java
33081 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33082 UIManager. Added FIXME regarding the implementation of this method.
33084 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33086 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33087 (ButtonDemo): Move content initialisation to new method,
33088 (initFrameContent): New method,
33089 (main): Call initFrameContent(),
33090 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33091 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33092 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33093 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33094 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33096 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33098 * examples/gnu/classpath/examples/swing/Demo.java
33099 (Demo): Set frame size,
33100 (mkButtonBar): Removed stacked sub-panels.
33102 2006-01-30 Lillian Angel <langel@redhat.com>
33104 * javax/swing/text/DefaultStyledDocument.java:
33106 (insert): Initialized fields. Removed call to addEdit,
33107 and created ElementEdit instead.
33108 (insertUpdate): Added check for fracturing. If the
33109 fracturing was not successful, we should push the
33110 last element back on the stack.
33111 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33112 Also, changed replace calls to use Edit.
33113 (insertFirstContentTag): Removed unneeded check and fixed call
33115 (insertContent): Fixed check to use new fields. Added code in
33116 to check if leaves overlap.
33117 (createFracture): Fixed call to recreateLeaves.
33118 (recreateLeaves): Fixed code and cleaned it up a bit.
33119 (insertFracture): Set fracNotCreated field.
33120 (addEdit): Removed, this method is not needed.
33122 2006-01-30 Roman Kennke <kennke@aicas.com>
33124 * javax/swing/JRootPane.java
33125 (RootLayout.prefSize): Removed caching for preferredSize.
33126 (RootLayout.invalidateLayout): Likewise.
33127 (RootLayout.preferredLayoutSize): Likewise.
33129 2006-01-30 Roman Kennke <kennke@aicas.com>
33132 * javax/swing/JFrame.java
33133 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33134 * javax/swing/plaf/metal/MetalRootPaneUI.java
33135 (MetalFrameBorder): New inner class, provides the border for
33136 top level containers with L&F decorations.
33137 (MetalTitlePane): New inner class, provides the title pane for
33138 top level containers with L&F decorations.
33139 (MetalRootLayout): New inner class. Used to layout the root pane
33140 when L&F window decorations are enabled.
33141 (installUI): New method. Handles window decorations.
33142 (uninstallUI): New method. Handles window decorations.
33143 (propertyChange): Handles window decorations.
33144 (installWindowDecorations): New method. Handles window
33146 (uninstallWindowDecorations): New method. Handles window
33148 * javax/swing/plaf/metal/MetalLookAndFeel.java
33149 (getSupportsWindowDecorations): Overridden to return true.
33151 2006-01-30 Mark Wielaard <mark@klomp.org>
33153 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33154 IllegalArgumentException when orientation is illegal.
33155 (JProgressBar(int, int, int)): Likewise and throw exception.
33156 (setOrientation): Likewise.
33158 2006-01-30 Roman Kennke <kennke@aicas.com>
33160 * javax/swing/ViewportLayout.java
33161 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33163 2006-01-30 Mark Wielaard <mark@klomp.org>
33165 * javax/swing/JProgressBar.java (orientation): Always set by
33167 (JProgressBar(int)): Document default on 'illegal' value.
33168 (JProgressBar(int, int, int)): Likewise and set orientation to
33169 HORIZONTAL when 'illegal'.
33170 (setOrientation): Likewise.
33172 2006-01-30 Roman Kennke <kennke@aicas.com>
33174 * javax/swing/plaf/basic/BasicListUI.java
33175 (ListDataHandler.contentsChanged): Update the
33176 updateLayoutStateNeeded flag.
33177 (ListDataHandler.intervalAdded): Update the
33178 updateLayoutStateNeeded flag.
33179 (ListDataHandler.intervalRemoved): Update the
33180 updateLayoutStateNeeded flag.
33181 (PropertyChangeHandler.propertyChange): Correctly update the
33182 listeners on new list model.
33183 (maybeUpdateLayoutState): Don't consider the validation state
33186 2006-01-30 Mark Wielaard <mark@klomp.org>
33188 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33191 2006-01-30 Roman Kennke <kennke@aicas.com>
33193 * javax/swing/JLayeredPane.java
33194 (insertIndexForLayer): Fixed algorithm to correctly insert
33195 components within different layers and -1 position.
33197 2006-01-30 Mark Wielaard <mark@klomp.org>
33199 * doc/api/Makefile.am (create_html): Add -validhtml.
33201 2006-01-30 Roman Kennke <kennke@aicas.com>
33203 * javax/swing/JLayeredPane.java
33204 (insertIndexForLayer): Fixed algorithm to correctly insert
33205 components within same layer and -1 position.
33207 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33210 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33211 New execution flag.
33212 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33213 implicit RETokenEnd at the end of the regexp chain.
33214 Do not select the longest match, but select the first match.
33215 (match): Do not take care of REMatch.empty.
33216 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33217 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33218 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33219 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33220 Do not take care of REMatch.empty. Set and check REMatch.empty
33221 when trying to match the single token.
33223 2006-01-30 Mark Wielaard <mark@klomp.org>
33225 * java/awt/Cursor.java (toString): Include name and type.
33227 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33229 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33231 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33233 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33236 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33237 Consider the validation state of the list.
33239 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33241 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33243 * java/beans/XMLDecoder.java:
33244 (setExceptionListener): Use shared DefaultExceptionListener
33246 * java/beans/Encoder.java:
33247 (setExceptionListener): Use shared DefaultExceptionListener
33250 2006-01-29 Roman Kennke <kennke@aicas.com>
33252 * javax/swing/ScrollPaneLayout.java
33253 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33255 2006-01-29 Mark Wielaard <mark@klomp.org>
33257 * java/net/SocketPermission.java (setActions): Trim and lower case
33260 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33262 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33263 incorrectly failing primality test for some known primes. Fixed.
33264 (passFermatLittleTheorem): Removed.
33265 (passMillerRabin): Removed.
33266 (isProbablePrime): Cache primes that pass the primality tests.
33267 Use BigInteger.isProbablePrime(int) for primality tests.
33268 (debugBI): New static debugging method.
33270 2006-01-28 Roman Kennke <kennke@aicas.com>
33272 * javax/swing/plaf/basic/BasicListUI.java
33273 (updateLayoutState): Removed unneeded special case for VERTICAL.
33275 2006-01-28 Roman Kennke <kennke@aicas.com>
33277 * javax/swing/plaf/basic/BasicListUI.java
33278 (getCellBounds): Determine correct list width when having a
33279 layoutOrientation of VERTICAL.
33280 (maybeUpdateLayoutState): Don't consider the validation state of
33283 2006-01-28 Mark Wielaard <mark@klomp.org>
33285 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33286 * java/awt/print/NoPrinterJob.java: New (fake) class.
33287 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33289 2006-01-28 Mark Wielaard <mark@klomp.org>
33291 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33293 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33295 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33296 (addChildren): New method.
33298 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33300 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33301 constructor for cloning purposes.
33302 (clone): New implementation that ensures cloning.
33303 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33304 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33307 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33309 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33310 Call updateCurrentVisiblePath.
33312 2006-01-27 Roman Kennke <kennke@aicas.com>
33314 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33316 2006-01-27 Roman Kennke <kennke@aicas.com>
33318 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33319 (createContent): Only create new content if we don't have one
33321 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33322 (createContent): Only create new content if we don't have one
33324 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33325 (createContent): Only create new content if we don't have one
33327 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33328 (createContent): Only create new content if we don't have one
33330 * examples/gnu/classpath/examples/swing/SliderDemo.java
33331 (createContent): Only create new content if we don't have one
33333 * examples/gnu/classpath/examples/swing/TableDemo.java
33334 (createContent): Only create new content if we don't have one
33336 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33337 (createContent): Only create new content if we don't have one
33340 2006-01-27 Lillian Angel <langel@redhat.com>
33342 * javax/swing/text/DefaultStyledDocument.java
33343 (insertFirstContentTag): Removed check, not needed. This
33344 still needs to be fixed for some cases. Added call to
33346 (createFracture): Added call to recreateLeaves.
33347 (recreateLeaves): New method used to recreate all the
33348 leaves after the initial insertion. This still needs
33350 (handleInsertAfterNewline): Removed else, not needed.
33352 2006-01-27 Roman Kennke <kennke@aicas.com>
33354 * javax/swing/JLayeredPane.java
33355 (inserIndexForLayer): Fixed direction of search.
33357 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33359 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33360 node into nodeStates.
33362 2006-01-27 Roman Kennke <kennke@aicas.com>
33364 * javax/swing/JLayeredPane.java
33365 (FRAME_CONTENT_LAYER): Made field final.
33366 (componentToLayer): Made field private.
33367 (rectCache): Removed field.
33368 (layers): Removed field.
33369 (JLayeredPane()): Removed initialization of removed fields.
33370 (getLayer): Rewritten to make use of client properties in
33371 JComponents and to be more straighforward.
33372 (static getLayer): Rewritten to make use of client properties in
33374 (layerToRange): Removed method.
33375 (incrLayer): Removed method.
33376 (decrLayer): Removed method.
33377 (highestLayer): Rewritten to be more straightforward.
33378 (lowestLayer): Rewritten to be more straightforward.
33379 (getPosition): Rewritten to be more straightforward.
33380 (getComponentsInLayer): Rewritten to be more straightforward.
33381 (getComponentCountInLayer): Rewritten to be more straightforward.
33382 (getIndexOf): Rewritten to be more straightforward.
33383 (inserIndexForLayer): Rewritten to be more straightforward.
33384 (remove): Rewritten to be more straightforward.
33385 (setLayer): Rewritten to be more straightforward.
33386 (addImpl): Rewritten to be more straightforward.
33387 (putLayer): Rewritten to be more straightforward.
33389 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33391 * java/lang/Character.java:
33392 (offsetByCodePoints(CharSequence, int, int)): New API method.
33393 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33394 (toChars): Throw the Exception that the docs say we throw.
33395 (codePointAt): Fixed an off-by-one error in the bounds of the if
33397 * java/lang/String.java:
33398 (String(int[], int, int)): New API constructor.
33400 2006-01-27 Lillian Angel <langel@redhat.com>
33402 * javax/swing/text/DefaultStyledDocument.java
33403 (insert): Moved this loop to insertUpdate.
33404 (insertUpdate): Likewise. Fixed variable
33405 names. Incremented pos if new paragraph
33407 (split): Changed edits to use replace instead. Prevents
33409 (insertFirstContentTag): Removed else.
33410 (insertContentTag): Implemented else for JoinNextDirection.
33411 (createFracture): Fixed up code, still not fully complete.
33412 (insertFracture): Fixed to use return value from
33413 recreateAfterFracture.
33414 (recreateAfterFracture): Changed to return an array of the
33415 elements to be added. This prevents an assertion error.
33416 (contains): New function checks if an element is already in
33417 the Vector. Vector's contain function was not enough to use.
33418 (addAddedElement): Changed to use new contains function.
33419 (addAddedElements): Likewise.
33420 (addRemovedElement): Likewise.
33421 (addRemovedElements): Likewise.
33423 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33426 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33427 If no user class loaders found on the stack, return the thread
33428 context class loader. (currentClassLoader): Explained.
33430 2006-01-27 Roman Kennke <kennke@aicas.com>
33432 * java/awt/Container.java
33433 (swapComponents): Removed unspecified method.
33434 * javax/swing/JLayeredPane.java
33435 (setPosition): Reimplemented correctly.
33436 (swapComponents): New helper method.
33438 2006-01-27 Mark Wielaard <mark@klomp.org>
33440 * configure.ac: Set version to 0.21-pre.
33442 2006-01-27 Roman Kennke <kennke@aicas.com>
33445 * javax/swing/JComponent.java
33446 (findOverlapFreeParent): Improved the algorithm to make better use
33447 of the optimizedDrawingEnabled flag.
33448 * javax/swing/JLayeredPane.java
33449 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33450 * javax/swing/JViewport.java
33451 (computeBlit): Fixed check to decide if blitting is possible or not,
33452 so that it doesn't blit if nothing was scrolled (in order to
33453 update the buffer when the view updates itself).
33455 2006-01-27 Roman Kennke <kennke@aicas.com>
33457 * javax/swing/plaf/metal/MetalFileChooserUI.java
33458 (createList): Don't set scrollbar policy.
33460 2006-01-27 Roman Kennke <kennke@aicas.com>
33462 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33463 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33464 Fixed to also handle non-Swing toplevel containers.
33465 (PopupMenuHandler.popupMenuWillBecomeVisible):
33466 Fixed to also handle non-Swing toplevel containers.
33467 * javax/swing/Popup.java
33468 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33471 2006-01-27 Roman Kennke <kennke@aicas.com>
33473 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33474 (InternalFramePropertyChangeListener): Don't implement
33475 VetoableChangeListener.
33476 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33477 (internalFrameVetoableChangeListener): Removed unneeded field.
33478 (installListeners): Don't install vetoableChangeListener.
33479 * javax/swing/event/DocumentEvent.java
33480 (EventType): Made class final.
33482 2006-01-27 Roman Kennke <kennke@aicas.com>
33484 * javax/swing/SwingUtilities.java
33485 (calculateInsetArea): Removed unneeded method. The method
33486 calculateInnerArea has the same purpose and is actually specified.
33487 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33488 * javax/swing/plaf/basic/BasicMenuItemUI.java
33489 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33490 of SwingUtilities.calculateInsetArea().
33492 2006-01-27 Roman Kennke <kennke@aicas.com>
33494 * javax/swing/plaf/basic/BasicTreeUI.java
33495 (installDefaults): Removed requestFocusInWindow() call.
33496 * javax/swing/JComponent.java
33497 (requestFocusInWindow(boolean)): Made method protected.
33498 (printComponent): Made method protected.
33499 (printChildren): Made method protected.
33500 (printComponent): Made method protected.
33501 (printBorder): Made method protected.
33503 2006-01-27 Roman Kennke <kennke@aicas.com>
33505 * javax/swing/AbstractButton.java
33506 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33508 * javax/swing/ImageIcon.java
33509 (component): Made field final.
33510 (tracker): Made field final.
33511 * javax/swing/JApplet.java
33512 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33513 * javax/swing/JCheckBox.java
33514 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33516 * javax/swing/JDialog.java
33517 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33518 * javax/swing/JFrame.java
33519 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33520 * javax/swing/JLayeredPane.java
33521 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33523 (DEFAULT_LAYER): Made field final.
33524 (PALETTE_LAYER): Made field final.
33525 (MODAL_LAYER): Made field final.
33526 (POPUP_LAYER): Made field final.
33527 (DRAG_LAYER): Made field final.
33528 * javax/swing/JMenu.java
33529 (ActionChangeListener): Made class private.
33530 * javax/swing/JOptionPane.java
33531 (UNITITIALIZED_VALUE): Made field final.
33532 * javax/swing/JPanel.java
33533 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33534 * javax/swing/JPopupMenu.java
33535 (ActionChangeListener): Made class private.
33536 * javax/swing/JTree.java
33537 (paramString): Made method protected.
33538 * javax/swing/JViewport.java
33539 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33540 * javax/swing/JWindow.java
33541 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33542 * javax/swing/RepaintManager.java
33543 (RepaintWorker): Made class private.
33545 2006-01-27 Roman Kennke <kennke@aicas.com>
33547 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33548 (handleEvent): Removed debug statement.
33550 2006-01-27 Roman Kennke <kennke@aicas.com>
33552 * java/awt/Component.java
33553 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33554 more than it helps.
33556 2006-01-26 Lillian Angel <langel@redhat.com>
33558 * javax/swing/text/DefaultStyledDocument.java
33559 (createFracture): Commented out a known problem,
33562 2006-01-26 Lillian Angel <langel@redhat.com>
33564 * javax/swing/text/DefaultStyledDocument.java
33565 (ElementBuffer): Added fields.
33566 (remove): Initialized pos.
33567 (change): Likewise.
33568 (insert): Likewise.
33569 (insertUpdate): Incremented pos. Fixed check, createFracture should
33570 be called on first tag if it is not ContentType.
33571 (insertFirstContentTag): Reworked to use proper offsets and
33572 set offset accordingly. This might need more work in the future.
33573 (insertContentTag): Likewise. Fixed to use pos, instead of
33575 (createFracture): Fixed to recreate other leaves. Still needs
33577 (insertFracture): Reimplemented.
33578 (recreateAfterFracture): New method.
33579 (getParagraphElement): Reimplemented, more efficent.
33581 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33583 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33584 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33585 ordering for little-endian arms without VFP.
33587 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33590 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33592 2006-01-26 Mark Wielaard <mark@klomp.org>
33594 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33595 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33596 Add trailing zeros to the fraction of the decimal with the smallest
33599 2006-01-26 Roman Kennke <kennke@aicas.com>
33601 * javax/swing/text/html/ObjectView.java: New file.
33603 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33605 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33606 Call startEditing when appropriate.
33607 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33608 (startEditing): Always edit if directly ordered from
33609 MouseHandler.mousePressed.
33610 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33611 New field. (createTreeCellEditor): Set click count to start.
33612 (getTreeCellEditorComponent): Assing realEditor directly.
33614 2006-01-25 Casey Marshall <csm@gnu.org>
33616 Merging GNU Crypto and Jessie.
33618 * NEWS: mention the merge in the 0.21 notes.
33619 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33620 (SSL_RECORD_LAYER): new constants.
33621 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33623 * resource/java/security/classpath.security: add new providers.
33624 * gnu/javax/crypto/assembly/Assembly.java,
33625 gnu/javax/crypto/assembly/Cascade.java,
33626 gnu/javax/crypto/assembly/CascadeStage.java,
33627 gnu/javax/crypto/assembly/CascadeTransformer.java,
33628 gnu/javax/crypto/assembly/DeflateTransformer.java,
33629 gnu/javax/crypto/assembly/Direction.java,
33630 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33631 gnu/javax/crypto/assembly/ModeStage.java,
33632 gnu/javax/crypto/assembly/Operation.java,
33633 gnu/javax/crypto/assembly/PaddingTransformer.java,
33634 gnu/javax/crypto/assembly/Stage.java,
33635 gnu/javax/crypto/assembly/Transformer.java,
33636 gnu/javax/crypto/assembly/TransformerException.java,
33637 gnu/javax/crypto/cipher/Anubis.java,
33638 gnu/javax/crypto/cipher/BaseCipher.java,
33639 gnu/javax/crypto/cipher/Blowfish.java,
33640 gnu/javax/crypto/cipher/Cast5.java,
33641 gnu/javax/crypto/cipher/CipherFactory.java,
33642 gnu/javax/crypto/cipher/DES.java,
33643 gnu/javax/crypto/cipher/IBlockCipher.java,
33644 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33645 gnu/javax/crypto/cipher/Khazad.java,
33646 gnu/javax/crypto/cipher/NullCipher.java,
33647 gnu/javax/crypto/cipher/Rijndael.java,
33648 gnu/javax/crypto/cipher/Serpent.java,
33649 gnu/javax/crypto/cipher/Square.java,
33650 gnu/javax/crypto/cipher/TripleDES.java,
33651 gnu/javax/crypto/cipher/Twofish.java,
33652 gnu/javax/crypto/cipher/WeakKeyException.java,
33653 gnu/javax/crypto/jce/GnuCrypto.java,
33654 gnu/javax/crypto/jce/GnuSasl.java,
33655 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33656 gnu/javax/crypto/jce/cipher/AESSpi.java,
33657 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33658 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33659 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33660 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33661 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33662 gnu/javax/crypto/jce/cipher/DESSpi.java,
33663 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33664 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33665 gnu/javax/crypto/jce/cipher/PBES2.java,
33666 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33667 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33668 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33669 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33670 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33671 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33672 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33673 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33674 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33675 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33676 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33677 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33678 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33679 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33680 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33681 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33682 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33683 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33684 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33685 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33686 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33687 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33688 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33689 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33690 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33691 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33692 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33693 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33694 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33695 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33696 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33697 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33698 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33699 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33700 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33701 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33702 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33703 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33704 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33705 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33706 gnu/javax/crypto/jce/mac/MacAdapter.java,
33707 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33708 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33709 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33710 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33711 gnu/javax/crypto/jce/mac/OMacImpl.java,
33712 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33713 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33714 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33715 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33716 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33717 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33718 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33719 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33720 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33721 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33722 gnu/javax/crypto/jce/params/DEREncodingException.java,
33723 gnu/javax/crypto/jce/params/DERReader.java,
33724 gnu/javax/crypto/jce/params/DERWriter.java,
33725 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33726 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33727 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33728 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33729 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33730 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33731 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33732 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33733 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33734 gnu/javax/crypto/key/GnuSecretKey.java,
33735 gnu/javax/crypto/key/IKeyAgreementParty.java,
33736 gnu/javax/crypto/key/IncomingMessage.java,
33737 gnu/javax/crypto/key/KeyAgreementException.java,
33738 gnu/javax/crypto/key/KeyAgreementFactory.java,
33739 gnu/javax/crypto/key/OutgoingMessage.java,
33740 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33741 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33742 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33743 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33744 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33745 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33746 gnu/javax/crypto/key/dh/ElGamalSender.java,
33747 gnu/javax/crypto/key/dh/GnuDHKey.java,
33748 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33749 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33750 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33751 gnu/javax/crypto/key/dh/RFC2631.java,
33752 gnu/javax/crypto/key/srp6/SRP6Host.java,
33753 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33754 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33755 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33756 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33757 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33758 gnu/javax/crypto/key/srp6/SRP6User.java,
33759 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33760 gnu/javax/crypto/key/srp6/SRPKey.java,
33761 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33762 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33763 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33764 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33765 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33766 gnu/javax/crypto/keyring/BaseKeyring.java,
33767 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33768 gnu/javax/crypto/keyring/CertPathEntry.java,
33769 gnu/javax/crypto/keyring/CertificateEntry.java,
33770 gnu/javax/crypto/keyring/CompressedEntry.java,
33771 gnu/javax/crypto/keyring/EncryptedEntry.java,
33772 gnu/javax/crypto/keyring/Entry.java,
33773 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33774 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33775 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33776 gnu/javax/crypto/keyring/IKeyring.java,
33777 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33778 gnu/javax/crypto/keyring/IPublicKeyring.java,
33779 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33780 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33781 gnu/javax/crypto/keyring/MeteredInputStream.java,
33782 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33783 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33784 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33785 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33786 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33787 gnu/javax/crypto/keyring/Properties.java,
33788 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33789 gnu/javax/crypto/mac/BaseMac.java,
33790 gnu/javax/crypto/mac/HMac.java,
33791 gnu/javax/crypto/mac/HMacFactory.java,
33792 gnu/javax/crypto/mac/IMac.java,
33793 gnu/javax/crypto/mac/MacFactory.java,
33794 gnu/javax/crypto/mac/MacInputStream.java,
33795 gnu/javax/crypto/mac/MacOutputStream.java,
33796 gnu/javax/crypto/mac/OMAC.java,
33797 gnu/javax/crypto/mac/TMMH16.java,
33798 gnu/javax/crypto/mac/UHash32.java,
33799 gnu/javax/crypto/mac/UMac32.java,
33800 gnu/javax/crypto/mode/BaseMode.java,
33801 gnu/javax/crypto/mode/CBC.java,
33802 gnu/javax/crypto/mode/CFB.java,
33803 gnu/javax/crypto/mode/CTR.java,
33804 gnu/javax/crypto/mode/EAX.java,
33805 gnu/javax/crypto/mode/ECB.java,
33806 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33807 gnu/javax/crypto/mode/ICM.java,
33808 gnu/javax/crypto/mode/IMode.java,
33809 gnu/javax/crypto/mode/ModeFactory.java,
33810 gnu/javax/crypto/mode/OFB.java,
33811 gnu/javax/crypto/pad/BasePad.java,
33812 gnu/javax/crypto/pad/IPad.java,
33813 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33814 gnu/javax/crypto/pad/PKCS7.java,
33815 gnu/javax/crypto/pad/PadFactory.java,
33816 gnu/javax/crypto/pad/SSL3.java,
33817 gnu/javax/crypto/pad/TBC.java,
33818 gnu/javax/crypto/pad/TLS1.java,
33819 gnu/javax/crypto/pad/WrongPaddingException.java,
33820 gnu/javax/crypto/prng/ARCFour.java,
33821 gnu/javax/crypto/prng/CSPRNG.java,
33822 gnu/javax/crypto/prng/Fortuna.java,
33823 gnu/javax/crypto/prng/ICMGenerator.java,
33824 gnu/javax/crypto/prng/IPBE.java,
33825 gnu/javax/crypto/prng/PBKDF2.java,
33826 gnu/javax/crypto/prng/PRNGFactory.java,
33827 gnu/javax/crypto/prng/UMacGenerator.java,
33828 gnu/javax/crypto/sasl/AuthInfo.java,
33829 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33830 gnu/javax/crypto/sasl/ClientFactory.java,
33831 gnu/javax/crypto/sasl/ClientMechanism.java,
33832 gnu/javax/crypto/sasl/ConfidentialityException.java,
33833 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33834 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33835 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33836 gnu/javax/crypto/sasl/InputBuffer.java,
33837 gnu/javax/crypto/sasl/IntegrityException.java,
33838 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33839 gnu/javax/crypto/sasl/NoSuchUserException.java,
33840 gnu/javax/crypto/sasl/OutputBuffer.java,
33841 gnu/javax/crypto/sasl/SaslEncodingException.java,
33842 gnu/javax/crypto/sasl/SaslInputStream.java,
33843 gnu/javax/crypto/sasl/SaslOutputStream.java,
33844 gnu/javax/crypto/sasl/SaslUtil.java,
33845 gnu/javax/crypto/sasl/ServerFactory.java,
33846 gnu/javax/crypto/sasl/ServerMechanism.java,
33847 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33848 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33849 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33850 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33851 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33852 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33853 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33854 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33855 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33856 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33857 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33858 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33859 gnu/javax/crypto/sasl/plain/PlainClient.java,
33860 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33861 gnu/javax/crypto/sasl/plain/PlainServer.java,
33862 gnu/javax/crypto/sasl/srp/CALG.java,
33863 gnu/javax/crypto/sasl/srp/ClientStore.java,
33864 gnu/javax/crypto/sasl/srp/IALG.java,
33865 gnu/javax/crypto/sasl/srp/KDF.java,
33866 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33867 gnu/javax/crypto/sasl/srp/SRP.java,
33868 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33869 gnu/javax/crypto/sasl/srp/SRPClient.java,
33870 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33871 gnu/javax/crypto/sasl/srp/SRPServer.java,
33872 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33873 gnu/javax/crypto/sasl/srp/ServerStore.java,
33874 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33875 gnu/javax/net/ssl/Base64.java,
33876 gnu/javax/net/ssl/EntropySource.java,
33877 gnu/javax/net/ssl/NullManagerParameters.java,
33878 gnu/javax/net/ssl/PrivateCredentials.java,
33879 gnu/javax/net/ssl/SRPManagerParameters.java,
33880 gnu/javax/net/ssl/SRPTrustManager.java,
33881 gnu/javax/net/ssl/StaticTrustAnchors.java,
33882 gnu/javax/net/ssl/provider/Alert.java,
33883 gnu/javax/net/ssl/provider/AlertException.java,
33884 gnu/javax/net/ssl/provider/Certificate.java,
33885 gnu/javax/net/ssl/provider/CertificateRequest.java,
33886 gnu/javax/net/ssl/provider/CertificateType.java,
33887 gnu/javax/net/ssl/provider/CertificateVerify.java,
33888 gnu/javax/net/ssl/provider/CipherSuite.java,
33889 gnu/javax/net/ssl/provider/ClientHello.java,
33890 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33891 gnu/javax/net/ssl/provider/CompressionMethod.java,
33892 gnu/javax/net/ssl/provider/Constructed.java,
33893 gnu/javax/net/ssl/provider/ContentType.java,
33894 gnu/javax/net/ssl/provider/Context.java,
33895 gnu/javax/net/ssl/provider/DiffieHellman.java,
33896 gnu/javax/net/ssl/provider/DigestInputStream.java,
33897 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33898 gnu/javax/net/ssl/provider/Enumerated.java,
33899 gnu/javax/net/ssl/provider/Extension.java,
33900 gnu/javax/net/ssl/provider/Extensions.java,
33901 gnu/javax/net/ssl/provider/Finished.java,
33902 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33903 gnu/javax/net/ssl/provider/Handshake.java,
33904 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33905 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33906 gnu/javax/net/ssl/provider/Jessie.java,
33907 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33908 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33909 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33910 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33911 gnu/javax/net/ssl/provider/KeyPool.java,
33912 gnu/javax/net/ssl/provider/MacException.java,
33913 gnu/javax/net/ssl/provider/OverflowException.java,
33914 gnu/javax/net/ssl/provider/PRNG.java,
33915 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33916 gnu/javax/net/ssl/provider/Random.java,
33917 gnu/javax/net/ssl/provider/RecordInput.java,
33918 gnu/javax/net/ssl/provider/RecordInputStream.java,
33919 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33920 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33921 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33922 gnu/javax/net/ssl/provider/SSLHMac.java,
33923 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33924 gnu/javax/net/ssl/provider/SSLRandom.java,
33925 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33926 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33927 gnu/javax/net/ssl/provider/SSLSocket.java,
33928 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33929 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33930 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33931 gnu/javax/net/ssl/provider/SecurityParameters.java,
33932 gnu/javax/net/ssl/provider/ServerHello.java,
33933 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33934 gnu/javax/net/ssl/provider/Session.java,
33935 gnu/javax/net/ssl/provider/SessionContext.java,
33936 gnu/javax/net/ssl/provider/Signature.java,
33937 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33938 gnu/javax/net/ssl/provider/TLSHMac.java,
33939 gnu/javax/net/ssl/provider/TLSRandom.java,
33940 gnu/javax/net/ssl/provider/Util.java,
33941 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33942 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33943 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33944 gnu/javax/security/auth/Password.java,
33945 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33946 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33947 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33948 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33949 gnu/javax/security/auth/callback/GnuCallbacks.java,
33950 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33951 gnu/java/security/Registry.java,
33952 gnu/java/security/Properties.java,
33953 gnu/java/security/hash/BaseHash.java,
33954 gnu/java/security/hash/HashFactory.java,
33955 gnu/java/security/hash/Haval.java,
33956 gnu/java/security/hash/IMessageDigest.java,
33957 gnu/java/security/hash/MD2.java,
33958 gnu/java/security/hash/MD4.java,
33959 gnu/java/security/hash/MD5.java,
33960 gnu/java/security/hash/RipeMD128.java,
33961 gnu/java/security/hash/RipeMD160.java,
33962 gnu/java/security/hash/Sha160.java,
33963 gnu/java/security/hash/Sha256.java,
33964 gnu/java/security/hash/Sha384.java,
33965 gnu/java/security/hash/Sha512.java,
33966 gnu/java/security/hash/Tiger.java,
33967 gnu/java/security/hash/Whirlpool.java,
33968 gnu/java/security/jce/hash/HavalSpi.java,
33969 gnu/java/security/jce/hash/MD2Spi.java,
33970 gnu/java/security/jce/hash/MD4Spi.java,
33971 gnu/java/security/jce/hash/MD5Spi.java,
33972 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33973 gnu/java/security/jce/hash/RipeMD128Spi.java,
33974 gnu/java/security/jce/hash/RipeMD160Spi.java,
33975 gnu/java/security/jce/hash/Sha160Spi.java,
33976 gnu/java/security/jce/hash/Sha256Spi.java,
33977 gnu/java/security/jce/hash/Sha384Spi.java,
33978 gnu/java/security/jce/hash/Sha512Spi.java,
33979 gnu/java/security/jce/hash/TigerSpi.java,
33980 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33981 gnu/java/security/jce/prng/HavalRandomSpi.java,
33982 gnu/java/security/jce/prng/MD2RandomSpi.java,
33983 gnu/java/security/jce/prng/MD4RandomSpi.java,
33984 gnu/java/security/jce/prng/MD5RandomSpi.java,
33985 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33986 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33987 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33988 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33989 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33990 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33991 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33992 gnu/java/security/jce/prng/TigerRandomSpi.java,
33993 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33994 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33995 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33996 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33997 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33998 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33999 gnu/java/security/jce/sig/SignatureAdapter.java,
34000 gnu/java/security/key/IKeyPairCodec.java,
34001 gnu/java/security/key/IKeyPairGenerator.java,
34002 gnu/java/security/key/KeyPairCodecFactory.java,
34003 gnu/java/security/key/KeyPairGeneratorFactory.java,
34004 gnu/java/security/key/dss/DSSKey.java,
34005 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34006 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34007 gnu/java/security/key/dss/DSSPrivateKey.java,
34008 gnu/java/security/key/dss/DSSPublicKey.java,
34009 gnu/java/security/key/dss/FIPS186.java,
34010 gnu/java/security/key/rsa/GnuRSAKey.java,
34011 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34012 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34013 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34014 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34015 gnu/java/security/prng/BasePRNG.java,
34016 gnu/java/security/prng/EntropySource.java,
34017 gnu/java/security/prng/IRandom.java,
34018 gnu/java/security/prng/LimitReachedException.java,
34019 gnu/java/security/prng/MDGenerator.java,
34020 gnu/java/security/prng/PRNGFactory.java,
34021 gnu/java/security/prng/RandomEvent.java,
34022 gnu/java/security/prng/RandomEventListener.java,
34023 gnu/java/security/sig/BaseSignature.java,
34024 gnu/java/security/sig/ISignature.java,
34025 gnu/java/security/sig/ISignatureCodec.java,
34026 gnu/java/security/sig/SignatureFactory.java,
34027 gnu/java/security/sig/dss/DSSSignature.java,
34028 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34029 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34030 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34031 gnu/java/security/sig/rsa/EMSA_PSS.java,
34032 gnu/java/security/sig/rsa/RSA.java,
34033 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34034 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34035 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34036 gnu/java/security/util/Base64.java,
34037 gnu/java/security/util/ExpirableObject.java,
34038 gnu/java/security/util/Prime2.java,
34039 gnu/java/security/util/Sequence.java,
34040 gnu/java/security/util/SimpleList.java,
34041 gnu/java/security/util/Util.java,
34042 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34043 new files imported from GNU Crypto and Jessie.
34045 2006-01-25 Tom Tromey <tromey@redhat.com>
34047 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34048 Fixed calculation of number of bytes to read.
34049 (size, count, meta, eof): Document.
34051 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34053 * java/lang/Character.java:
34054 (codePointCount(char[], int, int)): New API method.
34055 (codePointCount(CharSequence, int, int)): Likewise.
34057 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34060 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34062 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34063 action if not editing.
34064 * javax/swing/plaf/basic/BasicTreeUI.java
34065 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34066 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34067 (EditorUpdateTimer): Removed.
34068 (TreeAction.actionPerformed): Stop and not cancel the current editing
34069 when starting editing another node.
34070 (editorTimer, newVal): Removed.
34071 (cancelEditing): Do not send the cancel message.
34072 (completeEditing): Obtain the edited value from the editor.
34073 (finish): New method.
34074 (paintRow): Do not paint the editing component here.
34075 (startEditing, stopEditing): Rewritten.
34076 * javax/swing/tree/DefaultTreeCellEditor.java
34077 (DefaultTextField): Added SVUID.
34078 (EditorContainer): Rewritten.
34079 (RealEditorListener): New inner class.
34080 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34081 (constructor): Add cell editor listener. Do not instantiate timer.
34082 (actionPerformed): Return without action.
34083 (cancelCellEditing): Rewritten.
34084 (createTreeCellEditor): Add cell editor listener to the editor.
34085 (getCellEditorValue): Request the value from the realEditor.
34086 (isCellEditable): Removed timer management.
34087 (prepareForEditing): Remove all components befor adding the
34089 (startEditingTimer): Start only if it is not null.
34090 (stopCellEditing): Rewritten.
34091 (stopEditingTimer): New method.
34092 (valueChanged): Do not configure editing component here.
34094 2006-01-25 Roman Kennke <kennke@aicas.com>
34096 * javax/swing/text/html/FormView.java: New file.
34098 2006-01-25 Roman Kennke <kennke@aicas.com>
34100 * javax/swing/JSplitPane.java
34101 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34102 has been set in order to set an initial layout.
34103 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34104 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34105 layout of the right component.
34106 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34107 dividerLocation to the size of the left component.
34108 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34110 (setDividerLocation): Don't validate the location here. Sometimes
34111 the divider needs to be set to an invalid location.
34112 (startDragging): Don't revalidate and repaint here.
34113 (finishDraggingTo): Don't repaint here. Also, don't call
34114 dragDividerTo() here.
34115 * javax/swing/plaf/basic/BasicLookAndFeel.java
34116 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34119 2006-01-25 Roman Kennke <kennke@aicas.com>
34121 * javax/swing/JSplitPane.java
34122 (addImpl): Removed invalidate() and layout() call.
34123 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34124 (PropertyHandler.propertyChange): Remove layoutContainer() and
34127 2006-01-25 Roman Kennke <kennke@aicas.com>
34130 * native/Makefile.am
34131 * native/jni/classpath/Makefile.am
34132 * native/jni/classpath/jcl.c
34133 * native/jni/classpath/jcl.h
34134 * native/jni/classpath/native_state.c
34135 * native/jni/gtk-peer/Makefile.am
34136 * native/jni/java-io/Makefile.am
34137 * native/jni/java-io/java_io_VMFile.c
34138 * native/jni/java-io/java_io_VMObjectStreamClass.c
34139 * native/jni/java-lang/Makefile.am
34140 * native/jni/java-net/Makefile.am
34141 * native/jni/java-net/java_net_VMInetAddress.c
34142 * native/jni/java-net/javanet.c
34143 * native/jni/java-net/javanet.h
34144 * native/jni/java-nio/Makefile.am
34145 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34146 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34147 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34148 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34149 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34150 * native/jni/java-util/Makefile.am
34151 * native/jni/java-util/java_util_VMTimeZone.c
34152 * native/jni/midi-dssi/Makefile.am
34153 * native/jni/xmlj/Makefile.am
34154 * native/target/Makefile.am
34155 * native/target/Linux/target_native_math.h
34156 * native/target/Linux/target_native_memory.h
34157 * native/target/Linux/Makefile.am
34158 * native/target/Linux/target_native_io.h
34159 * native/target/Linux/target_native_math_float.h
34160 * native/target/Linux/target_native_math_int.h
34161 * native/target/generic/target_generic.c
34162 * native/target/generic/target_generic_io.c
34163 * native/target/generic/target_generic_math.h
34164 * native/target/generic/target_generic_memory.h
34165 * native/target/generic/target_generic_misc.c
34166 * native/target/generic/target_generic_network.c
34167 * native/target/generic/Makefile.am
34168 * native/target/generic/target_generic.h
34169 * native/target/generic/target_generic_file.h
34170 * native/target/generic/target_generic_io.h
34171 * native/target/generic/target_generic_math_float.h
34172 * native/target/generic/target_generic_math_int.h
34173 * native/target/generic/target_generic_misc.h
34174 * native/target/generic/target_generic_network.h:
34175 Reverted target native related changes back to the state of the
34177 * native/target/MinGW/.cvsignore
34178 * native/target/MinGW/Makefile.am
34179 * native/target/MinGW/target_native.h
34180 * native/target/MinGW/target_native_file.h
34181 * native/target/MinGW/target_native_io.h
34182 * native/target/MinGW/target_native_math.h
34183 * native/target/MinGW/target_native_memory.h
34184 * native/target/MinGW/target_native_misc.h
34185 * native/target/MinGW/target_native_network.h
34186 * native/target/RTEMS/.cvsignore
34187 * native/target/RTEMS/Makefile.am
34188 * native/target/RTEMS/target_native.h
34189 * native/target/RTEMS/target_native_file.h
34190 * native/target/RTEMS/target_native_io.h
34191 * native/target/RTEMS/target_native_math.h
34192 * native/target/RTEMS/target_native_memory.h
34193 * native/target/RTEMS/target_native_misc.h
34194 * native/target/RTEMS/target_native_network.h
34195 * native/target/SunOS/.cvsignore
34196 * native/target/SunOS/Makefile.am
34197 * native/target/SunOS/target_native.h
34198 * native/target/SunOS/target_native_file.h
34199 * native/target/SunOS/target_native_io.h
34200 * native/target/SunOS/target_native_math.h
34201 * native/target/SunOS/target_native_memory.h
34202 * native/target/SunOS/target_native_misc.h
34203 * native/target/SunOS/target_native_network.h
34204 * native/target/embOS/.cvsignore
34205 * native/target/embOS/Makefile.am
34206 * native/target/embOS/target_native.h
34207 * native/target/embOS/target_native_file.h
34208 * native/target/embOS/target_native_io.c
34209 * native/target/embOS/target_native_io.h
34210 * native/target/embOS/target_native_math.h
34211 * native/target/embOS/target_native_memory.h
34212 * native/target/embOS/target_native_misc.h
34213 * native/target/embOS/target_native_network.h
34214 * native/target/posix/.cvsignore
34215 * native/target/posix/Makefile.am
34216 * native/target/posix/target_posix.c
34217 * native/target/posix/target_posix.h
34218 * native/target/posix/target_posix_file.c
34219 * native/target/posix/target_posix_file.h
34220 * native/target/posix/target_posix_io.c
34221 * native/target/posix/target_posix_io.h
34222 * native/target/posix/target_posix_math.c
34223 * native/target/posix/target_posix_math.h
34224 * native/target/posix/target_posix_memory.c
34225 * native/target/posix/target_posix_memory.h
34226 * native/target/posix/target_posix_misc.c
34227 * native/target/posix/target_posix_misc.h
34228 * native/target/posix/target_posix_network.c
34229 * native/target/posix/target_posix_network.h:
34232 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34234 * javax/print/PrintService.java,
34235 * javax/print/DocPrintJob.java,
34236 * javax/print/CancelablePrintJob.java:
34237 Added and enhanced api documentation for class and methods.
34239 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34241 * javax/print/SimpleDoc.java: Make class final.
34242 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34243 * javax/print/attribute/DateTimeSyntax.java:
34244 (toString): New overridden method.
34245 * javax/print/attribute/standard/JobStateReasons.java:
34246 (add): Use the super.add method to avoid recursion.
34247 * javax/print/attribute/standard/PrinterStateReasons.java:
34248 (put): Use the super.put method to avoid recursion.
34250 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34252 * java/beans/XMLEncoder.java:
34253 (writeExpression): Added early return (fixes PR #25941).
34254 (setExceptionListener, anonymous Class): Removed printStackTrace
34256 * java/beans/Encoder: Removed unused imports.
34257 (setupDefaultPersistenceDelegates): Removed unneccessary
34258 PersistenceDelegates for subclasses.
34259 * java/beans/PersistenceDelegate:
34260 (initialize): Use local variable as first argument as it was
34262 * java/beans/DefaultPersistenceDelegate:
34263 (initialize): Added call to superclass' implementation, added
34266 2006-01-24 Tom Tromey <tromey@redhat.com>
34268 * java/util/regex/PatternSyntaxException.java: Added @since.
34269 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34270 * java/util/regex/MatchResult.java: New file.
34272 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34274 * javax/swing/text/StringContent.java: Added API docs all over, plus
34275 minor reformatting.
34277 2006-01-24 Gary Benson <gbenson@redhat.com>
34279 * java/net/SocketPermission.java: Implemented serialization.
34281 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34283 * javax/swing/text/StringContent.java
34284 (remove): Modified argument check to prevent removal of last character,
34285 (getChars): Removed null argument check to allow NullPointerException,
34287 (checkLocation): Added API docs and white space.
34289 2006-01-23 Lillian Angel <langel@redhat.com>
34291 * javax/swing/text/DefaultStyledDocument.java
34292 (insertUpdate): Should only call createFracture with
34293 StartTagType. Added check.
34294 (insertContentTag): Should use the tags length for splitting.
34295 Also, added a check to determine if current's start and end offset are
34296 equal to the offset and endOffset. If so, only one leaf element
34298 (createFracture): Removed FIXME. This function is complete.
34299 (split): Added calls to replace. Changed so the child is
34300 added immediately to the paragraph. Prevents NPEs.
34302 2006-01-23 Mark Wielaard <mark@klomp.org>
34304 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34306 2006-01-23 Tom Tromey <tromey@redhat.com>
34308 * gnu/java/security/x509/X509Certificate.java (parse):
34309 Unconditionally read value; for version==1 case when reading
34312 2006-01-23 Roman Kennke <kennke@aicas.com>
34314 * javax/swing/plaf/synth/ColorType.java,
34315 * javax/swing/plaf/synth/Region.java,
34316 * javax/swing/plaf/synth/SynthConstants.java,
34317 * javax/swing/plaf/synth/SynthContext.java
34318 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34319 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34320 * javax/swing/plaf/synth/SynthPainter.java,
34321 * javax/swing/plaf/synth/SynthStyle.java,
34322 * javax/swing/plaf/synth/SynthStyleFactory.java,
34323 * javax/swing/plaf/synth/package.html:
34324 New files. Added the public API and framework classes for the
34325 Synth look and feel.
34327 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34329 * javax/swing/text/Segment.java: API docs all over.
34331 2006-01-23 Lillian Angel <langel@redhat.com>
34333 * javax/swing/text/DefaultStyledDocument.java
34334 (split): Should not use createLeafElement and createBranchElement here.
34335 We should just instaniate the LeafElements and BranchElements instead
34336 to avoid the case where create*Element is overridden.
34338 2006-01-23 Lillian Angel <langel@redhat.com>
34340 * javax/swing/text/DefaultStyledDocument.java
34341 (insertFirstContentTag): Moved check outside of if-statement.
34342 This should be checked before creating the new leaf element.
34343 (insertFracture): Fixed check to prevent an NPE. The previous
34344 leaf should only be recreated if it has been created by
34345 insertFirstContentTag. Also, fixed up code: if the endOffset is
34346 greater than the offset, then we need to create a temp leaf
34347 as a place holder. Otherwise, the leaf elements should be
34350 2006-01-23 Gary Benson <gbenson@redhat.com>
34352 * java/net/SocketPermission.java: Almost completely rewritten.
34354 2006-01-23 Lillian Angel <langel@redhat.com>
34356 * javax/swing/text/DefaultStyledDocument.java
34357 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34359 2006-01-23 Lillian Angel <langel@redhat.com>
34361 * javax/swing/text/DefaultStyledDocument.java:
34362 Formatted ElementBuffer and added new fields.
34363 (remove): Added check to determine if length is 0.
34364 (insertFirstContentTag): Initialized firstCreated to the element that is created
34365 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34366 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34367 that have been recreated.
34368 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34369 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34370 FIXME tags to the lines that need to be rewritten.
34372 2006-01-23 Mark Wielaard <mark@klomp.org>
34374 * examples/Makefile.am: Add support for fastjar.
34376 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34378 * gnu/regexp/REToken.java(empty): Made Cloneable.
34379 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34380 Use separate methods matchN and matchP depending on the
34382 (matchN): New method used when negative. Done as before.
34383 (matchP): New method used when not negative. Each token is
34384 tried not by itself but by a clone of it.
34386 2006-01-23 Chris Burdess <dog@gnu.org>
34389 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34390 class to avoid getLength method contention.
34391 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34393 2006-01-23 Chris Burdess <dog@gnu.org>
34395 * native/jni/java-util/Makefile.am: Include library required
34396 explicitly by BSD systems.
34397 * native/target/generic/target_generic_misc.h: Remove old commented
34399 * native/target/generic/target_generic_network.h: Fallbacks (to
34400 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34402 2006-01-22 Tom Tromey <tromey@redhat.com>
34404 * native/target/posix/.cvsignore: Added .deps.
34406 2006-01-22 Mark Wielaard <mark@klomp.org>
34409 reported by James Damour <James.Damour@corp.request.com>
34410 * java/awt/Container.java (addImpl): Use empty string as name when
34411 null constraints for LayoutManager.addLayoutComponent().
34413 2006-01-22 Chris Burdess <dog@gnu.org>
34416 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34417 representing current directory as base for relative URLs.
34419 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34422 * gnu/regexp/REMatch.java(empty): New boolean indicating
34423 an empty string matched.
34424 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34426 (initialize): Support back reference \10, \11, and so on.
34427 (parseInt): renamed from getEscapedChar and returns int.
34428 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34429 when an empty string matched. Fixed a bug of the case where
34430 an empty string matched. Added special handling of {0}.
34431 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34432 when an empty string matched. Fixed the case insensitive matching.
34434 2006-01-21 Roman Kennke <kennke@aicas.com>
34436 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34437 (paint): Added painting of border if one is installed.
34439 2006-01-21 Roman Kennke <kennke@aicas.com>
34441 PR classpath/25843:
34442 * javax/swing/plaf/basic/BasicBorders.java
34443 (getSplitPaneDividerBorder): Use new border constructor
34445 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34446 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34447 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34448 colors are fetched dynamically in the paintBorder method.
34449 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34451 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34453 * javax/swing/plaf/basic/BasicLookAndFeel.java
34454 (initComponentDefaults): Added default for SplitPaneDivider.border.
34455 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34456 (tmpBorder): Removed unneeded inner class.
34457 (BasicSplitPaneDivider): Removed setting of border.
34458 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34460 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34461 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34462 to get behaviour right.
34463 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34464 implementation. This must be rewritten since the layout now works
34465 slightly different (basically, it shouldn't modify the sizes[]
34466 here but instead the dividerLocation.
34467 (dividerLocation): New field.
34468 (installDefaults): Initialize border on divider.
34469 (uninstallDefaults): Only remove background color and border from
34470 splitPane if they are instances of UIDefaults (== not set by
34472 (setDividerLocation): Set the dividerLocation field instead of
34473 doing stunt acts here.
34474 (getDividerLocation): Return dividerLocation field.
34475 (getMinimumDividerLocation): Fixed calculation of minimum location.
34477 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34480 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34482 * lib/Makefile.am: Likewise.
34484 2006-01-21 Roman Kennke <kennke@aicas.com>
34486 * javax/swing/PopupFactory.java
34487 (getPopup): If there is no Swing root found in any way, use a
34488 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34489 for the Swing AWT peers.
34491 2006-01-20 Tom Tromey <tromey@redhat.com>
34493 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34494 Read response body for redirect.
34496 2006-01-20 Chris Burdess <dog@gnu.org>
34498 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34501 2006-01-20 Lillian Angel <langel@redhat.com>
34503 * javax/swing/text/DefaultStyledDocument.java
34504 (pad): Removed, not needed.
34505 (printElements): Likewise.
34506 (printEdit): Likewise.
34508 2006-01-20 Roman Kennke <kennke@aicas.com>
34510 * javax/swing/text/DefaultFormatter.java
34511 (DefaultFormatter): Don't set a value class.
34513 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34515 * javax/swing/DefaultCellEditor.java: Commented.
34517 2006-01-19 Roman Kennke <kennke@aicas.com>
34519 * javax/swing/JOptionPane.java
34520 Added cast to Frame for JDialog constructor.
34522 2006-01-19 Roman Kennke <kennke@aicas.com>
34524 * javax/swing/JWindow.java
34525 (JWindow(Window)): Fixed to accept null owner argument.
34526 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34528 * javax/swing/SwingUtilities.java
34529 (getOwnerFrame): Owner parameter and return value are fixed to
34530 be of type Window for compatibity with the above JWindow
34532 * javax/swing/JDialog.java
34533 (JDialog): Added cast to Frame to make sure the correct constructor
34535 * javax/swing/JFileChooser.java
34536 (createDialog): Added cast to Frame for JDialog constructor.
34538 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34540 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34542 2006-01-19 Roman Kennke <kennke@aicas.com>
34544 * javax/swing/JWindow.java: Added API docs to the constructors.
34546 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34548 * javax/swing/JTable.java: Commenting method headers.
34549 (EditorUpdateTimer): Removed.
34551 2006-01-19 Roman Kennke <kennke@aicas.com>
34553 * javax/swing/JDialog.java
34554 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34555 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34556 SwingUtilities.getOwnerFrame() with the owner argument.
34557 * javax/swing/JFileChooser.java
34558 (showOpenDialog(Component)): Call pack() on the dialog instead of
34559 setting a fixed height.
34560 (showSaveDialog()): Likewise.
34561 (showDialog()): Likewise.
34562 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34563 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34565 * javax/swing/JWindow.java
34566 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34567 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34569 * javax/swing/SwingUtilities.java
34570 (getOwnerFrame): Changed to take a owner parameter that is returned
34571 as owner frame when not null.
34573 2006-01-19 Roman Kennke <kennke@aicas.com>
34575 * gnu/java/awt/peer/swing/SwingFramePeer.java
34576 (handleMouseEvent): Fixed handling of mouse events.
34577 (handleMouseMotionEvent): Fixed handling of mouse events.
34579 2006-01-19 Roman Kennke <kennke@aicas.com>
34581 * native/target/generic/target_generic_misc.c:
34582 (targetGenericMisc_formatString): Added missing method.
34584 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34586 * m4/acinclude.m4: Test also for ecj found before exiting configure
34587 with no javac found error message.
34589 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34592 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34593 \0123, \x1B, \u1234.
34594 (getEscapedChar): New method.
34595 (CharExpression): New inner class.
34596 (getCharExpression): New Method.
34597 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34598 RE_UNICODE_CHAR): New syntax bits.
34600 2006-01-19 Roman Kennke <kennke@aicas.com>
34602 * native/target/Makefile.am: Fixed so that posix stuff is really
34603 only built when requested.
34605 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34607 * javax/swing/JTable.java (editingStopped, editingCancelled):
34608 Repaint the edited cell.
34609 (setValueAt): Do not add the value object to this container.
34610 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34611 (editingStopped): Use editingRow, editingColumn and not
34612 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34613 (doLayout): Move the editor component, if present, into the new
34614 location and call repaint(). (moveToCellBeingEdited): new method.
34615 (TableTextField): new inner class.
34616 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34617 (setValueAt): Repaint the changed segment.
34618 (createDefaultEditors): Implemented.
34619 (BooleanCellRenderer): Center the checkbox and use the default foreground
34620 and background colors.
34621 * javax/swing/plaf/basic/BasicTableUI.java
34622 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34623 (paint): No need to allocate rectangle for each cell.
34624 * javax/swing/DefaultCellEditor.java: Rewritten.
34625 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34626 Use TableDemo.java table example.
34627 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34629 2006-01-19 Roman Kennke <kennke@aicas.com>
34631 * configure.ac: Added/fixed --enable-posix-layer option to enable
34632 build of posix layer.
34633 * native/target/Makefile.am: Added build for posix layer.
34635 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34637 * configure.ac: Set TARGET to Linux per default.
34638 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34640 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34641 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34644 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34646 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34647 what looked like proprietary documentation with original or new one.
34648 * java/security/spec/PSSParameterSpec.java: Likewise.
34649 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34650 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34651 * java/security/AlgorithmParameterGenerator.java: Likewise.
34652 * java/security/AlgorithmParameters.java: Likewise.
34653 * java/security/Identity.java: Likewise.
34654 * java/security/IdentityScope.java: Likewise.
34655 * java/security/KeyFactory.java: Likewise.
34656 * java/security/KeyPairGenerator.java: Likewise.
34657 * java/security/MessageDigest.java: Likewise.
34658 * java/security/Policy.java: Likewise.
34659 * java/security/ProtectionDomain.java: Likewise.
34660 * java/security/Security.java: Likewise.
34661 * java/security/Signature.java: Likewise.
34662 * java/security/SignatureSpi.java: Likewise.
34663 * java/security/SignedObject.java: Likewise.
34664 * java/security/Signer.java: Likewise.
34666 2006-01-18 Roman Kennke <kennke@aicas.com>
34668 * configure.ac: Added --enable-posix-layer option to enable
34669 build of the posix target layer.
34671 2006-01-18 Roman Kennke <kennke@aicas.com>
34673 * native/jni/java-net/java_net_VMInetAddress.c
34674 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34677 2006-01-18 Roman Kennke <kennke@aicas.com>
34679 * native/jni/java-util/java_util_VMTimeZone.c:
34680 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34681 to use target native layer.
34682 (jint_to_charbuf): Removed unneeded helper function.
34684 2006-01-18 Roman Kennke <kennke@aicas.com>
34686 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34687 Removed unnecessary include.
34688 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34689 Reorganized includes to only include sys/* headers when available.
34690 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34691 (get_pagesize): Return 0 when nothing else works.
34692 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34693 Replaced munmap() and strerror() with corresponding target macros.
34694 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34695 Replaced strerror() with corresponding target macro.
34696 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34697 Replaced strerror() with corresponding target macro.
34698 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34699 (Java_java_nio_VMDirectByteBuffer_allocate):
34700 Replaced malloc() with the corresponding target macro.
34701 (Java_java_nio_VMDirectByteBuffer_free):
34702 Replaced free() with the corresponding target macro.
34703 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34704 Add index to pointer when assigning the value.
34705 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34706 Replaced memcpy with corresponding target macro. Add index when
34707 doing the memcpy, not when fetching the pointer.
34708 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34709 Replaced memcpy with corresponding target macro.
34710 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34711 Replaced memmove with the corresponding target macro.
34713 2006-01-17 Tom Tromey <tromey@redhat.com>
34715 PR classpath/20198:
34716 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34717 (JarURLLoader): Likewise.
34718 (addURLImpl): Canonicalize file URLs.
34720 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34722 * configure.ac: Set TARGET.
34723 * native/Makefile.am, native/jni/classpath/Makefile.am,
34724 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34725 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34726 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34727 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34728 native/target/Linux/Makefile.am,
34729 native/target/generic/Makefile.am,
34730 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34731 and target stuff linked in and link it against lib*.so libraries.
34733 2006-01-17 Roman Kennke <kennke@aicas.com>
34735 * native/jni/java-net/javanet.c:
34736 (_javanet_connect): Changed type of some local variables to jint.
34737 Fixed error handling to throw a SocketTimeoutException if the
34738 connection attempt times out.
34739 (_javanet_bind): Changed type of some local variables to jint.
34740 (_javanet_accept): Likewise.
34741 (_javanet_recvfrom): Likewise.
34742 (_javanet_sendto): Fixed error handling to throw a
34743 PortUnreachableException when connection is refused.
34744 (_javanet_get_option): Changed type of some local variables to jint.
34745 Implemented SOCKOPT_SO_BROADCAST.
34746 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34747 target native macro.
34748 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34749 target native macro.
34750 * native/jni/java-net/javanet.h:
34751 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34752 SOCKOPT_SO_BROADCAST.
34754 2006-01-17 Lillian Angel <langel@redhat.com>
34756 * javax/swing/text/DefaultStyledDocument.java
34757 (insert): Cleaned up loop. No need to make so many calls
34758 to getAddedElements and getRemovedElements.
34759 (insertFracture): Removed unneeded array.
34761 2006-01-17 Lillian Angel <langel@redhat.com>
34763 * javax/swing/text/JTextComponent.java
34764 (AccessibleJTextComponent): Implemented.
34765 (getCaretPosition): Implemented.
34766 (getSelectedText): Implemented.
34767 (getSelectionStart): Implemented.
34768 (getSelectionEnd): Implemented.
34769 (getSelectionEnd): Implemented.
34770 (getCharCount): Implemented.
34771 (insertTextAtIndex): Implemented.
34772 (getTextRange): Implemented.
34773 (delete): Implemented.
34774 (cut): Implemented.
34775 (paste): Implemented.
34776 (replaceText): Implemented.
34777 (selectText): Implemented.
34779 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34781 * javax/swing/text/DefaultStyledDocument.java:
34782 (pad): New debugging method.
34783 (printElements): Likewise.
34784 (printPendingEdits): Likewise.
34785 (printElement): Likewise.
34786 (Edit): Improved docs, moved this class to be an inner class of
34787 ElementBuffer since it only applies within that scope. Changed added
34788 and removed to be Vectors instead of arrays because we need to be able
34789 to add to them after construction.
34790 (ElementBuffer): Updated docs with link to article that helped in this
34791 classes implementation.
34792 (ElementBuffer.Edit.getRemovedElements): New method.
34793 (ElementBuffer.Edit.getAddedElements): Likewise.
34794 (ElementBuffer.Edit.addRemovedElement): Likewise.
34795 (ElementBuffer.Edit.addRemovedElements): Likewise.
34796 (ElementBuffer.Edit.addAddedElement): Likewise.
34797 (ElementBuffer.Edit.addAddedElements): Likewise.
34798 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34800 (ElementBuffer.getEditForParagraphAndIndex): New method.
34801 (ElementBuffer.removeUpdate): Changed type of paragraph to
34802 BranchElement. Corrected style of adding the edit to use the new Edit
34804 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34805 the new Edit facilities.
34806 (ElementBuffer.split): Likewise.
34807 (ElementBuffer.insertParagraph): Likewise.
34808 (ElementBuffer.insertContentTag): Likewise.
34809 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34810 not just the root and the first one. Apply the structural changes to
34811 the tree at the same time as updating the DocumentEvent.
34812 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34813 handling of EndTags as the first ElementSpec. Instead have to handle
34814 ContentTags as a special case if they are the first ElementSpec and if
34815 not have to fracture the tree.
34816 (ElementBuffer.createFracture): New method. May not be complete yet.
34817 Added FIXME indicating what may remain to be done.
34818 (ElementBuffer.insertFirstContentTag): New method.
34819 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34820 be done. Changed the adding of edits to use the new Edit facilities.
34821 Removed the adding of edits for Elements that weren't in the tree prior
34823 (insertUpdate): Removed incorrect condition for setting a StartTag's
34824 direction to JoinNextDirection.
34825 * javax/swing/text/StyleContent.java:
34826 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34827 that was causing an ArrayOutOfBoundsException.
34829 2006-01-17 Roman Kennke <kennke@aicas.com>
34831 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34832 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34833 exception messages a little.
34834 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34835 alternative implementation for systems without filesystems.
34836 Replaced snprintf with the corresponding target native macro.
34837 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34838 Only do something when we have a filesystem.
34839 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34840 alternative implementation for systems without filesystems.
34841 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34842 alternative implementation for systems without filesystems.
34843 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34844 alternative implementation for systems without filesystems.
34845 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34846 Only do something when we have a filesystem.
34847 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34848 Only do something when we have a filesystem.
34849 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34850 alternative implementation for systems without filesystems.
34851 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34852 Replaced ssize_t variables with jint. Provided
34853 alternative implementation for systems without filesystems.
34854 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34855 Replaced ssize_t variables with jint. Provided
34856 alternative implementation for systems without filesystems.
34857 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34858 Replaced ssize_t variables with jint. Provided
34859 alternative implementation for systems without filesystems.
34860 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34861 Only do something when we have a filesystem.
34862 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34863 Replaced ssize_t variables with jint. Provided
34864 alternative implementation for systems without filesystems.
34865 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34866 to use the corresponding target native macro.
34867 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34868 to use the corresponding target native macro.
34870 2006-01-17 Lillian Angel <langel@redhat.com>
34872 * javax/swing/text/DefaultTextUI.java:
34873 Added deprecated tag.
34874 * javax/swing/text/JTextComponent.java
34875 (AccessibleJTextComponent): Fixed API doc and
34876 partiall9 implemented.
34877 (getCaretPosition): Fixed API doc and implemented.
34878 (getSelectedText): Fixed API doc.
34879 (getSelectionStart): Likewise.
34880 (getSelectionEnd): Likewise.
34881 (caretUpdate): Fixed API doc and
34882 partially implemented.
34883 (getAccessibleStateSet): Likewise.
34884 (getAccessibleRole): Fixed API doc and implemented.
34885 (getAccessibleEditableText): Implemented.
34886 (getAccessibleText): Fixed API doc and implemented.
34887 (insertUpdate): Fixed API doc.
34888 (changedUpdate): Likewise.
34889 (getIndexAtPoint): Likewise.
34890 (getRootEditorRect): Removed.
34891 (getCharacterBounds): Fixed API doc.
34892 (getCharCount): Likewise.
34893 (getCharacterAttribute): Likewise.
34894 (getAtIndex): Likewise.
34895 (getAfterIndex): Likewise.
34896 (getBeforeIndex): Likewise.
34897 (getAccessibleActionCount): Added function stub.
34898 (getAccessibleActionDescription): Added function,
34899 partially implemented.
34900 (doAccessibleAction): Added function stub.
34901 (setTextContents): Likewise.
34902 (insertTextAtIndex): Likewise.
34903 (delete): Likewise.
34906 (replaceText): Likewise.
34907 (selectText): Likewise.
34908 (setAttributes): Likewise.
34909 (getAccessibleContext): Implemented.
34911 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34914 * gnu/regexp/RETokenRange.java(constructor):
34915 Keep lo and hi as they are.
34916 (match): Changed the case insensitive comparison.
34918 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34920 * gnu/regexp/RETokenChar.java(chain):
34921 Do not concatenate tokens whose insens flags are diffent.
34923 2006-01-17 Roman Kennke <kennke@aicas.com>
34925 * native/target/generic/target_generic_network.c:
34926 (targetGenericNetwork_receive): Fixed signature to match the
34927 corresponding .h file.
34928 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34929 to match the corresponding .h file.
34931 2006-01-17 Roman Kennke <kennke@aicas.com>
34933 * native/jni/classpath/jcl.c:
34934 (JCL_malloc): Replaced calls to malloc with the corresponding
34935 target layer macro.
34936 (JCL_free): Replaced calls to free with the corresponding
34937 target layer macro.
34938 * native/jni/classpath/native_state.c:
34939 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34940 calloc with the corresponding target layer macro.
34941 (remove_node): Replaced calls to free with the corresponding
34942 target layer macro.
34943 (add_node): Replaced calls to malloc with the corresponding
34944 target layer macro.
34946 2006-01-17 Roman Kennke <kennke@aicas.com>
34948 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34949 (getFieldReference): Use MALLOC/FREE macros for portability instead
34950 of direct call to malloc() and free().
34952 2006-01-17 Roman Kennke <kennke@aicas.com>
34954 * native/jni/classpath/jcl.c: Added missing imports.
34955 (JCL_realloc): Fixed signature to include oldsize. This is needed
34956 for some targets. Make this function use the MEMORY_REALLOC macro
34958 * native/jni/classpath/jcl.h
34959 (JCL_realloc): Adjusted signature.
34960 * native/jni/java-io/java_io_VMFile.c:
34961 (Java_java_io_VMFile_create): Use target layer macro for handling
34962 errno, for portability.
34963 (Java_java_io_VMFile_length): Release filename string in error cases
34965 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34966 version of JCL_realloc.
34967 * native/jni/java-net/java_net_VMInetAddress.c:
34968 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34969 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34970 * native/jni/java-net/javanet.c:
34971 (_javanet_bind): Make errorstr variable const to avoid compiler
34973 (_javanet_set_option): Fixed typo.
34974 (_javanet_get_option): Fixed typo.
34975 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34976 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34977 error_string variable const to avoid compiler warning.
34978 * native/target/generic/target_generic_file.h:
34979 Replaced // comments with /* */ comments to avoid compiler warnings.
34980 Added some spaces to make code better readable.
34981 * native/target/generic/target_generic_memory.h:
34982 Replaced // comments with /* */ comments to avoid compiler warnings.
34983 * native/target/generic/target_generic_misc.c:
34984 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34985 compiler warnings due to use of varargs.
34986 * native/target/generic/target_generic_misc.h:
34987 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34988 compiler warnings due to use of varargs.
34989 * native/target/generic/target_generic_network.h:
34990 Replaced // comments with /* */ comments to avoid compiler warnings.
34991 (targetGenericNetwork_receive): Fixed signature to use signed chars
34992 for buffer parameter to avoid warning when passing a jbyte to the
34995 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34997 * javax/swing/text/StyleConstants.java
34998 (getAlignment): Removed isDefined() check, so that resolving parent is
35000 (getBackground): Likewise, plus changed default value to Color.BLACK,
35001 (getBidiLevel): Removed isDefined() check,
35002 (getComponent): Likewise,
35003 (getFirstLineIndent): Likewise,
35004 (getFontFamily): Likewise,
35005 (getFontSize): Likewise,
35006 (getForeground): Likewise,
35007 (getIcon): Likewise,
35008 (getLeftIndent): Likewise,
35009 (getLineSpacing): Likewise,
35010 (getRightIndent): Likewise,
35011 (getSpaceAbove): Likewise,
35012 (getSpaceBelow): Likewise,
35013 (getTabSet): Likewise,
35014 (isBold): Likewise,
35015 (isItalic): Likewise,
35016 (isStrikeThrough): Likewise,
35017 (isSubscript): Likewise,
35018 (isSuperscript): Likewise,
35019 (isUnderline): Likewise.
35021 2006-01-17 Gary Benson <gbenson@redhat.com>
35023 * java/lang/System.java (setSecurityManager): Catch
35024 ClassNotFoundException not Throwable.
35026 2006-01-16 Anthony Green <green@redhat.com>
35029 * gnu/java/net/protocol/http/Request.java
35030 (createResponseBodyStream): Remove Content-Encoding for
35031 compressed streams.
35033 2006-01-16 Chris Burdess <dog@gnu.org>
35035 * gnu/xml/stream/XMLParser.java,
35036 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35037 XMLStreamWriter arguments for conformance to the XML specifications.
35038 * gnu/xml/transform/Stylesheet.java,
35039 gnu/xml/transform/Template.java,
35040 gnu/xml/transform/TransformerImpl.java,
35041 gnu/xml/xpath/LangFunction.java,
35042 gnu/xml/xpath/Selector.java: better handling of template priorities;
35043 fix indents when pretty-printing; recursive tests for xml:lang.
35044 * gnu/xml/util/XHTMLWriter.java,
35045 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35047 2006-01-16 Roman Kennke <kennke@aicas.com>
35049 * native/target/MinGW/.cvsignore: New file.
35050 * native/target/RTEMS/.cvsignore: New file.
35051 * native/target/SunOS/.cvsignore: New file.
35052 * native/target/embOS/.cvsignore: New file.
35053 * native/target/posix/.cvsignore: New file.
35055 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35057 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35059 2006-01-16 Roman Kennke <kennke@aicas.com>
35061 * configure.ac: Include new target native directories in build.
35063 2006-01-16 Roman Kennke <kennke@aicas.com>
35065 * native/target/generic/target_generic_file.h: Added missing
35067 * native/target/generic/target_generic_network.c: Fixed several
35068 typos and includes.
35069 * native/target/generic/target_generic_network.h: Likewise.
35071 2006-01-16 Roman Kennke <kennke@aicas.com>
35073 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35074 to include the new targets.
35075 * native/target/posix/Makefile.am: Fixed filenames.
35077 2006-01-16 Roman Kennke <kennke@aicas.com>
35079 * native/target/Makefile.am: Include new targets.
35080 * native/target/Linux/Makefile.am: Include new memory layer.
35081 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35082 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35083 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35084 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35085 * native/target/generic/Makefile.am: Include new memory and math
35087 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35089 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35092 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35093 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35095 2006-01-16 Roman Kennke <kennke@aicas.com>
35097 * native/target/generic/target_generic_network.c: Fixed typo.
35098 * native/target/generic/target_generic_network.h: Fixed typo.
35100 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35102 * doc/vmintegration.texinfo: Updated subsection of the
35103 java.lang.InstrumentationImpl documentation.
35105 2006-01-16 Roman Kennke <kennke@aicas.com>
35107 * native/target/RTEMS/target_native.h,
35108 * native/target/RTEMS/target_native_file.h,
35109 * native/target/RTEMS/target_native_io.h,
35110 * native/target/RTEMS/target_native_math.h,
35111 * native/target/RTEMS/target_native_memory.h,
35112 * native/target/RTEMS/target_native_misc.h,
35113 * native/target/RTEMS/target_native_network.h:
35114 New files. Implement the target native layer for the RTEMS platform.
35116 2006-01-16 Roman Kennke <kennke@aicas.com>
35118 * native/target/SunOS/target_native.h,
35119 * native/target/SunOS/target_native_file.h,
35120 * native/target/SunOS/target_native_io.h,
35121 * native/target/SunOS/target_native_math.h,
35122 * native/target/SunOS/target_native_memory.h,
35123 * native/target/SunOS/target_native_misc.h,
35124 * native/target/SunOS/target_native_network.h:
35125 New files. Implement the target native layer for the SunOS platform.
35127 2006-01-16 Roman Kennke <kennke@aicas.com>
35129 * native/target/MinGW/target_native.h,
35130 * native/target/MinGW/target_native_file.h,
35131 * native/target/MinGW/target_native_io.h,
35132 * native/target/MinGW/target_native_math.h,
35133 * native/target/MinGW/target_native_memory.h,
35134 * native/target/MinGW/target_native_misc.h,
35135 * native/target/MinGW/target_native_network.h:
35136 New files. Implement the target native layer for the MinGW
35139 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35142 * javax/swing/DefaultCellEditor.java
35143 (delegate): Assign new instance immediately.
35144 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35145 (getTableCellEditorComponent): Rewritten.
35146 (prepareAsJTextField):New method (add listener only once).
35147 * javax/swing/JTable.java
35148 (editingCanceled): Rewritten.
35149 (editingStopped ): Rewritten.
35150 (rowAtPoint): Mind row margin.
35151 (getCellRect): Mind row margin.
35152 (getDefaultEditor): Removing JTextComponent border.
35153 (editCellAt): Rewritten.
35154 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35155 Activate editing mode by the mouse clicks.
35156 (getMaximumSize): Mind row margin.
35157 (getPreferredSize): Mind row margin.
35158 (TableAction): Added 'stop editing' command.
35160 2006-01-16 Roman Kennke <kennke@aicas.com>
35162 * jni/java-io/java_io_VMFile.c
35163 (Java_java_io_VMFile_list): Use new 4 argument version of
35164 TARGET_NATIVE_FILE_READ_DIR macro.
35165 * target/Linux/target_native_io.h: Fixed comment at #endif.
35166 * target/Linux/target_native_memory.h: New file. Contains
35167 portability macros for memory operations.
35168 * target/generic/target_generic.c: New file. Contains some functions
35170 * target/generic/target_generic.h: Use posix target and shorter macro
35171 names if CP_NEW is set.
35172 * target/generic/target_generic_file.h: Use posix target and shorter
35173 macro names if CP_NEW is set.
35174 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35175 * target/generic/target_generic_io.c: New file. Contains some
35176 functions for IO portability.
35177 * target/generic/target_generic_io.h: Use posix target and shorter
35178 macro names if CP_NEW is set.
35179 * target/generic/target_generic_misc.c: New file. Contains some
35180 functions for miscallaneaous portability issues.
35181 * target/generic/target_generic_misc.h: Use posix target and shorter
35182 macro names if CP_NEW is set.
35183 * target/generic/target_generic_network.c: New file. Contains some
35184 functions for networking portability.
35185 * target/generic/target_generic_network.h: Use posix target and
35186 shorter macro names if CP_NEW is set.
35187 * target/posix/Makefile.am,
35188 * target/posix/target_posix.c,
35189 * target/posix/target_posix.h,
35190 * target/posix/target_posix_file.c,
35191 * target/posix/target_posix_file.h,
35192 * target/posix/target_posix_io.c,
35193 * target/posix/target_posix_io.h,
35194 * target/posix/target_posix_math.c,
35195 * target/posix/target_posix_math.h,
35196 * target/posix/target_posix_memory.c,
35197 * target/posix/target_posix_memory.h,
35198 * target/posix/target_posix_misc.c,
35199 * target/posix/target_posix_misc.h,
35200 * target/posix/target_posix_network.c,
35201 * target/posix/target_posix_network.h:
35202 New files. This implements the target native layer macros for
35203 Posix-like systems.
35205 2006-01-16 Gary Benson <gbenson@redhat.com>
35207 * java/net/SocketPermission.java (implies): Fix action checks.
35209 2006-01-16 Roman Kennke <kennke@aicas.com>
35211 * native/target/generic/target_generic_math_float.h: Removed. This
35212 file has been replaced by target_generic_math.h.
35213 * native/target/generic/target_generic_math_int.h: Removed. This
35214 file has been replaced by target_generic_math.h.
35215 * native/target/generic/target_generic_math.h: New file. Replaces
35216 the old _int and _float versions.
35217 * native/target/Linux/target_native_math_float.h: Removed. This
35218 file has been replaced by target_native_math.h.
35219 * native/target/Linux/target_native_math_int.h: Removed. This
35220 file has been replaced by target_native_math.h.
35221 * native/target/Linux/target_native_math.h: New file. Replaces
35222 the old _int and _float versions.
35223 * native/target/Linux/Makefile.am: Adjusted for the changed
35225 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35226 instead of target_native_math_int.h.
35227 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35229 * native/target/generic/target_generic_file.h: Likewise.
35231 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35233 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35235 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35237 * javax/swing/text/SimpleAttributeSet.java
35238 (SimpleAttributeSet()): Initialise storage directly,
35239 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35240 NullPointerException,
35241 (containsAttribute): If key is found locally, don't check resolving
35242 parent if the value doesn't match,
35243 (getAttribute): Removed redundant instanceof and cast.
35245 2006-01-16 Gary Benson <gbenson@redhat.com>
35247 * java/lang/System.java (setSecurityManager): Ensure policy
35248 files are loaded before a security manager is put in place.
35250 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35252 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35254 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35256 * javax/print/attribute/standard/MediaSize.java:
35257 (static_initializer): Added comment.
35258 (MediaSize): Added javadoc to mention cache registration.
35259 (MediaSize): Likewise.
35260 (MediaSize): Likewise.
35261 (MediaSize): Likewise.
35263 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35266 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35267 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35268 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35269 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35271 (toString): Added method implementation.
35272 (LoginModuleControlFlag.toString): Removed class name from result.
35273 * javax/security/auth/login/Configuration.java: Updated copyright year.
35274 (getConfig(): replaced calls to NullConfiguration with
35277 2006-01-15 Tom Tromey <tromey@redhat.com>
35279 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35280 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35281 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35282 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35283 (setPersistenceDelegate): Likewise.
35285 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35287 * javax/print/attribute/standard/PrinterStateReasons.java:
35288 (printerStateReasonSet): Genericize the return type.
35290 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35292 * javax/swing/table/DefaultTableCellRenderer.java
35293 (getTableCellRendererComponent): Render null as the empty cell.
35295 2006-01-14 Anthony Green <green@redhat.com>
35297 * java/net/ServerSocket.java (accept): Remove bogus
35299 (implAccept): Add FIXME comment.
35301 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35304 * javax/print/Doc.java: Added and enhanced documentation.
35305 * javax/print/SimpleDoc.java: New file.
35307 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35309 * javax/print/attribute/standard/MediaSize.java:
35310 (Other.TABLOID): New MediaSize added in 1.5
35312 2006-01-14 Chris Burdess <dog@gnu.org>
35314 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35315 correctly when I/O and runtime exceptions occur during parsing.
35317 2006-01-13 Roman Kennke <kennke@aicas.com>
35319 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35320 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35321 * gnu/java/awt/peer/swing/SwingComponent.java,
35322 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35323 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35324 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35325 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35326 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35327 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35328 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35329 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35330 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35331 * gnu/java/awt/peer/swing/SwingToolkit.java,
35332 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35333 * gnu/java/awt/peer/swing/package.html:
35334 New files. Implemented some basic AWT peers based on Swing.
35336 2006-01-13 Roman Kennke <kennke@aicas.com>
35338 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35340 2006-01-13 Roman Kennke <kennke@aicas.com>
35342 * java/awt/MenuComponent.java: Reformatted to better match our
35345 2006-01-13 Roman Kennke <kennke@aicas.com>
35347 * java/awt/Frame.java: Reformatted to better match our
35350 2006-01-13 Roman Kennke <kennke@aicas.com>
35352 * java/awt/MenuBar.java
35353 (accessibleContext): Removed unnecessary field. This is already
35354 defined in MenuComponent.
35355 (setHelpMenu): Renamed the peer variable to myPeer because it was
35356 hiding a field of MenuComponent.
35357 (addNotify): Removed unnecessary cast.
35359 2006-01-13 Roman Kennke <kennke@aicas.com>
35361 * java/awt/MenuBar.java: Reformatted to better match our
35364 2006-01-13 Roman Kennke <kennke@aicas.com>
35366 * java/awt/MenuBar.java
35367 (frame): New field.
35368 (removeNotify): Clear frame field when beeing removed from the
35370 * java/awt/Frame.java
35371 (setMenuBar): Store a reference of the frame in the MenuBar.
35372 * java/awt/MenuComponent.java
35373 (postEvent): Implemented to forward the call to the parent until
35374 a parent can handle the event.
35375 (dispatchEvent): Moved handling of old style events from
35376 dispatchEventImpl() to here.
35377 (dispatchEventImpl): Moved handling of old style events to
35380 2006-01-13 Roman Kennke <kennke@aicas.com>
35382 * java/awt/Component.java
35383 (dispatchEvent): Moved handling of old style events from
35384 dispatchEventImpl() to this method.
35385 (translateEvent): Removed unnecessary cast.
35386 (dispatchEventImpl): Moved handling of old style events to
35389 2006-01-13 Lillian Angel <langel@redhat.com>
35391 * javax/swing/text/DefaultStyledDocument.java
35392 (createDefaultRoot): Removed FIXME.
35393 (setLogicalStyle): Added fireUndoableEditUpdate call and
35396 2006-01-13 Lillian Angel <langel@redhat.com>
35398 * javax/swing/text/DefaultStyledDocument.java
35399 (Edit): New inner class.
35400 (changeUpdate): Changed addEdit call to add a new
35401 instance of Edit to the edits Vector, so addEdits can
35404 (insertParagraph): Likewise.
35405 (insertFracture): Likewise.
35406 (insertContentTag): Likewise.
35407 (insert): Added loop to go through edits Vector and perform
35408 addEdit on each object.
35410 2006-01-13 Chris Burdess <dog@gnu.org>
35412 * gnu/xml/transform/AbstractNumberNode.java,
35413 gnu/xml/transform/ApplyImportsNode.java,
35414 gnu/xml/transform/ApplyTemplatesNode.java,
35415 gnu/xml/transform/AttributeNode.java,
35416 gnu/xml/transform/CallTemplateNode.java,
35417 gnu/xml/transform/ChooseNode.java,
35418 gnu/xml/transform/CommentNode.java,
35419 gnu/xml/transform/CopyNode.java,
35420 gnu/xml/transform/CopyOfNode.java,
35421 gnu/xml/transform/DocumentFunction.java,
35422 gnu/xml/transform/ElementNode.java,
35423 gnu/xml/transform/ForEachNode.java,
35424 gnu/xml/transform/IfNode.java,
35425 gnu/xml/transform/LiteralNode.java,
35426 gnu/xml/transform/MessageNode.java,
35427 gnu/xml/transform/OtherwiseNode.java,
35428 gnu/xml/transform/ParameterNode.java,
35429 gnu/xml/transform/ProcessingInstructionNode.java,
35430 gnu/xml/transform/Stylesheet.java,
35431 gnu/xml/transform/Template.java,
35432 gnu/xml/transform/TemplateNode.java,
35433 gnu/xml/transform/TextNode.java,
35434 gnu/xml/transform/TransformerImpl.java,
35435 gnu/xml/transform/ValueOfNode.java,
35436 gnu/xml/transform/WhenNode.java,
35437 gnu/xml/xpath/NodeTypeTest.java,
35438 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35439 with-param parameters when template does not define parameters; apply
35440 conflict resolution for templates; strip whitespace on documents
35441 retrieved via document() function; allow node() to match document
35444 2006-01-13 Mark Wielaard <mark@klomp.org>
35446 * doc/www.gnu.org/announce/20060113.wml: New file.
35447 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35448 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35450 2006-01-13 Lillian Angel <langel@redhat.com>
35452 * javax/swing/text/DefaultStyledDocument.java:
35453 Removed unused fields.
35454 (insert): Removed unused fields.
35455 (endEdit): Removed, not needed.
35456 (insertUpdate): Removed call to endEdit.
35457 (prepareContentInsertion): Removed, not needed.
35458 (insertContentTag): Removed call to prepareContentInsertion.
35459 (printElements): Removed, not needed.
35460 (attributeSetsAreSame): Removed, not needed.
35462 2005-01-13 Mark Wielaard <mark@klomp.org>
35464 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35465 Duplicate of toString(int, StringBuilder).
35467 2005-01-13 Mark Wielaard <mark@klomp.org>
35469 * configure.ac: Set version to 0.20.
35470 * NEWS: Add entries for all the new work done.
35472 2005-01-13 Mark Wielaard <mark@klomp.org>
35474 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35476 2005-01-13 Mark Wielaard <mark@klomp.org>
35478 * java/util/regex/Pattern.java (Pattern): Chain REException.
35480 2006-01-13 Chris Burdess <dog@gnu.org>
35482 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35484 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35486 * java/security/Security.java
35487 (getProperty): Added hack to skip security check when trusted
35488 code is direct caller.
35490 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35492 * java/io/PrintStream.java
35493 (line_separator, PrintStream(OutputStream,boolean)): Use
35496 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35498 * gnu/java/nio/charset/Provider.java: Added comment about its
35499 special relation with CharsetProvider.
35501 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35502 its special relation with CharsetProvider.
35504 * java/nio/charset/spi/CharsetProvider.java
35505 (CharsetProvider): Add special case to skip security check for
35506 built in providers.
35508 2005-01-13 Mark Wielaard <mark@klomp.org>
35510 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35511 name, accel, mnemonic and command are defined before setting.
35513 2005-01-12 Mark Wielaard <mark@klomp.org>
35515 * javax/swing/plaf/metal/MetalFileChooserUI.java
35516 (FileRenderer.getListCellRendererComponent): Set empty name and null
35517 icon when File is null.
35519 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35521 * gnu/java/rmi/server/UnicastRef.java (newCall):
35522 Throw ConnectException after catching IOException.
35524 2006-01-12 Lillian Angel <langel@redhat.com>
35526 * javax/swing/text/DefaultStyledDocument.java
35527 (insertUpdate): Removed unneeded check.
35529 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35531 * javax/swing/text/DefaultStyledDocument.java:
35532 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35533 and we haven't come immediately after a fracture, adjust the Element
35534 offsets. Added comment explaining the situation.
35535 (insert): Return early if no ElementSpecs passed in. Removed redundant
35536 call to insertUpdate. Fired the UndoableEditUpdate.
35538 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35541 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35542 character classes within a subexpression.
35544 2006-12-12 Lillian Angel <langel@redhat.com>
35546 * javax/swing/text/DefaultStyledDocument.java
35547 (insertUpdate): Added check to check if attribute set is
35549 (insertUpdate): Added check to determine if last character
35550 is a newline. If it is, we should not be fracturing.
35551 (insert): Added check to determine if attribute set is empty.
35552 If it is, insertUpdate should not be called.
35554 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35556 * configure.ac: Check for isnan.
35558 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35561 2006-01-12 Chris Burdess <dog@gnu.org>
35563 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35564 1.1 character ranges.
35566 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35568 * javax/swing/TransferHandler.java:
35569 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35570 gnu/testlet/javax/swing/JTextField/CopyPaste.
35572 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35574 * resource/Makefile.am: Install
35575 logging.properties into $(prefix)/lib.
35576 * resource/Makefile.am (securitydir): Changed to
35577 $(prefix)/lib/security.
35579 2006-01-12 Roman Kennke <kennke@aicas.com>
35581 * javax/swing/JTextField.java
35582 (createDefaultModel): Moved installation of the filterNewlines
35583 property to setDocument().
35584 (setDocument): New method. Installs the filterNewlines property
35587 2006-01-12 Chris Burdess <dog@gnu.org>
35589 * gnu/xml/dom/DomNode.java,
35590 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35592 * gnu/xml/xpath/NameTest.java,
35593 gnu/xml/xpath/NamespaceTest.java,
35594 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35596 * gnu/xml/transform/MessageNode.java: Use standard logging system
35597 for outputting messages.
35599 2006-01-12 Tom Tromey <tromey@redhat.com>
35601 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35602 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35603 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35604 (static initializer): Removed cache code.
35605 (checkCacheFor, addToCache): Removed.
35606 (getAllByName): Removed cache code.
35607 (lookup_time): Removed.
35608 (InetAddress): Updated.
35610 2006-01-12 Chris Burdess <dog@gnu.org>
35612 * gnu/xml/dom/DomDocument.java,
35613 gnu/xml/dom/DomElement.java,
35614 gnu/xml/dom/DomNode.java,
35615 gnu/xml/stream/XMLParser.java,
35616 gnu/xml/transform/Bindings.java,
35617 gnu/xml/transform/ElementAvailableFunction.java,
35618 gnu/xml/transform/ElementNode.java,
35619 gnu/xml/transform/FunctionAvailableFunction.java,
35620 gnu/xml/transform/NamespaceProxy.java,
35621 gnu/xml/transform/StreamSerializer.java,
35622 gnu/xml/transform/Stylesheet.java,
35623 gnu/xml/transform/TransformerImpl.java,
35624 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35625 document and element nodes; correct coalescing semantics when parsing;
35626 attribute-sets can only refer to top-level variables and parameters;
35627 fix namespace retrieval during element-available and
35628 function-available functions; implement xsl:fallback for extension
35629 elements; tokenize whitespace correctly during whitespace stripping;
35630 correct following and previous node axes selectors.
35632 2006-01-12 Roman Kennke <kennke@aicas.com>
35634 * java/util/Hashtable.java
35635 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35636 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35638 2006-01-12 Lillian Angel <langel@redhat.com>
35640 * javax/swing/text/GapContent.java
35641 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35643 2006-01-12 Mark Wielaard <mark@klomp.org>
35645 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35646 Throw UnknowHostException when name could not be resolved.
35648 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35650 * java/net/URL.java
35651 (static, getURLStreamHandler): Use SystemProperties.
35653 2006-01-12 Mark Wielaard <mark@klomp.org>
35655 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35656 Use packet.getLength().
35657 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35658 (nativeReceive): Check whether the receiver wants zero bytes.
35660 2006-01-12 Mark Wielaard <mark@klomp.org>
35662 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35663 other side orderly closed connection.
35664 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35665 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35666 when end of stream reached.
35668 2006-01-12 Mark Wielaard <mark@klomp.org>
35670 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35672 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35673 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35674 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35675 * native/jni/java-net/javanet.c: Likewise.
35677 2006-01-12 Mark Wielaard <mark@klomp.org>
35679 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35680 PR classpath/23863.
35682 2006-01-11 Chris Burdess <dog@gnu.org>
35684 * gnu/xml/transform/AttributeNode.java,
35685 gnu/xml/transform/ElementNode.java,
35686 gnu/xml/transform/LiteralNode.java,
35687 gnu/xml/transform/StreamSerializer.java,
35688 gnu/xml/transform/StrippingInstruction.java,
35689 gnu/xml/transform/Stylesheet.java,
35690 gnu/xml/transform/TransformerImpl.java,
35691 gnu/xml/transform/ValueOfNode.java,
35692 gnu/xml/xpath/Expr.java,
35693 gnu/xml/xpath/LocalNameFunction.java,
35694 gnu/xml/xpath/NameFunction.java,
35695 gnu/xml/xpath/NameTest.java,
35696 gnu/xml/xpath/NamespaceUriFunction.java,
35697 gnu/xml/xpath/NodeTypeTest.java,
35698 gnu/xml/xpath/SubstringFunction.java,
35699 javax/xml/namespace/QName.java: don't determine element namespace
35700 from namespace aliases when specified; better namespace handling
35701 when serializing elements; don't create HTML meta element unless
35702 head element exists; correct encoding of CDATA sections containing
35703 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35704 default encoding for HTML output; rewrite of XSLT
35705 strip-space/preserve-space handling; correct doctype-public and
35706 doctype-system output attributes; insert generated doctype before
35707 document element; fixed result tree whitespace stripping
35708 algorithm; fixed semantics of XPath name, local-name, and
35709 namespace-uri functions; name tests handle XML/XMLNS namespaces
35710 correctly; fixed semantics of processing-instruction node test.
35711 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35714 2006-01-11 Lillian Angel <langel@redhat.com>
35716 * javax/swing/text/DefaultStyledDocument.java
35717 (insertFracture): Added calls to addEdit for each time a structure
35718 is changed. addEdit is called on the newBranch, previous, and parent
35721 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35723 * javax/swing/text/DefaultStyledDocument.java:
35724 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35725 This will have been taken care of in insertFracture. Added a comment
35726 explaining that we need to add edits to the DocumentEvent and that
35727 this may be the place to do it.
35729 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35731 * javax/swing/text/DefaultStyledDocument.java:
35732 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35733 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35734 elementStack when there is a start tag with JoinNextDirection.
35736 2006-01-11 Roman Kennke <kennke@aicas.com>
35738 Reported by: Fridjof Siebert <siebert@aicas.com>
35739 * java/util/Hashtable.java
35740 (KEYS): Removed unneeded field.
35741 (VALUES): Removed unneeded field.
35742 (ENTRIES): Removed unneeded field.
35743 (keys): Return a KeyEnumerator instance.
35744 (elements): Returns a ValueEnumerator instance.
35745 (toString): Use an EntryIterator instance.
35746 (keySet): Return a KeyIterator instance.
35747 (values): Return a ValueIterator instance.
35748 (entrySet): Return an EntryIterator instance.
35749 (hashCode): Use EntryIterator instance.
35750 (rehash): Changed this loop to avoid redundant reads and make
35751 it obvious that null checking is not needed.
35752 (writeObject): Use EntryIterator instance.
35753 (HashIterator): Removed class.
35754 (Enumerator): Removed class.
35755 (EntryIterator): New class.
35756 (KeyIterator): New class.
35757 (ValueIterator): New class.
35758 (EntryEnumerator): New class.
35759 (KeyEnumerator): New class.
35760 (ValueEnumerator): New class.
35762 2006-01-11 Lillian Angel <langel@redhat.com>
35764 * javax/swing/text/DefaultStyledDocument.java
35765 (toString): Shouldn't append the '>' character here.
35766 (createDefaultRoot): Should not set the resolve parent. This
35767 causes problems when comparing attribute sets.
35769 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35771 * javax/swing/text/DefaultStyledDocument.java:
35772 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35774 (ElementBuffer.insertFracture): New method.
35775 (ElementBuffer.insertContentTag): Removed unnecessary case for
35776 JoinFractureDirection - this only applies to start tags, not content
35778 (insertUpdate): Corrected conditions for setting direction to
35781 2006-01-10 Roman Kennke <kennke@aicas.com>
35783 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35784 * ChangeLog-2005: New File.
35786 2006-01-10 Roman Kennke <kennke@aicas.com>
35788 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35789 (get): Release the array with the correct pointer.
35790 (put): Release the array with the correct pointer. Copy the array
35791 around _before_ releasing it.
35793 2006-01-10 Roman Kennke <kennke@aicas.com>
35795 * javax/swing/ViewportLayout.java
35796 (layoutContainer): Fixed condition, to avoid ClasscastException.
35798 2006-01-10 Roman Kennke <kennke@aicas.com>
35800 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35801 (MouseHandler.mousePressed): Fixed indendation.
35802 (MouseHandler.mouseDragged): Fixed indendation.
35804 2006-01-10 Roman Kennke <kennke@aicas.com>
35806 * javax/swing/plaf/basic/BasicLookAndFeel.java
35807 (playSound): Added @since 1.4 to the API docs.
35809 2006-01-10 Roman Kennke <kennke@aicas.com>
35811 * javax/swing/plaf/basic/BasicListUI.java
35812 (maybeUpdateLayoutState): Also update the layout state, if the
35813 list has been invalidated since the last update.
35815 2006-01-10 Roman Kennke <kennke@aicas.com>
35817 * javax/swing/plaf/ComponentUI.java
35818 (update): Fixed indendation.
35820 2006-01-10 Roman Kennke <kennke@aicas.com>
35822 * javax/swing/ViewportLayout.java
35823 (layoutContainer): Fixed condition, so that Scrollable components
35824 are always forced to have to Viewport size, when they
35825 return true for getScrollableTracksViewportHeight() and ..Width().
35827 2006-01-10 Roman Kennke <kennke@aicas.com>
35829 * javax/swing/RepaintManager.java
35830 (validateInvalidComponents): Fixed condition to avoid NPE.
35832 2006-01-10 Roman Kennke <kennke@aicas.com>
35834 * javax/swing/JViewport.java:
35835 (static_initializer): Removed unused variable myScrollMode.
35837 2006-01-10 Roman Kennke <kennke@aicas.com>
35839 * javax/swing/JTabbedPane.java:
35840 Cleared API docs a little.
35842 2006-01-10 Roman Kennke <kennke@aicas.com>
35844 * java/util/StringTokenizer.java
35845 (StringTokenizer(String, String, boolean)):
35846 Don't trigger NPE here for conformance with the spec.
35848 2006-01-10 Roman Kennke <kennke@aicas.com>
35850 * java/util/ArrayList.java
35851 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35853 2006-01-10 Roman Kennke <kennke@aicas.com>
35855 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35856 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35857 field to avoid NPE.
35859 2006-01-10 Roman Kennke <kennke@aicas.com>
35861 * native/jni/java-net/javanet.c
35862 (_javanet_shutdownOutput): Replaced strerror() with
35863 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35864 (_javanet_shutdownInput): Replaced strerror() with
35865 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35867 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35869 * java/beans/EventSetDescriptor.java: Reformatted and
35872 2006-01-10 Roman Kennke <kennke@aicas.com>
35874 * java/lang/SecurityManager.java
35875 Fully qualified AWT class references in API docs.
35877 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35879 * java/beans/EventSetDescriptor.java:
35880 (getGetListenerMethod): New method.
35882 2006-01-10 Mark Wielaard <mark@klomp.org>
35884 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35886 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35889 * java/util/Hashtable.java
35890 (contains): Call equals on existing value.
35891 (containsKey, get, put, remove): Call equals on existing key.
35892 (getEntry): Call equals on existing entry.
35894 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35897 * java/util/AbstractMap.java
35898 (equals(Object,Object)): Test for identity first.
35899 * java/util/WeakHashMap.java
35900 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35901 (WeakBucket.WeakEntry.toString): Fixed string representation of
35903 (internalGet): Use helper method to determine equality.
35905 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35907 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35910 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35912 * javax/swing/text/PlainDocument.java:
35913 (insertUpdate): Handle special case of an insertion immediately
35914 following a newline character.
35916 2006-01-09 Roman Kennke <kennke@aicas.com>
35918 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35919 (connect): Added stream parameter to _connect() call.
35920 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35921 (connect): Added stream parameter to _connect() call.
35922 * native/jni/java-net/javanet.c
35923 (_javanet_create_localfd): Added stream parameter. Look up
35924 fd field based on the stream parameter either in SocketImpl or
35925 in DatagramSocketImpl.
35926 (_javanet_connect): Added stream parameter. Call create_localfd
35927 using this stream parameter. Set localPort field either in
35928 SocketImpl or in DatagramSocketImpl, depending on the stream
35930 * native/jni/java-net/javanet.c
35931 (_javanet_connect): Added stream parameter.
35933 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35935 * javax.management.Attribute.java: Grammar and
35938 2006-01-09 Mark Wielaard <mark@klomp.org>
35940 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35941 exception when channel is not readable or writable.
35942 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35943 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35944 there is enough space to mmap().
35946 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35948 * java/beans/Introspector.java:
35949 (getBeanInfo(Class, int)): New method.
35950 (getBeanInfo(Class, Class): Moved common code in a new method.
35951 (merge): New method.
35953 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35955 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35957 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35959 * javax/swing/text/DefaultStyledDocument.java:
35960 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35961 inlined this method because it needs to change the value of the
35962 finalStartTag and finalStartDirection variables.
35963 (checkForInsertAfterNewline): Removed this method.
35964 (handleInsertAfterNewline): Added case for making the start tag's
35965 direction JoinNextDirection.
35967 2006-01-09 Lillian Angel <langel@redhat.com>
35969 * javax/swing/plaf/basic/BasicTreeUI.java:
35971 (setRowHeight): Row height is set to the max height of
35972 all the nodes, or 20 as a default value.
35973 (getPathBounds): Cleaned up code.
35974 (getMaxHeight): New helper function that gets the max
35975 height of all the rows.
35976 (getClosestPathForLocation): Fixed to use getMaxHeight.
35977 (updateCachedPreferredSize): Likewise.
35978 (installUI): Shouldn't expand tree on startup.
35979 (getNodeDimensions): Fixed to use getMaxHeight.
35981 2006-01-09 Mark Wielaard <mark@klomp.org>
35983 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35984 argument is negative.
35986 2006-01-08 Mark Wielaard <mark@klomp.org>
35988 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35990 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35992 * javax.management.Attribute.java: New file.
35994 2006-01-09 Roman Kennke <kennke@aicas.com>
35996 * java/net/DatagramSocketImpl.java
35997 (localPort): Renamed to localport for correct access from native
36000 2006-01-09 Roman Kennke <kennke@aicas.com>
36002 * javax/swing/Popup.java
36003 (LightweightPopup.hide): Repaint the layered pane when popup is
36006 2006-01-09 Roman Kennke <kennke@aicas.com>
36008 * java/awt/Container.java
36009 (remove): Don't repaint the container here.
36011 2006-01-08 Tom Tromey <tromey@redhat.com>
36013 * java/lang/InheritableThreadLocal.java: Organized imports.
36015 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
36018 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36019 when an empty string matched an empty token.
36021 2006-01-08 Chris Burdess <dog@gnu.org>
36023 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36024 content models from external entities.
36025 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36026 attempting to continue with unpaired surrogates.
36027 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36028 resolving entities with character entity references; better
36029 checking of valid character ranges; don't report an error for URI
36030 fragments in notation declarations; check unbound namespace
36031 prefixes for elements and attributes, including XML 1.1 unbinding
36032 syntax; namespace-aware checking of attribute duplicates.
36034 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36036 * java/beans/Statement.java: Doc fixes.
36037 (doExecute): Workaround for Class.forName call.
36038 (toString): Made output look more like on the JDK.
36039 * java/beans/Expression.java: Doc fixes.
36040 (toString): Made output look more like on the JDK.
36041 * java/beans/PersistenceDelegate.java,
36042 java/beans/DefaultPersistenceDelegate.java,
36043 java/beans/Encoder.java,
36044 java/beans/XMLEncoder.java: New file.
36045 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36046 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36047 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36048 gnu/java/beans/encoder/Context.java,
36049 gnu/java/beans/encoder/GenericScannerState.java,
36050 gnu/java/beans/encoder/IgnoringScannerState.java,
36051 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36052 gnu/java/beans/encoder/ObjectId.java,
36053 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36054 gnu/java/beans/encoder/ReportingScannerState.java,
36055 gnu/java/beans/encoder/Root.java,
36056 gnu/java/beans/encoder/ScanEngine.java,
36057 gnu/java/beans/encoder/ScannerState.java,
36058 gnu/java/beans/encoder/StAXWriter.java,
36059 gnu/java/beans/encoder/Writer.java: New file.
36060 * gnu/java/beans/encoder/elements/Array_Get.java,
36061 gnu/java/beans/encoder/elements/Element.java,
36062 gnu/java/beans/encoder/elements/List_Set.java,
36063 gnu/java/beans/encoder/elements/Array_Set.java,
36064 gnu/java/beans/encoder/elements/NullObject.java,
36065 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36066 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36067 gnu/java/beans/encoder/elements/StringReference.java,
36068 gnu/java/beans/encoder/elements/ClassResolution.java,
36069 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36070 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36071 gnu/java/beans/encoder/elements/ObjectReference.java,
36072 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36073 gnu/java/beans/encoder/elements/List_Get.java,
36074 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36076 2006-01-08 Chris Burdess <dog@gnu.org>
36078 * java/lang/Character.java (toChars,toCodePoint): Correct these
36079 methods to use algorithms from Unicode specification.
36081 2006-01-08 Mark Wielaard <mark@klomp.org>
36083 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36085 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36088 * examples/Makefile.am: Corrected DESTDIR install paths.
36090 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36092 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36093 ASCII character (line 46).
36095 2006-01-07 Roman Kennke <kennke@aicas.com>
36097 * javax/swing/text/TableView.java: New file.
36099 2006-01-07 Chris Burdess <dog@gnu.org>
36101 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36102 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36103 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36104 available; correct handling of unparsed entity references;
36105 absolutize all base URIs; remove commented out code.
36107 2006-01-07 Chris Burdess <dog@gnu.org>
36109 * gnu/xml/stream/SAXParser.java,
36110 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36111 URI of the current event.
36113 2006-01-07 Chris Burdess <dog@gnu.org>
36115 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36118 2006-01-07 Chris Burdess <dog@gnu.org>
36120 * gnu/xml/stream/SAXParser.java,
36121 gnu/xml/stream/XIncludeFilter.java,
36122 gnu/xml/stream/XMLParser.java: Updated documentation.
36124 2006-01-07 Chris Burdess <dog@gnu.org>
36126 * AUTHORS: add self.
36128 2006-01-06 Casey Marshall <csm@gnu.org>
36130 * AUTHORS: add myself.
36132 2006-01-06 Casey Marshall <csm@gnu.org>
36135 * javax/crypto/CipherInputStream.java (logger): new constant.
36136 (cipher): make final.
36137 (outLength, inBuffer, inLength): removed.
36138 (isStream): make final.
36139 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36141 (<init>): call `super,' not `this;' remove `inBuffer' and
36142 `outBuffer' initialization; init `eof;' add debug logging.
36143 (<init>): call `this' with a new null cipher.
36144 (available): fix javadoc to reflect the real semantics; if we
36145 don't have a buffer, call `nextBlock.'
36146 (close): synchronize.
36147 (read): synchronize; fix testing for buffered data.
36148 (read): synchronize; add `skip' semantics if first argument is
36149 `null;' decrypt stream cipher data only if there is any; fix tests
36151 (skip): stop using `available' to see how many data are buffered.
36152 (nextBlock): simplify to use cipher-allocated output buffers
36153 instead of internally allocated ones.
36155 2006-01-06 Tom Tromey <tromey@redhat.com>
36157 * java/lang/String.java (codePointCount): Fixed javadoc.
36159 2006-01-06 Tom Tromey <tromey@redhat.com>
36161 * java/lang/String.java (contains): Added @since.
36163 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36166 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36167 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36168 when an empty string matched an empty token.
36170 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36173 * gnu/java/util/WeakIdentityHashMap.java: New file.
36174 * java/lang/InheritableThreadLocal.java
36175 (newChildThread): Modified to remove key indirection.
36176 * java/lang/Thread.java
36177 (locals): Changed type to WeakIdentityHashMap.
36178 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36180 * java/lang/ThreadLocal.java
36181 (key, Key): Removed.
36182 (get, set): Changed to use "this" instead of "key".
36184 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36186 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36188 * native/fdlibm/java-assert.h: Removed file.
36190 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36191 Replaced use of JvAssert by assert.
36193 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36195 * javax/swing/text/DefaultCaret.java:
36196 (setDot): Fixed paramater to Math.max to be this.dot and not the
36199 2006-01-05 Roman Kennke <kennke@aicas.com>
36201 * javax/swing/plaf/basic/BasicListUI.java
36202 (getCellHeight): New helper method.
36203 (getCellBounds): Use new helper method for determining the cell
36205 (paint): Don't call list.indexToLocation() but instead call
36206 directly into the same UI method.
36207 (locationToIndex): Fixed calculation of # visible rows and handling
36209 (indexToLocation): Fixed calculation of # visible rows and handling
36212 2006-01-05 Roman Kennke <kennke@aicas.com>
36214 * javax/swing/plaf/metal/MetalFileChooserUI.java
36215 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36216 in the file chooser.
36218 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36220 * javax/swing/JTextPane.java:
36221 (replaceSelection): If the document is an AbstractDocument, use replace
36222 rather than remove and insert.
36223 * javax/swing/event/EventListenerList.java:
36224 (getListeners): Reversed the order of the listeners to match the
36225 reference implementation.
36226 * javax/swing/text/AbstractDocument.java:
36227 (insertString): Add the UndoableEdit from the content.insertString call
36228 to the DocumentEvent.
36229 (DefaultDocumentEvent.toString): Implemented.
36230 * javax/swing/text/DefaultCaret.java:
36231 (setDot): Make sure dot is > 0 and less than the length of the
36233 * javax/swing/text/DefaultStyledDocument.java:
36234 (ElementBuffer.insertUpdate): Set the modified tag of the document
36235 event when we get start and end tags. This ensures that we create the
36236 proper BranchElements in endEdit().
36237 (ElementBuffer.insertUpdate): Added FIXME to handle
36238 JoinFractureDirection case.
36239 (insertUpdate): Added code to check if we're inserting immediately
36240 after a newline and to handle this case (create start and end tags).
36241 Only change the direction of the first and last tags if they are of
36243 (checkForInsertAfterNewline): New helper method.
36244 (handleInsertAfterNewline): Likewise.
36245 * javax/swing/text/View.java:
36246 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36249 2006-01-05 Mark Wielaard <mark@klomp.org>
36251 * newsitems.txt: Add fosdem meeting.
36252 * events/events.wml: Likewise.
36253 * events/fosdem06.wml: New file.
36255 2006-01-05 Lillian Angel <langel@redhat.com>
36257 * javax/swing/text/GapContent.java
36258 (createPosition): No positions should be created inside the
36259 gap. Fixed check to ensure this does not happen.
36261 2006-01-05 Roman Kennke <kennke@aicas.com>
36263 * javax/swing/RepaintManager.java
36264 (validateInvalidComponents): Search for the validate root
36265 and start validating there.
36267 2006-01-05 Roman Kennke <kennke@aicas.com>
36269 * javax/swing/plaf/basic/BasicListUI.java
36270 (ComponentHandler): Removed unneeded class.
36271 (ListDataHandler.contentsChanged): Revalidate instead of calling
36273 (ListDataHandler.intervalAdded): Revalidate instead of calling
36275 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36277 (PropertyChangeHandler.propertyChange): Or flags together instead
36278 of adding them. Don't call damageLayout().
36279 (componentListener): Removed unnecessary field.
36280 (damageLayout): Removed unnecessary method.
36281 (installListeners): Don't install unnecessary listeners.
36282 (uninstallListeners): Dito.
36283 (getPreferredSize): Don't ask for the real list height and
36284 calculate with the previously calculated list height.
36285 (locationToIndex): Renamed list parameter to l so that it doesn't
36286 shadow the field with the same name.
36287 (indexToLocation): Renamed list parameter to l so that it doesn't
36288 shadow the field with the same name.
36290 2006-01-04 Tom Tromey <tromey@redhat.com>
36292 * include/.cvsignore: Ignore config-int.h.
36294 2006-01-04 Roman Kennke <kennke@aicas.com>
36296 * javax/swing/plaf/basic/BasicListUI.java
36297 (getPreferredSize): Rewritten to match the specs.
36299 2006-01-04 Roman Kennke <kennke@aicas.com>
36301 * javax/swing/JFileChooser.java
36302 (showOpenDialog): Set fixed width on the dialog.
36303 (showSaveDialog): Set fixed width on the dialog.
36304 (showDialog): Set fixed width on the dialog.
36306 2006-01-04 Roman Kennke <kennke@aicas.com>
36308 * javax/swing/plaf/basic/BasicListUI.java
36309 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36310 Adjusted iteration to not use visibleRowCount and instead iterate
36311 over the real number of elements in cellHeights.
36312 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36313 Adjusted iteration to not use visibleRowCount and instead iterate
36314 over the real number of elements in cellHeights.
36316 2006-01-04 Roman Kennke <kennke@aicas.com>
36318 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36319 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36320 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36322 2006-01-04 Roman Kennke <kennke@aicas.com>
36324 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36325 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36327 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36328 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36330 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36332 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36333 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36334 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36335 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36336 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36337 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36338 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36339 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36341 2006-01-04 Lillian Angel <langel@redhat.com>
36343 * javax/swing/plaf/metal/MetalFileChooserUI.java
36344 (propertyChange): Fixed to change the combo box label
36345 appropriately. Also, fixed to set the textfield's text
36347 (editFile): Fixed size of editing field.
36348 (installComponents): Correctly aligned all panels.
36349 (installStrings): Fixed to set the label's text
36350 appropriately depending on the dialog type.
36352 2006-01-04 Lillian Angel <langel@redhat.com>
36356 * javax/swing/JTree.java
36357 (JTree): Because some L&F defaults have been updated,
36358 the selectionMode for the tree needed to be set to SINGLE.
36359 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36360 Initialized accessoryPanel.
36361 * javax/swing/plaf/metal/MetalFileChooserUI.java
36362 (installComponents): Added accessoryPanel to the filechooser.
36364 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36366 * configure.ac: Added AX_CREATE_STDINT_H
36368 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36370 * m4/ax_create_stdint_h.m4: New file.
36372 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36373 typedefs. Removed stdint.h and inttypes.h includes.
36375 2006-01-03 Mark Wielaard <mark@klomp.org>
36377 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36378 register keyboard action when accelerator is not null.
36379 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36380 re-register accelerator if not null.
36381 (installKeyboardActions): Only put accelerator in map when not null.
36383 2006-01-04 Lillian Angel <langel@redhat.com>
36385 * javax/swing/plaf/basic/BasicLookAndFeel.java
36386 (initComponentDefaults): Removed unneeded default.
36387 * javax/swing/plaf/metal/MetalLookAndFeel.java
36388 (initComponentDefaults): Added and fixed several defaults.
36390 2006-01-04 Roman Kennke <kennke@aicas.com>
36392 * javax/swing/plaf/basic/BasicHTML.java: New class.
36394 2006-01-03 Tom Tromey <tromey@redhat.com>
36396 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36397 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36399 2006-01-03 Mark Wielaard <mark@klomp.org>
36401 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36403 2006-01-03 Mark Wielaard <mark@klomp.org>
36405 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36406 Always call createDefaultTheme().
36407 (createDefaultTheme): Check whether theme is still null.
36409 2006-01-03 Mark Wielaard <mark@klomp.org>
36411 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36412 Color.WHITE if null.
36414 2006-01-03 Lillian Angel <langel@redhat.com>
36416 * javax/swing/plaf/metal/MetalLookAndFeel.java
36417 (getDescription): Fixed to return the correct string.
36419 (getName): Likewise.
36420 (getDefaults): Added check to avoid NPE.
36421 (getAcceleratorForeground): Likewise.
36422 (getAcceleratorSelectedForeground): Likewise.
36423 (getBlack): Likewise.
36424 (getControl): Likewise.
36425 (getControlDarkShadow): Likewise.
36426 (getControlDisabled): Likewise.
36427 (getControlHighlight): Likewise.
36428 (getControlInfo): Likewise.
36429 (getControlShadow): Likewise.
36430 (getControlTextColor): Likewise.
36431 (getControlTextFont): Likewise.
36432 (getDesktopColor): Likewise.
36433 (getFocusColor): Likewise.
36434 (getHighlightedTextColor): Likewise.
36435 (getInactiveControlTextColor): Likewise.
36436 (getInactiveSystemTextColor): Likewise.
36437 (getMenuBackground): Likewise.
36438 (getMenuDisabledForeground): Likewise.
36439 (getMenuForeground): Likewise.
36440 (getMenuSelectedBackground): Likewise.
36441 (getMenuSelectedForeground): Likewise.
36442 (getMenuTextFont): Likewise.
36443 (getPrimaryControl): Likewise.
36444 (getPrimaryControlDarkShadow): Likewise.
36445 (getPrimaryControlHighlight): Likewise.
36446 (getPrimaryControlInfo): Likewise.
36447 (getPrimaryControlShadow): Likewise.
36448 (getSeparatorBackground): Likewise.
36449 (getSeparatorForeground): Likewise.
36450 (getSubTextFont): Likewise.
36451 (getSystemTextColor): Likewise.
36452 (getSystemTextFont): Likewise.
36453 (getTextHighlightColor): Likewise.
36454 (getUserTextColor): Likewise.
36455 (getUserTextFont): Likewise.
36456 (getWhite): Likewise.
36457 (getWindowBackground): Likewise.
36458 (getWindowTitleBackground): Likewise.
36459 (getWindowTitleFont): Likewise.
36460 (getWindowTitleForeground): Likewise.
36461 (getWindowTitleInactiveBackground): Likewise.
36462 (getWindowTitleInactiveForeground): Likewise.
36464 2006-01-03 Mark Wielaard <mark@klomp.org>
36466 * javax/swing/JTextArea.java
36467 (JTextArea(Document,text,int,int)): Only call setText() when text is
36470 2006-01-03 Lillian Angel <langel@redhat.com>
36472 * javax/swing/plaf/basic/BasicFileChooserUI.java
36473 (installStrings): Fixed installation of defaults that
36474 were changed in BasicLookAndFeel.
36475 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36476 (installDefaults): Fixed installation of defaults that
36477 were changed in BasicLookAndFeel.
36479 2006-01-03 Lillian Angel <langel@redhat.com>
36481 * javax/swing/plaf/basic/BasicLookAndFeel.java
36482 (initComponentDefaults): Fixed several defaults that differed
36485 2006-01-03 Lillian Angel <langel@redhat.com>
36487 * javax/swing/tree/DefaultTreeSelectionModel.java
36488 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36490 2006-01-03 Lillian Angel <langel@redhat.com>
36492 * javax/swing/AbstractAction.java
36493 (AbstractAction): Fixed to pass in null. Should not be
36494 an empty string. Removed TODO comment.
36495 (AbstractAction): Removed TODO comment.
36496 * javax/swing/JList.java
36497 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36498 * javax/swing/JMenuItem.java
36499 (JMenuItem): Set all defaults if the action passed in is not null.
36500 * javax/swing/JProgressBar.java
36501 (JProgressBar): Added check to prevent NPE.
36503 2006-01-03 Lillian Angel <langel@redhat.com>
36505 * javax/swing/plaf/basic/BasicListUI.java
36506 (getPreferredSize): The JDK adds some extra space to
36507 the list, so we should as well.
36508 * javax/swing/plaf/metal/MetalFileChooserUI.java
36509 (getPreferredSize): Should only take the fileListPanel's
36510 width into account when getting the size. Also, the buttonPanel's
36511 size should not be checked, since it is in the bottomPanel already.
36512 (getMinimumSize): Likewise.
36514 2006-01-03 Lillian Angel <langel@redhat.com>
36516 * javax/swing/JList.java
36517 (init): visibleRowCount should be 7, like the JDK.
36518 * javax/swing/plaf/metal/MetalFileChooserUI.java
36519 (installComponents): No need to add the fileFilterCombo
36520 to a panel. It can be added to the row directly.
36522 2006-01-03 Lillian Angel <langel@redhat.com>
36524 PR classpath/25480 PR classpath/25478
36525 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36526 (updateViewport): Made changes suggested by
36528 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36529 Removed unneeded import.
36530 (createList): Removed comment, JList wrapping
36532 (getPreferredSize): Made changes suggested by
36533 Chris Lansdown. Uses fileListPanel, instead
36535 (getMinimumSize): Uses fileListPanel, instead
36537 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36538 (paintFocus): Fixed height.
36540 2006-01-03 Roman Kennke <kennke@aicas.com>
36542 * javax/swing/plaf/basic/BasicListUI.java
36543 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36545 2006-01-03 Roman Kennke <kennke@aicas.com>
36547 * javax/swing/plaf/basic/BasicListUI.java
36548 (locationToIndex): Special case for when variable cell heights
36549 are possible. (cellHeights is used instead of cellHeight).
36550 (indexToLocation): Special case for when variable cell heights
36551 are possible. (cellHeights is used instead of cellHeight).
36553 2006-01-03 Roman Kennke <kennke@aicas.com>
36555 * javax/swing/text/DefaultStyledDocument.java
36556 (ElementBuffer.remove): New method.
36557 (ElementBuffer.removeUpdate): New method.
36558 (removeUpdate): New method.
36560 2006-01-03 Roman Kennke <kennke@aicas.com>
36563 (dist-hook): Preserve attributes of Java sources when copying to
36566 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36568 * AUTHORS: Added self.
36569 * java/security/Security.java (getProvider): Ensures provider's name is
36570 not null, not an empty string, and is trimmed before usage.
36572 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36574 * gnu/CORBA/Poa/AOM.java (add):
36575 Changed parameter Object into gnuServantObject.
36576 (Obj.object): Changed type to gnuServantObject.
36577 (findObject): Rewritten.
36579 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36581 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36582 buffering. Ability has gone in Qt-4.1.x.
36584 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36585 to have the right include flags.
36587 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36589 * java/security/MessageDigest.java (getInstance(String,String)):
36590 Use trimmed copy of provider name.
36591 * gnu/java/security/Engine.java
36592 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36593 service and algorithm names.
36595 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36597 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36598 localhost is null or is an empty string. Trim hostname before